/* TUDN landing — Codex-inspired, no SaaS glow */
@import url('https://fonts.googleapis.com/css2?family=Literata:ital,opsz,wght@0,7..72,400;0,7..72,600;0,7..72,700;1,7..72,400&family=Source+Sans+3:wght@400;600;700&display=swap');

:root {
  --bg: #0c0b0a;
  --bg2: #141210;
  --ink: #e6e0d4;
  --muted: #9a9184;
  --dim: #6b645a;
  --line: #2a2620;
  --gold: #c9a227;
  --gold-dim: #8a7018;
  --ferrox: #a8b0b8;
  --viridara: #4a7c59;
  --terragon: #b08968;
  --mareolis: #3d6b8a;
  --ignivar: #a63d2a;
  --max: 920px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Source Sans 3', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  line-height: 1.55;
  overflow-x: hidden;
}

/* subtle paper grain, not neon blobs */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background:
    radial-gradient(ellipse 70% 40% at 20% 0%, rgba(201,162,39,.07), transparent 55%),
    radial-gradient(ellipse 50% 30% at 100% 100%, rgba(166,61,42,.06), transparent 50%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(0,0,0,.03) 2px,
      rgba(0,0,0,.03) 3px
    );
}

.wrap {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}

/* header */
.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid var(--line);
}
.brand span {
  font-family: Literata, Georgia, serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 0.95rem;
}
.btn-out {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--bg);
  background: var(--gold);
  text-decoration: none;
  padding: 0.55rem 1rem;
  border-radius: 4px;
  border: 1px solid var(--gold-dim);
}
.btn-out:hover { filter: brightness(1.08); }

/* hero */
.hero {
  padding: 1.5rem 0 2.25rem;
  border-bottom: 1px solid var(--line);
}
.hero .mark {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin: 0 0 0.75rem;
  font-weight: 600;
}
.hero h1 {
  font-family: Literata, Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.65rem, 4.2vw, 2.35rem);
  line-height: 1.2;
  margin: 0 0 0.85rem;
  color: var(--ink);
  max-width: 18ch;
}
.hero .lead {
  margin: 0 0 0.75rem;
  color: var(--muted);
  max-width: 36rem;
  font-size: 1.05rem;
}
.hero .desc {
  margin: 0 0 1.5rem;
  color: var(--dim);
  max-width: 34rem;
  font-size: 0.95rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}
.btn-main {
  display: inline-block;
  background: var(--ink);
  color: var(--bg);
  font-weight: 700;
  text-decoration: none;
  padding: 0.7rem 1.25rem;
  border-radius: 4px;
  font-size: 0.95rem;
}
.btn-main:hover { background: #fff; }
.btn-ghost {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}
.btn-ghost:hover { color: var(--ink); }

/* cycle strip */
.cycle {
  margin: 2rem 0;
  padding: 1rem 0;
}
.cycle h2 {
  font-family: Literata, Georgia, serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  color: var(--ink);
}
.cycle .note {
  margin: 0 0 1rem;
  color: var(--dim);
  font-size: 0.88rem;
  max-width: 40rem;
}
.cycle-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.82rem;
  color: var(--muted);
}
.cycle-row .el {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--bg2);
}
.cycle-row .arrow {
  color: var(--dim);
  font-size: 0.75rem;
  padding: 0 0.15rem;
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}
.dot.m { background: var(--ferrox); }
.dot.w { background: var(--viridara); }
.dot.e { background: var(--terragon); }
.dot.a { background: var(--mareolis); }
.dot.f { background: var(--ignivar); }

/* houses */
.houses {
  margin: 2.25rem 0 1rem;
}
.houses > h2 {
  font-family: Literata, Georgia, serif;
  font-size: 1.15rem;
  margin: 0 0 0.4rem;
}
.houses > p {
  margin: 0 0 1.25rem;
  color: var(--dim);
  font-size: 0.9rem;
  max-width: 38rem;
}
.house-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}
.house {
  display: grid;
  grid-template-columns: 4px 1fr;
  gap: 0;
  border-bottom: 1px solid var(--line);
  padding: 0.9rem 0 0.9rem 0.85rem;
}
.house .bar { width: 3px; border-radius: 1px; margin-right: 0.75rem; }
.house.ferrox .bar { background: var(--ferrox); }
.house.viridara .bar { background: var(--viridara); }
.house.terragon .bar { background: var(--terragon); }
.house.mareolis .bar { background: var(--mareolis); }
.house.ignivar .bar { background: var(--ignivar); }
.house h3 {
  font-family: Literata, Georgia, serif;
  font-size: 1rem;
  margin: 0 0 0.2rem;
  font-weight: 600;
}
.house .motto {
  font-style: italic;
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0 0 0.35rem;
  font-family: Literata, Georgia, serif;
}
.house .body {
  margin: 0;
  color: var(--dim);
  font-size: 0.88rem;
  max-width: 36rem;
}

