:root {
  --ink: #eef3f6;
  --muted: #a9b9c4;
  --gold: #e6b75d;
  --gold-bright: #ffd991;
  --night: #061423;
  --header-height: 76px;
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  background: var(--night);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--night);
  font-family: Georgia, "Times New Roman", serif;
}

a { -webkit-tap-highlight-color: transparent; }

.site-shell {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 100svh;
  overflow: clip;
  flex-direction: column;
  background-image:
    linear-gradient(180deg, rgba(3,12,22,.48), rgba(3,14,25,.18) 42%, rgba(3,12,22,.72)),
    url("assets/kung-fu-background.png");
  background-position: calc(50% + var(--bg-x, 0px)) calc(50% + var(--bg-y, 0px));
  background-size: cover;
}

.site-shell::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(circle at 50% 38%, rgba(3,17,31,.18), rgba(2,9,18,.62) 72%);
  content: "";
}

.mist {
  position: absolute;
  z-index: -1;
  top: 24%;
  left: 50%;
  width: min(920px, 78vw);
  height: 430px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(5,19,33,.45);
  filter: blur(70px);
}

.cursor-aura {
  position: fixed;
  z-index: 4;
  top: 0;
  left: 0;
  width: 220px;
  height: 220px;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0;
  background: radial-gradient(circle, rgba(255,205,104,.2), rgba(230,183,93,.07) 35%, transparent 70%);
  mix-blend-mode: screen;
  will-change: transform;
  transition: opacity 220ms ease;
}

.cursor-aura.is-visible { opacity: .72; }

.topbar {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid rgba(230,183,93,.32);
  background:
    linear-gradient(90deg, rgba(230,183,93,.035), transparent 22%, transparent 78%, rgba(230,183,93,.035)),
    rgba(3,14,25,.88);
  box-shadow: 0 12px 35px rgba(0,0,0,.3);
  backdrop-filter: blur(18px) saturate(125%);
  animation: topbar-enter 650ms ease-out both;
  transition: background 220ms ease, box-shadow 220ms ease;
}

.topbar::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,217,145,.55), transparent);
  content: "";
}

.topbar.is-scrolled {
  background: rgba(3,13,23,.96);
  box-shadow: 0 14px 42px rgba(0,0,0,.48);
}

.topbar-inner {
  display: flex;
  width: min(1480px, calc(100% - 36px));
  height: var(--header-height);
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  transition: height 220ms ease;
}

.topbar.is-scrolled .topbar-inner { height: 62px; }

.topnav {
  display: flex;
  align-items: center;
  justify-content: center;
}

.topnav a {
  position: relative;
  padding: 28px 0 25px;
  color: #bdcbd4;
  font: 700 .69rem/1 Arial, Helvetica, sans-serif;
  letter-spacing: .13em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.topnav a::after {
  position: absolute;
  right: 50%;
  bottom: 19px;
  left: 50%;
  height: 1px;
  background: var(--gold-bright);
  box-shadow: 0 0 9px var(--gold);
  content: "";
  transition: right 180ms ease, left 180ms ease;
}

.topnav a:hover,
.topnav a:focus-visible { color: var(--gold-bright); }
.topnav a:hover::after,
.topnav a:focus-visible::after { right: 0; left: 0; }

.topnav-current { color: var(--gold-bright) !important; }
.topnav-current::after { right: 0 !important; left: 0 !important; }

.page-content {
  display: flex;
  width: min(1380px, calc(100% - 48px));
  margin: 0 auto;
  padding: calc(var(--header-height) + clamp(34px, 5vh, 58px)) 0 210px;
  flex: 1;
  flex-direction: column;
  align-items: center;
}

.hero-header {
  animation: fade-up 720ms 120ms ease-out both;
  text-align: center;
  text-shadow: 0 4px 26px rgba(0,0,0,.75);
}

.eyebrow {
  display: flex;
  margin-bottom: 13px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--gold-bright);
}

.eyebrow span {
  width: clamp(32px, 6vw, 86px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,217,145,.88));
}

.eyebrow span:last-child { transform: scaleX(-1); }

.eyebrow p {
  margin: 0;
  font: 600 .68rem/1.2 Arial, Helvetica, sans-serif;
  letter-spacing: .24em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: #fff8e7;
  font-size: clamp(2.5rem, 5.8vw, 5.6rem);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: .96;
}

h1 span {
  display: block;
  margin-bottom: 9px;
  color: var(--gold);
  font: 600 clamp(.84rem, 1.4vw, 1.08rem)/1 Arial, Helvetica, sans-serif;
  letter-spacing: .5em;
  text-transform: uppercase;
}

.hero-subtitle {
  margin: 18px 0 0;
  color: #bdcbd4;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(.9rem, 1.35vw, 1.05rem);
  letter-spacing: .06em;
}

.guide-nav {
  width: 100%;
  margin: clamp(35px, 6vh, 60px) 0 40px;
}

.guide-nav,
.guide-card,
.thanks-card { scroll-margin-top: 92px; }

.guide-grid {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.guide-card {
  position: relative;
  display: flex;
  width: min(100%, 250px);
  min-height: 300px;
  overflow: hidden;
  padding: 18px 16px 15px;
  align-items: center;
  flex: 0 1 250px;
  flex-direction: column;
  justify-content: flex-start;
  border: 1px solid rgba(232,188,104,.6);
  border-radius: 2px;
  color: #f7f1df;
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 19%), rgba(255,207,111,.17), transparent 38%),
    linear-gradient(180deg, rgba(4,22,39,.94), rgba(3,15,28,.9));
  box-shadow:
    inset 0 0 0 4px rgba(3,16,29,.9),
    inset 0 0 0 5px rgba(230,183,93,.12),
    0 16px 38px rgba(0,0,0,.28);
  text-align: center;
  text-decoration: none;
  text-shadow: 0 2px 7px #000;
  backdrop-filter: blur(8px);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  animation: card-reveal 620ms ease-out both;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  transform-style: preserve-3d;
  will-change: transform;
}

.guide-card:nth-child(1) { animation-delay: 160ms; }
.guide-card:nth-child(2) { animation-delay: 220ms; }
.guide-card:nth-child(3) { animation-delay: 280ms; }
.guide-card:nth-child(4) { animation-delay: 340ms; }
.guide-card:nth-child(5) { animation-delay: 400ms; }
.guide-card:nth-child(6) { animation-delay: 460ms; }
.guide-card:nth-child(7) { animation-delay: 520ms; }

.guide-card::before,
.guide-card::after {
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: var(--gold);
  opacity: .88;
  content: "";
}

.guide-card::before {
  top: 7px;
  left: 7px;
  border-top: 1px solid;
  border-left: 1px solid;
}

