:root {
  --bg: #1d1c1c;
  --rail: #1b2230;
  --panel: #2a2a2a;
  --section: #212121;
  --section-border: #1f4f86;
  --accent: #1f6fd6;
  --accent-light: #5aa9ff;
  --blue: #4895be;
  --link: #359bd4;
  --link-hover: #53afdf;
  --text: #d9d9d9;
  --text-strong: #ffffff;
  --muted: #7c7c7c;
  --control: #2a2a2a;
  --control-border: #4d4d4d;
  --control-text: #dedede;
  --check: #1ca8dd;
  --error-bg: #16324f;
  --error-border: #1f4f86;
  --success: #3aff68;
  --topbar-h: 57px;
  --rail-w: 64px;
  --panel-w: 256px;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Helvetica Neue", "Segoe UI", helvetica, verdana, sans-serif;
  font-size: 16px;
  overflow: hidden;
}
a { color: var(--link); text-decoration: none; cursor: pointer; }
a:hover { color: var(--link-hover); }
button { font: inherit; }
.hidden { display: none !important; }

.topbar {
  position: fixed; top: 0; left: 0; right: 0; height: var(--topbar-h); z-index: 30;
  display: flex; align-items: center; padding: 8px 16px;
  background: rgba(255, 255, 255, .1); backdrop-filter: blur(16px);
  font-family: Outfit, sans-serif;
}
.topbar::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 256px; pointer-events: none;
  background: linear-gradient(92deg, rgba(47, 128, 237, .14) 0%, rgba(48, 46, 46, 0) 100%);
}
.logo {
  width: 32px; height: 32px; border-radius: 8px; flex: none; position: relative;
  background: linear-gradient(135deg, #5aa9ff, #1f6fd6); display: grid; place-items: center;
  font: italic 800 15px/1 Outfit, sans-serif; color: #fff; letter-spacing: -1px; cursor: pointer;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset;
}
.search-trigger {
  margin-left: 24px; width: 185px; display: flex; align-items: center; justify-content: space-between;
  background: #222; border: 1px solid rgba(255, 255, 255, .08); border-radius: 8px; padding: 8px; cursor: pointer;
  color: rgba(255, 255, 255, .5); font-size: 14px; position: relative;
}
.search-trigger:hover { border-color: rgba(255, 255, 255, .12); }
.search-trigger .kbd { background: rgba(255,255,255,.12); color: #fff; border-radius: 5px; font-size: 11px; padding: 2px 6px; }
.breadcrumb { margin-left: 32px; display: flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(255,255,255,.5); }
.breadcrumb .cur { color: #fff; }
.breadcrumb .count { background: rgba(255,255,255,.12); color: #fff; border-radius: 5px; font-size: 11px; padding: 1px 6px; }
.topbar .right { margin-left: auto; display: flex; align-items: center; gap: 16px; position: relative; }
.icon-btn { background: none; border: 0; color: #fff; font-size: 16px; cursor: pointer; padding: 4px; position: relative; }
.icon-btn .dot { position: absolute; top: 0; right: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.user-chip { display: flex; align-items: center; gap: 8px; cursor: pointer; padding-left: 16px; border-left: 1px solid rgba(255,255,255,.1); }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: #ddd center/cover; flex: none; display: grid; place-items: center; color: #888; overflow: hidden; }
.avatar i { font-size: 20px; color: #9a9a9a; }
.user-chip .l1 { font-size: 14px; color: #fff; line-height: 1.1; }
.user-chip .l2 { font-size: 11px; color: rgba(255,255,255,.5); }
.live-pill { display: flex; align-items: center; gap: 6px; font-size: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.6); cursor: pointer; }
.live-pill .d { width: 8px; height: 8px; border-radius: 50%; background: #777; }
.live-pill.on { background: rgba(47, 128, 237,.25); color: #fff; }
.live-pill.on .d { background: var(--accent-light); }
.dropdown {
  position: absolute; right: 0; top: 44px; min-width: 220px; background: #2a2a2a; border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px; padding: 6px; box-shadow: 0 10px 30px rgba(0,0,0,.4); z-index: 50; font-family: Outfit, sans-serif;
}
.dropdown a, .dropdown .item { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 8px; color: #ddd; font-size: 14px; }
.dropdown a:hover, .dropdown .item:hover { background: rgba(255,255,255,.06); color: var(--link-hover); }

.nav { position: fixed; top: var(--topbar-h); left: 0; bottom: 0; display: flex; z-index: 20;
  background: linear-gradient(90deg, rgba(47, 128, 237, .10) 0%, rgba(29, 28, 28, 0) 100%); font-family: Outfit, sans-serif; }
.rail { width: var(--rail-w); background: var(--rail); padding: 12px; display: flex; flex-direction: column; gap: 12px; overflow-y: auto; scrollbar-width: none; }
.rail-item { display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; position: relative; user-select: none; }
.rail-item .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 17px; position: relative; transition: background .2s, transform .15s; }
.rail-item .ic::before { content: ""; position: absolute; inset: 0; border-radius: 12px; background: currentColor; opacity: .12; transition: opacity .2s; }
.rail-item:hover .ic::before { opacity: .2; }
.rail-item.active .ic::before { opacity: 1; }
.rail-item.active .ic i { color: #fff !important; }
.rail-item .ic i { position: relative; z-index: 1; }
.rail-item .lbl { font-size: 12px; color: #fff; max-width: 56px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rail-item.active::before { content: ""; position: absolute; left: -12px; top: 8px; width: 3px; height: 24px; border-radius: 0 3px 3px 0; background: #fff; }
.hundred { font: 800 11px/1 Outfit, sans-serif; text-decoration: underline; text-underline-offset: 2px; letter-spacing: -.5px; }

.subpanel { width: var(--panel-w); background: var(--panel); display: flex; flex-direction: column; }
.subpanel .list { flex: 1; overflow-y: auto; padding: 16px 8px 0; display: flex; flex-direction: column; gap: 8px; }
.sp-item { display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 14px; padding: 6px 10px; border-radius: 8px; cursor: pointer; color: #fff; transition: background .2s, color .2s; }
.sp-item:hover { background: rgba(255,255,255,.06); color: var(--link-hover); }
.sp-item.active { background: var(--accent); color: #fff; }
.sp-item .chev { font-size: 11px; opacity: .8; }
.sp-sub { margin: -2px 0 2px 14px; padding-left: 10px; border-left: 1px solid rgba(255,255,255,.15); display: flex; flex-direction: column; }
.sp-sub .sp-item { padding: 5px 10px; }
.pro-badge { font: 700 9px/1 Outfit, sans-serif; color: var(--accent-light); background: rgba(47, 128, 237,.2); padding: 3px 5px; border-radius: 4px; letter-spacing: .3px; }
.new-badge { font: 700 9px/1 Outfit, sans-serif; color: #fff; background: rgba(255,255,255,.15); padding: 3px 5px; border-radius: 4px; }
.subpanel .bottom { padding: 8px; display: flex; flex-direction: column; gap: 8px; }
.upgrade { padding: 10px; font-size: 14px; background: #222; border: 1px solid rgba(255,255,255,.06); border-radius: 8px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; color: #fff; }
.upgrade:hover { background: rgba(34,34,34,.6); }
.upgrade span { display: flex; align-items: center; gap: 8px; }

.content { position: fixed; top: var(--topbar-h); left: calc(var(--rail-w) + var(--panel-w)); right: 0; bottom: 0; overflow-y: auto; padding: 0 40px 60px 26px; }
.page { max-width: 1250px; }
.page p, .page .desc { font-size: 16px; line-height: 1.45; margin: 0 0 6px; color: var(--text); }
h2.blueheading { font: 400 24px "Exo 2", sans-serif; color: var(--blue); margin: 20px 0; }
h3.blueheading { font: 400 18.72px "Exo 2", sans-serif; color: var(--blue); margin: 0 0 18.72px; }
h4.subheading { font: 400 16px "Exo 2", sans-serif; color: #e6e6e6; margin: 18px 0 10px; }
.section { background: var(--section); border: 1px solid var(--section-border); border-radius: 10px; padding: 20px; margin: 40px 20px 0 0; }
.section + .section { margin-top: 40px; }
.section .desc { font-size: 15px; }
.err-box { margin: 26px 0 10px; background: var(--error-bg); border: 1px solid var(--error-border); border-radius: 10px; padding: 8px 15px; color: #d3d3d3; max-width: 646px; }
.info-box { background: rgba(72,149,190,.12); border: 1px solid rgba(72,149,190,.4); border-radius: 10px; padding: 10px 15px; font-size: 14px; margin: 12px 0; }
.warn-box { background: rgba(255,177,59,.1); border: 1px solid rgba(255,177,59,.4); border-radius: 10px; padding: 10px 15px; font-size: 14px; margin: 12px 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.col { display: flex; flex-direction: column; gap: 8px; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.spacer { height: 16px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: 4px; cursor: pointer;
  background: var(--control); border: 1px solid var(--control-border); color: var(--control-text); font-size: 14px; white-space: nowrap;
  transition: background .15s;
}
.btn:hover { background: #363636; }
.btn:active { background: #404040; }
.btn i { font-size: 13px; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { background: #1a5fbf; }
.btn.blue { background: #1ca8dd; border-color: #1ca8dd; color: #fff; }
.btn.danger { color: #ff8095; }
.btn.small { height: 28px; padding: 0 10px; font-size: 13px; }
.btn.big { height: 48px; padding: 0 26px; font-size: 16px; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.input, select.input, textarea.input {
  height: 34px; background: var(--control); border: 1px solid var(--control-border); border-radius: 4px; color: var(--control-text);
  padding: 0 10px; font-size: 14px; font-family: inherit; outline: none; min-width: 0;
}
textarea.input { height: auto; min-height: 70px; padding: 8px 10px; resize: vertical; }
.input:focus { border-color: var(--check); }
.input::placeholder { color: #777; }
input[type=color].input { padding: 2px; width: 50px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.field > label { color: #cfcfcf; }
.form-row { display: grid; grid-template-columns: 260px 1fr; gap: 10px 16px; align-items: center; margin: 8px 0; font-size: 14px; }
.form-row > label { color: #d0d0d0; }
.form-row .input { max-width: 340px; width: 100%; }
.check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; color: var(--control-text); user-select: none; }
.check input { display: none; }
.check .box { width: 22px; height: 22px; border: 1px solid var(--control-border); background: var(--control); border-radius: 2px; display: grid; place-items: center; color: var(--check); font-size: 13px; flex: none; }
.check input:checked + .box::after { content: "\f00c"; font: 900 13px "Font Awesome 6 Free"; }
.switch { position: relative; width: 44px; height: 24px; flex: none; display: inline-block; cursor: pointer; }
.switch input { display: none; }
.switch .tr { position: absolute; inset: 0; background: #444; border-radius: 12px; transition: background .2s; }
.switch .tr::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #ddd; transition: transform .2s; }
.switch input:checked + .tr { background: var(--check); }
.switch input:checked + .tr::after { transform: translateX(20px); }
.radio-list { display: flex; flex-direction: column; gap: 8px; }
.radio { display: inline-flex; gap: 10px; align-items: center; cursor: pointer; font-size: 14px; }
.radio input { accent-color: var(--check); width: 18px; height: 18px; margin: 0; }

.grid-wrap { background: var(--control); border: 1px solid var(--control-border); overflow-x: auto; margin-top: 14px; }
table.grid { width: 100%; border-collapse: collapse; font-size: 14px; color: var(--control-text); }
table.grid th { text-align: left; font-weight: 400; color: var(--muted); padding: 9px 8px; border-bottom: 1px solid var(--control-border); border-right: 1px solid var(--control-border); white-space: nowrap; }
table.grid td { padding: 8px; border-bottom: 1px solid #3a3a3a; vertical-align: middle; }
table.grid tr:last-child td { border-bottom: 0; }
table.grid tr:hover td { background: rgba(255,255,255,.03); }
table.grid .empty { text-align: center; color: #b5b5b5; padding: 36px; }
.grid-toolbar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 16px; }
.grid-toolbar .search { margin-left: auto; position: relative; }
.grid-toolbar .search i { position: absolute; left: 10px; top: 11px; font-size: 12px; color: #999; }
.grid-toolbar .search input { padding-left: 30px; width: 220px; }
.link-btn { background: none; border: 0; color: var(--link); cursor: pointer; padding: 0 4px; font-size: 14px; }
.link-btn:hover { color: var(--link-hover); }
.link-btn.danger { color: #ff7b93; }
.thumb { width: 36px; height: 36px; object-fit: cover; border-radius: 4px; background: #333; }
.tag { display: inline-block; font-size: 12px; padding: 2px 8px; border-radius: 10px; background: rgba(255,255,255,.08); margin: 1px; }
.status-ready { color: var(--success); }
.status-offline { color: #ff7b93; }

.widget-card { background: #262626; border: 1px solid #3a3a3a; border-radius: 10px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.widget-card h4 { margin: 0; font: 400 17px "Exo 2", sans-serif; color: #fff; display: flex; align-items: center; gap: 8px; }
.url-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.url-row .input { flex: 1; min-width: 200px; font-size: 12px; color: #aaa; }
.preview { background: repeating-conic-gradient(#2c2c2c 0% 25%, #252525 0% 50%) 50% / 20px 20px; border: 1px solid #3a3a3a; border-radius: 6px; height: 170px; position: relative; overflow: hidden; }
.preview iframe { border: 0; width: 200%; height: 200%; transform: scale(.5); transform-origin: 0 0; pointer-events: none; }
.style-nav { display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 700; }

.welcome-cta { margin: 30px auto 20px; display: flex; justify-content: center; }
.connect-box { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 10px 0; text-align: center; }
.connect-box .input { width: 320px; height: 42px; font-size: 15px; text-align: center; }
.live-banner { font: 400 28px "Exo 2", sans-serif; color: #3aff68; }
.live-banner.waiting { color: #ffd23f; }
.stat-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; width: 100%; margin-top: 10px; }
.stat-tile { background: #2a2a2a; border-radius: 8px; padding: 12px; text-align: left; }
.stat-tile .v { font: 600 22px Outfit, sans-serif; color: #fff; }
.stat-tile .k { font-size: 12px; color: #999; }
.quick { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.quick a { display: flex; align-items: center; gap: 10px; background: #2a2a2a; border: 1px solid #3a3a3a; border-radius: 8px; padding: 12px; color: #eee; font-size: 14px; }
.quick a:hover { border-color: var(--accent); color: #fff; }
.quick a i { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: rgba(255,255,255,.06); }
.feed { max-height: 360px; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.feed .ev { display: flex; gap: 10px; align-items: center; padding: 6px 8px; border-radius: 6px; background: #262626; }
.feed .ev .avatar { width: 26px; height: 26px; }
.feed .ev .t { color: #888; font-size: 12px; margin-left: auto; white-space: nowrap; }
ul.news { padding-left: 20px; line-height: 1.6; }
ul.news li { margin-bottom: 10px; }
details.faq { background: #262626; border-radius: 8px; padding: 10px 14px; margin-bottom: 8px; }
details.faq summary { cursor: pointer; color: #eee; }
details.faq p { margin-top: 10px; font-size: 14px; }

.modal-bg { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal { background: #2a2a2a; border: 1px solid #3c3c3c; border-radius: 6px; width: min(640px, 100%); max-height: calc(100vh - 32px); display: flex; flex-direction: column; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.modal.wide { width: min(900px, 100%); }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid #3c3c3c; font-size: 18px; color: #fff; }
.modal-head .x { background: none; border: 0; color: #ddd; font-size: 20px; cursor: pointer; }
.modal-body { padding: 16px; overflow-y: auto; font-size: 14px; }
.modal-body .q { color: #e8e8e8; margin: 18px 0 10px; font-size: 14px; }
.modal-body .q:first-child { margin-top: 0; }
.modal-foot { padding: 12px 16px; border-top: 1px solid #3c3c3c; display: flex; gap: 10px; justify-content: flex-end; }
.opt-block { margin: 6px 0 12px 32px; padding: 12px; background: #242424; border-radius: 6px; display: flex; flex-direction: column; gap: 10px; }

.toasts { position: fixed; right: 18px; bottom: 18px; z-index: 200; display: flex; flex-direction: column; gap: 8px; }
.toast { min-width: 260px; max-width: 420px; padding: 12px 16px; border-radius: 6px; color: #fff; font-size: 14px; box-shadow: 0 6px 20px rgba(0,0,0,.4); background: #333; border-left: 4px solid #888; animation: tin .2s ease-out; }
.toast.success { border-color: #51a351; } .toast.error { border-color: #bd362f; } .toast.info { border-color: #2f96b4; } .toast.warning { border-color: #f89406; }
@keyframes tin { from { transform: translateY(10px); opacity: 0; } }

.palette { width: min(560px, 100%); background: #2a2a2a; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; overflow: hidden; align-self: start; margin-top: 10vh; font-family: Outfit, sans-serif; }
.palette input { width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.1); padding: 16px; color: #fff; font-size: 16px; outline: none; }
.palette .res { max-height: 50vh; overflow-y: auto; padding: 6px; }
.palette .res div { padding: 10px 12px; border-radius: 8px; cursor: pointer; display: flex; justify-content: space-between; font-size: 14px; }
.palette .res div.sel, .palette .res div:hover { background: rgba(255,255,255,.07); }
.palette .res small { color: #888; }

.menu-toggle { display: none; }
@media (max-width: 1100px) {
  .subpanel { position: absolute; left: var(--rail-w); top: 0; bottom: 0; transform: translateX(-120%); transition: transform .2s; box-shadow: 10px 0 30px rgba(0,0,0,.5); }
  .nav.open .subpanel { transform: none; }
  .content { left: var(--rail-w); padding: 0 20px 60px 20px; }
  .breadcrumb { display: none; }
}
@media (max-width: 640px) {
  .search-trigger { width: auto; margin-left: 12px; } .search-trigger .lbl, .search-trigger .kbd { display: none; }
  .content { padding: 0 12px 60px; }
  .section { margin-right: 0; padding: 14px; }
  .form-row { grid-template-columns: 1fr; }
  .user-chip .txt { display: none; }
}
.rail-item.active.light .ic i { color: #1b2230 !important; }

.page:has(.gallery-grid) { max-width: none; }
.gallery-grid { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 20px; }
.gallery-grid > .section { margin: 0; flex: 0 0 calc(50% - 8px); min-width: 0; box-sizing: border-box; display: flex; flex-direction: column; }
@media (max-width: 1100px) { .gallery-grid > .section { flex-basis: 100%; } }
.gallery-grid > .section + .section { margin-top: 0; }
.gallery-grid .gallery-card { flex: 1; display: flex; flex-direction: column; }
.gallery-grid .gallery-card .widget-card { flex: 1; }
.gallery-grid .gallery-card .preview { margin-top: auto; }
.section.pro-section { background: #102440; }
.gallery-card .widget-card { background: none; border: 0; padding: 0; }
.gallery-card .widget-card h4 { font-size: 18.72px; color: var(--blue); }
.gallery-card .preview { margin-top: 6px; }

.pro-locked { position: relative; }
.pro-locked .locked-area { opacity: .45; pointer-events: none; user-select: none; }
.pro-lock-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: rgba(47, 128, 237, .12); border: 1px solid rgba(47, 128, 237, .45); border-radius: 8px; padding: 8px 12px; font-size: 14px; }
.pro-lock-bar i { color: var(--accent-light); }

.lang-btn { font-size: 13px; display: inline-flex; align-items: center; gap: 4px; font-family: Outfit, sans-serif; }
.goog-te-banner-frame, iframe.skiptranslate, .goog-te-balloon-frame, #goog-gt-tt, .goog-tooltip, .VIpgJd-ZVi9od-ORHb-OEVmcd, .VIpgJd-ZVi9od-aZ2wEe-wOHMyf { display: none !important; }
body { top: 0 !important; }
font[style] { background: transparent !important; box-shadow: none !important; }
.rail { padding-left: 2px; padding-right: 2px; }
.rail-item { width: 60px; }
.rail-item .lbl { width: 60px; max-width: 60px; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rail-item.active::before { left: -2px; }

.coin { width: 14px; height: 14px; vertical-align: -2px; }
.coin-val { display: inline-flex; align-items: center; gap: 4px; }
.stat-tile .coin { width: 20px; height: 20px; }
.btn .coin { width: 16px; height: 16px; }
.style-nav { display: flex; align-items: center; justify-content: center; gap: 14px; font-size: 13px; }

.plan-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin: 10px 0 4px; }
.plan-card { position: relative; background: #262626; border: 1px solid #3a3a3a; border-radius: 10px; padding: 18px 16px 16px; display: flex; flex-direction: column; gap: 6px; }
.plan-card.best { border-color: var(--accent); background: rgba(47, 128, 237, .1); }
.plan-badge { position: absolute; top: -10px; right: 14px; background: var(--accent); color: #fff; font: 700 11px Outfit, sans-serif; padding: 3px 8px; border-radius: 6px; }
.plan-title { font: 600 15px Outfit, sans-serif; color: #ddd; }
.plan-price { font: 700 26px Outfit, sans-serif; color: #fff; }
.plan-price span { font-size: 14px; font-weight: 400; color: var(--muted); }
.plan-extra { font-size: 13px; color: #bbb; margin-bottom: 8px; }
.plan-card .btn { align-self: flex-start; }
.quota { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: #bbb; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); border-radius: 999px; padding: 3px 10px; }
.quota.full { color: #b3d4ff; border-color: rgba(47, 128, 237,.5); background: rgba(47, 128, 237,.12); }
.rail-item.active .ic .hundred { color: #fff; position: relative; z-index: 1; }
.rail-item .ic .hundred { position: relative; z-index: 1; }

.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 14px 36px; }
.news-item { display: flex; align-items: center; gap: 12px; font-size: 15px; line-height: 1.45; text-align: justify; }
.news-item img, .news-item .news-ic { width: 40px; height: 40px; flex: none; object-fit: contain; }
.news-item .news-ic { display: grid; place-items: center; border-radius: 10px; background: rgba(72,149,190,.18); color: var(--blue); font-size: 18px; }

.sl-list { display: flex; flex-direction: column; gap: 4px; max-height: 360px; overflow-y: auto; }
.sl-row { display: flex; align-items: center; gap: 10px; background: #262626; border-radius: 6px; padding: 6px 10px; }
.sl-row .sl-name { flex: 1; min-width: 0; }
.sl-row .sl-name b { display: block; font-size: 14px; color: #eee; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.section.goal-info { margin: 20px 0 0; }
.goal-preview-row { display: flex; align-items: center; gap: 4px; }
.goal-preview-row .preview { flex: 1; min-width: 0; background: none; border: 0; }
.goal-style-label { text-align: center; font-size: 13px; color: #d9d9d9; margin-top: 2px; }

.cd-section { max-width: 830px; box-sizing: border-box; margin-top: 20px; }
.goal-preview-row.cd .preview { border: 1px solid #4e4e4e; border-radius: 0; }
.goal-preview-row button:disabled { opacity: .35; cursor: default; }

.gxo-section { max-width: 952px; box-sizing: border-box; }
.gxo-reset { display: flex; justify-content: flex-end; margin-bottom: 4px; }
.gxo-section .widget-card { background: none; border: 0; padding: 0; }
.gxo-section .widget-card h4 { font-size: 18.72px; color: var(--blue); }
.gxo-preview-row { display: flex; gap: 6px; align-items: flex-start; }
.gxo-preview-row .preview { flex: 1; min-width: 0; border: 1px solid #4e4e4e; border-radius: 0; background: none; }
.gxo-side { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.gxo-counter-card { border: 1px solid var(--section-border); border-radius: 10px; padding: 14px; }
.gxo-counter-card .widget-card h4 { display: flex; align-items: center; }
.gxo-change { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 14px; color: #d9d9d9; }
.gxo-counter-card .preview { border: 1px solid #4e4e4e; border-radius: 0; background: none; }
.gxo-add { display: flex; justify-content: center; margin-top: 4px; }

.lx-section { max-width: 911px; box-sizing: border-box; margin-top: 20px; }
.lx-section .widget-card { background: none; border: 0; padding: 0; }
.lx-section .widget-card h4 { font-size: 18.72px; color: var(--blue); }
.lx-section .preview { border: 1px solid #4e4e4e; border-radius: 0; background: none; }
.lx-settings { max-width: 642px; box-sizing: border-box; margin-top: 20px; }
b.u { text-decoration: underline; }

.sp-right { display: flex; align-items: center; gap: 6px; }
.sp-item .chev { transition: transform .2s; }
.sp-item .chev.open { transform: rotate(90deg); }
.sp-sections { margin: 2px 0 4px 16px; padding-left: 6px; }
.sp-sections .sp-item { font-size: 14px; padding: 6px 10px; }
.sp-sections .sp-item:hover, .sp-sections .sp-item.cur { color: #53afdf; background: rgba(255,255,255,.06); }
.sp-sections .pro-badge { font-size: 10px; }

.fc-section { max-width: 909px; box-sizing: border-box; margin-top: 40px; }
.fc-section .widget-card { background: none; border: 0; padding: 0; }
.fc-section .widget-card h4 { font-size: 18.72px; color: var(--blue); }
.fc-name-row { gap: 6px; }

.sr-top { display: flex; gap: 40px; align-items: flex-start; flex-wrap: wrap; }
.sr-intro { flex: 1; min-width: 320px; }
.sr-cmd { color: #3aff68; font-weight: 700; }
.sr-connect { width: 378px; max-width: 100%; box-sizing: border-box; margin: 0 20px 0 0; }
.sr-spotify { background: #262626; border: 1px solid #3a3a3a; color: #fff; align-self: flex-start; }
.sr-spotify i { color: #1db954; }
.sr-app { margin-top: 12px; font-size: 13px; }
.sr-app summary { cursor: pointer; color: #bbb; }
.sr-settings { max-width: 642px; box-sizing: border-box; }
.sr-table { border-collapse: separate; border-spacing: 0 6px; width: 100%; }
.sr-table td { padding: 2px 10px; font-size: 14px; vertical-align: middle; }
.sr-table td:first-child { width: 42%; }
.sr-on { color: #3aff68; } .sr-off { color: #ff4d4d; }
.sr-unit { display: flex; align-items: center; gap: 8px; }
.sr-aud { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.sr-history { max-width: 1042px; box-sizing: border-box; }
.sr-hist-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.sr-hist-head h3 { margin: 0; }
.sr-testing { width: fit-content; }
.sr-intro #a-commands { margin-top: 24px; }
.sr-overlay { max-width: 909px; box-sizing: border-box; }
.sr-overlay .widget-card { background: none; border: 0; padding: 0; }
.sr-overlay .widget-card h4 { font-size: 18.72px; color: var(--blue); }
.sr-overlay .preview { border: 1px solid #4e4e4e; border-radius: 0; background: none; }

body.no-panel .subpanel { display: none; }
body.no-panel .content { left: var(--rail-w); }
#a-screens { max-width: 1142px; box-sizing: border-box; }
#a-timer { max-width: 742px; box-sizing: border-box; }
#a-simulator { max-width: 700px; box-sizing: border-box; }
.ae-enabled { margin-left: 26px; }
.sim-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.sim-grid .btn { display: block; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.sim-gift { grid-column: span 3; }
.sim-gift > * { width: 100%; }
.page:has(#a-actions) { max-width: none; }

.start-intro { line-height: 1.45; }
.start-tt { color: var(--accent); }
.welcome-cta { display: flex; justify-content: center; margin: 22px 0 10px; }
.start-cta .cta-emoji { display: inline-block; width: 32px; height: 32px; margin-right: 6px; flex: none; }
.page:has(.start-news) > .section { max-width: 902px; box-sizing: border-box; }
.start-news { background: #122531 !important; }
.start-news .news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 30px; }
.start-news .news-item { display: flex; gap: 12px; align-items: flex-start; text-align: justify; font-size: 16px; }
.start-news .news-item img, .start-news .news-ic { width: 40px; height: 40px; flex: none; }
.start-row { display: flex; gap: 30px; flex-wrap: wrap; max-width: 902px; margin-top: 40px; align-items: stretch; }
.start-row > .section { margin: 0; box-sizing: border-box; }
.start-howto { flex: 0 1 562px; min-width: 0; }
.start-video { width: 100%; max-width: 520px; aspect-ratio: 520 / 280; border: 0; display: block; }
.start-videos { flex: 1 1 280px; }
.start-vlist { display: flex; flex-direction: column; gap: 18px; }
.start-vlist a { color: #37a1dc; }
.start-vlist i { font-size: 12px; margin-right: 4px; }
.start-about { flex: 0 1 402px; }
.start-contact { flex: 1 1 400px; }
.lc-grid { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 10px; }
.lc-tile { display: flex; width: 200px; height: 50px; background: #2a2a2a; border: 1px solid #3f3f3f; color: #fff; text-decoration: none; }
.lc-tile img { width: 50px; height: 50px; object-fit: cover; border-right: 1px solid #3f3f3f; }
.lc-info { padding: 3px 8px; min-width: 0; flex: 1; }
.lc-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lc-meta { display: flex; justify-content: space-between; font-size: 12px; color: #aaa; }
.lc-live { color: #ff4d4d; }
.faq summary { list-style: none; cursor: pointer; padding: 3px 0; }
.faq summary::before { content: '▶'; font-size: 10px; margin-right: 8px; display: inline-block; transition: transform .15s; }
.faq[open] summary::before { transform: rotate(90deg); }
.start-faq details.faq { background: none; border-radius: 0; padding: 0; margin: 0 0 4px; }
.start-faq details.faq p { margin: 4px 0 10px 18px; color: #ccc; }

.page:has(.dock-grid) { max-width: none; }
.dock-grid { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 30px; }
.dock-section { flex: 0 1 658px; margin: 0; box-sizing: border-box; min-width: 0; }
.dock-section .widget-card { background: none; border: 0; padding: 0; }
.dock-section .widget-card h4 { font-size: 18.72px; color: var(--blue); }
.dock-section .preview { height: calc(100vh - 370px) !important; min-height: 320px; border: 1px solid #4e4e4e; border-radius: 0; background: #1d1c1c; }
.dock-section .preview iframe { pointer-events: auto; }

.la-row { display: flex; gap: 22px; flex-wrap: wrap; align-items: stretch; margin-top: 40px; }
.la-row > .section { margin: 0; box-sizing: border-box; height: 252px; }
.la-reduction { flex: 0 1 642px; min-width: 0; }
.la-reset { flex: 0 0 242px; }
.la-reset .btn { margin: 21px 0 0 20px; }
.la-field { display: flex; align-items: flex-start; padding: 4px 20px; }
.la-label { flex: 0 0 40%; padding: 8px 15px 9px 0; box-sizing: border-box; font-size: 14px; }
.la-value { flex: 1; min-width: 0; padding-top: 4px; }
.la-check { display: flex; align-items: center; gap: 8px; padding-top: 6px; }
.la-check b { font-size: 14px; }
.la-hint { font-size: 14px; margin-top: 10px; text-align: center; }
.la-slider { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; margin: 0; background: transparent; cursor: pointer; }
.la-slider::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(to right, #1ca8dd var(--p), #4d4d4d var(--p)); }
.la-slider::-moz-range-track { height: 4px; border-radius: 2px; background: linear-gradient(to right, #1ca8dd var(--p), #4d4d4d var(--p)); }
.la-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 30px; margin-top: -13px; border-radius: 3px; background: #1ca8dd; border: 0; }
.la-slider::-moz-range-thumb { width: 16px; height: 30px; border-radius: 3px; background: #1ca8dd; border: 0; }
.la-overlay { max-width: 911px; box-sizing: border-box; margin-top: 20px; }
.la-overlay .widget-card { background: none; border: 0; padding: 0; }
.la-overlay .widget-card h4 { font-size: 18.72px; color: var(--blue); }
.la-overlay .preview { border: 1px solid #4e4e4e; border-radius: 0; background: none; }

.us-grid-box { margin-top: 20px; }
.us-toolbar { justify-content: flex-end; }
.us-grid th.us-sort { cursor: pointer; user-select: none; }
.us-grid th.us-sort i { margin-left: 6px; font-size: 11px; }
.us-user { display: flex; align-items: center; gap: 10px; }
.us-act { white-space: nowrap; text-align: right; }

.tm-overlay, .tm-control { max-width: 911px; box-sizing: border-box; margin-top: 20px; }
.tm-overlay .widget-card { background: none; border: 0; padding: 0; }
.tm-overlay .widget-card h4 { display: none; }
.tm-overlay .preview { border: 1px solid #4e4e4e; border-radius: 0; background: none; }
.tm-control { margin-top: 30px; padding-bottom: 30px; }
.tm-ctl { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.tm-ctl > .btn:nth-child(-n+3) { width: 150px; justify-content: center; }
.tm-gap { width: 40px; }
.tm-ctl .tm-num { width: 213px; }
.tm-ctl > .btn:nth-last-child(-n+2) { width: 36px; padding: 0; justify-content: center; }
.tm-num { position: relative; display: flex; align-items: center; background: var(--control); border: 1px solid var(--control-border); border-radius: 4px; height: 36px; box-sizing: border-box; padding: 0 10px; gap: 4px; }
.tm-num input { flex: 1; min-width: 0; width: 100%; border: 0 !important; background: none !important; padding: 0 !important; height: 100%; box-shadow: none !important; }
.tm-num .tm-unit, .tm-num .tm-pre { color: var(--control-text); font-size: 14px; white-space: nowrap; }
.tm-num.off { opacity: .5; }
.tm-row { display: flex; gap: 24px; flex-wrap: wrap; align-items: stretch; margin-top: 49px; }
.tm-row > .section { margin: 0; box-sizing: border-box; min-height: 742px; }
.tm-settings { flex: 0 1 686px; min-width: 0; }
.tm-keys { flex: 0 0 255px; }
.tm-field { padding: 4px 20px; }
.tm-field .la-label { flex-basis: 224px; }
.tm-field .la-value { padding-top: 4px; }
.tm-exp { display: flex; gap: 10px; align-items: center; padding-top: 4px; }
.tm-change { color: var(--blue); cursor: pointer; }
.tm-desc { margin: 21px 0 8px; font-size: 14px; }
.tm-hint { display: block; padding: 4px 20px; }
.tm-keys h4 { margin: 21px 0 8px; font-size: 1em; font-weight: 700; }
.tm-keys .input.tm-key, .tm-keys .tm-num { width: 213px; cursor: pointer; }

.wh-main { max-width: 642px; box-sizing: border-box; margin-top: 30px; padding: 40px 20px 30px; }
.wh-adv { max-width: 842px; box-sizing: border-box; margin-top: 49px; }
.wh-main .tm-field .la-value .input { width: 100%; }
.wh-adv .tm-field .la-value .input { width: 336px; max-width: 100%; }
.wh-help { color: var(--blue); cursor: pointer; font-size: 14px; }
.wh-helptext { font-size: 14px; line-height: 1.5; }
.wh-cmd { color: #3aff68; font-weight: 700; }
.wh-gap { margin-top: 21px; margin-bottom: 42px; }
.wh-count { margin: 8px 0; font-size: 14px; }
.wh-fields { max-width: 800px; }
.wh-gamble { display: flex; align-items: center; gap: 20px; margin-bottom: 10px; }
.wh-main .tm-exp { justify-content: space-between; padding-right: 0; }

.pd-main { padding-top: 30px; }
.pd-go { margin-top: 40px; }
.pd-go .btn { width: 120px; justify-content: center; }
.pd-auto { margin-top: 49px; padding: 20px 20px 30px; }
.pd-auto > div:nth-child(2) { margin-bottom: 20px; }

.ch-box { padding: 30px 20px 40px; }
.ch-box .la-value .input { width: 100%; }
.ch-start { margin-top: 30px; }
.ch-start .btn { width: 180px; justify-content: center; }
.ch-head { font-size: 16px; }
.ch-end { margin-top: 40px; }
.ch-end .btn { width: 200px; justify-content: center; }

.hv-box { padding: 30px 20px 40px; }
.hv-gap { margin: 22px 0; }
.hv-gap .la-value { padding-top: 8px; font-size: 14px; }
.hv-go .btn { min-width: 152px; justify-content: center; }
.hv-link { font-weight: 700; }
.tm-num { cursor: text; gap: 0; }
.tm-num input { flex: 0 0 auto; width: auto !important; field-sizing: content; min-width: 1ch; -moz-appearance: textfield; }
.tm-num input::-webkit-inner-spin-button, .tm-num input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.tm-num .tm-unit { margin-left: 4px; }

.api-new { font-size: .65em; color: #3e9bde; vertical-align: top; }
.api-h { color: var(--blue); margin: 40px 0 18px; font-family: "Exo 2", sans-serif; font-weight: 400; }
.api-url { font-size: 1.3em; font-weight: 400; background: none; padding: 0; color: #d9d9d9; }
.api-pre { margin: 18px 0; font-size: 13px; }

#splash { position: fixed; inset: 0; z-index: 10000; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: var(--bg); color: #fff; transition: opacity .3s ease-out; }
#splash.out { opacity: 0; pointer-events: none; }
.splash-spin { width: 100px; height: 60px; }
.splash-spin path { fill: none; stroke: #3e9bde; stroke-width: 7; stroke-linecap: round; stroke-dasharray: 42 58; animation: splashrun 1s linear infinite; }
@keyframes splashrun { to { stroke-dashoffset: -100; } }
@media (prefers-reduced-motion: reduce) { .splash-spin path { animation-duration: 3s; } }
.splash-text { margin-top: 10px; font-size: 14px; }
.splash-status { margin: 15px 0 10px; font-size: 12px; color: #bdbdbd; max-width: 420px; padding: 0 16px; }

.cc-box { max-width: 942px; box-sizing: border-box; margin-top: 40px; padding: 30px 20px; }
.cc-box + .cc-box { margin-top: 41px; }
.cc-row { display: flex; align-items: center; padding: 4px 20px; min-height: 44px; }
.cc-label { flex: 0 0 224px; display: flex; align-items: center; gap: 4px; font-size: 14px; }
.cc-wide .cc-label { flex-basis: 260px; }
.cc-label .check.locked { opacity: .5; }
.cc-value { flex: 1; display: flex; align-items: center; gap: 6px; min-width: 0; }
.cc-value .input { width: 336px; max-width: 100%; }
.cc-gear { width: 36px; padding: 0; justify-content: center; }
.cc-gear[disabled] { opacity: .35; }
.cc-value .wh-help { margin-left: 6px; white-space: nowrap; }
.cc-desc { margin-bottom: 40px; }
.cb-activate { margin-top: 30px; font-size: 18px; }
.cb-activate .check { font-size: 18px; }
.cb-warn { margin-top: 16px; max-width: 1042px; box-sizing: border-box; }
.cb-box { max-width: 1042px; box-sizing: border-box; margin-top: 40px; }
.cb-box + .cb-box { margin-top: 41px; }
.cb-empty { font-size: 14px; }
.cb-test { margin-top: 16px; }
.cb-field { padding: 40px 20px 20px; }
.cb-field .tm-num { width: 336px; max-width: 100%; }
.cb-sb { margin: 40px 0 20px; }
.cb-snippets { margin-top: 30px; max-width: 1219px; }
.cb-snippets .cb-text { width: 100%; min-width: 320px; }

.gallery-grid > .section { flex: 0 1 850px; max-width: 100%; }
@media (max-width: 1100px) { .gallery-grid > .section { flex-basis: 850px; } }

.lg-box { margin: 20px 0 0 15px; width: fit-content; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.lg-btn { width: 350px; max-width: 100%; height: 45px; justify-content: center; gap: 10px; font-size: 14px; }
.lg-icon { display: inline-flex; width: 20px; justify-content: center; }
.lg-icon .fa-envelope { color: #f5c542; font-size: 18px; }
.lg-terms { opacity: .8; font-size: 11px; line-height: 17px; text-align: center; }
.lg-dialog { width: 400px; max-width: 100%; }
.lg-field { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.lg-field label { flex: 0 0 130px; font-size: 14px; }
.lg-field .input { flex: 1; min-width: 0; }
.lg-note { margin: 12px 0 0; color: #bbb; }
.lg-actions { display: flex; justify-content: flex-end; margin-top: 20px; }

.st-box { max-width: 980px; box-sizing: border-box; margin-top: 40px; }
.st-box + .st-box { margin-top: 41px; }
.st-box .la-field .la-value > .input, .st-box .la-field .la-value > .tm-num { width: 336px; max-width: 100%; }
.st-box .la-label .check { font-size: 14px; }
.st-gap { height: 21px; }
.st-link { cursor: pointer; font-size: 14px; }
.st-box .la-value > .btn { width: 160px; justify-content: center; margin-top: 10px; }
.st-reset { display: flex; flex-direction: column; gap: 10px; margin-top: 21px; }
.st-reset .btn { width: 320px; max-width: 100%; justify-content: center; }

.ad-bar { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.ad-updated { font-size: 13px; color: var(--muted); }
.ad-box { max-width: 1200px; box-sizing: border-box; margin-top: 24px; }
.ad-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.ad-tile { background: #262626; border: 1px solid #353535; border-radius: 8px; padding: 14px 16px; }
.ad-v { font: 600 26px Outfit, sans-serif; color: #fff; font-variant-numeric: tabular-nums; }
.ad-k { font-size: 13px; color: #cfcfcf; margin-top: 2px; }
.ad-s { font-size: 12px; color: var(--muted); margin-top: 2px; }
.ad-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.ad-head h3 { margin: 0; }
.ad-ok { color: #3aff68; margin-left: 6px; font-size: 12px; }
.del-dialog { max-width: 440px; font-size: 14px; }
.del-dialog .input { width: 100%; box-sizing: border-box; }
.del-actions { display: flex; justify-content: flex-end; margin-top: 16px; }

.tk-quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 18px 20px 0 0; max-width: 900px; }
.tk-quick-item { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--section); border: 1px solid var(--section-border); border-radius: 12px; color: var(--text); font-size: 14px; line-height: 1.35; }
.tk-quick-item:hover { border-color: var(--accent); color: var(--text); }
.tk-quick-item > i { font-size: 20px; color: var(--accent-light); width: 24px; text-align: center; }
.tk-quick-item b { color: var(--text-strong); }
.tk-form { display: flex; flex-direction: column; gap: 14px; max-width: 680px; }
.tk-form .input, .tk-form select.input { width: 100%; max-width: none; }
.tk-status { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.tk-status.open { background: rgba(255, 191, 60, .15); color: #ffcf6a; }
.tk-status.answered { background: rgba(56, 199, 147, .15); color: #5fdcae; }
.tk-status.closed { background: rgba(255, 255, 255, .08); color: var(--muted); }
.tk-subj { display: inline-flex; align-items: center; gap: 8px; }
.tk-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-light); flex: none; }
.tk-count { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; display: inline-grid; place-items: center; }
.tk-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.tk-thread { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; max-height: 50vh; overflow-y: auto; }
.tk-msg { border-radius: 12px; padding: 10px 14px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .06); max-width: 92%; }
.tk-msg.team { background: rgba(47, 127, 232, .12); border-color: rgba(47, 127, 232, .3); align-self: flex-end; }
.tk-who { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--text-strong); margin-bottom: 4px; }
.tk-when { margin-left: auto; padding-left: 12px; font-weight: 400; color: var(--muted); font-size: 12px; }
.tk-body { white-space: pre-wrap; word-break: break-word; font-size: 14px; line-height: 1.5; color: var(--text); }
.tk-meta { font-size: 12px; color: var(--muted); background: rgba(255, 255, 255, .03); border-radius: 8px; padding: 8px 10px; margin-bottom: 12px; word-break: break-word; }
.tk-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.tk-filters .btn.on { background: var(--accent); border-color: var(--accent); color: #fff; }
@media (max-width: 640px) { .tk-quick { margin-right: 0; } .tk-msg { max-width: 100%; } }

input:focus, textarea:focus, select:focus, [contenteditable]:focus { outline: none; box-shadow: none; }
input:not([type=checkbox]):not([type=radio]):focus, textarea:focus, select:focus { border-color: var(--check); }
@media (max-width: 760px) { .start-news .news-grid { grid-template-columns: 1fr; } .news-grid { grid-template-columns: 1fr; } }

::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: #212121; }
::-webkit-scrollbar-thumb { background: var(--accent); }
::-webkit-scrollbar-thumb:hover { background: var(--accent-light); }
::-webkit-scrollbar-corner { background: transparent; }
html.ui-ig ::-webkit-scrollbar-track { background: var(--ink-2); }
@supports not selector(::-webkit-scrollbar) {
  * { scrollbar-width: thin; scrollbar-color: var(--accent) #212121; }
  html.ui-ig * { scrollbar-color: var(--brand) var(--ink-2); }
}
