/* ==========================================================================
   Eador: Adrageron — оформление сайта в стилистике игры
   Материалы: лобби и скриншоты игры (красная скала, пергамент, золотые
   кнопки), логотип. Новый стиль не придумываем — повторяем игровой.
   ========================================================================== */

:root {
  --void: #080203;
  --panel: rgba(12, 4, 4, 0.86);
  --panel-solid: #0f0505;
  --panel-line: rgba(217, 164, 65, 0.22);

  --gold-1: #f6dc95;
  --gold-2: #d9a441;
  --gold-3: #a8721f;
  --gold-line: #7d5418;
  --brown-ink: #2c1503;

  --cream: #efdcb5;
  --muted: #a89078;
  --faint: #6f5c4c;

  --parch-ink: #3a2410;
  --parch-muted: #6b4f31;

  --blood: #7a1410;
  --blood-2: #b3281c;
  --good: #6fb04a;
  --vk: #2f66b3;
  --vk-2: #4d86d6;

  --font-head: 'Alegreya SC', Georgia, 'Times New Roman', serif;
  --font-body: 'Alegreya', Georgia, 'Times New Roman', serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  background-color: var(--void);
  background-image: linear-gradient(rgba(6, 1, 2, 0.5), rgba(6, 1, 2, 0.78)),
    url('/assets/img/tex-lava.jpg');
  background-size: auto, 468px auto;
  background-attachment: fixed, scroll;
}

a {
  color: var(--gold-1);
  text-decoration: none;
}

a:hover {
  color: #fff;
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3 {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gold-1);
  margin: 0 0 0.45em;
  text-shadow: 0 2px 0 #000;
}

h1 {
  font-size: 2.1rem;
}

h2 {
  font-size: 1.6rem;
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0 0 0.9em;
  color: var(--muted);
}

.eyebrow {
  display: block;
  font-family: var(--font-head);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  color: var(--gold-2);
  margin-bottom: 2px;
}

/* ---------- Layout ---------- */

.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 26px 20px 60px;
}

.section {
  margin-bottom: 26px;
}

.section--plain {
  padding: 34px 0 0;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(180deg, #170707, #0a0303);
  border-bottom: 2px solid var(--gold-line);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.7), inset 0 -1px 0 rgba(246, 220, 149, 0.25);
}

.site-header__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1.05;
  letter-spacing: 0.05em;
  color: var(--gold-1);
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(217, 164, 65, 0.35));
}

.brand small {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: var(--muted);
  font-weight: 400;
}

.nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  font-family: var(--font-head);
  font-size: 0.98rem;
  letter-spacing: 0.1em;
  color: var(--cream);
  padding: 8px 14px;
  border-bottom: 2px solid transparent;
}

.nav a:hover {
  color: var(--gold-1);
  border-bottom-color: var(--gold-3);
}

.nav a[aria-current='page'] {
  color: var(--gold-1);
  border-bottom-color: var(--gold-2);
}

.vk-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 38px;
  padding: 0 12px;
  border-radius: 6px;
  border: 2px solid #1c3d70;
  background: linear-gradient(180deg, var(--vk-2), var(--vk));
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.06em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
}

.vk-chip:hover {
  color: #fff;
  filter: brightness(1.12);
}

/* ---------- Hero with the download wheel ---------- */

.hero {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 20px 60px;
  overflow: hidden;
  border-bottom: 3px solid var(--gold-line);
  background: #120505 url('/assets/img/banner-king.jpg') 30% 35% / cover no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 2, 3, 0.75), rgba(8, 2, 3, 0.05) 30%, rgba(8, 2, 3, 0.05) 70%, rgba(8, 2, 3, 0.75)),
    linear-gradient(180deg, rgba(8, 2, 3, 0.35), rgba(8, 2, 3, 0) 40%, rgba(8, 2, 3, 0.75));
}