.guide-card::after {
  right: 7px;
  bottom: 7px;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.guide-card:hover,
.guide-card:focus-visible {
  z-index: 1;
  transform: perspective(900px) translateY(-6px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  border-color: rgba(255,217,145,.94);
  box-shadow:
    inset 0 0 0 4px rgba(3,16,29,.9),
    inset 0 0 0 5px rgba(255,217,145,.2),
    0 22px 48px rgba(0,0,0,.42),
    0 0 28px rgba(230,183,93,.12);
}

.guide-card:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 4px;
}

.guide-card h2 {
  display: flex;
  min-height: 3.12em;
  margin: 7px 0 6px;
  align-items: center;
  justify-content: center;
  color: #ffeba9;
  font-size: clamp(1.38rem, 1.55vw, 1.6rem);
  font-weight: 700;
  line-height: 1.12;
}

.guide-card p {
  min-height: 0;
  margin: 0;
  flex: 1;
  color: #d3dce2;
  font: .96rem/1.42 Arial, Helvetica, sans-serif;
}

.guide-icon {
  width: 74px;
  height: 74px;
  flex: 0 0 74px;
  background-image: url("assets/guide-icons-dragon.png");
  background-repeat: no-repeat;
  background-size: 400% 200%;
  filter: drop-shadow(0 0 10px rgba(255,199,88,.32));
}

.guide-icon-1 { background-position: 0 0; }
.guide-icon-2 { background-position: 33.333% 0; }
.guide-icon-3 { background-position: 66.667% 0; }
.guide-icon-4 { background-position: 100% 0; }
.guide-icon-5 { background-position: 0 100%; }
.guide-icon-6 { background-position: 33.333% 100%; }
.guide-icon-7 { background-position: 66.667% 100%; }

.guide-action {
  display: flex;
  margin-top: auto;
  padding-top: 9px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #d7c38b;
  font: 700 .72rem/1 Arial, Helvetica, sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.guide-arrow {
  display: grid;
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  place-items: center;
  border: 1px solid rgba(230,183,93,.72);
  border-radius: 50%;
  color: var(--gold-bright);
  font: 1.05rem/1 Arial, Helvetica, sans-serif;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.guide-card:hover .guide-arrow,
.guide-card:focus-visible .guide-arrow {
  transform: translateX(3px);
  color: #071626;
  background: var(--gold-bright);
}

.guide-card:hover .guide-action,
.guide-card:focus-visible .guide-action {
  color: var(--gold-bright);
}

.thanks-card {
  position: absolute;
  z-index: 5;
  right: 24px;
  bottom: 75px;
  display: grid;
  width: min(480px, 100%);
  margin-top: 0;
  padding: 15px 17px 15px 22px;
  align-self: flex-end;
  align-items: center;
  grid-template-columns: 1fr auto;
  gap: 18px;
  border: 1px solid rgba(232,188,104,.42);
  border-radius: 3px;
  background: rgba(3,14,25,.78);
  box-shadow: 0 20px 55px rgba(0,0,0,.4), inset 0 0 30px rgba(230,183,93,.04);
  backdrop-filter: blur(13px);
  animation: fade-up 680ms 560ms ease-out both;
}

.thanks-kicker {
  margin: 0 0 7px;
  color: var(--gold);
  font: 700 .65rem/1 Arial, Helvetica, sans-serif;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.thanks-card h2 {
  margin: 0;
  color: #fff4dc;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  font-weight: 500;
  line-height: 1.05;
}

.thanks-card h2 span { display: inline-block; margin-right: 6px; color: #f0bd75; }

.thanks-copy > p:last-child {
  max-width: 290px;
  margin: 11px 0 0;
  color: var(--muted);
  font: .84rem/1.45 Arial, Helvetica, sans-serif;
}

.qr-link {
  display: flex;
  color: var(--gold-bright);
  flex-direction: column;
  align-items: center;
  gap: 7px;
  font: 700 .6rem/1 Arial, Helvetica, sans-serif;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.qr-frame {
  display: block;
  padding: 7px;
  border: 1px solid rgba(255,217,145,.7);
  background: white;
  box-shadow: 0 0 22px rgba(230,183,93,.16);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.qr-frame img { display: block; width: 94px; height: 94px; }

.qr-link:hover .qr-frame,
.qr-link:focus-visible .qr-frame {
  transform: translateY(-3px) scale(1.025);
  box-shadow: 0 0 30px rgba(230,183,93,.35);
}

.qr-link:focus-visible { border-radius: 2px; outline: 2px solid var(--gold-bright); outline-offset: 5px; }

.site-footer {
  position: relative;
  z-index: 10;
  display: flex;
  width: 100%;
  min-height: 54px;
  margin: 0;
  padding: 0 18px;
  align-items: center;
  justify-content: center;
  border-top: 1px solid rgba(230,183,93,.15);
  background: rgba(2,11,20,.88);
  box-shadow: 0 -14px 42px rgba(0,0,0,.22);
  backdrop-filter: blur(15px);
}

.footer-inner {
  display: flex;
  width: min(1380px, 100%);
  padding: 15px 0 17px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #8195a2;
  font: .66rem/1 Arial, Helvetica, sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.site-footer p { margin: 0; }

.footer-ornament {
  position: relative;
  display: block;
  width: clamp(30px, 5vw, 68px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(230,183,93,.72));
}

.footer-ornament::after {
  position: absolute;
  top: 50%;
  right: -2px;
  width: 5px;
  height: 5px;
  transform: translateY(-50%) rotate(45deg);
  border: 1px solid rgba(230,183,93,.86);
  background: #071625;
  content: "";
}

.footer-ornament:last-child {
  transform: scaleX(-1);
}

@keyframes topbar-enter {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes fade-up {
  from { transform: translateY(16px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes card-reveal {
  from { transform: perspective(900px) translateY(18px) scale(.97); opacity: 0; }
  to { transform: perspective(900px) translateY(0) scale(1); opacity: 1; }
}

@media (max-width: 1080px) {
  .topnav a { font-size: .61rem; letter-spacing: .1em; }
  .thanks-card { position: static; width: min(480px, 100%); align-self: flex-end; }
  .page-content { padding-bottom: 38px; }
}

@media (max-width: 820px) {
  :root { --header-height: 68px; }
  .topbar-inner { width: min(100% - 24px, 760px); }
  .topbar.is-scrolled .topbar-inner { height: 58px; }
}

@media (max-width: 640px) {
  .site-shell { overflow: visible; background-position: 54% center; }
  .page-content { width: min(100% - 28px, 520px); }
  .page-content { padding-top: calc(var(--header-height) + 28px); }
  .eyebrow p { max-width: 210px; font-size: .58rem; line-height: 1.5; }
  h1 { font-size: clamp(2.35rem, 12vw, 3.7rem); }
  h1 span { letter-spacing: .35em; }
  .guide-nav { margin: 32px 0 26px; }
  .guide-grid { gap: 14px; }
  .guide-card { width: 100%; max-width: 420px; min-height: 285px; flex-basis: 100%; }
  .guide-icon { width: 72px; height: 72px; flex-basis: 72px; }
  .thanks-card { padding: 23px 18px 18px; grid-template-columns: 1fr; gap: 18px; text-align: center; }
  .thanks-card { width: 100%; align-self: center; }
  .thanks-copy > p:last-child { margin-right: auto; margin-left: auto; }
  .qr-frame img { width: 132px; height: 132px; }
  .site-footer { margin-top: 12px; text-align: center; }
  .footer-inner { font-size: .58rem; line-height: 1.35; letter-spacing: .12em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .topbar,
  .hero-header,
  .guide-card,
  .thanks-card { animation: none; }
  .guide-card,
  .guide-arrow,
  .qr-frame { transition: none; }
  .cursor-aura { display: none; }
}

/* Асимметричная главная страница */

.topbar-inner { position: relative; }

.topbar-logo {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 0;
  display: grid;
  width: 66px;
  height: 66px;
  transform: translateY(-50%);
  place-items: center;
  border-radius: 50%;
}

.topbar-logo img {
  display: block;
  width: 62px;
  height: 62px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(255,193,72,.34));
  transition: width 220ms ease, height 220ms ease, transform 260ms ease;
}

.topbar-logo:hover img,
.topbar-logo:focus-visible img { transform: rotate(-5deg) scale(1.06); }
.topbar-logo:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; }
.topbar.is-scrolled .topbar-logo img { width: 52px; height: 52px; }

.home-content {
  width: min(1240px, calc(100% - 48px));
  padding: calc(var(--header-height) + clamp(24px, 4vh, 42px)) 0 34px;
}

.hero-title-image {
  display: block;
  width: min(880px, 78vw);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,.62)) drop-shadow(0 0 18px rgba(230,183,93,.11));
}

.hero-subtitle-line {
  display: flex;
  margin-top: -8px;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.hero-subtitle-line span {
  width: clamp(34px, 5vw, 72px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(230,183,93,.82));
}

.hero-subtitle-line span:last-child { transform: scaleX(-1); }

.hero-subtitle-line p {
  margin: 0;
  color: #d5d7d1;
  font-size: clamp(.9rem, 1.3vw, 1.1rem);
  letter-spacing: .05em;
  text-shadow: 0 3px 14px rgba(0,0,0,.9);
}

.primary-guide {
  display: grid;
  width: min(1080px, 100%);
  margin: clamp(28px, 4vh, 42px) auto 18px;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 16px;
  scroll-margin-top: 92px;
}

.primary-guide .guide-card {
  width: auto;
  min-height: 0;
  flex: none;
}

.guide-card-featured {
  display: grid;
  min-height: 382px !important;
  padding: 27px 28px;
  align-items: center;
  grid-template-columns: minmax(150px, .82fr) minmax(0, 1.18fr);
  gap: 22px;
  text-align: left;
}

.guide-card-featured .guide-icon {
  width: 164px;
  height: 164px;
  max-width: 100%;
  justify-self: center;
  flex-basis: 164px;
}

.featured-copy,
.compact-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.card-kicker {
  margin-bottom: 8px;
  color: var(--gold);
  font: 700 .62rem/1 Arial, Helvetica, sans-serif;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.guide-card-featured h2 {
  display: block;
  min-height: 0;
  margin: 0 0 14px;
  color: #ffeba9;
  font-size: clamp(2rem, 3vw, 2.65rem);
  line-height: .98;
  text-align: left;
}

.guide-card-featured p {
  min-height: 0;
  margin: 0;
  color: #d8dfe3;
  font-size: .98rem;
  line-height: 1.5;
}

.guide-card-featured .guide-action {
  margin-top: 22px;
  padding-top: 0;
  justify-content: flex-start;
  font-size: .75rem;
}

.compact-guide-grid {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.guide-card-compact {
  display: grid;
  min-height: 183px !important;
  padding: 17px 15px;
  align-items: center;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 12px;
  text-align: left;
}

.guide-card-compact .guide-icon {
  width: 68px;
  height: 68px;
  flex-basis: 68px;
}

.guide-card-compact h2 {
  display: block;
  min-height: 0;
  margin: 0 0 7px;
  font-size: clamp(1.05rem, 1.4vw, 1.28rem);
  line-height: 1.08;
  text-align: left;
}

.guide-card-compact p {
  min-height: 0;
  margin: 0;
  color: #bfcbd2;
  font-size: .78rem;
  line-height: 1.35;
}

.guide-card-compact .guide-action {
  margin-top: 10px;
  padding-top: 0;
  justify-content: flex-start;
  font-size: .57rem;
}

.guide-card-compact .guide-arrow {
  width: 25px;
  height: 25px;
  flex-basis: 25px;
  font-size: .88rem;
}

.utility-row {
  display: grid;
  width: min(1080px, 100%);
  margin: 0 auto;
  align-items: stretch;
  grid-template-columns: minmax(0, 1.28fr) minmax(390px, .72fr);
  gap: 16px;
}

.collection-entry {
  position: relative;
  display: grid;
  min-height: 178px;
  overflow: hidden;
  padding: 22px 24px;
  align-items: center;
  grid-template-columns: 126px minmax(0, 1fr) 48px;
  gap: 20px;
  border: 1px solid rgba(232,188,104,.56);
  border-radius: 3px;
  color: #f7f1df;
  background:
    radial-gradient(circle at 18% 45%, rgba(230,183,93,.15), transparent 28%),
    linear-gradient(90deg, rgba(4,22,39,.96), rgba(3,15,28,.88));
  box-shadow: inset 0 0 0 4px rgba(3,16,29,.88), 0 18px 42px rgba(0,0,0,.3);
  text-decoration: none;
  text-shadow: 0 2px 7px #000;
  backdrop-filter: blur(10px);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.collection-entry::before,
.collection-entry::after {
  position: absolute;
  width: 28px;
  height: 28px;
  border-color: var(--gold);
  content: "";
}

.collection-entry::before { top: 8px; left: 8px; border-top: 1px solid; border-left: 1px solid; }
.collection-entry::after { right: 8px; bottom: 8px; border-right: 1px solid; border-bottom: 1px solid; }

.collection-entry:hover,
.collection-entry:focus-visible {
  transform: translateY(-5px);
  border-color: var(--gold-bright);
  box-shadow: inset 0 0 0 4px rgba(3,16,29,.88), 0 24px 52px rgba(0,0,0,.42), 0 0 26px rgba(230,183,93,.1);
}

.collection-entry:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 4px; }

.collection-entry .guide-icon {
  width: 118px;
  height: 118px;
  flex-basis: 118px;
}

.collection-entry h2 {
  margin: 0 0 8px;
  color: #ffeba9;
  font-size: clamp(1.55rem, 2.2vw, 2rem);
  font-weight: 600;
  line-height: 1.04;
}

.collection-entry p {
  max-width: 440px;
  margin: 0;
  color: #c7d1d7;
  font: .88rem/1.45 Arial, Helvetica, sans-serif;
}

.collection-arrow {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(230,183,93,.74);
  border-radius: 50%;
  color: var(--gold-bright);
  font: 1.35rem/1 Arial, Helvetica, sans-serif;
  transition: transform 180ms ease, color 180ms ease, background 180ms ease;
}

.collection-entry:hover .collection-arrow,
.collection-entry:focus-visible .collection-arrow {
  transform: translateX(4px);
  color: #071626;
  background: var(--gold-bright);
}

.utility-row .thanks-card {
  position: relative;
  right: auto;
  bottom: auto;
  width: auto;
  min-height: 178px;
  padding: 17px 17px 17px 20px;
  align-self: stretch;
  animation-delay: 500ms;
}

.utility-row .thanks-card h2 {
  font-size: clamp(1.35rem, 1.8vw, 1.72rem);
  white-space: nowrap;
}

.utility-row .thanks-copy > p:last-child {
  max-width: 210px;
  font-size: .73rem;
}

.qr-frame {
  position: relative;
  padding: 9px;
  border: 2px solid rgba(230,183,93,.9);
  background: #fff;
  box-shadow:
    0 0 0 4px rgba(3,16,29,.95),
    0 0 0 5px rgba(230,183,93,.65),
    0 0 24px rgba(230,183,93,.24);
}

.qr-frame::before {
  position: absolute;
  inset: 3px;
  pointer-events: none;
  border: 1px solid rgba(111,72,18,.62);
  content: "";
}

.qr-frame img { width: 98px; height: 98px; }

/* Страница хранилища */

.collection-page-content {
  width: min(1120px, calc(100% - 48px));
  padding: calc(var(--header-height) + clamp(46px, 7vh, 80px)) 0 52px;
}

.collection-page-header {
  max-width: 820px;
  text-align: center;
  text-shadow: 0 4px 24px rgba(0,0,0,.82);
}

.collection-kicker {
  margin: 0 0 13px;
  color: var(--gold);
  font: 700 .7rem/1 Arial, Helvetica, sans-serif;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.collection-page-header h1 {
  margin: 0;
  color: #fff0c4;
  font-size: clamp(2.7rem, 6vw, 5.2rem);
  line-height: .98;
}

.collection-page-header > p:last-child {
  margin: 19px auto 0;
  color: #c2cdd4;
  font: clamp(.9rem, 1.4vw, 1.08rem)/1.5 Arial, Helvetica, sans-serif;
}

.collection-option-grid {
  display: grid;
  width: 100%;
  margin-top: clamp(36px, 6vh, 62px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}

.collection-option-grid .collection-option {
  width: auto;
  min-height: 285px;
  padding: 19px 18px 17px;
  flex: none;
}

.collection-option h2 { min-height: 2.3em; }

@media (max-width: 1000px) {
  .primary-guide { grid-template-columns: 1fr; }
  .guide-card-featured { min-height: 330px !important; }
  .utility-row { grid-template-columns: 1fr; }
  .utility-row .thanks-card { width: min(520px, 100%); justify-self: end; }
  .collection-option-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .topbar-logo { left: -2px; width: 56px; height: 56px; }
  .topbar-logo img { width: 54px; height: 54px; }
  .home-content,
  .collection-page-content { width: min(100% - 28px, 560px); }
  .hero-title-image { width: 100%; }
  .hero-subtitle-line { margin-top: 1px; gap: 10px; }
  .hero-subtitle-line p { text-align: center; }
  .primary-guide { margin-top: 28px; }
  .guide-card-featured {
    min-height: 360px !important;
    padding: 23px 20px 20px;
    grid-template-columns: 1fr;
    gap: 10px;
    text-align: center;
  }
  .guide-card-featured .guide-icon { width: 112px; height: 112px; flex-basis: 112px; }
  .guide-card-featured h2 { font-size: clamp(1.85rem, 9vw, 2.45rem); text-align: center; }
  .guide-card-featured .guide-action { margin-top: 16px; justify-content: center; }
  .compact-guide-grid { grid-template-columns: 1fr; }
  .guide-card-compact { min-height: 164px !important; grid-template-columns: 76px minmax(0, 1fr); }
  .collection-entry {
    min-height: 300px;
    padding: 22px 20px;
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: center;
  }
  .collection-entry .guide-icon { width: 104px; height: 104px; justify-self: center; }
  .collection-entry .card-kicker { display: block; }
  .collection-entry p { margin-right: auto; margin-left: auto; }
  .collection-arrow { justify-self: center; }
  .utility-row .thanks-card { width: 100%; justify-self: stretch; }
  .collection-option-grid { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .topbar-logo { left: -5px; }
  .topbar-logo img { width: 49px; height: 49px; }
  .utility-row .thanks-card h2 { font-size: 1.32rem; }
}

@media (prefers-reduced-motion: reduce) {
  .topbar-logo img,
  .collection-entry,
  .collection-arrow { transition: none; }
}

/* Полная сборка 5 */

body,
body * {
  -webkit-user-select: none;
  user-select: none;
}

img {
  -webkit-user-drag: none;
  user-drag: none;
}

.page-content,
.site-footer,
.placeholder-spacer {
  position: relative;
  z-index: 2;
}

.golden-particles {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: .56;
  background-image:
    radial-gradient(circle, rgba(255,225,146,.95) 0 1px, transparent 1.8px),
    radial-gradient(circle, rgba(230,183,93,.68) 0 1.4px, transparent 2.1px),
    radial-gradient(circle, rgba(255,198,76,.45) 0 1px, transparent 1.7px);
  background-position: 8% 22%, 78% 15%, 42% 68%;
  background-size: 170px 210px, 260px 240px, 310px 280px;
  filter: drop-shadow(0 0 5px rgba(255,196,74,.52));
  mix-blend-mode: screen;
  animation: particles-drift 18s linear infinite;
}

.topbar-logo {
  display: flex;
  width: auto;
  height: 66px;
  align-items: center;
  gap: 10px;
  border-radius: 0;
  text-decoration: none;
}

.brand-name {
  color: #f6d48b;
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-shadow: 0 0 12px rgba(230,183,93,.42), 0 2px 7px #000;
  white-space: nowrap;
}

.topbar-logo img {
  animation: logo-aura 3.2s ease-in-out infinite;
}

.topnav { gap: clamp(22px, 3vw, 48px); }

.hero-title-image {
  animation: title-aura 4.5s ease-in-out infinite;
}

.home-content { padding-bottom: 218px; }

.guide-card-featured {
  display: flex;
  min-height: 500px !important;
  padding: 25px 29px 24px;
  flex-direction: column;
  justify-content: flex-start;
  gap: 14px;
  text-align: center;
}

.guide-card-featured .guide-icon {
  width: 178px;
  height: 178px;
  flex: 0 0 178px;
  margin-top: 5px;
}

.guide-card-featured .featured-copy {
  align-items: center;
}

.guide-card-featured h2 {
  margin-bottom: 12px;
  font-size: clamp(2.05rem, 3vw, 2.72rem);
  text-align: center;
}

.guide-card-featured p {
  max-width: 410px;
  text-align: center;
}

.guide-card-featured .guide-action {
  margin-top: 18px;
  justify-content: center;
}

.guide-card-compact {
  display: flex;
  min-height: 242px !important;
  padding: 14px 14px 13px;
  flex-direction: column;
  justify-content: flex-start;
  gap: 7px;
  text-align: center;
}

.guide-card-compact .guide-icon {
  width: 82px;
  height: 82px;
  flex: 0 0 82px;
}

.guide-card-compact .compact-copy {
  width: 100%;
  flex: 1;
  align-items: center;
}

.guide-card-compact h2 {
  margin-bottom: 6px;
  font-size: clamp(1.08rem, 1.5vw, 1.34rem);
  text-align: center;
}

.guide-card-compact p {
  max-width: 185px;
  margin-right: auto;
  margin-left: auto;
  flex: 1;
  text-align: center;
}

.guide-card-compact .guide-action {
  margin-top: 8px;
  justify-content: center;
}

.guide-card,
.collection-entry,
.thanks-card {
  box-shadow:
    inset 0 0 0 4px rgba(3,16,29,.9),
    inset 0 0 0 5px rgba(230,183,93,.1),
    0 18px 42px rgba(0,0,0,.32),
    0 0 18px rgba(230,183,93,.045);
}

.utility-row {
  display: block;
  width: min(1080px, 100%);
}

.collection-entry {
  width: min(680px, 100%);
}

.utility-row .thanks-card {
  position: absolute;
  z-index: 8;
  right: 24px;
  bottom: 72px;
  display: grid;
  width: min(405px, calc(100% - 48px));
  min-height: 170px;
  overflow: hidden;
  padding: 16px 15px 15px 19px;
  align-self: auto;
  grid-template-columns: minmax(0, 1fr) 118px;
  gap: 14px;
}

.utility-row .thanks-card h2 {
  font-size: clamp(1.28rem, 1.6vw, 1.62rem);
  white-space: nowrap;
}

.utility-row .thanks-copy {
  min-width: 0;
}

.utility-row .thanks-copy > p:last-child {
  max-width: 210px;
  overflow-wrap: anywhere;
}

.qr-link {
  width: 112px;
  min-width: 0;
  max-width: 112px;
  overflow: hidden;
  justify-self: end;
  text-align: center;
}

.qr-frame {
  display: grid;
  width: 108px;
  height: 108px;
  overflow: hidden;
  padding: 7px;
  place-items: center;
}

.qr-frame img {
  display: block;
  width: 90px;
  max-width: 100%;
  height: 90px;
  max-height: 100%;
  object-fit: contain;
}

.qr-link > span:last-child {
  width: 100%;
  font-size: .48rem;
  line-height: 1.15;
  letter-spacing: .04em;
  white-space: normal;
}

.placeholder-shell { min-height: 100svh; }

.placeholder-spacer {
  min-height: calc(100svh - var(--header-height) - 54px);
  flex: 1;
}

@keyframes particles-drift {
  0% { background-position: 8% 22%, 78% 15%, 42% 68%; opacity: .38; }
  50% { background-position: 12% 45%, 74% 36%, 48% 82%; opacity: .66; }
  100% { background-position: 8% 72%, 78% 62%, 42% 98%; opacity: .38; }
}

@keyframes logo-aura {
  0%, 100% { filter: drop-shadow(0 0 8px rgba(255,193,72,.28)); }
  50% { filter: drop-shadow(0 0 20px rgba(255,205,102,.68)); }
}

@keyframes title-aura {
  0%, 100% { filter: drop-shadow(0 8px 14px rgba(0,0,0,.62)) drop-shadow(0 0 12px rgba(230,183,93,.1)); }
  50% { filter: drop-shadow(0 8px 14px rgba(0,0,0,.62)) drop-shadow(0 0 26px rgba(255,203,92,.33)); }
}

@media (max-width: 1080px) {
  .topnav { gap: 20px; }
  .topnav a { letter-spacing: .07em; }
  .home-content { padding-bottom: 42px; }
  .collection-entry { width: 100%; }
  .utility-row .thanks-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(520px, 100%);
    margin-top: 16px;
    justify-self: auto;
  }
}

@media (max-width: 760px) {
  .topbar-inner { justify-content: flex-end; }
  .topbar-logo { left: 0; width: auto; height: 58px; }
  .topbar-logo img { width: 50px; height: 50px; }
  .brand-name { font-size: .94rem; }
  .topnav { gap: 13px; }
  .topnav a { padding-right: 0; padding-left: 0; font-size: .52rem; letter-spacing: .045em; }
  .guide-card-featured { min-height: 440px !important; }
  .guide-card-featured .guide-icon { width: 136px; height: 136px; flex-basis: 136px; }
  .guide-card-compact { min-height: 225px !important; }
}

@media (max-width: 520px) {
  .brand-name { display: none; }
  .topnav { gap: 10px; }
  .topnav a { font-size: .46rem; }
  .utility-row .thanks-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .utility-row .thanks-card h2 { white-space: normal; }
  .utility-row .thanks-copy > p:last-child { margin-right: auto; margin-left: auto; }
  .qr-link { justify-self: center; }
}

@media print {
  body { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .golden-particles,
  .topbar-logo img,
  .hero-title-image { animation: none; }
}

/* Компактная сборка 6 */

body,
body * {
  -webkit-touch-callout: none;
}

img { pointer-events: none; }

.topbar-logo {
  width: 64px;
  height: 64px;
  gap: 0;
}

.topbar-logo-image {
  display: block;
  width: 62px;
  height: 62px;
  pointer-events: none;
  background: url("assets/site-icon.png?v=6") center / contain no-repeat;
  filter: drop-shadow(0 0 12px rgba(255,193,72,.34));
  animation: logo-aura 3.2s ease-in-out infinite;
  transition: transform 260ms ease;
}

.topbar-logo:hover .topbar-logo-image,
.topbar-logo:focus-visible .topbar-logo-image { transform: rotate(-5deg) scale(1.06); }

.brand-name { display: none; }
.topnav { gap: clamp(18px, 2.5vw, 40px); }

.hero-title-image {
  display: block;
  width: min(880px, 78vw);
  height: auto;
  aspect-ratio: 2172 / 724;
  margin: 0 auto;
  pointer-events: none;
  background: url("assets/site-title.png?v=6") center / contain no-repeat;
}

.primary-guide {
  display: grid;
  width: min(1180px, 100%);
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.primary-guide .guide-card-compact {
  min-height: 258px !important;
  padding: 16px 13px 14px;
}

.primary-guide .guide-card-compact .guide-icon {
  width: 80px;
  height: 80px;
  flex-basis: 80px;
}

.primary-guide .guide-card-compact h2 {
  min-height: 2.2em;
  margin-bottom: 7px;
  font-size: clamp(1.08rem, 1.35vw, 1.34rem);
  line-height: 1.08;
}

.primary-guide .guide-card-compact p {
  display: flex;
  min-height: 3.8em;
  align-items: center;
  justify-content: center;
  font-size: .77rem;
}

.primary-guide .guide-card-compact .guide-action {
  margin-top: auto;
  padding-top: 8px;
}

.standalone-icon {
  display: block;
  width: 80px;
  height: 80px;
  flex: 0 0 80px;
  pointer-events: none;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  filter: drop-shadow(0 0 10px rgba(255,199,88,.32));
}

.storage-icon { background-image: url("assets/storage-icon.png?v=6"); }
.dish-icon { background-image: url("assets/dish-icon.png?v=6"); }

.collection-entry .standalone-icon {
  width: 118px;
  height: 118px;
  flex-basis: 118px;
}

.collection-option .standalone-icon {
  width: 80px;
  height: 80px;
  flex-basis: 80px;
}

.home-content { padding-bottom: 205px; }

.utility-row .thanks-card {
  right: 22px;
  bottom: 70px;
  width: min(520px, calc(100% - 44px));
  min-height: 160px;
  padding: 16px 17px;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) 114px;
  gap: 16px;
}

.utility-row .thanks-copy {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.utility-row .thanks-kicker {
  margin-bottom: 7px;
  white-space: nowrap;
}

.utility-row .thanks-card h2 {
  font-size: clamp(1.34rem, 1.7vw, 1.72rem);
  line-height: 1;
  white-space: nowrap;
}

.utility-row .thanks-copy > p:last-child {
  max-width: none;
  margin-top: 10px;
  font-size: .66rem;
  line-height: 1.25;
  white-space: nowrap;
}

.qr-link {
  width: 110px;
  max-width: 110px;
  overflow: visible;
}

.qr-frame {
  display: grid;
  width: 108px;
  height: 108px;
  overflow: hidden;
  padding: 7px;
  place-items: center;
  border: 4px double rgba(230,183,93,.92);
  background: #fff;
  box-shadow: 0 0 18px rgba(230,183,93,.16);
}

.qr-frame::before { display: none; }

.qr-code-image {
  display: block;
  width: 86px;
  height: 86px;
  pointer-events: none;
  background: #fff url("assets/card-qr.png?v=6") center / contain no-repeat;
}

.qr-link > span:last-child {
  display: block;
  margin-top: 7px;
  border: 0;
  background: none;
  box-shadow: none;
}

.collection-option-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1100px) {
  .primary-guide { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .utility-row .thanks-card {
    right: 18px;
    width: min(500px, calc(100% - 36px));
  }
}

@media (max-width: 820px) {
  .topbar-inner { justify-content: flex-end; }
  .topbar-logo { left: 0; width: 54px; height: 54px; }
  .topbar-logo-image { width: 52px; height: 52px; }
  .topnav { gap: 12px; }
  .topnav a { font-size: .5rem; letter-spacing: .035em; }
  .primary-guide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .utility-row .thanks-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 16px;
  }
  .home-content { padding-bottom: 38px; }
  .collection-option-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .topbar-logo { width: 46px; height: 46px; }
  .topbar-logo-image { width: 44px; height: 44px; }
  .topnav { gap: 8px; }
  .topnav a { font-size: .43rem; }
  .primary-guide { grid-template-columns: 1fr; }
  .primary-guide .guide-card-compact { min-height: 235px !important; }
  .utility-row .thanks-card { grid-template-columns: 1fr; }
  .utility-row .thanks-copy > p:last-child { white-space: normal; }
  .qr-link { justify-self: center; }
}

@media (prefers-reduced-motion: reduce) {
  .topbar-logo-image { animation: none; }
}

/* Полная сборка 7 */

.topbar-inner {
  width: min(1500px, calc(100% - 32px));
}

.topbar-logo {
  width: 220px;
  height: 66px;
  justify-content: flex-start;
  gap: 8px;
}

.topbar-logo-image {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  background-image: url("assets/site-icon.png?v=7");
}

.nine-yin-wordmark {
  display: block;
  width: 142px;
  height: 50px;
  flex: 0 0 142px;
  pointer-events: none;
  background: url("assets/nine-yin-wordmark.png?v=7") center / contain no-repeat;
  filter: drop-shadow(0 0 9px rgba(255,194,68,.28));
  transition: filter 220ms ease, transform 220ms ease;
}

.topbar-logo:hover .nine-yin-wordmark,
.topbar-logo:focus-visible .nine-yin-wordmark {
  transform: translateX(2px);
  filter: drop-shadow(0 0 15px rgba(255,209,105,.55));
}

.topnav {
  gap: clamp(17px, 2.1vw, 34px);
  white-space: nowrap;
}

.topnav a {
  font-size: .64rem;
  letter-spacing: .09em;
}

.home-content {
  width: min(1240px, calc(100% - 48px));
  padding-top: calc(var(--header-height) + clamp(24px, 3.5vh, 38px));
  padding-bottom: 34px;
}

.hero-header {
  position: relative;
  width: min(930px, calc(100% - 30px));
  padding: 14px 34px 20px;
  border: 1px solid rgba(230,183,93,.27);
  background:
    radial-gradient(ellipse at 50% 48%, rgba(255,200,84,.075), transparent 58%),
    linear-gradient(90deg, transparent, rgba(3,16,29,.56) 14%, rgba(3,16,29,.56) 86%, transparent);
  box-shadow:
    inset 0 0 0 4px rgba(3,16,29,.66),
    inset 0 0 34px rgba(230,183,93,.045),
    0 0 36px rgba(255,196,71,.065);
}

.hero-header::before,
.hero-header::after {
  position: absolute;
  width: 42px;
  height: 42px;
  pointer-events: none;
  border-color: rgba(255,217,145,.72);
  content: "";
}

.hero-header::before {
  top: 7px;
  left: 7px;
  border-top: 1px solid;
  border-left: 1px solid;
}

.hero-header::after {
  right: 7px;
  bottom: 7px;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.hero-title-image {
  width: min(800px, 72vw);
  background-image: url("assets/site-title.png?v=7");
}

.hero-subtitle-line {
  margin-top: -5px;
}

.primary-guide {
  width: min(1160px, 100%);
  margin-top: clamp(22px, 3vh, 30px);
  gap: 13px;
}

.primary-guide .guide-card-compact {
  min-height: 244px !important;
  padding: 15px 12px 13px;
}

.primary-guide .guide-card-compact h2 {
  min-height: 2.25em;
  margin-bottom: 7px;
  font-size: clamp(1.05rem, 1.24vw, 1.24rem);
  line-height: 1.1;
}

.primary-guide .guide-card-compact p {
  min-height: 3.8em;
  max-width: 205px;
  color: #d0d9de;
  font-size: .84rem;
  line-height: 1.38;
}

.primary-guide .guide-card-compact .guide-action {
  padding-top: 9px;
  gap: 8px;
  font-size: .66rem;
  letter-spacing: .08em;
}

.primary-guide .guide-card-compact .guide-arrow {
  width: 29px;
  height: 29px;
  flex-basis: 29px;
  font-size: 1rem;
}

.utility-row {
  width: min(1160px, 100%);
}

.collection-entry {
  width: min(650px, 100%);
  min-height: 164px;
}

.home-support {
  position: absolute;
  z-index: 9;
  right: 18px;
  bottom: 66px;
  width: min(410px, calc(100% - 36px));
  min-height: 142px;
  overflow: hidden;
  padding: 13px 13px 13px 16px;
  align-self: auto;
  grid-template-columns: minmax(0, 1fr) 104px;
  gap: 12px;
}

.home-support .thanks-copy {
  display: flex;
  min-width: 0;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.home-support .thanks-kicker {
  margin-bottom: 7px;
  font-size: .67rem;
  letter-spacing: .16em;
  white-space: nowrap;
}

.home-support h2 {
  font-size: clamp(1.36rem, 1.55vw, 1.56rem);
  line-height: 1;
  white-space: nowrap;
}

.home-support .thanks-copy > p:last-child {
  max-width: 235px;
  margin-top: 10px;
  color: #c0cbd2;
  font-size: .75rem;
  line-height: 1.28;
}

.home-support .qr-link {
  width: 102px;
  max-width: 102px;
  overflow: hidden;
  justify-self: center;
  gap: 5px;
  text-align: center;
}

.home-support .qr-frame {
  display: grid;
  width: 98px;
  height: 98px;
  overflow: hidden;
  padding: 6px;
  place-items: center;
  border: 3px double rgba(230,183,93,.92);
  background: #fff;
  box-shadow: 0 0 15px rgba(230,183,93,.15);
}

.home-support .qr-frame::before,
.home-support .qr-frame::after {
  display: none;
  content: none;
}

.home-support .qr-code-image {
  width: 80px;
  height: 80px;
  background-image: url("assets/card-qr.png?v=7");
}

.home-support .qr-link > span:last-child {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: .52rem;
  line-height: 1.15;
  letter-spacing: .035em;
  white-space: normal;
}

.pet-icon {
  background-image: url("assets/pet-icon.png?v=7");
}

.character-page-content {
  justify-content: flex-start;
}

.character-option-grid {
  display: grid;
  width: min(500px, 100%);
  margin: 36px auto 0;
  grid-template-columns: 1fr;
}

.character-option {
  width: 100%;
  min-height: 340px;
}

.character-option .pet-icon {
  width: 142px;
  height: 142px;
  flex-basis: 142px;
}

.character-option h2 {
  font-size: clamp(1.5rem, 2.3vw, 2rem);
}

.character-option p {
  max-width: 380px;
  font-size: .96rem;
}

.pet-page-header .collection-kicker a {
  color: inherit;
  text-decoration: none;
}

.pet-page-header .collection-kicker a:hover,
.pet-page-header .collection-kicker a:focus-visible {
  color: var(--gold-bright);
}

.content-placeholder {
  display: flex;
  width: min(480px, 100%);
  min-height: 280px;
  margin-top: 34px;
  padding: 26px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(230,183,93,.36);
  background: rgba(3,16,29,.7);
  box-shadow: inset 0 0 34px rgba(230,183,93,.04), 0 18px 48px rgba(0,0,0,.32);
  text-align: center;
}

.content-placeholder .pet-icon {
  width: 150px;
  height: 150px;
  flex-basis: 150px;
}

.content-placeholder p {
  margin: 12px 0 0;
  color: var(--gold-bright);
  font: 700 .72rem/1.2 Arial, Helvetica, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
}

@media (max-width: 1180px) {
  .nine-yin-wordmark { width: 116px; flex-basis: 116px; }
  .topbar-logo { width: 182px; }
  .topnav { gap: 15px; }
  .topnav a { font-size: .57rem; letter-spacing: .055em; }
  .primary-guide { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-content { padding-bottom: 42px; }
  .home-support {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(410px, calc(100% - 48px));
    margin: 0 24px 22px auto;
    align-self: flex-end;
  }
}

@media (max-width: 820px) {
  .topbar-inner { width: calc(100% - 20px); }
  .topbar-logo { width: 148px; }
  .topbar-logo-image { width: 50px; height: 50px; flex-basis: 50px; }
  .nine-yin-wordmark { width: 90px; height: 40px; flex-basis: 90px; }
  .topnav { gap: 9px; }
  .topnav a { font-size: .46rem; letter-spacing: .025em; }
  .hero-header { width: 100%; padding-right: 18px; padding-left: 18px; }
  .hero-title-image { width: min(720px, 88vw); }
  .primary-guide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .topbar-logo { width: 48px; }
  .nine-yin-wordmark { display: none; }
  .topnav {
    width: calc(100% - 55px);
    overflow-x: auto;
    justify-content: flex-end;
    scrollbar-width: none;
  }
  .topnav::-webkit-scrollbar { display: none; }
  .topnav a { flex: 0 0 auto; font-size: .43rem; }
  .primary-guide { grid-template-columns: 1fr; }
  .primary-guide .guide-card-compact { min-height: 238px !important; }
  .home-support {
    width: calc(100% - 28px);
    margin-right: auto;
    margin-left: auto;
    grid-template-columns: 1fr;
  }
  .home-support h2 { white-space: normal; }
  .collection-entry {
    padding: 20px 18px;
    grid-template-columns: 92px minmax(0, 1fr);
  }
  .collection-entry .standalone-icon { width: 90px; height: 90px; flex-basis: 90px; }
  .collection-arrow { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .nine-yin-wordmark { transition: none; }
}

/* Полная сборка 8 */

.topnav a {
  font-size: .8rem;
  letter-spacing: .1em;
}

.hero-header {
  width: min(930px, calc(100% - 30px));
  padding: 8px 0 14px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.hero-header::before,
.hero-header::after {
  display: none;
  content: none;
}

.utility-row {
  display: grid;
  width: min(650px, 100%);
  gap: 14px;
}

.utility-row .collection-entry {
  width: 100%;
}

.catalog-symbol {
  position: relative;
  display: grid;
  width: 112px;
  height: 112px;
  flex: 0 0 112px;
  place-items: center;
  border: 1px solid rgba(255,217,145,.72);
  color: #ffe4a2;
  background:
    radial-gradient(circle at 50% 42%, rgba(255,218,129,.23), transparent 42%),
    linear-gradient(145deg, rgba(56,35,8,.92), rgba(4,19,34,.96) 65%);
  box-shadow:
    inset 0 0 0 5px rgba(3,16,29,.82),
    inset 0 0 0 6px rgba(230,183,93,.2),
    0 0 21px rgba(230,183,93,.14);
  font-size: 2.45rem;
  line-height: 1;
  text-shadow: 0 0 13px rgba(255,201,82,.75);
}

.catalog-symbol::before,
.catalog-symbol::after {
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: rgba(255,217,145,.8);
  content: "";
}

.catalog-symbol::before {
  top: 7px;
  left: 7px;
  border-top: 1px solid;
  border-left: 1px solid;
}

.catalog-symbol::after {
  right: 7px;
  bottom: 7px;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.game-content-entry {
  background:
    radial-gradient(circle at var(--mx, 18%) var(--my, 45%), rgba(255,211,117,.18), transparent 29%),
    linear-gradient(90deg, rgba(4,22,39,.96), rgba(3,15,28,.9));
}

.directory-page-content {
  width: min(1280px, calc(100% - 48px));
  padding-bottom: 72px;
}

.content-directory-grid {
  display: grid;
  width: min(1160px, 100%);
  margin: 38px auto 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.directory-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 302px;
  overflow: hidden;
  padding: 23px 20px 18px;
  align-items: center;
  flex-direction: column;
  border: 1px solid rgba(232,188,104,.56);
  border-radius: 3px;
  color: #f8f0dc;
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 22%), rgba(255,207,111,.16), transparent 38%),
    linear-gradient(180deg, rgba(4,22,39,.96), rgba(3,15,28,.92));
  box-shadow:
    inset 0 0 0 4px rgba(3,16,29,.9),
    inset 0 0 0 5px rgba(230,183,93,.09),
    0 18px 42px rgba(0,0,0,.32);
  text-align: center;
  text-decoration: none;
  text-shadow: 0 2px 7px rgba(0,0,0,.9);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 190ms ease, border-color 190ms ease, box-shadow 190ms ease;
}

.directory-card::before,
.directory-card::after {
  position: absolute;
  width: 25px;
  height: 25px;
  border-color: rgba(255,217,145,.75);
  content: "";
}

.directory-card::before {
  top: 8px;
  left: 8px;
  border-top: 1px solid;
  border-left: 1px solid;
}

.directory-card::after {
  right: 8px;
  bottom: 8px;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.directory-card:hover,
.directory-card:focus-visible {
  border-color: var(--gold-bright);
  box-shadow:
    inset 0 0 0 4px rgba(3,16,29,.9),
    inset 0 0 0 5px rgba(230,183,93,.13),
    0 24px 50px rgba(0,0,0,.42),
    0 0 26px rgba(230,183,93,.12);
}

.directory-card:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 4px;
}

.directory-icon {
  position: relative;
  display: grid;
  width: 98px;
  height: 98px;
  flex: 0 0 98px;
  margin-bottom: 18px;
  place-items: center;
  border: 1px solid rgba(255,217,145,.7);
  color: #ffdfa0;
  background:
    linear-gradient(135deg, rgba(255,220,138,.14), transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(230,183,93,.24), rgba(8,25,40,.94) 67%);
  box-shadow:
    inset 0 0 0 5px rgba(3,16,29,.85),
    inset 0 0 0 6px rgba(230,183,93,.2),
    0 0 24px rgba(230,183,93,.14);
  font-size: 1.72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-shadow: 0 0 13px rgba(255,196,68,.7);
}

.directory-icon::before {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(230,183,93,.26);
  content: "";
  transform: rotate(45deg);
}

.directory-icon-tower { background-color: rgba(39,28,10,.6); }
.directory-icon-sands { background-color: rgba(72,45,8,.52); }
.directory-icon-arena { background-color: rgba(62,25,16,.52); }
.directory-icon-island { background-color: rgba(12,53,48,.5); }
.directory-icon-mirage { background-color: rgba(42,23,66,.5); }
.directory-icon-caches { background-color: rgba(58,42,13,.56); }

.directory-copy {
  display: flex;
  width: 100%;
  flex: 1;
  align-items: center;
  flex-direction: column;
}

.directory-card h2 {
  margin: 0 0 10px;
  color: #ffeba9;
  font-size: clamp(1.25rem, 1.7vw, 1.58rem);
  line-height: 1.08;
}

.directory-card p {
  max-width: 300px;
  margin: 0;
  color: #cbd5db;
  font: .9rem/1.45 Arial, Helvetica, sans-serif;
}

.directory-action {
  display: flex;
  margin-top: 18px;
  align-items: center;
  gap: 9px;
  color: #d9c485;
  font: 700 .67rem/1 Arial, Helvetica, sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.directory-action span {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid rgba(230,183,93,.72);
  border-radius: 50%;
  color: var(--gold-bright);
  font-size: .95rem;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.directory-card:hover .directory-action span,
.directory-card:focus-visible .directory-action span {
  transform: translateX(3px);
  color: #071626;
  background: var(--gold-bright);
}

.schools-directory-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.directory-card-large {
  min-height: 360px;
  padding-top: 27px;
}

.directory-card-large .directory-icon {
  width: 120px;
  height: 120px;
  flex-basis: 120px;
  font-size: 2.45rem;
}

.directory-card-large h2 {
  font-size: clamp(1.55rem, 2vw, 1.95rem);
}

@media (max-width: 1180px) {
  .topnav a { font-size: .7rem; letter-spacing: .065em; }
  .home-support {
    margin-top: 18px;
  }
}

@media (max-width: 900px) {
  .content-directory-grid,
  .schools-directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .topnav a { font-size: .57rem; letter-spacing: .035em; }
  .hero-header { padding-right: 0; padding-left: 0; }
}

@media (max-width: 620px) {
  .topnav a { font-size: .47rem; }
  .catalog-symbol {
    width: 90px;
    height: 90px;
    flex-basis: 90px;
    font-size: 2rem;
  }
  .content-directory-grid,
  .schools-directory-grid {
    grid-template-columns: 1fr;
  }
  .directory-card,
  .directory-card-large {
    min-height: 300px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .directory-card { transition: none; }
}

/* Сборка 9: итоговая компоновка нижних разделов */
.utility-row {
  display: grid;
  width: min(740px, 100%);
  margin: 0 auto;
  grid-template-columns: 1fr;
  gap: 12px;
}

.utility-row .collection-entry {
  width: 100%;
  min-height: 126px;
  padding: 20px 26px 20px 30px;
  grid-template-columns: minmax(0, 1fr) 44px;
  gap: 24px;
}

.utility-row .collection-entry-copy {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(230px, .8fr) minmax(320px, 1.7fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: clamp(24px, 4vw, 62px);
}

.utility-row .card-kicker {
  grid-column: 1;
  grid-row: 1;
  margin-bottom: 7px;
}

.utility-row .collection-entry h2 {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
  font-size: clamp(1.55rem, 2.1vw, 2.05rem);
  white-space: normal;
}

.utility-row .collection-entry p {
  grid-column: 2;
  grid-row: 1 / span 2;
  max-width: 620px;
  font-size: .9rem;
  line-height: 1.5;
}

@media (min-width: 1181px) and (max-width: 1500px) {
  .home-support {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(410px, calc(100% - 48px));
    margin: 18px 24px 22px auto;
    align-self: flex-end;
  }
}

@media (max-width: 820px) {
  .utility-row .collection-entry-copy { display: block; }
  .utility-row .collection-entry h2 { margin: 5px 0 9px; }
}

@media (max-width: 620px) {
  .utility-row .collection-entry {
    min-height: 148px;
    padding: 22px 20px;
    grid-template-columns: minmax(0, 1fr);
  }

  .utility-row .collection-entry h2 {
    font-size: clamp(1.45rem, 7vw, 1.9rem);
  }

  .utility-row .collection-entry p { font-size: .82rem; }
}

/* Сборка 10: исправления главной и каталога путей развития */
.utility-row .collection-entry {
  min-height: 154px;
  padding-top: 22px;
  padding-bottom: 22px;
}

.utility-row .collection-entry-copy {
  grid-template-columns: minmax(270px, .9fr) minmax(300px, 1.35fr);
  align-content: center;
}

.utility-row .collection-entry h2 {
  font-size: clamp(1.48rem, 1.72vw, 1.78rem);
  line-height: 1.04;
}

.utility-row .card-kicker {
  font-size: .62rem;
  letter-spacing: .14em;
  line-height: 1.25;
}

.schools-page-content {
  width: min(1480px, calc(100% - 48px));
  padding-bottom: 82px;
}

.schools-page-content .collection-page-header {
  width: min(1320px, 100%);
  max-width: none;
}

.schools-page-content .collection-page-header h1 {
  font-size: clamp(2.65rem, 4.45vw, 5.25rem);
  white-space: nowrap;
}

.schools-page-content .collection-page-header > p:last-child {
  max-width: 920px;
}

.development-groups {
  display: grid;
  width: min(1320px, 100%);
  margin: 34px auto 0;
  gap: 34px;
}

.development-group {
  display: grid;
  gap: 12px;
}

.development-group-header {
  position: relative;
  display: grid;
  min-height: 132px;
  overflow: hidden;
  padding: 18px 30px;
  align-items: center;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 26px;
  border: 1px solid rgba(232,188,104,.58);
  border-radius: 3px;
  background:
    radial-gradient(circle at 11% 50%, rgba(255,207,111,.17), transparent 26%),
    linear-gradient(90deg, rgba(4,22,39,.97), rgba(3,15,28,.9));
  box-shadow:
    inset 0 0 0 4px rgba(3,16,29,.9),
    inset 0 0 0 5px rgba(230,183,93,.1),
    0 18px 42px rgba(0,0,0,.3);
}

.development-group-header::before,
.development-group-header::after {
  position: absolute;
  width: 28px;
  height: 28px;
  border-color: rgba(255,217,145,.76);
  content: "";
}

.development-group-header::before {
  top: 8px;
  left: 8px;
  border-top: 1px solid;
  border-left: 1px solid;
}

.development-group-header::after {
  right: 8px;
  bottom: 8px;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.development-group-header .directory-icon {
  width: 82px;
  height: 82px;
  flex-basis: 82px;
  font-size: 1.85rem;
}

.development-group-copy {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(190px, .5fr) minmax(320px, 1.35fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 38px;
}

.development-group-copy .card-kicker {
  grid-column: 1;
  grid-row: 1;
  margin-bottom: 6px;
}

.development-group-copy h2 {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
  color: #ffeba9;
  font-size: clamp(1.65rem, 2.25vw, 2.25rem);
  line-height: 1;
}

.development-group-copy p {
  grid-column: 2;
  grid-row: 1 / span 2;
  max-width: 690px;
  margin: 0;
  color: #cbd5db;
  font: .92rem/1.5 Arial, Helvetica, sans-serif;
}

.development-slots {
  display: grid;
  min-height: 238px;
  padding: 14px 14px 18px;
  grid-template-columns: repeat(2, minmax(230px, 300px));
  align-items: stretch;
  justify-content: start;
  gap: 14px;
  border: 1px solid rgba(230,183,93,.22);
  background: linear-gradient(180deg, rgba(3,17,30,.34), rgba(3,14,25,.58));
}

.development-slot {
  position: relative;
  display: grid;
  min-height: 204px;
  padding: 24px;
  place-content: center;
  border: 1px dashed rgba(230,183,93,.42);
  color: #e7d197;
  background: rgba(3,18,32,.68);
  text-align: center;
}

.development-slot span {
  font: 600 clamp(1.25rem, 1.7vw, 1.62rem)/1.1 Georgia, "Times New Roman", serif;
}

.development-slot small {
  max-width: 210px;
  margin: 10px auto 0;
  color: #9cabb4;
  font: .72rem/1.4 Arial, Helvetica, sans-serif;
}

@media (max-width: 900px) {
  .schools-page-content .collection-page-header h1 {
    white-space: normal;
  }

  .development-group-copy {
    display: block;
  }

  .development-group-copy h2 { margin: 5px 0 9px; }
}

@media (max-width: 680px) {
  .schools-page-content { width: min(100% - 28px, 560px); }

  .development-group-header {
    padding: 24px 20px;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 14px;
    text-align: center;
  }

  .development-slots {
    grid-template-columns: 1fr;
  }

  .utility-row .collection-entry-copy {
    display: block;
  }

  .utility-row .collection-entry h2 {
    margin: 5px 0 9px;
  }
}

/* Сборка 11: компактные направления и карточка Лазурной Стражи */
.utility-row .collection-entry {
  min-height: 126px;
  padding: 16px 24px 16px 28px;
}

.utility-row .collection-entry-copy {
  grid-template-columns: minmax(255px, .88fr) minmax(300px, 1.32fr);
  column-gap: 28px;
}

.utility-row .collection-entry h2 {
  font-size: clamp(1.35rem, 1.55vw, 1.58rem);
  line-height: 1;
}

.utility-row .card-kicker {
  margin-bottom: 5px;
  font-size: .57rem;
  letter-spacing: .12em;
}

.schools-page-content {
  width: min(1380px, calc(100% - 48px));
  padding-top: calc(var(--header-height) + clamp(28px, 4vh, 48px));
  padding-bottom: 58px;
}

.schools-page-content .collection-page-header h1 {
  font-size: clamp(2.45rem, 4vw, 4.7rem);
}

.schools-page-content .collection-page-header > p:last-child {
  margin-top: 12px;
}

.development-groups {
  width: min(1320px, 100%);
  margin-top: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 14px;
}

.development-group {
  gap: 8px;
}

.development-group-header {
  min-height: 112px;
  padding: 14px 18px;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 14px;
}

.development-group-header .directory-icon {
  width: 62px;
  height: 62px;
  flex-basis: 62px;
  font-size: 1.4rem;
}

.development-group-copy {
  display: block;
}

.development-group-copy .card-kicker {
  display: block;
  margin-bottom: 5px;
  font-size: .55rem;
  letter-spacing: .11em;
}

.development-group-copy h2 {
  margin: 0 0 6px;
  font-size: clamp(1.35rem, 1.8vw, 1.75rem);
}

.development-group-copy p {
  font-size: .72rem;
  line-height: 1.35;
}

.development-slots {
  min-height: 0;
  padding: 9px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.development-slot {
  min-width: 0;
  min-height: 0;
  aspect-ratio: 1;
  padding: 14px;
  color: #e7d197;
  text-decoration: none;
}

.development-slot span {
  font-size: clamp(1rem, 1.25vw, 1.25rem);
}

.development-slot small {
  margin-top: 7px;
  font-size: .61rem;
}

.faction-card {
  overflow: hidden;
  align-content: end;
  border-style: solid;
  border-color: rgba(230,183,93,.7);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: inset 0 -70px 50px -22px rgba(1,10,18,.98), 0 10px 24px rgba(0,0,0,.3);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.azure-guard-card {
  background-image:
    linear-gradient(180deg, transparent 52%, rgba(1,11,19,.96) 100%),
    url("assets/azure-guard.png?v=11");
}

.faction-card span {
  position: relative;
  z-index: 1;
  color: #fff0c4;
  text-shadow: 0 2px 8px #000;
}

.faction-card:hover,
.faction-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--gold-bright);
  box-shadow: inset 0 -70px 50px -22px rgba(1,10,18,.98), 0 16px 32px rgba(0,0,0,.42), 0 0 18px rgba(230,183,93,.14);
}

.faction-card:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  .development-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .development-groups {
    grid-template-columns: 1fr;
  }

  .development-group-header {
    grid-template-columns: 62px minmax(0, 1fr);
    justify-items: start;
    text-align: left;
  }

  .development-slots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .development-slots { grid-template-columns: 1fr; }
}

/* Сборка 12: левое выравнивание, появление и четыре карточки в строке */
.utility-row {
  margin-right: auto;
  margin-left: 0;
}

.utility-row .collection-entry {
  opacity: 0;
  animation: card-reveal 680ms cubic-bezier(.2,.72,.2,1) both;
}

.utility-row .collection-entry:nth-child(1) { animation-delay: 430ms; }
.utility-row .collection-entry:nth-child(2) { animation-delay: 560ms; }

.development-groups {
  grid-template-columns: 1fr;
  gap: 20px;
}

.development-group {
  width: 100%;
}

.development-group-header {
  min-height: 96px;
  opacity: 0;
  animation: fade-up 620ms ease both;
}

.development-group:nth-child(1) .development-group-header { animation-delay: 120ms; }
.development-group:nth-child(2) .development-group-header { animation-delay: 220ms; }
.development-group:nth-child(3) .development-group-header { animation-delay: 320ms; }

.development-slots {
  min-height: 0;
  grid-template-columns: repeat(4, minmax(150px, 200px));
  justify-content: start;
  gap: 10px;
}

.development-slot {
  opacity: 0;
  animation: card-reveal 620ms cubic-bezier(.2,.72,.2,1) both;
}

.development-slot:nth-child(1) { animation-delay: 240ms; }
.development-slot:nth-child(2) { animation-delay: 320ms; }
.development-slot:nth-child(3) { animation-delay: 400ms; }
.development-slot:nth-child(4) { animation-delay: 480ms; }

@media (max-width: 920px) {
  .development-slots {
    grid-template-columns: repeat(2, minmax(150px, 200px));
  }
}

@media (max-width: 480px) {
  .development-slots {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .utility-row .collection-entry,
  .development-group-header,
  .development-slot {
    opacity: 1;
    animation: none;
  }
}

/* Сборка 13: появление без блокировки движения карточек */
@keyframes collection-entry-reveal {
  from {
    opacity: 0;
    filter: brightness(.55) blur(5px);
    clip-path: inset(0 100% 0 0);
  }
  to {
    opacity: 1;
    filter: brightness(1) blur(0);
    clip-path: inset(0 0 0 0);
  }
}

.utility-row .collection-entry {
  animation: collection-entry-reveal 720ms cubic-bezier(.2,.72,.2,1) both;
}

.home-support {
  width: min(450px, calc(100% - 36px));
}

.home-support .thanks-copy > p:last-child {
  max-width: none;
  font-size: .64rem;
  line-height: 1;
  white-space: nowrap;
}

@media (max-width: 520px) {
  .home-support .thanks-copy > p:last-child {
    line-height: 1.25;
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .utility-row .collection-entry {
    opacity: 1;
    filter: none;
    clip-path: none;
    animation: none;
  }
}

/* Сборка 14: информационная страница Лазурной Стражи */
.azure-site-shell {
  min-height: 100vh;
}

.azure-page {
  position: relative;
  z-index: 2;
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  padding: calc(var(--header-height) + 24px) 0 64px;
}

.azure-hero {
  position: relative;
  display: grid;
  min-height: 620px;
  overflow: hidden;
  align-items: center;
  grid-template-columns: minmax(0, .9fr) minmax(430px, 1.1fr);
  border-bottom: 1px solid rgba(230,183,93,.34);
  background:
    radial-gradient(circle at 76% 46%, rgba(57,201,194,.12), transparent 34%),
    linear-gradient(90deg, rgba(2,16,29,.92), rgba(2,16,29,.52) 57%, transparent 82%);
}

.azure-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 630px;
  padding: 58px 0 48px 48px;
  animation: fade-up 720ms 100ms ease-out both;
}

.azure-back-link {
  display: inline-flex;
  margin-bottom: 38px;
  color: #aab8c1;
  font: 700 .65rem/1 Arial, Helvetica, sans-serif;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease, transform 180ms ease;
}

.azure-back-link:hover,
.azure-back-link:focus-visible {
  transform: translateX(-4px);
  color: #8ee6df;
}

.azure-kicker {
  margin: 0 0 10px;
  color: #72d8d1;
  font: 700 .68rem/1 Arial, Helvetica, sans-serif;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.azure-hero h1 {
  margin: 0;
  color: #fff0c4;
  font-size: clamp(3.3rem, 5.5vw, 6.2rem);
  font-weight: 600;
  line-height: .88;
  text-shadow: 0 0 28px rgba(67,214,205,.12), 0 5px 24px #000;
}

.azure-lead {
  max-width: 570px;
  margin: 24px 0 0;
  color: #d3dde1;
  font: clamp(.96rem, 1.25vw, 1.12rem)/1.62 Arial, Helvetica, sans-serif;
}

.azure-facts {
  display: grid;
  margin: 32px 0 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.azure-facts div {
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid rgba(99,214,206,.3);
  background: rgba(3,25,38,.72);
  box-shadow: inset 0 0 18px rgba(70,213,203,.035);
}

.azure-facts dt {
  color: #7c919d;
  font: 700 .55rem/1.2 Arial, Helvetica, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.azure-facts dd {
  margin: 7px 0 0;
  color: #ffe8a7;
  font-size: clamp(.94rem, 1.35vw, 1.16rem);
  line-height: 1.1;
}

.azure-hero-art {
  position: absolute;
  z-index: 1;
  top: 6px;
  right: -10px;
  bottom: 0;
  width: 67%;
  pointer-events: none;
  background: url("assets/azure-guard-hero.png?v=14") right bottom / contain no-repeat;
  filter: drop-shadow(0 10px 28px rgba(0,0,0,.38));
  animation: azure-art-enter 900ms 160ms ease-out both;
}

@keyframes azure-art-enter {
  from { transform: translateX(28px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.azure-section {
  margin-top: 32px;
  padding: clamp(26px, 3vw, 40px);
  border: 1px solid rgba(230,183,93,.38);
  background:
    radial-gradient(circle at 16% 0%, rgba(58,202,194,.07), transparent 30%),
    linear-gradient(145deg, rgba(4,22,38,.94), rgba(2,14,26,.9));
  box-shadow: inset 0 0 0 4px rgba(3,16,29,.82), 0 20px 45px rgba(0,0,0,.3);
}

.azure-section-heading h2,
.neigun-heading h2 {
  margin: 0;
  color: #fff0c4;
  font-size: clamp(2rem, 3.5vw, 3.35rem);
  line-height: 1;
}

.requirement-grid {
  display: grid;
  margin-top: 26px;
  grid-template-columns: .85fr 1.15fr;
  gap: 14px;
}

.requirement-card,
.stats-panel,
.buffs-panel {
  position: relative;
  padding: 24px;
  border: 1px solid rgba(118,214,207,.25);
  background: rgba(2,18,31,.7);
}

.requirement-card h3,
.stats-panel > h3,
.buffs-panel > h3 {
  margin: 0 0 17px;
  color: #83ded7;
  font-size: clamp(1.25rem, 1.8vw, 1.62rem);
  line-height: 1.1;
}

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

.requirement-card li {
  position: relative;
  padding-left: 20px;
  color: #ced8dd;
  font: .9rem/1.45 Arial, Helvetica, sans-serif;
}

.requirement-card li::before {
  position: absolute;
  top: .48em;
  left: 2px;
  width: 6px;
  height: 6px;
  transform: rotate(45deg);
  border: 1px solid #d8b768;
  content: "";
}

.combat-requirement-card {
  grid-column: 1 / -1;
  display: flex;
  padding: 18px 24px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.combat-requirement-card h3 { margin: 0; }
.combat-requirement-card p { margin: 0; color: #d5dfe3; font: .96rem/1.4 Arial, Helvetica, sans-serif; }
.combat-requirement-card strong { color: #ffe49d; font-weight: 700; }

.encounter-note {
  display: grid;
  margin-top: 14px;
  padding: 18px 22px;
  align-items: center;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  border: 1px solid rgba(230,183,93,.52);
  background: linear-gradient(90deg, rgba(55,37,11,.58), rgba(5,25,37,.74));
}

.encounter-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(230,183,93,.62);
  border-radius: 50%;
  color: #ffe29a;
}

.encounter-note h3 { margin: 0; color: #ffe8aa; font-size: clamp(1.15rem, 1.8vw, 1.5rem); }
.encounter-note p { margin: 6px 0 0; color: #cbd6db; font: .86rem/1.45 Arial, Helvetica, sans-serif; }

.neigun-heading {
  display: flex;
  align-items: center;
  gap: 18px;
}

.yin-zhen-icon {
  display: block;
  width: 86px;
  height: 86px;
  flex: 0 0 86px;
  border: 1px solid rgba(230,183,93,.68);
  background: #160b29 url("assets/yin-zhen-icon.png?v=14") center / cover no-repeat;
  box-shadow: 0 0 24px rgba(154,73,221,.2);
}

.neigun-layout {
  display: grid;
  margin-top: 26px;
  grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: 14px;
}

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

.stats-grid div {
  display: flex;
  min-width: 0;
  padding: 10px 11px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid rgba(117,214,207,.18);
  background: rgba(7,29,41,.52);
}

.stats-grid dt { color: #aebdc5; font: .72rem/1.2 Arial, Helvetica, sans-serif; }
.stats-grid dd { margin: 0; color: #ffe19a; font: 700 .8rem/1 Arial, Helvetica, sans-serif; }

.buff-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.buff-card {
  position: relative;
  min-height: 170px;
  padding: 21px 20px 18px;
  overflow: hidden;
  border: 1px solid rgba(84,211,202,.24);
  background:
    radial-gradient(circle at 100% 0%, rgba(85,215,205,.1), transparent 38%),
    rgba(3,22,35,.76);
}

.buff-card::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: linear-gradient(#65ded5, #d8b768);
  content: "";
}

.buff-card h4 {
  margin: 0 0 11px;
  color: #79e0d8;
  font-size: clamp(1.08rem, 1.5vw, 1.32rem);
  line-height: 1.15;
  text-shadow: 0 0 13px rgba(73,214,204,.18);
}

.buff-card p {
  margin: 0;
  color: #c8d4d9;
  font: .82rem/1.5 Arial, Helvetica, sans-serif;
}

@media (max-width: 980px) {
  .azure-hero {
    min-height: 720px;
    align-items: start;
    grid-template-columns: 1fr;
  }

  .azure-hero-copy { max-width: 610px; padding-right: 32px; }
  .azure-hero-art { width: 74%; opacity: .58; }
  .neigun-layout { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .azure-page { width: min(100% - 28px, 620px); padding-top: calc(var(--header-height) + 18px); }
  .azure-hero { min-height: 760px; }
  .azure-hero-copy { padding: 34px 20px 28px; }
  .azure-back-link { margin-bottom: 28px; }
  .azure-hero h1 { font-size: clamp(3rem, 15vw, 4.6rem); }
  .azure-facts { grid-template-columns: 1fr; }
  .azure-hero-art { right: -70px; width: 108%; opacity: .5; }
  .requirement-grid { grid-template-columns: 1fr; }
  .combat-requirement-card { grid-column: auto; align-items: flex-start; flex-direction: column; }
  .buff-grid { grid-template-columns: 1fr; }
}

@media (max-width: 460px) {
  .azure-section { padding: 22px 16px; }
  .azure-hero { min-height: 820px; }
  .azure-hero-art { width: 132%; }
  .stats-grid { grid-template-columns: 1fr; }
  .encounter-note { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .azure-hero-copy,
  .azure-hero-art { animation: none; }
}

/* Патч главной страницы: единая линия сеток */
@media (min-width: 1181px) {
  .primary-guide {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
  }

  .utility-row {
    width: calc(60% - 5px);
  }
}

/* Сборка 15: специальные навыки Лазурной Стражи */
.special-skills-heading > p:last-child {
  max-width: 760px;
  margin: 14px 0 0;
  color: #aebdc5;
  font: .88rem/1.5 Arial, Helvetica, sans-serif;
}

.special-skills-grid {
  display: grid;
  margin-top: 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.special-skill-card {
  position: relative;
  min-width: 0;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(101,211,203,.28);
  background:
    radial-gradient(circle at 8% 0%, rgba(83,216,206,.1), transparent 29%),
    linear-gradient(145deg, rgba(4,25,39,.9), rgba(2,16,29,.86));
  box-shadow: inset 0 0 0 4px rgba(3,16,29,.72), 0 14px 32px rgba(0,0,0,.22);
  animation: fade-up 620ms ease both;
}

.special-skill-card:nth-child(1) { animation-delay: 80ms; }
.special-skill-card:nth-child(2) { animation-delay: 150ms; }
.special-skill-card:nth-child(3) { animation-delay: 220ms; }
.special-skill-card:nth-child(4) { animation-delay: 290ms; }
.special-skill-card:nth-child(5) { animation-delay: 360ms; }

.special-skill-card::after {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 25px;
  height: 25px;
  border-right: 1px solid rgba(255,222,154,.55);
  border-bottom: 1px solid rgba(255,222,154,.55);
  content: "";
}

.special-skill-card-heading {
  display: grid;
  align-items: center;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 16px;
}

.special-skill-icon {
  display: block;
  width: 72px;
  height: 72px;
  pointer-events: none;
  border: 1px solid rgba(230,183,93,.65);
  background-color: #071525;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0 0 18px rgba(97,212,204,.13);
}

.skill-emerald-radiance { background-image: url("assets/skill-emerald-radiance.png?v=15"); }
.skill-lotus-chain { background-image: url("assets/skill-lotus-chain.png?v=15"); }
.skill-protective-mountain { background-image: url("assets/skill-protective-mountain.png?v=15"); }
.skill-proud-gaze { background-image: url("assets/skill-proud-gaze.png?v=15"); }
.skill-ultimate-calm { background-image: url("assets/skill-ultimate-calm.png?v=15"); }

.skill-use {
  margin: 0 0 7px;
  color: #77dcd5;
  font: 700 .57rem/1.25 Arial, Helvetica, sans-serif;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.special-skill-card h3 {
  margin: 0;
  color: #ffe7a4;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.05;
  text-shadow: 0 0 14px rgba(230,183,93,.14);
}

.special-skill-card > p,
.skill-wide-copy p {
  margin: 15px 0 0;
  color: #c9d5da;
  font: .84rem/1.55 Arial, Helvetica, sans-serif;
}

.special-skill-card .skill-flavor {
  color: #8fa4ae;
  font-family: Georgia, "Times New Roman", serif;
  font-size: .92rem;
  font-style: italic;
}

.special-skill-card strong {
  color: #82e3db;
  font-weight: 700;
}

.special-skill-card mark {
  padding: 0;
  color: #ffe39a;
  background: transparent;
  font-weight: 700;
}

.special-skill-card .skill-note {
  padding: 12px 14px;
  border-left: 2px solid rgba(230,183,93,.72);
  color: #d5dde1;
  background: rgba(43,31,12,.38);
}

.special-skill-card-wide {
  grid-column: 1 / -1;
}

.skill-wide-copy {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: 22px;
}

@media (max-width: 820px) {
  .special-skills-grid { grid-template-columns: 1fr; }
  .special-skill-card-wide { grid-column: auto; }
  .skill-wide-copy { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 460px) {
  .special-skill-card { padding: 19px 16px; }
  .special-skill-card-heading { grid-template-columns: 62px minmax(0, 1fr); gap: 12px; }
  .special-skill-icon { width: 58px; height: 58px; }
}

@media (prefers-reduced-motion: reduce) {
  .special-skill-card { animation: none; }
}

/* Патч 18: боевые навыки и выделение эффектов Лазурной Стражи */
.azure-page .effect-name {
  padding: .08em .28em;
  border-bottom: 1px solid rgba(113,225,216,.48);
  color: #8ce7df;
  background: rgba(49,177,169,.1);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(91,222,212,.16);
}

.combat-skills-section {
  background:
    radial-gradient(circle at 84% 0%, rgba(47,191,198,.09), transparent 32%),
    linear-gradient(145deg, rgba(4,22,38,.94), rgba(2,14,26,.9));
}

.combat-skills-grid .special-skill-card:nth-child(6) { animation-delay: 430ms; }
.combat-skills-grid .special-skill-card:nth-child(7) { animation-delay: 500ms; }
.combat-skills-grid .special-skill-card:nth-child(8) { animation-delay: 570ms; }

.combat-listen-bamboo { background-image: url("assets/combat-listen-bamboo.png?v=18"); }
.combat-grassy-arrows { background-image: url("assets/combat-grassy-arrows.png?v=18"); }
.combat-unfathomable-cloud { background-image: url("assets/combat-unfathomable-cloud.png?v=18"); }
.combat-green-hills { background-image: url("assets/combat-green-hills.png?v=18"); }
.combat-southern-storm { background-image: url("assets/combat-southern-storm.png?v=18"); }
.combat-jade-toad { background-image: url("assets/combat-jade-toad.png?v=18"); }
.combat-lunar-breath { background-image: url("assets/combat-lunar-breath.png?v=18"); }
.combat-secluded-contemplation { background-image: url("assets/combat-secluded-contemplation.png?v=18"); }

/* Патч 19: реворки комплекта «Крылатый Змей» */
.reworks-section {
  background:
    radial-gradient(circle at 82% 0%, rgba(145,68,218,.13), transparent 35%),
    linear-gradient(145deg, rgba(12,19,42,.96), rgba(5,13,28,.92));
}

.reworks-grid {
  display: grid;
  margin-top: 28px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.rework-card {
  border-color: rgba(175,103,231,.34);
  background:
    radial-gradient(circle at 8% 0%, rgba(167,77,229,.15), transparent 31%),
    linear-gradient(145deg, rgba(15,20,48,.94), rgba(3,15,29,.9));
}

.rework-card::after {
  border-color: rgba(205,148,249,.62);
}

.rework-card .special-skill-icon {
  border-color: rgba(198,130,245,.72);
  box-shadow: 0 0 20px rgba(162,77,222,.24);
}

.rework-card .skill-note {
  border-left-color: rgba(188,112,239,.8);
  background: rgba(77,35,105,.26);
}

.rework-card:nth-child(1) { animation-delay: 90ms; }
.rework-card:nth-child(2) { animation-delay: 170ms; }
.rework-card:nth-child(3) { animation-delay: 250ms; }

.rework-green-hills { background-image: url("assets/rework-green-hills.png?v=19"); }
.rework-jade-toad { background-image: url("assets/rework-jade-toad.png?v=19"); }
.rework-unfathomable-cloud { background-image: url("assets/rework-unfathomable-cloud.png?v=19"); }

.azure-page .set-name {
  padding: .08em .3em;
  border-bottom: 1px solid rgba(206,143,247,.58);
  color: #d7a6f4;
  background: rgba(145,66,198,.14);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  font-weight: 700;
  text-shadow: 0 0 11px rgba(181,96,235,.2);
}

@media (max-width: 1050px) {
  .reworks-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .rework-card { animation: none; }
}

/* Патч 20: отдельный каталог предметов */
.item-directory-page {
  width: min(1320px, calc(100% - 48px));
  align-items: stretch;
}

.item-directory-header {
  position: relative;
  align-self: center;
}

.catalog-back-link {
  display: inline-flex;
  margin-bottom: 20px;
  color: #aab8c1;
  font: 700 .64rem/1 Arial, Helvetica, sans-serif;
  letter-spacing: .11em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease, transform 180ms ease;
}

.catalog-back-link:hover,
.catalog-back-link:focus-visible {
  transform: translateX(-4px);
  color: #ffe19a;
}

.item-type-nav {
  display: grid;
  width: 100%;
  margin-top: 30px;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: 12px;
}

.item-type-link {
  display: grid;
  min-height: 88px;
  padding: 15px 18px;
  align-items: center;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  border: 1px solid rgba(230,183,93,.38);
  color: #ced8dd;
  background:
    radial-gradient(circle at 0 0, rgba(230,183,93,.11), transparent 43%),
    rgba(3,19,32,.82);
  text-decoration: none;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.item-type-link:hover,
.item-type-link:focus-visible,
.item-type-current {
  transform: translateY(-2px);
  border-color: rgba(255,220,139,.72);
  box-shadow: 0 10px 28px rgba(0,0,0,.26), inset 0 0 24px rgba(230,183,93,.055);
}

.item-type-number {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(230,183,93,.58);
  color: #f1ca72;
  font: 700 .7rem/1 Arial, Helvetica, sans-serif;
  letter-spacing: .08em;
}

.item-type-link strong {
  display: block;
  color: #ffe8aa;
  font: 600 1.25rem/1.1 Georgia, "Times New Roman", serif;
}

.item-type-link small {
  display: block;
  margin-top: 6px;
  color: #92a4ae;
  font: .68rem/1.35 Arial, Helvetica, sans-serif;
}

.item-type-section {
  width: 100%;
  margin-top: 18px;
  padding: clamp(20px, 2.5vw, 30px);
  scroll-margin-top: calc(var(--header-height) + 18px);
  border: 1px solid rgba(230,183,93,.38);
  background:
    radial-gradient(circle at 10% 0%, rgba(63,204,194,.07), transparent 30%),
    linear-gradient(145deg, rgba(4,22,38,.94), rgba(2,14,26,.9));
  box-shadow: inset 0 0 0 4px rgba(3,16,29,.76), 0 18px 38px rgba(0,0,0,.25);
}

.item-type-heading {
  display: grid;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(230,183,93,.26);
  grid-template-columns: minmax(220px, .55fr) minmax(0, 1fr);
  align-items: end;
  gap: 8px 28px;
}

.item-type-heading .card-kicker { grid-column: 1; }

.item-type-heading h2 {
  grid-column: 1;
  margin: 0;
  color: #fff0c4;
  font-size: clamp(1.75rem, 2.6vw, 2.6rem);
  line-height: 1;
}

.item-type-heading p {
  grid-row: 1 / span 2;
  grid-column: 2;
  margin: 0;
  color: #aebdc5;
  font: .82rem/1.5 Arial, Helvetica, sans-serif;
}

.catalog-items-grid {
  display: grid;
  margin-top: 20px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.catalog-item-card {
  position: relative;
  min-width: 0;
  min-height: 360px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid rgba(99,210,202,.28);
  background:
    radial-gradient(circle at 0 0, rgba(72,212,203,.09), transparent 33%),
    rgba(3,20,34,.84);
  box-shadow: inset 0 0 0 3px rgba(2,14,26,.72);
  animation: fade-up 620ms 80ms ease both;
}

.catalog-item-card::after {
  position: absolute;
  right: 9px;
  bottom: 9px;
  width: 24px;
  height: 24px;
  border-right: 1px solid rgba(255,222,154,.58);
  border-bottom: 1px solid rgba(255,222,154,.58);
  content: "";
}

.catalog-item-heading {
  display: grid;
  align-items: center;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 15px;
}

.catalog-item-icon {
  display: block;
  width: 82px;
  height: 82px;
  pointer-events: none;
  border: 1px solid rgba(230,183,93,.66);
  background-color: #061322;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0 0 20px rgba(230,183,93,.14);
}

.vip-card-icon { background-image: url("assets/vip-card.png?v=20"); }

.catalog-item-heading h3 {
  margin: 5px 0 0;
  color: #ffe5a0;
  font-size: clamp(1.3rem, 1.7vw, 1.65rem);
  line-height: 1.05;
}

.catalog-item-description {
  margin: 18px 0 0;
  color: #cbd6db;
  font: .8rem/1.52 Arial, Helvetica, sans-serif;
}

.catalog-item-card mark {
  padding: 0;
  color: #ffe09a;
  background: transparent;
  font-weight: 700;
}

.catalog-item-important {
  margin-top: 16px;
  padding: 12px 13px;
  border-left: 2px solid rgba(230,183,93,.78);
  background: rgba(56,38,12,.42);
}

.catalog-item-important > strong {
  color: #f2ca71;
  font: 700 .61rem/1 Arial, Helvetica, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.catalog-item-important p {
  margin: 7px 0 0;
  color: #d0d9dd;
  font: .76rem/1.45 Arial, Helvetica, sans-serif;
}

.catalog-highlight { color: #8ce3dc; font-weight: 700; }

.catalog-item-code {
  display: flex;
  margin-top: 16px;
  padding-top: 12px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid rgba(99,210,202,.17);
}

.catalog-item-code span {
  color: #81939d;
  font: 700 .56rem/1 Arial, Helvetica, sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.catalog-item-code code {
  color: #9de7e1;
  font: 700 .67rem/1.2 Consolas, "Courier New", monospace;
}

@media (max-width: 1120px) {
  .catalog-items-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .catalog-items-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .item-type-heading { grid-template-columns: 1fr; }
  .item-type-heading .card-kicker,
  .item-type-heading h2,
  .item-type-heading p { grid-row: auto; grid-column: 1; }
}

@media (max-width: 560px) {
  .item-directory-page { width: calc(100% - 28px); }
  .item-type-nav { grid-template-columns: 1fr; }
  .catalog-items-grid { grid-template-columns: 1fr; }
  .catalog-item-card { min-height: 0; padding: 18px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .catalog-item-card { animation: none; }
}

/* Патч 21: страница партнёрства и связи */
.partnership-site-shell { min-height: 100svh; }

.partnership-page-content {
  width: min(1240px, calc(100% - 48px));
  padding-top: calc(var(--header-height) + clamp(32px, 4.5vh, 52px));
  padding-bottom: 64px;
  align-items: stretch;
}

.partnership-page-header {
  width: min(900px, 100%);
  margin: 0 auto 28px;
  text-align: center;
  animation: fade-up 620ms ease both;
}

.partnership-page-header h1 {
  margin: 8px 0 0;
  color: #fff0c4;
  font-size: clamp(2.7rem, 5vw, 5rem);
  font-weight: 600;
  line-height: .95;
  text-shadow: 0 5px 26px #000, 0 0 22px rgba(230,183,93,.1);
}

.partnership-page-header > p:last-child {
  max-width: 760px;
  margin: 17px auto 0;
  color: #aebdc5;
  font: .9rem/1.55 Arial, Helvetica, sans-serif;
}

.admin-profile {
  position: relative;
  display: grid;
  min-height: 540px;
  overflow: hidden;
  grid-template-columns: minmax(390px, .9fr) minmax(0, 1.1fr);
  border: 1px solid rgba(230,183,93,.42);
  background:
    radial-gradient(circle at 78% 14%, rgba(60,204,193,.11), transparent 36%),
    linear-gradient(135deg, rgba(4,23,38,.95), rgba(2,14,26,.92));
  box-shadow: inset 0 0 0 4px rgba(3,15,27,.72), 0 24px 54px rgba(0,0,0,.32);
}

.admin-profile-art {
  display: block;
  min-height: 540px;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 76%, rgba(3,17,29,.9)),
    url("assets/admin-soyeon.webp?v=21") center 24% / cover no-repeat;
  filter: saturate(.96) contrast(1.02);
  animation: admin-art-enter 820ms 100ms ease-out both;
}

@keyframes admin-art-enter {
  from { transform: scale(1.035); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.admin-profile-copy {
  display: flex;
  padding: clamp(32px, 4.5vw, 62px);
  justify-content: center;
  flex-direction: column;
  animation: fade-up 680ms 120ms ease both;
}

.admin-role {
  margin: 0;
  color: #72d8d1;
  font: 700 .67rem/1 Arial, Helvetica, sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.admin-role span { color: #f0c66d; }

.admin-profile-copy h2 {
  margin: 12px 0 0;
  color: #ffe9ad;
  font-size: clamp(2.6rem, 4.5vw, 4.7rem);
  font-weight: 600;
  line-height: .9;
}

.admin-nicknames {
  display: grid;
  margin: 30px 0 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.admin-nicknames div {
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid rgba(105,213,205,.28);
  background: rgba(4,27,40,.66);
}

.admin-nicknames dt {
  color: #81949e;
  font: 700 .55rem/1.2 Arial, Helvetica, sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.admin-nicknames dd {
  margin: 7px 0 0;
  color: #ffe4a0;
  font: 600 clamp(1.05rem, 1.6vw, 1.35rem)/1.1 Georgia, "Times New Roman", serif;
}

.admin-description {
  display: grid;
  margin-top: 24px;
  gap: 12px;
}

.admin-description p {
  margin: 0;
  color: #cad5da;
  font: .88rem/1.62 Arial, Helvetica, sans-serif;
}

.admin-description p:first-child {
  color: #8fded8;
  font-weight: 700;
}

.contact-hub {
  margin-top: 24px;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid rgba(230,183,93,.38);
  background:
    radial-gradient(circle at 12% 0%, rgba(230,183,93,.07), transparent 31%),
    linear-gradient(145deg, rgba(4,22,38,.94), rgba(2,14,26,.9));
  box-shadow: inset 0 0 0 4px rgba(3,16,29,.78), 0 20px 44px rgba(0,0,0,.28);
}

.contact-hub-heading {
  display: grid;
  grid-template-columns: minmax(270px, .75fr) minmax(0, 1fr);
  align-items: end;
  gap: 8px 28px;
}

.contact-hub-heading .card-kicker,
.contact-hub-heading h2 { grid-column: 1; }

.contact-hub-heading h2 {
  margin: 0;
  color: #fff0c4;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1;
}

.contact-hub-heading p {
  grid-row: 1 / span 2;
  grid-column: 2;
  margin: 0;
  color: #aebdc5;
  font: .82rem/1.5 Arial, Helvetica, sans-serif;
}

.contact-link-grid {
  display: grid;
  margin-top: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contact-link-card {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 108px;
  padding: 17px 18px;
  align-items: center;
  grid-template-columns: 52px minmax(0, 1fr) 30px;
  gap: 15px;
  border: 1px solid rgba(100,211,203,.27);
  color: inherit;
  background: rgba(3,22,35,.75);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.contact-link-grid > :last-child { grid-column: 1 / -1; }

a.contact-link-card:hover,
a.contact-link-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(230,183,93,.67);
  box-shadow: 0 13px 28px rgba(0,0,0,.25), inset 0 0 24px rgba(230,183,93,.04);
}

.contact-link-symbol {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(230,183,93,.58);
  color: #ffe09a;
  font: 700 .72rem/1 Arial, Helvetica, sans-serif;
  letter-spacing: .04em;
  box-shadow: inset 0 0 16px rgba(230,183,93,.05);
}

.contact-discord .contact-link-symbol {
  border-color: rgba(125,141,244,.65);
  color: #b6c0ff;
  background: rgba(65,75,155,.16);
}

.contact-link-copy { min-width: 0; }

.contact-link-copy small,
.contact-link-copy strong,
.contact-link-copy > span {
  display: block;
}

.contact-link-copy small {
  color: #778b96;
  font: 700 .54rem/1 Arial, Helvetica, sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.contact-link-copy strong {
  margin-top: 6px;
  color: #ffe7a6;
  font: 600 1.25rem/1.08 Georgia, "Times New Roman", serif;
}

.contact-link-copy > span {
  margin-top: 6px;
  color: #9bacb5;
  font: .69rem/1.35 Arial, Helvetica, sans-serif;
}

.contact-link-arrow {
  color: #d9b966;
  font: 1.35rem/1 Georgia, "Times New Roman", serif;
  transition: transform 180ms ease;
}

a.contact-link-card:hover .contact-link-arrow,
a.contact-link-card:focus-visible .contact-link-arrow { transform: translate(3px, -3px); }

.contact-handle-card {
  grid-template-columns: 52px minmax(0, 1fr);
  border-style: dashed;
}

@media (max-width: 920px) {
  .admin-profile { grid-template-columns: 1fr; }
  .admin-profile-art {
    min-height: min(82vw, 650px);
    background:
      linear-gradient(0deg, rgba(3,17,29,.96), transparent 26%),
      url("assets/admin-soyeon.webp?v=21") center 20% / cover no-repeat;
  }
}

@media (max-width: 720px) {
  .partnership-page-content { width: calc(100% - 28px); }
  .contact-hub-heading { grid-template-columns: 1fr; }
  .contact-hub-heading .card-kicker,
  .contact-hub-heading h2,
  .contact-hub-heading p { grid-row: auto; grid-column: 1; }
  .contact-link-grid { grid-template-columns: 1fr; }
  .contact-link-grid > :last-child { grid-column: auto; }
}

@media (max-width: 480px) {
  .admin-profile-copy { padding: 27px 19px; }
  .admin-nicknames { grid-template-columns: 1fr; }
  .contact-hub { padding: 22px 15px; }
  .contact-link-card { padding: 15px 13px; grid-template-columns: 44px minmax(0, 1fr) 22px; gap: 11px; }
  .contact-handle-card { grid-template-columns: 44px minmax(0, 1fr); }
  .contact-link-symbol { width: 42px; height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  .admin-profile-art,
  .admin-profile-copy,
  .partnership-page-header { animation: none; }
}

/* Патч 22: профиль партнёра и русификатор */
.partner-section {
  margin-top: 24px;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid rgba(230,183,93,.4);
  background:
    radial-gradient(circle at 86% 4%, rgba(83,139,201,.1), transparent 34%),
    linear-gradient(145deg, rgba(5,22,38,.95), rgba(2,14,26,.91));
  box-shadow: inset 0 0 0 4px rgba(3,16,29,.78), 0 20px 44px rgba(0,0,0,.28);
}

.partner-section-heading {
  display: grid;
  grid-template-columns: minmax(230px, .55fr) minmax(0, 1fr);
  align-items: end;
  gap: 8px 28px;
}

.partner-section-heading .card-kicker,
.partner-section-heading h2 { grid-column: 1; }

.partner-section-heading h2 {
  margin: 0;
  color: #fff0c4;
  font-size: clamp(2rem, 3.4vw, 3.35rem);
  line-height: 1;
}

.partner-section-heading > p {
  grid-row: 1 / span 2;
  grid-column: 2;
  margin: 0;
  color: #aebdc5;
  font: .83rem/1.52 Arial, Helvetica, sans-serif;
}

.partner-profile {
  display: grid;
  min-height: 510px;
  margin-top: 24px;
  overflow: hidden;
  grid-template-columns: minmax(0, 1.12fr) minmax(370px, .88fr);
  border: 1px solid rgba(112,171,221,.31);
  background:
    radial-gradient(circle at 12% 0%, rgba(71,150,203,.1), transparent 34%),
    rgba(3,20,34,.8);
}

.partner-profile-copy {
  display: flex;
  padding: clamp(28px, 4vw, 50px);
  justify-content: center;
  flex-direction: column;
  animation: fade-up 660ms 80ms ease both;
}

.partner-role {
  margin: 0;
  color: #88c8e7;
  font: 700 .63rem/1.25 Arial, Helvetica, sans-serif;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.partner-role span { color: #e8c36d; }

.partner-profile-copy h3 {
  margin: 12px 0 0;
  color: #ffe8aa;
  font-size: clamp(2.3rem, 4vw, 4.2rem);
  font-weight: 600;
  line-height: .95;
  text-shadow: 0 5px 24px #000;
}

.partner-description {
  margin: 22px 0 0;
  color: #cbd6db;
  font: .87rem/1.62 Arial, Helvetica, sans-serif;
}

.partner-description strong { color: #8dd6ed; }

.partner-facts {
  display: grid;
  margin: 24px 0 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.partner-facts div {
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid rgba(112,180,218,.26);
  background: rgba(4,28,42,.62);
}

.partner-facts dt {
  color: #7f949f;
  font: 700 .53rem/1.2 Arial, Helvetica, sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.partner-facts dd {
  margin: 7px 0 0;
  color: #e3edf1;
  font: 700 .78rem/1.35 Arial, Helvetica, sans-serif;
}

.partner-facts mark {
  padding: 0;
  color: #ffe09a;
  background: transparent;
}

.partner-warning {
  margin-top: 18px;
  padding: 13px 15px;
  border-left: 2px solid rgba(230,183,93,.78);
  background: rgba(57,38,11,.42);
}

.partner-warning > strong {
  color: #f0c86f;
  font: 700 .59rem/1 Arial, Helvetica, sans-serif;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.partner-warning p {
  margin: 7px 0 0;
  color: #ccd6da;
  font: .76rem/1.48 Arial, Helvetica, sans-serif;
}

.partner-profile-art {
  display: block;
  min-height: 510px;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(3,18,31,.88), transparent 24%),
    url("assets/partner-unholy-daddy.webp?v=22") center 18% / cover no-repeat;
  animation: partner-art-enter 820ms 120ms ease-out both;
}

@keyframes partner-art-enter {
  from { transform: translateX(20px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.partner-links {
  display: grid;
  margin-top: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.partner-links .contact-link-card {
  min-height: 116px;
}

.translator-link .contact-link-symbol {
  border-color: rgba(102,184,221,.66);
  color: #a6def5;
  background: rgba(43,111,151,.16);
}

.partner-link-pending {
  grid-template-columns: 52px minmax(0, 1fr);
  border-style: dashed;
  opacity: .76;
}

.translator-guide {
  margin-top: 14px;
  padding: clamp(20px, 2.5vw, 30px);
  border: 1px solid rgba(112,180,218,.28);
  background: rgba(3,20,34,.72);
}

.translator-guide header {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(112,180,218,.2);
}

.translator-guide h3 {
  margin: 6px 0 0;
  color: #ffe8aa;
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
  line-height: 1.05;
}

.translator-guide ol {
  display: grid;
  margin: 20px 0 0;
  padding: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
}

.translator-guide li {
  display: grid;
  min-width: 0;
  padding: 15px;
  align-items: start;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 11px;
  border: 1px solid rgba(112,180,218,.22);
  background: rgba(5,29,43,.58);
}

.translator-guide li > span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(230,183,93,.58);
  color: #f0ca73;
  font: 700 .65rem/1 Arial, Helvetica, sans-serif;
}

.translator-guide li p {
  margin: 1px 0 0;
  color: #cbd6db;
  font: .76rem/1.48 Arial, Helvetica, sans-serif;
}

.translator-guide code {
  color: #96dce7;
  font: 700 .76rem/1 Consolas, "Courier New", monospace;
}

.translator-guide li strong { color: #ffe09a; }

.translator-guide-note {
  margin: 12px 0 0;
  padding: 12px 14px;
  border-left: 2px solid rgba(224,157,71,.8);
  color: #cfd8dc;
  background: rgba(65,40,12,.4);
  font: .76rem/1.45 Arial, Helvetica, sans-serif;
}

.translator-guide-note strong { color: #f2ca71; }

@media (max-width: 1040px) {
  .partner-profile { grid-template-columns: 1fr; }
  .partner-profile-art {
    min-height: min(78vw, 650px);
    order: -1;
    background:
      linear-gradient(0deg, rgba(3,18,31,.94), transparent 26%),
      url("assets/partner-unholy-daddy.webp?v=22") center 16% / cover no-repeat;
  }
  .partner-links { grid-template-columns: 1fr; }
  .partner-link-pending { grid-template-columns: 52px minmax(0, 1fr); }
}

@media (max-width: 760px) {
  .partner-section-heading { grid-template-columns: 1fr; }
  .partner-section-heading .card-kicker,
  .partner-section-heading h2,
  .partner-section-heading > p { grid-row: auto; grid-column: 1; }
  .translator-guide ol { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .partner-section { padding: 22px 14px; }
  .partner-profile-copy { padding: 26px 18px; }
  .partner-facts { grid-template-columns: 1fr; }
  .translator-guide { padding: 20px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .partner-profile-copy,
  .partner-profile-art { animation: none; }
}

/* Патч 23: второй партнёр и активный личный кабинет */
.private-account-link .contact-link-symbol {
  border-color: rgba(100,210,201,.65);
  color: #99e4de;
  background: rgba(42,126,121,.14);
}

.partner-divider {
  display: grid;
  margin: 34px 0;
  align-items: center;
  grid-template-columns: 1fr 26px 1fr;
  gap: 12px;
}

.partner-divider span {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(230,183,93,.4));
}

.partner-divider span:last-child {
  background: linear-gradient(90deg, rgba(230,183,93,.4), transparent);
}

.partner-divider b {
  color: #e5bd64;
  font: 400 .8rem/1 Georgia, "Times New Roman", serif;
  text-align: center;
}

.secondary-partner-heading {
  display: grid;
  margin-bottom: 18px;
  grid-template-columns: minmax(280px, .7fr) minmax(0, 1fr);
  align-items: end;
  gap: 8px 28px;
}

.secondary-partner-heading .card-kicker,
.secondary-partner-heading h3 { grid-column: 1; }

.secondary-partner-heading h3 {
  margin: 0;
  color: #fff0c4;
  font-size: clamp(1.9rem, 3vw, 2.85rem);
  line-height: 1;
}

.secondary-partner-heading > p {
  grid-row: 1 / span 2;
  grid-column: 2;
  margin: 0;
  color: #aebdc5;
  font: .82rem/1.5 Arial, Helvetica, sans-serif;
}

.partner-profile-secondary {
  margin-top: 0;
  grid-template-columns: minmax(370px, .88fr) minmax(0, 1.12fr);
  border-color: rgba(206,102,76,.34);
  background:
    radial-gradient(circle at 88% 0%, rgba(180,67,42,.11), transparent 34%),
    rgba(3,20,34,.82);
}

.taiwan-seller-art {
  background:
    linear-gradient(90deg, transparent 76%, rgba(3,18,31,.9)),
    url("assets/partner-taiwan-seller.webp?v=23") center 20% / cover no-repeat;
}

.partner-profile-secondary .partner-role { color: #e6aa7f; }

.seller-price-grid {
  display: grid;
  margin-top: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.seller-price-grid article {
  min-width: 0;
  padding: 14px 15px;
  border: 1px solid rgba(209,115,81,.28);
  background: rgba(47,22,20,.42);
}

.seller-price-grid small,
.seller-price-grid strong,
.seller-price-grid span { display: block; }

.seller-price-grid small {
  color: #998b88;
  font: 700 .53rem/1.2 Arial, Helvetica, sans-serif;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.seller-price-grid strong {
  margin-top: 8px;
  color: #ffe09a;
  font: 700 1.12rem/1 Arial, Helvetica, sans-serif;
}

.seller-price-grid span {
  margin-top: 6px;
  color: #c0c9ce;
  font: .69rem/1.25 Arial, Helvetica, sans-serif;
}

.seller-rate-warning {
  border-left-color: rgba(205,91,62,.82);
  background: rgba(75,27,21,.38);
}

.seller-contact-row {
  margin-top: 12px;
}

.seller-contact-row .contact-link-card {
  width: 100%;
}

@media (max-width: 1040px) {
  .partner-profile-secondary { grid-template-columns: 1fr; }
  .taiwan-seller-art {
    min-height: min(78vw, 650px);
    order: -1;
    background:
      linear-gradient(0deg, rgba(3,18,31,.94), transparent 26%),
      url("assets/partner-taiwan-seller.webp?v=23") center 18% / cover no-repeat;
  }
}

@media (max-width: 760px) {
  .secondary-partner-heading { grid-template-columns: 1fr; }
  .secondary-partner-heading .card-kicker,
  .secondary-partner-heading h3,
  .secondary-partner-heading > p { grid-row: auto; grid-column: 1; }
}

@media (max-width: 560px) {
  .seller-price-grid { grid-template-columns: 1fr; }
}

/* Патч 24: переводчик Пиратки и русификатор администратора */
.contact-link-grid > :last-child { grid-column: auto; }

.admin-translator-link {
  border-color: rgba(106,184,216,.32);
  background:
    radial-gradient(circle at 0 0, rgba(74,162,201,.1), transparent 40%),
    rgba(3,22,35,.75);
}

.admin-translator-link .contact-link-symbol {
  border-color: rgba(105,188,223,.7);
  color: #a8e0f5;
  background: rgba(44,119,152,.17);
}

.pirate-translator-profile {
  margin-top: 0;
  border-color: rgba(185,127,76,.36);
  background:
    radial-gradient(circle at 10% 0%, rgba(132,75,39,.11), transparent 34%),
    rgba(3,19,32,.84);
}

.pirate-translator-profile .partner-role { color: #d6ad78; }

.pirate-translator-art {
  background:
    linear-gradient(90deg, rgba(3,18,31,.88), transparent 25%),
    url("assets/partner-iboda.webp?v=24") center 18% / cover no-repeat;
}

.translator-facts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.translator-inside-note {
  border-left-color: rgba(109,184,214,.78);
  background: rgba(28,65,79,.32);
}

.translator-download-row .contact-link-card {
  border-color: rgba(105,188,223,.34);
}

@media (max-width: 1040px) {
  .pirate-translator-profile { grid-template-columns: 1fr; }
  .pirate-translator-art {
    min-height: min(78vw, 650px);
    order: -1;
    background:
      linear-gradient(0deg, rgba(3,18,31,.94), transparent 26%),
      url("assets/partner-iboda.webp?v=24") center 17% / cover no-repeat;
  }
}

@media (max-width: 560px) {
  .translator-facts { grid-template-columns: 1fr; }
}

/* Патч 25: полезные таблицы персонажа */
.character-option-grid {
  width: min(1020px, 100%);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.useful-tables-icon {
  position: relative;
  width: 142px;
  height: 142px;
  flex-basis: 142px;
  overflow: hidden;
  border: 1px solid rgba(230,183,93,.62);
  background:
    radial-gradient(circle at 50% 50%, rgba(98,217,208,.18), transparent 54%),
    rgba(3,22,35,.78);
  box-shadow: inset 0 0 25px rgba(89,211,202,.07), 0 0 22px rgba(230,183,93,.09);
}

.useful-tables-icon::before {
  position: absolute;
  inset: 25px;
  border: 2px solid #d9b866;
  background:
    linear-gradient(90deg, transparent 32%, rgba(128,225,218,.75) 32%, rgba(128,225,218,.75) 34%, transparent 34%, transparent 66%, rgba(128,225,218,.75) 66%, rgba(128,225,218,.75) 68%, transparent 68%),
    linear-gradient(transparent 32%, rgba(128,225,218,.75) 32%, rgba(128,225,218,.75) 34%, transparent 34%, transparent 66%, rgba(128,225,218,.75) 66%, rgba(128,225,218,.75) 68%, transparent 68%);
  box-shadow: 0 0 18px rgba(92,215,206,.14);
  content: "";
}

.useful-tables-icon::after {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 24px;
  height: 24px;
  border-top: 1px solid rgba(255,225,158,.72);
  border-right: 1px solid rgba(255,225,158,.72);
  content: "";
}

.tables-page-content {
  width: min(1200px, calc(100% - 48px));
  padding-top: calc(var(--header-height) + clamp(32px, 4.5vh, 52px));
  padding-bottom: 64px;
  align-items: stretch;
}

.tables-page-header {
  width: min(900px, 100%);
  margin: 0 auto;
  text-align: center;
  animation: fade-up 620ms ease both;
}

.tables-page-header h1 {
  margin: 8px 0 0;
  color: #fff0c4;
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 600;
  line-height: .95;
  text-shadow: 0 5px 26px #000, 0 0 22px rgba(230,183,93,.1);
}

.tables-page-header > p:last-child {
  max-width: 720px;
  margin: 17px auto 0;
  color: #aebdc5;
  font: .9rem/1.55 Arial, Helvetica, sans-serif;
}

.table-contents {
  display: grid;
  margin-top: 30px;
  padding: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
  border: 1px solid rgba(230,183,93,.36);
  background: rgba(3,19,32,.78);
  box-shadow: inset 0 0 28px rgba(230,183,93,.035);
}

.table-contents-label {
  grid-column: 1 / -1;
  color: #80929c;
  font: 700 .57rem/1 Arial, Helvetica, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.table-contents-link {
  display: grid;
  min-height: 70px;
  padding: 12px 15px;
  cursor: pointer;
  align-items: center;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  border: 1px solid rgba(102,211,203,.25);
  color: #cbd5da;
  background: rgba(4,27,40,.68);
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.table-contents-link:hover,
.table-contents-link:focus-visible,
.table-contents-link.is-active {
  transform: translateY(-2px);
  border-color: rgba(230,183,93,.68);
  box-shadow: 0 9px 22px rgba(0,0,0,.24), inset 0 0 20px rgba(230,183,93,.04);
}

.table-contents-link > span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(230,183,93,.55);
  color: #edc873;
  font: 700 .64rem/1 Arial, Helvetica, sans-serif;
}

.table-contents-link strong {
  color: #ffe6a4;
  font: 600 1.12rem/1.15 Georgia, "Times New Roman", serif;
}

.table-carousel {
  margin-top: 16px;
  scroll-margin-top: calc(var(--header-height) + 16px);
  border: 1px solid rgba(230,183,93,.4);
  background:
    radial-gradient(circle at 12% 0%, rgba(70,208,199,.07), transparent 30%),
    linear-gradient(145deg, rgba(4,22,38,.95), rgba(2,14,26,.92));
  box-shadow: inset 0 0 0 4px rgba(3,16,29,.78), 0 22px 48px rgba(0,0,0,.3);
}

.table-carousel-toolbar {
  display: grid;
  min-height: 108px;
  padding: 17px 22px;
  align-items: center;
  grid-template-columns: 56px minmax(0, 1fr) 56px;
  gap: 18px;
  border-bottom: 1px solid rgba(230,183,93,.3);
}

.table-arrow {
  display: grid;
  width: 54px;
  height: 54px;
  cursor: pointer;
  place-items: center;
  border: 1px solid rgba(230,183,93,.64);
  border-radius: 50%;
  color: #f0ca73;
  background: rgba(5,26,39,.78);
  font: 1.35rem/1 Georgia, "Times New Roman", serif;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.table-arrow:not(:disabled):hover,
.table-arrow:not(:disabled):focus-visible {
  transform: scale(1.07);
  border-color: #ffe09a;
  box-shadow: 0 0 18px rgba(230,183,93,.2);
}

.table-arrow:disabled {
  cursor: default;
  opacity: .32;
}

.table-carousel-title { text-align: center; }

.table-carousel-title span {
  color: #72d8d1;
  font: 700 .58rem/1 Arial, Helvetica, sans-serif;
  letter-spacing: .14em;
}

.table-carousel-title h2 {
  margin: 8px 0 0;
  color: #ffe9aa;
  font-size: clamp(1.45rem, 2.6vw, 2.4rem);
  line-height: 1;
}

.table-slide {
  padding: clamp(16px, 2.5vw, 28px);
  animation: table-slide-enter 420ms ease both;
}

.table-slide[hidden] { display: none; }

@keyframes table-slide-enter {
  from { transform: translateX(14px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.table-scroll {
  overflow-x: auto;
  border: 1px solid rgba(101,211,203,.25);
  scrollbar-color: rgba(230,183,93,.55) rgba(2,14,26,.72);
}

.rank-table {
  width: 100%;
  min-width: 720px;
  border-spacing: 0;
  border-collapse: separate;
  color: #cbd6db;
  background: rgba(2,17,29,.72);
  font: .8rem/1.35 Arial, Helvetica, sans-serif;
}

.rank-table th {
  position: sticky;
  z-index: 1;
  top: 0;
  padding: 15px 18px;
  border-bottom: 1px solid rgba(230,183,93,.55);
  color: #ffe3a0;
  background: #071c2b;
  font: 700 .66rem/1.2 Arial, Helvetica, sans-serif;
  letter-spacing: .11em;
  text-align: center;
  text-transform: uppercase;
}

.rank-table th + th,
.rank-table td + td { border-left: 1px solid rgba(99,210,202,.15); }

.rank-table td {
  padding: 12px 18px;
  border-bottom: 1px solid rgba(99,210,202,.13);
  text-align: center;
}

.rank-table tbody tr:nth-child(even) td { background: rgba(61,166,158,.035); }
.rank-table tbody tr:hover td { color: #fff0c4; background: rgba(230,183,93,.07); }
.rank-table td:first-child { color: #e8d49c; font-weight: 700; }
.rank-table td:last-child { color: #8fe0d9; font-size: .93rem; }
.rank-table tbody tr:last-child td { border-bottom: 0; }

@media (max-width: 760px) {
  .character-option-grid { grid-template-columns: 1fr; }
  .tables-page-content { width: calc(100% - 28px); }
  .table-carousel-toolbar { padding: 15px 13px; grid-template-columns: 46px minmax(0, 1fr) 46px; gap: 10px; }
  .table-arrow { width: 44px; height: 44px; }
  .table-slide { padding: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .tables-page-header,
  .table-slide { animation: none; }
}

/* Патч 26: мировые сокровища, секты и мировые нейгуны */
.table-header-icon {
  display: block;
  width: 58px;
  height: 58px;
  margin: 0 auto 8px;
  pointer-events: none;
  border: 1px solid rgba(230,183,93,.62);
  background-color: #081523;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0 0 16px rgba(230,183,93,.12);
}

.world-treasure-icon-1 { background-image: url("assets/world-treasure-1.png?v=26"); }
.world-treasure-icon-2 { background-image: url("assets/world-treasure-2.png?v=26"); }

.treasure-table th small {
  display: block;
  color: #d9bf7b;
  font: 700 .56rem/1 Arial, Helvetica, sans-serif;
  letter-spacing: .08em;
}

.treasure-table td:nth-child(2),
.treasure-table td:nth-child(3) {
  color: #9de0da;
  font-weight: 700;
}

.sects-factions-table {
  min-width: 1080px;
  font-size: .74rem;
}

.sects-factions-table th:first-child,
.sects-factions-table td:first-child { min-width: 210px; }

.sects-factions-table th:nth-child(5),
.sects-factions-table td:nth-child(5) { min-width: 150px; }

.sects-factions-table td:not(:first-child) {
  color: #a7ddd8;
  font-weight: 700;
}

.sects-factions-table tbody tr:last-child td:first-child,
.sects-factions-table tbody tr:last-child td:nth-child(2) {
  color: #f0c873;
}

.world-neigun-banner {
  display: flex;
  margin: 0 0 16px;
  padding: 14px;
  justify-content: center;
  border: 1px solid rgba(101,211,203,.24);
  background:
    radial-gradient(ellipse at center, rgba(83,104,214,.12), transparent 68%),
    rgba(3,19,32,.72);
}

.world-neigun-icons {
  display: grid;
  width: auto;
  max-width: 100%;
  grid-template-columns: repeat(4, 82px);
  gap: 9px;
  pointer-events: none;
}

.world-neigun-icon {
  display: block;
  width: 82px;
  height: 82px;
  border: 1px solid rgba(230,183,93,.58);
  background-color: #071525;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0 0 16px rgba(96,99,221,.16);
}

.world-neigun-icon-1 { background-image: url("assets/world-neigun-1.png?v=27"); }
.world-neigun-icon-2 { background-image: url("assets/world-neigun-2.png?v=27"); }
.world-neigun-icon-3 { background-image: url("assets/world-neigun-3.png?v=27"); }
.world-neigun-icon-4 { background-image: url("assets/world-neigun-4.png?v=27"); }

.world-neigun-table {
  width: min(780px, 100%);
  min-width: 620px;
  margin: 0 auto;
}

.world-neigun-table th,
.world-neigun-table td { width: 50%; }

.world-neigun-table td:last-child {
  color: #9de0da;
  font-weight: 700;
}

@media (max-width: 600px) {
  .table-header-icon { width: 50px; height: 50px; }
  .world-neigun-banner { padding: 8px; }
  .world-neigun-icons { grid-template-columns: repeat(4, 58px); gap: 6px; }
  .world-neigun-icon { width: 58px; height: 58px; }
}

/* Патч 28: фонари, вступление в секты, обмен и школьные нейгуны */
.lantern-table-scroll {
  max-height: min(72vh, 880px);
  overflow: auto;
  overscroll-behavior: contain;
}

.lantern-table {
  min-width: 900px;
  font-size: .82rem;
}

.lantern-table th:first-child,
.lantern-table td:first-child { width: 68px; }

.lantern-table th:nth-child(2),
.lantern-table td:nth-child(2) {
  width: 245px;
  color: #ead69c;
  font-weight: 700;
}

.lantern-table td {
  padding: 9px 13px;
  line-height: 1.45;
}

.lantern-table td:last-child {
  color: #a4e1dc;
  text-align: left;
}

.sect-entry-table {
  min-width: 980px;
  font-size: .82rem;
}

.sect-entry-table th:first-child,
.sect-entry-table td:first-child {
  width: 250px;
  min-width: 250px;
}

.sect-entry-table td {
  padding: 13px 16px;
  line-height: 1.55;
  vertical-align: top;
}

.sect-entry-table td:last-child {
  color: #c8e5e2;
  text-align: left;
}

.sect-entry-table strong {
  color: #72d7ce;
  white-space: nowrap;
}

.neigun-exchange-table {
  width: min(720px, 100%);
  min-width: 600px;
  margin: 0 auto;
}

.neigun-exchange-table th,
.neigun-exchange-table td { width: 50%; }

.neigun-exchange-table td:last-child {
  color: #9de0da;
  font-weight: 700;
}

.school-neigun-table {
  min-width: 1100px;
  font-size: .75rem;
}

.school-neigun-table th:first-child,
.school-neigun-table td:first-child {
  width: 230px;
  min-width: 230px;
}

.school-neigun-table th:not(:first-child),
.school-neigun-table td:not(:first-child) { min-width: 120px; }

.school-neigun-table td {
  padding: 10px 12px;
  font-weight: 700;
}

.school-neigun-table td:not(:first-child) { color: #a4e1dc; }

@media (max-width: 760px) {
  .lantern-table-scroll { max-height: 68vh; }
  .lantern-table { min-width: 760px; }
  .lantern-table th:nth-child(2),
  .lantern-table td:nth-child(2) { width: 205px; }
  .sect-entry-table { min-width: 820px; }
  .sect-entry-table th:first-child,
  .sect-entry-table td:first-child {
    width: 205px;
    min-width: 205px;
  }
}

/* Патч 29: страница пополнения */
.topup-page-content {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 66px 0 84px;
}

.topup-page-header {
  max-width: 850px;
  margin: 0 auto 34px;
  text-align: center;
  animation: page-heading-enter 720ms ease-out both;
}

.topup-page-header h1 {
  margin: 8px 0 12px;
  color: #f1d895;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 5vw, 4.5rem);
  line-height: 1;
  text-shadow: 0 2px 24px rgba(230,183,93,.18);
}

.topup-page-header > p:last-child {
  margin: 0;
  color: #a9c2c4;
  font-size: 1rem;
  line-height: 1.7;
}

.topup-intro,
.topup-sellers,
.topup-safety-note {
  border: 1px solid rgba(96,207,198,.23);
  background:
    linear-gradient(135deg, rgba(8,35,50,.95), rgba(3,17,29,.96)),
    rgba(3,17,29,.96);
  box-shadow: 0 24px 60px rgba(0,0,0,.24);
}

.topup-intro {
  display: grid;
  padding: 34px;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  gap: 26px;
  align-items: center;
}

.topup-intro-copy h2,
.topup-section-heading h2 {
  margin: 7px 0 13px;
  color: #ead18e;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  line-height: 1.12;
}

.topup-intro-copy p {
  max-width: 760px;
  margin: 9px 0 0;
  color: #c2d6d6;
  line-height: 1.7;
}

.topup-intro-copy strong { color: #75d7ce; }

.topup-rate-notice,
.topup-safety-note {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.topup-rate-notice {
  padding: 22px;
  border: 1px solid rgba(230,183,93,.3);
  background: rgba(230,183,93,.055);
}

.topup-rate-notice > span,
.topup-safety-note > span {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border: 1px solid rgba(230,183,93,.55);
  border-radius: 50%;
  color: #f0c873;
  font: 700 1.05rem/1 Georgia, serif;
  box-shadow: inset 0 0 14px rgba(230,183,93,.08);
}

.topup-rate-notice strong,
.topup-safety-note strong {
  display: block;
  margin-bottom: 6px;
  color: #edd18a;
  font-size: .88rem;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.topup-rate-notice p,
.topup-safety-note p {
  margin: 0;
  color: #b9cece;
  font-size: .88rem;
  line-height: 1.6;
}

.topup-sellers {
  margin-top: 24px;
  padding: 34px;
}

.topup-section-heading {
  max-width: 780px;
  margin-bottom: 25px;
}

.topup-section-heading > p {
  margin: 0;
  color: #9fb9bb;
  line-height: 1.65;
}

.topup-seller-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.topup-seller-card {
  overflow: hidden;
  border: 1px solid rgba(99,210,202,.2);
  background: rgba(4,22,35,.86);
  box-shadow: 0 18px 42px rgba(0,0,0,.22);
}

.topup-seller-art {
  display: block;
  height: 235px;
  border-bottom: 1px solid rgba(230,183,93,.28);
  background-color: #071522;
  background-position: center 19%;
  background-repeat: no-repeat;
  background-size: cover;
  transition: filter 220ms ease, transform 500ms ease;
}

.topup-seller-taiwan .topup-seller-art {
  background-image:
    linear-gradient(to top, rgba(3,17,29,.52), transparent 55%),
    url("assets/partner-taiwan-seller.webp?v=23");
}

.topup-seller-pirate .topup-seller-art {
  background-image:
    linear-gradient(to top, rgba(3,17,29,.52), transparent 55%),
    url("assets/partner-unholy-daddy.webp?v=22");
}

.topup-seller-card:hover .topup-seller-art {
  filter: saturate(1.08) brightness(1.04);
}

.topup-seller-copy { padding: 27px; }

.topup-server-label {
  margin: 0 0 7px;
  color: #73d2ca;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.topup-server-label span { color: #e8c36d; }

.topup-seller-copy h3 {
  margin: 0;
  color: #f0d796;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
}

.topup-seller-description {
  min-height: 52px;
  margin: 10px 0 18px;
  color: #b8cecf;
  line-height: 1.6;
}

.topup-price-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.topup-price-list div {
  padding: 13px 8px;
  border: 1px solid rgba(99,210,202,.17);
  background: rgba(77,178,170,.045);
  text-align: center;
}

.topup-price-list span,
.topup-price-list strong { display: block; }

.topup-price-list span {
  color: #89aaa9;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.topup-price-list strong {
  margin-top: 7px;
  color: #eed17f;
  font-size: 1.04rem;
}

.topup-price-list-single { grid-template-columns: 1fr; }

.topup-seller-note {
  margin-top: 12px;
  padding: 13px 15px;
  border-left: 2px solid #dfb75f;
  background: rgba(223,183,95,.055);
}

.topup-seller-note strong {
  color: #e5c577;
  font-size: .72rem;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.topup-seller-note p {
  margin: 5px 0 0;
  color: #afc6c7;
  font-size: .82rem;
  line-height: 1.5;
}

.topup-contact-link {
  display: grid;
  margin-top: 18px;
  padding: 13px;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(81,160,235,.34);
  color: inherit;
  background: rgba(45,111,173,.11);
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.topup-contact-link:hover {
  border-color: rgba(100,182,255,.65);
  background: rgba(45,111,173,.18);
  transform: translateY(-2px);
}

.topup-contact-symbol {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #3478bd;
  font-size: .72rem;
  font-weight: 900;
}

.topup-contact-link small,
.topup-contact-link strong { display: block; }

.topup-contact-link small {
  color: #88aebf;
  font-size: .69rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.topup-contact-link strong {
  margin-top: 3px;
  color: #d9e8e9;
  font-size: .9rem;
}

.topup-contact-link b { color: #6bb4ed; font-size: 1.15rem; }

.topup-safety-note {
  margin-top: 24px;
  padding: 22px 26px;
}

@media (max-width: 900px) {
  .topup-intro,
  .topup-seller-grid { grid-template-columns: 1fr; }
  .topup-seller-description { min-height: 0; }
  .topup-seller-art { height: 290px; }
}

@media (max-width: 600px) {
  .topup-page-content {
    width: calc(100% - 28px);
    padding: 42px 0 60px;
  }
  .topup-intro,
  .topup-sellers { padding: 22px 14px; }
  .topup-price-list { grid-template-columns: 1fr; }
  .topup-seller-copy { padding: 22px 16px; }
  .topup-seller-art { height: 220px; }
  .topup-safety-note { padding: 19px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .topup-page-header { animation: none; }
  .topup-contact-link { transition: none; }
}

/* Патч 30: боевой пропуск */
.directory-card-featured {
  min-height: 210px;
  padding: 25px 34px;
  grid-column: 1 / -1;
  align-items: center;
  flex-direction: row;
  gap: 28px;
  text-align: left;
  background:
    radial-gradient(circle at var(--mx, 18%) var(--my, 45%), rgba(255,183,54,.21), transparent 28%),
    linear-gradient(100deg, rgba(50,24,7,.92), rgba(4,24,38,.96) 48%, rgba(3,15,28,.94));
}

.directory-card-featured .directory-icon {
  width: 112px;
  height: 112px;
  flex-basis: 112px;
  margin: 0;
}

.directory-icon-battle-pass {
  color: #ffe08a;
  background-color: rgba(91,44,9,.66);
  box-shadow:
    inset 0 0 0 5px rgba(29,15,5,.85),
    inset 0 0 0 6px rgba(239,182,72,.24),
    0 0 28px rgba(239,158,45,.2);
}

.directory-card-featured .directory-copy {
  align-items: flex-start;
}

.directory-card-featured h2 { font-size: clamp(1.65rem, 2.5vw, 2.25rem); }
.directory-card-featured p { max-width: 680px; }

.directory-card-kicker {
  margin-bottom: 7px;
  color: #e8b853;
  font: 800 .63rem/1 Arial, Helvetica, sans-serif;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.directory-card-featured .directory-action {
  flex: 0 0 auto;
  margin-top: 0;
}

.battle-pass-site-shell { min-height: 100svh; }

.battle-pass-page-content {
  width: min(1220px, calc(100% - 48px));
  margin: 0 auto;
  padding: 46px 0 84px;
}

.battle-pass-back-link {
  display: inline-flex;
  margin-bottom: 24px;
  color: #9cb6b8;
  font: 700 .7rem/1 Arial, Helvetica, sans-serif;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease, transform 180ms ease;
}

.battle-pass-back-link:hover,
.battle-pass-back-link:focus-visible {
  color: #f0cf7b;
  transform: translateX(-3px);
}

.battle-pass-page-header {
  max-width: 900px;
  margin: 0 auto 34px;
  text-align: center;
  animation: page-heading-enter 720ms ease-out both;
}

.battle-pass-page-header h1 {
  margin: 8px 0 13px;
  color: #f1d38a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.65rem, 6vw, 5.15rem);
  line-height: .95;
  text-shadow: 0 3px 28px rgba(230,163,53,.22);
}

.battle-pass-page-header > p:last-child {
  margin: 0;
  color: #a9c0c2;
  line-height: 1.7;
}

.battle-pass-overview,
.battle-pass-section {
  border: 1px solid rgba(230,183,93,.3);
  background:
    radial-gradient(circle at 92% 4%, rgba(205,125,29,.12), transparent 29%),
    linear-gradient(145deg, rgba(7,28,40,.96), rgba(3,16,28,.96));
  box-shadow: 0 26px 65px rgba(0,0,0,.27);
}

.battle-pass-overview {
  display: grid;
  overflow: hidden;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, .6fr);
}

.battle-pass-info { padding: 36px; }

.battle-pass-info h2,
.battle-pass-section-heading h2 {
  margin: 7px 0 18px;
  color: #efd28a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3.2vw, 2.7rem);
  line-height: 1.08;
}

.battle-pass-rules {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
}

.battle-pass-rules li {
  display: grid;
  min-width: 0;
  padding: 13px;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  border: 1px solid rgba(101,211,203,.16);
  background: rgba(73,173,165,.04);
}

.battle-pass-rules li > span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(230,183,93,.55);
  border-radius: 50%;
  color: #f0c873;
  font: 700 .73rem/1 Arial, Helvetica, sans-serif;
}

.battle-pass-rules p {
  margin: 0;
  color: #bfd0d1;
  font-size: .8rem;
  line-height: 1.55;
}

.battle-pass-rules strong { color: #78d9d1; }

.battle-pass-costume {
  position: relative;
  display: flex;
  min-height: 500px;
  margin: 0;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 68%, rgba(218,143,43,.22), transparent 38%),
    linear-gradient(180deg, rgba(65,34,8,.44), rgba(3,17,29,.92));
}

.battle-pass-costume img {
  display: block;
  width: min(100%, 390px);
  height: auto;
  filter: drop-shadow(0 22px 28px rgba(0,0,0,.42));
}

.battle-pass-costume figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(230,183,93,.35);
  background: rgba(3,16,27,.82);
  text-align: center;
  backdrop-filter: blur(5px);
}

.battle-pass-costume figcaption span,
.battle-pass-costume figcaption strong { display: block; }

.battle-pass-costume figcaption span {
  color: #7bd6ce;
  font: 700 .61rem/1 Arial, Helvetica, sans-serif;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.battle-pass-costume figcaption strong {
  margin-top: 5px;
  color: #f0d184;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
}

.battle-pass-section {
  margin-top: 24px;
  padding: 34px;
}

.battle-pass-section-heading {
  max-width: 840px;
  margin-bottom: 22px;
}

.battle-pass-section-heading > p {
  margin: -6px 0 0;
  color: #9fb8ba;
  line-height: 1.65;
}

.battle-pass-table-scroll {
  max-height: min(74vh, 920px);
  overflow: auto;
  border: 1px solid rgba(101,211,203,.22);
  overscroll-behavior: contain;
  scrollbar-color: rgba(230,183,93,.55) rgba(3,17,29,.8);
}

.battle-pass-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  color: #c9d6d8;
  background: rgba(2,16,28,.72);
  font: .82rem/1.45 Arial, Helvetica, sans-serif;
}

.battle-pass-table th {
  position: sticky;
  z-index: 2;
  top: 0;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(230,183,93,.48);
  color: #efd181;
  background: #082435;
  font-size: .69rem;
  letter-spacing: .09em;
  text-align: center;
  text-transform: uppercase;
}

.battle-pass-table th + th,
.battle-pass-table td + td { border-left: 1px solid rgba(99,210,202,.14); }

.battle-pass-table td {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(99,210,202,.12);
  text-align: center;
}

.battle-pass-table tbody tr:nth-child(even) td { background: rgba(61,166,158,.035); }
.battle-pass-table tbody tr:hover td { color: #fff0c4; background: rgba(230,183,93,.07); }
.battle-pass-table tbody tr:last-child td { border-bottom: 0; }

.battle-pass-levels-table th:first-child,
.battle-pass-levels-table td:first-child {
  width: 100px;
  color: #f0cf7c;
  font-weight: 800;
}

.battle-pass-levels-table th:nth-child(2),
.battle-pass-levels-table th:nth-child(3),
.battle-pass-levels-table td:nth-child(2),
.battle-pass-levels-table td:nth-child(3) { width: 50%; }

.battle-pass-levels-table td:nth-child(3) {
  color: #83ddd5;
  font-weight: 700;
}

.battle-pass-levels-table tbody tr:nth-child(30) td {
  color: #ffe19a;
  background: rgba(216,144,44,.12);
  box-shadow: inset 0 1px rgba(230,183,93,.22), inset 0 -1px rgba(230,183,93,.22);
}

.battle-pass-bundles-table { min-width: 920px; }

.battle-pass-bundles-table th:first-child,
.battle-pass-bundles-table td:first-child {
  width: 285px;
  color: #efd187;
  font-weight: 700;
}

.battle-pass-bundles-table td {
  padding: 13px 16px;
  vertical-align: top;
}

.battle-pass-bundles-table td:last-child {
  color: #bcd2d2;
  text-align: left;
}

@media (max-width: 900px) {
  .directory-card-featured {
    min-height: 280px;
    align-items: center;
    flex-direction: column;
    text-align: center;
  }
  .directory-card-featured .directory-copy { align-items: center; }
  .directory-card-featured .directory-action { margin-top: 0; }
  .battle-pass-overview { grid-template-columns: 1fr; }
  .battle-pass-costume { min-height: 460px; }
}

@media (max-width: 650px) {
  .battle-pass-page-content {
    width: calc(100% - 28px);
    padding: 34px 0 60px;
  }
  .battle-pass-info,
  .battle-pass-section { padding: 22px 14px; }
  .battle-pass-rules { grid-template-columns: 1fr; }
  .battle-pass-costume { min-height: 390px; }
  .battle-pass-table-scroll { max-height: 68vh; }
  .directory-card-featured { padding: 25px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .battle-pass-page-header { animation: none; }
  .battle-pass-back-link { transition: none; }
}

/* Патч 32: вкладки Тайвани и Пиратки */
.battle-pass-tabs { margin-top: 24px; }

.battle-pass-tab-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.battle-pass-tab-list {
  display: grid;
  padding: 6px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  border: 1px solid rgba(230,183,93,.28);
  background: rgba(3,17,29,.9);
  box-shadow: 0 16px 36px rgba(0,0,0,.22);
}

.battle-pass-tab-list label {
  display: flex;
  min-height: 70px;
  padding: 12px 18px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 1px solid transparent;
  color: #91aaad;
  background: rgba(72,170,164,.035);
  cursor: pointer;
  text-align: center;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.battle-pass-tab-list label:hover {
  border-color: rgba(230,183,93,.3);
  color: #e8d59f;
}

.battle-pass-tab-list small,
.battle-pass-tab-list strong { display: block; }

.battle-pass-tab-list small {
  margin-bottom: 5px;
  font: 700 .59rem/1 Arial, Helvetica, sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.battle-pass-tab-list strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

#battle-pass-taiwan:checked ~ .battle-pass-tab-list label[for="battle-pass-taiwan"],
#battle-pass-pirate:checked ~ .battle-pass-tab-list label[for="battle-pass-pirate"] {
  border-color: rgba(240,195,100,.64);
  color: #f4d889;
  background:
    radial-gradient(circle at 50% 0%, rgba(230,166,51,.16), transparent 64%),
    rgba(84,51,13,.22);
  box-shadow: inset 0 -2px rgba(230,183,93,.55);
}

.battle-pass-tab-input:focus-visible ~ .battle-pass-tab-list {
  outline: 2px solid #f0c873;
  outline-offset: 4px;
}

.battle-pass-tab-panel { display: none; }

#battle-pass-taiwan:checked ~ .battle-pass-tab-panels .battle-pass-tab-panel-taiwan,
#battle-pass-pirate:checked ~ .battle-pass-tab-panels .battle-pass-tab-panel-pirate {
  display: block;
  animation: battle-pass-tab-enter 300ms ease-out both;
}

@keyframes battle-pass-tab-enter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.battle-pass-upgraded-reward {
  margin-top: 24px;
  padding: 30px 34px;
  border: 1px solid rgba(238,184,75,.38);
  background:
    radial-gradient(circle at 88% 0%, rgba(219,137,32,.17), transparent 32%),
    linear-gradient(145deg, rgba(41,24,9,.94), rgba(5,23,35,.96));
  box-shadow: 0 22px 52px rgba(0,0,0,.24);
}

.battle-pass-upgraded-reward header {
  margin-bottom: 18px;
}

.battle-pass-upgraded-reward h2 {
  margin: 7px 0 0;
  color: #f0d185;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 2.55rem);
}

.battle-pass-upgraded-reward ul {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
  list-style: none;
}

.battle-pass-upgraded-reward li {
  display: flex;
  min-width: 0;
  min-height: 104px;
  padding: 14px 12px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 1px solid rgba(230,183,93,.24);
  background: rgba(230,183,93,.055);
  text-align: center;
}

.battle-pass-upgraded-reward li span {
  color: #c8d4cf;
  font-size: .76rem;
  line-height: 1.4;
}

.battle-pass-upgraded-reward li strong {
  margin-top: 9px;
  color: #f3cf72;
  font-size: 1.12rem;
}

.battle-pass-pirate-table { min-width: 1040px; }

.battle-pass-pirate-table th:first-child,
.battle-pass-pirate-table td:first-child {
  width: 82px;
  color: #f0cf7c;
  font-weight: 800;
}

.battle-pass-pirate-table th:nth-child(2),
.battle-pass-pirate-table td:nth-child(2),
.battle-pass-pirate-table th:nth-child(4),
.battle-pass-pirate-table td:nth-child(4) { width: 38%; }

.battle-pass-pirate-table th:nth-child(3),
.battle-pass-pirate-table td:nth-child(3),
.battle-pass-pirate-table th:nth-child(5),
.battle-pass-pirate-table td:nth-child(5) { width: 88px; }

.battle-pass-pirate-table td:nth-child(3),
.battle-pass-pirate-table td:nth-child(5) {
  color: #f0cd77;
  font-weight: 800;
}

.battle-pass-pirate-table td:nth-child(4) {
  color: #83ddd5;
  font-weight: 700;
}

.battle-pass-pirate-table tbody tr:nth-child(30) td {
  color: #ffe19a;
  background: rgba(216,144,44,.12);
  box-shadow: inset 0 1px rgba(230,183,93,.22), inset 0 -1px rgba(230,183,93,.22);
}

@media (max-width: 980px) {
  .battle-pass-upgraded-reward ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .battle-pass-upgraded-reward li:last-child { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .battle-pass-tab-list label { min-height: 64px; padding: 10px 8px; }
  .battle-pass-tab-list strong { font-size: 1.05rem; }
  .battle-pass-upgraded-reward { padding: 22px 14px; }
  .battle-pass-upgraded-reward ul { grid-template-columns: 1fr; }
  .battle-pass-upgraded-reward li,
  .battle-pass-upgraded-reward li:last-child { min-height: 0; grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  #battle-pass-taiwan:checked ~ .battle-pass-tab-panels .battle-pass-tab-panel-taiwan,
  #battle-pass-pirate:checked ~ .battle-pass-tab-panels .battle-pass-tab-panel-pirate { animation: none; }
}

/* Патч 33: пополнение Пиратки через Binance Gift Card */
.pirate-crypto-topup {
  display: grid;
  margin-top: 24px;
  overflow: hidden;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  border: 1px solid rgba(242,183,49,.34);
  background:
    radial-gradient(circle at 92% 5%, rgba(240,180,33,.14), transparent 30%),
    linear-gradient(145deg, rgba(31,25,10,.96), rgba(3,20,32,.97) 52%);
  box-shadow: 0 24px 60px rgba(0,0,0,.25);
}

.pirate-crypto-copy { padding: 36px; }

.pirate-crypto-copy header { max-width: 780px; }

.pirate-crypto-copy h2 {
  margin: 7px 0 12px;
  color: #f1d27b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  line-height: 1.08;
}

.pirate-crypto-copy header > p {
  margin: 0;
  color: #bbcfd0;
  line-height: 1.7;
}

.pirate-crypto-steps {
  display: grid;
  margin: 24px 0 0;
  padding: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  list-style: none;
}

.pirate-crypto-steps li {
  min-width: 0;
  padding: 15px;
  border: 1px solid rgba(242,183,49,.2);
  background: rgba(242,183,49,.045);
}

.pirate-crypto-steps li > span {
  display: grid;
  width: 30px;
  height: 30px;
  margin-bottom: 10px;
  place-items: center;
  border: 1px solid rgba(242,183,49,.55);
  border-radius: 50%;
  color: #f1c557;
  font: 800 .72rem/1 Arial, Helvetica, sans-serif;
}

.pirate-crypto-steps p {
  margin: 0;
  color: #b8cccd;
  font-size: .78rem;
  line-height: 1.55;
}

.pirate-crypto-steps strong { color: #f2cc6c; }

.pirate-crypto-steps code,
.pirate-crypto-warning code {
  color: #7edbd4;
  font-family: Consolas, "Courier New", monospace;
  overflow-wrap: anywhere;
}

.pirate-crypto-actions {
  display: grid;
  margin-top: 13px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.pirate-discord-contact,
.pirate-account-link {
  display: grid;
  min-width: 0;
  padding: 12px 14px;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(110,129,238,.3);
  color: inherit;
  background: rgba(83,97,204,.09);
  text-decoration: none;
}

.pirate-discord-contact > span,
.pirate-account-link > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #5965d7;
  font-size: .72rem;
  font-weight: 900;
}

.pirate-account-link {
  border-color: rgba(242,183,49,.3);
  background: rgba(242,183,49,.055);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.pirate-account-link > span { color: #241a05; background: #e5b53e; }

.pirate-account-link:hover {
  border-color: rgba(242,195,79,.64);
  background: rgba(242,183,49,.1);
  transform: translateY(-2px);
}

.pirate-discord-contact p,
.pirate-account-link p { min-width: 0; margin: 0; }

.pirate-discord-contact small,
.pirate-discord-contact strong,
.pirate-account-link small,
.pirate-account-link strong { display: block; }

.pirate-discord-contact small,
.pirate-account-link small {
  color: #93aaad;
  font-size: .65rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.pirate-discord-contact strong,
.pirate-account-link strong {
  margin-top: 4px;
  color: #d9e6e6;
  font-size: .84rem;
  overflow-wrap: anywhere;
}

.pirate-account-link b { color: #e7bd55; font-size: 1.12rem; }

.pirate-crypto-warning {
  margin-top: 13px;
  padding: 13px 15px;
  border-left: 2px solid #e0b64d;
  background: rgba(224,182,77,.055);
}

.pirate-crypto-warning strong {
  color: #e7c263;
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pirate-crypto-warning p {
  margin: 5px 0 0;
  color: #adc2c3;
  font-size: .8rem;
  line-height: 1.55;
}

.pirate-gift-card-art {
  position: relative;
  display: flex;
  min-height: 560px;
  margin: 0;
  padding: 34px;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 55%, rgba(242,183,49,.18), transparent 43%),
    linear-gradient(180deg, rgba(43,35,12,.66), rgba(3,17,29,.92));
}

.pirate-gift-card-art img {
  display: block;
  width: min(100%, 270px);
  height: auto;
  border: 1px solid rgba(242,183,49,.34);
  box-shadow: 0 22px 46px rgba(0,0,0,.42), 0 0 28px rgba(242,183,49,.1);
}

.pirate-gift-card-art figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(242,183,49,.3);
  background: rgba(3,16,27,.84);
  text-align: center;
  backdrop-filter: blur(5px);
}

.pirate-gift-card-art figcaption span,
.pirate-gift-card-art figcaption strong { display: block; }

.pirate-gift-card-art figcaption span {
  color: #80d5ce;
  font: 700 .6rem/1 Arial, Helvetica, sans-serif;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.pirate-gift-card-art figcaption strong {
  margin-top: 5px;
  color: #efce72;
  font-family: Georgia, "Times New Roman", serif;
  font-size: .98rem;
}

@media (max-width: 980px) {
  .pirate-crypto-topup { grid-template-columns: 1fr; }
  .pirate-gift-card-art { min-height: 450px; }
}

@media (max-width: 700px) {
  .pirate-crypto-copy { padding: 24px 16px; }
  .pirate-crypto-steps,
  .pirate-crypto-actions { grid-template-columns: 1fr; }
  .pirate-gift-card-art { min-height: 390px; padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .pirate-account-link { transition: none; }
}

/* Патч 34: жаровни и огненные механизмы */
.directory-card-braziers {
  border-color: rgba(232,141,61,.6);
  background:
    radial-gradient(circle at var(--mx, 20%) var(--my, 45%), rgba(255,118,28,.22), transparent 29%),
    linear-gradient(100deg, rgba(61,22,7,.94), rgba(5,24,37,.96) 50%, rgba(3,15,28,.94));
}

.directory-icon-braziers {
  color: #ffd08a;
  background-color: rgba(105,31,8,.7);
  box-shadow:
    inset 0 0 0 5px rgba(30,12,5,.88),
    inset 0 0 0 6px rgba(241,130,48,.3),
    0 0 30px rgba(248,91,25,.24);
  text-shadow: 0 0 14px rgba(255,111,25,.82);
}

.brazier-site-shell { min-height: 100svh; }

.brazier-page-content {
  width: min(1220px, calc(100% - 48px));
  margin: 0 auto;
  padding: 44px 0 84px;
}

.brazier-back-link {
  display: inline-flex;
  margin-bottom: 24px;
  color: #a5b8bb;
  font: 700 .7rem/1 Arial, Helvetica, sans-serif;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease, transform 180ms ease;
}

.brazier-back-link:hover,
.brazier-back-link:focus-visible { color: #f0b568; transform: translateX(-3px); }

.brazier-hero {
  position: relative;
  display: grid;
  min-height: 540px;
  overflow: hidden;
  grid-template-columns: minmax(360px, .72fr) minmax(0, 1.28fr);
  border: 1px solid rgba(235,130,54,.45);
  background:
    radial-gradient(circle at 16% 58%, rgba(222,72,20,.19), transparent 35%),
    linear-gradient(110deg, rgba(55,20,7,.97), rgba(5,24,36,.96) 52%, rgba(3,16,27,.96));
  box-shadow: 0 28px 70px rgba(0,0,0,.32);
}

.brazier-hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  padding: 50px 38px;
  justify-content: center;
  flex-direction: column;
}

.brazier-hero h1 {
  margin: 8px 0 0;
  color: #f3c177;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 7vw, 6.2rem);
  line-height: .9;
  text-shadow: 0 3px 30px rgba(241,97,28,.28);
}

.brazier-hero-subtitle {
  margin: 12px 0 18px;
  color: #e37a43;
  font: 800 .74rem/1 Arial, Helvetica, sans-serif;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.brazier-hero-copy > p:last-child {
  max-width: 510px;
  margin: 0;
  color: #c3d0d1;
  line-height: 1.7;
}

.brazier-hero-art {
  position: relative;
  min-width: 0;
  min-height: 540px;
  margin: 0;
  overflow: hidden;
}

.brazier-hero-art::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(25,18,12,.74), transparent 36%), linear-gradient(0deg, rgba(3,16,27,.42), transparent 45%);
  content: "";
  pointer-events: none;
}

.brazier-hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.08) contrast(1.04);
}

.brazier-section {
  margin-top: 24px;
  padding: 34px;
  border: 1px solid rgba(112,205,197,.22);
  background:
    radial-gradient(circle at 92% 0%, rgba(213,76,28,.08), transparent 29%),
    linear-gradient(145deg, rgba(6,28,40,.96), rgba(3,16,28,.96));
  box-shadow: 0 22px 54px rgba(0,0,0,.24);
}

.brazier-section-heading { max-width: 830px; margin-bottom: 22px; }

.brazier-section-heading h2 {
  margin: 7px 0 0;
  color: #edc47d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3.2vw, 2.7rem);
  line-height: 1.08;
}

.brazier-section-heading > p {
  margin: 11px 0 0;
  color: #a7bcbe;
  line-height: 1.6;
}

.brazier-location-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.brazier-location-grid article {
  display: grid;
  min-width: 0;
  padding: 17px;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 15px;
  align-items: center;
  border: 1px solid rgba(235,130,54,.24);
  background: rgba(185,63,21,.055);
}

.brazier-location-grid article > span {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 1px solid rgba(235,130,54,.54);
  border-radius: 50%;
  color: #f0b36e;
  background: rgba(137,44,14,.24);
  font-weight: 800;
}

.brazier-location-grid small,
.brazier-location-grid h3,
.brazier-location-grid strong { display: block; }

.brazier-location-grid small {
  color: #87aaa9;
  font-size: .61rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.brazier-location-grid h3 { margin: 4px 0; color: #e8d9ae; font-size: 1.12rem; }
.brazier-location-grid strong { color: #79d7cf; }

.brazier-about-copy {
  display: grid;
  margin-top: 13px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.brazier-about-copy p {
  margin: 0;
  padding: 16px;
  border-left: 2px solid rgba(229,120,46,.6);
  color: #bdcfd0;
  background: rgba(4,20,32,.52);
  line-height: 1.65;
}

.brazier-about-copy strong { color: #f0bd77; }

.brazier-rule-grid,
.brazier-pattern-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
}

.brazier-rule-grid article,
.brazier-pattern-card {
  min-width: 0;
  padding: 20px;
  border: 1px solid rgba(100,204,197,.18);
  background: rgba(61,164,157,.04);
}

.brazier-rule-grid article > span {
  color: #e98b4d;
  font: 800 .69rem/1 Arial, Helvetica, sans-serif;
  letter-spacing: .1em;
}

.brazier-rule-grid h3,
.brazier-pattern-card h3 { margin: 10px 0 8px; color: #ead69e; font-size: 1.08rem; }

.brazier-rule-grid p,
.brazier-pattern-card p { margin: 0; color: #afc3c5; font-size: .82rem; line-height: 1.58; }

.brazier-pattern-card { text-align: center; }

.brazier-mini-grid {
  display: grid;
  width: 126px;
  margin: 0 auto 17px;
  grid-template-columns: repeat(3, 38px);
  gap: 6px;
}

.brazier-mini-grid i {
  display: block;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(111,197,191,.18);
  border-radius: 50%;
  background: rgba(4,20,31,.76);
  box-shadow: inset 0 0 9px rgba(0,0,0,.38);
}

.brazier-mini-grid i.affected {
  border-color: rgba(234,102,42,.62);
  background: radial-gradient(circle, #f7b34c 0 18%, #ce4a1e 40%, rgba(100,30,10,.82) 68%);
  box-shadow: 0 0 14px rgba(240,81,30,.32);
}

.brazier-mini-grid i.pressed {
  border-color: rgba(255,219,124,.88);
  background: radial-gradient(circle, #fff0a4 0 18%, #f69d32 42%, #a43614 70%);
  box-shadow: 0 0 20px rgba(255,145,39,.52);
}

.brazier-special-rule,
.brazier-critical-warning {
  display: grid;
  margin-top: 13px;
  padding: 17px;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.brazier-special-rule {
  border: 1px solid rgba(224,113,49,.3);
  background: rgba(173,60,21,.07);
}

.brazier-special-rule > span,
.brazier-critical-warning > span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(232,130,63,.62);
  border-radius: 50%;
  color: #f0af69;
  font: 800 1.05rem/1 Georgia, serif;
}

.brazier-special-rule strong { color: #eac486; }
.brazier-special-rule p { margin: 5px 0 0; color: #b8c9ca; line-height: 1.55; }

.brazier-critical-warning {
  border: 1px solid rgba(242,89,59,.45);
  background: rgba(166,36,20,.12);
}

.brazier-critical-warning > span { border-color: rgba(242,89,59,.68); color: #ff876f; }
.brazier-critical-warning p { margin: 0; color: #d9c5bd; line-height: 1.55; }
.brazier-critical-warning strong { color: #ffb08d; }

.brazier-reward-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.brazier-reward-grid article {
  min-width: 0;
  min-height: 112px;
  padding: 17px;
  border: 1px solid rgba(101,211,203,.18);
  background: rgba(69,171,164,.04);
}

.brazier-reward-grid .brazier-reward-main {
  grid-column: 1 / -1;
  min-height: 90px;
  border-color: rgba(232,130,63,.4);
  background: rgba(193,69,22,.08);
}

.brazier-reward-grid small,
.brazier-reward-grid strong { display: block; }

.brazier-reward-grid small {
  color: #82aaa8;
  font-size: .61rem;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.brazier-reward-grid strong {
  margin-top: 10px;
  color: #d9e2d8;
  font-size: .95rem;
  line-height: 1.35;
}

.brazier-reward-main strong { color: #f1bd73; font-size: 1.18rem; }

@media (max-width: 960px) {
  .brazier-hero { grid-template-columns: 1fr; }
  .brazier-hero-art { min-height: 410px; grid-row: 1; }
  .brazier-hero-art::after { background: linear-gradient(0deg, rgba(32,17,9,.76), transparent 50%); }
  .brazier-hero-copy { padding: 36px 28px; }
  .brazier-rule-grid,
  .brazier-pattern-grid { grid-template-columns: 1fr; }
  .brazier-reward-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 650px) {
  .brazier-page-content { width: calc(100% - 28px); padding: 34px 0 60px; }
  .brazier-section { padding: 22px 14px; }
  .brazier-hero-art { min-height: 300px; }
  .brazier-hero-copy { padding: 30px 18px; }
  .brazier-location-grid,
  .brazier-about-copy,
  .brazier-reward-grid { grid-template-columns: 1fr; }
  .brazier-reward-grid .brazier-reward-main { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .brazier-back-link { transition: none; }
}

/* Патч 35: вступление на странице питомцев */
.pet-guide-site-shell { min-height: 100svh; }

.pet-guide-page-content {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 62px 0 84px;
}

.pet-guide-page-content .pet-page-header {
  max-width: 820px;
  margin: 0 auto 32px;
  text-align: center;
}

.pet-guide-page-content .pet-page-header h1 {
  margin: 8px 0 12px;
  color: #efd795;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 6vw, 5rem);
  line-height: .96;
  text-shadow: 0 3px 28px rgba(230,183,93,.2);
}

.pet-guide-page-content .pet-page-header > p:last-child {
  margin: 0;
  color: #a8c0c1;
  line-height: 1.7;
}

.pet-intro {
  display: grid;
  overflow: hidden;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  border: 1px solid rgba(230,183,93,.32);
  background:
    radial-gradient(circle at 91% 5%, rgba(209,63,47,.12), transparent 30%),
    linear-gradient(145deg, rgba(7,30,42,.97), rgba(3,17,29,.97));
  box-shadow: 0 26px 64px rgba(0,0,0,.27);
}

.pet-intro-copy {
  display: flex;
  padding: 42px 36px;
  justify-content: center;
  flex-direction: column;
}

.pet-intro-copy h2 {
  margin: 7px 0 15px;
  color: #ecd18e;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  line-height: 1.08;
}

.pet-intro-copy p {
  margin: 0;
  color: #bfd0d1;
  line-height: 1.72;
}

.pet-intro-copy p + p { margin-top: 12px; }
.pet-intro-copy strong { color: #7bd9d1; }

.pet-intro-art {
  position: relative;
  display: flex;
  min-height: 465px;
  margin: 0;
  padding: 30px;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 55%, rgba(222,82,62,.13), transparent 42%),
    linear-gradient(180deg, rgba(53,26,18,.36), rgba(3,17,29,.84));
}

.pet-intro-art img {
  display: block;
  width: min(100%, 440px);
  height: auto;
  border: 1px solid rgba(230,183,93,.3);
  box-shadow: 0 22px 46px rgba(0,0,0,.35), 0 0 25px rgba(204,68,50,.08);
}

.pet-intro-art figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(230,183,93,.3);
  background: rgba(3,16,27,.84);
  text-align: center;
  backdrop-filter: blur(5px);
}

.pet-intro-art figcaption span,
.pet-intro-art figcaption strong { display: block; }

.pet-intro-art figcaption span {
  color: #79d6ce;
  font: 700 .6rem/1 Arial, Helvetica, sans-serif;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.pet-intro-art figcaption strong {
  margin-top: 5px;
  color: #edcf85;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
}

.pet-feature-grid {
  display: grid;
  margin-top: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
}

.pet-feature-grid article {
  display: grid;
  min-width: 0;
  min-height: 196px;
  padding: 21px;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 15px;
  align-items: start;
  border: 1px solid rgba(101,211,203,.2);
  background:
    radial-gradient(circle at 0 0, rgba(80,198,190,.08), transparent 35%),
    rgba(4,23,36,.9);
  box-shadow: 0 16px 36px rgba(0,0,0,.18);
}

.pet-feature-grid article > span {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(230,183,93,.48);
  border-radius: 50%;
  color: #edc973;
  background: rgba(230,183,93,.07);
  font: 800 .93rem/1 Arial, Helvetica, sans-serif;
}

.pet-feature-grid small,
.pet-feature-grid h2 { display: block; }

.pet-feature-grid small {
  color: #74cbc4;
  font-size: .61rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.pet-feature-grid h2 {
  margin: 7px 0 9px;
  color: #e9d6a0;
  font-size: 1.08rem;
  line-height: 1.18;
}

.pet-feature-grid p {
  margin: 0;
  color: #aec3c4;
  font-size: .8rem;
  line-height: 1.55;
}

.pet-temporary-note {
  display: grid;
  margin-top: 18px;
  padding: 18px 21px;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 15px;
  align-items: center;
  border: 1px solid rgba(230,183,93,.3);
  background: rgba(110,76,24,.09);
}

.pet-temporary-note > span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(230,183,93,.52);
  border-radius: 50%;
  color: #edc873;
  font-size: 1.15rem;
}

.pet-temporary-note strong { color: #e9ce89; }
.pet-temporary-note p { margin: 5px 0 0; color: #b7c9ca; line-height: 1.55; }

.pet-catalog-placeholder {
  display: grid;
  min-height: 170px;
  margin-top: 18px;
  padding: 24px;
  grid-template-columns: 94px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  border-color: rgba(101,211,203,.2);
  background: rgba(3,19,31,.72);
  text-align: left;
}

.pet-catalog-placeholder .pet-icon {
  width: 90px;
  height: 90px;
  margin: 0;
}

.pet-catalog-placeholder strong {
  color: #e8d39b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.32rem;
}

.pet-catalog-placeholder p {
  margin: 7px 0 0;
  color: #9fb7b9;
  font-size: .84rem;
  line-height: 1.55;
  letter-spacing: 0;
  text-transform: none;
}

@media (max-width: 900px) {
  .pet-intro { grid-template-columns: 1fr; }
  .pet-intro-art { min-height: 440px; grid-row: 1; }
  .pet-feature-grid { grid-template-columns: 1fr; }
  .pet-feature-grid article { min-height: 0; }
}

@media (max-width: 600px) {
  .pet-guide-page-content { width: calc(100% - 28px); padding: 42px 0 60px; }
  .pet-intro-copy { padding: 27px 18px; }
  .pet-intro-art { min-height: 330px; padding: 20px; }
  .pet-feature-grid article { padding: 18px 15px; }
  .pet-catalog-placeholder { grid-template-columns: 1fr; text-align: center; }
  .pet-catalog-placeholder .pet-icon { margin: 0 auto; }
}

/* Патч 36: регистрация Тайвани и Приватного сервера */
.registration-site-shell { min-height: 100svh; }

.registration-page-content {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 62px 0 84px;
}

.registration-page-header {
  max-width: 850px;
  margin: 0 auto 34px;
  text-align: center;
  animation: page-heading-enter 720ms ease-out both;
}

.registration-page-header h1 {
  margin: 8px 0 12px;
  color: #efd795;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.55rem, 5.5vw, 4.75rem);
  line-height: .98;
  text-shadow: 0 3px 26px rgba(230,183,93,.2);
}

.registration-page-header > p:last-child {
  margin: 0;
  color: #a8c0c1;
  line-height: 1.7;
}

.registration-server-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.registration-server-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(101,211,203,.23);
  background:
    radial-gradient(circle at 92% 0%, rgba(77,190,181,.09), transparent 31%),
    linear-gradient(145deg, rgba(6,29,42,.97), rgba(3,17,29,.97));
  box-shadow: 0 24px 58px rgba(0,0,0,.25);
}

.registration-taiwan { border-color: rgba(225,83,67,.32); }

.registration-taiwan .registration-server-heading {
  background:
    radial-gradient(circle at 90% 0%, rgba(225,67,50,.15), transparent 38%),
    rgba(75,25,20,.23);
}

.registration-private { border-color: rgba(91,190,211,.3); }

.registration-private .registration-server-heading {
  background:
    radial-gradient(circle at 90% 0%, rgba(66,165,199,.15), transparent 38%),
    rgba(15,55,70,.23);
}

.registration-server-heading {
  display: grid;
  padding: 26px;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 17px;
  align-items: center;
  border-bottom: 1px solid rgba(230,183,93,.25);
}

.registration-server-mark {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border: 1px solid rgba(230,183,93,.55);
  border-radius: 50%;
  color: #f0cd78;
  background: rgba(230,183,93,.07);
  font: 800 1.05rem/1 Arial, Helvetica, sans-serif;
  letter-spacing: .05em;
  box-shadow: inset 0 0 18px rgba(230,183,93,.08);
}

.registration-server-heading small {
  color: #76cfc7;
  font: 800 .62rem/1 Arial, Helvetica, sans-serif;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.registration-server-heading h2 {
  margin: 7px 0 0;
  color: #ecd28e;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.05;
}

.registration-step-list {
  display: grid;
  padding: 27px;
  gap: 12px;
}

.registration-step-list > article {
  display: grid;
  padding: 14px;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  border: 1px solid rgba(101,211,203,.15);
  background: rgba(61,166,158,.035);
}

.registration-step-list > article > span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(230,183,93,.5);
  border-radius: 50%;
  color: #edc874;
  font: 800 .74rem/1 Arial, Helvetica, sans-serif;
}

.registration-step-list h3 {
  margin: 0 0 5px;
  color: #e7d5a3;
  font-size: 1rem;
}

.registration-step-list article p {
  margin: 0;
  color: #afc4c5;
  font-size: .8rem;
  line-height: 1.55;
}

.registration-action-link {
  display: flex;
  min-height: 52px;
  padding: 13px 16px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(230,183,93,.38);
  color: #efd58e;
  background: rgba(230,183,93,.07);
  font-size: .85rem;
  font-weight: 800;
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.registration-action-link:hover {
  border-color: rgba(240,198,108,.68);
  background: rgba(230,183,93,.12);
  transform: translateY(-2px);
}

.registration-action-link b { color: #edbd59; font-size: 1.15rem; }

.registration-download-link {
  border-color: rgba(99,210,202,.35);
  background: rgba(73,172,165,.07);
}

.registration-warning {
  padding: 14px 16px;
  border-left: 2px solid #deb653;
  background: rgba(222,182,83,.055);
}

.registration-warning strong {
  color: #e8c86f;
  font-size: .69rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.registration-warning p {
  margin: 6px 0 0;
  color: #b9c9c8;
  font-size: .81rem;
  line-height: 1.58;
}

.registration-warning-critical {
  border-left-color: #e26252;
  background: rgba(190,52,35,.09);
}

.registration-warning-critical strong { color: #ff9b83; }

.registration-download-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.registration-download-options a {
  position: relative;
  min-width: 0;
  min-height: 102px;
  padding: 16px;
  border: 1px solid rgba(92,179,221,.28);
  color: inherit;
  background: rgba(53,119,156,.07);
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.registration-download-options a:hover {
  border-color: rgba(105,195,235,.58);
  background: rgba(53,119,156,.12);
  transform: translateY(-2px);
}

.registration-download-options small,
.registration-download-options strong { display: block; }

.registration-download-options small {
  color: #79c7d8;
  font-size: .63rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.registration-download-options strong {
  margin-top: 9px;
  padding-right: 20px;
  color: #d9e5e5;
  font-size: .88rem;
  line-height: 1.3;
}

.registration-download-options a > span {
  position: absolute;
  right: 13px;
  bottom: 13px;
  color: #77c8df;
}

.registration-partner-note a {
  display: inline-flex;
  margin-top: 9px;
  color: #78d6ce;
  font-size: .76rem;
  font-weight: 800;
  text-decoration: none;
}

.registration-partner-note a:hover { color: #a1ebe5; }

.registration-final-note {
  display: grid;
  margin-top: 20px;
  padding: 19px 22px;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 15px;
  align-items: center;
  border: 1px solid rgba(230,183,93,.28);
  background: rgba(80,57,20,.08);
}

.registration-final-note > span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(230,183,93,.54);
  border-radius: 50%;
  color: #e9c56e;
  font-weight: 900;
}

.registration-final-note strong { color: #e9ce8a; }
.registration-final-note p { margin: 5px 0 0; color: #b5c7c8; line-height: 1.55; }

@media (max-width: 900px) {
  .registration-server-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .registration-page-content { width: calc(100% - 28px); padding: 42px 0 60px; }
  .registration-server-heading { padding: 22px 16px; grid-template-columns: 62px minmax(0, 1fr); }
  .registration-server-mark { width: 60px; height: 60px; }
  .registration-step-list { padding: 20px 14px; }
  .registration-download-options { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .registration-page-header { animation: none; }
  .registration-action-link,
  .registration-download-options a { transition: none; }
}

/* Патч 37: кнопка «Архиватор Легенд» на главной */
.home-archiver-link {
  position: absolute;
  z-index: 9;
  right: 18px;
  bottom: 224px;
  display: grid;
  width: min(450px, calc(100% - 36px));
  min-height: 62px;
  padding: 10px 14px;
  grid-template-columns: 42px minmax(0, 1fr) 34px;
  gap: 13px;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(230,183,93,.55);
  color: inherit;
  background:
    radial-gradient(circle at 10% 50%, rgba(230,183,93,.14), transparent 34%),
    linear-gradient(100deg, rgba(10,34,46,.97), rgba(3,17,29,.95));
  box-shadow: inset 0 0 0 4px rgba(3,16,29,.8), 0 15px 34px rgba(0,0,0,.25);
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.home-archiver-link::before,
.home-archiver-link::after {
  position: absolute;
  width: 17px;
  height: 17px;
  border-color: rgba(255,217,145,.7);
  content: "";
  pointer-events: none;
}

.home-archiver-link::before {
  top: 6px;
  left: 6px;
  border-top: 1px solid;
  border-left: 1px solid;
}

.home-archiver-link::after {
  right: 6px;
  bottom: 6px;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.home-archiver-link:hover,
.home-archiver-link:focus-visible {
  border-color: #f0c76f;
  box-shadow: inset 0 0 0 4px rgba(3,16,29,.8), 0 18px 38px rgba(0,0,0,.3), 0 0 22px rgba(230,183,93,.12);
  transform: translateY(-2px);
}

.home-archiver-link:focus-visible {
  outline: 2px solid #f0c76f;
  outline-offset: 4px;
}

.home-archiver-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(230,183,93,.58);
  border-radius: 50%;
  color: #f0cb76;
  background: rgba(230,183,93,.08);
  font: 800 .56rem/1 Arial, Helvetica, sans-serif;
  letter-spacing: .06em;
  box-shadow: inset 0 0 12px rgba(230,183,93,.07);
}

.home-archiver-copy small,
.home-archiver-copy strong { display: block; }

.home-archiver-copy small {
  color: #78cfc8;
  font: 800 .56rem/1 Arial, Helvetica, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.home-archiver-copy strong {
  margin-top: 5px;
  color: #ecd18b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  line-height: 1;
}

.home-archiver-arrow {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(230,183,93,.55);
  border-radius: 50%;
  color: #efc76e;
  font-size: .94rem;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.home-archiver-link:hover .home-archiver-arrow {
  color: #071626;
  background: #efc76e;
  transform: translate(2px, -2px);
}

@media (min-width: 1181px) and (max-width: 1500px), (max-width: 1180px) {
  .home-archiver-link {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(410px, calc(100% - 48px));
    margin: 18px 24px 0 auto;
  }
}

@media (max-width: 620px) {
  .home-archiver-link {
    width: calc(100% - 28px);
    margin-right: auto;
    margin-left: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-archiver-link,
  .home-archiver-arrow { transition: none; }
}

/* ================================================================
   Patch v38 — Справочник новичка и гайд по меридианам
   ================================================================ */

.beginner-directory-page { min-height: calc(100vh - 178px); }

.beginner-directory-grid {
  grid-template-columns: minmax(280px, 620px);
  justify-content: center;
}

.beginner-meridian-card {
  min-height: 210px;
  grid-template-columns: 126px 1fr auto;
  align-items: center;
}

.beginner-card-icon {
  display: grid;
  width: 112px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(230,183,93,.43);
  background: radial-gradient(circle, rgba(36,204,220,.12), rgba(3,17,29,.7) 68%);
  box-shadow: inset 0 0 30px rgba(23,195,210,.08);
}

.beginner-card-icon img { width: 92px; height: 92px; }

.meridian-guide-page {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding-top: 32px;
  padding-bottom: 70px;
}

.inner-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 22px;
  color: #8fa5b5;
  font-size: .8rem;
  letter-spacing: .04em;
}

.inner-breadcrumb a { color: #d0b16d; text-decoration: none; }
.inner-breadcrumb a:hover { color: #f4d687; }

.meridian-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 230px;
  gap: 42px;
  align-items: center;
  min-height: 300px;
  padding: 46px 56px;
  overflow: hidden;
  border: 1px solid rgba(230,183,93,.43);
  background: linear-gradient(120deg, rgba(3,20,34,.97), rgba(6,37,52,.91));
  box-shadow: 0 24px 64px rgba(0,0,0,.26), inset 0 0 60px rgba(24,189,206,.04);
}

.meridian-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 82% 48%, rgba(31,205,216,.13), transparent 28%), linear-gradient(90deg, rgba(230,183,93,.16), transparent 1px);
  background-size: auto, 68px 100%;
  opacity: .72;
}

.meridian-hero-copy, .meridian-hero-icon { position: relative; z-index: 1; }

.meridian-hero h1 {
  margin: 8px 0 18px;
  color: #f4d58d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: .98;
  text-shadow: 0 0 20px rgba(230,183,93,.25);
}

.meridian-hero p:last-child {
  max-width: 820px;
  margin: 0;
  color: #c4d0d7;
  font-size: 1rem;
  line-height: 1.8;
}

.meridian-hero-icon { width: 210px; filter: drop-shadow(0 0 24px rgba(54,224,229,.2)); }

.meridian-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 18px;
  align-items: center;
  margin: 28px 0 62px;
}

.meridian-flow-step {
  display: grid;
  grid-template-columns: 68px 1fr;
  grid-template-rows: auto auto;
  gap: 3px 14px;
  align-items: center;
  min-height: 104px;
  padding: 17px 19px;
  border: 1px solid rgba(56,204,214,.25);
  background: rgba(3,22,35,.72);
}

.meridian-flow-step svg { grid-row: 1 / 3; width: 68px; fill: none; stroke: #4ddce2; stroke-width: 2; }
.meridian-flow-step svg g { fill: #f0c86d; stroke: none; }
.meridian-flow-step strong { color: #ead093; font-family: Georgia, serif; font-size: 1.06rem; }
.meridian-flow-step span { color: #92a8b5; font-size: .82rem; line-height: 1.45; }
.meridian-flow-arrow { color: #d5ad55; font-size: 1.45rem; }

.meridian-section { margin-top: 70px; scroll-margin-top: 90px; }

.meridian-section-heading { margin-bottom: 26px; }
.meridian-section-heading p {
  margin: 0 0 8px;
  color: #50d0d7;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.meridian-section-heading h2 {
  margin: 0;
  color: #efd18b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 2.85rem);
  line-height: 1.08;
}

.meridian-basics-grid, .meridian-compare-grid, .meridian-yinyang-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.meridian-info-card, .meridian-compare-grid article, .meridian-card-grid article, .meridian-list-cards article, .meridian-yinyang-grid article {
  border: 1px solid rgba(230,183,93,.29);
  background: linear-gradient(145deg, rgba(4,26,42,.9), rgba(3,18,30,.86));
}

.meridian-info-card { position: relative; min-height: 230px; padding: 34px; overflow: hidden; }
.meridian-info-card::after { content: ""; position: absolute; right: -42px; bottom: -42px; width: 130px; height: 130px; border: 1px solid rgba(57,212,220,.13); border-radius: 50%; }
.meridian-card-number { display: block; margin-bottom: 18px; color: #50dbe0; font-family: Georgia, serif; font-size: 2rem; }
.meridian-info-card h3, .meridian-compare-grid h3, .meridian-list-cards h3 { margin: 0 0 12px; color: #ebcf8b; font-family: Georgia, serif; }
.meridian-info-card p, .meridian-compare-grid p, .meridian-card-grid p, .meridian-list-cards p, .meridian-yinyang-grid p, .meridian-hidden-block p { margin: 0; color: #abbcc6; line-height: 1.7; }
.meridian-info-card p + p, .meridian-yinyang-grid p + p, .meridian-hidden-block p + p { margin-top: 12px; }
.meridian-note { color: #6fd8da !important; }

.meridian-callout {
  display: flex;
  gap: 16px 30px;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding: 21px 27px;
  border-left: 3px solid #e3b85d;
  background: rgba(227,184,93,.075);
}

.meridian-callout strong { color: #f1d592; }
.meridian-callout span { color: #91a7b4; font-size: .85rem; }

.meridian-type-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 24px; }
.meridian-type-strip > span { display: grid; min-height: 76px; place-items: center; padding: 12px; border: 1px solid; font-family: Georgia, serif; font-size: 1.12rem; font-weight: 700; text-align: center; }
.meridian-type-strip small { display: block; margin-top: 3px; font-family: Arial, sans-serif; font-size: .57rem; font-weight: 400; opacity: .7; }
.type-yin { border-color: #7971d7 !important; color: #bcb9ff; background: rgba(73,59,151,.16); }
.type-zhen { border-color: #50aee0 !important; color: #9bdbff; background: rgba(37,134,180,.14); }
.type-yang { border-color: #e9a53f !important; color: #ffd18a; background: rgba(191,108,24,.14); }
.type-masculine { border-color: #d05e4e !important; color: #ffada0; background: rgba(171,57,44,.14); }
.type-external { border-color: #64727c !important; color: #9aa6ae; background: rgba(110,126,135,.08); }

.meridian-section > p { color: #aebec7; line-height: 1.75; }
.meridian-compare-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 25px; }
.meridian-compare-grid article { padding: 24px; }

.meridian-defense-map { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 20px; border: 1px solid rgba(230,183,93,.25); background: rgba(230,183,93,.22); }
.meridian-defense-map div { padding: 18px; background: #071c2c; text-align: center; }
.meridian-defense-map span { display: block; margin-bottom: 6px; color: #52ccd2; font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; }
.meridian-defense-map strong { color: #e8cd8c; font-size: .9rem; }

.meridian-subtitle { margin: 32px 0 16px; color: #cedde3; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; }
.meridian-card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.meridian-card-grid-five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.meridian-card-grid article { padding: 23px; }
.meridian-card-grid h4 { margin: 0 0 10px; color: #efd18b; font-family: Georgia, serif; font-size: 1.1rem; }
.meridian-inline-tip { margin-top: 18px; padding: 16px 20px; border: 1px solid rgba(63,211,219,.26); color: #9fb4bd; background: rgba(34,183,195,.06); }
.meridian-inline-tip strong { color: #55d8dd; }

.meridian-split-section { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.meridian-section-intro { min-height: 54px; color: #94a8b3; line-height: 1.6; }
.meridian-list-cards { display: grid; gap: 10px; }
.meridian-list-cards article { padding: 20px 22px; }
.meridian-list-cards h3 { font-size: 1.02rem; }

.meridian-jianghu { position: relative; padding: 46px; border: 1px solid rgba(230,183,93,.34); background: rgba(3,19,31,.74); overflow: hidden; }
.meridian-yinyang-visual { position: absolute; top: 20px; right: 28px; width: 190px; opacity: .18; }
.meridian-yinyang-visual svg { width: 100%; fill: none; stroke: #59d9de; stroke-width: 2; }
.meridian-yinyang-grid article { position: relative; min-height: 270px; padding: 34px; overflow: hidden; }
.meridian-yinyang-grid article > span { position: absolute; right: 18px; top: 3px; color: rgba(255,255,255,.055); font-family: Georgia, serif; font-size: 6rem; line-height: 1; }
.meridian-yinyang-grid h3 { margin: 0 0 16px; color: #edcf88; font-family: Georgia, serif; font-size: 1.35rem; }
.yin-card { box-shadow: inset 3px 0 #665dca; }
.yang-card { box-shadow: inset 3px 0 #d99137; }
.meridian-hidden-block { margin-top: 28px; padding: 28px 30px; border-top: 1px solid rgba(86,209,215,.24); }
.meridian-hidden-block h3 { margin: 0 0 13px; color: #62d8dd; font-family: Georgia, serif; font-size: 1.35rem; }

.meridian-back-link { display: inline-flex; gap: 10px; align-items: center; margin-top: 34px; color: #e5c678; font-size: .84rem; font-weight: 700; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
.meridian-back-link:hover { color: #5edce0; }

@media (max-width: 1080px) {
  .meridian-flow { grid-template-columns: 1fr; }
  .meridian-flow-arrow { transform: rotate(90deg); justify-self: center; }
  .meridian-card-grid, .meridian-card-grid-five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .meridian-compare-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .meridian-guide-page { width: min(100% - 24px, 1240px); padding-top: 20px; }
  .meridian-hero { grid-template-columns: 1fr; padding: 34px 24px; }
  .meridian-hero-icon { width: 140px; justify-self: center; }
  .meridian-basics-grid, .meridian-yinyang-grid, .meridian-split-section { grid-template-columns: 1fr; }
  .meridian-type-strip { grid-template-columns: repeat(2, 1fr); }
  .type-external { grid-column: 1 / -1; }
  .meridian-defense-map { grid-template-columns: repeat(2, 1fr); }
  .meridian-jianghu { padding: 30px 18px; }
  .meridian-yinyang-visual { display: none; }
  .meridian-callout { align-items: flex-start; flex-direction: column; }
  .beginner-meridian-card { grid-template-columns: 82px 1fr; }
  .beginner-card-icon { width: 74px; }
  .beginner-card-icon img { width: 64px; height: 64px; }
  .beginner-meridian-card .directory-action { grid-column: 1 / -1; }
}

@media (max-width: 500px) {
  .meridian-card-grid, .meridian-card-grid-five { grid-template-columns: 1fr; }
  .meridian-flow-step { grid-template-columns: 54px 1fr; }
  .meridian-flow-step svg { width: 54px; }
  .meridian-defense-map { grid-template-columns: 1fr; }
  .meridian-info-card, .meridian-yinyang-grid article { padding: 25px 22px; }
}

/* ================================================================
   Patch v39 — Английский патч на странице регистрации
   ================================================================ */

.registration-english-patch {
  margin-top: 10px;
  padding: 24px;
  border: 1px solid rgba(72,201,210,.28);
  background: linear-gradient(145deg, rgba(4,29,44,.92), rgba(3,18,30,.9));
  box-shadow: inset 0 0 38px rgba(49,194,206,.035);
}

.registration-english-patch > header {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
}

.registration-patch-badge {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(81,215,220,.55);
  color: #8ce9e7;
  background: rgba(30,177,191,.08);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 700;
}

.registration-english-patch header small {
  color: #62cdd1;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.registration-english-patch header h3 {
  margin: 3px 0 0;
  color: #efd18b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.registration-english-patch > p {
  margin: 0 0 18px;
  color: #aec0c8;
  font-size: .9rem;
  line-height: 1.68;
}

.registration-patch-preview {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(230,183,93,.29);
  color: #e7ca83;
  background: #061a29;
  text-decoration: none;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.registration-patch-preview:hover {
  border-color: rgba(230,183,93,.72);
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
  transform: translateY(-2px);
}

.registration-patch-preview img {
  display: block;
  width: 100%;
  max-height: 285px;
  object-fit: cover;
  object-position: center;
}

.registration-patch-preview > span {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  font-size: .8rem;
  font-weight: 700;
  line-height: 1.4;
}

.registration-patch-preview b { color: #5cdae0; font-size: 1rem; }

.registration-install-guide {
  margin-top: 18px;
  padding: 20px;
  border-left: 2px solid rgba(83,211,217,.57);
  background: rgba(25,130,145,.055);
}

.registration-install-guide h4 {
  margin: 0 0 14px;
  color: #e8cc89;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.02rem;
}

.registration-install-guide ol {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 22px;
  color: #aebfc7;
  font-size: .82rem;
  line-height: 1.55;
}

.registration-install-guide li::marker { color: #50ced5; font-weight: 700; }

.registration-install-guide code {
  padding: 2px 5px;
  border: 1px solid rgba(77,204,211,.22);
  color: #89e1e1;
  background: rgba(5,17,27,.65);
  font-size: .78rem;
  user-select: text;
}

.registration-admin-warning {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
  padding: 15px 17px;
  border: 1px solid rgba(235,90,66,.42);
  background: rgba(170,42,27,.09);
}

.registration-admin-warning > span {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255,120,93,.58);
  border-radius: 50%;
  color: #ff9c83;
  font-weight: 800;
}

.registration-admin-warning p { margin: 0; color: #d8c1ba; font-size: .82rem; line-height: 1.5; }
.registration-admin-warning strong { color: #ff9c83; }

@media (max-width: 620px) {
  .registration-english-patch { padding: 18px 14px; }
  .registration-patch-preview img { max-height: 220px; }
  .registration-install-guide { padding: 17px 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .registration-patch-preview { transition: none; }
}

/* ================================================================
   Patch v41 — новая версия гайда по акупунктуре
   ================================================================ */

.acupuncture-guide-page {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 32px 0 72px;
}

.acupuncture-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 48px;
  align-items: center;
  min-height: 335px;
  padding: 48px 58px;
  overflow: hidden;
  border: 1px solid rgba(230,183,93,.44);
  background:
    radial-gradient(circle at 82% 48%, rgba(45,213,218,.15), transparent 25%),
    linear-gradient(125deg, rgba(3,24,39,.98), rgba(5,43,54,.92));
  box-shadow: 0 25px 65px rgba(0,0,0,.28), inset 0 0 75px rgba(36,202,213,.04);
}

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

.acupuncture-hero::before {
  inset: 15px;
  border: 1px solid rgba(230,183,93,.1);
}

.acupuncture-hero::after {
  top: -110px;
  right: -70px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(74,216,222,.15);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(74,216,222,.025), 0 0 0 68px rgba(230,183,93,.025);
}

.acupuncture-hero-copy,
.acupuncture-hero > img { position: relative; z-index: 1; }

.acupuncture-hero h1 {
  max-width: 790px;
  margin: 8px 0 18px;
  color: #f1d28b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 4.4vw, 4.25rem);
  line-height: 1.04;
  text-shadow: 0 0 24px rgba(229,181,85,.18);
}

.acupuncture-byline { margin: 0; color: #a9bdc5; font-size: .92rem; line-height: 1.6; }

.acupuncture-author {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin: 22px 0 0;
  padding: 8px 13px;
  border-left: 2px solid #45cbd1;
  background: rgba(44,190,201,.06);
}

.acupuncture-author span { color: #7f969f; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.acupuncture-author strong { color: #65dde0; font-family: Georgia, serif; font-size: 1rem; }
.acupuncture-hero > img { width: 210px; filter: drop-shadow(0 0 25px rgba(48,216,222,.24)); }

.acupuncture-intro,
.acupuncture-section { margin-top: 68px; scroll-margin-top: 90px; }

.acupuncture-section-heading {
  display: flex;
  gap: 17px;
  align-items: center;
  margin-bottom: 28px;
}

.acupuncture-section-heading > span {
  display: grid;
  width: 45px;
  height: 45px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(73,211,217,.44);
  color: #5ad7dc;
  background: rgba(34,167,181,.06);
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.acupuncture-section-heading p {
  margin: 0 0 5px;
  color: #55cdd2;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.acupuncture-section-heading h2 {
  margin: 0;
  color: #efd08a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 3.3vw, 2.8rem);
  line-height: 1.05;
}

.acupuncture-prose {
  display: grid;
  gap: 17px;
}

.acupuncture-prose p,
.acupuncture-section-lead {
  margin: 0;
  color: #aebfc7;
  font-size: .94rem;
  line-height: 1.78;
}

.acupuncture-prose strong,
.acupuncture-section-lead strong { color: #e7cd8d; }

.acupuncture-limit-callout {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  align-items: center;
  margin-top: 25px;
  padding: 23px 28px;
  border: 1px solid rgba(230,183,93,.28);
  border-left: 3px solid #d9ad53;
  background: linear-gradient(90deg, rgba(217,173,83,.095), rgba(8,34,46,.4));
}

.acupuncture-limit-value {
  color: #f0cf7e;
  font-family: Georgia, serif;
  font-size: 2.35rem;
  font-weight: 700;
  text-align: center;
}

.acupuncture-limit-value i { margin: 0 8px; color: #55d4d9; font-size: 1.2rem; font-style: normal; }
.acupuncture-limit-callout p { margin: 0; color: #b5c5cc; line-height: 1.65; }

.acupuncture-concepts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.acupuncture-concepts-grid article {
  position: relative;
  min-height: 180px;
  padding: 25px 23px;
  overflow: hidden;
  border: 1px solid rgba(230,183,93,.24);
  background: linear-gradient(145deg, rgba(5,29,44,.91), rgba(3,18,29,.88));
}

.acupuncture-concepts-grid article > span {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  margin-bottom: 16px;
  border: 1px solid rgba(72,207,214,.36);
  color: #66d8dc;
  font-size: .61rem;
  font-weight: 800;
}

.acupuncture-concepts-grid h3,
.qi-boosts h3,
.qi-sources-list h3 {
  margin: 0 0 9px;
  color: #e9cd89;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
}

.acupuncture-concepts-grid p,
.qi-boosts p,
.qi-sources-list p {
  margin: 0;
  color: #9fb2bc;
  font-size: .82rem;
  line-height: 1.62;
}

.acupuncture-slot-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 16px;
  border: 1px solid rgba(77,207,213,.25);
  background: rgba(77,207,213,.2);
}

.acupuncture-slot-summary > div {
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 18px 22px;
  background: #071d2d;
}

.acupuncture-slot-summary strong { color: #62dce0; font-family: Georgia, serif; font-size: 1.65rem; }
.acupuncture-slot-summary span { color: #a5b8c1; font-size: .8rem; line-height: 1.4; }

.acupuncture-art-note {
  margin-top: 16px;
  padding: 19px 22px;
  border-left: 2px solid #5ed7dc;
  color: #aebfc6;
  background: rgba(51,188,198,.055);
  font-size: .86rem;
  line-height: 1.65;
}

.acupuncture-art-note strong { color: #72e0e2; }

.qi-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 235px;
  gap: 22px;
}

.qi-reserve-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 210px;
  padding: 22px;
  border: 1px solid rgba(230,183,93,.32);
  background: radial-gradient(circle, rgba(221,176,76,.09), rgba(3,20,32,.82) 67%);
  text-align: center;
}

.qi-reserve-card > span { color: #efd078; font-family: Georgia, serif; font-size: 3.2rem; line-height: .9; }
.qi-reserve-card > strong { margin-top: 5px; color: #56d4d9; font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; }
.qi-reserve-card p { margin: 15px 0 0; color: #96aab4; font-size: .76rem; line-height: 1.55; }

.qi-boosts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  margin-top: 22px;
}

.qi-boosts article {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 17px;
  align-items: center;
  padding: 22px;
  border: 1px solid rgba(73,208,215,.26);
  background: rgba(4,27,41,.78);
}

.qi-boosts article > span { color: #5edce0; font-family: Georgia, serif; font-size: 1.7rem; font-weight: 700; text-align: center; }

.acupuncture-section-lead { margin-bottom: 22px; }

.qi-sources-list { display: grid; gap: 11px; }

.qi-sources-list article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  align-items: center;
  padding: 21px 24px;
  border: 1px solid rgba(230,183,93,.2);
  background: linear-gradient(90deg, rgba(5,29,44,.87), rgba(3,20,32,.74));
}

.qi-sources-list article > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(70,202,210,.32);
  color: #5cd4d9;
  font-size: .66rem;
  font-weight: 800;
}

.qi-sources-list .qi-source-featured {
  grid-template-columns: 86px 1fr;
  border-color: rgba(230,183,93,.42);
  background: linear-gradient(90deg, rgba(142,103,24,.12), rgba(4,28,42,.87));
}

.qi-source-featured img {
  width: 70px;
  height: 70px;
  image-rendering: auto;
  border: 1px solid rgba(230,183,93,.35);
  box-shadow: 0 8px 22px rgba(0,0,0,.28);
}

.ganoderma-table-wrap {
  margin-top: 24px;
  overflow-x: auto;
  border: 1px solid rgba(230,183,93,.3);
  background: #061a29;
}

.ganoderma-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.ganoderma-table th {
  padding: 15px 20px;
  border-bottom: 1px solid rgba(230,183,93,.32);
  color: #d9b965;
  background: rgba(230,183,93,.065);
  font-size: .66rem;
  letter-spacing: .14em;
  text-align: left;
  text-transform: uppercase;
}

.ganoderma-table th:nth-child(2),
.ganoderma-table td:nth-child(2) { width: 120px; text-align: center; }

.ganoderma-table td {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(100,158,173,.14);
  color: #b8c6cc;
  font-size: .86rem;
}

.ganoderma-table tbody tr:last-child td { border-bottom: 0; }
.ganoderma-table tbody tr:hover { background: rgba(62,192,202,.045); }

.ganoderma-table img {
  display: block;
  width: 62px;
  height: 62px;
  margin: 0 auto;
  border: 1px solid rgba(230,183,93,.28);
  box-shadow: 0 5px 14px rgba(0,0,0,.27);
}

.ganoderma-table td strong { display: block; color: #6edbde; font-size: .9rem; }
.ganoderma-table td span { display: block; margin-top: 4px; color: #849aa5; font-size: .72rem; }

.ganoderma-location-note {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
  padding: 21px 23px;
  border: 1px solid rgba(78,207,214,.25);
  background: rgba(39,166,181,.055);
}

.ganoderma-location-note > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(75,213,219,.42);
  border-radius: 50%;
  color: #5ed7dc;
  font-size: 1.1rem;
}

.ganoderma-location-note strong { color: #e8cb87; font-family: Georgia, serif; }
.ganoderma-location-note p { margin: 5px 0 0; color: #a7b9c1; font-size: .83rem; line-height: 1.62; }
.ganoderma-location-note b { color: #65d7dc; }

@media (max-width: 900px) {
  .acupuncture-concepts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .acupuncture-guide-page { width: min(100% - 24px, 1180px); padding-top: 20px; }
  .acupuncture-hero { grid-template-columns: 1fr; gap: 25px; padding: 36px 25px; }
  .acupuncture-hero > img { width: 145px; justify-self: center; }
  .acupuncture-limit-callout { grid-template-columns: 1fr; gap: 12px; }
  .qi-overview-grid, .qi-boosts { grid-template-columns: 1fr; }
  .acupuncture-concepts-grid { grid-template-columns: 1fr; }
  .acupuncture-slot-summary { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .acupuncture-section-heading { align-items: flex-start; }
  .acupuncture-hero h1 br { display: none; }
  .qi-sources-list article,
  .qi-sources-list .qi-source-featured { grid-template-columns: 1fr; }
  .qi-source-featured img { width: 64px; height: 64px; }
  .qi-boosts article { grid-template-columns: 60px 1fr; padding: 18px 15px; }
  .ganoderma-location-note { grid-template-columns: 1fr; }
}

/* ================================================================
   Patch v42 — «Остальное», пустые страницы и категория «Мебель»
   ================================================================ */

.utility-row .collection-entry:nth-child(3) { animation-delay: 690ms; }

.utility-row .other-entry .collection-entry-copy {
  display: block;
}

.utility-row .other-entry .card-kicker { display: block; margin-bottom: 8px; }
.utility-row .other-entry h2 { margin: 0 0 10px; }
.utility-row .other-entry p { max-width: 310px; margin: 0; font-size: .82rem; line-height: 1.45; }

@media (min-width: 1181px) {
  .utility-row {
    width: 100%;
    grid-template-columns: minmax(560px, 3fr) minmax(300px, 2fr);
    align-items: start;
  }

  .utility-row > .collection-entry:first-child { grid-row: 1; grid-column: 1; }
  .utility-row > .game-content-entry { grid-row: 2; grid-column: 1; }
  .utility-row > .other-entry { grid-row: 1; grid-column: 2; }
}

.other-entry {
  background:
    radial-gradient(circle at 0 0, rgba(67,206,210,.1), transparent 39%),
    linear-gradient(135deg, rgba(4,27,42,.94), rgba(3,17,29,.91));
}

.other-entry::before,
.other-entry::after { border-color: rgba(76,210,215,.62); }

.other-directory-page { min-height: calc(100svh - 170px); }

.other-directory-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.other-directory-card {
  grid-template-columns: 82px minmax(0, 1fr);
  min-height: 210px;
  align-items: center;
}

.other-directory-icon {
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  border: 1px solid rgba(230,183,93,.48);
  color: #f0cc78;
  background:
    radial-gradient(circle, rgba(230,183,93,.14), transparent 68%),
    rgba(3,20,33,.76);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  text-shadow: 0 0 14px rgba(230,183,93,.34);
}

.other-directory-card .directory-action { grid-column: 1 / -1; }

.item-type-furniture {
  border-color: rgba(78,205,212,.4);
  background:
    radial-gradient(circle at 0 0, rgba(62,202,210,.11), transparent 43%),
    rgba(3,19,32,.82);
}

.empty-section-page {
  width: min(1120px, calc(100% - 40px));
  min-height: calc(100svh - 150px);
  margin: 0 auto;
  padding: 32px 0 70px;
  align-items: stretch;
}

.empty-section-header {
  position: relative;
  display: flex;
  min-height: 390px;
  padding: 55px 40px;
  overflow: hidden;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(230,183,93,.37);
  background:
    radial-gradient(circle at 50% 25%, rgba(62,204,211,.1), transparent 30%),
    linear-gradient(145deg, rgba(4,25,40,.92), rgba(2,15,27,.88));
  text-align: center;
}

.empty-section-header::before,
.empty-section-header::after {
  position: absolute;
  width: 52px;
  height: 52px;
  border-color: rgba(230,183,93,.62);
  content: "";
}

.empty-section-header::before { top: 12px; left: 12px; border-top: 1px solid; border-left: 1px solid; }
.empty-section-header::after { right: 12px; bottom: 12px; border-right: 1px solid; border-bottom: 1px solid; }

.empty-section-mark {
  display: grid;
  width: 84px;
  height: 84px;
  place-items: center;
  margin-bottom: 22px;
  border: 1px solid rgba(78,210,216,.46);
  border-radius: 50%;
  color: #efc96e;
  background: rgba(50,181,191,.055);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.05rem;
  box-shadow: 0 0 28px rgba(52,205,213,.08);
}

.furniture-mark { border-color: rgba(230,183,93,.5); }

.empty-section-header h1 {
  margin: 8px 0 14px;
  color: #f1d18a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 6vw, 4.7rem);
  line-height: .98;
  text-shadow: 0 0 22px rgba(230,183,93,.18);
}

.empty-section-header > p:last-child {
  margin: 0;
  color: #8fa5b0;
  font-size: .84rem;
}

@media (max-width: 980px) {
  .other-directory-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .other-directory-card { grid-template-columns: 64px minmax(0, 1fr); }
  .other-directory-icon { width: 56px; height: 56px; font-size: 1.45rem; }
  .empty-section-page { width: calc(100% - 24px); padding-top: 20px; }
  .empty-section-header { min-height: 330px; padding: 40px 20px; }
}

/* ================================================================
   Patch v43 — игровые иконки раздела «Остальное»
   ================================================================ */

.other-directory-icon {
  width: 78px;
  height: 78px;
  overflow: visible;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 0 24px rgba(45,204,211,.1);
}

.other-directory-icon img,
.empty-section-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.other-directory-card:hover .other-directory-icon img,
.other-directory-card:focus-visible .other-directory-icon img {
  filter: brightness(1.08) drop-shadow(0 0 7px rgba(78,215,220,.22));
}

.empty-section-mark {
  width: 104px;
  height: 104px;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}

@media (max-width: 620px) {
  .other-directory-icon { width: 60px; height: 60px; }
  .empty-section-mark { width: 88px; height: 88px; }
}

/* ================================================================
   Patch v45 — разделы хранилища предметов
   ================================================================ */

.storage-directory-page { min-height: calc(100svh - 150px); }

.storage-option-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.storage-option-grid .furniture-option { grid-column: 2; }

.furniture-icon,
.furniture-page-icon {
  background-image: url("assets/furniture-icon.svg?v=45");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.dish-page-icon {
  background-image: url("assets/dish-icon.png?v=6");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.empty-section-image {
  border: 0;
  background-color: transparent;
  box-shadow: none;
}

.artifact-type-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.artifact-empty-section {
  min-height: 190px;
  display: flex;
  align-items: center;
}

@media (max-width: 1000px) {
  .storage-option-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .storage-option-grid .furniture-option { grid-column: auto; }
}

@media (max-width: 720px) {
  .storage-option-grid,
  .artifact-type-nav { grid-template-columns: 1fr; }
}

/* ================================================================
   Patch v46 — каталоги артефактов и телепортация
   ================================================================ */

.storage-option-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.storage-option-grid > .collection-option { grid-column: span 2; }
.storage-option-grid .furniture-option { grid-column: 2 / span 2; }
.storage-option-grid .teleportation-option { grid-column: 4 / span 2; }

.artifact-directory-grid {
  width: min(820px, 100%);
  margin-right: auto;
  margin-left: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.type-directory-grid { align-items: stretch; }
.type-placeholder { cursor: default; user-select: none; }
.type-placeholder:hover { transform: none; border-color: rgba(230,183,93,.38); box-shadow: none; }

.teleportation-icon,
.teleportation-page-icon {
  background-image: url("assets/teleportation-icon.svg?v=46");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

@media (max-width: 1000px) {
  .storage-option-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .storage-option-grid > .collection-option,
  .storage-option-grid .furniture-option,
  .storage-option-grid .teleportation-option { grid-column: auto; }
}

@media (max-width: 720px) {
  .storage-option-grid,
  .artifact-directory-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   Patch v47 — предмет «Живописный Шелк»
   ================================================================ */

.appearance-catalog-grid {
  grid-template-columns: repeat(auto-fill, minmax(280px, 380px));
}

.appearance-item-card {
  min-height: 0;
  padding: 12px;
}

.appearance-item-image {
  display: block;
  width: 100%;
  aspect-ratio: 1012 / 1555;
  border: 1px solid rgba(230,183,93,.5);
  object-fit: contain;
  background: #071522;
  box-shadow: 0 12px 30px rgba(0,0,0,.3);
  pointer-events: none;
  user-select: none;
}

.appearance-item-content { padding: 18px 8px 8px; }

.appearance-item-content h3 {
  margin: 7px 0 0;
  color: #ffe5a0;
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  line-height: 1.08;
}

.appearance-item-content .catalog-item-code { margin-top: 18px; }

/* ================================================================
   Patch v48 — компактная сетка костюмов
   ================================================================ */

.appearance-catalog-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.appearance-item-card { padding: 8px; }

.appearance-item-content { padding: 13px 5px 5px; }

.appearance-item-content .card-kicker {
  font-size: .55rem;
  letter-spacing: .14em;
}

.appearance-item-content h3 {
  font-size: clamp(1.02rem, 1.5vw, 1.3rem);
  line-height: 1.12;
}

.appearance-item-content .catalog-item-code {
  display: grid;
  margin-top: 13px;
  padding-top: 10px;
  justify-content: stretch;
  gap: 7px;
}

.appearance-item-content .catalog-item-code code {
  overflow-wrap: anywhere;
  text-align: left;
}

@media (max-width: 1100px) {
  .appearance-catalog-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 850px) {
  .appearance-catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .appearance-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 360px) {
  .appearance-catalog-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   Patch v49 — гайд по Яшмовым Куклам
   ================================================================ */

.beginner-directory-grid {
  width: min(1120px, 100%);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.beginner-meridian-card,
.beginner-doll-card {
  min-height: 230px;
  grid-template-columns: 112px minmax(0, 1fr);
}

.beginner-meridian-card .directory-action,
.beginner-doll-card .directory-action { grid-column: 1 / -1; }

.beginner-doll-card {
  background:
    radial-gradient(circle at 12% 18%, rgba(69,193,158,.14), transparent 35%),
    linear-gradient(145deg, rgba(4,28,39,.95), rgba(2,16,28,.92));
}

.jade-doll-guide-page {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 32px 0 72px;
}

.jade-doll-hero {
  position: relative;
  display: grid;
  min-height: 330px;
  padding: 48px 58px;
  overflow: hidden;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 44px;
  border: 1px solid rgba(214,174,82,.43);
  background:
    radial-gradient(circle at 85% 35%, rgba(67,190,153,.16), transparent 28%),
    linear-gradient(140deg, rgba(4,27,39,.96), rgba(2,14,26,.92));
  box-shadow: inset 0 0 0 5px rgba(3,17,29,.72), 0 24px 48px rgba(0,0,0,.27);
}

.jade-doll-hero::before,
.jade-doll-hero::after {
  position: absolute;
  width: 64px;
  height: 64px;
  border-color: rgba(225,187,96,.62);
  content: "";
}

.jade-doll-hero::before { top: 14px; left: 14px; border-top: 1px solid; border-left: 1px solid; }
.jade-doll-hero::after { right: 14px; bottom: 14px; border-right: 1px solid; border-bottom: 1px solid; }

.jade-doll-hero h1 {
  margin: 8px 0 18px;
  color: #ffedb6;
  font-size: clamp(2.45rem, 5vw, 4.8rem);
  line-height: .98;
}

.jade-doll-hero > img { width: 220px; filter: drop-shadow(0 0 26px rgba(68,204,164,.2)); }
.jade-doll-byline { margin: 0; color: #aabac1; font: .82rem/1.45 Arial, sans-serif; }
.jade-doll-author { display: flex; margin: 13px 0 0; align-items: center; gap: 10px; }
.jade-doll-author span { color: #7f949d; font: 700 .58rem/1 Arial, sans-serif; letter-spacing: .15em; text-transform: uppercase; }
.jade-doll-author strong { color: #e8c56f; font: 700 .86rem/1 Arial, sans-serif; }

.jade-doll-intro,
.jade-doll-section {
  margin-top: 20px;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid rgba(214,174,82,.35);
  background: linear-gradient(145deg, rgba(4,24,38,.94), rgba(2,14,26,.9));
  box-shadow: inset 0 0 0 4px rgba(3,16,29,.72);
}

.jade-doll-section-heading {
  display: grid;
  padding-bottom: 20px;
  align-items: center;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  border-bottom: 1px solid rgba(214,174,82,.24);
}

.jade-doll-section-heading > span {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid rgba(79,198,163,.5);
  color: #8ce1bd;
  font: 700 .68rem/1 Arial, sans-serif;
}

.jade-doll-section-heading p { margin: 0 0 5px; color: #c89e4d; font: 700 .58rem/1 Arial, sans-serif; letter-spacing: .15em; text-transform: uppercase; }
.jade-doll-section-heading h2 { margin: 0; color: #ffedb6; font-size: clamp(1.8rem, 3.2vw, 3rem); line-height: 1; }

.jade-doll-intro-grid { display: grid; margin-top: 24px; align-items: stretch; grid-template-columns: minmax(0, 1fr) 310px; gap: 18px; }
.jade-doll-prose { color: #cbd5d9; font: .88rem/1.7 Arial, sans-serif; }
.jade-doll-prose p { margin: 0 0 14px; }
.jade-doll-prose strong { color: #f0cf7e; }
.jade-doll-voucher-note { padding: 22px; border-left: 3px solid #54b797; background: rgba(26,92,79,.22); }
.jade-doll-voucher-note strong { color: #94e1bf; font: 600 1.3rem/1.1 Georgia, serif; }
.jade-doll-voucher-note p { margin: 10px 0 0; color: #b8c8cc; font: .78rem/1.5 Arial, sans-serif; }

.jade-doll-actions-grid { display: grid; margin-top: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.jade-doll-actions-grid article { padding: 22px; border: 1px solid rgba(78,190,160,.3); background: rgba(3,27,37,.72); }
.jade-doll-actions-grid article > span { color: #63cba9; font: 700 .66rem/1 Arial, sans-serif; letter-spacing: .12em; }
.jade-doll-actions-grid h3 { margin: 10px 0 9px; color: #f1d184; font-size: 1.45rem; }
.jade-doll-actions-grid p { margin: 0; color: #acbdc4; font: .77rem/1.55 Arial, sans-serif; }

.jade-doll-cleaning-grid { display: grid; margin-top: 24px; align-items: center; grid-template-columns: minmax(280px, 480px) minmax(0, 1fr); gap: 32px; }
.jade-doll-cleaning-grid figure { margin: 0; padding: 10px; border: 1px solid rgba(214,174,82,.42); background: #071522; }
.jade-doll-cleaning-grid figure img { display: block; width: 100%; pointer-events: none; user-select: none; }
.jade-doll-cleaning-grid figcaption { padding: 10px 4px 2px; color: #83969f; font: .63rem/1.4 Arial, sans-serif; text-align: center; }
.jade-doll-journal-note { display: grid; padding: 24px; grid-template-columns: 46px 1fr; gap: 16px; border: 1px solid rgba(214,174,82,.33); background: rgba(67,46,13,.28); }
.jade-doll-journal-note > span { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid #d6aa51; border-radius: 50%; color: #f0ce78; font-weight: 700; }
.jade-doll-journal-note strong { color: #f1cf7b; font: 600 1.35rem/1.1 Georgia, serif; }
.jade-doll-journal-note p { margin: 9px 0 0; color: #bcc9ce; font: .8rem/1.6 Arial, sans-serif; }
.jade-doll-journal-note code { color: #82dbbb; }

.jade-doll-rules { display: grid; margin: 24px 0 0; padding: 0; gap: 12px; list-style: none; }
.jade-doll-rules li { display: grid; padding: 22px; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; border: 1px solid rgba(214,174,82,.25); background: rgba(3,25,38,.7); }
.jade-doll-rules li > span { display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid rgba(80,196,164,.46); color: #80d7b8; font: 700 .67rem/1 Arial, sans-serif; }
.jade-doll-rules h3 { margin: 1px 0 8px; color: #f2d184; font-size: 1.35rem; }
.jade-doll-rules p { margin: 0; color: #b7c5ca; font: .8rem/1.6 Arial, sans-serif; }

@media (max-width: 900px) {
  .beginner-directory-grid { grid-template-columns: 1fr; }
  .jade-doll-hero { grid-template-columns: 1fr 170px; padding: 40px 32px; }
  .jade-doll-hero > img { width: 165px; }
  .jade-doll-intro-grid,
  .jade-doll-cleaning-grid { grid-template-columns: 1fr; }
  .jade-doll-actions-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .jade-doll-guide-page { width: calc(100% - 24px); padding-top: 20px; }
  .jade-doll-hero { grid-template-columns: 1fr; padding: 34px 22px; text-align: center; }
  .jade-doll-hero > img { width: 138px; margin: 0 auto; grid-row: 1; }
  .jade-doll-author { justify-content: center; }
  .jade-doll-intro,
  .jade-doll-section { padding: 22px 17px; }
  .jade-doll-rules li { grid-template-columns: 42px minmax(0, 1fr); padding: 17px; gap: 12px; }
  .jade-doll-rules li > span { width: 40px; height: 40px; }
}

/* ================================================================
   Patch v50 — направления характеристик Яшмовых Кукол
   ================================================================ */

.jade-doll-intro-grid {
  grid-template-columns: minmax(0, 1fr) 138px 290px;
  align-items: center;
}

.jade-doll-item-card {
  margin: 0;
  padding: 13px;
  border: 1px solid rgba(78,194,160,.42);
  background: radial-gradient(circle, rgba(70,187,154,.12), rgba(3,20,31,.82));
  text-align: center;
}

.jade-doll-item-card img {
  display: block;
  width: 96px;
  height: 96px;
  margin: 0 auto;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  image-rendering: auto;
  filter: drop-shadow(0 7px 12px rgba(0,0,0,.35));
}

.jade-doll-item-card figcaption {
  margin-top: 9px;
  color: #8edbbb;
  font: 700 .58rem/1.25 Arial, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.jade-doll-builds-grid {
  display: grid;
  margin-top: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.jade-doll-builds-grid article {
  display: grid;
  min-height: 128px;
  padding: 20px;
  align-items: center;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 16px;
  border: 1px solid rgba(214,174,82,.29);
  background: rgba(3,25,38,.72);
}

.jade-doll-damage-mark {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid currentColor;
  font: 800 .65rem/1 Arial, sans-serif;
  letter-spacing: .06em;
  box-shadow: inset 0 0 18px rgba(255,255,255,.035);
}

.damage-external { color: #e0b965; }
.damage-zhen { color: #88d9e0; }
.damage-man { color: #91c894; }

.jade-doll-builds-grid h3 {
  margin: 0 0 8px;
  color: #f1d183;
  font-size: 1.25rem;
  line-height: 1.08;
}

.jade-doll-builds-grid p { margin: 0; color: #aebfc5; font: .76rem/1.45 Arial, sans-serif; }
.jade-doll-builds-grid strong { color: #d8e1e4; }

@media (max-width: 1000px) {
  .jade-doll-intro-grid { grid-template-columns: minmax(0, 1fr) 138px; }
  .jade-doll-voucher-note { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .jade-doll-builds-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .jade-doll-intro-grid { grid-template-columns: 1fr; }
  .jade-doll-item-card { width: 138px; justify-self: center; }
}

/* ================================================================
   Patch v51 — таблица характеристик Яшмовой Куклы
   ================================================================ */

.jade-doll-stats-warning {
  display: grid;
  margin-top: 24px;
  padding: 19px 22px;
  align-items: center;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 16px;
  border: 1px solid rgba(222,91,68,.56);
  border-left: 4px solid #d85d49;
  background: linear-gradient(90deg, rgba(112,34,25,.33), rgba(43,25,17,.18));
}

.jade-doll-stats-warning > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #e16c57;
  border-radius: 50%;
  color: #ff9a82;
  font-weight: 800;
}

.jade-doll-stats-warning strong { color: #ffb29e; font: 600 1.25rem/1.1 Georgia, serif; }
.jade-doll-stats-warning p { margin: 7px 0 0; color: #d7c2bb; font: .8rem/1.5 Arial, sans-serif; }

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

.jade-doll-stats-image {
  margin: 0;
  padding: 9px;
  border: 1px solid rgba(214,174,82,.4);
  background: #071522;
}

.jade-doll-stats-image img {
  display: block;
  width: 100%;
  pointer-events: none;
  user-select: none;
}

.jade-doll-stats-image figcaption {
  padding: 10px 4px 2px;
  color: #82959e;
  font: .62rem/1.35 Arial, sans-serif;
  text-align: center;
}

.jade-doll-stats-table-wrap { overflow-x: auto; border: 1px solid rgba(214,174,82,.31); }

.jade-doll-stats-table {
  width: 100%;
  border-collapse: collapse;
  color: #becbd0;
  background: rgba(3,22,34,.78);
  font: .72rem/1.35 Arial, sans-serif;
}

.jade-doll-stats-table th,
.jade-doll-stats-table td { padding: 10px 12px; border: 1px solid rgba(214,174,82,.17); text-align: left; }
.jade-doll-stats-table th { color: #e6c36f; background: rgba(72,49,13,.42); font-size: .59rem; letter-spacing: .1em; text-transform: uppercase; }
.jade-doll-stats-table td:first-child { width: 27%; color: #89d5b6; font-weight: 700; }
.jade-doll-stats-table td:last-child { width: 22%; color: #7fc6ab; font-size: .65rem; font-weight: 700; }
.jade-doll-stats-table tbody tr:hover { background: rgba(73,188,156,.055); }
.jade-doll-stats-table .stat-forbidden { background: rgba(117,37,27,.27); }
.jade-doll-stats-table .stat-forbidden td { color: #ef9a86; }
.jade-doll-stats-table .stat-forbidden td:last-child { color: #ff8069; }

@media (max-width: 900px) {
  .jade-doll-stats-layout { grid-template-columns: 1fr; }
  .jade-doll-stats-image { width: min(360px, 100%); justify-self: center; }
}

@media (max-width: 560px) {
  .jade-doll-stats-warning { grid-template-columns: 38px minmax(0, 1fr); padding: 16px; gap: 12px; }
  .jade-doll-stats-warning > span { width: 36px; height: 36px; }
  .jade-doll-stats-table { min-width: 650px; }
}

/* ================================================================
   Patch v53 — увеличенная таблица характеристик
   ================================================================ */

.jade-doll-stats-layout {
  grid-template-columns: 1fr;
  gap: 26px;
}

.jade-doll-stats-image {
  width: min(680px, 100%);
  justify-self: center;
}

.jade-doll-stats-table-wrap { width: 100%; }

/* v54: medium-size navigation cards, scoped to the two directories. */
.compact-home .home-content { width: min(1100px, calc(100% - 40px)); }
.compact-home .primary-guide {
  width: 100%;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.compact-home .primary-guide .guide-card-compact {
  min-height: 224px !important;
  padding: 16px 12px;
  gap: 8px;
}
.compact-home .primary-guide .guide-icon {
  width: 68px;
  height: 68px;
  flex-basis: 68px;
  margin: 0 auto;
}
.compact-home .primary-guide .guide-card-compact h2 {
  min-height: 2.3em;
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.15;
}
.compact-home .primary-guide .guide-card-compact p {
  min-height: 0;
  font-size: 14px;
  line-height: 1.4;
}
.compact-home .primary-guide .guide-action { font-size: 12px; letter-spacing: .03em; }
.compact-home .utility-row {
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.compact-home .utility-row > .collection-entry {
  grid-column: auto;
  grid-row: auto;
  min-height: 160px;
  padding: 20px;
  grid-template-columns: minmax(0, 1fr) 32px;
  gap: 12px;
}
.compact-home .utility-row .collection-entry-copy { display: block; }
.compact-home .utility-row .card-kicker { font-size: 12px; line-height: 1.35; letter-spacing: .06em; }
.compact-home .utility-row .collection-entry h2 { margin: 6px 0 10px; font-size: 22px; }
.compact-home .utility-row .collection-entry p { margin: 0; font-size: 14px; line-height: 1.4; }
.compact-home .utility-row .collection-arrow { width: 32px; height: 32px; font-size: 22px; }
.compact-home .home-support {
  position: relative;
  right: auto;
  bottom: auto;
  margin: 0 20px 22px auto;
}

.beginner-directory-page .beginner-directory-grid {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.beginner-directory-grid > .directory-card {
  grid-column: auto;
  min-height: 290px;
  padding: 22px;
  gap: 14px;
  flex-direction: column;
  text-align: center;
}
.beginner-directory-grid .beginner-card-icon { width: 84px; flex: 0 0 84px; }
.beginner-directory-grid .beginner-card-icon img { width: 72px; height: 72px; object-fit: contain; }
.beginner-directory-grid .directory-copy { align-items: center; }
.beginner-directory-grid .directory-card-kicker { font-size: 12px; line-height: 1.4; letter-spacing: .04em; }
.beginner-directory-grid .directory-card h2 { min-height: 0; margin: 6px 0 10px; font-size: 24px; }
.beginner-directory-grid .directory-card p { min-height: 0; margin: 0; font-size: 16px; line-height: 1.5; }
.beginner-directory-grid .directory-action { margin-top: auto; padding-top: 8px; font-size: 14px; }

@media (max-width: 1050px) {
  .compact-home .primary-guide { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .compact-home .primary-guide,
  .compact-home .utility-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .compact-home .primary-guide,
  .compact-home .utility-row,
  .beginner-directory-page .beginner-directory-grid { grid-template-columns: minmax(0, 1fr); }
  .compact-home .primary-guide .guide-card-compact { min-height: 210px !important; }
}
