/* KORMKOTA game theme v16 — Cyrillic gamer fonts */

@import url("https://fonts.googleapis.com/css2?family=Exo+2:wght@400;500;600;700;800&family=Russo+One&display=swap");

:root {
  --r: 22px;
  --r-sm: 16px;
  --ink: #f2fbff;
  --muted: #a9c4d4;
  --cyan: #43e6ff;
  --lime: #8cff5f;
  --gold: #ffd166;
  --ok: #6dff9a;
  --off: #ff7a86;
  --panel: rgba(8, 28, 42, 0.72);
  --panel-solid: #0c2434;
  --line: rgba(67, 230, 255, 0.35);
  --glow-c: 0 0 0 1px rgba(67, 230, 255, 0.55), 0 0 28px rgba(67, 230, 255, 0.38), 0 14px 32px rgba(0, 20, 30, 0.35);
  --glow-g: 0 0 0 1px rgba(140, 255, 95, 0.55), 0 0 28px rgba(140, 255, 95, 0.32), 0 14px 32px rgba(0, 20, 30, 0.35);
  --font: "Exo 2", "Segoe UI", sans-serif;
  --display: "Russo One", "Exo 2", sans-serif;
}

html { color-scheme: dark; }

/* —— layout height safety —— */
body.page-kormkota .main-content,
body.page-kormkota .main-content--guest {
  display: block !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  min-height: 0 !important;
  padding: 1rem 0 1.6rem !important;
}

body.page-kormkota .kk-dashboard,
body.page-kormkota .kk-dashboard--home,
body.page-kormkota .kk-rail,
body.page-kormkota .kk-rail--global,
body.page-kormkota .kk-workspace,
body.page-kormkota .kk-layout {
  min-height: 0 !important;
  height: auto !important;
}

body.page-kormkota .kk-rail,
body.page-kormkota .kk-rail--global {
  align-self: start !important;
  height: fit-content !important;
  max-height: none !important;
}

body.page-kormkota .kk-rail-nav {
  min-height: 0 !important;
  height: auto !important;
  flex: none !important;
}

body.page-kormkota .kk-rail-nav a.kk-rail-link--download,
body.page-kormkota .kk-rail-nav a[href="/downloads"] {
  margin-top: 0.4rem !important;
}

/* —— GRID BACKGROUND everywhere —— */
html:has(body.page-kormkota),
body.page-kormkota {
  background-color: #0b1a2a !important;
  background-image:
    linear-gradient(rgba(67, 230, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(67, 230, 255, 0.14) 1px, transparent 1px),
    radial-gradient(ellipse 70% 45% at 50% -8%, rgba(67, 230, 255, 0.2), transparent 55%),
    linear-gradient(180deg, #10263a 0%, #0b1a2a 55%, #091521 100%) !important;
  background-size: 28px 28px, 28px 28px, auto, auto !important;
  background-repeat: repeat, repeat, no-repeat, no-repeat !important;
  background-attachment: fixed !important;
  background-position: 0 0, 0 0, center, center !important;
}

body.page-kormkota {
  font-family: var(--font) !important;
  color: var(--ink) !important;
}

body.page-kormkota::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 1;
  background-image:
    linear-gradient(rgba(67, 230, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(67, 230, 255, 0.12) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: none !important;
}

body.page-kormkota::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 40% at 50% 0%, rgba(67, 230, 255, 0.16), transparent 70%);
}

body.page-kormkota > * { position: relative; z-index: 1; }

body.page-kormkota > .reward-balls-layer,
body.page-kormkota > .toast-root,
body.page-kormkota > .flash-wrap {
  position: fixed !important;
  z-index: 1400 !important;
}

body.page-kormkota > .reward-balls-layer {
  inset: 0 !important;
  width: auto !important;
  height: auto !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

body.page-kormkota .container.main-content,
body.page-kormkota .main-content--guest.container {
  width: min(1240px, calc(100% - 1.2rem)) !important;
  max-width: 1240px !important;
}

/* —— header —— */
body.page-kormkota .site-header,
body.page-kormkota .site-header--guest {
  background: rgba(8, 30, 44, 0.78) !important;
  border-bottom: 1px solid rgba(67, 230, 255, 0.28) !important;
  box-shadow: 0 10px 30px rgba(0, 20, 30, 0.35), 0 0 40px rgba(67, 230, 255, 0.08) !important;
  backdrop-filter: blur(14px);
}

/* —— Gamer typography everywhere (RU Cyrillic) —— */
body.page-kormkota,
body.page-kormkota button,
body.page-kormkota input,
body.page-kormkota select,
body.page-kormkota textarea,
body.page-kormkota a,
body.page-kormkota p,
body.page-kormkota span,
body.page-kormkota li,
body.page-kormkota label,
body.page-kormkota small,
body.page-kormkota strong,
body.page-kormkota em,
body.page-kormkota code,
body.page-kormkota time {
  font-family: var(--font) !important;
}

body.page-kormkota h1,
body.page-kormkota h2,
body.page-kormkota h3,
body.page-kormkota h4,
body.page-kormkota .guest-logo-text strong,
body.page-kormkota .kk-section-head h2,
body.page-kormkota .kk-monitor-title h2,
body.page-kormkota .kk-monitor-name,
body.page-kormkota .kk-stat strong,
body.page-kormkota .kk-stat span,
body.page-kormkota .kk-rail-nav a,
body.page-kormkota .kk-rail-nav a strong,
body.page-kormkota .kk-news-list h3,
body.page-kormkota .kk-mini-chat-list h3,
body.page-kormkota .guest-account-link,
body.page-kormkota .guest-account-link--button,
body.page-kormkota .guest-balance,
body.page-kormkota .guest-logo-text small,
body.page-kormkota .kk-monitor-state,
body.page-kormkota .kk-copy-ip,
body.page-kormkota .kk-monitor-row > span,
body.page-kormkota .kk-mini-chat-form button,
body.page-kormkota .kk-mini-chat-login a {
  font-family: var(--display) !important;
  letter-spacing: 0.03em !important;
}

body.page-kormkota .guest-logo-text strong {
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  text-shadow: 0 0 16px rgba(67, 230, 255, 0.35) !important;
}

body.page-kormkota .guest-balance {
  border: 1px solid rgba(67, 230, 255, 0.35) !important;
  border-radius: 999px !important;
  padding: 0.45rem 0.8rem !important;
  background: rgba(8, 28, 42, 0.85) !important;
  box-shadow: 0 0 14px rgba(67, 230, 255, 0.15) !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
}

body.page-kormkota .guest-account-link,
body.page-kormkota .guest-account-link--button {
  text-transform: uppercase !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
}

body.page-kormkota .guest-account-link,
body.page-kormkota .guest-account-link--button {
  border: 1px solid rgba(67, 230, 255, 0.4) !important;
  border-radius: var(--r-sm) !important;
  background: rgba(10, 36, 52, 0.85) !important;
  color: var(--ink) !important;
  font-weight: 700 !important;
  box-shadow: 0 0 14px rgba(67, 230, 255, 0.12) !important;
}

/* Header profile icons — filled, readable */
body.page-kormkota .guest-social-link {
  display: inline-grid !important;
  place-items: center !important;
  width: 2.45rem !important;
  height: 2.45rem !important;
  border: 1px solid rgba(67, 230, 255, 0.4) !important;
  border-radius: 999px !important;
  background: rgba(10, 36, 52, 0.9) !important;
  color: var(--cyan) !important;
  box-shadow: 0 0 14px rgba(67, 230, 255, 0.18) !important;
}
body.page-kormkota .guest-social-link svg {
  width: 1.15rem !important;
  height: 1.15rem !important;
}
body.page-kormkota .guest-social-link:hover {
  border-color: rgba(140, 255, 95, 0.55) !important;
  color: var(--lime) !important;
  box-shadow: 0 0 18px rgba(140, 255, 95, 0.25) !important;
}

body.page-kormkota .guest-logo-text strong span { color: var(--lime) !important; }
body.page-kormkota .guest-logo-text small {
  color: var(--cyan) !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-family: var(--display) !important;
}
body.page-kormkota .kko-music-control {
  position: relative !important;
  display: grid !important;
  place-items: center !important;
  flex: 0 0 auto !important;
  width: 2.85rem !important;
  height: 2.85rem !important;
  min-width: 2.85rem !important;
  padding: 0 !important;
  gap: 0 !important;
  border: 1px solid rgba(125, 255, 104, 0.55) !important;
  border-radius: 50% !important;
  background: linear-gradient(145deg, rgba(10, 31, 49, 0.98), rgba(8, 72, 70, 0.92)) !important;
  color: #7dff68 !important;
  box-shadow: 0 0 0 1px rgba(125, 255, 104, 0.14), 0 0 18px rgba(125, 255, 104, 0.22), 0 10px 22px rgba(0, 0, 0, 0.32) !important;
  cursor: pointer !important;
  font: inherit !important;
}
body.page-kormkota .kko-music-control::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 0.38rem !important;
  border: 1px solid rgba(125, 255, 104, 0.28) !important;
  border-radius: inherit !important;
  pointer-events: none !important;
}
body.page-kormkota .kko-music-control .kko-music-icon {
  position: relative;
  z-index: 1;
  width: 1.15rem !important;
  height: 1.15rem !important;
}
body.page-kormkota .kko-music-control .kko-music-label { display: none !important; }
body.page-kormkota .kko-music-control.is-playing {
  color: #eafff8 !important;
  border-color: rgba(67, 230, 255, 0.75) !important;
  box-shadow: 0 0 0 1px rgba(67, 230, 255, 0.25), 0 0 26px rgba(67, 230, 255, 0.35), 0 16px 34px rgba(0, 0, 0, 0.42) !important;
  animation: kko-radio-pulse 1.6s ease-in-out infinite;
}
body.page-kormkota .kko-music-control[hidden] { display: none !important; }

@keyframes kko-radio-pulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(67, 230, 255, 0.25), 0 0 18px rgba(67, 230, 255, 0.28), 0 10px 22px rgba(0, 0, 0, 0.32); }
  50% { box-shadow: 0 0 0 1px rgba(125, 255, 104, 0.35), 0 0 28px rgba(125, 255, 104, 0.42), 0 10px 22px rgba(0, 0, 0, 0.32); }
}