.hero__side {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 250px;
  color: var(--cream);
  font-family: var(--font-head);
  font-size: 1.15rem;
  line-height: 1.35;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 4px #000, 0 0 12px #000;
}

.hero__side--l {
  left: 5%;
  text-align: left;
}

.hero__side--r {
  right: 5%;
  text-align: right;
}

.hero__side strong {
  display: block;
  font-size: 1.7rem;
  color: var(--gold-1);
  margin-bottom: 6px;
}

.wheel {
  position: relative;
  z-index: 2;
  width: min(350px, 86vw);
  aspect-ratio: 1;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 26px;
  background: radial-gradient(circle at 50% 30%, #3a120c 0%, #150605 62%, #080203 100%);
  box-shadow: 0 0 0 3px #080203, 0 0 0 7px var(--gold-2), 0 0 0 9px #080203, 0 0 0 11px var(--gold-3),
    0 18px 50px rgba(0, 0, 0, 0.85), inset 0 0 50px rgba(0, 0, 0, 0.9);
}

.wheel::before {
  content: '';
  position: absolute;
  inset: -24px;
  border-radius: 50%;
  background: repeating-conic-gradient(var(--gold-2) 0 1.5deg, transparent 1.5deg 7.5deg);
  -webkit-mask: radial-gradient(circle closest-side, transparent calc(100% - 9px), #000 calc(100% - 8px));
  mask: radial-gradient(circle closest-side, transparent calc(100% - 9px), #000 calc(100% - 8px));
  opacity: 0.75;
  pointer-events: none;
}

.wheel__gem {
  position: absolute;
  left: 50%;
  width: 26px;
  height: 26px;
  margin-left: -13px;
  transform: rotate(45deg);
  background: radial-gradient(circle at 35% 30%, var(--gold-1), var(--gold-2) 55%, var(--gold-3));
  border: 2px solid #2b1204;
  box-shadow: 0 0 10px rgba(217, 164, 65, 0.6);
}

.wheel__gem--n {
  top: -38px;
}

.wheel__gem--s {
  bottom: -38px;
}

.wheel__title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  color: var(--cream);
  line-height: 1.2;
}

.wheel__version {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold-1);
  line-height: 1.1;
  text-shadow: 0 2px 0 #000, 0 0 18px rgba(217, 164, 65, 0.45);
  margin: 6px 0 2px;
}

.wheel__meta {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 14px;
}

.wheel .btn {
  width: 100%;
}

.wheel__hint {
  margin-top: 12px;
  font-size: 0.85rem;
}

/* ---------- Buttons (gold, like in the game lobby) ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 34px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.1em;
  color: var(--brown-ink);
  text-shadow: 0 1px 0 rgba(255, 240, 200, 0.6);
  background: linear-gradient(180deg, var(--gold-1) 0%, var(--gold-2) 55%, var(--gold-3) 100%);
  border: 2px solid #4a2c08;
  border-radius: 3px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 -2px 0 rgba(90, 50, 8, 0.5), 0 3px 10px rgba(0, 0, 0, 0.6);
  cursor: pointer;
  transition: filter 0.12s ease, transform 0.12s ease;
}

.btn::before,
.btn::after {
  content: '';
  width: 9px;
  height: 9px;
  transform: rotate(45deg);
  background: var(--brown-ink);
  opacity: 0.75;
  flex-shrink: 0;
}

.btn:hover {
  color: var(--brown-ink);
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(1px);
}

.btn--big {
  padding: 15px 42px;
  font-size: 1.25rem;
}

.btn--vk {
  color: #fff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
  background: linear-gradient(180deg, var(--vk-2), var(--vk) 60%, #244f8f);
  border-color: #16315c;
}

.btn--vk::before,
.btn--vk::after {
  background: #fff;
  opacity: 0.6;
}

.btn--vk:hover {
  color: #fff;
}

.btn--dark {
  color: var(--cream);
  text-shadow: none;
  background: linear-gradient(180deg, #3a1611, #1c0908);
  border-color: var(--gold-line);
  box-shadow: inset 0 1px 0 rgba(246, 220, 149, 0.25), 0 3px 10px rgba(0, 0, 0, 0.6);
}

.btn--dark::before,
.btn--dark::after {
  background: var(--gold-2);
}

.btn--dark:hover {
  color: var(--gold-1);
}

.btn--danger {
  color: #fff;
  text-shadow: 0 1px 0 #000;
  background: linear-gradient(180deg, var(--blood-2), var(--blood));
  border-color: #3a0805;
}

.btn--danger::before,
.btn--danger::after {
  background: #fff;
  opacity: 0.5;
}

.btn--small {
  padding: 6px 18px;
  font-size: 0.85rem;
}

.btn--small::before,
.btn--small::after {
  width: 6px;
  height: 6px;
}

.btn[disabled],
.btn.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: grayscale(0.6);
  pointer-events: none;
}

/* ---------- Panels ---------- */

.panel {
  position: relative;
  background: var(--panel);
  border: 2px solid var(--gold-line);
  padding: 24px 26px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65), inset 0 0 0 4px rgba(0, 0, 0, 0.55), inset 0 0 0 5px var(--panel-line);
}

