@font-face {
  font-family: "Monocraft";
  src: url("assets/fonts/Monocraft-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Monocraft";
  src: url("assets/fonts/Monocraft-Regular.ttf") format("truetype");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Monocraft";
  src: url("assets/fonts/Monocraft-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Monocraft";
  src: url("assets/fonts/Monocraft-Bold.ttf") format("truetype");
  font-weight: 700 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Monocraft";
  src: url("assets/fonts/Monocraft-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --panel: rgba(14, 12, 10, 0.86);
  --panel-soft: rgba(16, 14, 12, 0.78);
  --border: rgba(182, 116, 26, 0.7);
  --border-soft: rgba(170, 108, 25, 0.42);
  --gold: #f6a728;
  --gold-soft: #d98a1b;
  --text: #f4ead9;
  --muted: #d8cbb7;
  --green: #42d13a;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--text);
  font-family: "Monocraft", monospace;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  text-shadow:
    -1px -1px 0 rgba(255, 250, 242, 0.16),
    0 1px 0 rgba(38, 24, 11, 0.88),
    0 2px 0 rgba(0, 0, 0, 0.44),
    1px 2px 1px rgba(0, 0, 0, 0.22);
  background: #050504;
}

a {
  color: inherit;
  text-decoration: none;
}

.scene {
  position: relative;
  min-height: 100svh;
  overflow: clip;
  background: #050504;
}

.scene__backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 7, 10, 0.05), rgba(4, 4, 3, 0.18) 28%, rgba(4, 4, 3, 0.64) 100%),
    url("assets/background-main-tall.webp") center top / cover no-repeat;
  transform: scale(1.005);
  animation: ambient-drift 22s ease-in-out infinite alternate;
}

.scene::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at center 23%, transparent 0, transparent 21%, rgba(0, 0, 0, 0.1) 48%, rgba(0, 0, 0, 0.34) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.12) 62%, rgba(0, 0, 0, 0.26));
}

.scene::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 24% 19%, rgba(255, 192, 77, 0.15), transparent 1.2%),
    radial-gradient(circle at 53% 39%, rgba(255, 183, 54, 0.16), transparent 1.1%),
    radial-gradient(circle at 76% 27%, rgba(255, 194, 92, 0.12), transparent 1%),
    radial-gradient(circle at 68% 78%, rgba(255, 170, 42, 0.12), transparent 1.1%);
  opacity: 0.28;
  animation: ember-flicker 6s ease-in-out infinite;
}

.topbar {
  position: relative;
  z-index: 80;
  width: fit-content;
  max-width: calc(100% - 28px);
  height: 61px;
  margin: 0 auto;
  border: 1px solid rgba(129, 85, 24, 0.38);
  border-top: 0;
  border-radius: 0 0 20px 20px;
  background: rgba(15, 14, 13, 0.84);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.45);
  animation: drop-in 700ms cubic-bezier(.2,.8,.2,1) both;
}

.nav {
  display: flex;
  justify-content: center;
  height: 100%;
}

.nav > .nav__item,
.nav__user {
  animation: menu-item-drop 520ms cubic-bezier(.2,.8,.2,1) both;
}

.nav__item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: max-content;
  padding: 0 17px;
  color: #f2d7a2;
  font-size: 15px;
  font-weight: 600;
  text-shadow:
    -1px -1px 0 rgba(255, 233, 184, 0.2),
    0 1px 0 rgba(104, 56, 10, 0.92),
    0 2px 0 rgba(42, 20, 3, 0.7),
    1px 2px 1px rgba(0, 0, 0, 0.28);
  transition:
    transform 240ms cubic-bezier(.2,.8,.2,1),
    color 240ms ease,
    background 240ms ease,
    filter 240ms ease;
}

.nav > .nav__item:nth-child(1) {
  animation-delay: 80ms;
}

.nav > .nav__item:nth-child(2) {
  animation-delay: 130ms;
}

.nav > .nav__item:nth-child(3) {
  animation-delay: 180ms;
}

.nav > .nav__item:nth-child(4) {
  animation-delay: 230ms;
}

.nav > .nav__item:nth-child(5) {
  animation-delay: 280ms;
}

.nav > .nav__item:nth-child(6) {
  animation-delay: 330ms;
}

.nav > .nav__item:nth-child(7) {
  animation-delay: 380ms;
}

.nav__user {
  animation-delay: 430ms;
}

button.nav__item {
  border: 0;
  font-family: inherit;
  background: transparent;
}

.nav__item[hidden] {
  display: none;
}

.nav__user {
  position: relative;
  display: flex;
  min-width: 0;
  height: 100%;
}

.nav__user[hidden] {
  display: none;
}

.nav__user > .nav__item {
  width: auto;
  height: 100%;
}

.nav__item::after {
  content: "";
  position: absolute;
  right: 0;
  top: 11px;
  bottom: 11px;
  width: 1px;
  background: rgba(255, 255, 255, 0.05);
}

.nav__item--last::after {
  display: none;
}

.nav.has-user .nav__item--last::after {
  display: block;
}

.nav__item--user {
  color: #ffd277;
  cursor: pointer;
}

.nav__item:hover {
  color: #fff1db;
  transform: translateY(-2px);
  background:
    radial-gradient(circle at 50% 28%, rgba(246, 167, 40, 0.13), transparent 42%),
    rgba(255, 255, 255, 0.014);
  filter: brightness(1.05);
}

.nav__item:hover img,
.nav__user.is-open .nav__item--user img {
  transform: translateY(-4px) scale(1.07);
  filter:
    drop-shadow(0 4px 5px rgba(0, 0, 0, 0.5))
    drop-shadow(0 0 11px rgba(246, 167, 40, 0.14));
}

.nav__user.is-open .nav__item--user {
  color: #fff1db;
  background:
    linear-gradient(180deg, rgba(255, 180, 48, 0.12), rgba(45, 24, 6, 0.16));
}

.nav__item--user span {
  flex: 0 1 auto;
  overflow: hidden;
  min-width: 0;
  max-width: 122px;
  margin-left: -2px;
  padding-left: 2px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.nav__item--user::after {
  display: none;
}

.nav-user-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 12px;
  z-index: 100;
  min-width: 185px;
  padding: 7px;
  border: 1px solid rgba(245, 167, 42, 0.74);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(25, 20, 14, 0.98), rgba(11, 10, 9, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 221, 143, 0.12),
    0 10px 24px rgba(0, 0, 0, 0.48),
    0 0 18px rgba(245, 167, 42, 0.13);
  pointer-events: auto;
}

.nav-user-menu[hidden] {
  display: none;
}

.nav-user-menu::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 23px;
  width: 10px;
  height: 10px;
  border-top: 1px solid rgba(245, 167, 42, 0.74);
  border-left: 1px solid rgba(245, 167, 42, 0.74);
  background: rgba(25, 20, 14, 0.98);
  transform: rotate(45deg);
  pointer-events: none;
}

.nav-user-menu__rank {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 5px;
  min-height: 43px;
  margin-bottom: 7px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 178, 45, 0.22);
  border-radius: 4px;
  background:
    radial-gradient(circle at 10% 0%, rgba(246, 167, 40, 0.08), transparent 48%),
    linear-gradient(180deg, rgba(22, 18, 13, 0.86), rgba(10, 9, 8, 0.92));
}

.nav-user-menu__rank[hidden] {
  display: none;
}

.nav-user-menu__rank span {
  color: #c8b99f;
  font-size: 8px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.nav-user-menu__rank strong {
  overflow: hidden;
  color: #f6a728;
  font-size: 12px;
  line-height: 1.1;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-user-menu__item {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 36px;
  gap: 9px;
  border: 1px solid rgba(255, 178, 45, 0.32);
  border-radius: 4px;
  padding: 0 11px;
  color: #ffd277;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  text-align: left;
  text-transform: uppercase;
  background:
    linear-gradient(180deg, rgba(48, 34, 17, 0.82), rgba(18, 15, 12, 0.9));
  text-shadow:
    0 1px 0 rgba(82, 42, 7, 0.9),
    0 2px 2px rgba(0, 0, 0, 0.36);
  cursor: pointer;
}

.nav-user-menu__item[hidden],
.nav-user-menu__item.is-hidden {
  display: none;
}

.nav-user-menu__item + .nav-user-menu__item {
  margin-top: 7px;
}

a.nav-user-menu__item {
  text-decoration: none;
}

.nav-user-menu__item:hover {
  color: #fff1db;
  border-color: rgba(255, 190, 72, 0.7);
  filter: brightness(1.06);
}

.nav-user-menu__icon {
  position: relative;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-right: 0;
  border-radius: 3px 0 0 3px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.38);
}

.nav-user-menu__icon::before,
.nav-user-menu__icon::after {
  content: "";
  position: absolute;
  background: currentColor;
}

.nav-user-menu__icon::before {
  top: 6px;
  left: 6px;
  width: 11px;
  height: 2px;
}

.nav-user-menu__icon::after {
  top: 4px;
  right: -4px;
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  background: transparent;
  transform: rotate(45deg);
}

.nav-user-menu__icon--news {
  border-right: 2px solid currentColor;
  border-radius: 3px;
}

.nav-user-menu__icon--news::before {
  top: 4px;
  left: 3px;
  width: 8px;
  height: 2px;
}

.nav-user-menu__icon--news::after {
  top: 9px;
  left: 3px;
  right: auto;
  width: 8px;
  height: 2px;
  border: 0;
  background: currentColor;
  transform: none;
}

.nav-user-menu__icon--tickets {
  border-right: 2px solid currentColor;
  border-radius: 3px;
}

.nav-user-menu__icon--tickets::before {
  top: 3px;
  left: 3px;
  width: 8px;
  height: 2px;
  box-shadow: 0 4px 0 currentColor;
}

.nav-user-menu__icon--tickets::after {
  top: 10px;
  left: 9px;
  right: auto;
  width: 4px;
  height: 4px;
  border: 0;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  background: transparent;
  transform: rotate(45deg);
}

.nav-user-menu__icon--staff-tickets::after {
  top: 9px;
  left: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  border: 0;
  background: currentColor;
  transform: none;
}

.nav img {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
  animation: icon-bob 5.4s ease-in-out infinite;
  transition:
    transform 240ms cubic-bezier(.2,.8,.2,1),
    filter 240ms ease;
}

.nav > .nav__item:nth-child(2) img {
  animation-delay: .25s;
}

.nav > .nav__item:nth-child(3) img {
  animation-delay: .5s;
}

.nav > .nav__item:nth-child(4) img {
  animation-delay: .75s;
}

.nav > .nav__item:nth-child(5) img {
  animation-delay: 1s;
}

.nav > .nav__item:nth-child(6) img {
  animation-delay: 1.25s;
}

.nav > .nav__item:nth-child(7) img,
.nav__user img {
  animation-delay: 1.5s;
}

.nav__item--user img {
  flex: 0 0 22px;
}

.nav__item--user b {
  flex: 0 0 auto;
  transform: translateY(-5px);
}

.nav__item b {
  margin-left: -3px;
  font-size: 16px;
}

.nav__item.is-active {
  color: #ffd277;
}

.nav__item.is-active::before {
  content: "";
  position: absolute;
  left: 17px;
  right: 17px;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ffb028, transparent);
  box-shadow: 0 0 10px rgba(255, 176, 40, 0.8);
  animation: nav-glow 2.6s ease-in-out infinite;
}

.layout {
  position: relative;
  z-index: 1;
  width: 1271px;
  margin: 0 auto;
  padding-bottom: 12px;
  overflow-wrap: anywhere;
}

.layout > * {
  min-width: 0;
}

.hero {
  position: relative;
  height: 313px;
}

.logo-stage {
  position: absolute;
  top: 18px;
  left: 465px;
  width: 340px;
  height: 255px;
  display: grid;
  place-items: center;
  isolation: isolate;
  animation:
    logo-load-drop 720ms cubic-bezier(.2,.8,.2,1) 220ms both,
    logo-float 5.6s ease-in-out infinite;
}

.logo-stage__halo,
.logo-stage__embers {
  position: absolute;
  pointer-events: none;
}

.logo-stage__halo {
  inset: 38px 18px 24px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 177, 61, 0.22), rgba(255, 177, 61, 0.07) 38%, transparent 73%);
  filter: blur(10px);
  animation: halo-breathe 4.4s ease-in-out infinite;
}

.logo-stage__embers {
  inset: 0;
  background:
    radial-gradient(circle at 24% 72%, rgba(255, 187, 56, 0.55), transparent 2.2%),
    radial-gradient(circle at 77% 67%, rgba(255, 169, 36, 0.45), transparent 1.8%),
    radial-gradient(circle at 18% 42%, rgba(255, 206, 116, 0.35), transparent 1.3%),
    radial-gradient(circle at 82% 34%, rgba(255, 192, 78, 0.28), transparent 1.4%);
  opacity: 0.42;
  animation: logo-embers 4.8s ease-in-out infinite;
}

.logo-scene {
  position: relative;
  z-index: 1;
  width: 340px;
  height: 255px;
  object-fit: contain;
  filter:
    drop-shadow(0 18px 18px rgba(0, 0, 0, 0.52))
    drop-shadow(0 0 16px rgba(255, 167, 35, 0.18))
    saturate(1.06);
}

.mini-card {
  position: absolute;
  top: 110px;
  display: flex;
  align-items: center;
  width: 255px;
  height: 104px;
  padding: 14px 18px;
  border: 1px solid var(--border-soft);
  border-radius: 7px;
  color: inherit;
  background: rgba(17, 15, 13, 0.82);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  cursor: pointer;
  animation: fade-rise 760ms cubic-bezier(.2,.8,.2,1) both;
  transition:
    transform 240ms cubic-bezier(.2,.8,.2,1),
    border-color 240ms ease,
    box-shadow 240ms ease,
    background 240ms ease;
}

.mini-card:hover {
  border-color: rgba(246, 167, 40, 0.72);
  background: rgba(20, 17, 13, 0.9);
  box-shadow:
    inset 0 0 0 1px rgba(255, 233, 184, 0.04),
    0 16px 30px rgba(0, 0, 0, 0.28),
    0 0 22px rgba(246, 167, 40, 0.11);
}

.mini-card:focus-visible {
  outline: 2px solid rgba(246, 167, 40, 0.78);
  outline-offset: 5px;
}

.mini-card--left {
  left: 141px;
  justify-content: flex-end;
  animation-delay: 320ms;
}

.mini-card--right {
  right: 150px;
  animation-delay: 400ms;
}

.mini-card img {
  width: 39px;
  height: 39px;
  margin-right: 14px;
  object-fit: contain;
  transition:
    transform 260ms cubic-bezier(.2,.8,.2,1),
    filter 260ms ease;
}

.mini-card:hover img {
  transform: translateY(-3px) rotate(-3deg) scale(1.08);
  filter:
    drop-shadow(0 4px 6px rgba(0, 0, 0, 0.58))
    drop-shadow(0 0 11px rgba(246, 167, 40, 0.18));
}

.mini-card > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.mini-card--left img {
  order: 2;
  margin-right: 0;
  margin-left: 16px;
}

.mini-card--left div {
  order: 1;
  align-items: flex-end;
  text-align: right;
}

.mini-card span {
  display: block;
  color: #eab453;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow:
    -1px -1px 0 rgba(255, 231, 177, 0.2),
    0 1px 0 rgba(104, 56, 10, 0.94),
    0 2px 0 rgba(42, 20, 3, 0.68),
    1px 2px 1px rgba(0, 0, 0, 0.26);
}

.mini-card strong {
  display: block;
  margin: 0;
  color: #f4e3c7;
  font-size: 21px;
  line-height: 1;
  font-weight: 700;
  text-shadow:
    -1px -1px 0 rgba(255, 252, 247, 0.24),
    0 1px 0 rgba(42, 26, 12, 0.9),
    0 2px 0 rgba(0, 0, 0, 0.5),
    1px 2px 1px rgba(0, 0, 0, 0.24);
}

.mini-card strong em {
  color: rgba(244, 227, 199, 0.62);
  font-style: normal;
  font-size: 17px;
  font-weight: 600;
}

.mini-card strong[data-stat-value] {
  min-width: 58px;
}

.mini-card p {
  margin: 0;
  color: #ede2d2;
  font-size: 11px;
  font-weight: 300;
  line-height: 1.42;
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-shadow:
    -1px -1px 0 rgba(255, 250, 242, 0.12),
    0 1px 0 rgba(36, 22, 10, 0.84),
    0 2px 0 rgba(0, 0, 0, 0.36);
}

.mini-card p::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(66, 209, 58, 0.75);
  animation: status-pulse 2s ease-in-out infinite;
}

.mini-card--left p {
  display: inline-flex;
  flex-direction: row-reverse;
  align-items: center;
}

.mini-card--left p::before {
  margin-right: 0;
  margin-left: 10px;
}

.mini-card.is-unknown p::before {
  background: #f6a728;
  box-shadow: 0 0 10px rgba(246, 167, 40, 0.72);
}

.mini-card.is-offline p::before {
  background: #ff4c2f;
  box-shadow: 0 0 10px rgba(255, 76, 47, 0.72);
}

.panel {
  border: 1px solid var(--border-soft);
  border-radius: 7px;
  background: var(--panel);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 14px 32px rgba(0, 0, 0, 0.18);
  transition:
    border-color 260ms ease,
    box-shadow 260ms ease,
    filter 260ms ease;
}

.panel:hover {
  border-color: rgba(224, 145, 34, 0.74);
  box-shadow:
    inset 0 0 0 1px rgba(255, 232, 180, 0.055),
    inset 0 0 28px rgba(246, 167, 40, 0.045),
    0 14px 32px rgba(0, 0, 0, 0.22),
    0 0 24px rgba(246, 167, 40, 0.1);
  filter: brightness(1.035);
}

.grid {
  display: grid;
  grid-template-columns: 897px 357px;
  grid-template-rows: 132px;
  gap: 13px 17px;
}

.welcome {
  position: relative;
}

.banner-card {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  min-height: 132px;
  padding: 0 21px 0 203px;
  background:
    linear-gradient(90deg, rgba(44, 29, 11, 0.18), rgba(19, 15, 11, 0.95) 18%, rgba(13, 11, 9, 0.98) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 196, 95, 0.03),
    inset 0 18px 36px rgba(255, 170, 40, 0.02),
    0 14px 32px rgba(0, 0, 0, 0.18);
}

.banner-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 46%, rgba(255, 181, 56, 0.14), transparent 12%),
    linear-gradient(105deg, transparent 0 8%, rgba(255, 191, 84, 0.06) 12%, transparent 18%),
    radial-gradient(circle at 26% 4%, rgba(255, 191, 84, 0.09), transparent 18%),
    linear-gradient(90deg, rgba(255, 174, 41, 0.03), transparent 22%);
}

.banner-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(90deg, transparent 0 7%, rgba(255, 201, 108, 0.14) 9%, transparent 12%),
    linear-gradient(90deg, transparent 24%, rgba(255, 189, 66, 0.08) 32%, transparent 38%),
    linear-gradient(90deg, transparent 74%, rgba(255, 194, 87, 0.07) 81%, transparent 88%);
  opacity: 0.7;
  mix-blend-mode: screen;
}

.banner-card {
  border-color: rgba(180, 111, 20, 0.52);
  animation: fade-rise 760ms cubic-bezier(.2,.8,.2,1) 480ms both;
}

.banner-card:hover::after {
  opacity: 0.78;
}

.banner-card__media {
  position: absolute;
  left: 5px;
  bottom: -4px;
  width: 184px;
  height: 132px;
  object-fit: contain;
  animation: torch-sway 4.8s ease-in-out infinite;
}

.welcome__character-wrap {
  position: absolute;
  left: 5px;
  bottom: -4px;
  z-index: 1;
  width: 184px;
  height: 132px;
  transition:
    transform 260ms cubic-bezier(.2,.8,.2,1),
    filter 260ms ease;
}

.welcome__character-wrap .welcome__character {
  left: 0;
  bottom: 0;
}

.welcome:hover .welcome__character-wrap {
  transform: translateY(-3px) rotate(-3deg) scale(1.08);
  filter:
    drop-shadow(0 4px 6px rgba(0, 0, 0, 0.58))
    drop-shadow(0 0 11px rgba(246, 167, 40, 0.18));
}

.banner-card__copy {
  position: relative;
  z-index: 1;
  width: 491px;
}

body.is-authenticated .welcome__copy {
  width: auto;
  flex: 1;
  max-width: none;
  padding-right: 10px;
}

.banner-card__copy h1,
.banner-card__copy h2 {
  margin: 4px 0 7px;
  color: #eee1cf;
  font-size: 21px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-shadow:
    -1px -1px 0 rgba(255, 252, 247, 0.28),
    0 1px 0 rgba(42, 26, 12, 0.94),
    0 2px 0 rgba(0, 0, 0, 0.54),
    1px 2px 1px rgba(0, 0, 0, 0.24);
}

.banner-card__copy p {
  margin: 0;
  color: #e6d7c2;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.58;
  letter-spacing: 0.01em;
  text-shadow:
    -1px -1px 0 rgba(255, 250, 242, 0.12),
    0 1px 0 rgba(36, 22, 10, 0.84),
    0 2px 0 rgba(0, 0, 0, 0.36);
}

body.is-authenticated .welcome__copy p {
  max-width: 100%;
}

body.is-authenticated .welcome__copy p br {
  display: none;
}

.banner-card__actions {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  width: 178px;
  margin-left: auto;
}

body.is-authenticated .welcome__actions {
  display: none;
}

.button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 45px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  text-shadow:
    -1px -1px 0 rgba(255, 239, 208, 0.16),
    0 1px 0 rgba(103, 52, 8, 0.9),
    0 2px 0 rgba(45, 21, 3, 0.56),
    1px 2px 1px rgba(0, 0, 0, 0.2);
  transition:
    transform 180ms ease,
    filter 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.button:hover {
  border-color: rgba(255, 198, 82, 0.82);
  box-shadow: 0 0 18px rgba(246, 167, 40, 0.14);
  filter: brightness(1.08);
}

.welcome__actions .button:hover {
  transform: translateY(-1px);
}