/* —— neon panels —— */
body.page-kormkota .kk-section,
body.page-kormkota .kk-panel,
body.page-kormkota .kk-mini-chat,
body.page-kormkota .kk-monitor,
body.page-kormkota .kk-rail,
body.page-kormkota .kk-rail--global {
  border: 1px solid var(--line) !important;
  border-radius: var(--r) !important;
  background:
    linear-gradient(165deg, rgba(18, 56, 78, 0.78), rgba(8, 30, 44, 0.88)),
    rgba(8, 28, 42, 0.75) !important;
  box-shadow: var(--glow-c) !important;
  backdrop-filter: blur(10px);
}

body.page-kormkota .kk-section-head h2,
body.page-kormkota .kk-monitor-title h2 {
  margin: 0 !important;
  font-family: var(--display) !important;
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: var(--cyan) !important;
  text-shadow: 0 0 14px rgba(67, 230, 255, 0.45) !important;
}
body.page-kormkota .kk-section-head h2::before,
body.page-kormkota .kk-monitor-title h2::before { display: none !important; }

body.page-kormkota .kk-monitor-title p {
  margin: 0.25rem 0 0 !important;
  color: var(--muted) !important;
  font-size: 0.78rem !important;
}

/* —— stats neon —— */
body.page-kormkota .kk-home-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0 0 0.95rem;
}

body.page-kormkota .kk-stat {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  column-gap: 0.7rem;
  row-gap: 0.08rem;
  align-items: center;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(67, 230, 255, 0.42);
  border-radius: var(--r-sm);
  background: linear-gradient(160deg, rgba(20, 64, 88, 0.85), rgba(8, 32, 48, 0.9));
  box-shadow: var(--glow-c);
  text-decoration: none !important;
  color: inherit !important;
}

body.page-kormkota .kk-stat-ico {
  grid-row: 1 / -1;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  border: 1px solid rgba(67, 230, 255, 0.45);
  background: rgba(67, 230, 255, 0.14);
  color: var(--cyan);
  font-size: 1.05rem;
  font-weight: 900;
  box-shadow: 0 0 16px rgba(67, 230, 255, 0.25);
}