.panel::before {
  content: '';
  position: absolute;
  inset: -4px;
  pointer-events: none;
  background:
    linear-gradient(var(--gold-2), var(--gold-2)) top left / 26px 3px no-repeat,
    linear-gradient(var(--gold-2), var(--gold-2)) top left / 3px 26px no-repeat,
    linear-gradient(var(--gold-2), var(--gold-2)) top right / 26px 3px no-repeat,
    linear-gradient(var(--gold-2), var(--gold-2)) top right / 3px 26px no-repeat,
    linear-gradient(var(--gold-2), var(--gold-2)) bottom left / 26px 3px no-repeat,
    linear-gradient(var(--gold-2), var(--gold-2)) bottom left / 3px 26px no-repeat,
    linear-gradient(var(--gold-2), var(--gold-2)) bottom right / 26px 3px no-repeat,
    linear-gradient(var(--gold-2), var(--gold-2)) bottom right / 3px 26px no-repeat;
}

.panel--tight {
  padding: 16px 20px;
}

.panel--parchment {
  background: #e7c576 url('/assets/img/tex-parchment.jpg') center / 520px auto;
  border-color: #6b4512;
  color: var(--parch-ink);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65), inset 0 0 60px rgba(120, 70, 10, 0.45), inset 0 0 0 4px rgba(90, 50, 8, 0.35);
}

.panel--parchment h1,
.panel--parchment h2,
.panel--parchment h3 {
  color: #4a1d0a;
  text-shadow: 0 1px 0 rgba(255, 240, 200, 0.6);
}

.panel--parchment p {
  color: var(--parch-ink);
}

.panel--parchment .eyebrow {
  color: #7a4a12;
}

.panel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.panel-head h2 {
  margin: 0;
}

/* ---------- About block ---------- */

.about {
  display: grid;
  grid-template-columns: 210px 1fr 300px;
  gap: 28px;
  align-items: center;
}

.medallion {
  width: 210px;
  height: 210px;
  border-radius: 50%;
  padding: 7px;
  background: linear-gradient(135deg, var(--gold-1), var(--gold-3));
  box-shadow: 0 0 0 3px #2b1204, 0 8px 22px rgba(0, 0, 0, 0.6);
  position: relative;
}

.medallion img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #2b1204;
}

.medallion::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 22px;
  height: 22px;
  margin-left: -11px;
  transform: rotate(45deg);
  background: radial-gradient(circle at 35% 30%, var(--gold-1), var(--gold-3));
  border: 2px solid #2b1204;
}

.join-box {
  background: rgba(20, 6, 5, 0.9);
  border: 2px solid var(--gold-line);
  padding: 18px 20px;
  color: var(--cream);
  box-shadow: inset 0 0 0 3px rgba(0, 0, 0, 0.6);
}

