@charset "UTF-8";
:root {
  --bg: #06080d;
  --panel: #151b24;
  --panel-muted: #1f2733;
  --text: #d6dce8;
  --text-muted: #90a0ba;
  --accent: #4cb5ff;
  --accent-strong: #78e7ff;
  --ok: #26cf79;
  --danger: #f96d6d;
  --shadow: 0 14px 32px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: radial-gradient(circle at 15% 10%, rgba(76, 181, 255, 0.22), transparent 30%), radial-gradient(circle at 85% 0%, rgba(120, 231, 255, 0.18), transparent 28%), linear-gradient(180deg, #090d14, var(--bg));
  color: var(--text);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 15px;
  line-height: 1.5;
}

a {
  color: var(--accent-strong);
  text-decoration: none;
}
a:hover, a:focus-visible {
  color: #b3f4ff;
  text-decoration: underline;
}

#container {
  width: min(1100px, 100% - 2rem);
  margin: 1.25rem auto 2rem;
}

.header {
  position: relative;
  min-height: 220px;
  border: 1px solid rgba(171, 189, 223, 0.18);
  border-radius: 14px;
  background: linear-gradient(140deg, rgba(9, 18, 35, 0.85), rgba(4, 10, 22, 0.9)), #0f1625 url("/static/images/logo.aed1e81bb2ce.png") no-repeat center top;
  box-shadow: var(--shadow);
}

.site-title {
  position: absolute;
  left: 1rem;
  top: 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.top {
  position: absolute;
  right: 1rem;
  top: 1rem;
}

.language-switcher {
  display: flex;
  gap: 0.45rem;
}
.language-switcher select,
.language-switcher input[type=submit] {
  border: 1px solid rgba(156, 174, 205, 0.4);
  border-radius: 8px;
  background: rgba(10, 16, 28, 0.82);
  color: var(--text);
  padding: 0.3rem 0.55rem;
  font-size: 0.85rem;
}
.language-switcher input[type=submit] {
  cursor: pointer;
}

.content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 1rem;
  margin-top: 1rem;
}

.body,
.right_column,
.footer {
  border: 1px solid rgba(171, 189, 223, 0.16);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(23, 30, 42, 0.95), rgba(17, 23, 33, 0.97));
  box-shadow: var(--shadow);
}

.body {
  min-height: 760px;
  padding: 1.1rem 1.4rem;
  color: var(--text-muted);
}
.body a {
  color: var(--accent);
  font-weight: 600;
}
.body h1 {
  margin-top: 0.2rem;
  color: var(--text);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  text-align: center;
}

.right_column {
  min-height: 760px;
  padding: 0;
}
.right_column ul {
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--text-muted);
}
.right_column li {
  padding: 0.45rem 1rem;
  text-align: right;
}
.right_column li:not(.separator)::after {
  content: " »";
  color: rgba(194, 213, 241, 0.6);
}
.right_column li a {
  color: var(--text-muted);
  font-weight: 600;
}
.right_column li a:hover, .right_column li a:focus-visible {
  color: var(--text);
}
.right_column li.separator {
  margin-top: 0.4rem;
  background: rgba(140, 166, 214, 0.12);
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  font-size: 0.88rem;
}

span.status-online, span.status-offline {
  font-weight: 700;
}
span.status-online {
  color: var(--ok);
}
span.status-offline {
  color: var(--danger);
}

.footer {
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  color: var(--text-muted);
  font-size: 0.82rem;
  display: flex;
  gap: 0.7rem;
  justify-content: space-between;
}

p.news_title {
  margin-bottom: 0.2rem;
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 700;
}
p.news_date span {
  font-weight: 700;
}
p.pagination {
  text-align: center;
}

.news_body {
  margin-left: 0;
  padding-right: 0;
}

.table {
  width: 100%;
  border-collapse: collapse;
}
.table > thead > tr > td,
.table > tbody > tr > td {
  border: 1px solid rgba(194, 213, 241, 0.2);
  padding: 0.35rem 0.45rem;
}
.table > thead > tr > td {
  font-weight: 700;
  color: var(--text);
  background: rgba(167, 195, 246, 0.08);
}

.pull-right {
  float: right;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 980px) {
  #container {
    width: min(1100px, 100% - 1rem);
  }
  .content {
    grid-template-columns: 1fr;
  }
  .right_column,
  .body {
    min-height: 0;
  }
  .right_column li {
    text-align: left;
  }
  .right_column li:not(.separator)::after {
    content: "";
  }
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}