body.page-kormkota .kk-stat span {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.page-kormkota .kk-stat strong {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  text-shadow: 0 0 12px rgba(67, 230, 255, 0.35);
}

body.page-kormkota .kk-stat em {
  grid-column: 2;
  font-style: normal;
  color: #8fb0c2;
  font-size: 0.68rem;
  font-weight: 600;
}

body.page-kormkota .kk-stat--online {
  border-color: rgba(140, 255, 95, 0.5);
  box-shadow: var(--glow-g);
  background: linear-gradient(160deg, rgba(28, 72, 48, 0.75), rgba(8, 36, 40, 0.9));
}
body.page-kormkota .kk-stat--online .kk-stat-ico {
  border-color: rgba(140, 255, 95, 0.5);
  background: rgba(140, 255, 95, 0.16);
  color: var(--lime);
  box-shadow: 0 0 16px rgba(140, 255, 95, 0.28);
}
body.page-kormkota .kk-stat--online strong { color: var(--lime); text-shadow: 0 0 12px rgba(140, 255, 95, 0.4); }

body.page-kormkota .kk-home-metrics,
body.page-kormkota .kk-home-hero,
body.page-kormkota .kk-hero-cast { display: none !important; }

/* —— rail —— */
body.page-kormkota .kk-rail-nav {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.4rem !important;
}

body.page-kormkota .kk-rail-nav a {
  min-height: 2.55rem !important;
  padding: 0.55rem 0.8rem !important;
  border: 1px solid rgba(67, 230, 255, 0.32) !important;
  border-radius: var(--r-sm) !important;
  background:
    linear-gradient(165deg, rgba(18, 56, 78, 0.75), rgba(8, 28, 42, 0.88)) !important;
  color: var(--ink) !important;
  font-family: var(--display) !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  box-shadow: 0 0 12px rgba(67, 230, 255, 0.12) !important;
}

body.page-kormkota .kk-rail-nav a:hover,
body.page-kormkota .kk-rail-nav a.is-active {
  border-color: rgba(67, 230, 255, 0.75) !important;
  background: rgba(67, 230, 255, 0.18) !important;
  box-shadow: 0 0 22px rgba(67, 230, 255, 0.35) !important;
  color: #fff !important;
  text-shadow: 0 0 10px rgba(67, 230, 255, 0.45) !important;
}

body.page-kormkota .kk-rail-nav a.kk-rail-link--server {
  border-color: rgba(140, 255, 95, 0.4) !important;
  background: rgba(140, 255, 95, 0.1) !important;
}

body.page-kormkota .kk-rail-nav a.kk-rail-link--download,
body.page-kormkota .kk-rail-nav a[href="/downloads"] {
  border-color: rgba(255, 209, 102, 0.55) !important;
  background: rgba(255, 209, 102, 0.12) !important;
  color: #ffe49a !important;
  box-shadow: 0 0 16px rgba(255, 209, 102, 0.18) !important;
}

/* —— chat / news —— */
body.page-kormkota .kk-mini-chat-list article,
body.page-kormkota .kk-news-list article {
  border: 1px solid rgba(67, 230, 255, 0.22) !important;
  border-radius: var(--r-sm) !important;
  background: rgba(6, 26, 38, 0.72) !important;
  box-shadow: 0 0 12px rgba(67, 230, 255, 0.06) !important;
}

body.page-kormkota .kk-mini-chat-form {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto auto !important;
  gap: 0.45rem !important;
}

body.page-kormkota .kk-mini-chat-form input[type="text"] {
  width: 100% !important;
  min-height: 2.55rem !important;
  padding: 0.55rem 0.75rem !important;
  border: 1px solid rgba(67, 230, 255, 0.35) !important;
  border-radius: var(--r-sm) !important;
  background: rgba(4, 22, 34, 0.9) !important;
  color: var(--ink) !important;
}

body.page-kormkota .kk-mini-chat-form button,
body.page-kormkota .kk-mini-chat-login a {
  min-height: 2.55rem !important;
  padding: 0.5rem 0.9rem !important;
  border: 0 !important;
  border-radius: var(--r-sm) !important;
  background: linear-gradient(180deg, #8cff5f, #2f9a55) !important;
  color: #04140a !important;
  font-weight: 800 !important;
  box-shadow: 0 0 18px rgba(140, 255, 95, 0.35) !important;
}

body.page-kormkota .kk-mini-file {
  display: grid !important;
  place-items: center !important;
  width: 2.55rem !important;
  height: 2.55rem !important;
  border: 1px solid rgba(67, 230, 255, 0.4) !important;
  border-radius: var(--r-sm) !important;
  background: rgba(4, 22, 34, 0.9) !important;
  color: var(--cyan) !important;
}

/* —— MONITOR —— */
body.page-kormkota .kk-dashboard--home .kk-layout {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px) !important;
  column-gap: 0.9rem !important;
  align-items: start !important;
}

body.page-kormkota .kk-dashboard--home .kk-monitor-side {
  width: min(100%, 360px) !important;
  align-self: start !important;
}

body.page-kormkota .kk-dashboard--home .kk-monitor {
  text-align: left !important;
  justify-items: stretch !important;
}

body.page-kormkota .kk-dashboard--home .kk-monitor-title,
body.page-kormkota .kk-dashboard--home .kk-monitor-title h2,
body.page-kormkota .kk-dashboard--home .kk-monitor-title p {
  text-align: left !important;
}

body.page-kormkota .kk-dashboard--home .kk-monitor-list {
  display: grid !important;
  gap: 0.65rem !important;
}

body.page-kormkota .kk-monitor-card,
body.page-kormkota .kk-monitor-card.is-online,
body.page-kormkota .kk-monitor-card.is-offline {
  display: grid !important;
  gap: 0.55rem !important;
  cursor: default !important;
  padding: 0.75rem 0.8rem !important;
  border: 1px solid rgba(67, 230, 255, 0.32) !important;
  border-radius: var(--r-sm) !important;
  background:
    linear-gradient(155deg, rgba(16, 52, 72, 0.92), rgba(6, 26, 38, 0.95)) !important;
  background-image: none !important;
  box-shadow: 0 0 0 1px rgba(67, 230, 255, 0.12), 0 0 18px rgba(67, 230, 255, 0.12) !important;
  text-align: left !important;
}

body.page-kormkota .kk-monitor-card.is-online {
  border-color: rgba(140, 255, 95, 0.45) !important;
  box-shadow: 0 0 0 1px rgba(140, 255, 95, 0.18), 0 0 20px rgba(140, 255, 95, 0.16) !important;
}

body.page-kormkota .kk-monitor-card.is-offline {
  border-color: rgba(255, 122, 134, 0.35) !important;
  box-shadow: 0 0 0 1px rgba(255, 122, 134, 0.12), 0 0 16px rgba(255, 80, 90, 0.1) !important;
  opacity: 0.92;
}

body.page-kormkota .kk-dashboard--home .kk-monitor-card-top {
  display: grid !important;
  grid-template-columns: 2.6rem minmax(0, 1fr) !important;
  gap: 0.65rem !important;
  align-items: center !important;
}

body.page-kormkota .kk-monitor-block-icon,
body.page-kormkota .kk-monitor-game-icon {
  width: 2.6rem !important;
  height: 2.6rem !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  border: 1px solid rgba(67, 230, 255, 0.35) !important;
  background: rgba(4, 20, 30, 0.85) !important;
  box-shadow: 0 0 12px rgba(67, 230, 255, 0.2) !important;
}

body.page-kormkota .kk-monitor-block-icon img,
body.page-kormkota .kk-monitor-game-icon img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

body.page-kormkota .kk-dashboard--home .kk-monitor-card-head {
  display: grid !important;
  gap: 0.3rem !important;
  min-width: 0 !important;
}

body.page-kormkota .kk-monitor-name-row {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 0.4rem !important;
}

body.page-kormkota .kk-monitor-name {
  margin: 0 !important;
  font-family: var(--display) !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em !important;
  line-height: 1.2 !important;
  color: #fff !important;
  text-shadow: 0 0 10px rgba(67, 230, 255, 0.35) !important;
}

body.page-kormkota .kk-monitor-ver {
  display: none !important;
}

body.page-kormkota .kk-monitor-state {
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  min-height: 1.35rem !important;
  padding: 0.15rem 0.55rem !important;
  border: 0 !important;
  border-radius: 999px !important;
  font-size: 0.62rem !important;
  font-weight: 800 !important;
  text-transform: lowercase !important;
  box-shadow: 0 0 12px currentColor !important;
}
body.page-kormkota .kk-monitor-state::before { display: none !important; }

body.page-kormkota .kk-monitor-card.is-online .kk-monitor-state {
  color: #04140a !important;
  background: var(--ok) !important;
}

body.page-kormkota .kk-monitor-card.is-offline .kk-monitor-state {
  color: #2a0a0e !important;
  background: var(--off) !important;
}

body.page-kormkota .kk-monitor-meta {
  display: grid !important;
  gap: 0.4rem !important;
}

body.page-kormkota .kk-monitor-row {
  display: grid !important;
  grid-template-columns: 3.4rem minmax(0, 1fr) !important;
  gap: 0.35rem !important;
  align-items: center !important;
}

body.page-kormkota .kk-monitor-row > span {
  color: var(--muted) !important;
  font-size: 0.6rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
}

body.page-kormkota .kk-monitor-address code {
  display: block !important;
  padding: 0.4rem 0.5rem !important;
  border: 1px solid rgba(67, 230, 255, 0.28) !important;
  border-radius: 10px !important;
  background: rgba(2, 16, 26, 0.85) !important;
  color: #c9f6ff !important;
  font-size: 0.7rem !important;
  overflow-wrap: anywhere !important;
  box-shadow: inset 0 0 12px rgba(67, 230, 255, 0.08) !important;
}

body.page-kormkota .kk-dashboard--home .kk-monitor-players {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 0.45rem !important;
  font-size: 0.8rem !important;
}

body.page-kormkota .kk-monitor-players strong {
  color: #fff !important;
  font-family: var(--display) !important;
  font-weight: 800 !important;
}

body.page-kormkota .kk-monitor-players small {
  color: var(--muted) !important;
  font-size: 0.68rem !important;
}

body.page-kormkota .kk-copy-ip {
  border: 1px solid rgba(140, 255, 95, 0.45) !important;
  border-radius: 8px !important;
  background: rgba(140, 255, 95, 0.14) !important;
  color: #d8ffc8 !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  font-size: 0.58rem !important;
  min-height: 1.7rem !important;
  padding: 0 0.55rem !important;
  cursor: pointer !important;
  box-shadow: 0 0 12px rgba(140, 255, 95, 0.18) !important;
}

body.page-kormkota .kk-copy-ip.is-copied {
  background: rgba(67, 230, 255, 0.18) !important;
  border-color: rgba(67, 230, 255, 0.55) !important;
}

body.page-kormkota .kk-dashboard--home .kk-monitor-bar {
  width: 100% !important;
  height: 0.4rem !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  overflow: hidden !important;
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.35) !important;
}