.button--primary,
.button--wide {
  color: #fff1db;
  background: linear-gradient(180deg, #d98c21 0%, #9a4f08 100%);
  border: 1px solid rgba(255, 183, 63, 0.68);
}

.button--primary {
  padding: 0 16px;
  background: linear-gradient(180deg, #d98a20 0%, #9f5409 100%);
  background-size: 100% 140%;
  animation: button-glow 3.6s ease-in-out infinite;
}

.button--secondary {
  color: #f3ead8;
  border: 1px solid rgba(172, 108, 21, 0.48);
  background: linear-gradient(180deg, rgba(68, 63, 49, 0.78), rgba(22, 18, 13, 0.94));
}

.button--secondary:hover {
  border-color: rgba(246, 167, 40, 0.86);
  box-shadow:
    0 0 18px rgba(246, 167, 40, 0.22),
    inset 0 0 0 1px rgba(246, 167, 40, 0.12);
}

.button__icon {
  width: auto;
  height: 25px;
  object-fit: contain;
  filter:
    drop-shadow(0 1px 1px rgba(0, 0, 0, 0.62))
    drop-shadow(0 0 6px rgba(255, 173, 42, 0.18))
    brightness(1.08);
}

.shop {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 22px;
  animation: fade-rise 760ms cubic-bezier(.2,.8,.2,1) 560ms both;
}

.shop > div,
.benefits article > div {
  min-width: 0;
  transition: transform 240ms cubic-bezier(.2,.8,.2,1);
}

.benefits__icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 51px;
  height: 56px;
  transition: transform 240ms cubic-bezier(.2,.8,.2,1);
}

.shop img {
  width: 37px;
  height: 39px;
  object-fit: contain;
  transition:
    transform 260ms cubic-bezier(.2,.8,.2,1),
    filter 260ms ease;
}

.shop:hover img {
  transform: translateY(-3px) rotate(-3deg) scale(1.08);
  filter:
    drop-shadow(0 4px 6px rgba(0, 0, 0, 0.58))
    drop-shadow(0 0 11px rgba(246, 167, 40, 0.18));
}

.shop h2,
.staff h2,
.players h2,
.panel-title h2 {
  margin: 0;
  color: #f6c35e;
  font-size: 16px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-shadow:
    -1px -1px 0 rgba(255, 233, 184, 0.22),
    0 1px 0 rgba(104, 56, 10, 0.94),
    0 2px 0 rgba(42, 20, 3, 0.68),
    1px 2px 1px rgba(0, 0, 0, 0.26);
}

.shop p {
  margin: 6px 0 6px;
  color: #eadcc9;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.01em;
  text-shadow:
    -1px -1px 0 rgba(255, 250, 242, 0.12),
    0 1px 0 rgba(36, 22, 10, 0.84),
    0 2px 0 rgba(0, 0, 0, 0.36);
}

.shop a {
  color: #f9af28;
  font-size: 13px;
  font-weight: 700;
  text-shadow:
    -1px -1px 0 rgba(255, 229, 170, 0.22),
    0 1px 0 rgba(102, 53, 8, 0.92),
    0 2px 0 rgba(42, 20, 3, 0.64),
    1px 2px 1px rgba(0, 0, 0, 0.24);
}

.shop a span {
  margin-left: 8px;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 95px;
  margin-top: 17px;
  border-radius: 5px 5px 0 0;
  animation: fade-rise 760ms cubic-bezier(.2,.8,.2,1) 640ms both;
}

.benefits article {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 20px;
  transition:
    background 240ms ease,
    transform 240ms cubic-bezier(.2,.8,.2,1);
}

.benefits article:hover {
  background:
    radial-gradient(circle at 25% 35%, rgba(246, 167, 40, 0.13), transparent 36%),
    rgba(255, 255, 255, 0.015);
  box-shadow: inset 0 0 18px rgba(246, 167, 40, 0.04);
}

.benefits article:hover .benefits__icon {
  transform: translateY(-2px);
}

.benefits article:hover img {
  filter:
    drop-shadow(0 4px 5px rgba(0, 0, 0, 0.5))
    drop-shadow(0 0 11px rgba(246, 167, 40, 0.14));
}

.benefits article:hover > div {
  transform: translateY(-2px);
}

.benefits article + article {
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}

.benefits img {
  width: 51px;
  height: 56px;
  object-fit: contain;
  animation: icon-bob 5.4s ease-in-out infinite;
  transition: filter 240ms ease;
}

.benefits article:nth-child(2) img {
  animation-delay: .5s;
}

.benefits article:nth-child(3) img {
  animation-delay: 1s;
}

.benefits article:nth-child(4) img {
  animation-delay: 1.5s;
}

.benefits h3 {
  margin: 0 0 2px;
  color: #f6a728;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-shadow:
    -1px -1px 0 rgba(255, 233, 184, 0.22),
    0 1px 0 rgba(104, 56, 10, 0.94),
    0 2px 0 rgba(42, 20, 3, 0.68),
    1px 2px 1px rgba(0, 0, 0, 0.26);
}

.benefits p {
  margin: 0;
  color: #ded1bf;
  font-size: 11px;
  font-weight: 300;
  line-height: 1.45;
  letter-spacing: 0.01em;
  text-shadow:
    -1px -1px 0 rgba(255, 250, 242, 0.12),
    0 1px 0 rgba(36, 22, 10, 0.84),
    0 2px 0 rgba(0, 0, 0, 0.36);
}

.news {
  margin-top: 18px;
  padding: 15px 17px 17px;
  background:
    linear-gradient(180deg, rgba(18, 15, 12, 0.9), rgba(10, 9, 8, 0.94)),
    var(--panel);
  animation: fade-rise 760ms cubic-bezier(.2,.8,.2,1) 720ms both;
}

.section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
}

.section-heading__title {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.section-heading__icon {
  width: 34px;
  height: 34px;
  margin-top: -7px;
  object-fit: contain;
  filter:
    drop-shadow(0 2px 1px rgba(0, 0, 0, 0.62))
    drop-shadow(0 0 9px rgba(246, 167, 40, 0.28));
  transform: rotate(-2deg);
  animation: icon-bob 5.8s ease-in-out infinite;
}
.section-heading__mark {
  position: relative;
  display: block;
  width: 22px;
  height: 24px;
  margin-top: 1px;
  border: 2px solid rgba(240, 183, 88, 0.88);
  border-radius: 3px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 10px rgba(243, 158, 28, 0.12);
}

.section-heading__mark::before,
.section-heading__mark::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  height: 2px;
  background: rgba(240, 183, 88, 0.9);
}

.section-heading__mark::before {
  top: 7px;
}

.section-heading__mark::after {
  top: 13px;
}

.section-heading h1,
.section-heading h2 {
  margin: 0 0 4px;
  color: #f6a728;
  font-size: 17px;
  line-height: 1;
  font-weight: 700;
  text-shadow:
    -1px -1px 0 rgba(255, 233, 184, 0.22),
    0 1px 0 rgba(104, 56, 10, 0.94),
    0 2px 0 rgba(42, 20, 3, 0.68),
    1px 2px 1px rgba(0, 0, 0, 0.26);
}

.section-heading p {
  margin: 0;
  color: #dbcbb5;
  font-size: 10px;
  font-weight: 300;
  line-height: 1.45;
}

.section-heading > a {
  margin-top: 3px;
  color: #f7a71f;
  font-size: 11px;
  font-weight: 700;
  text-shadow:
    -1px -1px 0 rgba(255, 229, 170, 0.22),
    0 1px 0 rgba(102, 53, 8, 0.92),
    0 2px 0 rgba(42, 20, 3, 0.64);
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 122px 122px 122px;
  gap: 10px;
}

.news-grid:not(.news-grid--archive).news-grid--count-1 {
  grid-template-columns: 1fr;
  grid-template-rows: 254px;
}

.news-grid:not(.news-grid--archive).news-grid--count-1 .news-card--feature {
  grid-row: auto;
}

.news-grid:not(.news-grid--archive).news-grid--count-2,
.news-grid:not(.news-grid--archive).news-grid--count-3 {
  grid-template-rows: 122px 122px;
}

.news-grid:not(.news-grid--archive).news-grid--count-2 .news-card:nth-child(2) {
  grid-row: span 2;
}

.news-grid:not(.news-grid--archive).news-grid--count-4 .news-card:nth-child(4) {
  grid-column: 1 / -1;
}

.news-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(170, 108, 25, 0.36);
  border-radius: 6px;
  background: rgba(12, 11, 10, 0.84);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 12px 24px rgba(0, 0, 0, 0.18);
  transition:
    transform 260ms cubic-bezier(.2,.8,.2,1),
    border-color 260ms ease,
    box-shadow 260ms ease,
    filter 260ms ease;
}

.news-card:hover {
  transform: translateY(-4px) scale(1.006);
  border-color: rgba(246, 167, 40, 0.68);
  box-shadow:
    inset 0 0 0 1px rgba(255, 235, 190, 0.04),
    0 18px 42px rgba(0, 0, 0, 0.32),
    0 0 24px rgba(246, 167, 40, 0.09);
  filter: brightness(1.035);
}

.news-card:hover > img {
  transform: scale(1.045);
  filter: saturate(1.08) contrast(1.05);
}

.news-card--feature {
  grid-row: span 2;
}

.news-card--feature > img,
.news-card__overlay {
  position: absolute;
  inset: 0;
}

.news-card--feature > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 420ms ease,
    filter 420ms ease;
}

.news-card__overlay {
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.88), rgba(8, 8, 8, 0.56) 46%, rgba(8, 8, 8, 0.16) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.44));
}

.news-card__content,
.news-card__body {
  position: relative;
  z-index: 2;
}

.news-card__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  row-gap: 7px;
  height: 100%;
  min-height: 0;
  max-width: 66%;
  padding: 14px 15px 13px;
}

.news-card--feature .news-card__content {
  max-width: none;
}

.news-card--feature .news-card__tags,
.news-card--feature h3,
.news-card--feature p {
  max-width: 66%;
}

.news-card--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 214px;
  grid-template-rows: minmax(0, 1fr);
}

.news-card--split > img,
.news-card--image-left > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: left center;
  transition:
    transform 420ms ease,
    filter 420ms ease;
}

.news-card--image-left > img {
  transform-origin: right center;
}

.news-card--split::after,
.news-card--image-left::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
}

.news-card--split::after {
  right: -1px;
  width: 248px;
  background:
    linear-gradient(90deg, rgba(12, 11, 10, 1) 0%, rgba(12, 11, 10, 0.88) 16%, rgba(12, 11, 10, 0.56) 36%, rgba(12, 11, 10, 0.22) 62%, rgba(12, 11, 10, 0.06) 82%, transparent 98%),
    linear-gradient(90deg, rgba(12, 11, 10, 0.18), rgba(12, 11, 10, 0.18));
}

.news-card--image-left {
  grid-template-columns: 188px minmax(0, 1fr);
}

.news-card--image-left::after {
  left: -1px;
  right: auto;
  width: 252px;
  background:
    linear-gradient(90deg, transparent 0%, transparent 8%, rgba(12, 11, 10, 0.10) 22%, rgba(12, 11, 10, 0.36) 44%, rgba(12, 11, 10, 0.72) 62%, rgba(12, 11, 10, 1) 78%, rgba(12, 11, 10, 1) 100%),
    linear-gradient(90deg, rgba(12, 11, 10, 0.18), rgba(12, 11, 10, 0.18));
}

.news-card--discord {
  grid-template-columns: minmax(0, 1fr) 176px;
}

.news-grid:not(.news-grid--archive) .news-card--discord {
  grid-template-columns: minmax(0, 1fr) 214px;
}

.news-card--discord::after {
  width: 208px;
  background:
    linear-gradient(90deg, rgba(12, 11, 10, 1) 0%, rgba(12, 11, 10, 0.84) 16%, rgba(12, 11, 10, 0.44) 42%, rgba(12, 11, 10, 0.10) 70%, transparent 96%),
    linear-gradient(90deg, rgba(12, 11, 10, 0.18), rgba(12, 11, 10, 0.18));
}

.news-card--discord > img {
  object-fit: contain;
  width: 128px;
  height: 96px;
  align-self: center;
  justify-self: center;
  filter:
    drop-shadow(0 10px 12px rgba(0, 0, 0, 0.28))
    drop-shadow(0 0 10px rgba(66, 115, 255, 0.16));
}

.news-grid:not(.news-grid--archive) .news-card--image-left.news-card--discord {
  grid-template-columns: 188px minmax(0, 1fr);
}

.news-grid:not(.news-grid--archive) .news-card--image-left.news-card--discord::after {
  left: -1px;
  right: auto;
  width: 252px;
  background:
    linear-gradient(90deg, transparent 0%, transparent 8%, rgba(12, 11, 10, 0.10) 22%, rgba(12, 11, 10, 0.36) 44%, rgba(12, 11, 10, 0.72) 62%, rgba(12, 11, 10, 1) 78%, rgba(12, 11, 10, 1) 100%),
    linear-gradient(90deg, rgba(12, 11, 10, 0.18), rgba(12, 11, 10, 0.18));
}

.news-card__body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  row-gap: 7px;
  align-self: stretch;
  min-width: 0;
  min-height: 0;
  padding: 11px 13px;
}

.news-card__tags {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  gap: 6px;
  max-width: 100%;
  height: 18px;
  overflow: hidden;
}

