/* ═══════════════════════════════════════════════════════════════
   XSS3 — Frutiger Aero / Windows Vista Glass
   ═══════════════════════════════════════════════════════════════ */

:root {
  --ink: #0e3552;
  --ink-soft: #2a6a95;
  --blue: #2d84c9;
  --blue-deep: #17557f;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-2: rgba(214, 240, 255, 0.55);
  --stroke: rgba(255, 255, 255, 0.9);
  --shadow: 0 10px 26px rgba(6, 60, 105, 0.30), 0 2px 5px rgba(6, 60, 105, 0.18);
  --radius: 15px;
}

* { box-sizing: border-box; }

/* атрибут hidden должен побеждать любые display из классов */
[hidden] { display: none !important; }

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

body {
  margin: 0;
  padding: 0 0 40px;
  font-family: "Frutiger", "Segoe UI", "Trebuchet MS", Tahoma, Verdana, sans-serif;
  color: var(--ink);
  font-size: 13.5px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ───────────────── ФОН ───────────────── */

.scene {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: #1aa0e8;
}

.sky {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    #0b74c4 0%,
    #2f9ede 22%,
    #79cdf2 45%,
    #c4ecff 62%,
    #e6f8ff 70%);
}

.sun {
  position: absolute;
  left: -14vw;
  top: -26vw;
  width: 72vw;
  height: 72vw;
  background: radial-gradient(circle,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.7) 22%,
    rgba(255, 255, 255, 0.28) 42%,
    rgba(255, 255, 255, 0) 68%);
  filter: blur(6px);
}

/* облака */
.clouds { position: absolute; inset: 0; }

.cloud {
  position: absolute;
  border-radius: 999px;
  background: radial-gradient(closest-side, rgba(255,255,255,.95), rgba(255,255,255,.55) 60%, rgba(255,255,255,0) 100%);
  filter: blur(9px);
  opacity: .92;
  animation: drift linear infinite;
}
.cloud.c1 { width: 26vw; height: 8vw;  left: 22%;  top: 6%;  animation-duration: 90s; }
.cloud.c2 { width: 34vw; height: 10vw; left: 55%;  top: 2%;  animation-duration: 120s; animation-delay: -30s; }
.cloud.c3 { width: 18vw; height: 6vw;  left: 8%;   top: 20%; animation-duration: 75s; opacity: .75; }
.cloud.c4 { width: 30vw; height: 9vw;  left: 70%;  top: 17%; animation-duration: 105s; animation-delay: -60s; }
.cloud.c5 { width: 22vw; height: 7vw;  left: 38%;  top: 26%; animation-duration: 130s; animation-delay: -15s; opacity: .6; }
.cloud.c6 { width: 40vw; height: 12vw; left: -10%; top: 33%; animation-duration: 140s; opacity: .5; }

@keyframes drift {
  from { transform: translateX(-12vw); }
  to   { transform: translateX(112vw); }
}

/* город */
.city {
  position: absolute;
  left: 0; right: 0; bottom: 26%;
  height: 34%;
  display: flex;
  align-items: flex-end;
  gap: 0.6vw;
  padding: 0 1vw;
  opacity: .95;
}

.building {
  flex: 1 1 auto;
  position: relative;
  border-radius: 3px 3px 0 0;
  background:
    repeating-linear-gradient(90deg,
      rgba(255,255,255,.55) 0 2px,
      rgba(255,255,255,0) 2px 9px),
    repeating-linear-gradient(180deg,
      rgba(210,240,255,.9) 0 5px,
      rgba(120,180,220,.75) 5px 11px),
    linear-gradient(100deg, #a9d8f2 0%, #6fb2d8 40%, #3f7ea8 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.95),
    0 0 14px rgba(255,255,255,.35);
}
.building::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,0) 45%);
}

/* холм */
.hill {
  position: absolute;
  left: -12%;
  right: -12%;
  bottom: 8%;
  height: 34%;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: linear-gradient(180deg, #b6e878 0%, #7cc542 18%, #4d9c2c 55%, #2e6f1c 100%);
  box-shadow: inset 0 8px 26px rgba(255,255,255,.55);
  filter: blur(0.4px);
}

/* трава */
.grass {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 22%;
  background:
    repeating-linear-gradient(84deg, rgba(255,255,255,.14) 0 3px, rgba(255,255,255,0) 3px 12px),
    linear-gradient(180deg, #6dbb37 0%, #3f8f22 45%, #225c13 100%);
  box-shadow: inset 0 12px 24px rgba(255,255,255,.30);
}

.bubbles { position: absolute; inset: 0; pointer-events: none; }
.bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%,
    rgba(255,255,255,.95) 0%,
    rgba(255,255,255,.35) 26%,
    rgba(180,230,255,.18) 55%,
    rgba(255,255,255,.05) 75%);
  border: 1px solid rgba(255,255,255,.55);
  box-shadow: inset 0 0 12px rgba(255,255,255,.55);
  animation: float-up linear infinite;
  opacity: .55;
}

@keyframes float-up {
  from { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
  10%  { opacity: .6; }
  to   { transform: translateY(-110vh) translateX(4vw) scale(1.15); opacity: 0; }
}

.vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(120% 80% at 50% 45%, rgba(255,255,255,0) 45%, rgba(0,60,110,.22) 100%);
}

/* ───────────────── ХЕДЕР ───────────────── */

.header {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 26px 6px;
  max-width: 1620px;
  margin: 0 auto;
}

.brand { padding-left: 26px; }

.logo {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  line-height: .86;
}