body.page-kormkota .kk-monitor-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--lime), var(--cyan)) !important;
  box-shadow: 0 0 10px rgba(67, 230, 255, 0.55) !important;
}

body.page-kormkota .site-footer {
  border-top: 1px solid rgba(67, 230, 255, 0.22) !important;
  background: rgba(6, 24, 36, 0.85) !important;
  color: var(--muted) !important;
}

@media (max-width: 1100px) {
  body.page-kormkota .kk-dashboard--home .kk-layout {
    grid-template-columns: 1fr !important;
  }
  body.page-kormkota .kk-dashboard--home .kk-monitor-side {
    width: 100% !important;
  }
}

@media (max-width: 720px) {
  body.page-kormkota .kk-home-stats { grid-template-columns: 1fr; }
  body.page-kormkota .kk-mini-chat-form {
    grid-template-columns: minmax(0, 1fr) auto !important;
  }
  body.page-kormkota .kk-mini-chat-form button { grid-column: 1 / -1; }
}

/* ============================================================
   NUCLEAR: no sharp corners + grid always visible
   ============================================================ */
html:has(body.page-kormkota),
body.page-kormkota .main-content,
body.page-kormkota .main-content--guest,
body.page-kormkota .kk-dashboard,
body.page-kormkota .kk-dashboard--home,
body.page-kormkota .kk-workspace,
body.page-kormkota .kk-layout,
body.page-kormkota .kk-feed,
body.page-kormkota .kk-side,
body.page-kormkota .kk-monitor-side,
body.page-kormkota .kk-social-workspace {
  background-color: transparent !important;
  background-image: none !important;
}

html:has(body.page-kormkota),
body.page-kormkota {
  background-color: #0b1a2a !important;
  background-image:
    linear-gradient(rgba(67, 230, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(67, 230, 255, 0.14) 1px, transparent 1px),
    radial-gradient(ellipse 70% 45% at 50% -8%, rgba(67, 230, 255, 0.2), transparent 55%),
    linear-gradient(180deg, #10263a 0%, #0b1a2a 55%, #091521 100%) !important;
  background-size: 28px 28px, 28px 28px, auto, auto !important;
  background-repeat: repeat, repeat, no-repeat, no-repeat !important;
  background-attachment: fixed !important;
}

body.page-kormkota .site-header,
body.page-kormkota .site-header--guest,
body.page-kormkota .header-inner,
body.page-kormkota .header-inner--guest,
body.page-kormkota .site-footer,
body.page-kormkota .kk-section,
body.page-kormkota .kk-panel,
body.page-kormkota .kk-mini-chat,
body.page-kormkota .kk-monitor,
body.page-kormkota .kk-rail,
body.page-kormkota .kk-rail--global,
body.page-kormkota .kk-stat,
body.page-kormkota .kk-stat-ico,
body.page-kormkota .kk-monitor-card,
body.page-kormkota .kk-monitor-card.is-online,
body.page-kormkota .kk-monitor-card.is-offline,
body.page-kormkota .kk-monitor-address code,
body.page-kormkota .kk-monitor-block-icon,
body.page-kormkota .kk-monitor-game-icon,
body.page-kormkota .kk-mini-chat-list article,
body.page-kormkota .kk-news-list article,
body.page-kormkota .kk-mini-chat-form input,
body.page-kormkota .kk-mini-chat-form input[type="text"],
body.page-kormkota .kk-mini-chat-form button,
body.page-kormkota .kk-mini-chat-login a,
body.page-kormkota .kk-mini-file,
body.page-kormkota .kk-copy-ip,
body.page-kormkota .kk-rail-nav a,
body.page-kormkota .guest-account-link,
body.page-kormkota .guest-account-link--button,
body.page-kormkota .guest-balance,
body.page-kormkota .guest-social-link,
body.page-kormkota button,
body.page-kormkota input,
body.page-kormkota textarea,
body.page-kormkota select,
body.page-kormkota .kk-flash-toast {
  border-radius: var(--r-sm) !important;
}

body.page-kormkota .site-header,
body.page-kormkota .site-header--guest,
body.page-kormkota .header-inner,
body.page-kormkota .header-inner--guest,
body.page-kormkota .kk-section,
body.page-kormkota .kk-panel,
body.page-kormkota .kk-mini-chat,
body.page-kormkota .kk-monitor,
body.page-kormkota .kk-rail,
body.page-kormkota .kk-rail--global {
  border-radius: var(--r) !important;
  overflow: hidden !important;
}

body.page-kormkota .guest-social-link,
body.page-kormkota .kko-music-control,
body.page-kormkota .guest-balance,
body.page-kormkota .kk-monitor-state,
body.page-kormkota .kk-monitor-bar,
body.page-kormkota .kk-dashboard--home .kk-monitor-bar,
body.page-kormkota .kk-monitor-bar i {
  border-radius: 999px !important;
}

body.page-kormkota .kk-monitor-bar i {
  display: block !important;
  height: 100% !important;
}

body.page-kormkota .guest-logo-image,
body.page-kormkota .kk-mini-chat-avatar,
body.page-kormkota .kk-mini-chat-avatar img {
  border-radius: 14px !important;
}

/* ============================================================
   PALETTE 2026-07-27: gold stats + graphite chat/news + monitor
   ============================================================ */

/* Сегодня / Неделя — золотистый фон */
body.page-kormkota .kk-stat:not(.kk-stat--online) {
  border-color: rgba(255, 196, 72, 0.55) !important;
  background:
    linear-gradient(155deg, rgba(120, 78, 18, 0.92), rgba(42, 28, 8, 0.96)),
    rgba(54, 36, 10, 0.92) !important;
  box-shadow:
    0 0 0 1px rgba(255, 209, 102, 0.35),
    0 0 26px rgba(255, 176, 48, 0.28),
    0 12px 28px rgba(0, 0, 0, 0.28) !important;
}
body.page-kormkota .kk-stat:not(.kk-stat--online) .kk-stat-ico {
  border-color: rgba(255, 209, 102, 0.55) !important;
  background: rgba(255, 209, 102, 0.18) !important;
  color: #ffe49a !important;
  box-shadow: 0 0 14px rgba(255, 196, 72, 0.3) !important;
}
body.page-kormkota .kk-stat:not(.kk-stat--online) span {
  color: #f0d9a0 !important;
}
body.page-kormkota .kk-stat:not(.kk-stat--online) strong {
  color: #fff6d8 !important;
  text-shadow: 0 0 14px rgba(255, 196, 72, 0.45) !important;
}
body.page-kormkota .kk-stat:not(.kk-stat--online) em {
  color: #c9ab6e !important;
}

/* Чат / новости — графитово-зелёный */
body.page-kormkota .kk-section,
body.page-kormkota .kk-mini-chat,
body.page-kormkota #chat.kk-section,
body.page-kormkota #news.kk-section {
  border-color: rgba(110, 210, 150, 0.28) !important;
  background:
    linear-gradient(165deg, rgba(18, 42, 34, 0.94), rgba(8, 22, 18, 0.96)),
    rgba(10, 26, 22, 0.92) !important;
  box-shadow:
    0 0 0 1px rgba(90, 190, 140, 0.22),
    0 0 28px rgba(40, 140, 100, 0.18),
    0 14px 30px rgba(0, 0, 0, 0.32) !important;
}

body.page-kormkota .kk-section-head {
  width: 100% !important;
  text-align: center !important;
  margin: 0 0 0.7rem !important;
  padding: 0.15rem 0.4rem 0.55rem !important;
  border-bottom: 1px solid rgba(110, 210, 150, 0.22) !important;
}

body.page-kormkota .kk-section-head h2 {
  display: block !important;
  width: 100% !important;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem) !important;
  letter-spacing: 0.18em !important;
  line-height: 1.15 !important;
  color: #9dffc4 !important;
  text-shadow: 0 0 18px rgba(110, 255, 170, 0.35) !important;
}