.news-card__tags span {
  display: inline-flex;
  align-items: center;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  height: 18px;
  padding: 0 8px;
  border: 1px solid rgba(255, 209, 119, 0.24);
  border-radius: 3px;
  color: #fff0d2;
  font-size: 8px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: linear-gradient(180deg, #d98a1b, #6f3d08);
  box-shadow:
    inset 0 1px 0 rgba(255, 241, 205, 0.18),
    0 0 10px rgba(224, 121, 31, 0.12);
  text-shadow:
    0 1px 0 rgba(78, 35, 8, 0.92),
    0 2px 0 rgba(0, 0, 0, 0.34);
}

.news-card__tags span:nth-child(2) {
  border-color: rgba(139, 231, 126, 0.28);
  background: linear-gradient(180deg, #3a9f35, #1e5724);
  box-shadow:
    inset 0 1px 0 rgba(255, 241, 205, 0.18),
    0 0 10px rgba(58, 159, 53, 0.13);
}

.news-grid > .news-card:nth-child(1) .news-card__tags span:first-child {
  border-color: rgba(186, 209, 154, 0.28);
  background: linear-gradient(180deg, #5d755d, #304030);
}

.news-grid > .news-card:nth-child(1) .news-card__tags span:nth-child(2) {
  border-color: rgba(255, 237, 102, 0.28);
  background: linear-gradient(180deg, #b8a72a, #5f5514);
}

.news-grid > .news-card:nth-child(2) .news-card__tags span:first-child {
  border-color: rgba(255, 209, 119, 0.24);
  background: linear-gradient(180deg, #d98a1b, #6f3d08);
}

.news-grid > .news-card:nth-child(3) .news-card__tags span:first-child {
  border-color: rgba(255, 168, 202, 0.28);
  background: linear-gradient(180deg, #b94f78, #61283f);
}

.news-grid > .news-card:nth-child(3) .news-card__tags span:nth-child(2) {
  border-color: rgba(158, 151, 220, 0.3);
  background: linear-gradient(180deg, #524e7e, #2e2b4b);
}

.news-grid > .news-card:nth-child(4) .news-card__tags span:first-child {
  border-color: rgba(186, 209, 154, 0.28);
  background: linear-gradient(180deg, #5d755d, #304030);
}

.news-grid > .news-card:nth-child(4) .news-card__tags span:nth-child(2) {
  border-color: rgba(184, 230, 126, 0.28);
  background: linear-gradient(180deg, #6f9e32, #38551b);
}

.news-grid > .news-card:nth-child(5) .news-card__tags span:first-child {
  border-color: rgba(196, 184, 169, 0.28);
  background: linear-gradient(180deg, #756657, #39312a);
}

.news-grid > .news-card:nth-child(5) .news-card__tags span:nth-child(2) {
  border-color: rgba(255, 139, 113, 0.28);
  background: linear-gradient(180deg, #b84732, #5e241b);
}

.news-card h3 {
  flex: 0 0 auto;
  margin: 0;
  color: #f1e3d2;
  font-size: 15px;
  line-height: 1.15;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-shadow:
    -1px -1px 0 rgba(255, 252, 247, 0.2),
    0 1px 0 rgba(42, 26, 12, 0.94),
    0 2px 0 rgba(0, 0, 0, 0.42);
}

.news-card p {
  flex: 0 1 auto;
  margin: 0;
  color: #ddcfbc;
  font-size: 10px;
  font-weight: 300;
  line-height: 1.48;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.news-grid:not(.news-grid--archive) .news-card--feature p,
.news-grid:not(.news-grid--archive).news-grid--count-2 .news-card:nth-child(2) p {
  -webkit-line-clamp: 6;
  line-clamp: 6;
}

.news-card footer {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 104px;
  align-items: center;
  gap: 12px;
  justify-self: stretch;
  width: 100%;
  margin-top: 0;
}

.news-card small {
  min-width: 0;
  color: #c4b7a5;
  font-size: 9px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-card small::before {
  content: "▣";
  margin-right: 6px;
  color: rgba(240, 183, 88, 0.82);
}

.news-card a {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
  gap: 5px;
  width: 104px;
  color: #f5a822;
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.news--archive {
  margin-top: 0;
  animation-delay: 520ms;
}

.news-grid--archive {
  grid-template-columns: 1fr;
  grid-template-rows: none;
  grid-auto-rows: 132px;
}

.news-grid--archive[hidden] {
  display: none;
}

.news-grid--archive .news-card {
  position: relative;
  height: 132px;
  min-height: 132px;
}

.news-grid--archive .news-card--split,
.news-grid--archive .news-card--image-left,
.news-grid--archive .news-card--discord {
  grid-template-columns: minmax(0, 1fr) 310px;
}

.news-grid--archive .news-card--image-left {
  grid-template-columns: minmax(0, 1fr) 310px;
}

.news-grid--archive .news-card--split > img,
.news-grid--archive .news-card--image-left > img {
  height: 100%;
  min-height: 0;
}

.news-grid--archive .news-card--image-left > img {
  order: 2;
}

.news-grid--archive .news-card--image-left .news-card__body {
  order: 1;
}

.news-grid--archive .news-card--split::after,
.news-grid--archive .news-card--discord::after,
.news-grid--archive .news-card--image-left::after {
  left: auto;
  right: -1px;
  width: 360px;
  background:
    linear-gradient(90deg, rgba(12, 11, 10, 1) 0%, rgba(12, 11, 10, 0.92) 17%, rgba(12, 11, 10, 0.68) 38%, rgba(12, 11, 10, 0.28) 64%, rgba(12, 11, 10, 0.08) 82%, transparent 100%);
}

.news-grid--archive .news-card__body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  row-gap: 7px;
  align-self: stretch;
  justify-self: stretch;
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  padding: 15px 16px;
}

.news-grid--archive .news-card h3 {
  margin: 0;
  font-size: 18px;
}

.news-grid--archive .news-card p {
  margin: 0;
  font-size: 11px;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.news-grid--archive .news-card footer {
  grid-template-columns: minmax(0, 1fr) auto;
  align-self: end;
  margin-top: 0;
  padding-right: 0;
}

.news-grid--archive .news-card footer a {
  width: auto;
}

.news-empty {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  min-height: 122px;
  margin: 0;
  border: 1px dashed rgba(255, 178, 45, 0.28);
  border-radius: 6px;
  color: #dbcbb5;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  background: rgba(12, 11, 10, 0.58);
}

.news-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.news-pagination[hidden] {
  display: none;
}

.news-pagination a {
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 178, 45, 0.34);
  border-radius: 4px;
  color: #ffd277;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  background:
    linear-gradient(180deg, rgba(48, 34, 17, 0.82), rgba(18, 15, 12, 0.9));
  box-shadow:
    inset 0 1px 0 rgba(255, 229, 170, 0.08),
    0 8px 18px rgba(0, 0, 0, 0.2);
}

.news-pagination a:hover,
.news-pagination a.is-active {
  color: #fff1db;
  border-color: rgba(255, 190, 72, 0.72);
  background:
    linear-gradient(180deg, rgba(104, 62, 16, 0.84), rgba(36, 22, 12, 0.94));
}

.news-detail {
  display: grid;
  margin-bottom: 12px;
  border: 1px solid rgba(170, 108, 25, 0.36);
  border-radius: 6px;
  overflow: hidden;
  background:
    radial-gradient(circle at 9% 0%, rgba(246, 167, 40, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(15, 13, 11, 0.95), rgba(9, 8, 7, 0.96));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 14px 28px rgba(0, 0, 0, 0.22);
}

.news-detail[hidden] {
  display: none;
}

.news-detail__image {
  display: grid;
  place-items: center;
  padding: 16px 16px 0;
}

.news-detail__image img {
  width: min(100%, 860px);
  height: 360px;
  border: 1px solid rgba(170, 108, 25, 0.36);
  border-radius: 5px;
  object-fit: cover;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
}

.news-detail__header {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 16px 18px 14px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 178, 45, 0.18);
}

.news-detail h2 {
  margin: 0;
  color: #f1e3d2;
  font-size: 24px;
  line-height: 1.1;
}

.news-detail__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.news-detail__tags span {
  display: inline-flex;
  align-items: center;
  height: 19px;
  padding: 0 8px;
  border: 1px solid rgba(255, 209, 119, 0.24);
  border-radius: 3px;
  color: #fff0d2;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.news-detail small {
  color: #c4b7a5;
  font-size: 10px;
}

.news-detail__content {
  display: grid;
  gap: 10px;
  width: min(100%, 860px);
  margin: 0 auto;
  padding: 14px 18px 16px;
}

.news-detail__content p,
.news-detail__content div {
  margin: 0;
  color: #ddcfbc;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.65;
}

.news-detail__content h3,
.news-detail__content h4 {
  margin: 4px 0 0;
  color: #f1e3d2;
  line-height: 1.25;
}

.news-detail__content h3 {
  font-size: 18px;
}

.news-detail__content h4 {
  font-size: 15px;
}

.news-detail__content ul,
.news-detail__content ol {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 22px;
  color: #ddcfbc;
  font-size: 12px;
  line-height: 1.6;
}

.news-detail__content a {
  color: #f5a822;
  font-weight: 800;
}

.news-detail__content strong,
.news-detail__content b {
  color: #b8ad9b;
  font-size: 1em;
  font-weight: 700;
  line-height: inherit;
}

.news-code-block {
  position: relative;
  display: grid;
  min-width: 0;
  overflow: hidden;
  border-radius: 5px;
  transition:
    transform 190ms ease,
    filter 190ms ease;
}

.news-code-block:hover {
  transform: translateY(-1px);
}

.news-code-block .news-code-copy {
  position: absolute;
  top: 50%;
  right: 8px;
  z-index: 2;
  transform: translateY(-50%);
}

.news-code-block .news-code-copy:disabled {
  cursor: default;
  opacity: 0.78;
}

.news-detail__content code {
  border: 1px solid rgba(255, 178, 45, 0.2);
  border-radius: 3px;
  padding: 1px 5px;
  color: #ffe2a3;
  font-family: "Monocraft", Consolas, "Courier New", monospace;
  font-size: 11px;
  background: rgba(246, 167, 40, 0.09);
}

.news-detail__content pre {
  overflow: auto;
  margin: 0;
  border: 1px solid rgba(255, 178, 45, 0.24);
  border-radius: 5px;
  padding: 12px 54px 12px 12px;
  color: #f4e6d5;
  font-family: "Monocraft", Consolas, "Courier New", monospace;
  font-size: 11px;
  line-height: 1.55;
  white-space: pre-wrap;
  background:
    linear-gradient(180deg, rgba(18, 15, 12, 0.98), rgba(9, 8, 7, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 241, 205, 0.06);
  transition:
    border-color 190ms ease,
    background 190ms ease,
    box-shadow 190ms ease;
}

.news-code-block:hover pre {
  border-color: rgba(246, 167, 40, 0.72);
  background:
    linear-gradient(180deg, rgba(24, 19, 13, 0.98), rgba(9, 8, 7, 0.98));
  box-shadow:
    inset 0 0 0 1px rgba(255, 232, 181, 0.04),
    inset 0 1px 0 rgba(255, 241, 205, 0.1),
    0 0 17px rgba(246, 167, 40, 0.08);
}

.news-detail__content pre code {
  display: block;
  border: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  background: transparent;
}

.news-detail__content blockquote {
  margin: 0;
  border-left: 3px solid rgba(246, 167, 40, 0.62);
  padding: 8px 10px;
  color: #f1e3d2;
  background: rgba(246, 167, 40, 0.08);
}

.news-detail__content figure {
  display: grid;
  gap: 7px;
  margin: 2px 0;
}

.news-detail__content img {
  display: block;
  max-width: 100%;
  max-height: 520px;
  margin: 0 auto;
  border: 1px solid rgba(170, 108, 25, 0.36);
  border-radius: 5px;
  object-fit: cover;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
}

.news-detail__content figcaption {
  color: #c4b7a5;
  font-size: 10px;
  text-align: center;
}

.news-detail__back {
  display: inline-flex;
  width: fit-content;
  margin: 0 auto 16px;
  color: #f5a822;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}

.news-editor {
  padding: 16px 17px 17px;
  background:
    linear-gradient(180deg, rgba(18, 15, 12, 0.9), rgba(10, 9, 8, 0.94)),
    var(--panel);
  animation: fade-rise 760ms cubic-bezier(.2,.8,.2,1) 580ms both;
}

.news-editor__status {
  min-height: 28px;
  margin: 0 0 12px;
  color: #dbcbb5;
  font-size: 11px;
  font-weight: 700;
}

.news-editor__status.is-visible {
  display: grid;
  align-items: center;
  border: 1px solid rgba(255, 178, 45, 0.26);
  border-radius: 4px;
  padding: 0 10px;
  background: rgba(14, 12, 10, 0.78);
}

.news-editor__status.is-error {
  color: #ffb29f;
  border-color: rgba(255, 111, 80, 0.34);
}

.news-editor__status.is-success {
  color: #bff0a8;
  border-color: rgba(132, 213, 103, 0.34);
}

.news-editor__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 14px;
  align-items: start;
  min-width: 0;
}

.news-editor__form,
.news-editor__list-wrap {
  min-width: 0;
  border: 1px solid rgba(170, 108, 25, 0.36);
  border-radius: 6px;
  background:
    radial-gradient(circle at 12% 0%, rgba(246, 167, 40, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(15, 13, 11, 0.95), rgba(9, 8, 7, 0.96));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 12px 24px rgba(0, 0, 0, 0.16);
}

.news-editor__form {
  display: grid;
  align-self: start;
  align-content: start;
  gap: 12px;
  padding: 14px;
}

.news-editor__mode {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(255, 178, 45, 0.34);
  border-radius: 5px;
  padding: 11px 12px;
  background:
    radial-gradient(circle at 100% 0%, rgba(246, 167, 40, 0.12), transparent 38%),
    rgba(17, 14, 11, 0.9);
}

.news-editor__mode span {
  color: #f6a728;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.news-editor__mode strong {
  overflow: hidden;
  color: #f1e3d2;
  font-size: 14px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-editor__mode.is-editing {
  border-color: rgba(132, 213, 103, 0.42);
  background:
    radial-gradient(circle at 100% 0%, rgba(132, 213, 103, 0.14), transparent 38%),
    rgba(17, 14, 11, 0.9);
}

.news-editor__mode.is-editing span {
  color: #bff0a8;
}

.news-editor__field {
  display: grid;
  align-content: start;
  gap: 7px;
  min-width: 0;
}

.news-editor__field label,
.news-editor__toggle {
  color: #ffd277;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.news-editor__field input,
.news-editor__field select,
.news-editor__field textarea {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  border: 1px solid rgba(255, 178, 45, 0.28);
  border-radius: 4px;
  padding: 11px 12px;
  color: #f4e6d5;
  font: inherit;
  font-size: 12px;
  line-height: 1.45;
  background:
    linear-gradient(180deg, rgba(20, 17, 14, 0.96), rgba(11, 10, 9, 0.98));
  outline: none;
}

.news-editor__field select {
  min-height: 42px;
  padding-right: 38px;
  color-scheme: dark;
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, #ffd277 50%) right 18px center / 6px 6px no-repeat,
    linear-gradient(135deg, #ffd277 50%, transparent 50%) right 12px center / 6px 6px no-repeat,
    linear-gradient(180deg, rgba(20, 17, 14, 0.98), rgba(11, 10, 9, 0.99));
  cursor: pointer;
}

.news-editor__field select option {
  color: #f4e6d5;
  background: #120f0c;
}

.news-editor__field select option:checked {
  color: #fff1db;
  background: #7a410b;
}

.news-editor__field textarea {
  resize: vertical;
}

.news-editor__hint {
  margin: -2px 0 0;
  color: #c4b7a5;
  font-size: 10px;
  line-height: 1.5;
}

.news-editor__field textarea[name="summary"] {
  resize: none;
}

.news-editor__field input:focus,
.news-editor__field select:focus,
.news-editor__field textarea:focus {
  border-color: rgba(246, 167, 40, 0.7);
  box-shadow: 0 0 0 2px rgba(246, 167, 40, 0.12);
}

.news-rich-editor__source {
  display: none;
}

.news-rich-editor {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 178, 45, 0.28);
  border-radius: 4px;
  background:
    linear-gradient(180deg, rgba(20, 17, 14, 0.96), rgba(11, 10, 9, 0.98));
}

.news-rich-editor__toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  min-width: 0;
  border-bottom: 1px solid rgba(255, 178, 45, 0.18);
  padding: 7px;
  background: rgba(246, 167, 40, 0.06);
}

.news-rich-editor__toolbar > * {
  max-width: 100%;
}

.news-rich-editor__toolbar button {
  display: inline-grid;
  place-items: center;
  min-width: 32px;
  height: 30px;
  border: 1px solid rgba(255, 178, 45, 0.28);
  border-radius: 3px;
  padding: 0 8px;
  color: #f6d08a;
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  background: linear-gradient(180deg, rgba(39, 31, 21, 0.96), rgba(18, 15, 12, 0.98));
  cursor: pointer;
}

.news-rich-editor__toolbar button:hover {
  border-color: rgba(246, 167, 40, 0.64);
  color: #fff1db;
}

.news-rich-editor__toolbar input[type="url"] {
  flex: 1 1 170px;
  width: auto;
  min-width: 0;
  max-width: 100%;
  height: 30px;
  border: 1px solid rgba(255, 178, 45, 0.28);
  border-radius: 3px;
  padding: 0 9px;
  color: #f6d08a;
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  background: linear-gradient(180deg, rgba(25, 20, 15, 0.96), rgba(13, 11, 9, 0.98));
  outline: none;
}

.news-rich-editor__toolbar input[type="url"]::placeholder {
  color: rgba(246, 208, 138, 0.58);
}

.news-rich-editor__toolbar input[type="url"]:focus {
  border-color: rgba(246, 167, 40, 0.64);
  box-shadow: 0 0 0 2px rgba(246, 167, 40, 0.12);
}

.news-rich-editor__color {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 30px;
  border: 1px solid rgba(255, 178, 45, 0.28);
  border-radius: 3px;
  padding: 0 7px 0 9px;
  color: #f6d08a;
  font-size: 10px;
  font-weight: 800;
  background: linear-gradient(180deg, rgba(39, 31, 21, 0.96), rgba(18, 15, 12, 0.98));
  cursor: pointer;
}

.news-rich-editor__color input {
  width: 22px;
  height: 22px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.news-rich-editor__toolbar select {
  flex: 1 1 180px;
  width: auto;
  min-width: 0;
  max-width: 100%;
  min-height: 30px;
  padding: 0 30px 0 9px;
  border: 1px solid rgba(255, 178, 45, 0.28);
  border-radius: 3px;
  color: #f6d08a;
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  line-height: 30px;
  color-scheme: dark;
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, #ffd277 50%) right 16px center / 5px 5px no-repeat,
    linear-gradient(135deg, #ffd277 50%, transparent 50%) right 11px center / 5px 5px no-repeat,
    linear-gradient(180deg, rgba(39, 31, 21, 0.96), rgba(18, 15, 12, 0.98));
  cursor: pointer;
}

.news-rich-editor__toolbar select option {
  color: #f4e6d5;
  background: #120f0c;
}

.news-rich-editor__toolbar select option:checked {
  color: #fff1db;
  background: #7a410b;
}

.news-rich-editor__toolbar button:disabled,
.news-rich-editor__toolbar select:disabled,
.news-rich-editor__toolbar input:disabled,
.news-rich-editor__color:has(input:disabled) {
  cursor: not-allowed;
  opacity: 0.48;
}

.news-rich-editor__area {
  min-height: 210px;
  min-width: 0;
  max-width: 100%;
  padding: 12px;
  color: #f4e6d5;
  font-size: 12px;
  line-height: 1.6;
  resize: vertical;
  overflow: auto;
  overflow-wrap: anywhere;
  outline: none;
}

.news-rich-editor__area[aria-disabled="true"] {
  opacity: 0.7;
}

.news-rich-editor__area p,
.news-rich-editor__area div,
.news-rich-editor__area figure,
.news-rich-editor__area blockquote,
.news-rich-editor__area ul,
.news-rich-editor__area ol {
  margin: 0 0 10px;
}

.news-rich-editor__area h3,
.news-rich-editor__area h4 {
  margin: 4px 0 10px;
  color: #f1e3d2;
  line-height: 1.25;
}

.news-rich-editor__area h3 {
  font-size: 18px;
}

.news-rich-editor__area h4 {
  font-size: 15px;
}

.news-rich-editor__area a {
  color: #f5a822;
  font-weight: 800;
}

.news-rich-editor__area code {
  border: 1px solid rgba(255, 178, 45, 0.2);
  border-radius: 3px;
  padding: 1px 5px;
  color: #ffe2a3;
  font-family: "Monocraft", Consolas, "Courier New", monospace;
  font-size: 11px;
  background: rgba(246, 167, 40, 0.09);
}

.news-rich-editor__area pre {
  overflow: auto;
  margin: 0 0 10px;
  border: 1px solid rgba(255, 178, 45, 0.24);
  border-radius: 5px;
  padding: 12px;
  color: #f4e6d5;
  font-family: "Monocraft", Consolas, "Courier New", monospace;
  font-size: 11px;
  line-height: 1.55;
  white-space: pre-wrap;
  background:
    linear-gradient(180deg, rgba(18, 15, 12, 0.98), rgba(9, 8, 7, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 241, 205, 0.06);
}

.news-rich-editor__area pre code {
  display: block;
  border: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  background: transparent;
}

.news-rich-editor__area blockquote {
  border-left: 3px solid rgba(246, 167, 40, 0.62);
  padding: 8px 10px;
  color: #f1e3d2;
  background: rgba(246, 167, 40, 0.08);
}

.news-rich-editor__area img {
  display: block;
  max-width: 100%;
  max-height: 280px;
  margin: 6px auto;
  border: 1px solid rgba(170, 108, 25, 0.36);
  border-radius: 4px;
  object-fit: cover;
}

.news-editor__tags {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(146px, 1fr));
  gap: 8px;
}

.news-editor__tag-option {
  position: relative;
  display: block;
  min-width: 0;
  cursor: pointer;
}

.news-editor__tag-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.news-editor__tag-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  overflow: hidden;
  width: 100%;
  min-height: 38px;
  border: 1px solid rgba(255, 178, 45, 0.24);
  border-radius: 4px;
  padding: 0 10px;
  color: #e8d8c3;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
  background:
    linear-gradient(180deg, rgba(30, 25, 20, 0.98), rgba(13, 11, 10, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 241, 205, 0.08),
    0 8px 14px rgba(0, 0, 0, 0.12);
  text-shadow: 0 1px 0 rgba(31, 20, 10, 0.85);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease,
    filter 160ms ease,
    transform 160ms ease;
}

.news-editor__tag-pill > span {
  position: relative;
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(255, 210, 119, 0.36);
  border-radius: 3px;
  background: rgba(8, 7, 6, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 241, 205, 0.1);
}

.news-editor__tag-option:hover .news-editor__tag-pill,
.news-editor__tag-option input:focus-visible + .news-editor__tag-pill {
  border-color: var(--news-tag-color);
  color: #fff1db;
  box-shadow:
    inset 0 1px 0 rgba(255, 241, 205, 0.14),
    0 0 12px var(--news-tag-color);
}

.news-editor__tag-option input:focus-visible + .news-editor__tag-pill {
  outline: 2px solid var(--news-tag-color);
  outline-offset: 2px;
}

.news-editor__tag-option input:checked + .news-editor__tag-pill {
  border-color: rgba(255, 241, 205, 0.2);
  color: #fff6e8;
  background:
    linear-gradient(180deg, var(--news-tag-color), var(--news-tag-color-dark, rgba(12, 10, 9, 0.92)));
  box-shadow:
    inset 0 1px 0 rgba(255, 241, 205, 0.22),
    0 0 14px var(--news-tag-color);
  transform: translateY(-1px);
}

@supports (background: color-mix(in srgb, #ffffff 50%, #000000)) {
  .news-editor__tag-pill {
    border-color: color-mix(in srgb, var(--news-tag-color) 34%, transparent);
  }

  .news-editor__tag-option input:checked + .news-editor__tag-pill {
    border-color: color-mix(in srgb, var(--news-tag-color) 58%, rgba(255, 241, 205, 0.18));
    background:
      linear-gradient(
        180deg,
        var(--news-tag-color),
        var(--news-tag-color-dark, color-mix(in srgb, var(--news-tag-color) 48%, #080706 52%))
      );
    box-shadow:
      inset 0 1px 0 rgba(255, 241, 205, 0.22),
      0 0 14px color-mix(in srgb, var(--news-tag-color) 28%, transparent);
  }

  .news-editor__tag-option:hover .news-editor__tag-pill,
  .news-editor__tag-option input:focus-visible + .news-editor__tag-pill {
    border-color: color-mix(in srgb, var(--news-tag-color) 68%, rgba(255, 241, 205, 0.16));
    box-shadow:
      inset 0 1px 0 rgba(255, 241, 205, 0.14),
      0 0 14px color-mix(in srgb, var(--news-tag-color) 34%, transparent);
  }

  .news-editor__tag-option input:focus-visible + .news-editor__tag-pill {
    outline-color: color-mix(in srgb, var(--news-tag-color) 44%, transparent);
  }
}

.news-editor__tag-option input:checked + .news-editor__tag-pill > span {
  border-color: rgba(255, 241, 205, 0.42);
  background: rgba(255, 241, 205, 0.2);
}

.news-editor__tag-option input:checked + .news-editor__tag-pill > span::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 4px;
  width: 4px;
  height: 8px;
  border: solid #fff6e8;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.news-editor__tag-option input:disabled + .news-editor__tag-pill {
  cursor: not-allowed;
  filter: saturate(0.55);
  opacity: 0.5;
  transform: none;
}

.news-editor__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 12px;
  min-width: 0;
}

.news-editor__toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  cursor: pointer;
}

.news-editor__toggle.is-disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.news-editor__toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.news-editor__toggle span {
  position: relative;
  width: 34px;
  height: 18px;
  border: 1px solid rgba(255, 178, 45, 0.42);
  border-radius: 999px;
  background: rgba(16, 14, 12, 0.94);
}

.news-editor__toggle span::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #a68d67;
  transition: transform 180ms ease, background 180ms ease;
}

.news-editor__toggle input:checked + span::after {
  background: #f6a728;
  transform: translateX(16px);
}

.news-editor__toggle input:disabled + span {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(16, 14, 12, 0.72);
}

.news-editor__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  min-width: 0;
}

.news-editor__actions .modal-button {
  min-width: 130px;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.news-editor__list-wrap {
  padding: 14px;
}

.news-editor__list-wrap h2 {
  margin: 0 0 12px;
  color: #f6a728;
  font-size: 15px;
}

.news-editor__list {
  display: grid;
  gap: 9px;
  min-width: 0;
}

.news-editor-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-width: 0;
  min-height: 64px;
  border: 1px solid rgba(255, 178, 45, 0.22);
  border-radius: 5px;
  padding: 10px;
  background: rgba(12, 11, 10, 0.76);
}

.news-editor-item > div {
  min-width: 0;
}

.news-editor-item.is-active {
  border-color: rgba(132, 213, 103, 0.52);
  background:
    radial-gradient(circle at 0% 0%, rgba(132, 213, 103, 0.12), transparent 42%),
    rgba(12, 11, 10, 0.86);
}

.news-editor-item.is-active::before {
  content: "Szerkesztés alatt";
  position: absolute;
  top: -8px;
  left: 9px;
  border: 1px solid rgba(132, 213, 103, 0.38);
  border-radius: 3px;
  padding: 2px 6px;
  color: #bff0a8;
  font-size: 7px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  background: rgba(12, 11, 10, 0.96);
}

.news-editor-item strong {
  display: block;
  overflow: hidden;
  color: #f1e3d2;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-editor-item__meta {
  display: block;
  margin-top: 5px;
  color: #c4b7a5;
  font-size: 9px;
}

.news-editor-item__status {
  color: inherit;
}

.news-editor-item__status.is-published {
  color: #8fdc72;
}

.news-editor-item .modal-button {
  min-height: 34px;
  padding: 0 12px;
  font-size: 10px;
}

.news-image-editor {
  padding: 16px 17px 17px;
  background:
    linear-gradient(180deg, rgba(18, 15, 12, 0.9), rgba(10, 9, 8, 0.94)),
    var(--panel);
  animation: fade-rise 760ms cubic-bezier(.2,.8,.2,1) 580ms both;
}

.news-image-editor__layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 14px;
  align-items: start;
  min-width: 0;
}

.news-image-editor .news-editor__form {
  align-self: start;
  align-content: start;
  gap: 14px;
  padding: 16px;
}

.news-image-editor .news-editor__field input[type="file"] {
  min-height: 46px;
  padding: 7px;
  color: #d8c9b7;
}

.news-image-editor .news-editor__field input[type="file"]::file-selector-button {
  min-height: 30px;
  margin-right: 10px;
  border: 1px solid rgba(255, 187, 70, 0.56);
  border-radius: 3px;
  padding: 0 12px;
  color: #fff1db;
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  background: linear-gradient(180deg, #d9871f, #8d4709);
  cursor: pointer;
}

.news-image-editor .news-editor__field input[type="file"]:hover::file-selector-button {
  border-color: rgba(255, 205, 103, 0.82);
  filter: brightness(1.08);
}

.news-image-editor .news-editor__field input[name="name"] {
  min-height: 42px;
}

.news-image-editor .news-editor__actions {
  align-items: center;
  margin-top: 2px;
}

.news-image-editor .news-editor__actions .modal-button {
  flex: 0 0 auto;
  min-width: 132px;
  min-height: 42px;
  height: 42px;
  padding: 0 14px;
}

.news-image-library {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
}

.news-image-item {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 10px;
  min-width: 0;
  min-height: 116px;
  border: 1px solid rgba(255, 178, 45, 0.22);
  border-radius: 5px;
  padding: 9px;
  background: rgba(12, 11, 10, 0.76);
}

.news-image-item img {
  width: 116px;
  height: 98px;
  border: 1px solid rgba(170, 108, 25, 0.36);
  border-radius: 4px;
  object-fit: cover;
  background: rgba(0, 0, 0, 0.28);
}

.news-image-item div {
  display: grid;
  align-content: start;
  gap: 7px;
  min-width: 0;
}

.news-image-item strong {
  overflow: hidden;
  color: #f1e3d2;
  font-size: 12px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-image-item span,
.news-image-item code {
  color: #c4b7a5;
  font-size: 9px;
}

.news-image-item code {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-image-item__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.news-image-item .modal-button {
  width: fit-content;
  min-height: 32px;
  padding: 0 10px;
  font-size: 9px;
}

.wiki-category-editor {
  animation-delay: 620ms;
}

.wiki-image-editor {
  animation-delay: 660ms;
}

.wiki-category-item {
  border-top: 3px solid var(--gold-soft);
}

.wiki-category-item img {
  object-fit: contain;
  padding: 8px;
}

.wiki-shell {
  padding: 16px 17px 17px;
  background:
    radial-gradient(circle at 100% 0%, rgba(246, 167, 40, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(18, 15, 12, 0.92), rgba(10, 9, 8, 0.96)),
    var(--panel);
  animation: fade-rise 760ms cubic-bezier(.2,.8,.2,1) 580ms both;
}

.wiki-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
}

.wiki-sidebar,
.wiki-main,
.wiki-card,
.wiki-detail {
  border: 1px solid rgba(170, 108, 25, 0.36);
  border-radius: 6px;
  background:
    radial-gradient(circle at 12% 0%, rgba(246, 167, 40, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(15, 13, 11, 0.95), rgba(9, 8, 7, 0.96));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 12px 24px rgba(0, 0, 0, 0.16);
}

.wiki-sidebar {
  position: sticky;
  top: 14px;
  display: grid;
  gap: 12px;
  padding: 13px;
}

.wiki-search {
  display: grid;
  gap: 7px;
}

.wiki-search span {
  color: #ffd277;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.wiki-search input {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(255, 178, 45, 0.28);
  border-radius: 4px;
  padding: 0 12px;
  color: #f4e6d5;
  font: inherit;
  font-size: 11px;
  background:
    linear-gradient(180deg, rgba(20, 17, 14, 0.96), rgba(11, 10, 9, 0.98));
  outline: none;
}

.wiki-search input:focus {
  border-color: rgba(246, 167, 40, 0.7);
  box-shadow: 0 0 0 2px rgba(246, 167, 40, 0.12);
}

.wiki-category-list {
  display: grid;
  gap: 8px;
}

.wiki-category-list button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  border: 1px solid rgba(255, 178, 45, 0.24);
  border-radius: 4px;
  padding: 0 10px;
  color: #e8d8c3;
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  text-align: left;
  text-transform: uppercase;
  background:
    linear-gradient(180deg, rgba(30, 25, 20, 0.98), rgba(13, 11, 10, 0.98));
  cursor: pointer;
  transition:
    border-color 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.wiki-category-list button::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--gold-soft);
  box-shadow: 0 0 10px rgba(246, 167, 40, 0.12);
}

.wiki-category-list button:hover,
.wiki-category-list button.is-active {
  border-color: var(--gold-soft);
  color: #fff1db;
  box-shadow:
    inset 0 1px 0 rgba(255, 241, 205, 0.14),
    0 0 14px rgba(246, 167, 40, 0.12);
  transform: translateY(-1px);
}

.wiki-main {
  min-width: 0;
  padding: 13px;
}

.wiki-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.wiki-grid[hidden],
.wiki-detail[hidden] {
  display: none;
}

.wiki-main-intro,
.wiki-directory,
.wiki-content-groups,
.wiki-category-page {
  min-width: 0;
  border: 1px solid rgba(255, 178, 45, 0.18);
  border-radius: 5px;
  background:
    linear-gradient(180deg, rgba(24, 20, 16, 0.76), rgba(11, 10, 9, 0.92));
}

.wiki-main-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 17px;
}

.wiki-main-intro h2,
.wiki-directory h2,
.wiki-content-groups h2,
.wiki-category-page h2 {
  margin: 0;
  color: #ffe1a0;
  font-size: 18px;
  line-height: 1.18;
}

.wiki-main-intro p,
.wiki-directory p,
.wiki-category-page p {
  margin: 7px 0 0;
  color: #d8cbb7;
  font-size: 11px;
  line-height: 1.62;
}

.wiki-main-intro dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(70px, 1fr));
  gap: 8px;
  margin: 0;
}

.wiki-main-intro dt,
.wiki-main-intro dd {
  margin: 0;
  text-align: center;
}

.wiki-main-intro dt {
  color: #b7aa98;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
}

.wiki-main-intro dd {
  order: -1;
  color: #fff2d5;
  font-size: 18px;
  font-weight: 800;
}

.wiki-directory,
.wiki-content-groups {
  display: grid;
  gap: 13px;
  padding: 15px;
}

.wiki-directory__header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: end;
  min-width: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 178, 45, 0.14);
}

.wiki-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.wiki-category-tile {
  display: grid;
  grid-template-rows: 104px minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(255, 178, 45, 0.15);
  border-top: 3px solid var(--gold-soft);
  border-radius: 4px;
  padding: 0;
  background:
    linear-gradient(180deg, rgba(17, 15, 13, 0.94), rgba(10, 9, 8, 0.96));
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.wiki-category-tile:hover {
  border-color: rgba(246, 167, 40, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 241, 205, 0.08),
    0 14px 28px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.wiki-category-tile__media {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 178, 45, 0.16);
  padding: 12px;
  background:
    radial-gradient(circle at 50% 48%, rgba(246, 167, 40, 0.16), transparent 58%),
    linear-gradient(180deg, rgba(30, 25, 19, 0.88), rgba(14, 12, 10, 0.92));
}

.wiki-category-tile__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 228, 175, 0.03), rgba(8, 7, 6, 0.16)),
    linear-gradient(90deg, rgba(8, 7, 6, 0.2), transparent 34%, rgba(8, 7, 6, 0.24));
  pointer-events: none;
}

.wiki-category-tile__media img {
  position: relative;
  z-index: 1;
  width: 78px;
  height: 78px;
  object-fit: contain;
  filter:
    drop-shadow(0 5px 6px rgba(0, 0, 0, 0.52))
    drop-shadow(0 0 10px rgba(246, 167, 40, 0.12));
  transition: transform 260ms cubic-bezier(.2,.8,.2,1), filter 260ms ease;
}

.wiki-category-tile:hover .wiki-category-tile__media img {
  transform: translateY(-3px) scale(1.05);
  filter:
    drop-shadow(0 8px 8px rgba(0, 0, 0, 0.56))
    drop-shadow(0 0 13px rgba(246, 167, 40, 0.18))
    saturate(1.06)
    brightness(1.04);
}

.wiki-category-tile__body {
  display: grid;
  gap: 11px;
  min-width: 0;
  padding: 12px;
}

.wiki-category-tile header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
  align-items: start;
  min-width: 0;
}

.wiki-category-tile h3 {
  margin: 0;
  color: #f1e3d2;
  font-size: 13px;
  line-height: 1.25;
}

.wiki-category-tile p {
  grid-column: 1 / -1;
  margin: 0;
  color: #cfc0ab;
  font-size: 10px;
  line-height: 1.52;
}

.wiki-category-tile__count {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  border: 1px solid rgba(255, 209, 119, 0.18);
  border-radius: 3px;
  padding: 0 7px;
  color: #f3d08f;
  font-size: 8px;
  font-weight: 800;
  white-space: nowrap;
  background:
    linear-gradient(180deg, rgba(36, 29, 20, 0.94), rgba(14, 12, 10, 0.98));
}

.wiki-category-tile button {
  width: fit-content;
  min-height: 30px;
  border: 1px solid rgba(255, 178, 45, 0.22);
  border-radius: 4px;
  padding: 0 10px;
  color: #ffe4ad;
  font: inherit;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  background:
    linear-gradient(180deg, rgba(38, 31, 22, 0.95), rgba(14, 12, 10, 0.96));
  cursor: pointer;
}

.wiki-category-tile button:hover {
  border-color: var(--gold-soft);
  color: #fff5df;
}

.wiki-category-tile ul {
  display: grid;
  gap: 7px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wiki-category-tile li {
  min-width: 0;
  color: #aaa090;
  font-size: 10px;
  line-height: 1.45;
}

.wiki-category-tile a {
  display: block;
  overflow: hidden;
  color: #f0d7a6;
  font-size: 10.5px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wiki-category-tile a:hover {
  color: #fff2d2;
}

.wiki-content-list {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.wiki-content-list--category {
  padding: 2px;
}

.wiki-article-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
  min-height: 82px;
  border: 1px solid rgba(255, 178, 45, 0.14);
  border-radius: 4px;
  padding: 8px;
  color: inherit;
  background:
    linear-gradient(180deg, rgba(18, 16, 14, 0.94), rgba(9, 8, 7, 0.96));
  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.wiki-article-row:hover {
  border-color: rgba(246, 167, 40, 0.45);
  background:
    linear-gradient(180deg, rgba(28, 23, 18, 0.96), rgba(12, 10, 8, 0.98));
  transform: translateY(-1px);
}

.wiki-article-row img {
  width: 92px;
  height: 66px;
  border: 1px solid rgba(255, 178, 45, 0.16);
  border-radius: 3px;
  object-fit: cover;
}

.wiki-article-row__body {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.wiki-article-row__meta,
.wiki-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.wiki-article-row strong {
  overflow: hidden;
  color: #f1e3d2;
  font-size: 13px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wiki-article-row__body > span:not(.wiki-article-row__meta) {
  overflow: hidden;
  color: #d8cbb7;
  font-size: 10.5px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wiki-article-row small {
  color: #a99d8d;
  font-size: 9px;
}

.wiki-category-page {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border-top: 3px solid var(--gold-soft);
  padding: 13px;
}

.wiki-category-page small {
  color: #b8ad9b;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.wiki-category-page--search {
  border-left-color: rgba(246, 167, 40, 0.72);
}

.wiki-category-page__image {
  width: 86px;
  height: 86px;
  border: 1px solid rgba(255, 178, 45, 0.18);
  border-radius: 4px;
  padding: 8px;
  object-fit: contain;
  background:
    radial-gradient(circle at 50% 45%, rgba(246, 167, 40, 0.16), transparent 62%),
    linear-gradient(180deg, rgba(31, 26, 20, 0.9), rgba(13, 11, 9, 0.96));
  filter: drop-shadow(0 5px 6px rgba(0, 0, 0, 0.42));
}

.wiki-category-page__body {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.wiki-category-page__back {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border: 1px solid rgba(255, 178, 45, 0.28);
  border-radius: 4px;
  padding: 0 12px;
  color: #ffe4ad;
  font: inherit;
  font-size: 9px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  background:
    linear-gradient(180deg, rgba(38, 31, 22, 0.95), rgba(14, 12, 10, 0.96));
  cursor: pointer;
}

.wiki-category-page__back:hover {
  border-color: var(--gold-soft);
  color: #fff5df;
}

.wiki-category-article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px;
  min-width: 0;
}

.wiki-category-article {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
  overflow: hidden;
  min-width: 0;
  min-height: 112px;
  border: 1px solid rgba(255, 178, 45, 0.14);
  border-radius: 4px;
  color: inherit;
  background:
    linear-gradient(180deg, rgba(18, 16, 14, 0.94), rgba(9, 8, 7, 0.96));
  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.wiki-category-article:hover {
  border-color: rgba(246, 167, 40, 0.45);
  background:
    linear-gradient(180deg, rgba(28, 23, 18, 0.96), rgba(12, 10, 8, 0.98));
  transform: translateY(-1px);
}

.wiki-category-article > img {
  width: 76px;
  height: 76px;
  margin: 0 auto;
  padding: 6px;
  object-fit: contain;
  filter:
    drop-shadow(0 5px 6px rgba(0, 0, 0, 0.48))
    drop-shadow(0 0 9px rgba(246, 167, 40, 0.1));
  transition: transform 240ms cubic-bezier(.2,.8,.2,1), filter 240ms ease;
}

.wiki-category-article:hover > img {
  transform: translateY(-2px) scale(1.04);
  filter:
    drop-shadow(0 7px 7px rgba(0, 0, 0, 0.52))
    drop-shadow(0 0 11px rgba(246, 167, 40, 0.16));
}

.wiki-category-article__body {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 11px 11px 11px 4px;
}

.wiki-category-article strong {
  overflow: hidden;
  color: #f1e3d2;
  font-size: 13px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wiki-category-article__body > span:not(.wiki-article-row__meta) {
  overflow: hidden;
  color: #d8cbb7;
  font-size: 10.5px;
  line-height: 1.48;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.wiki-category-article small {
  color: #f5a822;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.wiki-card {
  position: relative;
  overflow: hidden;
  min-height: 178px;
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    filter 220ms ease,
    transform 220ms ease;
}

.wiki-card:hover {
  border-color: rgba(246, 167, 40, 0.74);
  box-shadow:
    inset 0 0 0 1px rgba(255, 232, 181, 0.04),
    0 14px 30px rgba(0, 0, 0, 0.24),
    0 0 18px rgba(246, 167, 40, 0.08);
  filter: brightness(1.04);
  transform: translateY(-2px);
}

.wiki-card > a {
  display: grid;
  grid-template-columns: 174px minmax(0, 1fr);
  min-height: 178px;
  color: inherit;
}

.wiki-card__image {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.wiki-card__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0%, rgba(12, 11, 10, 0.12) 58%, rgba(12, 11, 10, 0.92) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.28));
}

.wiki-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 420ms ease,
    filter 420ms ease;
}

.wiki-card:hover .wiki-card__image img {
  transform: scale(1.05);
  filter: saturate(1.08) brightness(1.04);
}

.wiki-card__body {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: space-between;
  gap: 9px;
  min-width: 0;
  padding: 13px;
}

.wiki-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.wiki-category-badge {
  display: inline-flex;
  align-items: center;
  height: 19px;
  border: 1px solid rgba(255, 209, 119, 0.24);
  border-radius: 3px;
  padding: 0 8px;
  color: #fff0d2;
  font-size: 8px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  background: linear-gradient(180deg, var(--gold-soft), rgba(39, 25, 9, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 241, 205, 0.18),
    0 0 10px rgba(246, 167, 40, 0.12);
}

.wiki-card strong {
  overflow: hidden;
  color: #f1e3d2;
  font-size: 16px;
  line-height: 1.22;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wiki-card__body > span:not(.wiki-card__meta) {
  color: #ddcfbc;
  font-size: 10.5px;
  font-weight: 300;
  line-height: 1.52;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.wiki-card small {
  color: #c4b7a5;
  font-size: 9px;
}

.wiki-detail {
  overflow: hidden;
  background:
    radial-gradient(circle at 7% 0%, rgba(246, 167, 40, 0.1), transparent 30%),
    linear-gradient(180deg, rgba(15, 13, 11, 0.95), rgba(9, 8, 7, 0.96));
}

.wiki-detail__image {
  display: grid;
  place-items: center;
  padding: 16px 16px 0;
}

.wiki-detail__image img {
  width: min(100%, 860px);
  height: 350px;
  border: 1px solid rgba(170, 108, 25, 0.36);
  border-radius: 5px;
  object-fit: cover;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
}

.wiki-detail__header {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 16px 18px 14px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 178, 45, 0.18);
}

.wiki-detail__header h2 {
  margin: 0;
  color: #f1e3d2;
  font-size: 25px;
  line-height: 1.1;
}

.wiki-detail__header p {
  max-width: 780px;
  margin: 0;
  color: #d8cbb7;
  font-size: 11px;
  line-height: 1.55;
}

.wiki-detail__content {
  padding-bottom: 6px;
}

.wiki-detail__back {
  display: inline-flex;
  width: fit-content;
  margin: 0 auto 17px;
  color: #f5a822;
  font-size: 11px;
  font-weight: 800;
}

.wiki-editor {
  animation-delay: 580ms;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  padding-top: 0;
}

.legal-layout > .hero + .grid {
  margin-top: -14px;
}

.legal-hero {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 142px;
  padding: 22px 24px;
  background:
    radial-gradient(circle at 8% 20%, rgba(246, 167, 40, 0.12), transparent 24%),
    linear-gradient(90deg, rgba(44, 29, 11, 0.22), rgba(13, 11, 9, 0.96) 46%, rgba(10, 9, 8, 0.98));
  animation: fade-rise 760ms cubic-bezier(.2,.8,.2,1) 520ms both;
}

.legal-hero__icon {
  width: 96px;
  height: 96px;
  object-fit: contain;
  filter:
    drop-shadow(0 2px 2px rgba(0, 0, 0, 0.68))
    drop-shadow(0 0 14px rgba(246, 167, 40, 0.2));
}

.legal-hero__kicker {
  display: block;
  margin-bottom: 8px;
  color: #eab453;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.legal-hero h1 {
  margin: 0 0 9px;
  color: #fff0d8;
  font-size: 27px;
  line-height: 1.05;
  font-weight: 800;
}

.legal-hero p {
  max-width: 760px;
  margin: 0;
  color: #e2d4c1;
  font-size: 12px;
  line-height: 1.62;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid rgba(172, 108, 21, 0.48);
  border-radius: 5px;
  color: #f3ead8;
  font-size: 11px;
  font-weight: 700;
  background: linear-gradient(180deg, rgba(68, 63, 49, 0.78), rgba(22, 18, 13, 0.94));
}

.legal-document {
  display: grid;
  gap: 20px;
  width: 100%;
  min-width: 0;
  padding: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(246, 167, 40, 0.075), transparent 26%),
    linear-gradient(180deg, rgba(18, 15, 12, 0.92), rgba(10, 9, 8, 0.96)),
    var(--panel);
  animation: fade-rise 760ms cubic-bezier(.2,.8,.2,1) 620ms both;
}

.legal-section {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.legal-section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.legal-section h2 {
  margin: 0;
  color: #f6a728;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 700;
  text-transform: uppercase;
}

.legal-section p,
.legal-section li {
  color: #dccdb8;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.72;
  overflow-wrap: anywhere;
}

.legal-section p {
  margin: 0;
}

.legal-section ul {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding-left: 18px;
}

.legal-section strong {
  color: #b8ad9b;
  font-weight: 700;
}

.legal-section .legal-point-number {
  color: #f6a728;
  font-weight: 700;
}

.legal-section a,
.register-consent a {
  color: #f6a728;
  font-weight: 700;
}

.legal-note {
  padding: 13px 14px;
  border: 1px solid rgba(171, 103, 18, 0.56);
  border-radius: 5px;
  color: #fff0d8;
  font-size: 11px;
  line-height: 1.58;
  background:
    linear-gradient(180deg, rgba(48, 34, 17, 0.82), rgba(18, 15, 12, 0.92));
}

.support-panel {
  display: grid;
  gap: 16px;
  width: 100%;
  border: 1px solid rgba(171, 103, 18, 0.48);
  border-radius: 7px;
  padding: 18px;
  background:
    radial-gradient(circle at 8% 0%, rgba(246, 167, 40, 0.1), transparent 30%),
    linear-gradient(180deg, rgba(18, 15, 12, 0.94), rgba(8, 8, 9, 0.97));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.026),
    0 14px 32px rgba(0, 0, 0, 0.2);
  animation: fade-rise 760ms cubic-bezier(.2,.8,.2,1) 520ms both;
}

.support-layout {
  width: min(1271px, calc(100vw - 24px));
  padding-top: 0;
}

.support-hero {
  border-color: rgba(197, 128, 31, 0.58);
}

.support-panel__title {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  pointer-events: none;
}

.support-type-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  transform-origin: top center;
}

.support-type-grid[hidden],
.support-form[hidden],
.support-account-card[hidden] {
  display: none;
}

.support-account-card {
  display: grid;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 178, 45, 0.34);
  border-radius: 5px;
  padding: 14px;
  background:
    radial-gradient(circle at 100% 0%, rgba(246, 167, 40, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(17, 14, 11, 0.9), rgba(10, 9, 8, 0.96));
}

.support-type-grid.is-switching-in {
  animation: support-view-in 300ms cubic-bezier(.2,.8,.2,1) both;
}

.support-type-grid.is-switching-out {
  pointer-events: none;
  animation: support-view-out 180ms cubic-bezier(.45,0,.2,1) both;
}

.support-account-card span {
  display: block;
  margin-bottom: 6px;
  color: #f6a728;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.support-account-card strong {
  display: block;
  margin: 0;
  color: #fff0d8;
  font-size: 17px;
  line-height: 1.25;
}

.support-account-card p {
  margin: 6px 0 0;
  color: #d7cbb8;
  font-size: 10px;
  line-height: 1.5;
}

.support-type-button {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  align-items: center;
  gap: 12px;
  min-height: 146px;
  border: 1px solid rgba(171, 103, 18, 0.58);
  border-radius: 7px;
  padding: 18px 12px 18px 18px;
  overflow: hidden;
  color: #fff0d8;
  font-family: "Monocraft", Consolas, "Courier New", monospace;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  text-align: left;
  letter-spacing: 0;
  background:
    radial-gradient(circle at 100% 0%, rgba(246, 167, 40, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(20, 16, 12, 0.94), rgba(9, 9, 10, 0.98));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.025),
    0 12px 24px rgba(0, 0, 0, 0.16);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.42);
  cursor: pointer;
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    filter 220ms ease,
    transform 220ms ease;
}

.support-type-button::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background:
    linear-gradient(90deg, rgba(246, 167, 40, 0.1), transparent 44%);
  transition: opacity 220ms ease;
}

.support-type-button > span {
  position: relative;
  z-index: 1;
}

.support-type-button:hover,
.support-type-button:focus-visible {
  border-color: rgba(246, 167, 40, 0.76);
  box-shadow:
    inset 0 0 0 1px rgba(255, 232, 180, 0.05),
    inset 0 0 28px rgba(246, 167, 40, 0.045),
    0 14px 30px rgba(0, 0, 0, 0.24),
    0 0 20px rgba(246, 167, 40, 0.1);
  filter: brightness(1.04);
  transform: translateY(-2px);
}

.support-type-button:hover::before,
.support-type-button:focus-visible::before {
  opacity: 1;
}

.support-type-button:focus-visible {
  outline: 2px solid rgba(246, 167, 40, 0.74);
  outline-offset: 3px;
}

.support-type-button.is-selected {
  border-color: rgba(246, 167, 40, 0.9);
  box-shadow:
    inset 0 0 0 1px rgba(255, 232, 180, 0.08),
    inset 0 0 32px rgba(246, 167, 40, 0.08),
    0 16px 34px rgba(0, 0, 0, 0.28),
    0 0 24px rgba(246, 167, 40, 0.16);
  filter: brightness(1.08);
  transform: translateY(-3px) scale(1.015);
}

.support-type-grid.is-switching-out .support-type-button:not(.is-selected) {
  opacity: 0.42;
  transform: translateY(5px) scale(0.985);
}

.support-type-button__image {
  position: relative;
  z-index: 1;
  justify-self: end;
  width: 132px;
  max-width: 100%;
  height: 96px;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  filter:
    drop-shadow(0 7px 7px rgba(0, 0, 0, 0.58))
    drop-shadow(0 0 12px rgba(246, 167, 40, 0.14));
  transform: translateX(4px) scale(1.08);
  transition:
    filter 220ms ease,
    transform 220ms ease;
}

.support-type-button:hover .support-type-button__image,
.support-type-button:focus-visible .support-type-button__image {
  filter:
    drop-shadow(0 9px 9px rgba(0, 0, 0, 0.62))
    drop-shadow(0 0 16px rgba(246, 167, 40, 0.22));
  transform: translateX(4px) translateY(-2px) scale(1.14);
}

.support-form.news-editor__form {
  padding: 16px;
  transform-origin: top center;
}

.support-form.is-switching-in {
  animation: support-form-in 360ms cubic-bezier(.2,.8,.2,1) both;
}

.support-form.is-switching-out {
  pointer-events: none;
  animation: support-view-out 170ms cubic-bezier(.45,0,.2,1) both;
}

.support-form__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(255, 178, 45, 0.34);
  border-radius: 5px;
  padding: 12px;
  background:
    radial-gradient(circle at 100% 0%, rgba(246, 167, 40, 0.12), transparent 38%),
    rgba(17, 14, 11, 0.9);
}

.support-form__header span {
  display: block;
  margin-bottom: 6px;
  color: #f6a728;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.support-form__header h2 {
  margin: 0;
  color: #fff0d8;
  font-size: 18px;
  line-height: 1.25;
}

.support-dynamic-fields {
  display: grid;
  gap: 12px;
}

.support-player-combobox {
  position: relative;
  z-index: 8;
}

.support-player-suggestions {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  right: 0;
  z-index: 30;
  display: grid;
  max-height: 206px;
  overflow-y: auto;
  border: 1px solid rgba(255, 178, 45, 0.34);
  border-radius: 4px;
  padding: 5px;
  background:
    linear-gradient(180deg, rgba(25, 20, 15, 0.98), rgba(10, 9, 8, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(255, 232, 173, 0.08),
    0 14px 28px rgba(0, 0, 0, 0.36);
}

.support-player-suggestions[hidden] {
  display: none;
}

.support-player-suggestion {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 3px;
  padding: 9px 10px;
  color: #f4e6d5;
  font: inherit;
  font-size: 12px;
  line-height: 1.35;
  text-align: left;
  background: transparent;
  cursor: pointer;
}

.support-player-suggestion:hover,
.support-player-suggestion:focus-visible {
  color: #fff1db;
  background: rgba(246, 167, 40, 0.18);
  outline: none;
}

.support-form[data-support-pending="1"] {
  filter: saturate(0.8);
}

.support-consent {
  position: relative;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: #e2d4c1;
  font-size: 10px;
  line-height: 1.5;
  cursor: pointer;
}

.support-consent input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.support-consent span {
  position: relative;
  display: block;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(255, 178, 45, 0.42);
  border-radius: 4px;
  background:
    linear-gradient(180deg, rgba(22, 18, 14, 0.98), rgba(10, 9, 8, 0.98));
}

.support-consent span::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 6px;
  width: 5px;
  height: 10px;
  border: solid #fff1db;
  border-width: 0 2px 2px 0;
  opacity: 0;
  transform: rotate(45deg);
}

.support-consent input:checked + span {
  border-color: rgba(246, 167, 40, 0.82);
  background: linear-gradient(180deg, #d88b22, #8c4a09);
}

.support-consent input:checked + span::after {
  opacity: 1;
}

.support-consent input:focus-visible + span {
  outline: 2px solid rgba(246, 167, 40, 0.7);
  outline-offset: 3px;
}

.support-form__status {
  display: none;
  margin: 0;
  border: 1px solid rgba(255, 178, 45, 0.28);
  border-radius: 4px;
  padding: 10px 12px;
  color: #f3e4cf;
  font-size: 11px;
  line-height: 1.45;
  background: rgba(14, 12, 10, 0.78);
}

.support-form__status.is-visible {
  display: block;
}

.support-form__status.is-error {
  color: #ffb29f;
  border-color: rgba(255, 111, 80, 0.36);
}

.support-form__status.is-success {
  color: #bff0a8;
  border-color: rgba(132, 213, 103, 0.38);
}

.support-ticket-result {
  display: grid;
  gap: 7px;
  border: 1px solid rgba(132, 213, 103, 0.34);
  border-radius: 5px;
  padding: 12px 14px;
  background:
    radial-gradient(circle at 100% 0%, rgba(132, 213, 103, 0.12), transparent 36%),
    linear-gradient(180deg, rgba(17, 23, 14, 0.9), rgba(9, 12, 8, 0.96));
}

.support-ticket-result[hidden] {
  display: none;
}

.support-ticket-result span {
  color: #bff0a8;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.support-ticket-result strong {
  color: #fff1db;
  font-size: 19px;
  line-height: 1.1;
}

.support-ticket-result p {
  margin: 0;
  color: #d7cbb8;
  font-size: 10px;
  line-height: 1.45;
}

.support-form__actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
}

.support-form__actions .modal-button {
  min-height: 40px;
  padding: 0 14px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.error-layout {
  min-height: 100svh;
}

.membership-list {
  display: grid;
  gap: 14px;
  animation: fade-rise 760ms cubic-bezier(.2,.8,.2,1) 620ms both;
}

.membership-card {
  position: relative;
  display: grid;
  grid-template-columns: 445px minmax(0, 1fr);
  min-height: 445px;
  padding: 0;
  overflow: hidden;
  border-color: rgba(180, 111, 20, 0.52);
  background:
    radial-gradient(circle at 4% 12%, rgba(255, 187, 72, 0.14), transparent 24%),
    radial-gradient(circle at 96% 6%, rgba(255, 187, 72, 0.08), transparent 19%),
    linear-gradient(180deg, rgba(17, 14, 10, 0.95), rgba(8, 8, 7, 0.98)),
    var(--panel);
  box-shadow:
    inset 0 0 0 1px rgba(255, 196, 95, 0.03),
    inset 0 18px 36px rgba(255, 170, 40, 0.02),
    0 14px 32px rgba(0, 0, 0, 0.18);
}

.membership-card.panel:hover {
  border-color: rgba(224, 145, 34, 0.74);
  box-shadow:
    inset 0 0 0 1px rgba(255, 232, 180, 0.055),
    inset 0 0 28px rgba(246, 167, 40, 0.045),
    0 14px 32px rgba(0, 0, 0, 0.22),
    0 0 24px rgba(246, 167, 40, 0.1);
  filter: brightness(1.035);
}

.membership-card.panel:hover::after {
  opacity: 0.34;
}

.membership-card::before,
.membership-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.membership-card::before {
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent 0 21px, rgba(255, 174, 42, 0.018) 22px 23px),
    repeating-linear-gradient(90deg, transparent 0 21px, rgba(255, 174, 42, 0.014) 22px 23px);
  opacity: 0.46;
}

.membership-card::after {
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, transparent 0 7%, rgba(255, 201, 108, 0.14) 9%, transparent 12%),
    linear-gradient(90deg, transparent 24%, rgba(255, 189, 66, 0.08) 32%, transparent 38%),
    linear-gradient(90deg, transparent 74%, rgba(255, 194, 87, 0.07) 81%, transparent 88%);
  opacity: 0.34;
  mix-blend-mode: screen;
  transition: opacity 260ms ease;
}

.membership-card__side,
.membership-card__main {
  position: relative;
  z-index: 1;
}

.membership-card__side {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 445px;
  flex-direction: column;
  padding: 27px 34px 28px 24px;
  border-right: 1px solid rgba(196, 118, 18, 0.42);
  background:
    radial-gradient(circle at 32% 20%, rgba(255, 191, 68, 0.19), transparent 24%),
    linear-gradient(180deg, rgba(27, 20, 12, 0.76), rgba(9, 9, 8, 0.7) 64%, rgba(33, 17, 7, 0.58));
}

.membership-card__art {
  position: absolute;
  top: 27px;
  left: 24px;
  width: 96px;
  height: 96px;
  isolation: isolate;
}

.membership-card__art::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 190, 66, 0.28), transparent 68%);
  filter: blur(10px);
  opacity: 0.74;
}

.membership-card__badge {
  position: absolute;
  object-fit: contain;
  filter:
    drop-shadow(0 6px 4px rgba(0, 0, 0, 0.72))
    drop-shadow(0 0 13px rgba(246, 167, 40, 0.26));
}

.membership-card__badge {
  z-index: 2;
  top: 0;
  left: 0;
  width: 86px;
  height: 86px;
}

.membership-card__kicker {
  margin: 0 0 8px 112px;
  color: #eab453;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.membership-card__side h1,
.membership-card__side h2 {
  margin: 0 0 17px 112px;
  color: #fff4de;
  font-size: 39px;
  line-height: 1.03;
  font-weight: 900;
  text-shadow:
    -2px -2px 0 rgba(255, 245, 218, 0.18),
    0 2px 0 rgba(79, 45, 9, 0.92),
    0 4px 0 rgba(0, 0, 0, 0.58),
    0 0 20px rgba(255, 183, 58, 0.16);
}

.membership-card__tagline {
  margin: 0 0 13px 112px;
  color: #f6a728;
  font-size: 14px;
  line-height: 1.32;
  font-weight: 800;
  text-transform: uppercase;
}

.membership-card__summary {
  margin: 0 0 0 112px;
  color: #e7d9c4;
  font-size: 11px;
  line-height: 1.55;
}

.membership-card__features {
  display: grid;
  gap: 7px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.membership-card__features li {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 61px;
  padding: 7px 12px;
  border: 1px solid rgba(180, 111, 20, 0.52);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(34, 27, 16, 0.84), rgba(14, 13, 11, 0.92));
  box-shadow: inset 0 0 0 1px rgba(255, 219, 154, 0.035);
}

.membership-card__features img {
  width: 43px;
  height: 43px;
  object-fit: contain;
  filter:
    drop-shadow(0 2px 2px rgba(0, 0, 0, 0.66))
    drop-shadow(0 0 8px rgba(246, 167, 40, 0.22));
}

.membership-card__features strong,
.membership-card__features small {
  display: block;
}

.membership-card__features strong {
  margin-bottom: 4px;
  color: #f6a728;
  font-size: 11px;
  line-height: 1.15;
  font-weight: 800;
  text-transform: uppercase;
}

.membership-card__features small {
  color: #e2d4c1;
  font-size: 9px;
  line-height: 1.38;
}

.membership-card__button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(282px, 100%);
  min-height: 54px;
  margin: 0 auto;
  border: 1px solid rgba(180, 111, 20, 0.72);
  border-radius: 6px;
  color: #fff3dd;
  font-size: 16px;
  font-weight: 800;
  background:
    linear-gradient(180deg, rgba(255, 193, 62, 0.95), rgba(201, 112, 7, 0.95) 54%, rgba(135, 65, 4, 0.98));
  background-size: 100% 145%;
  box-shadow:
    inset 0 0 0 2px rgba(255, 243, 184, 0.13),
    inset 0 -12px 18px rgba(91, 43, 0, 0.34),
    0 0 18px rgba(246, 167, 40, 0.48);
  white-space: nowrap;
  animation: membership-button-glow 3.4s ease-in-out infinite;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease,
    transform 180ms ease;
}

.membership-card__button:hover {
  border-color: rgba(180, 111, 20, 0.86);
  box-shadow:
    inset 0 0 0 2px rgba(255, 243, 184, 0.18),
    inset 0 -12px 18px rgba(91, 43, 0, 0.32),
    0 10px 18px rgba(0, 0, 0, 0.24),
    0 0 20px rgba(246, 167, 40, 0.34);
  filter: brightness(1.08);
  transform: translateY(-3px);
}

.membership-card__button span {
  color: #fff7e5;
}

.membership-card__main {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 18px;
  padding: 28px 24px 22px 30px;
}

.membership-card__body {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.membership-card__body p,
.membership-card__criteria li {
  margin: 0;
  color: #eadfca;
  font-size: 10.5px;
  font-weight: 300;
  line-height: 1.52;
}

.membership-card__criteria {
  min-width: 0;
  margin-top: auto;
}

.membership-card__criteria h3 {
  display: grid;
  grid-template-columns: minmax(32px, 1fr) auto minmax(32px, 1fr);
  gap: 13px;
  align-items: center;
  margin: 0 0 10px;
  color: #f6a728;
  font-size: 22px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
  text-align: center;
}

.membership-card__criteria h3::before,
.membership-card__criteria h3::after {
  content: "";
  height: 1px;
  background:
    linear-gradient(90deg, transparent, rgba(246, 167, 40, 0.52), transparent);
}

.membership-card__criteria h3 span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.membership-card__criteria h3 img {
  width: 34px;
  height: 34px;
  margin-right: 8px;
  object-fit: contain;
  filter:
    drop-shadow(0 2px 2px rgba(0, 0, 0, 0.66))
    drop-shadow(0 0 8px rgba(246, 167, 40, 0.32));
}

.membership-card__criteria ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-flow: row;
  gap: 5px 18px;
  counter-reset: membership-criteria;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.membership-card--helper .membership-card__criteria li:nth-child(n+8),
.membership-card--builder .membership-card__criteria li:nth-child(n+8),
.membership-card--partner .membership-card__criteria li:nth-child(n+5) {
  grid-column: 2;
}

.membership-card--helper .membership-card__criteria li:nth-child(-n+7),
.membership-card--builder .membership-card__criteria li:nth-child(-n+7),
.membership-card--partner .membership-card__criteria li:nth-child(-n+4) {
  grid-column: 1;
}

.membership-card--helper .membership-card__criteria li:nth-child(1),
.membership-card--builder .membership-card__criteria li:nth-child(1),
.membership-card--partner .membership-card__criteria li:nth-child(1),
.membership-card--helper .membership-card__criteria li:nth-child(8),
.membership-card--builder .membership-card__criteria li:nth-child(8),
.membership-card--partner .membership-card__criteria li:nth-child(5) {
  grid-row: 1;
}

.membership-card--helper .membership-card__criteria li:nth-child(2),
.membership-card--builder .membership-card__criteria li:nth-child(2),
.membership-card--partner .membership-card__criteria li:nth-child(2),
.membership-card--helper .membership-card__criteria li:nth-child(9),
.membership-card--builder .membership-card__criteria li:nth-child(9),
.membership-card--partner .membership-card__criteria li:nth-child(6) {
  grid-row: 2;
}

.membership-card--helper .membership-card__criteria li:nth-child(3),
.membership-card--builder .membership-card__criteria li:nth-child(3),
.membership-card--partner .membership-card__criteria li:nth-child(3),
.membership-card--helper .membership-card__criteria li:nth-child(10),
.membership-card--builder .membership-card__criteria li:nth-child(10),
.membership-card--partner .membership-card__criteria li:nth-child(7) {
  grid-row: 3;
}

.membership-card--helper .membership-card__criteria li:nth-child(4),
.membership-card--builder .membership-card__criteria li:nth-child(4),
.membership-card--partner .membership-card__criteria li:nth-child(4),
.membership-card--helper .membership-card__criteria li:nth-child(11),
.membership-card--builder .membership-card__criteria li:nth-child(11),
.membership-card--partner .membership-card__criteria li:nth-child(8) {
  grid-row: 4;
}

.membership-card--helper .membership-card__criteria li:nth-child(5),
.membership-card--builder .membership-card__criteria li:nth-child(5),
.membership-card--helper .membership-card__criteria li:nth-child(12),
.membership-card--builder .membership-card__criteria li:nth-child(12) {
  grid-row: 5;
}

.membership-card--helper .membership-card__criteria li:nth-child(6),
.membership-card--builder .membership-card__criteria li:nth-child(6),
.membership-card--helper .membership-card__criteria li:nth-child(13),
.membership-card--builder .membership-card__criteria li:nth-child(13) {
  grid-row: 6;
}

.membership-card--helper .membership-card__criteria li:nth-child(7),
.membership-card--builder .membership-card__criteria li:nth-child(7),
.membership-card--builder .membership-card__criteria li:nth-child(14) {
  grid-row: 7;
}

.membership-card__criteria li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 35px;
  padding: 5px 10px 5px 7px;
  border: 1px solid rgba(180, 111, 20, 0.52);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(33, 28, 20, 0.72), rgba(14, 13, 12, 0.9));
  box-shadow: inset 0 0 0 1px rgba(255, 219, 154, 0.03);
}

.membership-card__criteria li::before {
  counter-increment: membership-criteria;
  content: counter(membership-criteria);
  display: grid;
  place-items: center;
  width: 32px;
  height: 28px;
  border: 1px solid rgba(255, 178, 47, 0.78);
  border-radius: 5px;
  color: #f6a728;
  font-size: 13px;
  font-weight: 800;
  background:
    linear-gradient(180deg, rgba(50, 34, 13, 0.9), rgba(9, 9, 8, 0.96));
  box-shadow:
    inset 0 0 0 1px rgba(255, 224, 151, 0.07),
    0 0 9px rgba(246, 167, 40, 0.11);
}

.site-footer {
  margin: 15px 0 0;
  animation: fade-rise 760ms cubic-bezier(.2,.8,.2,1) 820ms both;
}

.legal-layout > .site-footer {
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.9fr 1.32fr;
  gap: 12px;
}

.footer-card {
  min-height: 154px;
  padding: 17px 19px;
  background:
    linear-gradient(180deg, rgba(18, 15, 12, 0.9), rgba(10, 9, 8, 0.94)),
    var(--panel);
}

.footer-card,
.footer-legal {
  transition:
    transform 260ms cubic-bezier(.2,.8,.2,1),
    border-color 260ms ease,
    box-shadow 260ms ease,
    filter 260ms ease;
}

.footer-card:hover,
.footer-legal:hover {
  transform: translateY(-3px);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.footer-brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.footer-brand__logo {
  width: 50px !important;
  height: 50px !important;
  margin: -9px 0 -7px -4px;
  filter:
    drop-shadow(0 2px 2px rgba(0, 0, 0, 0.66))
    drop-shadow(0 0 8px rgba(246, 167, 40, 0.18));
}

.footer-card h2 {
  margin: 0 0 15px;
  color: #f6a728;
  font-size: 15px;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
  text-shadow:
    -1px -1px 0 rgba(255, 233, 184, 0.22),
    0 1px 0 rgba(104, 56, 10, 0.94),
    0 2px 0 rgba(42, 20, 3, 0.68),
    1px 2px 1px rgba(0, 0, 0, 0.26);
}

.footer-brand h2 {
  margin-bottom: 0;
}

.footer-card__title {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
}

.footer-card__icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  object-fit: contain;
  image-rendering: auto;
  filter:
    drop-shadow(0 2px 2px rgba(0, 0, 0, 0.66))
    drop-shadow(0 0 9px rgba(246, 167, 40, 0.18));
  transform: translateY(-1px);
}

.footer-card--community .footer-card__icon {
  filter:
    drop-shadow(0 2px 2px rgba(0, 0, 0, 0.66))
    drop-shadow(0 0 10px rgba(246, 167, 40, 0.22));
}

.footer-card p {
  margin: 0;
  color: #dccdb8;
  font-size: 11px;
  font-weight: 300;
  line-height: 1.68;
}

.footer-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-card li,
.footer-card a {
  color: #e2d4c1;
  font-size: 12px;
}

.footer-card a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-card a span {
  display: inline-grid;
  width: 16px;
  color: #f6a728;
  font-weight: 700;
}

.footer-link__icon {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  margin-left: -2px;
  object-fit: contain;
  image-rendering: auto;
  filter:
    drop-shadow(0 1px 1px rgba(0, 0, 0, 0.65))
    drop-shadow(0 0 5px rgba(246, 167, 40, 0.12));
  transform: translateY(-1px);
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 42px;
  margin-top: 12px;
  padding: 0 18px;
  border-radius: 5px;
  background: rgba(11, 10, 9, 0.88);
}

.footer-legal p,
.footer-legal a {
  color: #b8ab99;
  font-size: 10px;
}

.footer-legal p {
  margin: 0;
}

.footer-legal nav {
  display: flex;
  align-items: center;
  gap: 19px;
}

.footer-legal nav a + a::before {
  content: "•";
  margin-right: 19px;
  color: rgba(246, 167, 40, 0.58);
}

.footer-legal a[aria-current="page"] {
  color: #f6a728;
}

body.modal-open {
  overflow: hidden;
}

.register-modal[hidden] {
  display: none;
}

.register-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.register-modal__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 30%, rgba(246, 167, 40, 0.12), transparent 36%),
    rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(4px);
  animation: modal-fade 180ms ease both;
}

.register-modal.is-closing .register-modal__backdrop {
  animation: modal-fade-out 180ms ease both;
}

.register-modal__dialog {
  position: relative;
  --modal-scale: 1.15;
  --modal-start-scale: 1.08;
  width: min(914px, calc(100vw - 34px));
  max-height: calc(100vh - 34px);
  max-height: calc(100dvh - 34px);
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 18px 20px 14px;
  border: 1px solid rgba(207, 122, 18, 0.84);
  border-radius: 5px;
  background:
    radial-gradient(circle at 34% 0%, rgba(246, 167, 40, 0.085), transparent 30%),
    linear-gradient(180deg, rgba(14, 13, 12, 0.97), rgba(6, 7, 8, 0.985));
  box-shadow:
    0 0 0 2px rgba(47, 27, 7, 0.98),
    0 0 0 4px rgba(177, 91, 8, 0.34),
    0 22px 72px rgba(0, 0, 0, 0.76),
    inset 0 0 0 1px rgba(255, 183, 63, 0.1),
    inset 0 0 36px rgba(246, 167, 40, 0.035);
  transform: scale(var(--modal-scale));
  transform-origin: center;
  animation: modal-rise 220ms cubic-bezier(.2,.8,.2,1) both;
}

.register-modal.is-closing .register-modal__dialog {
  animation: modal-drop 180ms ease both;
}

.register-modal__close {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 5;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(246, 167, 40, 0.56);
  border-radius: 4px;
  color: #f6a728;
  font: inherit;
  font-size: 18px;
  line-height: 1;
  background: rgba(17, 13, 9, 0.9);
  cursor: pointer;
  transition:
    transform 160ms ease,
    filter 160ms ease,
    border-color 160ms ease;
}

.register-modal__close:hover,
.copy-button:hover,
.modal-button:hover {
  filter: brightness(1.1);
}

.register-modal__header {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: start;
  padding-right: 48px;
  margin-bottom: 12px;
}

.register-modal__header img {
  width: 29px;
  height: 29px;
  object-fit: contain;
  filter: drop-shadow(0 0 9px rgba(246, 167, 40, 0.22));
}

.register-modal__header h2 {
  margin: 0 0 7px;
  color: #fff0d8;
  font-size: 21px;
  line-height: 1.1;
  text-shadow:
    -1px -1px 0 rgba(255, 233, 184, 0.18),
    0 2px 0 rgba(47, 24, 4, 0.72),
    0 0 16px rgba(246, 167, 40, 0.16);
}

.register-modal__header p {
  max-width: 590px;
  margin: 0;
  color: #d8cbb7;
  font-size: 9px;
  line-height: 1.5;
}

.register-modal__content {
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) minmax(260px, 0.92fr);
  gap: 14px;
}

.register-modal__main {
  display: grid;
  gap: 8px;
}

.register-step,
.register-warning,
.register-info,
.register-consent,
.register-visual,
.login-form-card,
.login-side-card,
.login-visual {
  border: 1px solid rgba(171, 103, 18, 0.56);
  border-radius: 4px;
  background:
    radial-gradient(circle at 5% 0%, rgba(246, 167, 40, 0.055), transparent 30%),
    linear-gradient(180deg, rgba(16, 14, 12, 0.91), rgba(8, 8, 9, 0.95)),
    rgba(11, 10, 9, 0.88);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.025),
    0 12px 28px rgba(0, 0, 0, 0.2);
  transition:
    transform 220ms cubic-bezier(.2,.8,.2,1),
    transform 220ms cubic-bezier(.2,.8,.2,1),
    border-color 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease,
    filter 220ms ease;
}

.register-step:hover,
.register-info:hover,
.register-consent:hover,
.register-warning:hover,
.register-visual:hover,
.login-side-card:hover,
.login-visual:hover {
  border-color: rgba(246, 167, 40, 0.74);
  box-shadow:
    inset 0 0 0 1px rgba(255, 232, 181, 0.04),
    0 14px 30px rgba(0, 0, 0, 0.26),
    0 0 18px rgba(246, 167, 40, 0.075);
  filter: brightness(1.04);
}

.register-step {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  padding: 9px 10px;
}

.register-step__badge {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 1px solid rgba(255, 190, 72, 0.74);
  border-radius: 3px;
  color: #fff0d8;
  font-size: 18px;
  font-weight: 800;
  background: linear-gradient(180deg, #d88b22, #8c4a09);
  box-shadow:
    inset 0 1px 0 rgba(255, 227, 150, 0.25),
    0 0 14px rgba(246, 167, 40, 0.16);
}

.register-step h3,
.register-info h3 {
  margin: 0 0 6px;
  color: #fff0d8;
  font-size: 12px;
  line-height: 1.2;
}

.register-step p {
  margin: 0 0 10px;
  color: #cdbfad;
  font-size: 8.5px;
  line-height: 1.42;
}

.copy-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 5px 7px 5px 15px;
  border: 1px solid rgba(170, 108, 25, 0.58);
  border-radius: 4px;
  background:
    linear-gradient(180deg, rgba(13, 14, 15, 0.96), rgba(4, 5, 6, 0.96));
  transition:
    transform 190ms ease,
    border-color 190ms ease,
    box-shadow 190ms ease,
    background 190ms ease;
}

.copy-field:hover {
  transform: translateX(2px);
  border-color: rgba(246, 167, 40, 0.72);
  background:
    linear-gradient(180deg, rgba(19, 17, 13, 0.97), rgba(5, 6, 7, 0.97));
  box-shadow:
    inset 0 0 0 1px rgba(255, 232, 181, 0.035),
    0 0 17px rgba(246, 167, 40, 0.08);
}

.copy-field--ip code {
  color: #f6a728;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.copy-field img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.copy-field code {
  overflow: hidden;
  color: #e7dccb;
  font-family: "Monocraft", monospace;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.65),
    0 0 10px rgba(246, 167, 40, 0.08);
}

.copy-field__prompt {
  display: grid;
  place-items: center;
  width: 26px;
  height: 24px;
  border-radius: 3px;
  color: #d5d0c8;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.command-name {
  color: #f6a728;
}

.command-argument {
  color: #e9e1d6;
  font-weight: 400;
}

.copy-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 1px solid rgba(246, 167, 40, 0.62);
  border-radius: 3px;
  color: #f4dfbd;
  font: inherit;
  background:
    linear-gradient(180deg, rgba(118, 73, 22, 0.92), rgba(23, 18, 12, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 230, 174, 0.16),
    inset 0 -1px 0 rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(0, 0, 0, 0.24);
  cursor: pointer;
  transition:
    transform 160ms ease,
    filter 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease;
}

.copy-button:hover {
  border-color: rgba(255, 194, 82, 0.94);
  box-shadow:
    inset 0 1px 0 rgba(255, 236, 190, 0.22),
    inset 0 -1px 0 rgba(0, 0, 0, 0.44),
    0 0 14px rgba(246, 167, 40, 0.16);
}

.copy-button span,
.modal-button--primary span {
  position: relative;
  display: block;
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  font-size: 0;
}

.copy-button span::before,
.copy-button span::after,
.modal-button--primary span::before,
.modal-button--primary span::after {
  content: "";
  position: absolute;
  border: 1.35px solid currentColor;
  border-radius: 2.5px;
  transition:
    transform 160ms ease,
    opacity 160ms ease,
    border-color 160ms ease;
}

.copy-button span::before,
.modal-button--primary span::before {
  left: 0;
  top: 0;
  z-index: 0;
  width: 8.5px;
  height: 8.5px;
  opacity: 0.82;
  background: transparent;
}

.copy-button span::after,
.modal-button--primary span::after {
  left: 4.5px;
  top: 4.5px;
  z-index: 1;
  width: 8.5px;
  height: 8.5px;
  background: currentColor;
}

.copy-button:hover span::before,
.modal-button--primary:hover span::before {
  opacity: 1;
  transform: translate(-1px, -1px);
}

.copy-button:hover span::after,
.modal-button--primary:hover span::after {
  transform: translate(1px, -1px);
}

.copy-button.is-copied {
  border-color: rgba(255, 194, 82, 0.94);
  color: #fff1db;
  box-shadow:
    inset 0 1px 0 rgba(255, 236, 190, 0.22),
    inset 0 -1px 0 rgba(0, 0, 0, 0.44),
    0 0 14px rgba(246, 167, 40, 0.16);
}

.copy-button.is-copied::after {
  content: "Másolva!";
  position: absolute;
  right: -4px;
  bottom: calc(100% + 7px);
  padding: 5px 7px;
  border: 1px solid rgba(246, 167, 40, 0.54);
  border-radius: 4px;
  color: #ffe1a5;
  font-size: 9px;
  white-space: nowrap;
  background: rgba(20, 13, 5, 0.96);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}

.register-step__note {
  display: block;
  margin-top: 6px;
  color: #f6a728;
  font-size: 8px;
}

.register-step__note::before {
  content: "●";
  margin-right: 6px;
}

.register-warning {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 9px;
  align-items: center;
  min-height: 48px;
  padding: 7px 10px;
}

.register-warning img {
  width: 31px;
  height: 31px;
  object-fit: contain;
}

.register-warning strong,
.register-consent strong {
  display: block;
  color: #f6a728;
  font-size: 10px;
  line-height: 1.25;
}

.register-warning p,
.register-consent p {
  margin: 4px 0 0;
  color: #d2c5b3;
  font-size: 7.8px;
  line-height: 1.42;
}

.register-modal__side {
  display: grid;
  gap: 9px;
  align-content: start;
}

.register-visual {
  position: relative;
  height: 147px;
  min-height: 0;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 8, 8, 0.55), rgba(7, 8, 8, 0.16) 45%, rgba(7, 8, 8, 0.42)),
    url("assets/background-main-tall.webp") center 38% / cover;
}

.register-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 73% 30%, rgba(246, 167, 40, 0.16), transparent 26%),
    linear-gradient(0deg, rgba(4, 5, 6, 0.54), transparent 58%);
  pointer-events: none;
}