/* what is inside */
.modules {
  margin: 2.5rem 0 1rem;
}
.modules h2 {
  font-family: Literata, Georgia, serif;
  font-size: 1.15rem;
  margin: 0 0 1rem;
}
.mod-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .mod-grid { grid-template-columns: 1fr 1fr; }
}
.mod {
  padding: 1rem 1.05rem;
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 3px;
}
.mod h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}
.mod p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--dim);
}

/* how */
.how {
  margin: 2.5rem 0;
  padding: 1.25rem 1.1rem;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #151310 0%, var(--bg2) 100%);
  border-radius: 3px;
}
.how h2 {
  font-family: Literata, Georgia, serif;
  font-size: 1.1rem;
  margin: 0 0 0.85rem;
}
.how ol {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.how li { margin-bottom: 0.45rem; }
.how a { color: var(--gold); }

/* footer */
footer {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--dim);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
}
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--ink); }

.prophecy {
  margin: 2rem 0 0;
  padding: 1rem 0 0;
  border-top: 1px dashed var(--line);
  font-family: Literata, Georgia, serif;
  font-style: italic;
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 34rem;
  line-height: 1.65;
}
.prophecy cite {
  display: block;
  margin-top: 0.5rem;
  font-style: normal;
  font-size: 0.75rem;
  color: var(--dim);
  letter-spacing: 0.04em;
}


/* closed superiority cycle */
.cycle-ring {
  position: relative;
  width: min(380px, 92vw);
  height: min(380px, 92vw);
  margin: 36px auto 16px;
}
.cycle-center {
  position: absolute;
  inset: 50%;
  transform: translate(-50%, -50%);
  width: 96px;
  height: 96px;
  z-index: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #2a3144, #12151e);
  border: 1px solid #3a4258;
  display: grid;
  place-items: center;
  text-align: center;
  color: #c9b27a;
  font-size: .72rem;
  line-height: 1.25;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: 0 0 24px rgba(255, 179, 0, .12);
}
.cycle-node {
  position: absolute;
  width: 92px;
  text-align: center;
  transform: translate(-50%, -50%);
  z-index: 2;
  pointer-events: none;
}
.cycle-node b {
  display: block;
  color: #f0e6d2;
  font-size: .92rem;
  margin-top: 4px;
}
.cycle-node small {
  display: block;
  color: #8b95a8;
  font-size: .68rem;
  margin-top: 2px;
  line-height: 1.2;
}
.cycle-node .dot {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  box-shadow: 0 0 12px currentColor;
}
/* 5 nodes around circle: top, top-right, bottom-right, bottom-left, top-left */
/* 5 узлов по окружности (шаг 72°), радиус ~46% — без наложений */
.cycle-node.n1 { left: 50%; top: 6%; }           /* Металл · верх */
.cycle-node.n2 { left: 94%; top: 38%; }          /* Дерево · право-верх */
.cycle-node.n3 { left: 78%; top: 90%; }          /* Земля · право-низ */
.cycle-node.n4 { left: 22%; top: 90%; }          /* Вода · лево-низ */
.cycle-node.n5 { left: 6%; top: 38%; }           /* Огонь · лево-верх */
.cycle-ring::before {
  content: '';
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  border: 1px dashed rgba(201, 178, 122, .35);
  pointer-events: none;
}

/* arrows between cycle nodes (clockwise) */
.cycle-arrow {
  position: absolute;
  width: 28px;
  height: 28px;
  margin: 0;
  transform: translate(-50%, -50%);
  color: rgba(201, 178, 122, .85);
  font-size: 1.1rem;
  line-height: 1;
  display: grid;
  place-items: center;
  pointer-events: none;
  text-shadow: 0 0 8px rgba(201,178,122,.35);
}
.cycle-arrow.a12 { left: 72%; top: 18%; transform: translate(-50%,-50%) rotate(40deg); }
.cycle-arrow.a23 { left: 88%; top: 64%; transform: translate(-50%,-50%) rotate(100deg); }
.cycle-arrow.a34 { left: 50%; top: 92%; transform: translate(-50%,-50%) rotate(180deg); }
.cycle-arrow.a45 { left: 12%; top: 64%; transform: translate(-50%,-50%) rotate(250deg); }
.cycle-arrow.a51 { left: 28%; top: 18%; transform: translate(-50%,-50%) rotate(320deg); }