body.page-kormkota .kk-mini-chat-list article,
body.page-kormkota .kk-news-list article {
  border-color: rgba(90, 180, 130, 0.22) !important;
  background: rgba(6, 20, 16, 0.78) !important;
  box-shadow: 0 0 10px rgba(40, 120, 90, 0.08) !important;
}

body.page-kormkota .kk-mini-chat-form input[type="text"],
body.page-kormkota .kk-mini-file {
  border-color: rgba(90, 180, 130, 0.35) !important;
  background: rgba(4, 18, 14, 0.92) !important;
}
body.page-kormkota .kk-mini-file {
  color: #9dffc4 !important;
}

/* Мониторинг — уже, по центру, графитово-коричневый */
body.page-kormkota .kk-dashboard--home .kk-layout {
  grid-template-columns: minmax(0, 1fr) minmax(250px, 300px) !important;
}

body.page-kormkota .kk-dashboard--home .kk-monitor-side {
  width: min(100%, 300px) !important;
  max-width: 300px !important;
  margin-inline: auto !important;
}

body.page-kormkota .kk-dashboard--home .kk-monitor,
body.page-kormkota .kk-monitor.kk-panel {
  border-color: rgba(180, 140, 100, 0.28) !important;
  background:
    linear-gradient(165deg, rgba(36, 26, 20, 0.96), rgba(12, 10, 9, 0.98)),
    #12100e !important;
  box-shadow:
    0 0 0 1px rgba(160, 120, 80, 0.22),
    0 0 26px rgba(80, 50, 20, 0.22),
    0 14px 30px rgba(0, 0, 0, 0.4) !important;
  text-align: center !important;
}

body.page-kormkota .kk-dashboard--home .kk-monitor-title {
  display: grid !important;
  justify-items: center !important;
  gap: 0.35rem !important;
  width: 100% !important;
  margin: 0 0 0.75rem !important;
  padding: 0.1rem 0.35rem 0.65rem !important;
  border-bottom: 1px solid rgba(180, 140, 100, 0.22) !important;
  text-align: center !important;
}

body.page-kormkota .kk-dashboard--home .kk-monitor-title h2,
body.page-kormkota .kk-monitor-title h2 {
  width: 100% !important;
  text-align: center !important;
  font-size: clamp(0.95rem, 1.6vw, 1.15rem) !important;
  letter-spacing: 0.1em !important;
  color: #e8c9a0 !important;
  text-shadow: 0 0 14px rgba(220, 170, 100, 0.28) !important;
}

body.page-kormkota .kk-dashboard--home .kk-monitor-title p,
body.page-kormkota .kk-monitor-title p {
  width: 100% !important;
  margin: 0 !important;
  text-align: center !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: #c4a57a !important;
}

body.page-kormkota .kk-monitor-card,
body.page-kormkota .kk-monitor-card.is-online,
body.page-kormkota .kk-monitor-card.is-offline {
  border-color: rgba(170, 130, 90, 0.28) !important;
  background:
    linear-gradient(155deg, rgba(42, 30, 22, 0.95), rgba(16, 12, 10, 0.98)) !important;
  box-shadow: 0 0 12px rgba(60, 40, 20, 0.2) !important;
  text-align: left !important;
}

body.page-kormkota .kk-monitor-block-icon,
body.page-kormkota .kk-monitor-game-icon,
body.page-kormkota .kk-monitor-address code {
  border-color: rgba(170, 130, 90, 0.3) !important;
  background: rgba(10, 8, 7, 0.88) !important;
}

body.page-kormkota .kk-monitor-name {
  color: #f0dfc4 !important;
}

@media (max-width: 1100px) {
  body.page-kormkota .kk-dashboard--home .kk-monitor-side {
    width: min(100%, 320px) !important;
    max-width: 320px !important;
  }
}

/* ============================================================
   FIX 2026-07-27: footer + round stats + red monitor + icons
   ============================================================ */

/* Footer always visible */
html:has(body.page-kormkota),
body.page-kormkota {
  height: auto !important;
  min-height: 100% !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

body.page-kormkota {
  display: flex !important;
  flex-direction: column !important;
}

body.page-kormkota > .main-content,
body.page-kormkota > .main-content--guest {
  flex: 1 0 auto !important;
}

body.page-kormkota > .site-footer,
body.page-kormkota > .site-footer--guest,
body.page-kormkota .site-footer,
body.page-kormkota .site-footer--guest {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  z-index: 6 !important;
  flex: 0 0 auto !important;
  width: 100% !important;
  margin: 0.85rem 0 0 !important;
  padding: 0.85rem 0 !important;
  border-top: 1px solid rgba(67, 230, 255, 0.28) !important;
  background: rgba(6, 18, 28, 0.95) !important;
  color: #c9e6f4 !important;
  text-align: center !important;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.25) !important;
}

body.page-kormkota .site-footer .footer-line,
body.page-kormkota .site-footer--guest .footer-line {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: min(1240px, calc(100% - 1.2rem)) !important;
  margin: 0 auto !important;
  font-size: 0.86rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  color: #d7eef8 !important;
}

/* Stats: no sharp inner fill */
body.page-kormkota .kk-stat,
body.page-kormkota .kk-stat--online,
body.page-kormkota .kk-stat:not(.kk-stat--online) {
  border-radius: 20px !important;
  overflow: hidden !important;
  background-clip: padding-box !important;
  -webkit-background-clip: padding-box !important;
  isolation: isolate !important;
}

body.page-kormkota .kk-stat::before,
body.page-kormkota .kk-stat::after,
body.page-kormkota .kk-stat--online::before,
body.page-kormkota .kk-stat--online::after {
  display: none !important;
  content: none !important;
}