.register-visual img {
  position: absolute;
  left: 4px;
  bottom: -28px;
  z-index: 1;
  width: auto;
  height: 187px;
  min-height: 0;
  object-fit: contain;
  object-position: left bottom;
  transform: none;
  filter: saturate(1.07) contrast(1.06);
  transition:
    transform 520ms ease,
    filter 520ms ease;
}

.register-visual:hover img {
  transform: translateY(-4px) scale(1.035);
  filter: saturate(1.13) contrast(1.08) brightness(1.05);
}

.register-info {
  padding: 10px 12px;
}

.register-info h3 {
  color: #f6a728;
}

.register-info ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.register-info li {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 31px;
  color: #e2d6c5;
  font-size: 8.5px;
  border-top: 1px dashed rgba(246, 167, 40, 0.14);
}

.register-info li:first-child {
  border-top: 0;
}

.register-info li img,
.register-info li span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: #f6a728;
}

.register-info li img {
  object-fit: contain;
  filter:
    drop-shadow(0 1px 1px rgba(0, 0, 0, 0.6))
    drop-shadow(0 0 6px rgba(246, 167, 40, 0.12));
}

.register-info li em {
  font-style: normal;
}

.register-consent {
  display: grid;
  grid-template-columns: 33px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  padding: 9px 12px;
  background:
    linear-gradient(180deg, rgba(24, 18, 11, 0.94), rgba(10, 9, 8, 0.96));
}

