:root {
  --bg: #091510;
  --bg-deep: #060e0a;
  --ribbon: #172e23;
  --card: #10231b;
  --tag: #1c3728;
  --line: #2d4938;
  --green: #a4e777;
  --green-edge: #c3f4a0;
  --ink: #15361e;
  --cream: #f0f1df;
  --muted: #a7b8aa;
  --dim: #718d7a;
  --font: "Inter", system-ui, sans-serif;
  --display: "Cinzel", serif;
  --pad: 96px;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--cream); font-family: var(--font); color-scheme: dark; }
img, svg, picture, video {
  max-width: 100%;
  display: block;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}
.btn img,
.nav-account img,
.info-bar > img,
.auth-title > img,
.pillar > img,
.trio .card > img,
.journal > img,
.system > img,
img.ico, img.ico-15, img.ico-25, img.ico-28, img.ico-30, img.ico-dot {
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  min-width: 18px;
  min-height: 0 !important;
  object-fit: contain;
  flex-shrink: 0;
}
img.ico-15 { width: 15px !important; height: 15px !important; max-width: 15px !important; max-height: 15px !important; min-width: 15px; }
img.ico-25 { width: 25px !important; height: 25px !important; max-width: 25px !important; max-height: 25px !important; min-width: 25px; }
img.ico-28 { width: 28px !important; height: 28px !important; max-width: 28px !important; max-height: 28px !important; min-width: 28px; }
img.ico-30 { width: 30px !important; height: 30px !important; max-width: 30px !important; max-height: 30px !important; min-width: 30px; }
img.ico-dot { width: 5px !important; height: 5px !important; max-width: 5px !important; max-height: 5px !important; min-width: 5px; }
a { color: var(--green); text-decoration: none; }
p { margin: 0; }

.ico { width: 18px; height: 18px; display: block; }
.ico-15 { width: 15px; height: 15px; display: block; }
.ico-dot { width: 5px; height: 5px; }
.ico-28 { width: 28px; height: 28px; }
.ico-25 { width: 25px; height: 25px; }
.ico-30 { width: 30px; height: 30px; }

.site-head { background: var(--bg-deep); }

.nav {
  position: relative;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
  border-bottom: 1px solid var(--line);
}
.nav-cluster { display: flex; gap: 34px; align-items: center; width: 440px; }
.nav-cluster-right { width: 400px; justify-content: flex-end; gap: 28px; }
.nav-link {
  color: var(--cream);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  height: 48px;
  display: flex;
  align-items: center;
  border-bottom: 2px solid transparent;
}
.nav-link:hover { color: var(--green); }
.nav-link.is-active {
  color: var(--green);
  font-weight: 700;
  border-bottom-color: var(--green);
}
.nav-logo {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 200px;
  height: 150px;
  display: grid;
  place-items: center;
  z-index: 2;
}
.nav-logo img { width: 200px; height: 150px; object-fit: cover; }
.nav-account {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 12px 13px;
  color: var(--cream);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.nav-account:hover { border-color: var(--green); }

.intro {
  background: var(--card);
  padding: 54px var(--pad) 48px;
  position: relative;
  overflow: hidden;
}
.intro-vestige {
  position: absolute;
  right: 0;
  top: 0;
  width: 215px;
  height: 225px;
  object-fit: cover;
  pointer-events: none;
}
.crumb { color: var(--muted); font-size: 12px; margin-bottom: 17px; }
.intro h1 {
  font-family: var(--display);
  font-size: 44px;
  line-height: 1.2;
  margin: 0 0 17px;
  font-weight: 700;
  max-width: 1100px;
}
.lede { color: var(--muted); font-size: 16px; line-height: 1.7; max-width: 850px; }

.flash-wrap { padding: 18px var(--pad) 0; }
.banner {
  padding: 12px 16px;
  border-radius: 5px;
  font-size: 14px;
}
.banner.ok { background: rgba(164, 231, 119, 0.12); border: 1px solid var(--line); color: var(--cream); }
.banner.err { background: rgba(160, 50, 40, 0.25); border: 1px solid rgba(255, 120, 100, 0.3); }

.tag {
  display: inline-flex;
  background: var(--tag);
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 6px 10px;
  border-radius: 3px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 21px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  white-space: nowrap;
}
.btn-green {
  background: var(--green);
  border-color: var(--green-edge);
  color: var(--ink);
}
.btn-green:hover { filter: brightness(1.05); }
.btn-ghost {
  background: var(--card);
  border-color: var(--line);
  color: var(--cream);
}
.btn-ghost:hover { border-color: var(--green); }
.btn-soft {
  background: var(--ribbon);
  border-color: var(--line);
  color: var(--muted);
}

.hero {
  position: relative;
  height: 610px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  padding: 88px var(--pad) 55px;
}
.hero-bg, .hero-veil { position: absolute; inset: 0; }
.hero-bg { width: 100%; height: 100%; object-fit: cover; }
.hero-veil {
  background: linear-gradient(90deg, rgba(6, 19, 13, 0.96), rgba(6, 19, 13, 0.44) 55%, rgba(6, 19, 13, 0.06));
}
.hero-branches {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 270px;
  height: 350px;
  object-fit: cover;
  pointer-events: none;
}
.hero > *:not(img) { position: relative; z-index: 1; }
.hero h1 {
  font-family: var(--display);
  font-size: 56px;
  line-height: 1.15;
  margin: 0;
  max-width: 890px;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.6);
}
.hero .hero-text {
  max-width: 590px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--cream);
}
.hero-actions { display: flex; gap: 14px; padding-top: 8px; }
.hero-note { font-size: 11px; color: var(--cream); }