body.page-kormkota .kk-stat:not(.kk-stat--online) {
  border: 1px solid rgba(255, 205, 90, 0.6) !important;
  background: linear-gradient(155deg, #9a6a18 0%, #6e4810 45%, #3d280a 100%) !important;
  box-shadow:
    0 0 0 1px rgba(255, 214, 120, 0.28),
    0 0 22px rgba(255, 180, 50, 0.28),
    inset 0 1px 0 rgba(255, 236, 180, 0.22) !important;
}

body.page-kormkota .kk-stat--online {
  border: 1px solid rgba(140, 255, 95, 0.55) !important;
  background: linear-gradient(155deg, #1f5a34 0%, #123826 50%, #0a2218 100%) !important;
  box-shadow:
    0 0 0 1px rgba(140, 255, 95, 0.25),
    0 0 22px rgba(100, 220, 90, 0.25),
    inset 0 1px 0 rgba(190, 255, 170, 0.18) !important;
}

/* Monitor: neon red */
body.page-kormkota .kk-dashboard--home .kk-monitor,
body.page-kormkota .kk-monitor.kk-panel {
  border-color: rgba(255, 70, 90, 0.55) !important;
  background:
    linear-gradient(165deg, rgba(72, 10, 22, 0.96), rgba(22, 4, 10, 0.98)),
    #16060c !important;
  box-shadow:
    0 0 0 1px rgba(255, 60, 90, 0.4),
    0 0 34px rgba(255, 30, 70, 0.38),
    0 14px 30px rgba(0, 0, 0, 0.42) !important;
}

body.page-kormkota .kk-dashboard--home .kk-monitor-title {
  border-bottom-color: rgba(255, 90, 110, 0.28) !important;
}

body.page-kormkota .kk-dashboard--home .kk-monitor-title h2,
body.page-kormkota .kk-monitor-title h2 {
  color: #ff8ea0 !important;
  text-shadow: 0 0 16px rgba(255, 60, 90, 0.55) !important;
}

body.page-kormkota .kk-dashboard--home .kk-monitor-title p,
body.page-kormkota .kk-monitor-title p {
  color: #ffb3bf !important;
}

body.page-kormkota .kk-monitor-card,
body.page-kormkota .kk-monitor-card.is-online,
body.page-kormkota .kk-monitor-card.is-offline {
  border-color: rgba(255, 90, 110, 0.32) !important;
  background:
    linear-gradient(155deg, rgba(58, 12, 22, 0.95), rgba(18, 6, 10, 0.98)) !important;
  box-shadow: 0 0 14px rgba(180, 20, 50, 0.18) !important;
}

body.page-kormkota .kk-monitor-block-icon,
body.page-kormkota .kk-monitor-game-icon {
  width: 3.35rem !important;
  height: 3.35rem !important;
  min-width: 3.35rem !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 120, 140, 0.35) !important;
  background: rgba(8, 4, 6, 0.9) !important;
  display: grid !important;
  place-items: center !important;
}

body.page-kormkota .kk-monitor-block-icon img,
body.page-kormkota .kk-monitor-game-icon img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 10px !important;
  image-rendering: auto !important;
}

body.page-kormkota .kk-monitor-address code {
  border-color: rgba(255, 120, 140, 0.28) !important;
  background: rgba(10, 4, 8, 0.9) !important;
}

body.page-kormkota .kk-monitor-name {
  color: #ffe4e8 !important;
}

/* ============================================================
   FIX 2026-07-27b: align icons, clear stats bg, purple chat/news
   ============================================================ */

/* Stats: золотой/зелёный фон у карточек, без общей подложки */
body.page-kormkota .kk-home-stats .kk-stat,
body.page-kormkota .kk-stat,
body.page-kormkota .kk-stat:not(.kk-stat--online) {
  border-radius: 18px !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 205, 90, 0.55) !important;
  background: linear-gradient(155deg, #9a6a18 0%, #6e4810 45%, #3d280a 100%) !important;
  box-shadow:
    0 0 0 1px rgba(255, 214, 120, 0.22),
    0 0 18px rgba(255, 180, 50, 0.22),
    inset 0 1px 0 rgba(255, 236, 180, 0.18) !important;
}

body.page-kormkota .kk-home-stats .kk-stat--online,
body.page-kormkota .kk-stat--online {
  border-radius: 18px !important;
  overflow: hidden !important;
  border: 1px solid rgba(140, 255, 95, 0.5) !important;
  background: linear-gradient(155deg, #1f5a34 0%, #123826 50%, #0a2218 100%) !important;
  box-shadow:
    0 0 0 1px rgba(140, 255, 95, 0.2),
    0 0 18px rgba(100, 220, 90, 0.2),
    inset 0 1px 0 rgba(190, 255, 170, 0.15) !important;
}

body.page-kormkota .kk-stat:not(.kk-stat--online) .kk-stat-ico {
  border-radius: 12px !important;
  border-color: rgba(255, 205, 90, 0.45) !important;
  background: rgba(255, 209, 102, 0.16) !important;
  color: #ffe49a !important;
  box-shadow: none !important;
}

body.page-kormkota .kk-stat--online .kk-stat-ico {
  border-radius: 12px !important;
  border-color: rgba(140, 255, 95, 0.45) !important;
  background: rgba(140, 255, 95, 0.14) !important;
  color: #8cff5f !important;
  box-shadow: none !important;
}

body.page-kormkota .kk-stat:not(.kk-stat--online) strong {
  color: #fff6d8 !important;
  text-shadow: 0 0 10px rgba(255, 196, 72, 0.3) !important;
}

body.page-kormkota .kk-stat:not(.kk-stat--online) span,
body.page-kormkota .kk-stat:not(.kk-stat--online) em {
  color: #e8d5a0 !important;
}

/* без подписи «Слоты» */
body.page-kormkota .kk-monitor-row--players {
  grid-template-columns: 1fr !important;
}

/* Чат / новости — фиолетовый */
body.page-kormkota .kk-section,
body.page-kormkota .kk-mini-chat,
body.page-kormkota #chat.kk-section,
body.page-kormkota #news.kk-section {
  border-color: rgba(190, 130, 255, 0.4) !important;
  background:
    linear-gradient(165deg, rgba(58, 28, 92, 0.94), rgba(24, 12, 48, 0.97)),
    #1a0f2e !important;
  box-shadow:
    0 0 0 1px rgba(170, 110, 255, 0.28),
    0 0 30px rgba(140, 70, 255, 0.28),
    0 14px 30px rgba(0, 0, 0, 0.35) !important;
}

body.page-kormkota .kk-section-head {
  border-bottom-color: rgba(190, 130, 255, 0.28) !important;
}

body.page-kormkota .kk-section-head h2 {
  color: #e0b8ff !important;
  text-shadow: 0 0 18px rgba(190, 120, 255, 0.45) !important;
}

body.page-kormkota .kk-mini-chat-list article,
body.page-kormkota .kk-news-list article {
  border-color: rgba(170, 120, 255, 0.28) !important;
  background: rgba(18, 8, 36, 0.78) !important;
  box-shadow: 0 0 10px rgba(120, 60, 200, 0.1) !important;
}

body.page-kormkota .kk-mini-chat-form input[type="text"],
body.page-kormkota .kk-mini-file {
  border-color: rgba(170, 120, 255, 0.35) !important;
  background: rgba(14, 6, 28, 0.92) !important;
  color: #f3e9ff !important;
}

body.page-kormkota .kk-mini-file {
  color: #e0b8ff !important;
}