.join-box h3 {
  color: var(--gold-1);
  font-size: 1rem;
  letter-spacing: 0.1em;
}

.join-box p {
  color: var(--muted);
  font-size: 0.95rem;
}

.join-box .btn {
  width: 100%;
  margin-bottom: 12px;
  padding-left: 12px;
  padding-right: 12px;
  white-space: nowrap;
}

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

.diamond-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 5px;
  color: var(--cream);
  font-size: 0.95rem;
}

.diamond-list li::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 0.55em;
  width: 8px;
  height: 8px;
  transform: rotate(45deg);
  background: var(--gold-2);
}

.duo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 26px;
  align-items: center;
}

.duo__img {
  width: 100%;
  border: 2px solid var(--gold-line);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
}

/* ---------- Cards / news ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--panel-solid);
  border: 2px solid var(--gold-line);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6), inset 0 0 0 3px rgba(0, 0, 0, 0.5);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-2);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.7), 0 0 18px rgba(217, 164, 65, 0.22), inset 0 0 0 3px rgba(0, 0, 0, 0.5);
}

.card__img {
  aspect-ratio: 16 / 10;
  background: #1a0808 center / cover no-repeat;
  border-bottom: 2px solid var(--gold-line);
}

.card__body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--gold-1);
  letter-spacing: 0.03em;
  margin-bottom: 4px;
}

.card__text {
  font-size: 0.93rem;
  color: var(--muted);
  margin-bottom: 10px;
}

.card__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--faint);
}

.card__stats {
  display: flex;
  gap: 12px;
}

.card__stats .heart {
  color: #d8483a;
}

.badge {
  display: inline-block;
  padding: 1px 10px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--brown-ink);
  background: linear-gradient(180deg, var(--gold-1), var(--gold-2));
  border: 1px solid #4a2c08;
}

.badge--vk {
  color: #fff;
  background: linear-gradient(180deg, var(--vk-2), var(--vk));
  border-color: #16315c;
}

/* ---------- Download + changelog row ---------- */

.split {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 22px;
}

.dl-box {
  text-align: center;
  background: radial-gradient(circle at 50% 0%, rgba(120, 30, 20, 0.35), transparent 65%), var(--panel);
}

.dl-box .version {
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--gold-1);
  line-height: 1.1;
  margin: 4px 0;
  text-shadow: 0 2px 0 #000, 0 0 16px rgba(217, 164, 65, 0.4);
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 14px;
}

.changelog {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 18px;
}

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

.ver-list button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  font-family: var(--font-head);
  font-size: 1rem;
  letter-spacing: 0.06em;
  color: var(--cream);
  background: linear-gradient(180deg, #2a0f0b, #170807);
  border: 2px solid var(--gold-line);
  cursor: pointer;
  text-align: left;
}

.ver-list button small {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0;
  color: var(--muted);
}

.ver-list button:hover {
  border-color: var(--gold-2);
}

.ver-list button[aria-selected='true'] {
  color: var(--brown-ink);
  background: linear-gradient(180deg, var(--gold-1), var(--gold-2));
  border-color: #4a2c08;
}

.ver-list button[aria-selected='true'] small {
  color: #5a3a0c;
}

.ver-detail {
  background: rgba(6, 2, 2, 0.6);
  border: 1px solid var(--panel-line);
  padding: 16px 20px;
  min-height: 150px;
}

.ver-detail h3 {
  font-size: 1.35rem;
}

.note-group h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 4px;
  font-family: var(--font-head);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  color: var(--cream);
}

.note-group h4::before {
  content: '';
  width: 9px;
  height: 9px;
  transform: rotate(45deg);
  background: var(--gold-2);
}

.note-group--new h4::before {
  background: var(--good);
}

.note-group--fix h4::before {
  background: var(--blood-2);
}