.stats {
  background: var(--card);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 27px var(--pad);
}
.stat { text-align: center; }
.stat strong {
  display: block;
  font-family: var(--display);
  font-size: 24px;
  margin-bottom: 8px;
}
.stat span { color: var(--muted); font-size: 10px; letter-spacing: 0.06em; }

.section { padding: 72px var(--pad); }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  gap: 24px;
}
.kicker {
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
h2, .display {
  font-family: var(--display);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.24;
  margin: 0;
}

.news-grid {
  display: grid;
  grid-template-columns: 590px 300px 1fr;
  gap: 24px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.news-feature img { height: 230px; width: 100%; object-fit: cover; }
.news-body { padding: 25px; display: flex; flex-direction: column; gap: 15px; }
.news-body h3 { font-family: var(--display); font-size: 25px; margin: 0; }
.news-body p, .muted { color: var(--muted); font-size: 15px; line-height: 1.75; }
.news-meta { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); }
.news-meta a, .link { color: var(--green); font-size: 12px; font-weight: 600; }
.news-side { display: flex; flex-direction: column; gap: 18px; }
.news-side img { height: 102px; width: 100%; object-fit: cover; }
.news-mini { padding: 17px; display: flex; flex-direction: column; gap: 9px; }
.news-mini .kicker { font-size: 9px; margin: 0; }
.news-mini h3 { font-size: 15px; line-height: 1.4; margin: 0; font-weight: 700; font-family: var(--font); }
.news-mini p { font-size: 13px; }
.journal { padding: 24px; display: flex; flex-direction: column; gap: 19px; }
.journal h3 { font-family: var(--display); font-size: 20px; margin: 0; }
.sep { height: 1px; background: var(--line); width: 100%; }
.journal-item { display: flex; flex-direction: column; gap: 8px; }
.journal-item .kicker { margin: 0; font-size: 9px; font-weight: 400; }
.journal-item strong { font-size: 13px; }
.journal-item p { font-size: 13px; }

.spirit { padding: 26px var(--pad) 70px; }
.spirit-top {
  display: flex;
  gap: 80px;
  align-items: center;
  margin-bottom: 32px;
}
.spirit-top .left { width: 550px; }
.pillars { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.pillar { display: flex; gap: 17px; padding: 23px; align-items: flex-start; }
.pillar h3 { font-size: 16px; margin: 0 0 10px; }
.pillar p { font-size: 13px; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--card);
  min-height: 490px;
}
.split-copy {
  padding: 64px 64px 64px var(--pad);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}
.split-copy h2 { font-size: 40px; }
.split > img { width: 100%; height: 100%; object-fit: cover; min-height: 490px; }

.progress {
  display: flex;
  gap: 64px;
  align-items: center;
  padding: 72px var(--pad);
}
.progress-art {
  width: 570px;
  height: 370px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  flex-shrink: 0;
}
.progress-art img { width: 100%; height: 100%; object-fit: cover; }
.progress-copy { display: flex; flex-direction: column; gap: 23px; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; }

.rank-block {
  display: flex;
  gap: 48px;
  align-items: center;
  padding: 16px var(--pad) 72px;
}
.rank-copy { width: 450px; display: flex; flex-direction: column; gap: 22px; }
.table { flex: 1; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.t-head, .t-row {
  display: grid;
  grid-template-columns: 58px 1fr 160px 208px;
  padding: 16px 18px;
  align-items: center;
}
.t-head { background: var(--ribbon); color: var(--muted); font-size: 11px; font-weight: 600; }
.t-row { font-size: 13px; border-bottom: 1px solid var(--line); }
.t-row:nth-child(odd) { background: var(--card); }
.t-row:nth-child(even) { background: var(--bg); }
.t-row .rank, .t-row .pts { color: var(--green); }
.t-row .name { font-weight: 700; }

.camp {
  background: var(--ribbon);
  display: flex;
  gap: 64px;
  align-items: center;
  padding: 64px var(--pad);
}
.camp > img { width: 485px; height: 320px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.camp-copy { display: flex; flex-direction: column; gap: 22px; }
.camp-actions { display: flex; gap: 14px; }

.finale {
  text-align: center;
  padding: 76px var(--pad);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 23px;
}
.finale .star { color: var(--green); font-size: 26px; }
.finale h2 { font-size: 38px; max-width: 920px; }

.foot {
  background: var(--bg-deep);
  padding: 40px var(--pad) 28px;
}
.foot-grid { display: grid; grid-template-columns: 390px 1fr 1fr 1fr; gap: 70px; }
.foot-brand img { width: 150px; height: auto; }
.foot-brand p { color: var(--muted); font-size: 13px; line-height: 1.75; margin-top: 4px; }
.foot-col { padding-top: 25px; display: flex; flex-direction: column; gap: 14px; }
.foot-col p { font-size: 13px; font-weight: 700; }
.foot-col a { color: var(--muted); font-size: 12px; }
.foot-col a:hover { color: var(--green); }
.foot-line { height: 1px; background: var(--line); margin: 26px 0; }
.foot-legal {
  display: flex;
  justify-content: space-between;
  color: var(--dim);
  font-size: 11px;
  gap: 16px;
}
.foot-legal a { color: var(--muted); }

.wrap { padding: 52px var(--pad); display: flex; flex-direction: column; gap: 38px; }
.steps { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.step { padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.step .num { font-family: var(--display); font-size: 32px; color: var(--green); }
.step h3 { font-size: 19px; margin: 0; }
.step p { font-size: 15px; color: var(--muted); line-height: 1.75; }

.launcher-card {
  display: grid;
  grid-template-columns: 670px 1fr;
  min-height: 350px;
}
.launcher-copy {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
.launcher-card > img { width: 100%; height: 100%; object-fit: cover; min-height: 350px; }

.systems { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.system { padding: 26px; display: flex; flex-direction: column; gap: 18px; }
.system h3 { font-size: 23px; margin: 0; }
.info-bar {
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--ribbon);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 17px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.split-help { display: grid; grid-template-columns: 600px 1fr; gap: 40px; }
.help-card { padding: 30px; display: flex; flex-direction: column; gap: 22px; }
.tip { display: flex; gap: 16px; }
.tip .num { font-family: var(--display); font-size: 24px; color: var(--green); }
.tip strong { display: block; font-size: 15px; margin-bottom: 6px; }
.tip p { font-size: 13px; }
.faq { display: flex; flex-direction: column; gap: 24px; padding: 8px 0; }
.faq h2 { margin-bottom: 0; }
.faq-item { display: flex; flex-direction: column; gap: 9px; }
.faq-item h3 { font-size: 15px; margin: 0; }
.faq-item p { font-size: 13px; }

.auth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.auth-card { padding: 36px; }
.auth-card.register { border-color: var(--green); }
.auth-title {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 16px;
}
.auth-title .kicker { margin: 0; }
.auth-title h2 { font-size: 28px; }
.auth-card > .muted { margin-bottom: 28px; }
label { display: block; font-size: 13px; margin: 0 0 8px; }
.field { margin-bottom: 24px; }
input:not([type]),
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="search"],
input[type="url"],
input[type="tel"],
input[type="file"],
textarea,
select {
  display: block;
  width: 100%;
  height: 50px;
  background: #10231b !important;
  background-color: #10231b !important;
  border: 1px solid var(--green);
  border-radius: 5px;
  color: var(--cream) !important;
  padding: 0 15px;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.4;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  box-shadow: none;
  outline: none;
  color-scheme: dark;
}
textarea { height: auto; min-height: 140px; padding: 14px 15px; resize: vertical; }
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%23a4e777' d='M0 0l6 8 6-8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-color: #10231b;
  padding-right: 40px;
}
input::placeholder, textarea::placeholder { color: var(--dim); opacity: 1; }
input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):focus,
textarea:focus,
select:focus {
  border-color: var(--green-edge);
  box-shadow: 0 0 0 1px var(--green-edge);
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  -webkit-text-fill-color: #f0f1df !important;
  caret-color: #f0f1df;
  box-shadow: 0 0 0 1000px #10231b inset !important;
  -webkit-box-shadow: 0 0 0 1000px #10231b inset !important;
  border: 1px solid var(--green);
  transition: background-color 99999s ease-out;
}
.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--muted);
  margin: 12px 0;
}
.check input[type="checkbox"],
input[type="checkbox"],
input[type="radio"] {
  width: 17px;
  height: 17px;
  min-width: 17px;
  margin-top: 3px;
  accent-color: var(--green);
  background: #091510;
}
.row-between { display: flex; justify-content: space-between; align-items: center; margin: 8px 0 20px; }
.hint { font-size: 12px; color: var(--dim); margin: -12px 0 18px; }
.secure {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.secure p { font-size: 13px; color: var(--muted); line-height: 1.75; }
.secure strong { display: block; color: var(--cream); margin-bottom: 6px; }
.recover {
  background: #0c1c16;
  border-radius: 8px;
  padding: 22px;
  margin-top: 24px;
}
.trio { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; }
.trio .card { padding: 22px; display: flex; gap: 12px; }
.after {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 32px;
}
.after > img { width: 240px; height: 150px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }

.shop { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.grade { padding: 0 0 28px; text-align: left; overflow: hidden; }
.grade-photo { width: 100%; height: 180px; object-fit: cover; background: #0c1c16; }
.grade-body { padding: 22px 28px 0; }
.grade .price { font-family: var(--display); font-size: 32px; color: var(--green); margin: 10px 0 16px; }
.grade ul { margin: 0; padding-left: 18px; color: var(--muted); line-height: 1.8; font-size: 14px; }
.grade .btn { margin: 18px 0 0; }

.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: middle; }
.admin-table th { color: var(--muted); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.admin-thumb { width: 64px; height: 40px; object-fit: cover; border-radius: 4px; }
.admin-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.vote-list { display: flex; flex-direction: column; gap: 16px; }
.vote-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 26px;
  gap: 16px;
}

@media (max-width: 1100px) {
  :root { --pad: 32px; }
  .nav { flex-wrap: wrap; height: auto; padding: 16px 32px 72px; justify-content: center; gap: 12px; }
  .nav-logo { width: 140px; height: 100px; top: auto; bottom: 0; }
  .nav-logo img { width: 140px; height: 100px; }
  .nav-cluster, .nav-cluster-right { width: auto; flex-wrap: wrap; gap: 16px; justify-content: center; }
  .stats { grid-template-columns: 1fr 1fr; gap: 18px; }
  .hero { height: auto; min-height: 520px; }
  .hero h1 { font-size: 36px; }
  .news-grid, .pillars, .steps, .systems, .shop, .trio, .auth-grid, .split, .split-help, .progress, .rank-block, .camp, .launcher-card, .foot-grid {
    grid-template-columns: 1fr;
    display: grid;
  }
  .progress, .rank-block, .camp, .spirit-top, .stats { flex-direction: column; }
  .progress-art, .camp > img, .stat, .rank-copy, .spirit-top .left { width: 100%; }
  .t-head, .t-row { grid-template-columns: 40px 1fr 70px 90px; }
  .hero-branches, .intro-vestige { display: none; }
}