/* Мониторинг: иконки строго по левому краю */
body.page-kormkota .kk-dashboard--home .kk-monitor,
body.page-kormkota .kk-monitor.kk-panel {
  text-align: left !important;
  justify-items: stretch !important;
}

body.page-kormkota .kk-dashboard--home .kk-monitor-title,
body.page-kormkota .kk-dashboard--home .kk-monitor-title h2,
body.page-kormkota .kk-dashboard--home .kk-monitor-title p {
  text-align: center !important;
}

body.page-kormkota .kk-monitor-list {
  width: 100% !important;
  justify-items: stretch !important;
}

body.page-kormkota .kk-monitor-card,
body.page-kormkota .kk-monitor-card.is-online,
body.page-kormkota .kk-monitor-card.is-offline {
  width: 100% !important;
  margin: 0 !important;
  padding: 0.75rem 0.8rem !important;
  text-align: left !important;
  justify-items: stretch !important;
  justify-content: start !important;
  align-items: stretch !important;
}

body.page-kormkota .kk-dashboard--home .kk-monitor-card-top,
body.page-kormkota .kk-monitor-card-top {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0.65rem !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  grid-template-columns: none !important;
}

body.page-kormkota .kk-monitor-block-icon,
body.page-kormkota .kk-monitor-game-icon,
body.page-kormkota .kk-monitor-card.is-online .kk-monitor-block-icon,
body.page-kormkota .kk-monitor-card.is-offline .kk-monitor-block-icon,
body.page-kormkota .kk-monitor-card.is-online .kk-monitor-game-icon,
body.page-kormkota .kk-monitor-card.is-offline .kk-monitor-game-icon {
  flex: 0 0 3.1rem !important;
  width: 3.1rem !important;
  height: 3.1rem !important;
  min-width: 3.1rem !important;
  max-width: 3.1rem !important;
  margin: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  align-self: center !important;
  justify-self: start !important;
}

body.page-kormkota .kk-dashboard--home .kk-monitor-card-head,
body.page-kormkota .kk-monitor-card-head {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  text-align: left !important;
}

body.page-kormkota .kk-monitor-meta,
body.page-kormkota .kk-monitor-row,
body.page-kormkota .kk-monitor-bar {
  width: 100% !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
}

/* ============================================================
   FIX 2026-07-27c: убрать острый фон у .kk-home-stats
   main.css: .page-kormkota :is(section,...) ставит bg без radius
   ============================================================ */
body.page-kormkota section.kk-home-stats,
body.page-kormkota .kk-home-stats {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 0 0.95rem !important;
}

/* ============================================================
   FIX 2026-07-27d: статус вправо + темнее мониторинг
   ============================================================ */
body.page-kormkota .kk-monitor-name-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.45rem !important;
  width: 100% !important;
}

body.page-kormkota .kk-monitor-name {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  margin-right: auto !important;
  text-align: left !important;
}

body.page-kormkota .kk-monitor-state {
  flex: 0 0 auto !important;
  margin-left: auto !important;
  margin-right: 0 !important;
  align-self: center !important;
  white-space: nowrap !important;
}

body.page-kormkota .kk-dashboard--home .kk-monitor,
body.page-kormkota .kk-monitor.kk-panel {
  border-color: rgba(180, 40, 55, 0.45) !important;
  background:
    linear-gradient(165deg, rgba(28, 6, 10, 0.98), rgba(8, 2, 4, 0.99)),
    #0a0305 !important;
  box-shadow:
    0 0 0 1px rgba(160, 30, 50, 0.35),
    0 0 28px rgba(120, 10, 30, 0.28),
    0 14px 30px rgba(0, 0, 0, 0.5) !important;
}

body.page-kormkota .kk-dashboard--home .kk-monitor-title h2,
body.page-kormkota .kk-monitor-title h2 {
  color: #d87888 !important;
  text-shadow: 0 0 12px rgba(160, 30, 50, 0.4) !important;
}

body.page-kormkota .kk-dashboard--home .kk-monitor-title p,
body.page-kormkota .kk-monitor-title p {
  color: #a86878 !important;
}

body.page-kormkota .kk-monitor-card,
body.page-kormkota .kk-monitor-card.is-online,
body.page-kormkota .kk-monitor-card.is-offline {
  border-color: rgba(140, 40, 55, 0.35) !important;
  background:
    linear-gradient(155deg, rgba(24, 6, 10, 0.97), rgba(6, 2, 4, 0.99)) !important;
  box-shadow: 0 0 10px rgba(80, 8, 18, 0.25) !important;
}

/* ============================================================
   FIX 2026-07-27e: news page + global round corners
   ============================================================ */