.cycle-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.cycle-arc {
  fill: none;
  stroke: rgba(201, 178, 122, 0.75);
  stroke-width: 1.6;
  stroke-linecap: round;
}
.cycle-node { z-index: 1; }
.cycle-center { z-index: 1; }

/* ========== Landing v8 — atmospheric pentagon ========== */
body.ld {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 90% 50% at 50% -10%, rgba(166,61,42,.18), transparent 50%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(61,107,138,.12), transparent 45%),
    #090807;
  color: #e8dcc0;
  font-family: 'Source Sans 3', system-ui, sans-serif;
  overflow-x: hidden;
}
body.ld::before { display: none; }
#embers {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
}
.vignette {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,.72) 100%);
}
.ld-top, main, .ld-foot { position: relative; z-index: 2; }
.ld-top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 1rem 1.4rem; max-width: 1080px; margin: 0 auto;
}
.ld-brand {
  display: flex; align-items: center; gap: 10px; text-decoration: none; color: #e8dcc0;
  font-family: Cinzel, Georgia, serif; font-weight: 700; letter-spacing: .16em;
}
.ld-brand img { border-radius: 0; border: none; box-shadow: none; background: transparent; }
.ld-nav { display: flex; gap: 18px; }
.ld-nav a { color: #c9b27a; text-decoration: none; font-size: .88rem; letter-spacing: .04em; }
.ld-nav a:hover { color: #fff; }
.ld-cta {
  background: linear-gradient(180deg, #e0c56a, #b8891e);
  color: #1a1204; font-weight: 800; text-decoration: none;
  padding: .5rem 1rem; border-radius: 4px; font-size: .85rem;
  box-shadow: 0 0 24px rgba(201,162,39,.35);
  white-space: nowrap; flex-shrink: 0;
  border: 1px solid rgba(184,137,30,.8);
}
.ld-cta:hover {
  filter: brightness(1.12);
  box-shadow: 0 0 36px rgba(232,204,114,.55), 0 0 12px rgba(201,162,39,.45);
  transform: translateY(-1px);
}
.ld-cta, .ld-btn-gold { transition: filter .18s ease, box-shadow .18s ease, transform .18s ease; }

.ld-hero { text-align: center; padding: 3.2rem 1.2rem 1.5rem; }
.ld-kicker {
  font-family: Cinzel, serif; letter-spacing: .28em; text-transform: uppercase;
  font-size: .72rem; color: #c9a227; margin: 0 0 .6rem;
}
.ld-hero h1 {
  font-family: Cinzel, Georgia, serif; font-weight: 900;
  font-size: clamp(1.6rem, 5vw, 3.1rem); margin: 0 0 .6rem;
  color: #f4ead2; text-shadow: 0 0 40px rgba(201,162,39,.25);
  line-height: 1.15;
}
.ld-lead { color: #c9b27a; font-size: 1.12rem; margin: .2rem 0 .6rem; }
.ld-desc { color: #8e8578; max-width: 36rem; margin: 0 auto 1.4rem; line-height: 1.55; }
.ld-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.ld-btn-gold {
  background: linear-gradient(180deg, #e8cc72, #c09222);
  color: #1a1204; font-weight: 800; text-decoration: none;
  padding: .7rem 1.35rem; border-radius: 4px;
  box-shadow: 0 8px 28px rgba(201,162,39,.28);
  border: 1px solid rgba(184,137,30,.8);
}
.ld-btn-gold:hover {
  filter: brightness(1.12);
  box-shadow: 0 10px 34px rgba(232,204,114,.5), 0 0 18px rgba(201,162,39,.4);
  transform: translateY(-1px);
}

.ld-btn-ghost {
  border: 1px solid rgba(201,178,122,.4); color: #c9b27a; text-decoration: none;
  padding: .65rem 1.15rem; border-radius: 4px;
}
.ld-btn-ghost:hover { background: rgba(201,178,122,.1); color: #fff; }
.ld-cycle, .ld-features { max-width: 1080px; margin: 0 auto; padding: 1rem 1.2rem 2.5rem; text-align: center; }
.ld-cycle h2, .ld-features h2 {
  font-family: Cinzel, serif; font-size: 1.25rem; color: #f0e6d0; letter-spacing: .08em;
}
.ld-note { color: #9a9080; max-width: 38rem; margin: .4rem auto 1.2rem; line-height: 1.5; font-size: .92rem; }
.pentagon {
  position: relative; width: min(520px, 92vw); height: min(520px, 92vw); margin: 1.2rem auto 1rem;
}
.pentagon-svg { width: 100%; height: 100%; }
.pentagon-svg .spoke { stroke: rgba(201,162,39,.28); stroke-width: 1; }
.el-node {
  position: absolute; transform: translate(-50%,-50%);
  background: rgba(14,12,10,.88); border: 1px solid rgba(201,162,39,.45);
  color: #e8dcc0; border-radius: 14px; padding: .45rem .7rem; min-width: 92px;
  cursor: pointer; text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.45);
}
.el-node img { display:block; width:28px; height:28px; object-fit:contain; margin:0 auto 2px; filter:drop-shadow(0 0 6px rgba(201,162,39,.35)); }
.el-node span { display: block; font-size: 1.15rem; }
.el-node b { display: block; font-family: Cinzel, serif; font-size: .78rem; }
.el-node small { display: block; color: #9a9080; font-size: .65rem; }
.el-node.is-on, .el-node:hover {
  border-color: #ffb84d; box-shadow: 0 0 22px rgba(255,144,0,.35);
}
.ld-el-lore { color: #c9b27a; min-height: 2.4em; font-size: .92rem; }
.ld-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; text-align: left;
}
.ld-grid article {
  background: linear-gradient(165deg, rgba(28,24,20,.95), rgba(10,9,8,.98));
  border: 1px solid rgba(201,178,122,.2); border-radius: 16px; padding: 1.15rem 1.1rem;
}
.ld-grid .ico { font-size: 1.15rem; line-height: 1; flex-shrink: 0; }
.ld-feat-title, .ld-grid h3 {
  margin: 0 0 .45rem; font-family: Cinzel, serif; font-size: 1rem; color: #f0e6d0;
  display: flex; align-items: center; gap: .45rem; flex-wrap: nowrap; white-space: nowrap;
}
.ld-feat-title .ico { margin: 0; }
.ld-grid p { margin: 0; color: #9a9080; font-size: .86rem; line-height: 1.45; }
.ld-foot {
  max-width: 1080px; margin: 0 auto; padding: 1.2rem 1.4rem 2rem;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  border-top: 1px solid rgba(201,178,122,.15); color: #7a7268; font-size: .8rem;
}
.ld-foot a { color: #c9b27a; text-decoration: none; }
@media (max-width: 720px) {
  .ld-nav { display: none; }
  .ld-hero { padding-top: 1.6rem; }
  .el-node { min-width: 72px; padding: .3rem .4rem; }
  .el-node small { display: none; }
  .ld-cta { font-size: .78rem; padding: .45rem .8rem; }
  .ld-brand span { display: none; }
}



.ld-foot-links { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: center; }
.ld-btn-discord { border-color: rgba(88,101,242,.55); color: #aab4ff; }
.ld-btn-discord:hover { background: rgba(88,101,242,.15); color: #fff; }
.ld-btn-chat { border-color: rgba(46,170,220,.5); color: #8fd6f0; }
.ld-btn-chat:hover { background: rgba(46,170,220,.12); color: #fff; }

.ld-dc-ico { display: inline-block; vertical-align: -3px; margin-right: 4px; }
.ld-btn-discord .ld-dc-ico { margin-right: 6px; }

/* ===== Главная: пять миров, как начать, ресурсы (b3, mobile-first) ===== */
.ld-worlds, .ld-start { max-width: 1080px; margin: 0 auto; padding: 1rem 1.1rem 2.2rem; text-align: center; }
.ld-worlds h2, .ld-start h2 { font-family: Cinzel, serif; font-size: 1.25rem; color: #f0e6d0; letter-spacing: .08em; margin: .2rem 0 .4rem; }
.ld-wgrid { display: grid; grid-template-columns: 1fr; gap: 12px; text-align: left; margin-top: 1rem; }
@media (min-width: 680px) { .ld-wgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .ld-wgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ld-world {
  background: linear-gradient(165deg, rgba(28,24,20,.95), rgba(10,9,8,.98));
  border: 1px solid rgba(201,178,122,.2); border-radius: 16px; padding: 1rem 1rem 1.05rem;
  min-width: 0;
}
.ld-w-head { display: flex; align-items: center; gap: .65rem; margin-bottom: .55rem; flex-wrap: wrap; }
.ld-w-head > div { flex: 1 1 auto; min-width: 0; }
.ld-w-ico {
  flex: 0 0 42px; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  font-size: 1.35rem; background: rgba(201,162,39,.08); border: 1px solid rgba(201,162,39,.3);
}
.ld-world h3 { margin: 0; font-family: Cinzel, serif; font-size: 1.02rem; color: #f0e6d0; line-height: 1.2; }
.ld-world small { display: block; color: #c9a227; font-size: .76rem; letter-spacing: .02em; margin-top: 2px; }
.ld-world p { margin: 0 0 .5rem; color: #b7ad9c; font-size: .88rem; line-height: 1.5; }
.ld-world ul { margin: 0; padding-left: 1.05rem; color: #9a9080; font-size: .83rem; line-height: 1.45; }
.ld-world li { margin: .18rem 0; }
.ld-world li::marker { color: #c9a227; }
.ld-st {
  flex: 0 0 auto; font-size: .7rem; font-weight: 700; letter-spacing: .02em; white-space: nowrap;
  padding: .2rem .55rem; border-radius: 999px; border: 1px solid;
}
.ld-st::before { content: '●'; margin-right: .3rem; font-size: .62rem; vertical-align: 1px; }
.ld-st-on { color: #7fd48a; border-color: rgba(127,212,138,.45); background: rgba(67,160,71,.1); }
.ld-st-mt { color: #f2b233; border-color: rgba(242,178,51,.45); background: rgba(242,178,51,.08); }
.ld-st-off { color: #9a9080; border-color: rgba(154,144,128,.4); background: rgba(154,144,128,.06); }
.ld-steps { list-style: none; counter-reset: st; margin: 1rem auto 0; padding: 0; max-width: 760px; text-align: left; display: grid; gap: 10px; }
.ld-steps li {
  counter-increment: st; position: relative; padding: .8rem .9rem .8rem 3.1rem;
  background: rgba(20,18,16,.9); border: 1px solid rgba(201,178,122,.18); border-radius: 14px;
}
.ld-steps li::before {
  content: counter(st); position: absolute; left: .85rem; top: .8rem; width: 1.7rem; height: 1.7rem;
  border-radius: 50%; display: grid; place-items: center; font-family: Cinzel, serif; font-weight: 900;
  color: #1a1204; background: linear-gradient(180deg, #e8cc72, #c09222); font-size: .9rem;
}
.ld-steps b { display: block; color: #f0e6d0; font-size: .95rem; }
.ld-steps span { display: block; color: #9a9080; font-size: .86rem; line-height: 1.45; margin-top: 2px; }
.ld-steps a { color: #e0c56a; }
.ld-res { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 760px; margin: 1rem auto 0; }
@media (min-width: 680px) { .ld-res { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ld-res > div { background: rgba(20,18,16,.9); border: 1px solid rgba(201,178,122,.18); border-radius: 14px; padding: .75rem .6rem; text-align: center; min-width: 0; }
.ld-res span { display: block; font-size: 1.4rem; line-height: 1.2; }
.ld-res b { display: block; color: #f0e6d0; font-size: .9rem; margin-top: .2rem; }
.ld-res small { display: block; color: #8e8578; font-size: .74rem; line-height: 1.35; margin-top: .15rem; }
@media (max-width: 420px) {
  .ld-hero { padding: 1.4rem .9rem 1rem; }
  .ld-actions .ld-btn-gold, .ld-actions .ld-btn-ghost { flex: 1 1 100%; text-align: center; }
  .ld-top { padding: .8rem .9rem; }
}

/* b4: world/resource asset icons, element advantage arcs */
img.ld-w-ico { display: block; padding: 0; object-fit: cover; background: #0c0a08; overflow: hidden; }
.ld-ri { width: 1.15em; height: 1.15em; object-fit: contain; vertical-align: -.2em; display: inline-block; }
.ld-tg-ico { vertical-align: -3px; margin-right: 2px; }
.pentagon-svg .beat-arc {
  fill: none; stroke: #c9a227; stroke-width: 2.6; stroke-linecap: round; opacity: .85;
  stroke-dasharray: 9 7; animation: beatFlow 1.6s linear infinite;
  filter: drop-shadow(0 0 4px rgba(255,144,0,.35));
  transition: stroke .2s, opacity .2s, stroke-width .2s;
}
.pentagon-svg .beat-arc.is-out { stroke: #ffb84d; stroke-width: 3.4; opacity: 1; }
.pentagon-svg .beat-arc.is-in { stroke: #c0503a; opacity: 1; }
@keyframes beatFlow { to { stroke-dashoffset: -32; } }
@media (prefers-reduced-motion: reduce) { .pentagon-svg .beat-arc { animation: none; } }