.logo-text {
  font-family: "Segoe UI Black", "Arial Black", Impact, sans-serif;
  font-size: 74px;
  font-weight: 900;
  letter-spacing: -2px;
  color: #fff;
  background: linear-gradient(180deg, #ffffff 0%, #f2fbff 38%, #bfe6ff 62%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 10px rgba(0, 62, 112, .55);
  filter: drop-shadow(0 4px 10px rgba(0, 60, 110, .45));
  font-style: italic;
  transform: skewX(-6deg);
}

.logo-star {
  position: absolute;
  left: -30px;
  top: -14px;
  font-size: 34px;
  color: #fff;
  text-shadow: 0 0 18px #cfefff, 0 0 40px #8fd8ff;
  transform: skewX(6deg);
}

.logo-swoosh {
  position: absolute;
  left: -26px;
  bottom: -4px;
  width: 108%;
  height: 46px;
  border-bottom: 5px solid rgba(255,255,255,.92);
  border-radius: 0 0 60% 40% / 0 0 100% 60%;
  transform: rotate(-3deg);
  filter: drop-shadow(0 2px 6px rgba(0,60,110,.45));
  pointer-events: none;
}

.logo-sub {
  margin-top: 10px;
  padding-left: 6px;
  font-size: 19px;
  font-style: italic;
  letter-spacing: .5px;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 60, 110, .65);
}

.tagline {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 27px;
  font-style: italic;
  line-height: 1.08;
  text-align: right;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 60, 110, .6);
  flex: 1;
  justify-content: flex-end;
  padding-right: 6px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 6px;
}

.search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  min-width: 210px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(226,246,255,.72));
  border: 1px solid rgba(255,255,255,.95);
  box-shadow: inset 0 1px 0 #fff, inset 0 -8px 14px rgba(140,205,240,.35), 0 4px 12px rgba(0,60,110,.25);
  color: var(--ink-soft);
}

.search input {
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  color: var(--ink);
  width: 100%;
}
.search input::placeholder { color: #6a9fc4; }

.user-slot { display: flex; align-items: center; gap: 8px; }

/* кнопка-профиль в хедере */
.user-chip {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 5px 14px 5px 5px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(214,240,255,.8));
  border: 1px solid #fff;
  box-shadow: inset 0 1px 0 #fff, 0 4px 12px rgba(0,60,110,.28);
  cursor: pointer;
  font: inherit;
  color: var(--ink);
}
.user-chip img {
  width: 34px; height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0,60,110,.35);
}
.user-chip span { font-weight: 700; max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ───────────────── НАВБАР ───────────────── */

.navbar {
  display: flex;
  gap: 6px;
  max-width: 1620px;
  margin: 8px auto 16px;
  padding: 7px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,.62), rgba(190,232,255,.35));
  border: 1px solid rgba(255,255,255,.85);
  box-shadow: inset 0 1px 0 #fff, 0 8px 22px rgba(0,60,110,.28);
  backdrop-filter: blur(10px) saturate(1.2);
  overflow-x: auto;
  scrollbar-width: none;
}
.navbar::-webkit-scrollbar { display: none; }

.nav-btn {
  flex: 1 1 0;
  min-width: 118px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 9px;
  border: 1px solid rgba(255,255,255,.7);
  background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.18));
  color: #0d3f63;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: .15s;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}
.nav-btn i { font-style: normal; font-size: 14px; }
.nav-btn:hover {
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(200,238,255,.6));
  border-color: #fff;
  box-shadow: inset 0 1px 0 #fff, 0 0 16px rgba(140,220,255,.7);
}
.nav-btn.is-active {
  background: linear-gradient(180deg, #ffffff 0%, #d9f2ff 45%, #a8dcff 55%, #e8f9ff 100%);
  border-color: #fff;
  box-shadow: inset 0 1px 0 #fff, inset 0 -6px 12px rgba(90,170,225,.35), 0 3px 10px rgba(0,60,110,.3);
}

/* ───────────────── РАЗМЕТКА ───────────────── */

.layout {
  display: grid;
  grid-template-columns: 258px minmax(0, 1fr) 300px;
  gap: 14px;
  max-width: 1620px;
  margin: 0 auto;
  padding: 0 26px;
  align-items: start;
}

.col-left, .col-right, .col-center {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

/* ───────────────── ПАНЕЛИ ───────────────── */

.panel {
  position: relative;
  padding: 12px 14px 14px;
  border-radius: var(--radius);
  background: linear-gradient(180deg,
    rgba(255,255,255,.86) 0%,
    rgba(240,252,255,.72) 45%,
    rgba(198,232,250,.62) 100%);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  backdrop-filter: blur(9px) saturate(1.25);
  overflow: hidden;
}

/* глянцевый блик сверху */
.panel::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 42%;
  background: linear-gradient(180deg, rgba(255,255,255,.75), rgba(255,255,255,0));
  pointer-events: none;
  border-radius: var(--radius) var(--radius) 40% 40% / var(--radius) var(--radius) 14px 14px;
}

.panel > * { position: relative; }

.panel-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  padding-bottom: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #0d3f63;
  text-shadow: 0 1px 0 #fff;
  border-bottom: 1px solid rgba(120,190,230,.45);
  box-shadow: 0 1px 0 rgba(255,255,255,.8);
}