.note-group ul {
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

.note-group li {
  margin-bottom: 2px;
}

/* ---------- Timeline (page changelog) ---------- */

.timeline {
  position: relative;
  padding-left: 30px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 3px;
  background: linear-gradient(180deg, var(--gold-2), var(--gold-line));
}

.timeline__entry {
  position: relative;
  margin-bottom: 20px;
}

.timeline__entry::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 18px;
  width: 15px;
  height: 15px;
  transform: rotate(45deg);
  background: radial-gradient(circle at 35% 30%, var(--gold-1), var(--gold-3));
  border: 2px solid #2b1204;
  box-shadow: 0 0 10px rgba(217, 164, 65, 0.55);
}

.timeline__head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.timeline__head h3 {
  margin: 0;
  font-size: 1.4rem;
}

.timeline__head span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- Gameplay screenshots ---------- */

.shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}

.shot {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #150606 center / cover no-repeat;
  border: 2px solid var(--gold-line);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6), inset 0 0 0 3px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: flex-end;
}

.shot span {
  width: 100%;
  padding: 26px 16px 12px;
  font-family: var(--font-head);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  color: var(--gold-1);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.9));
}

.shot span small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0;
  color: var(--cream);
}

/* ---------- Forms (admin) ---------- */

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-head);
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  color: var(--gold-1);
}

.field input,
.field textarea {
  width: 100%;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--cream);
  background: rgba(0, 0, 0, 0.55);
  border: 2px solid var(--gold-line);
  border-radius: 2px;
}

.field input[type='file'] {
  padding: 8px;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold-1);
  box-shadow: 0 0 0 3px rgba(217, 164, 65, 0.25);
}

.field .hint {
  margin: 5px 0 0;
  font-size: 0.85rem;
  color: var(--faint);
}

.form-message {
  padding: 10px 14px;
  margin-bottom: 16px;
  font-size: 0.95rem;
  border: 1px solid;
}

.form-message--error {
  color: #ffb3a8;
  background: rgba(179, 40, 28, 0.25);
  border-color: var(--blood-2);
}

.form-message--ok {
  color: #c3e8ad;
  background: rgba(111, 176, 74, 0.18);
  border-color: var(--good);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.admin-table th,
.admin-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--panel-line);
  vertical-align: top;
}

.admin-table th {
  font-family: var(--font-head);
  letter-spacing: 0.08em;
  color: var(--gold-1);
}

.admin-table__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pre-line {
  white-space: pre-line;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 2px solid var(--gold-line);
  background: linear-gradient(180deg, #120505, #060202);
}

.site-footer__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 22px 20px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.site-footer .brand img {
  width: 44px;
  height: 44px;
}

.site-footer__links {
  display: flex;
  gap: 8px 16px;
  flex-wrap: wrap;
  margin: 0 auto;
  font-family: var(--font-head);
  letter-spacing: 0.08em;
}

.site-footer__note {
  flex: 0 1 230px;
  margin-left: auto;
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--faint);
  text-align: right;
}

.muted {
  color: var(--muted);
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .hero__side {
    display: none;
  }

  .about {
    grid-template-columns: 170px 1fr;
  }

  .about .join-box {
    grid-column: 1 / -1;
  }

  .medallion {
    width: 170px;
    height: 170px;
  }

  .split,
  .duo {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .site-header__inner {
    flex-wrap: wrap;
    gap: 6px 12px;
  }

  .nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
  }

  .nav a {
    padding: 8px 9px;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
  }

  .site-footer__links {
    margin: 0;
  }

  .site-footer__note {
    flex-basis: 100%;
    margin-left: 0;
  }

  .vk-chip {
    margin-left: auto;
  }

  .about,
  .changelog {
    grid-template-columns: 1fr;
  }

  .medallion {
    margin: 0 auto;
  }

  .hero {
    min-height: 380px;
    padding-top: 60px;
  }

  .site-footer__note {
    text-align: left;
  }
}