.register-consent__icon {
  width: 31px;
  height: 31px;
  object-fit: contain;
  filter:
    drop-shadow(0 2px 2px rgba(0, 0, 0, 0.62))
    drop-shadow(0 0 8px rgba(246, 167, 40, 0.2));
}

.register-modal__actions {
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) minmax(260px, 0.92fr);
  gap: 14px;
  align-items: center;
  margin-top: 8px;
}

.register-modal__button-group {
  position: relative;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 8px;
  align-items: center;
}

.register-modal__status {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  pointer-events: none;
}

.register-modal:not(.stat-modal) .register-modal__header,
.register-modal:not(.stat-modal) .register-step,
.register-modal:not(.stat-modal) .register-visual,
.register-modal:not(.stat-modal) .register-info,
.register-modal:not(.stat-modal) .register-consent,
.register-modal:not(.stat-modal) .register-modal__actions,
.login-modal .login-form-card,
.login-modal .login-visual,
.login-modal .login-side-card {
  animation: stat-modal-item-rise 320ms cubic-bezier(.2,.8,.2,1) both;
}

.register-modal:not(.stat-modal) .register-modal__header {
  animation-delay: 60ms;
}

.register-modal:not(.stat-modal) .register-step:first-child,
.login-modal .login-form-card {
  animation-delay: 110ms;
}

.register-modal:not(.stat-modal) .register-step:nth-child(2),
.login-modal .login-visual {
  animation-delay: 155ms;
}

.register-modal:not(.stat-modal) .register-step:nth-child(3),
.login-modal .login-side-card {
  animation-delay: 190ms;
}

.register-modal:not(.stat-modal) .register-visual {
  animation-delay: 230ms;
}

.register-modal:not(.stat-modal) .register-info {
  animation-delay: 270ms;
}

.register-modal:not(.stat-modal) .register-consent {
  animation-delay: 305ms;
}

.register-modal:not(.stat-modal) .register-modal__actions {
  animation-delay: 345ms;
}

.modal-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 34px;
  border-radius: 4px;
  font: inherit;
  font-size: 10px;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 160ms ease,
    filter 160ms ease,
    border-color 160ms ease;
}

