:root {
  --ink: #24170e;
  --wine: #5c1718;
  --gold: #dcb88d;
  --sand: #f0e2c7;
  --paper: #fffaf0;
  --line: #b7885e;
  --muted: #8a725e;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  font: 14px/1.45 Tahoma, Arial, sans-serif;
  background: #0b1118 url("assets/original-loco-site/body.jpg") repeat;
}

a { color: #6b211d; text-decoration: none; }

a:hover { color: #a8412f; text-decoration: underline; }

.hero {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border-bottom: 2px solid #4e2018;
  background: #08090b;
}

.hero-media { position: absolute; top: 0; width: 1050px; height: 432px; background-repeat: no-repeat; pointer-events: none; }

.hero-media--red { right: 50%; background-image: url("assets/original-loco-site/header_left.jpg"); background-position: right top; }

.hero-media--blue { left: 50%; background-image: url("assets/original-loco-site/header_right.jpg"); background-position: left top; }

.hero-content { position: relative; z-index: 1; width: min(100% - 32px, 1000px); margin: 0 auto; text-align: center; }

.brand { display: inline-block; margin: 28px 0 48px; }

.brand img { display: block; width: 250px; height: auto; filter: drop-shadow(0 5px 10px #000); }

.main-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 34px; padding: 13px 20px; border-top: 1px solid rgba(232, 196, 151, .45); border-bottom: 1px solid rgba(0, 0, 0, .7); background: rgba(16, 11, 10, .75); }

.main-nav a { color: #f0d3b2; font: 17px "Times New Roman", serif; letter-spacing: .04em; text-transform: uppercase; }

.main-nav .is-active { color: #fff3d8; text-shadow: 0 0 10px #d8874e; }

.main-nav .language-switch { padding: 1px 7px; border: 1px solid #b88a61; border-radius: 2px; font-size: 13px; }

.page-shell { width: min(100% - 28px, 1040px); margin: -34px auto 42px; position: relative; z-index: 2; }

.forum-intro,
.forum-board,
.side-card,
.registration-panel { box-shadow: 0 11px 25px rgba(0, 0, 0, .42); }

.forum-intro { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 25px 30px; color: #f8e9d0; border: 1px solid #986444; background: linear-gradient(110deg, #3e1718, #6e3024 55%, #251517); }

.eyebrow { margin: 0 0 3px; color: #e7c28f; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }

h1, h2 { margin: 0; font-family: "Times New Roman", serif; font-weight: normal; }

h1 { font-size: 31px; line-height: 1; }

.forum-intro p:not(.eyebrow) { margin: 8px 0 0; color: #ead8bf; }

.intro-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 18px; }

.intro-links a { color: #f5d9ae; font-size: 12px; text-transform: uppercase; }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 24px; margin-top: 24px; align-items: start; }

.forum-board { overflow: hidden; border: 1px solid #ab835f; background: var(--paper); }

.welcome { display: grid; gap: 3px; padding: 18px 22px; border-bottom: 1px solid #d6b894; background: #f3e5ce; }

.welcome strong { font-family: "Times New Roman", serif; font-size: 19px; }

.welcome span { color: #68523e; font-size: 12px; }

.forum-group + .forum-group { border-top: 8px solid #ead8b9; }

.forum-group h2 { padding: 9px 22px; color: #f6e2c2; font-size: 17px; letter-spacing: .04em; text-transform: uppercase; background: linear-gradient(#70412c, #4d291e); }

.forum-head,
.forum-row { display: grid; grid-template-columns: minmax(210px, 1.25fr) minmax(160px, .9fr) 42px 64px; gap: 12px; align-items: center; }

.forum-head { padding: 8px 18px; color: #6c4c36; border-bottom: 1px solid #d9bd9c; background: #fbf2e2; font-size: 10px; font-weight: bold; text-transform: uppercase; }

.forum-row { min-height: 76px; padding: 12px 18px; border-bottom: 1px solid #ead8bd; background: linear-gradient(90deg, #fffdf8, #f8ecd8); }

.forum-row:nth-of-type(even) { background: #f3e4cc; }

.forum-row strong { font: bold 16px "Times New Roman", serif; }

.forum-row p { margin: 2px 0 0; color: var(--muted); font-size: 11px; }

.forum-row > span { color: #6e3e27; text-align: center; font-weight: bold; }

.sidebar { display: grid; gap: 21px; }

.side-card { position: relative; overflow: hidden; padding: 21px 18px 18px; color: #ead6bb; border: 1px solid #83563e; background: linear-gradient(145deg, #35231e, #171215); }

.side-card::before { content: ""; position: absolute; inset: 0; opacity: .25; background: url("assets/original-loco-site/sand_light.png") repeat; pointer-events: none; }

.side-card > * { position: relative; }

.side-card h2 { margin-bottom: 16px; color: #f2d5ad; font-size: 18px; text-align: center; text-transform: uppercase; }

form { display: grid; gap: 10px; }

label { display: grid; gap: 4px; color: #e8cfb0; font-size: 11px; }

input { width: 100%; padding: 8px; color: #302015; border: 1px solid #ac7c57; border-radius: 2px; background: #fff8ea; font: 13px Tahoma, Arial, sans-serif; }

.remember { display: flex; align-items: center; gap: 6px; }

.remember input { width: auto; }

button,
.button-link { display: inline-block; padding: 9px 12px; color: #fff0d6; border: 1px solid #d2a26e; border-radius: 2px; background: linear-gradient(#963c2d, #5b1c19); box-shadow: inset 0 1px rgba(255, 255, 255, .18); cursor: pointer; font: 14px "Times New Roman", serif; text-align: center; text-transform: uppercase; }

button:hover,
.button-link:hover { color: #fff; text-decoration: none; background: linear-gradient(#af5039, #6a211b); }

.minor-link { display: block; margin-top: 12px; color: #d9b88f; font-size: 11px; text-align: center; }

.register-card { text-align: center; }

.register-card img { width: 132px; height: auto; margin: -10px 0 3px; }

.register-card p { color: #dec5a7; font-size: 12px; }

.register-card .button-link { margin-top: 8px; }

.stats-card dl { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; }

.stats-card dl div { padding: 0 6px; text-align: center; border-right: 1px solid #896a52; }

.stats-card dl div:last-child { border: 0; }

.stats-card dt { color: #d8b794; font-size: 10px; text-transform: uppercase; }

.stats-card dd { margin: 3px 0 0; color: #fff0d6; font: 20px "Times New Roman", serif; }

.stats-card p { margin: 16px 0 0; color: #d8c0a3; font-size: 11px; text-align: center; }

.stats-card a { color: #f3d5a8; }

.registration-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px; margin-top: 25px; padding: 28px 34px; color: #2c1b11; border: 1px solid #bd9068; background: #edddc1; }

.registration-panel h2 { color: #5a241e; font-size: 27px; }

.registration-panel p:not(.eyebrow) { margin: 9px 0 0; color: #705744; }

.registration-panel label { color: #573c29; }

footer { padding: 22px; color: #b99d81; border-top: 1px solid #493126; font-size: 11px; text-align: center; background: rgba(0, 0, 0, .35); }

footer p { margin: 0; }
.footer-social { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-top: 10px; }
.footer-social a { color: #f3d2a0; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 760px) {
  .hero { min-height: 260px; }
  .hero-media { opacity: .55; }
  .brand { margin-bottom: 26px; }
  .main-nav { gap: 8px 18px; }
  .main-nav a { font-size: 14px; }
  .forum-intro,
  .registration-panel { grid-template-columns: 1fr; display: grid; }
  .intro-links { justify-content: flex-start; }
  .layout { grid-template-columns: 1fr; }
  .forum-row { grid-template-columns: 1fr 1fr 34px 52px; gap: 8px; padding: 11px; }
  .forum-head { grid-template-columns: 1fr 1fr 34px 52px; gap: 8px; padding: 8px 11px; }
}

@media (max-width: 500px) {
  .page-shell { width: min(100% - 16px, 1040px); }
  .forum-intro { padding: 20px; }
  .forum-row,
  .forum-head { grid-template-columns: 1fr 1fr; }
  .forum-row > span,
  .forum-head span:nth-last-child(-n+2) { display: none; }
  .registration-panel { padding: 22px; }
}

/* Оформляем единственный действующий блок страницы форума — анонимный опрос. */
.poll-card {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 36px 42px;
  border: 1px solid #bd936c;
  background: var(--paper);
  box-shadow: 0 11px 25px rgba(0, 0, 0, .42);
}

.poll-card .eyebrow { color: #9b5739; }
.poll-card h1 { color: #55221d; font-size: 36px; line-height: 1.1; }
.poll-card h2 { color: #55221d; font-size: 25px; }
.poll-intro { margin: 14px 0 26px; color: #624534; }
.poll-card fieldset { display: grid; gap: 12px; margin: 0; padding: 0; border: 0; }
.poll-card legend { margin-bottom: 12px; color: #55221d; font: 20px "Times New Roman", serif; }

.poll-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  color: #452a1e;
  border: 1px solid #c9a47f;
  background: #fffdf7;
  cursor: pointer;
  font-size: 14px;
}

.poll-option:has(input:checked) { border-color: #7d3125; background: #f4e2cc; }
.poll-option input { width: auto; margin: 0; accent-color: #7d3125; }
.poll-option:focus-within { outline: 2px solid #7d3125; outline-offset: 2px; }
.poll-card button { width: 200px; margin-top: 8px; }
.poll-card button:disabled { cursor: wait; opacity: .65; }
.poll-card button:focus-visible { outline: 2px solid #7d3125; outline-offset: 2px; }
.poll-note { margin: 25px 0 0; color: #705744; font-size: 12px; }
.poll-message { min-height: 20px; margin: 15px 0 0; color: #6b3022; }
.poll-results { margin-top: 28px; }
.poll-results h2 { margin-bottom: 19px; }
.poll-result + .poll-result { margin-top: 17px; }
.poll-result-label { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 7px; }
.poll-result-label strong { white-space: nowrap; }
.poll-result-bar { height: 12px; overflow: hidden; background: #e8d6bf; }
.poll-result-bar > div { width: 0; height: 100%; background: linear-gradient(90deg, #7d3125, #b76b42); }
.poll-total { margin: 20px 0 0; color: #624534; }
.poll-card [hidden] { display: none !important; }

@media (max-width: 760px) {
  .page-shell { margin: 24px auto 42px; }
}

@media (max-width: 500px) {
  .poll-card { padding: 26px 22px; }
  .poll-card h1 { font-size: 31px; }
  .poll-card button { width: 100%; }
}