.ico-star { color: #ffd447; text-shadow: 0 0 10px #ffe89a, 0 1px 0 rgba(180,120,0,.5); font-size: 15px; }
.ico-chart { color: #2d84c9; }
.ico-news { color: #2d84c9; }

.panel-hint { margin-left: auto; font-size: 11.5px; font-weight: 600; color: #b4543a; }
.panel-link {
  margin-left: auto;
  font-size: 12px;
  font-weight: 600;
  color: #2d84c9;
  text-decoration: none;
}
.panel-link:hover { text-decoration: underline; }

/* ───────────────── ЛЕВАЯ КОЛОНКА ───────────────── */

.side-nav { list-style: none; margin: 0; padding: 0; }

.side-nav li { margin-bottom: 3px; }

.side-nav a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 10px;
  border-radius: 7px;
  color: #10405f;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  border: 1px solid transparent;
  transition: .15s;
}
.side-nav a i { font-style: normal; font-size: 13px; opacity: .85; width: 17px; text-align: center; }
.side-nav a:hover {
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(198,235,255,.7));
  border-color: rgba(255,255,255,.95);
  box-shadow: inset 0 1px 0 #fff, 0 2px 8px rgba(30,110,170,.22);
}
.side-nav a.is-active {
  background: linear-gradient(180deg, #ffffff, #cfeeff 55%, #b7e4ff 100%);
  border-color: #fff;
  box-shadow: inset 0 1px 0 #fff, inset 0 -4px 8px rgba(110,185,230,.4), 0 2px 8px rgba(30,110,170,.25);
}

.stats { margin: 0; display: flex; flex-direction: column; gap: 5px; }
.stats > div { display: flex; justify-content: space-between; gap: 8px; }
.stats dt { color: #2a6a95; }
.stats dd { margin: 0; font-weight: 700; color: #0d3f63; }

.copyright {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 11px;
  font-size: 12.5px;
  color: #eaf8ff;
  background: linear-gradient(180deg, rgba(90,180,235,.55), rgba(30,110,170,.55));
  border: 1px solid rgba(255,255,255,.75);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 6px 16px rgba(0,60,110,.3);
  text-shadow: 0 1px 3px rgba(0,50,90,.6);
  backdrop-filter: blur(6px);
}

.win-flag {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5px;
  width: 22px;
  height: 22px;
  transform: rotate(-6deg);
}
.win-flag b { display: block; border-radius: 2px; }
.win-flag .r { background: #f65314; }
.win-flag .g { background: #7cbb00; }
.win-flag .b { background: #00a1f1; }
.win-flag .y { background: #ffbb00; }

/* ───────────────── HERO ───────────────── */

.hero {
  padding: 0;
  min-height: 250px;
  display: flex;
  align-items: stretch;
}

.hero-slides { flex: 1; display: flex; }

.hero-slide {
  position: relative;
  flex: 1;
  display: none;
  align-items: center;
  gap: 20px;
  padding: 26px 30px;
  background:
    radial-gradient(90% 120% at 78% 40%, rgba(255,255,255,.55), rgba(255,255,255,0) 60%),
    linear-gradient(115deg, rgba(20,110,175,.45) 0%, rgba(90,180,230,.35) 45%, rgba(230,250,255,.25) 100%);
  animation: slide-fade .45s ease-out;
}
.hero-slide.is-active { display: flex; }

@keyframes slide-fade {
  from { opacity: .25; }
  to   { opacity: 1; }
}

.hero-copy { position: relative; z-index: 2; max-width: 54%; }

.hero h1 {
  margin: 0 0 8px;
  font-size: 30px;
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 60, 110, .75), 0 1px 0 rgba(0,60,110,.4);
}

.hero-sub {
  margin: 0 0 18px;
  font-size: 17px;
  font-style: italic;
  line-height: 1.35;
  color: #eaf8ff;
  text-shadow: 0 2px 10px rgba(0, 60, 110, .7);
}

.hero-art {
  position: relative;
  flex: 1;
  height: 100%;
  min-height: 190px;
  display: grid;
  place-items: center;
}

.glass-orb {
  position: absolute;
  width: 190px; height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%,
    rgba(255,255,255,.98) 0%,
    rgba(220,245,255,.75) 26%,
    rgba(120,200,240,.45) 58%,
    rgba(40,130,190,.35) 100%);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: inset 0 0 40px rgba(255,255,255,.8), 0 12px 40px rgba(0,60,110,.35);
  animation: bob 7s ease-in-out infinite;
}

.hero-badge {
  position: relative;
  z-index: 2;
  font-family: "Segoe UI Black", "Arial Black", sans-serif;
  font-size: 46px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -1px;
  color: #fff;
  text-shadow: 0 3px 0 #1a6fa8, 0 8px 22px rgba(0,50,90,.6);
  transform: skewX(-7deg);
}

.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.7);
  box-shadow: 0 0 22px rgba(255,255,255,.6);
}
.hero-ring.r1 { width: 230px; height: 230px; opacity: .55; animation: bob 9s ease-in-out infinite reverse; }
.hero-ring.r2 { width: 270px; height: 270px; opacity: .3; animation: bob 12s ease-in-out infinite; }

@keyframes bob {
  0%, 100% { transform: translateY(-6px); }
  50%      { transform: translateY(6px); }
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px; height: 44px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.8);
  background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(120,190,230,.35));
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  text-shadow: 0 2px 6px rgba(0,50,90,.6);
  box-shadow: inset 0 1px 0 #fff, 0 4px 12px rgba(0,60,110,.3);
  z-index: 5;
}
.hero-arrow.prev { left: 10px; }
.hero-arrow.next { right: 10px; }
.hero-arrow:hover { background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(160,215,245,.6)); }

.hero-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 5;
}
.hero-dots span {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: inset 0 1px 2px rgba(0,60,110,.3);
}
.hero-dots span.is-active { background: #fff; box-shadow: 0 0 10px #fff; }

/* ───────────────── О НАС ───────────────── */

.about-row { display: flex; align-items: center; gap: 16px; }

.about-logo {
  flex: 0 0 118px;
  width: 118px;
  height: 96px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(160deg, #0b2c44, #17557f);
  border: 1px solid rgba(255,255,255,.6);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 4px 12px rgba(0,50,90,.35);
}

.about-text { flex: 1; min-width: 0; }
.about-text p { margin: 0 0 8px; color: #17465f; }
.about-text .quote { font-style: italic; color: #1a5f8a; font-weight: 600; margin: 0; }

/* ───────────────── КНОПКИ ───────────────── */

.btn-aero {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.95);
  background: linear-gradient(180deg, #ffffff 0%, #e3f6ff 45%, #b7e3ff 55%, #e9f9ff 100%);
  color: #0d4a72;
  font: inherit;
  font-weight: 700;
  font-size: 12.5px;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 #fff, inset 0 -7px 12px rgba(120,195,240,.45), 0 3px 10px rgba(0,60,110,.28);
  transition: .15s;
}
.btn-aero:hover { filter: brightness(1.06); box-shadow: inset 0 1px 0 #fff, inset 0 -7px 12px rgba(120,195,240,.45), 0 0 18px rgba(150,225,255,.9), 0 3px 12px rgba(0,60,110,.3); }
.btn-aero:active { transform: translateY(1px); }
.btn-aero.small { margin-left: 0; font-size: 12px; padding: 6px 13px; }
.btn-aero.primary {
  background: linear-gradient(180deg, #8fd3f7 0%, #4aa9e0 45%, #2d84c9 55%, #6fc4f0 100%);
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,50,90,.6);
  border-color: #cdefff;
}
.btn-aero.primary:hover { filter: brightness(1.1); }
.btn-aero[disabled] { opacity: .55; cursor: not-allowed; filter: grayscale(.35); }

.btn-ghost {
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(140,190,220,.6);
  background: transparent;
  color: #2a6a95;
  font: inherit;
  font-size: 12.5px;
  cursor: pointer;
}
.btn-ghost:hover { background: rgba(255,255,255,.6); }

/* ───────────────── КОМПОЗЕР ───────────────── */

.panel-feed { padding-bottom: 8px; }

.composer {
  display: flex;
  gap: 11px;
  padding: 11px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(228,246,255,.65));
  border: 1px solid rgba(255,255,255,.95);
  box-shadow: inset 0 1px 0 #fff, 0 3px 10px rgba(0,60,110,.15);
  margin-bottom: 14px;
}

.composer-avatar {
  flex: 0 0 44px;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  font-size: 17px;
  background: linear-gradient(180deg, #9ad9f7, #2d84c9);
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0,60,110,.3);
  overflow: hidden;
  text-shadow: 0 1px 3px rgba(0,50,90,.5);
}
.composer-avatar img { width: 100%; height: 100%; object-fit: cover; }

.composer-body { flex: 1; min-width: 0; }

.composer textarea {
  width: 100%;
  resize: vertical;
  min-height: 46px;
  padding: 9px 11px;
  border-radius: 9px;
  border: 1px solid rgba(150,205,235,.85);
  background: rgba(255,255,255,.92);
  box-shadow: inset 0 2px 5px rgba(0,70,120,.12);
  font: inherit;
  color: var(--ink);
  outline: none;
}
.composer textarea:focus {
  border-color: #63b9ea;
  box-shadow: inset 0 2px 5px rgba(0,70,120,.12), 0 0 0 3px rgba(120,205,255,.45);
}

.composer-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.btn-attach {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(160,210,240,.9);
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(224,245,255,.7));
  color: #1a5f8a;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: inset 0 1px 0 #fff;
}
.btn-attach:hover { background: #fff; box-shadow: inset 0 1px 0 #fff, 0 0 12px rgba(150,225,255,.85); }

.composer-status { font-size: 12px; color: #b4543a; font-weight: 600; }
.composer-actions .btn-aero { margin-left: auto; }

.composer-preview { position: relative; margin-top: 8px; display: inline-block; }
.composer-preview img {
  max-height: 150px;
  max-width: 100%;
  border-radius: 9px;
  border: 1px solid #fff;
  box-shadow: 0 3px 10px rgba(0,60,110,.3);
  display: block;
}
.preview-remove {
  position: absolute;
  top: -8px; right: -8px;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1px solid #fff;
  background: linear-gradient(180deg, #ff8b7a, #d33a24);
  color: #fff;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,60,110,.4);
}

/* ───────────────── ПОСТЫ ───────────────── */

.feed { display: flex; flex-direction: column; gap: 12px; }

.post {
  border-radius: 12px;
  padding: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(232,248,255,.8));
  border: 1px solid rgba(255,255,255,.95);
  box-shadow: inset 0 1px 0 #fff, 0 4px 14px rgba(0,60,110,.18);
  animation: pop-in .25s ease-out;
}

@keyframes pop-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

.post-head { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; }

.post-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 2px 7px rgba(0,60,110,.32);
  background: linear-gradient(180deg,#9ad9f7,#2d84c9);
}

.post-meta { min-width: 0; }
.post-author {
  font-weight: 800;
  color: #0d3f63;
  text-decoration: none;
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.post-time { font-size: 11.5px; color: #5f93b5; }

.post-delete {
  margin-left: auto;
  border: 1px solid rgba(200,160,160,.5);
  background: rgba(255,255,255,.7);
  color: #b4483a;
  border-radius: 7px;
  padding: 3px 9px;
  font: inherit;
  font-size: 11.5px;
  cursor: pointer;
}
.post-delete:hover { background: #fff0ee; }

.post-text { margin: 0 0 9px; white-space: pre-wrap; word-wrap: break-word; color: #16435c; font-size: 13.8px; }

.post-image {
  display: block;
  max-width: 100%;
  max-height: 460px;
  border-radius: 10px;
  border: 1px solid #fff;
  box-shadow: 0 4px 14px rgba(0,60,110,.28);
  margin-bottom: 9px;
  cursor: zoom-in;
}

/* комментарии */
.comments {
  margin-top: 6px;
  padding-top: 9px;
  border-top: 1px dashed rgba(120,180,215,.55);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.comment {
  display: flex;
  gap: 8px;
  padding: 7px 9px;
  border-radius: 10px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: inset 0 1px 0 #fff;
}
.comment-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #fff;
  box-shadow: 0 1px 4px rgba(0,60,110,.3);
  flex: 0 0 28px;
}
.comment-body { min-width: 0; flex: 1; }
.comment-top { display: flex; align-items: baseline; gap: 7px; }
.comment-author { font-weight: 700; font-size: 12.5px; color: #0d3f63; }
.comment-time { font-size: 10.5px; color: #6b9cbb; }
.comment-text { margin: 2px 0 0; white-space: pre-wrap; word-wrap: break-word; color: #1d4c66; font-size: 13px; }
.comment-image {
  display: block;
  margin-top: 6px;
  max-width: 240px;
  max-height: 200px;
  border-radius: 8px;
  border: 1px solid #fff;
  box-shadow: 0 2px 8px rgba(0,60,110,.25);
  cursor: zoom-in;
}

/* форма комментария */
.comment-form { display: flex; gap: 7px; align-items: flex-start; }
.comment-form .c-input-wrap { flex: 1; min-width: 0; }
.comment-form input[type="text"] {
  width: 100%;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(150,205,235,.9);
  background: rgba(255,255,255,.95);
  box-shadow: inset 0 2px 4px rgba(0,70,120,.1);
  font: inherit;
  font-size: 12.8px;
  outline: none;
  color: var(--ink);
}
.comment-form input[type="text"]:focus { border-color: #63b9ea; box-shadow: inset 0 2px 4px rgba(0,70,120,.1), 0 0 0 3px rgba(120,205,255,.4); }

.c-icon-btn {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(160,210,240,.9);
  background: linear-gradient(180deg, #fff, #e2f5ff);
  cursor: pointer;
  font-size: 13px;
  line-height: 1;
  box-shadow: inset 0 1px 0 #fff;
  flex: 0 0 auto;
}
.c-icon-btn:hover { background: #fff; box-shadow: inset 0 1px 0 #fff, 0 0 10px rgba(150,225,255,.9); }
.c-icon-btn.send {
  background: linear-gradient(180deg, #8fd3f7, #2d84c9);
  color: #fff;
  border-color: #cdefff;
  font-size: 14px;
}
.c-icon-btn:disabled { opacity: .5; cursor: not-allowed; }

.c-preview { position: relative; display: inline-block; margin-top: 6px; }
.c-preview img { max-height: 90px; border-radius: 7px; border: 1px solid #fff; box-shadow: 0 2px 8px rgba(0,60,110,.25); display: block; }
.c-preview .preview-remove { top: -7px; right: -7px; width: 19px; height: 19px; font-size: 10px; }

/* ───────────────── ПРАВАЯ КОЛОНКА ───────────────── */

.news { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }

.news-item {
  display: flex;
  gap: 9px;
  padding: 8px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(228,246,255,.6));
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: inset 0 1px 0 #fff;
}

.news-thumb {
  flex: 0 0 54px;
  width: 54px; height: 54px;
  border-radius: 8px;
  background: linear-gradient(140deg, #8fd3f7, #2d84c9);
  border: 1px solid #fff;
  box-shadow: 0 2px 6px rgba(0,60,110,.25);
  display: grid;
  place-items: center;
  font-size: 20px;
  overflow: hidden;
}
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }

.news-body { min-width: 0; }
.news-body b { display: block; font-size: 12.8px; color: #0d3f63; margin-bottom: 2px; }
.news-body p { margin: 0; font-size: 11.8px; color: #4e819f; line-height: 1.35; }
.news-body time { display: block; margin-top: 3px; font-size: 10.5px; color: #7aa8c3; }

.dot-online {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #b6ff9e, #37b81f);
  box-shadow: 0 0 10px #6cf04a, 0 0 3px #2f9d1c;
}

.online-count { margin: -4px 0 9px; font-size: 12px; color: #3d7698; }

.online-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}

.online-user {
  position: relative;
  aspect-ratio: 1;
  border-radius: 9px;
  overflow: hidden;
  border: 1px solid #fff;
  box-shadow: 0 2px 7px rgba(0,60,110,.28);
  background: linear-gradient(140deg, #cdefff, #7ec4e8);
}
.online-user img { width: 100%; height: 100%; object-fit: cover; display: block; }
.online-user::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.45), rgba(255,255,255,0) 45%);
  pointer-events: none;
}
.online-user.more {
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #3d7698;
  font-size: 13px;
  background: linear-gradient(180deg, rgba(255,255,255,.85), rgba(200,232,248,.7));
}

.online-more { margin: 8px 0 0; font-size: 11.5px; color: #4e819f; text-align: right; }

.tip-list { margin: 0; padding-left: 18px; color: #17465f; font-size: 12.5px; }
.tip-list li { margin-bottom: 5px; }

/* ───────────────── ФУТЕР-БАР ───────────────── */

.footer-bar {
  position: fixed;
  right: 14px;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 11.5px;
  color: #eaf8ff;
  background: linear-gradient(180deg, rgba(80,175,90,.72), rgba(30,110,60,.72));
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 5px 16px rgba(0,60,60,.35);
  backdrop-filter: blur(6px);
  z-index: 20;
  text-shadow: 0 1px 3px rgba(0,50,40,.6);
}
.footer-fish { font-size: 14px; }

/* ───────────────── ТОСТЫ ───────────────── */

.toasts {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 100;
  pointer-events: none;
}

.toast {
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 12.8px;
  font-weight: 700;
  color: #0d4a72;
  background: linear-gradient(180deg, #fff, #d8f2ff);
  border: 1px solid #fff;
  box-shadow: 0 6px 22px rgba(0,60,110,.35), inset 0 1px 0 #fff;
  animation: toast-in .25s ease-out;
}
.toast.error { color: #a02c1c; background: linear-gradient(180deg, #fff, #ffd9d2); }

@keyframes toast-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

/* ───────────────── МОДАЛКА ───────────────── */

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(6, 50, 85, .55);
  backdrop-filter: blur(5px);
}
.modal[hidden] { display: none; }

.modal-card {
  width: 100%;
  max-width: 430px;
  padding: 20px;
  animation: pop-in .2s ease-out;
}

.modal-text { margin: 0 0 16px; color: #17465f; }

.modal-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.modal-actions .btn-aero { margin-left: 0; }
.btn-aero.discord {
  background: linear-gradient(180deg, #7d8cf8 0%, #5865F2 45%, #4752c4 55%, #8b96ff 100%);
  color: #fff;
  border-color: #cfd4ff;
  text-shadow: 0 1px 3px rgba(30,30,90,.6);
}

.modal-note { margin: 12px 0 0; font-size: 11.5px; color: #6b9cbb; }

/* ───────────────── ПУСТОЕ СОСТОЯНИЕ ───────────────── */

.empty-state {
  padding: 26px 14px;
  text-align: center;
  color: #4e819f;
  font-size: 13px;
  border-radius: 10px;
  border: 1px dashed rgba(130,190,225,.8);
  background: rgba(255,255,255,.45);
}

/* ───────────────── СКРОЛЛБАР ───────────────── */

::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: rgba(255,255,255,.35); }
::-webkit-scrollbar-thumb {
  border-radius: 8px;
  border: 2px solid transparent;
  background-clip: padding-box;
  background-color: rgba(70,150,205,.75);
}
::-webkit-scrollbar-thumb:hover { background-color: rgba(50,130,190,.95); }

/* ───────────────── АДАПТИВ ───────────────── */

@media (max-width: 1180px) {
  .layout { grid-template-columns: 232px minmax(0, 1fr); }
  .col-right { display: grid; grid-template-columns: 1fr 1fr; grid-column: 1 / -1; }
  .col-right .panel-tip { grid-column: 1 / -1; }
  .logo-text { font-size: 58px; }
  .tagline { font-size: 21px; }
}

@media (max-width: 860px) {
  .layout { grid-template-columns: minmax(0, 1fr); padding: 0 12px; }
  .col-left, .col-right { display: none; }
  .header { flex-wrap: wrap; padding: 12px; }
  .brand { padding-left: 32px; }
  .logo-text { font-size: 46px; }
  .logo-sub { font-size: 15px; }
  .tagline { font-size: 16px; margin-top: 6px; order: 3; flex-basis: 100%; justify-content: flex-start; }
  .header-right { margin-left: auto; }
  .search { min-width: 150px; }
  .hero-copy { max-width: 100%; }
  .hero-art { display: none; }
  .hero-slide { padding: 20px; }
  .about-row { flex-wrap: wrap; }
  .about-logo { flex: 0 0 90px; width: 90px; height: 74px; }
  .footer-bar { display: none; }
  .nav-btn { min-width: 96px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; transition-duration: .001s !important; }
}


/* ───────────── XSS3 visual refresh: user background + blue glass ───────────── */
.scene {
  background: #168bd0 url('/background-xss3.png?v=xss3-aero-20261206') center center / cover no-repeat;
}
.scene > .sky, .scene > .sun, .scene > .clouds,
.scene > .city, .scene > .hill, .scene > .grass {
  display: none;
}
.scene > .vignette {
  background: linear-gradient(90deg, rgba(0,80,145,.13), transparent 22%, transparent 78%, rgba(0,80,145,.13));
}
.bubbles {
  overflow: hidden;
}
.bubble {
  border: 1px solid rgba(255,255,255,.82);
  background: radial-gradient(circle at 30% 25%,
    rgba(255,255,255,.98) 0%,
    rgba(220,248,255,.62) 18%,
    rgba(108,202,255,.24) 48%,
    rgba(255,255,255,.04) 76%);
  box-shadow: inset 0 0 13px rgba(255,255,255,.8), 0 0 13px rgba(180,235,255,.35);
  opacity: .7;
}
/* Более голубые стеклянные кнопки */
.nav-btn {
  background: linear-gradient(180deg, rgba(235,250,255,.88), rgba(125,205,248,.48));
  border-color: rgba(255,255,255,.92);
  box-shadow: inset 0 1px 0 #fff, inset 0 -5px 10px rgba(65,165,225,.2), 0 2px 7px rgba(0,75,135,.16);
}
.nav-btn:hover {
  background: linear-gradient(180deg, #fff, rgba(140,218,255,.82));
  box-shadow: inset 0 1px 0 #fff, 0 0 19px rgba(110,210,255,.85), 0 3px 10px rgba(0,75,135,.2);
}
.nav-btn.is-active {
  background: linear-gradient(180deg, #ffffff 0%, #c8efff 42%, #75c9f5 58%, #e4f8ff 100%);
  box-shadow: inset 0 1px 0 #fff, inset 0 -6px 12px rgba(45,150,215,.36), 0 3px 12px rgba(0,90,155,.3);
}
.btn-aero {
  background: linear-gradient(180deg, #ffffff 0%, #c9efff 34%, #83d0fa 56%, #dff6ff 100%);
  border-color: rgba(255,255,255,.98);
  color: #07517f;
  box-shadow: inset 0 1px 0 #fff, inset 0 -7px 13px rgba(55,155,220,.38), 0 3px 11px rgba(0,75,135,.28);
}
.btn-aero:hover {
  background: linear-gradient(180deg, #fff 0%, #d8f5ff 30%, #91dcff 58%, #e9faff 100%);
  box-shadow: inset 0 1px 0 #fff, inset 0 -7px 12px rgba(55,155,220,.42), 0 0 20px rgba(110,210,255,.95), 0 3px 12px rgba(0,60,110,.3);
}
.btn-aero.primary {
  background: linear-gradient(180deg, #bceaff 0%, #66c2f2 43%, #258fd0 58%, #83d5fa 100%);
  border-color: #e5f8ff;
}
.btn-ghost {
  background: linear-gradient(180deg, rgba(235,250,255,.78), rgba(135,210,248,.34));
  border-color: rgba(255,255,255,.82);
}
.btn-ghost:hover { background: linear-gradient(180deg, #fff, rgba(160,225,255,.72)); }
.btn-attach {
  background: linear-gradient(180deg, rgba(245,252,255,.95), rgba(165,222,250,.68));
  border-color: rgba(255,255,255,.95);
}
.hero-arrow {
  background: linear-gradient(180deg, rgba(245,252,255,.9), rgba(130,210,250,.58));
  border-color: rgba(255,255,255,.9);
}
.c-icon-btn {
  background: linear-gradient(180deg, #eaf9ff, #9bdcff);
}
@media (max-width: 860px) {
  .scene { background-position: center center; }
}


/* XSS3 fix: force supplied photo and edge bubbles to display */
html, body { min-height: 100%; }
.scene { position: fixed !important; inset: 0 !important; z-index: -1 !important; background: #168bd0 url('/background-xss3.png?v=xss3-aero-20261206') center center / cover no-repeat !important; }
.scene > .sky, .scene > .sun, .scene > .clouds, .scene > .city, .scene > .hill, .scene > .grass { display: none !important; }
.scene > .bubbles { display: block !important; position: absolute !important; inset: 0 !important; overflow: hidden !important; pointer-events: none !important; }
.scene > .bubble { display: block !important; }
.nav-btn, .btn-aero, .btn-ghost, .btn-attach, .hero-arrow, .c-icon-btn { border-color: rgba(255,255,255,.95) !important; }
.nav-btn { background: linear-gradient(180deg, #f1fbff 0%, #b8e9ff 48%, #78cafa 100%) !important; box-shadow: inset 0 1px 0 #fff, 0 3px 12px rgba(0,100,170,.24) !important; }
.btn-aero { background: linear-gradient(180deg, #fff 0%, #d7f4ff 35%, #8bd5ff 62%, #e8faff 100%) !important; }
.btn-aero.primary { background: linear-gradient(180deg, #c9efff 0%, #75cafa 42%, #2798dc 60%, #9cddff 100%) !important; }
.nav-btn:hover, .btn-aero:hover, .btn-ghost:hover { box-shadow: 0 0 20px rgba(100,205,255,.95), inset 0 1px 0 #fff !important; }

/* XSS3 v2 — feeds, Discord-like rooms and moderation */
[hidden]{display:none!important}.view{display:none}.view.is-visible{display:block}.header{position:relative;z-index:2}.header-right{display:flex;align-items:center;gap:12px}.user-chip{display:flex;align-items:center;gap:9px;border:1px solid #fff;border-radius:22px;padding:5px 10px;background:linear-gradient(#fff,#c8efff);color:#07517f;cursor:pointer;font-weight:700}.user-chip img{width:30px;height:30px;border-radius:50%;object-fit:cover}.user-chip small{opacity:.7}.profile-box{text-align:center}.profile-avatar{width:72px;height:72px;border-radius:50%;object-fit:cover;border:3px solid white;box-shadow:0 4px 16px #2c8bc555;margin:8px auto;display:block;background:#dff6ff}.user-role{display:inline-block;padding:5px 10px;border-radius:20px;background:#d9f4ff;color:#07517f;font-size:12px;font-weight:800}.stat-line{display:flex;justify-content:space-between;padding:6px 0;color:#3d6c89}.stat-line b{color:#07517f}.panel-title{margin:0 0 14px}.section-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.section-head .panel-title{margin-bottom:4px}.muted,.tiny{color:#62839a;font-size:13px}.tiny{font-size:11px}.quote{font-weight:800;color:#1683bd}.quick-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.quick-grid button{display:flex;flex-direction:column;align-items:flex-start;gap:5px;padding:15px;border:1px solid #fff;border-radius:18px;background:linear-gradient(145deg,#ffffffed,#bdeaffd9);color:#07517f;text-align:left;cursor:pointer;font-size:22px;box-shadow:0 5px 16px #126ba522}.quick-grid button b{font-size:15px}.quick-grid button small{font-size:12px;color:#527c96}.composer{display:flex;gap:12px;padding:14px;margin:12px 0 18px;border:1px solid #fff;border-radius:20px;background:linear-gradient(145deg,#f8fdffed,#d4f2ffe0);box-shadow:0 5px 18px #176a9b20}.composer.locked{opacity:.75}.composer-avatar{width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;border-radius:50%;background:#c9efff;color:#07517f;font-weight:900;overflow:hidden}.composer-avatar img{width:100%;height:100%;object-fit:cover}.composer-body{min-width:0;flex:1}.composer textarea,.chat-composer textarea,.admin-card textarea{width:100%;min-height:76px;resize:vertical;border:1px solid #b8e3f7;border-radius:13px;background:#ffffffd9;padding:11px;color:#174967;font:inherit;outline:none}.composer-options,.chat-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:9px}.composer-options label:not(.btn-attach),.admin-card label{display:flex;align-items:center;gap:7px;color:#426e89;font-size:12px}.composer-options select,.admin-card select,.admin-card input{border:1px solid #b8e3f7;border-radius:10px;background:#fff;padding:7px;color:#174967}.btn-attach{display:inline-flex;align-items:center;gap:5px;padding:8px 11px;border:1px solid #fff;border-radius:18px;color:#07517f;cursor:pointer;font-size:13px}.post-list{display:grid;gap:14px}.post-card,.chat-message{padding:15px;border:1px solid #fff;border-radius:20px;background:linear-gradient(145deg,#ffffffed,#dff5ffe8);box-shadow:0 6px 20px #126ba522;color:#174967}.post-card.is-pinned{border:2px solid #64b8e6;box-shadow:0 0 0 3px #aee4ff66,0 6px 20px #126ba522}.pin-label{font-size:12px;color:#0878b4;font-weight:900;margin-bottom:8px}.post-top{display:flex;justify-content:space-between;gap:10px}.item-author{display:flex;align-items:center;gap:9px;min-width:0}.item-author img{width:38px;height:38px;object-fit:cover;border-radius:50%;border:2px solid #fff;box-shadow:0 2px 7px #267eaa44}.item-author div{display:flex;flex-direction:column;min-width:0}.item-author b{font-size:14px;color:#07517f}.item-author small{font-size:11px;color:#7292a7}.post-tools,.chat-message-tools{display:flex;gap:5px;align-items:center}.post-tools button,.chat-message-tools button{border:1px solid #d5f1ff;border-radius:10px;background:#f4fcff;color:#17648d;padding:5px 8px;cursor:pointer}.post-text{white-space:normal;line-height:1.55;overflow-wrap:anywhere;margin:13px 0}.post-image,.chat-message-content img{display:block;max-width:100%;max-height:520px;object-fit:contain;border-radius:14px;margin:10px auto 0}.post-footer{display:flex;justify-content:space-between;gap:8px;margin-top:12px;padding-top:9px;border-top:1px solid #bfe7f7;color:#7292a7;font-size:11px}.comments{margin-top:10px}.comment{padding:9px 0;border-bottom:1px solid #d9f0fa}.comment .item-author img{width:26px;height:26px}.comment .item-author b{font-size:12px}.comment p{margin:5px 0 0 35px;font-size:13px}.comment img{max-width:160px;max-height:130px;margin:7px 0 0 35px;border-radius:9px}.comment-form{display:flex;gap:7px;margin-top:10px}.comment-form input{flex:1;min-width:0;border:1px solid #b8e3f7;border-radius:12px;padding:9px}.comment-form button{border:0;border-radius:12px;padding:0 13px;background:#8bd5ff;color:#07517f;cursor:pointer}.more-btn{display:block;margin:16px auto 0;min-width:130px}.chat-panel{display:flex;flex-direction:column;min-height:550px}.chat-list{display:flex;flex-direction:column;gap:9px;min-height:330px;max-height:65vh;overflow-y:auto;padding:8px 3px 14px;scroll-behavior:smooth}.chat-message{padding:10px 12px;border-radius:16px}.chat-message .item-author img{width:32px;height:32px}.chat-message-content{padding:6px 0 0 42px;line-height:1.45;overflow-wrap:anywhere}.chat-message-tools{justify-content:flex-end;margin-top:4px}.chat-message-tools small{margin-right:auto;color:#7a9aad}.chat-composer{margin-top:auto;padding:12px;border-radius:18px;background:#e8f8ff;border:1px solid white}.chat-composer textarea{min-height:58px}.chat-actions{justify-content:flex-end}.empty-state,.loading{padding:25px;text-align:center;color:#64879c;background:#f2fbffbd;border:1px dashed #b6e5f8;border-radius:16px}.rules{padding-left:19px;color:#527c96;font-size:13px;line-height:1.7}.member-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.member-card{display:flex;align-items:center;gap:10px;padding:10px;border:1px solid white;border-radius:15px;background:#e7f8ffdd}.member-card img{width:38px;height:38px;border-radius:50%;object-fit:cover}.member-card div{display:flex;flex-direction:column;min-width:0}.member-card b{color:#07517f;font-size:13px;overflow-wrap:anywhere}.member-card small{color:#7794a7;font-size:11px}.admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.admin-card{padding:15px;border:1px solid #fff;border-radius:17px;background:#e8f8ffdd;display:flex;flex-direction:column;gap:11px;min-width:0}.admin-card h3{margin:0;color:#07517f}.admin-card label{display:flex;flex-direction:column;align-items:stretch;gap:5px}.admin-card textarea{min-height:55px}.mutes-list{display:grid;gap:8px;max-height:380px;overflow:auto}.mute-row{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:9px;border-radius:12px;background:#fff}.mute-row div{display:flex;flex-direction:column;min-width:0}.mute-row b{font-size:13px;color:#07517f}.mute-row small{font-size:11px;color:#7794a7}.mute-status{font-size:10px;font-weight:900}.mute-status.active{color:#b24b2c}.mute-status.inactive{color:#64879c}.moderation-help{margin-top:14px}.modal{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:18px;background:#062f4c88;backdrop-filter:blur(7px)}.modal-card{position:relative;width:min(420px,100%);padding:28px;border:1px solid white;border-radius:24px;background:linear-gradient(145deg,#fff,#c8efff);text-align:center;box-shadow:0 18px 55px #003d6677}.modal-close{position:absolute;right:13px;top:10px;border:0;background:transparent;color:#07517f;font-size:27px;cursor:pointer}.wide{width:100%;justify-content:center}.toast-area{position:fixed;right:16px;bottom:16px;z-index:120;display:grid;gap:8px;max-width:min(360px,calc(100vw - 32px))}.toast-item{padding:12px 16px;border:1px solid white;border-radius:15px;background:linear-gradient(#fff,#c8efff);color:#07517f;box-shadow:0 8px 25px #003e662b;font-size:13px}.toast-item.error{background:linear-gradient(#fff3ef,#ffd4c7);color:#8b2f22}.site-footer{text-align:center;padding:24px 12px;color:#eafaff;text-shadow:0 1px 5px #003c60;font-size:12px;font-weight:800}.btn-aero.small{padding:7px 12px;font-size:12px}
@media(max-width:1050px){.col-right{display:none}.layout{grid-template-columns:220px minmax(0,1fr)!important}.header{gap:12px}.tagline{display:none}}
@media(max-width:760px){.header{padding:12px;flex-wrap:wrap}.header-right{width:100%;justify-content:space-between}.search{flex:1}.navbar{overflow-x:auto;justify-content:flex-start}.nav-btn{flex:0 0 auto}.layout{display:block!important;padding:10px!important}.col-left{display:none}.col-center{width:100%}.panel{padding:14px!important}.hero{min-height:220px}.hero-art{transform:scale(.75);transform-origin:center}.composer{padding:10px;gap:8px}.composer-options{align-items:stretch}.composer-options label:not(.btn-attach){width:100%;justify-content:space-between}.composer-options select{max-width:60%}.composer-options .btn-aero{margin-left:auto}.admin-grid{grid-template-columns:1fr}.member-grid{grid-template-columns:1fr}.chat-panel{min-height:65vh}.chat-list{max-height:55vh}.section-head{align-items:flex-start}.user-chip small{display:none}}