.modal-button--secondary {
  color: #f0e4d2;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(58, 55, 51, 0.88), rgba(19, 18, 17, 0.96));
}

.modal-button--primary {
  color: #fff1db;
  border: 1px solid rgba(255, 187, 70, 0.72);
  background: linear-gradient(180deg, #e99a27, #9b5109);
  box-shadow:
    inset 0 1px 0 rgba(255, 229, 169, 0.22),
    0 0 22px rgba(246, 167, 40, 0.14);
}

.modal-button--danger {
  color: #ffe1dc;
  border: 1px solid rgba(255, 101, 76, 0.42);
  background: linear-gradient(180deg, rgba(93, 34, 25, 0.9), rgba(42, 17, 14, 0.96));
}

.modal-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  filter: grayscale(0.28);
}

.modal-button.is-copied {
  border-color: rgba(255, 210, 112, 0.86);
  box-shadow:
    inset 0 1px 0 rgba(255, 235, 184, 0.24),
    0 0 24px rgba(246, 167, 40, 0.2);
}

.modal-button--primary.is-copied::after {
  content: "Másolva!";
  position: absolute;
  right: 0;
  bottom: calc(100% + 7px);
  padding: 5px 7px;
  border: 1px solid rgba(246, 167, 40, 0.54);
  border-radius: 4px;
  color: #ffe1a5;
  font-size: 9px;
  line-height: 1;
  white-space: nowrap;
  background: rgba(20, 13, 5, 0.96);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}

.stat-modal__dialog {
  --modal-scale: 1.15;
  --modal-start-scale: 1.08;
  width: min(548px, calc(100vw - 34px));
  padding: 20px;
}

.stat-modal__header {
  grid-template-columns: 42px 1fr;
  gap: 13px;
  margin-bottom: 16px;
}

.stat-modal__header img {
  width: 38px;
  height: 38px;
}

.stat-modal__header h2 {
  font-size: 21px;
}

.stat-modal__header p {
  max-width: 410px;
  font-size: 10px;
}

.stat-modal__header,
.stat-modal__card,
.stat-modal__details > div,
.stat-modal__actions {
  animation: stat-modal-item-rise 320ms cubic-bezier(.2,.8,.2,1) both;
}

.stat-modal__header {
  animation-delay: 60ms;
}

.stat-modal__card {
  animation-delay: 110ms;
}

.stat-modal__details > div:first-child {
  animation-delay: 155ms;
}

.stat-modal__details > div:nth-child(2) {
  animation-delay: 190ms;
}

.stat-modal__actions {
  animation-delay: 230ms;
}

.stat-modal__content {
  display: grid;
  gap: 11px;
}

.stat-modal__card,
.stat-modal__details > div {
  border: 1px solid rgba(171, 103, 18, 0.56);
  border-radius: 4px;
  background:
    radial-gradient(circle at 5% 0%, rgba(246, 167, 40, 0.055), transparent 30%),
    linear-gradient(180deg, rgba(16, 14, 12, 0.91), rgba(8, 8, 9, 0.95)),
    rgba(11, 10, 9, 0.88);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.025),
    0 12px 28px rgba(0, 0, 0, 0.2);
  transition:
    transform 220ms cubic-bezier(.2,.8,.2,1),
    border-color 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease,
    filter 220ms ease;
}

.stat-modal__card:hover,
.stat-modal__details > div:hover {
  border-color: rgba(246, 167, 40, 0.74);
  box-shadow:
    inset 0 0 0 1px rgba(255, 232, 181, 0.04),
    0 14px 30px rgba(0, 0, 0, 0.26),
    0 0 18px rgba(246, 167, 40, 0.075);
  filter: brightness(1.04);
}

.stat-modal__card {
  display: grid;
  gap: 9px;
  padding: 13px;
}

.stat-modal__card > span,
.stat-modal__details span {
  display: block;
  color: #eab453;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.stat-modal__details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}

.stat-modal__details > div {
  min-width: 0;
  padding: 12px 13px;
}

.stat-modal__details strong {
  display: block;
  overflow: hidden;
  margin-top: 8px;
  color: #fff0d8;
  font-size: 17px;
  line-height: 1.1;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.stat-modal__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 0 15px;
  border: 1px solid rgba(255, 187, 70, 0.58);
  border-radius: 4px;
  color: #fff0d8;
  font-size: 13px;
  font-weight: 700;
  background: linear-gradient(180deg, rgba(18, 18, 19, 0.96), rgba(6, 7, 8, 0.98));
  transition:
    transform 180ms ease,
    filter 180ms ease,
    border-color 180ms ease;
}

.stat-modal__link:hover {
  border-color: rgba(255, 194, 82, 0.86);
  filter: brightness(1.08);
}

.stat-modal__link span {
  color: #f6a728;
}

.stat-modal__actions {
  position: relative;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 14px;
}

.stat-modal__actions .modal-button {
  min-width: 112px;
  min-height: 38px;
  padding: 0 15px;
}

.stat-modal__button-link span {
  width: auto;
  height: auto;
  font-size: 12px;
}

.stat-modal__button-link span::before,
.stat-modal__button-link span::after {
  display: none;
}

.support-tickets-page {
  display: grid;
  gap: 14px;
}

.support-ticket-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.support-ticket-tabs button {
  min-height: 38px;
  border: 1px solid rgba(255, 178, 45, 0.28);
  border-radius: 4px;
  color: #d7cbb8;
  font: inherit;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  background:
    linear-gradient(180deg, rgba(23, 18, 13, 0.92), rgba(10, 9, 8, 0.96));
  cursor: pointer;
}

.support-ticket-tabs button:hover,
.support-ticket-tabs button.is-active {
  color: #fff0d8;
  border-color: rgba(246, 167, 40, 0.68);
  filter: brightness(1.06);
}

.support-ticket-tabs button.is-active {
  background:
    radial-gradient(circle at 100% 0%, rgba(246, 167, 40, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(43, 29, 13, 0.94), rgba(13, 11, 9, 0.97));
}

.support-ticket-staff-filters {
  display: grid;
  grid-template-columns: minmax(180px, 1.25fr) minmax(150px, 0.75fr) minmax(190px, 1fr);
  gap: 10px;
}

.support-ticket-staff-filters label {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.support-ticket-staff-filters span,
.support-ticket-status-control label {
  color: #ffd277;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.support-ticket-staff-filters input,
.support-ticket-staff-filters select,
.support-ticket-status-control select {
  width: 100%;
  min-height: 36px;
  border: 1px solid rgba(255, 178, 45, 0.28);
  border-radius: 4px;
  padding: 0 10px;
  color: #f4e6d5;
  font: inherit;
  font-size: 10px;
  background:
    linear-gradient(180deg, rgba(20, 17, 14, 0.96), rgba(11, 10, 9, 0.98));
  outline: none;
}

.support-ticket-staff-filters input:focus,
.support-ticket-staff-filters select:focus,
.support-ticket-status-control select:focus {
  border-color: rgba(246, 167, 40, 0.7);
  box-shadow: 0 0 0 2px rgba(246, 167, 40, 0.12);
}

.support-ticket-staff-filters select option,
.support-ticket-status-control select option {
  color: #f4e6d5;
  background: #12100d;
}

.support-tickets-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 14px;
  min-height: 640px;
}

.support-ticket-list-card,
.support-ticket-chat-card {
  min-width: 0;
  border: 1px solid rgba(171, 103, 18, 0.56);
  border-radius: 4px;
  background:
    radial-gradient(circle at 5% 0%, rgba(246, 167, 40, 0.055), transparent 30%),
    linear-gradient(180deg, rgba(16, 14, 12, 0.91), rgba(8, 8, 9, 0.95)),
    rgba(11, 10, 9, 0.88);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.025),
    0 12px 28px rgba(0, 0, 0, 0.2);
}

.support-ticket-list-card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
}

.support-ticket-list-card > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 178, 45, 0.18);
  padding: 11px 12px;
  background: rgba(246, 167, 40, 0.055);
}

.support-ticket-list-card > header span {
  color: #f6a728;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.support-ticket-refresh {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 178, 45, 0.34);
  border-radius: 4px;
  color: #ffd277;
  font: inherit;
  font-size: 14px;
  background: rgba(18, 15, 12, 0.92);
  cursor: pointer;
}

.support-ticket-list {
  display: grid;
  align-content: start;
  gap: 8px;
  overflow: auto;
  padding: 10px;
}

.support-ticket-list__empty {
  margin: 0;
  border: 1px dashed rgba(255, 178, 45, 0.28);
  border-radius: 4px;
  padding: 12px;
  color: #d7cbb8;
  font-size: 10px;
  line-height: 1.45;
}

.support-ticket-list__item {
  display: grid;
  gap: 6px;
  width: 100%;
  border: 1px solid rgba(255, 178, 45, 0.26);
  border-radius: 4px;
  padding: 10px;
  color: #d7cbb8;
  font: inherit;
  text-align: left;
  background:
    linear-gradient(180deg, rgba(23, 18, 13, 0.92), rgba(10, 9, 8, 0.96));
  cursor: pointer;
  transition:
    border-color 180ms ease,
    filter 180ms ease,
    transform 180ms ease;
}

.support-ticket-list__item:hover,
.support-ticket-list__item.is-active {
  border-color: rgba(246, 167, 40, 0.68);
  filter: brightness(1.06);
}

.support-ticket-list__item.is-active {
  background:
    radial-gradient(circle at 100% 0%, rgba(246, 167, 40, 0.12), transparent 40%),
    linear-gradient(180deg, rgba(43, 29, 13, 0.94), rgba(13, 11, 9, 0.97));
}

.support-ticket-list__item strong {
  overflow: hidden;
  color: #fff0d8;
  font-size: 12px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.support-ticket-list__item span,
.support-ticket-list__item small {
  overflow: hidden;
  color: #c9baa6;
  font-size: 9px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.support-ticket-list__meta {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.support-ticket-list__date {
  min-width: 0;
  flex: 1 1 auto;
}

.support-ticket-status-badge {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  min-height: 18px;
  max-width: 112px;
  border: 1px solid rgba(255, 178, 45, 0.28);
  border-radius: 4px;
  padding: 0 7px;
  font-size: 8px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.support-ticket-status-badge--open {
  color: #bff0a8;
  border-color: rgba(132, 213, 103, 0.4);
  background: rgba(16, 29, 11, 0.72);
}

.support-ticket-status-badge--answered {
  color: #9fd1ff;
  border-color: rgba(93, 167, 232, 0.42);
  background: rgba(10, 24, 39, 0.74);
}

.support-ticket-status-badge--waiting {
  color: #ffd277;
  border-color: rgba(246, 167, 40, 0.46);
  background: rgba(45, 30, 9, 0.76);
}

.support-ticket-status-badge--closed {
  color: #d0c7bb;
  border-color: rgba(166, 151, 132, 0.34);
  background: rgba(34, 32, 29, 0.78);
}

.support-ticket-list__item small {
  color: #f6a728;
  font-weight: 800;
}

.support-ticket-chat-card {
  display: grid;
  min-height: 0;
}

.support-ticket-empty {
  align-self: center;
  justify-self: center;
  max-width: 360px;
  padding: 18px;
  text-align: center;
}

.support-ticket-empty[hidden],
.support-ticket-chat[hidden],
.support-ticket-chat__details[hidden],
.support-ticket-status-control[hidden] {
  display: none;
}

.support-ticket-empty strong {
  display: block;
  color: #fff0d8;
  font-size: 16px;
  line-height: 1.2;
}

.support-ticket-empty p {
  margin: 9px 0 0;
  color: #c9baa6;
  font-size: 10px;
  line-height: 1.5;
}

.support-ticket-chat {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  min-height: 0;
}

.support-ticket-chat__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  border-bottom: 1px solid rgba(255, 178, 45, 0.18);
  padding: 12px 14px;
  background: rgba(246, 167, 40, 0.055);
}

.support-ticket-chat__header span {
  display: block;
  margin-bottom: 5px;
  color: #f6a728;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.support-ticket-chat__header h3 {
  margin: 0;
  color: #fff0d8;
  font-size: 18px;
  line-height: 1.15;
}

.support-ticket-chat__header p {
  margin: 7px 0 0;
  color: #c9baa6;
  font-size: 9px;
  line-height: 1.45;
}

.support-ticket-chat__header > strong:not(.support-ticket-status-badge),
.support-ticket-staff-status > strong:not(.support-ticket-status-badge) {
  border: 1px solid rgba(132, 213, 103, 0.38);
  border-radius: 4px;
  padding: 6px 8px;
  color: #bff0a8;
  font-size: 9px;
  line-height: 1;
  text-transform: uppercase;
  background: rgba(16, 29, 11, 0.72);
}

.support-ticket-status-badge--header {
  min-height: 24px;
  padding: 0 9px;
  font-size: 9px;
}

.support-ticket-staff-status {
  display: grid;
  justify-items: end;
  gap: 9px;
}

.support-ticket-status-control {
  display: grid;
  gap: 7px;
  min-width: 210px;
}

.support-ticket-status-control div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px;
  align-items: center;
}

.support-ticket-status-control .modal-button {
  min-height: 36px;
  padding-inline: 12px;
}

.support-ticket-chat__details {
  display: grid;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 178, 45, 0.14);
  padding: 10px 14px;
}

.support-ticket-chat__details div {
  display: grid;
  gap: 4px;
}

.support-ticket-chat__details span {
  color: #f6a728;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.support-ticket-chat__details p {
  margin: 0;
  color: #d7cbb8;
  font-size: 10px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.support-ticket-messages {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 0;
  overflow: auto;
  padding: 14px;
}

.support-ticket-message {
  justify-self: end;
  display: grid;
  gap: 7px;
  width: min(82%, 560px);
  border: 1px solid rgba(255, 178, 45, 0.3);
  border-radius: 5px;
  padding: 10px 12px;
  background:
    radial-gradient(circle at 100% 0%, rgba(246, 167, 40, 0.1), transparent 40%),
    linear-gradient(180deg, rgba(45, 30, 13, 0.92), rgba(15, 12, 9, 0.96));
}

.support-ticket-message--staff {
  justify-self: start;
  border-color: rgba(176, 166, 151, 0.34);
  background:
    radial-gradient(circle at 0% 0%, rgba(176, 166, 151, 0.12), transparent 40%),
    linear-gradient(180deg, rgba(28, 27, 25, 0.92), rgba(12, 12, 11, 0.96));
}

.support-ticket-message--staff-only {
  border-color: rgba(255, 101, 76, 0.46);
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 101, 76, 0.16), transparent 42%),
    linear-gradient(180deg, rgba(56, 20, 17, 0.94), rgba(17, 10, 9, 0.97));
}

.support-ticket-message header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.support-ticket-message strong {
  color: #fff0d8;
  font-size: 10px;
  line-height: 1.2;
}

.support-ticket-message span {
  color: #c9baa6;
  font-size: 8.5px;
  line-height: 1.2;
  white-space: nowrap;
}

.support-ticket-message p {
  margin: 0;
  color: #eadcc9;
  font-size: 10.5px;
  line-height: 1.55;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.support-ticket-message-form {
  display: grid;
  gap: 8px;
  border-top: 1px solid rgba(255, 178, 45, 0.18);
  padding: 12px 14px 14px;
  background: rgba(8, 8, 9, 0.56);
}

.support-ticket-message-form label {
  color: #ffd277;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.support-ticket-message-form textarea {
  width: 100%;
  min-height: 92px;
  border: 1px solid rgba(255, 178, 45, 0.28);
  border-radius: 4px;
  padding: 10px 12px;
  color: #f4e6d5;
  font: inherit;
  font-size: 11px;
  line-height: 1.5;
  resize: vertical;
  background:
    linear-gradient(180deg, rgba(20, 17, 14, 0.96), rgba(11, 10, 9, 0.98));
  outline: none;
}

.support-ticket-message-form textarea:focus {
  border-color: rgba(246, 167, 40, 0.7);
  box-shadow: 0 0 0 2px rgba(246, 167, 40, 0.12);
}

.support-ticket-message-form .support-ticket-staff-only-toggle {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  border: 1px solid rgba(255, 101, 76, 0.42);
  border-radius: 4px;
  padding: 9px 10px;
  color: #ffb29f;
  font-size: 9px;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
  background:
    linear-gradient(180deg, rgba(72, 24, 18, 0.84), rgba(26, 12, 10, 0.92));
}

.support-ticket-message-form .support-ticket-staff-only-toggle input {
  width: 14px;
  height: 14px;
  accent-color: #ff654c;
}

.support-ticket-message-form__footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.support-ticket-status {
  display: none;
  margin: 0;
  color: #f3e4cf;
  font-size: 10px;
  line-height: 1.45;
}

.support-ticket-status.is-visible {
  display: block;
}

.support-ticket-status.is-error {
  color: #ffb29f;
}

.support-ticket-status.is-success {
  color: #bff0a8;
}

.support-ticket-status.is-info {
  color: #f3e4cf;
}

.login-modal__dialog {
  width: min(914px, calc(100vw - 34px));
  padding: 18px 20px 14px;
}

.login-modal__header {
  grid-template-columns: 34px 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.login-modal__header img {
  width: 29px;
  height: 29px;
}

.login-modal__header h2 {
  margin-bottom: 7px;
  font-size: 21px;
}

.login-modal__header p {
  max-width: 590px;
  font-size: 9px;
  line-height: 1.5;
}

.login-modal__content {
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) minmax(260px, 0.92fr);
  gap: 14px;
}

.login-modal__main,
.login-modal__side {
  display: grid;
  align-content: start;
}

.login-modal__main {
  gap: 8px;
}

.login-modal__side {
  gap: 9px;
}

.login-form-card {
  position: relative;
  display: grid;
  gap: 11px;
  padding: 13px 14px 14px;
}

.login-status {
  position: static;
  flex: 1 1 auto;
  width: auto;
  height: auto;
  min-width: 0;
  max-width: 260px;
  margin: 0 0 0 auto;
  clip-path: none;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  pointer-events: none;
  padding: 0;
  border: 0;
  color: #ff6b5f;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.2;
  text-align: right;
  text-shadow:
    0 1px 0 rgba(61, 8, 8, 0.88),
    0 0 8px rgba(255, 46, 46, 0.14);
  opacity: 0;
  transition: opacity 160ms ease;
}

.login-status.is-visible {
  opacity: 1;
}

.login-status.is-info {
  color: #ffe1a5;
}

.login-status.is-success {
  color: #cfffca;
}

.login-field-group {
  display: grid;
  gap: 8px;
}

.login-field-group[hidden] {
  display: none;
}

.login-field-group label {
  color: #f6a728;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.login-field {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  min-height: 48px;
  padding: 0 10px;
  border: 1px solid rgba(170, 108, 25, 0.62);
  border-radius: 5px;
  background:
    linear-gradient(180deg, rgba(14, 15, 16, 0.97), rgba(5, 6, 7, 0.98));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.018);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.login-field--password {
  grid-template-columns: 36px minmax(0, 1fr) 34px;
}

.login-field:focus-within {
  border-color: rgba(246, 167, 40, 0.88);
  background:
    linear-gradient(180deg, rgba(19, 17, 13, 0.98), rgba(5, 6, 7, 0.98));
  box-shadow:
    inset 0 0 0 1px rgba(255, 233, 184, 0.035),
    0 0 18px rgba(246, 167, 40, 0.1);
}

.login-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  color: #eee2d1;
  font: inherit;
  font-size: 9px;
  background: transparent;
  outline: 0;
}

.login-field input::placeholder {
  color: rgba(226, 214, 197, 0.7);
}

.login-field__icon {
  position: relative;
  width: 26px;
  height: 26px;
  color: #f6a728;
  filter:
    drop-shadow(0 1px 1px rgba(0, 0, 0, 0.6))
    drop-shadow(0 0 7px rgba(246, 167, 40, 0.18));
}

.login-field__icon::before,
.login-field__icon::after {
  content: "";
  position: absolute;
}

.login-field__icon--user::before {
  top: 3px;
  left: 7px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: currentColor;
}

.login-field__icon--user::after {
  left: 3px;
  bottom: 2px;
  width: 21px;
  height: 11px;
  border-radius: 12px 12px 4px 4px;
  background: currentColor;
}

.login-field__icon--lock {
  transform: translate(1px, -1px);
}

.login-field__icon--lock::before {
  top: 0;
  left: 4px;
  width: 16px;
  height: 14px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
}

.login-field__icon--lock::after {
  left: 4px;
  bottom: 2px;
  width: 20px;
  height: 16px;
  border-radius: 4px;
  background: currentColor;
}

.login-field__icon--2fa::before {
  top: 3px;
  left: 4px;
  width: 18px;
  height: 21px;
  border-radius: 5px 5px 10px 10px;
  background: currentColor;
  clip-path: polygon(50% 0, 100% 18%, 91% 70%, 50% 100%, 9% 70%, 0 18%);
}

.login-field__icon--2fa::after {
  display: none;
}

.login-password-toggle {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 0;
  color: #f6a728;
  background: transparent;
  cursor: pointer;
  transition:
    transform 160ms ease,
    filter 160ms ease;
}

.login-password-toggle:hover {
  filter: brightness(1.12);
}

.login-password-toggle span {
  position: relative;
  display: block;
  width: 20px;
  height: 14px;
}

.login-password-toggle span::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0;
  width: 13px;
  height: 13px;
  border: 2.2px solid currentColor;
  border-radius: 75% 12%;
  transform: rotate(45deg);
  box-shadow:
    inset 0 1px 0 rgba(255, 235, 181, 0.14),
    0 0 8px rgba(246, 167, 40, 0.12);
}

.login-password-toggle span::after {
  content: "";
  position: absolute;
  top: 5.55px;
  left: 9.25px;
  width: 4.5px;
  height: 4.5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 1.6px rgba(47, 26, 6, 0.72);
}

.login-form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 22px;
}

.login-remember {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #e8dccb;
  font-size: 9px;
  cursor: pointer;
  margin-left: 0;
  flex: 0 0 auto;
}

.login-remember input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.login-remember span {
  position: relative;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(246, 167, 40, 0.74);
  border-radius: 3px;
  background:
    linear-gradient(180deg, rgba(151, 89, 15, 0.92), rgba(64, 37, 8, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 224, 157, 0.18),
    0 0 10px rgba(246, 167, 40, 0.12);
}

.login-remember span::after {
  content: "";
  width: 11px;
  height: 6px;
  margin-top: -2px;
  border: 3px solid #fff2d8;
  border-top: 0;
  border-right: 0;
  opacity: 0;
  transform: rotate(-45deg) scale(0.85);
  transition:
    opacity 140ms ease,
    transform 140ms ease;
}

.login-remember input:checked + span::after {
  opacity: 1;
  transform: rotate(-45deg) scale(1);
}

.login-form-row a {
  color: #f6a728;
  font-size: 8.5px;
  font-weight: 700;
}

.login-submit {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  border: 1px solid rgba(255, 190, 72, 0.86);
  border-radius: 4px;
  color: #fff1db;
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  background:
    linear-gradient(180deg, #f5a72a 0%, #c9780f 52%, #9a4f08 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 235, 179, 0.3),
    inset 0 -2px 0 rgba(70, 31, 3, 0.36),
    0 0 23px rgba(246, 167, 40, 0.18);
  cursor: pointer;
  overflow: hidden;
  transition:
    transform 170ms ease,
    filter 170ms ease,
    box-shadow 170ms ease;
}

.login-submit:hover {
  filter: brightness(1.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 235, 179, 0.34),
    inset 0 -2px 0 rgba(70, 31, 3, 0.36),
    0 0 28px rgba(246, 167, 40, 0.24);
}

.login-submit:disabled {
  cursor: wait;
  opacity: 0.78;
  filter: grayscale(0.15) brightness(0.92);
}

.login-submit__icon {
  width: auto;
  height: 24px;
  object-fit: contain;
  filter:
    drop-shadow(0 1px 1px rgba(0, 0, 0, 0.62))
    drop-shadow(0 0 6px rgba(255, 173, 42, 0.18))
    brightness(1.08);
}

.login-submit span {
  line-height: 1;
}

.login-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  color: #b9aea0;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.login-divider::before,
.login-divider::after {
  content: "";
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12));
}

.login-divider::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.12), transparent);
}