/* Structural wrappers stay transparent (no sharp painted boxes) */
body.page-kormkota .kk-dashboard,
body.page-kormkota .kk-dashboard--home,
body.page-kormkota .kk-workspace,
body.page-kormkota .kk-layout,
body.page-kormkota .kk-feed,
body.page-kormkota .kk-side,
body.page-kormkota .kk-monitor-side,
body.page-kormkota .kk-social-workspace,
body.page-kormkota .kk-news-dashboard,
body.page-kormkota .kk-chat-dashboard,
body.page-kormkota section.kk-home-stats,
body.page-kormkota .kk-home-stats {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

/* Full-site rounded panels / controls */
body.page-kormkota .kk-topbar,
body.page-kormkota .kk-page-titlebar,
body.page-kormkota .page-hero,
body.page-kormkota .kk-section,
body.page-kormkota .kk-panel,
body.page-kormkota .kk-mini-chat,
body.page-kormkota .kk-monitor,
body.page-kormkota .kk-rail,
body.page-kormkota .kk-rail--global,
body.page-kormkota .kk-news-editor,
body.page-kormkota .kk-news-board,
body.page-kormkota .kk-news-card,
body.page-kormkota .kk-news-empty,
body.page-kormkota .page-section-card,
body.page-kormkota .card,
body.page-kormkota .auth-panel,
body.page-kormkota .auth-side,
body.page-kormkota .site-header,
body.page-kormkota .site-header--guest,
body.page-kormkota .header-inner,
body.page-kormkota .header-inner--guest {
  border-radius: var(--r) !important;
  overflow: hidden !important;
}

body.page-kormkota input,
body.page-kormkota textarea,
body.page-kormkota select,
body.page-kormkota button,
body.page-kormkota .kk-action,
body.page-kormkota .guest-account-link,
body.page-kormkota .guest-account-link--button,
body.page-kormkota .kk-rail-nav a,
body.page-kormkota .kk-mini-chat-list article,
body.page-kormkota .kk-news-list article,
body.page-kormkota .kk-stat,
body.page-kormkota .kk-stat-ico,
body.page-kormkota .kk-monitor-card,
body.page-kormkota .kk-copy-ip,
body.page-kormkota .kk-mini-file,
body.page-kormkota .kk-top-link {
  border-radius: var(--r-sm) !important;
}

body.page-kormkota .kk-page-titlebar {
  overflow: visible !important;
}

/* Hide leftover brand eyebrow on news/title pages */
body.page-kormkota .kk-page-titlebar .kk-title-eyebrow {
  display: none !important;
}

/* Title + counter stacked and truly centered */
body.page-kormkota .kk-page-titlebar {
  display: grid !important;
  grid-template-columns: 1fr !important;
  justify-items: center !important;
  align-content: center !important;
  text-align: center !important;
  gap: 0.85rem !important;
  padding: 1.15rem 1.25rem 1.25rem !important;
}

body.page-kormkota .kk-page-titlebar-main {
  display: grid !important;
  justify-items: center !important;
  gap: 0.35rem !important;
  width: 100% !important;
}

body.page-kormkota .kk-page-titlebar h1 {
  margin: 0 !important;
  text-align: center !important;
}

body.page-kormkota .kk-page-titlebar p {
  margin: 0 auto !important;
  max-width: 36rem !important;
  text-align: center !important;
}

body.page-kormkota .kk-page-titlebar .kk-status,
body.page-kormkota .kk-page-titlebar .kk-status--text,
body.page-kormkota .kk-page-titlebar .kk-status--center {
  display: grid !important;
  justify-items: center !important;
  justify-self: center !important;
  align-content: center !important;
  text-align: center !important;
  min-width: 0 !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0.15rem auto 0 !important;
  padding: 0.55rem 1.15rem !important;
  border: 1px solid rgba(190, 130, 255, 0.35) !important;
  border-radius: var(--r) !important;
  background:
    linear-gradient(160deg, rgba(70, 36, 110, 0.55), rgba(24, 12, 48, 0.72)),
    rgba(18, 8, 36, 0.65) !important;
  box-shadow:
    0 0 0 1px rgba(170, 110, 255, 0.18),
    0 0 22px rgba(140, 70, 255, 0.18) !important;
}

body.page-kormkota .kk-page-titlebar .kk-status span {
  color: #f0d8ff !important;
  font-family: var(--display) !important;
  font-size: clamp(1.85rem, 4vw, 2.35rem) !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  text-align: center !important;
  text-shadow: 0 0 16px rgba(190, 120, 255, 0.45) !important;
}

body.page-kormkota .kk-page-titlebar .kk-status small {
  margin-top: 0.28rem !important;
  color: #c9b0e8 !important;
  font-size: 0.68rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  text-align: center !important;
}

/* News editor — purple neon compose panel */
body.page-kormkota .kk-news-editor,
body.page-kormkota .kk-news-board {
  border-color: rgba(190, 130, 255, 0.4) !important;
  background:
    linear-gradient(165deg, rgba(58, 28, 92, 0.94), rgba(24, 12, 48, 0.97)),
    #1a0f2e !important;
  box-shadow:
    0 0 0 1px rgba(170, 110, 255, 0.28),
    0 0 30px rgba(140, 70, 255, 0.28),
    0 14px 30px rgba(0, 0, 0, 0.35) !important;
}

body.page-kormkota .kk-news-editor .kk-section-head,
body.page-kormkota .kk-news-board .kk-section-head {
  border-bottom: 1px solid rgba(190, 130, 255, 0.28) !important;
  margin-bottom: 0.15rem !important;
  padding-bottom: 0.85rem !important;
}

body.page-kormkota .kk-news-editor .kk-section-head h2,
body.page-kormkota .kk-news-board .kk-section-head h2 {
  color: #e0b8ff !important;
  text-shadow: 0 0 18px rgba(190, 120, 255, 0.45) !important;
}

body.page-kormkota .kk-news-editor .kk-section-head span {
  border-color: rgba(190, 130, 255, 0.4) !important;
  background: rgba(170, 110, 255, 0.14) !important;
  color: #e0b8ff !important;
}

body.page-kormkota .kk-news-form {
  display: grid !important;
  gap: 1rem !important;
  margin-top: 0.35rem !important;
}

body.page-kormkota .kk-news-field {
  display: grid !important;
  gap: 0.45rem !important;
}

body.page-kormkota .kk-news-field label,
body.page-kormkota .kk-news-form label {
  display: block !important;
  margin: 0 !important;
  color: #c9b0e8 !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
}

body.page-kormkota .kk-news-form input,
body.page-kormkota .kk-news-form textarea,
body.page-kormkota .kk-news-field input,
body.page-kormkota .kk-news-field textarea {
  width: 100% !important;
  box-sizing: border-box !important;
  border: 1px solid rgba(190, 130, 255, 0.38) !important;
  border-radius: 18px !important;
  background: rgba(14, 6, 28, 0.88) !important;
  color: #f3e9ff !important;
  font: inherit !important;
  font-size: 1rem !important;
  font-weight: 650 !important;
  line-height: 1.45 !important;
  padding: 0.9rem 1.05rem !important;
  outline: none !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
  transition: border-color 0.18s ease, box-shadow 0.18s ease !important;
}

body.page-kormkota .kk-news-form input,
body.page-kormkota .kk-news-field input {
  min-height: 3.25rem !important;
}

body.page-kormkota .kk-news-form textarea,
body.page-kormkota .kk-news-field textarea {
  min-height: 9.5rem !important;
  resize: vertical !important;
}

body.page-kormkota .kk-news-form input:focus,
body.page-kormkota .kk-news-form textarea:focus,
body.page-kormkota .kk-news-field input:focus,
body.page-kormkota .kk-news-field textarea:focus {
  border-color: rgba(210, 160, 255, 0.7) !important;
  box-shadow:
    0 0 0 3px rgba(170, 110, 255, 0.18),
    0 0 18px rgba(140, 70, 255, 0.22) !important;
}

body.page-kormkota .kk-news-form input::placeholder,
body.page-kormkota .kk-news-form textarea::placeholder {
  color: rgba(201, 176, 232, 0.55) !important;
}

body.page-kormkota .kk-news-form-actions {
  display: flex !important;
  justify-content: flex-end !important;
  gap: 0.65rem !important;
  margin-top: 0.15rem !important;
}

body.page-kormkota .kk-news-form .kk-action--primary,
body.page-kormkota .kk-news-editor .kk-action--primary {
  min-height: 3rem !important;
  padding: 0.7rem 1.35rem !important;
  border: 1px solid rgba(210, 160, 255, 0.55) !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #b46cff, #7a3dff) !important;
  color: #fff !important;
  font-size: 0.9rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  box-shadow:
    0 0 0 1px rgba(170, 110, 255, 0.25),
    0 0 22px rgba(140, 70, 255, 0.35),
    0 10px 22px rgba(0, 0, 0, 0.28) !important;
  cursor: pointer !important;
}

body.page-kormkota .kk-news-form .kk-action--primary:hover,
body.page-kormkota .kk-news-editor .kk-action--primary:hover {
  filter: brightness(1.08);
}

body.page-kormkota .kk-news-card,
body.page-kormkota .kk-news-empty {
  border-color: rgba(170, 120, 255, 0.28) !important;
  background: rgba(18, 8, 36, 0.78) !important;
  box-shadow: 0 0 10px rgba(120, 60, 200, 0.1) !important;
  border-radius: var(--r) !important;
}

body.page-kormkota .kk-news-card header span,
body.page-kormkota .kk-news-empty span {
  border-color: rgba(190, 130, 255, 0.4) !important;
  background: rgba(170, 110, 255, 0.14) !important;
  color: #e0b8ff !important;
}

body.page-kormkota .kk-page-titlebar {
  border-color: rgba(190, 130, 255, 0.35) !important;
  background:
    linear-gradient(165deg, rgba(58, 28, 92, 0.92), rgba(24, 12, 48, 0.96)),
    #1a0f2e !important;
  box-shadow:
    0 0 0 1px rgba(170, 110, 255, 0.22),
    0 0 26px rgba(140, 70, 255, 0.22),
    0 14px 30px rgba(0, 0, 0, 0.32) !important;
}