.login-register-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  border: 1px solid rgba(172, 108, 21, 0.64);
  border-radius: 5px;
  color: #f6a728;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  background:
    linear-gradient(180deg, rgba(18, 18, 17, 0.94), rgba(8, 8, 8, 0.96));
  cursor: pointer;
  transition:
    transform 170ms ease,
    filter 170ms ease,
    border-color 170ms ease,
    box-shadow 170ms ease;
}

.login-register-button:hover {
  border-color: rgba(246, 167, 40, 0.78);
  filter: brightness(1.08);
  box-shadow: 0 0 18px rgba(246, 167, 40, 0.1);
}

.login-register-button img {
  width: auto;
  height: 23px;
  object-fit: contain;
}

.login-side-card h3 {
  color: #f6a728;
}

.login-visual {
  position: relative;
  height: 147px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(6, 7, 8, 0.58), rgba(6, 7, 8, 0.08) 52%, rgba(6, 7, 8, 0.48)),
    url("assets/news/news-lobby.webp") center center / cover no-repeat;
}

.login-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 28% 68%, rgba(246, 167, 40, 0.18), transparent 23%),
    linear-gradient(0deg, rgba(4, 5, 6, 0.52), transparent 62%);
}

.login-visual img {
  position: absolute;
  left: -12px;
  bottom: -58px;
  z-index: 1;
  width: auto;
  height: 202px;
  object-fit: contain;
  filter: saturate(1.06) contrast(1.06);
  transition:
    transform 520ms ease,
    filter 520ms ease;
}

.login-visual:hover img {
  transform: translateY(-5px) scale(1.03);
  filter: saturate(1.12) contrast(1.08) brightness(1.04);
}

.login-side-card {
  padding: 10px 12px;
}

.login-side-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 9px;
  font-size: 10px;
  line-height: 1.2;
  text-transform: uppercase;
}

.login-side-card h3 img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.login-info-card ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.login-info-card h3 {
  display: block;
  margin: 0 0 6px;
  color: #f6a728;
  font-size: 12px;
  line-height: 1.2;
  text-transform: none;
}

.login-info-card li {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 31px;
  color: #e2d6c5;
  font-size: 8.5px;
  line-height: 1.35;
  border-top: 1px dashed rgba(246, 167, 40, 0.14);
}

.login-info-card li:first-child {
  border-top: 0;
}

.login-info-card__note {
  align-items: flex-start;
  padding: 7px 0 2px;
}

.login-info-card__note p {
  margin: 0;
  color: #fff0d8;
  font-size: 8px;
  line-height: 1.45;
}

.login-info-card__note p span {
  color: #f6a728;
}

.login-info-card li > img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter:
    drop-shadow(0 1px 1px rgba(0, 0, 0, 0.58))
    drop-shadow(0 0 6px rgba(246, 167, 40, 0.16));
}

@media (max-width: 1320px) {
  .scene {
    overflow: clip;
  }
}

/* A rögzített, 1271 px széles asztali elrendezés alatt minden komponens tördeljen. */
@media (max-width: 1320px) {
  .scene {
    min-height: 100vh;
    overflow: clip;
    background-position: center top;
  }

  .topbar,
  .layout {
    width: calc(100% - 28px);
  }

  .topbar {
    height: auto;
    border-radius: 0 0 16px 16px;
  }

  .nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    height: auto;
    padding: 8px;
  }

  .nav__item {
    min-height: 42px;
    padding: 0 12px;
    font-size: 15px;
  }

  .nav__home::after,
  .nav__item::after {
    display: none;
  }

  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    height: auto;
    gap: 14px;
    padding: 20px 0;
  }

  .logo-scene,
  .logo-stage,
  .mini-card {
    position: static;
  }

  .logo-stage {
    order: -1;
    justify-self: center;
    width: min(326px, 100%);
    height: auto;
  }

  .logo-scene {
    width: min(326px, 100%);
    height: auto;
  }

  .mini-card {
    width: 100%;
  }

  .grid,
  .benefits,
  .news-grid,
  .footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
  }

  .news-grid:not(.news-grid--archive).news-grid--count-1,
  .news-grid:not(.news-grid--archive).news-grid--count-2,
  .news-grid:not(.news-grid--archive).news-grid--count-3,
  .news-grid:not(.news-grid--archive).news-grid--count-4 {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .news-grid:not(.news-grid--archive).news-grid--count-2 .news-card:nth-child(2),
  .news-grid:not(.news-grid--archive).news-grid--count-4 .news-card:nth-child(4) {
    grid-column: auto;
    grid-row: auto;
  }

  .legal-layout {
    padding-top: 0;
  }

  .legal-hero {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
  }

  .legal-hero__icon {
    width: 68px;
    height: 68px;
  }

  .legal-hero h1 {
    font-size: 22px;
  }

  .legal-hero p,
  .legal-back {
    grid-column: 1 / -1;
  }

  .legal-back {
    width: 100%;
  }

  .legal-document {
    padding: 18px;
  }

  .membership-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .membership-card__side {
    min-height: 0;
    padding: 20px 18px 18px;
    border-right: 0;
    border-bottom: 1px solid rgba(196, 118, 18, 0.42);
  }

  .membership-card__art {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    height: auto;
    min-height: 86px;
    margin-bottom: 10px;
  }

  .membership-card__badge {
    width: 74px;
    height: 74px;
  }

  .membership-card__side h1,
  .membership-card__side h2 {
    margin-left: 0;
    font-size: 31px;
  }

  .membership-card__kicker,
  .membership-card__tagline,
  .membership-card__summary {
    margin-left: 0;
  }

  .membership-card__features {
    margin: 18px 0;
  }

  .membership-card__features li {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .membership-card__features img {
    width: 40px;
    height: 40px;
  }

  .membership-card__button {
    width: 100%;
  }

  .membership-card__main {
    padding: 20px 18px 18px;
  }

  .membership-card__criteria h3 {
    grid-template-columns: 1fr;
    font-size: 20px;
  }

  .membership-card__criteria h3::before,
  .membership-card__criteria h3::after {
    display: none;
  }

  .membership-card__criteria ol {
    grid-template-columns: 1fr;
  }

  .membership-card--helper .membership-card__criteria li:nth-child(n+8),
  .membership-card--builder .membership-card__criteria li:nth-child(n+8),
  .membership-card--partner .membership-card__criteria li:nth-child(n+5) {
    grid-column: auto;
    grid-row: auto;
  }

  .membership-card__criteria li {
    grid-column: auto !important;
    grid-row: auto !important;
  }

  .welcome {
    display: grid;
    gap: 18px;
    padding: 18px;
  }

  .welcome__character-wrap {
    position: relative;
    left: auto;
    bottom: auto;
    width: 176px;
    height: 132px;
  }

  .welcome__character {
    position: absolute;
    width: 176px;
    height: 132px;
  }

  .welcome__copy,
  .welcome__actions,
  .button--wide {
    width: 100%;
  }

  .shop {
    padding: 18px;
  }

  .benefits {
    height: auto;
  }

  .benefits article {
    min-height: 92px;
  }

  .benefits article + article {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-left: 0;
  }

  .news {
    padding: 16px;
  }

  .section-heading {
    display: grid;
    gap: 12px;
  }

  .news-grid {
    gap: 12px;
  }

  .news-card--feature {
    min-height: 240px;
  }

  .news-card__content {
    max-width: none;
  }

  .news-card--split,
  .news-card--image-left,
  .news-card--discord {
    grid-template-columns: 1fr;
  }

  .news-grid .news-card--split::after,
  .news-grid .news-card--image-left::after {
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;
    width: 100%;
    height: 150px;
    background:
      linear-gradient(180deg, rgba(12, 11, 10, 0.02) 0%, rgba(12, 11, 10, 0.12) 48%, rgba(12, 11, 10, 0.92) 100%),
      linear-gradient(90deg, rgba(12, 11, 10, 0.12), rgba(12, 11, 10, 0.04));
  }

  .news-grid .news-card--discord::after,
  .news-grid:not(.news-grid--archive) .news-card--image-left.news-card--discord::after {
    display: none;
  }

  .news-card--split > img {
    order: -1;
    height: 150px;
  }

  .news-card--discord > img {
    order: 0;
    width: 120px;
    height: 100px;
    margin-bottom: 10px;
  }

  .news-grid--archive {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-rows: auto;
  }

  .news-grid--archive .news-card {
    height: auto;
    min-height: 0;
  }

  .news-grid--archive .news-card--split,
  .news-grid--archive .news-card--image-left,
  .news-grid--archive .news-card--discord {
    grid-template-columns: 1fr;
    grid-template-rows: 150px auto;
  }

  .news-grid--archive .news-card__body {
    height: auto;
  }

  .news-grid--archive .news-card--split > img,
  .news-grid--archive .news-card--image-left > img {
    min-height: 0;
    height: 150px;
  }

  .news-grid--archive .news-card footer {
    grid-template-columns: minmax(0, 1fr) 104px;
    padding-right: 0;
  }

  .news-grid--archive .news-card footer a {
    position: static;
  }

  .news-detail__image {
    padding: 12px 12px 0;
  }

  .news-detail__image img {
    height: 190px;
  }

  .news-detail h2 {
    font-size: 20px;
  }

  .news-editor__layout,
  .news-image-editor__layout,
  .news-editor__row,
  .wiki-layout,
  .wiki-grid,
  .support-type-grid,
  .support-form__header {
    grid-template-columns: minmax(0, 1fr);
  }

  .wiki-sidebar {
    position: static;
  }

  .wiki-main-intro,
  .wiki-directory__header,
  .wiki-article-row {
    grid-template-columns: 1fr;
  }

  .wiki-directory__header {
    display: grid;
    align-items: start;
  }

  .wiki-main-intro dl {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

  .wiki-category-grid {
    grid-template-columns: 1fr;
  }

  .wiki-category-tile {
    grid-template-rows: 96px minmax(0, 1fr);
  }

  .wiki-category-tile__media img {
    width: 72px;
    height: 72px;
  }

  .wiki-category-page {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 11px;
  }

  .wiki-category-page__image {
    width: 68px;
    height: 68px;
    padding: 6px;
  }

  .wiki-category-page__back {
    grid-column: 1 / -1;
    width: fit-content;
  }

  .wiki-category-article-grid {
    grid-template-columns: 1fr;
  }

  .wiki-article-row {
    align-items: start;
  }

  .wiki-article-row img {
    width: 100%;
    height: 150px;
  }

  .wiki-card > a {
    grid-template-columns: 1fr;
  }

  .wiki-card__image {
    height: 170px;
  }

  .wiki-card__image::after {
    background:
      linear-gradient(180deg, transparent 0%, rgba(12, 11, 10, 0.84) 100%);
  }

  .wiki-detail__image {
    padding: 12px 12px 0;
  }

  .wiki-detail__image img {
    height: 210px;
  }

  .wiki-detail__header h2 {
    font-size: 21px;
  }

  .support-panel {
    padding: 16px;
  }

  .support-type-grid {
    gap: 12px;
  }

  .support-type-button {
    grid-template-columns: minmax(0, 1fr) 96px;
    min-height: 112px;
    padding: 14px 10px 14px 14px;
    font-size: 14px;
  }

  .support-type-button__image {
    width: 96px;
    height: 78px;
  }

  .support-form.news-editor__form {
    padding: 14px;
  }

  .support-form__header .modal-button {
    width: 100%;
  }

  .support-form__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .support-form__actions .modal-button {
    width: 100%;
  }

  .news-image-library {
    grid-template-columns: 1fr;
  }

  .news-editor__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .news-editor__actions .modal-button {
    width: 100%;
  }

  .news-editor-item {
    grid-template-columns: 1fr;
  }

  .news-image-item {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .news-image-item img {
    width: 96px;
    height: 82px;
  }

  .footer-card {
    min-height: auto;
    min-width: 0;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-card a {
    max-width: 100%;
  }

  .footer-legal {
    display: grid;
    gap: 10px;
    height: auto;
    padding: 14px 18px;
  }

  .footer-legal nav {
    flex-wrap: wrap;
    gap: 10px 16px;
  }

  .register-modal {
    align-items: start;
    padding: 14px;
  }

  .register-modal__dialog {
    --modal-scale: 1;
    --modal-start-scale: 0.96;
    width: 100%;
    max-height: calc(100vh - 28px);
    max-height: calc(100dvh - 28px);
    padding: 18px 16px 16px;
  }

  .register-modal__header {
    grid-template-columns: 36px minmax(0, 1fr);
    padding-right: 46px;
  }

  .register-modal__header h2 {
    font-size: 19px;
  }

  .register-modal__content {
    grid-template-columns: minmax(0, 1fr);
  }

  .register-modal__side {
    order: 2;
  }

  .register-step {
    grid-template-columns: 36px minmax(0, 1fr);
    padding: 12px;
  }

  .copy-field {
    grid-template-columns: minmax(0, 1fr) 31px;
    gap: 7px;
    padding-left: 12px;
  }

  .copy-field code {
    overflow: visible;
    white-space: normal;
    overflow-wrap: anywhere;
    font-size: 9px;
    letter-spacing: -0.02em;
    text-overflow: clip;
  }

  .copy-field--ip code {
    font-size: 11px;
  }

  .register-modal__actions {
    grid-template-columns: 1fr;
  }

  .register-modal__button-group {
    grid-template-columns: 1fr;
  }

  .register-modal__status {
    position: absolute;
  }

  .stat-modal__dialog {
    width: 100%;
  }

  .stat-modal__details,
  .stat-modal__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .stat-modal__actions .modal-button {
    width: 100%;
  }

  .support-tickets-layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .support-ticket-tabs,
  .support-ticket-staff-filters {
    grid-template-columns: 1fr;
  }

  .support-ticket-list-card {
    max-height: 260px;
  }

  .support-ticket-chat-card {
    min-height: 520px;
  }

  .support-ticket-chat__header {
    grid-template-columns: 1fr;
  }

  .support-ticket-chat__header > strong,
  .support-ticket-staff-status {
    justify-self: start;
  }

  .support-ticket-staff-status {
    justify-items: start;
    width: 100%;
  }

  .support-ticket-status-control {
    width: 100%;
    min-width: 0;
  }

  .support-ticket-status-control div {
    grid-template-columns: 1fr;
  }

  .support-ticket-status-control .modal-button {
    width: 100%;
  }

  .support-ticket-message {
    width: 100%;
  }

  .support-ticket-message header {
    display: grid;
  }

  .support-ticket-message-form__footer {
    grid-template-columns: 1fr;
  }

  .support-ticket-message-form__footer .modal-button {
    width: 100%;
  }

  .login-modal__dialog {
    width: 100%;
    padding: 18px 14px 16px;
  }

  .login-modal__header {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px;
  }

  .login-modal__header img {
    width: 32px;
    height: 32px;
  }

  .login-modal__header h2 {
    font-size: 21px;
  }

  .login-modal__header p {
    font-size: 9px;
  }

  .login-modal__content {
    grid-template-columns: 1fr;
  }

  .login-form-card {
    padding: 14px;
  }

  .login-field {
    min-height: 52px;
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 0 10px;
  }

  .login-field--password {
    grid-template-columns: 38px minmax(0, 1fr) 34px;
  }

  .login-field input {
    font-size: 9px;
  }

  .login-form-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .login-submit {
    min-height: 54px;
    font-size: 16px;
  }

  .login-submit__icon {
    height: 24px;
  }

  .login-modal__side {
    order: 2;
  }

  .login-visual {
    height: 160px;
  }

  .login-visual img {
    left: -18px;
    bottom: -92px;
    height: 242px;
  }

}

@media (max-width: 600px) {
  .register-modal {
    display: block;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    padding: 0;
    overflow: hidden;
  }

  .register-modal__dialog,
  .login-modal__dialog {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    margin: 0;
    border-radius: 0;
    padding:
      max(18px, env(safe-area-inset-top))
      max(14px, env(safe-area-inset-right))
      max(16px, env(safe-area-inset-bottom))
      max(14px, env(safe-area-inset-left));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .register-modal__close {
    top: max(15px, env(safe-area-inset-top));
    right: max(15px, env(safe-area-inset-right));
  }

  .news-editor,
  .news-image-editor {
    padding-right: 12px;
    padding-left: 12px;
  }

  .news-editor__form,
  .news-editor__list-wrap,
  .news-image-editor .news-editor__form {
    padding-right: 12px;
    padding-left: 12px;
  }

  .news-rich-editor__toolbar input[type="url"],
  .news-rich-editor__toolbar select {
    flex-basis: 100%;
    width: 100%;
    min-width: 0;
  }

  .news-editor__actions .modal-button,
  .news-image-editor .news-editor__actions .modal-button {
    min-width: 0;
  }
}

@keyframes ambient-drift {
  from {
    transform: scale(1.005) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.018) translate3d(-4px, -2px, 0);
  }
}

@keyframes ember-flicker {
  0%, 100% {
    opacity: 0.18;
  }
  40% {
    opacity: 0.34;
  }
  70% {
    opacity: 0.24;
  }
}

@keyframes drop-in {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes menu-item-drop {
  from {
    opacity: 0;
    translate: 0 -10px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes nav-glow {
  0%, 100% {
    opacity: 0.72;
  }
  50% {
    opacity: 1;
  }
}

@keyframes logo-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@keyframes logo-load-drop {
  from {
    opacity: 0;
    translate: 0 -18px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes halo-breathe {
  0%, 100% {
    opacity: 0.72;
    transform: scale(0.96);
  }
  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}

@keyframes logo-embers {
  0%, 100% {
    opacity: 0.22;
    transform: translateY(0);
  }
  50% {
    opacity: 0.5;
    transform: translateY(-5px);
  }
}

@keyframes fade-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes support-view-out {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0) brightness(1);
  }
  to {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
    filter: blur(1px) brightness(0.88);
  }
}

@keyframes support-view-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.99);
    filter: blur(1px) brightness(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0) brightness(1);
  }
}

@keyframes support-form-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.99);
    filter: blur(1px) brightness(0.92);
  }
  62% {
    opacity: 1;
    transform: translateY(-3px) scale(1.004);
    filter: blur(0) brightness(1.04);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0) brightness(1);
  }
}

@keyframes status-pulse {
  0%, 100% {
    transform: scale(0.92);
    opacity: 0.82;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@keyframes torch-sway {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
}

@keyframes button-glow {
  0%, 100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.08);
  }
}

@keyframes membership-button-glow {
  0%, 100% {
    background-position: center 0%;
    box-shadow:
      inset 0 0 0 2px rgba(255, 243, 184, 0.13),
      inset 0 -12px 18px rgba(91, 43, 0, 0.34),
      0 0 16px rgba(246, 167, 40, 0.34);
  }
  50% {
    background-position: center 100%;
    box-shadow:
      inset 0 0 0 2px rgba(255, 243, 184, 0.2),
      inset 0 -9px 18px rgba(91, 43, 0, 0.3),
      0 0 28px rgba(246, 167, 40, 0.5);
  }
}

@keyframes modal-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes modal-fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes modal-rise {
  from {
    opacity: 0;
    transform: translateY(18px) scale(var(--modal-start-scale));
    filter: blur(2px) brightness(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(var(--modal-scale));
    filter: blur(0) brightness(1);
  }
}

@keyframes modal-drop {
  from {
    opacity: 1;
    transform: translateY(0) scale(var(--modal-scale));
    filter: blur(0) brightness(1);
  }
  to {
    opacity: 0;
    transform: translateY(12px) scale(var(--modal-start-scale));
    filter: blur(2px) brightness(0.94);
  }
}

@keyframes stat-modal-item-rise {
  from {
    opacity: 0;
    transform: translateY(9px) scale(0.985);
    filter: blur(1px) brightness(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0) brightness(1);
  }
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-delay: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Wiki: a MineWild felületi elemeire épülő, egyszerű kategórianézet. */
.wiki-skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  transform: translateY(-150%);
  border: 1px solid var(--border-soft);
  border-radius: 5px;
  padding: 9px 12px;
  color: #1b1105;
  font-size: 10px;
  font-weight: 800;
  background: #f6a728;
}

.wiki-skip-link:focus {
  transform: translateY(0);
}

.wiki-shell {
  display: grid;
  gap: 17px;
  padding: 16px 18px 22px;
  background: var(--panel);
}

.wiki-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  min-width: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 178, 45, 0.14);
  color: #aa9d8c;
  font-size: 10px;
}

.wiki-breadcrumb a {
  color: #f6a728;
  font-weight: 700;
}

.wiki-breadcrumb strong {
  overflow-wrap: anywhere;
  color: #e7d7c0;
  font-weight: 700;
}

.wiki-heading {
  justify-content: center;
  margin: 2px 0 0;
  text-align: center;
}

.wiki-heading .section-heading__title {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.wiki-heading .section-heading__icon {
  width: 44px;
  height: 44px;
  margin: 0;
}

.wiki-heading h2 {
  margin-bottom: 6px;
  font-size: 21px;
}

.wiki-heading p {
  max-width: 660px;
  font-size: 11px;
}

.wiki-search-bar {
  display: flex;
  gap: 9px;
  width: min(100%, 700px);
  margin: 0 auto;
}

.wiki-search-bar input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 46px;
  border: 1px solid rgba(255, 178, 45, 0.25);
  border-radius: 5px;
  padding: 0 13px;
  color: #f4e6d5;
  font: inherit;
  font-size: 11px;
  background: rgba(10, 9, 8, 0.76);
  outline: none;
}

.wiki-search-bar input::placeholder {
  color: #928677;
}

.wiki-search-bar input:focus {
  border-color: rgba(246, 167, 40, 0.72);
  box-shadow: 0 0 0 2px rgba(246, 167, 40, 0.11);
}

.wiki-search-bar .button {
  flex: 0 0 132px;
  min-height: 46px;
}

.wiki-search-bar[hidden],
.wiki-heading[hidden] {
  display: none;
}

.wiki-layout,
.wiki-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.wiki-main {
  min-width: 0;
  border: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.wiki-main:hover {
  filter: none;
}

.wiki-directory {
  display: block;
  min-width: 0;
  border: 0;
  padding: 5px 0 0;
  background: transparent;
}

.wiki-category-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  min-width: 0;
}

.wiki-category-tile {
  display: grid;
  flex: 0 1 250px;
  grid-template-rows: 132px auto;
  gap: 11px;
  width: 250px;
  min-width: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  text-decoration: none;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  transition: transform 180ms ease;
}

.wiki-category-tile:hover {
  border-color: transparent;
  box-shadow: none;
  transform: translateY(-2px);
}

.wiki-category-tile__media {
  display: grid;
  place-items: center;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  padding: 18px;
  background: var(--panel);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  transition: border-color 180ms ease, background-color 180ms ease;
}

.wiki-category-tile__media::after {
  content: none;
}

.wiki-category-tile__media img {
  position: static;
  width: 82px;
  height: 82px;
  object-fit: contain;
  filter: drop-shadow(0 5px 6px rgba(0, 0, 0, 0.48));
  transition: transform 180ms ease;
}

.wiki-category-tile:hover .wiki-category-tile__media,
.wiki-category-tile:focus-visible .wiki-category-tile__media {
  border-color: rgba(246, 167, 40, 0.7);
  background: rgba(20, 17, 13, 0.9);
}

.wiki-category-tile:hover .wiki-category-tile__media img {
  transform: translateY(-2px);
  filter: drop-shadow(0 6px 7px rgba(0, 0, 0, 0.52));
}

.wiki-category-tile:focus-visible {
  outline: 2px solid #f6a728;
  outline-offset: 4px;
}

.wiki-category-tile__title {
  display: block;
  overflow: hidden;
  color: #f1e3d2;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.wiki-category-page {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(255, 178, 45, 0.18);
  border-radius: 6px;
  padding: 14px;
  background: var(--panel);
}

.wiki-category-page__image {
  width: 72px;
  height: 72px;
  border: 0;
  padding: 5px;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 5px 6px rgba(0, 0, 0, 0.42));
}

.wiki-category-page__body h2 {
  font-size: 18px;
}

.wiki-category-page__body p {
  margin-top: 4px;
}

.wiki-category-page__back {
  min-height: 38px;
}

.wiki-category-article-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.wiki-category-article {
  border-color: rgba(255, 178, 45, 0.18);
  background: var(--panel);
}

.wiki-category-article__body {
  gap: 6px;
}

.wiki-detail {
  width: min(100%, 900px);
  margin: 0 auto;
  border: 1px solid var(--border-soft);
  border-radius: 7px;
  background: var(--panel);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
}

.wiki-detail__back {
  min-height: 38px;
  margin: 16px 18px 0;
  color: #f6a728;
}

.wiki-detail__header {
  justify-items: start;
  gap: 9px;
  padding: 16px 18px 14px;
  text-align: left;
}

.wiki-detail__header h2 {
  font-size: 23px;
}

.wiki-detail__header p {
  max-width: 720px;
}

.wiki-detail__meta {
  justify-content: flex-start;
}

.wiki-detail__content {
  width: min(100%, 820px);
  padding: 18px;
}

@media (max-width: 900px) {
  .wiki-category-grid {
    display: flex;
    grid-template-columns: none;
    gap: 18px;
  }

  .wiki-category-tile {
    flex-basis: calc(50% - 9px);
    grid-template-rows: 118px auto;
    width: calc(50% - 9px);
  }

  .wiki-category-tile__media img {
    width: 72px;
    height: 72px;
  }

  .wiki-category-article-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .wiki-shell {
    gap: 15px;
    padding: 14px;
  }

  .wiki-search-bar {
    display: grid;
    grid-template-columns: 1fr;
  }

  .wiki-search-bar .button {
    width: 100%;
  }

  .wiki-category-grid {
    gap: 17px;
  }

  .wiki-category-tile {
    flex-basis: min(100%, 310px);
    width: min(100%, 310px);
  }

  .wiki-category-page {
    grid-template-columns: 68px minmax(0, 1fr);
  }

  .wiki-category-page__image {
    width: 60px;
    height: 60px;
  }

  .wiki-category-page__back {
    grid-column: 1 / -1;
  }

  .wiki-detail__header h2 {
    font-size: 20px;
  }
}

/* Modpack: a meglévő MineWild panelekre és aloldalszerkezetre épülő letöltési oldal. */
.modpack-skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  transform: translateY(-150%);
  border: 1px solid var(--border-soft);
  border-radius: 5px;
  padding: 9px 12px;
  color: #1b1105;
  font-size: 10px;
  font-weight: 800;
  background: #f6a728;
}

.modpack-skip-link:focus {
  transform: translateY(0);
}

.modpack-layout {
  padding-bottom: 22px;
}

.modpack-hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 7% 52%, rgba(246, 167, 40, 0.17), transparent 25%),
    linear-gradient(90deg, rgba(44, 29, 11, 0.27), rgba(13, 11, 9, 0.96) 46%, rgba(10, 9, 8, 0.98));
}

.modpack-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.26;
  background:
    linear-gradient(90deg, transparent 0 7%, rgba(255, 201, 108, 0.12) 9%, transparent 12%),
    linear-gradient(90deg, transparent 70%, rgba(255, 194, 87, 0.06) 80%, transparent 90%);
  pointer-events: none;
}

.modpack-hero__icon {
  width: 104px;
  height: 104px;
}

@media (max-width: 1320px) {
  .modpack-hero__icon {
    width: 68px;
    height: 68px;
  }
}

.modpack-download {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(290px, 0.72fr) minmax(0, 1.4fr);
  align-items: stretch;
  min-height: 382px;
  overflow: hidden;
  padding: 0;
  background:
    radial-gradient(circle at 12% 36%, rgba(246, 167, 40, 0.16), transparent 29%),
    linear-gradient(108deg, rgba(24, 19, 13, 0.98), rgba(11, 10, 9, 0.98) 52%, rgba(8, 8, 7, 0.99)),
    var(--panel);
  animation: fade-rise 760ms cubic-bezier(.2,.8,.2,1) 590ms both;
}

.modpack-download::before,
.modpack-download::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.modpack-download::before {
  inset: 0;
  opacity: 0.45;
  background:
    linear-gradient(90deg, transparent 0 7%, rgba(255, 201, 108, 0.12) 9%, transparent 12%),
    linear-gradient(90deg, transparent 24%, rgba(255, 189, 66, 0.07) 32%, transparent 38%),
    linear-gradient(90deg, transparent 74%, rgba(255, 194, 87, 0.05) 81%, transparent 88%);
}

.modpack-download::after {
  top: 0;
  right: 0;
  width: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 185, 56, 0.45), transparent);
}

.modpack-download__art {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  overflow: hidden;
  border-right: 1px solid rgba(195, 123, 24, 0.34);
  padding: 30px 24px;
  background:
    linear-gradient(90deg, rgba(8, 8, 7, 0.35), transparent),
    radial-gradient(circle at 50% 46%, rgba(255, 175, 40, 0.12), transparent 48%);
}

.modpack-download__glow {
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  opacity: 0.34;
  background: radial-gradient(circle, rgba(255, 174, 43, 0.32), rgba(246, 167, 40, 0.08) 42%, transparent 71%);
  filter: blur(4px);
}

.modpack-download__art img {
  position: relative;
  z-index: 1;
  width: min(100%, 320px);
  max-height: 320px;
  object-fit: contain;
  image-rendering: auto;
  filter:
    drop-shadow(0 14px 14px rgba(0, 0, 0, 0.64))
    drop-shadow(0 0 16px rgba(246, 167, 40, 0.17));
  transition: transform 300ms cubic-bezier(.2,.8,.2,1), filter 300ms ease;
}

.modpack-download:hover .modpack-download__art img {
  transform: translateY(-4px) scale(1.018);
  filter:
    drop-shadow(0 18px 16px rgba(0, 0, 0, 0.68))
    drop-shadow(0 0 20px rgba(246, 167, 40, 0.23));
}

.modpack-download__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 38px 42px;
}

.modpack-eyebrow {
  display: block;
  margin-bottom: 9px;
  color: #eab453;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.modpack-download__content h2 {
  margin: 0 0 13px;
  color: #fff0d8;
  font-size: clamp(25px, 2.5vw, 34px);
  line-height: 1.08;
  font-weight: 900;
  text-shadow:
    0 2px 0 rgba(62, 31, 4, 0.74),
    0 5px 12px rgba(0, 0, 0, 0.42);
}

.modpack-download__lead {
  max-width: 690px;
  margin: 0;
  color: #ded1bf;
  font-size: 12px;
  line-height: 1.65;
}

.modpack-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.modpack-meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  border: 1px solid rgba(172, 108, 21, 0.5);
  border-radius: 5px;
  padding: 0 11px 0 8px;
  color: #eadcc9;
  font-size: 10px;
  font-weight: 700;
  background:
    linear-gradient(180deg, rgba(39, 31, 21, 0.78), rgba(15, 13, 11, 0.94));
  box-shadow: inset 0 0 0 1px rgba(255, 220, 151, 0.025);
}

.modpack-meta__icon {
  flex: 0 0 auto;
  width: 25px;
  height: 25px;
  object-fit: contain;
  filter:
    drop-shadow(0 2px 3px rgba(0, 0, 0, 0.58))
    drop-shadow(0 0 4px rgba(246, 167, 40, 0.12));
}

.modpack-download__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
  margin-top: 22px;
}

.modpack-download__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-radius: 6px;
  padding: 0 17px;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, filter 180ms ease, box-shadow 180ms ease;
}

.modpack-download__button {
  gap: 10px;
  min-width: 235px;
  border: 1px solid #ffb12d;
  color: #fff1db;
  background: linear-gradient(180deg, #d98c21 0%, #9a4f08 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 231, 176, 0.18),
    0 7px 18px rgba(0, 0, 0, 0.28),
    0 0 12px rgba(246, 167, 40, 0.09);
}

.modpack-download__button:hover,
.modpack-download__button:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 231, 176, 0.22),
    0 9px 20px rgba(0, 0, 0, 0.32),
    0 0 15px rgba(246, 167, 40, 0.16);
}

.modpack-download__button--loader {
  border-color: rgba(143, 220, 114, 0.62);
  color: #edf9e7;
  background: linear-gradient(180deg, rgba(69, 91, 50, 0.96), rgba(30, 48, 22, 0.98));
}

.modpack-download__button-icon {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter:
    drop-shadow(0 3px 4px rgba(34, 16, 2, 0.58))
    drop-shadow(0 0 5px rgba(255, 191, 62, 0.18));
}

.modpack-download__status {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 20px;
  margin: 15px 0 0;
  color: #bff0a8;
  font-size: 10px;
  line-height: 1.45;
}

.modpack-download__status > span {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #42d13a;
  box-shadow: 0 0 8px rgba(66, 209, 58, 0.42);
}

.modpack-download__status.is-notice {
  color: #ffd277;
}

.modpack-download__status.is-notice > span {
  background: #f6a728;
  box-shadow: 0 0 8px rgba(246, 167, 40, 0.42);
}

.modpack-fabric-notice {
  display: flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  max-width: 100%;
  margin-top: 14px;
  border: 1px solid rgba(111, 135, 91, 0.54);
  border-radius: 5px;
  padding: 8px 11px;
  background: linear-gradient(90deg, rgba(39, 54, 31, 0.48), rgba(12, 13, 10, 0.82));
}

.modpack-fabric-notice > span {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(143, 220, 114, 0.58);
  border-radius: 50%;
  color: #bff0a8;
  font-size: 11px;
  font-weight: 900;
}

.modpack-fabric-notice p {
  margin: 0;
  color: #dcefd2;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.5;
}

.modpack-download-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.modpack-download-links__item {
  min-width: 0;
  border: 1px solid rgba(172, 108, 21, 0.46);
  border-radius: 5px;
  padding: 9px 11px;
  background: rgba(8, 7, 6, 0.66);
}

.modpack-download-links__item span {
  display: block;
  margin-bottom: 5px;
  color: #eab453;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.modpack-download-links__item code {
  display: block;
  overflow-wrap: anywhere;
  color: #f0e2cf;
  font-family: "Monocraft", Consolas, "Courier New", monospace;
  font-size: 9px;
  line-height: 1.45;
}

.modpack-guide {
  display: grid;
  gap: 17px;
  min-width: 0;
  padding: 22px;
  background:
    radial-gradient(circle at 100% 0%, rgba(246, 167, 40, 0.07), transparent 24%),
    linear-gradient(180deg, rgba(18, 15, 12, 0.92), rgba(10, 9, 8, 0.96)),
    var(--panel);
  animation: fade-rise 760ms cubic-bezier(.2,.8,.2,1) 660ms both;
}

.modpack-guide__heading {
  margin: 0;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 178, 45, 0.14);
}

.modpack-guide__heading .section-heading__icon {
  width: 48px;
  height: 48px;
  margin-right: 10px;
}

.modpack-guide__heading h2 {
  font-size: 23px;
}

.modpack-platform {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 37px;
  border: 1px solid rgba(246, 167, 40, 0.54);
  border-radius: 5px;
  padding: 0 12px;
  color: #ffe2a3;
  font-size: 10px;
  font-weight: 800;
  background: linear-gradient(180deg, rgba(48, 34, 17, 0.82), rgba(18, 15, 12, 0.9));
}

.modpack-platform span {
  color: #f6a728;
  font-size: 13px;
}

.modpack-launcher-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  border: 1px solid rgba(111, 135, 91, 0.5);
  border-radius: 6px;
  padding: 12px 14px;
  background:
    linear-gradient(90deg, rgba(39, 54, 31, 0.45), rgba(12, 13, 10, 0.83));
}

.modpack-launcher-note strong {
  color: #bff0a8;
  font-size: 11px;
}

.modpack-launcher-note p {
  margin: 0;
  color: #d8cbb7;
  font-size: 10px;
  line-height: 1.55;
}

.modpack-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  counter-reset: modpack-step;
}

.modpack-step {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 13px;
  align-items: start;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(180, 111, 20, 0.52);
  border-radius: 6px;
  padding: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(246, 167, 40, 0.06), transparent 32%),
    linear-gradient(180deg, rgba(27, 23, 18, 0.88), rgba(12, 11, 10, 0.94));
  box-shadow: inset 0 0 0 1px rgba(255, 219, 154, 0.025);
  transition: transform 190ms ease, border-color 190ms ease, box-shadow 190ms ease;
}

.modpack-step:hover {
  transform: translateY(-2px);
  border-color: rgba(246, 167, 40, 0.72);
  box-shadow:
    inset 0 0 0 1px rgba(255, 219, 154, 0.035),
    0 8px 18px rgba(0, 0, 0, 0.18);
}

.modpack-step--wide {
  grid-column: 1 / -1;
}

.modpack-step__number {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 178, 47, 0.82);
  border-radius: 5px;
  color: #f6a728;
  font-size: 17px;
  font-weight: 900;
  background: linear-gradient(180deg, rgba(50, 34, 13, 0.92), rgba(9, 9, 8, 0.96));
  box-shadow:
    inset 0 0 0 1px rgba(255, 224, 151, 0.07),
    0 0 10px rgba(246, 167, 40, 0.11);
}

.modpack-step__body {
  min-width: 0;
}

.modpack-step__label {
  display: block;
  margin-bottom: 5px;
  color: #eab453;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.modpack-step h3 {
  margin: 0 0 8px;
  color: #fff0d8;
  font-size: 15px;
  line-height: 1.22;
}

.modpack-step p {
  margin: 0;
  color: #ded1bf;
  font-size: 10px;
  line-height: 1.66;
}

.modpack-step p strong {
  color: #ffe2a3;
}

.modpack-step__substeps {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 17px;
  color: #ded1bf;
  font-size: 10px;
  line-height: 1.55;
}

.modpack-step__substeps strong {
  color: #ffe2a3;
}

.modpack-step__symbol {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 2px 0 0 8px;
  color: #f6a728;
  font-size: 35px;
  font-weight: 900;
  line-height: 1;
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.6));
}

.modpack-step__symbol--download {
  overflow: visible;
}

.modpack-step__symbol--download img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.modpack-step__symbol--install {
  border: 1px solid rgba(246, 167, 40, 0.38);
  border-radius: 5px;
  color: #eab453;
  font-size: 25px;
  background: linear-gradient(180deg, rgba(52, 34, 16, 0.76), rgba(19, 15, 11, 0.9));
}

.modpack-copy-field-wrap {
  width: min(100%, 560px);
  margin-top: 14px;
}

.modpack-step--folders {
  padding-bottom: 20px;
}

.modpack-folder-guide {
  display: grid;
  grid-template-columns: minmax(180px, 0.46fr) minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
  margin-top: 17px;
}

.modpack-folder-guide__art {
  display: grid;
  place-items: center;
  min-height: 210px;
  overflow: hidden;
  border: 1px solid rgba(180, 111, 20, 0.42);
  border-radius: 6px;
  padding: 14px;
  background:
    radial-gradient(circle at 50% 50%, rgba(246, 167, 40, 0.11), transparent 64%),
    rgba(9, 8, 7, 0.66);
}

.modpack-folder-guide__art img {
  width: min(100%, 270px);
  max-height: 220px;
  object-fit: contain;
  image-rendering: auto;
  filter:
    drop-shadow(0 10px 10px rgba(0, 0, 0, 0.58))
    drop-shadow(0 0 12px rgba(246, 167, 40, 0.11));
}

.modpack-folder-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.modpack-folder-tree {
  min-width: 0;
  border: 1px solid;
  border-radius: 6px;
  padding: 14px;
  background: rgba(9, 8, 7, 0.75);
}

.modpack-folder-tree strong {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 11px;
  font-size: 11px;
}

.modpack-folder-tree code {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: #e8d8c3;
  font-family: "Monocraft", Consolas, "Courier New", monospace;
  font-size: 10px;
  line-height: 1.25;
}

.modpack-folder-tree code span {
  overflow-wrap: anywhere;
}

.modpack-folder-tree--correct {
  border-color: rgba(66, 209, 58, 0.54);
  box-shadow: inset 0 0 18px rgba(66, 209, 58, 0.035);
}

.modpack-folder-tree--correct strong {
  color: #bff0a8;
}

.modpack-folder-tree--correct strong span {
  color: #42d13a;
}

.modpack-folder-tree--wrong {
  border-color: rgba(255, 76, 47, 0.58);
  box-shadow: inset 0 0 18px rgba(255, 76, 47, 0.035);
}

.modpack-folder-tree--wrong strong {
  color: #ffb29f;
}

.modpack-folder-tree--wrong strong span {
  color: #ff4c2f;
  font-size: 15px;
}

.modpack-step--finish {
  grid-template-columns: 42px minmax(0, 1fr) minmax(280px, 0.72fr);
  align-items: center;
}

.modpack-step--finish .modpack-copy-field-wrap {
  width: 100%;
  margin-top: 0;
}

.modpack-assistance {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  animation: fade-rise 760ms cubic-bezier(.2,.8,.2,1) 740ms both;
}

.modpack-assistance__card {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  gap: 15px;
  align-items: center;
  min-height: 166px;
  padding: 20px;
  background:
    radial-gradient(circle at 8% 30%, rgba(246, 167, 40, 0.1), transparent 30%),
    linear-gradient(180deg, rgba(18, 15, 12, 0.92), rgba(10, 9, 8, 0.96));
}

.modpack-assistance__card > img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  image-rendering: auto;
  filter:
    drop-shadow(0 6px 6px rgba(0, 0, 0, 0.56))
    drop-shadow(0 0 10px rgba(246, 167, 40, 0.14));
}

.modpack-assistance__card h2 {
  margin: 0 0 7px;
  color: #fff0d8;
  font-size: 16px;
}

.modpack-assistance__card p {
  margin: 0;
  color: #d8cbb7;
  font-size: 10px;
  line-height: 1.6;
}

.modpack-assistance__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 13px;
}

.modpack-assistance__links .button {
  min-height: 39px;
  padding: 0 13px;
  font-size: 10px;
}

@media (max-width: 900px) {
  .modpack-download {
    grid-template-columns: 1fr;
  }

  .modpack-download__art {
    min-height: 290px;
    border-right: 0;
    border-bottom: 1px solid rgba(195, 123, 24, 0.34);
  }

  .modpack-download__art img {
    width: min(74vw, 310px);
    max-height: 280px;
  }

  .modpack-download__content {
    padding: 28px;
  }

  .modpack-steps,
  .modpack-assistance {
    grid-template-columns: 1fr;
  }

  .modpack-step--wide {
    grid-column: auto;
  }

  .modpack-folder-guide {
    grid-template-columns: 1fr;
  }

  .modpack-folder-guide__art {
    min-height: 190px;
  }

  .modpack-folder-guide__art img {
    max-height: 190px;
  }

  .modpack-step--finish {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .modpack-step--finish .modpack-copy-field-wrap {
    grid-column: 2;
  }
}

@media (max-width: 600px) {
  .modpack-layout {
    padding-bottom: 14px;
  }

  .modpack-download__art {
    min-height: 245px;
    padding: 24px 18px;
  }

  .modpack-download__content {
    padding: 23px 18px;
  }

  .modpack-download__content h2 {
    font-size: 25px;
  }

  .modpack-meta {
    display: grid;
    grid-template-columns: 1fr;
  }

  .modpack-download__actions {
    display: grid;
  }

  .modpack-download__button {
    width: 100%;
    min-width: 0;
  }

  .modpack-guide {
    gap: 14px;
    padding: 16px 14px;
  }

  .modpack-guide__heading {
    align-items: flex-start;
  }

  .modpack-guide__heading .section-heading__icon {
    width: 40px;
    height: 40px;
  }

  .modpack-guide__heading h2 {
    font-size: 19px;
  }

  .modpack-platform {
    width: 100%;
    justify-content: center;
  }

  .modpack-launcher-note {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .modpack-step {
    position: relative;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px;
    padding: 14px;
  }

  .modpack-step__number {
    width: 34px;
    height: 34px;
    font-size: 15px;
  }

  .modpack-step__symbol {
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    width: 34px;
    height: 34px;
    margin: 0;
    font-size: 20px;
    opacity: 0.9;
  }

  .modpack-step__symbol--download img {
    width: 34px;
    height: 34px;
  }

  .modpack-step h3 {
    font-size: 14px;
  }

  .modpack-folder-compare {
    grid-template-columns: 1fr;
  }

  .modpack-folder-guide__art {
    min-height: 160px;
  }

  .modpack-folder-guide__art img {
    max-height: 155px;
  }

  .modpack-step--finish {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .modpack-step--finish .modpack-copy-field-wrap {
    grid-column: 1 / -1;
    margin-top: 4px;
  }

  .modpack-assistance__card {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 11px;
    padding: 16px;
  }

  .modpack-assistance__card > img {
    width: 68px;
    height: 68px;
  }

  .modpack-assistance__card h2 {
    font-size: 14px;
  }

  .modpack-assistance__links {
    grid-column: 1 / -1;
  }

  .modpack-assistance__links .button {
    flex: 1 1 130px;
  }
}

/* Maps: a közös Tudástár-kártya kisebb, középre rendezett változata. */
.maps-grid {
  grid-template-columns: minmax(0, 520px);
  justify-content: center;
}

.maps-card {
  width: 100%;
  min-height: 156px;
}

.maps-card > a {
  grid-template-columns: 136px minmax(0, 1fr);
  min-height: 156px;
}

.maps-card .maps-card__icon {
  display: grid;
  place-items: center;
  min-height: 156px;
}

.maps-card .maps-card__icon::after {
  background: none;
}

.maps-card .maps-card__icon img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  filter: drop-shadow(0 7px 8px rgba(0, 0, 0, 0.58));
}

.maps-card:hover .maps-card__icon img {
  filter:
    saturate(1.08)
    brightness(1.04)
    drop-shadow(0 7px 8px rgba(0, 0, 0, 0.58));
}

.maps-card .wiki-card__body {
  align-content: center;
}

@media (max-width: 700px) {
  .maps-grid {
    grid-template-columns: minmax(0, 420px);
  }

  .maps-card > a {
    grid-template-columns: 1fr;
  }

  .maps-card .maps-card__icon {
    height: 122px;
    min-height: 122px;
  }

  .maps-card .maps-card__icon img {
    width: 82px;
    height: 82px;
  }
}

/* Tudástár: szerverválasztó és szerverenkénti szerkesztői hierarchia. */
.wiki-server-directory {
  padding-top: 5px;
}

.wiki-server-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 520px));
  justify-content: center;
  gap: 16px;
  min-width: 0;
}

.wiki-server-card {
  width: 100%;
}

.wiki-server-card > a:focus-visible {
  outline: 2px solid #f6a728;
  outline-offset: 4px;
}

.wiki-server-summary {
  align-items: center;
}

.wiki-server-summary > div {
  min-width: 0;
}

.wiki-server-summary + .wiki-category-grid {
  margin-top: 20px;
}

.wiki-server-summary .wiki-category-page__back {
  flex: 0 0 auto;
}

.wiki-editor-server-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 11px;
  border: 1px solid rgba(255, 178, 45, 0.18);
  border-radius: 5px;
  background: rgba(10, 9, 8, 0.54);
}

.wiki-editor-server-switcher > span {
  color: #b9ad9d;
  font-size: 10px;
}

.wiki-editor-server-switcher__button {
  min-height: 36px;
  border: 1px solid rgba(255, 178, 45, 0.24);
  border-radius: 4px;
  padding: 0 12px;
  color: #d9cbb8;
  font: inherit;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  background: linear-gradient(180deg, rgba(29, 24, 19, 0.96), rgba(12, 10, 9, 0.98));
  cursor: pointer;
}

.wiki-editor-server-switcher__button:hover,
.wiki-editor-server-switcher__button.is-active {
  border-color: rgba(246, 167, 40, 0.72);
  color: #fff0d2;
  box-shadow: 0 0 12px rgba(246, 167, 40, 0.1);
}

.wiki-editor-server-switcher__button:disabled {
  cursor: wait;
  opacity: 0.58;
}

.wiki-server-editor {
  animation-delay: 620ms;
}

.wiki-category-editor {
  animation-delay: 660ms;
}

.wiki-image-editor {
  animation-delay: 700ms;
}

.wiki-server-item,
.wiki-category-item {
  border-top: 3px solid var(--gold-soft);
}

.wiki-server-item img,
.wiki-category-item img {
  object-fit: contain;
  padding: 8px;
}

.news-image-library[data-wiki-category-list] {
  align-items: start;
}

.wiki-category-server-group {
  display: grid;
  gap: 9px;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(255, 178, 45, 0.18);
  border-radius: 5px;
  background: rgba(11, 10, 9, 0.5);
}

.wiki-category-server-group > h3 {
  margin: 0;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 178, 45, 0.14);
  color: #f3d08f;
  font-size: 11px;
  text-transform: uppercase;
}

.wiki-category-server-group__list {
  display: grid;
  gap: 9px;
  min-width: 0;
}

@media (max-width: 700px) {
  .wiki-server-grid {
    grid-template-columns: minmax(0, 420px);
  }

  .wiki-server-summary {
    display: grid;
    align-items: start;
  }

  .wiki-server-summary .wiki-category-page__back {
    width: fit-content;
  }
}
