/* Made Men Wiki — Claude Design's wiki look (apps/web/src/dev-art/wiki-landing: landing 2a, templates 3a–3d). */
:root {
  --page: #0a0c11;
  --outside: #05070b;
  --bar: #0d1017;
  --card: #141824;
  --card-2: #161a26;
  --well: #1a1f2c;
  --line: rgba(255, 255, 255, 0.06);
  --line-2: rgba(255, 255, 255, 0.08);
  --text: #f2efe8;
  --soft: #d6d3cc;
  --dim: #a7a9b4;
  --label: #8a8e9c;
  --mute: #6e7384;
  --gold: #f2b544;
  --gold-light: #ffd47e;
  --gold-deep: #d9952a;
  --green: #6ee7ae;
  --red: #e5484d;
  --pink: #ff8fa3;
  --rare: #7fc8ff;
  --epic: #c99bff;
  --display: 'Saira Condensed', 'Arial Narrow', sans-serif;
  --wrap: 1280px;
}

* { box-sizing: border-box; }
html { background: var(--page); scroll-padding-top: 80px; }
body { margin: 0; color: var(--text); font: 16px/1.5 Saira, system-ui, sans-serif; background: var(--page); }
a { color: var(--gold-light); text-decoration: none; }
a:hover { color: var(--gold); text-decoration: underline; }
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1; }
p { margin: 0; }
b, strong { color: var(--text); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 48px; padding-right: 48px; }
.eyebrow { font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: 0.18em; color: var(--label); text-transform: uppercase; }
.eyebrow.gold { color: var(--gold); }
.dim { color: var(--dim); }
.mute { color: var(--mute); }
.crumbs { font-size: 14px; color: var(--label); }
.crumbs a { color: var(--gold-light); }

/* ── Top bar, menus, search ── */
.top { position: sticky; top: 0; z-index: 20; background: var(--bar); border-bottom: 1px solid var(--line); }
.top.clear { position: absolute; left: 0; right: 0; background: transparent; border-bottom: 0; }
.top-in { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-family: var(--display); font-weight: 700; font-size: 19px; white-space: nowrap; }
.brand:hover { color: var(--text); text-decoration: none; }
.brand img { width: 30px; height: 30px; }
.brand b { color: var(--gold); font-weight: 700; }
.nav { display: flex; align-items: center; gap: 6px; font-weight: 500; font-size: 15px; color: var(--soft); }
.nav-item { position: static; }
.nav-item > a { height: 38px; padding: 0 12px; border-radius: 9px; display: flex; align-items: center; gap: 6px; color: var(--soft); }
.nav-item > a::after { content: ''; width: 6px; height: 6px; border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 0.15s; }
.nav-item > a:hover, .nav-item:focus-within > a, .nav-item:hover > a, .nav-item.on > a { color: var(--gold-light); text-decoration: none; }
.nav-item:hover > a, .nav-item:focus-within > a { background: rgba(255, 255, 255, 0.08); }
.nav-item:hover > a::after, .nav-item:focus-within > a::after { transform: translateY(1px) rotate(225deg); }
.mega {
  display: flex;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  /* Closing waits a moment, so the mouse can cross from the menu item to the panel. */
  transition: opacity 0.12s ease 0.18s, visibility 0s linear 0.3s;
  position: absolute;
  left: max(24px, calc((100% - var(--wrap)) / 2 + 24px));
  right: max(24px, calc((100% - var(--wrap)) / 2 + 24px));
  top: 58px;
  z-index: 30;
  padding: 26px 28px;
  border-radius: 18px;
  background: rgba(16, 19, 28, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
  flex-direction: column;
  gap: 18px;
}
.nav-item:hover .mega, .nav-item:focus-within .mega { visibility: visible; opacity: 1; pointer-events: auto; transition-delay: 0s; }
/* An invisible bridge over the gap between the menu item and the panel. */
.mega::before { content: ''; position: absolute; left: 0; right: 0; top: -24px; height: 24px; }
/* Only one panel at a time: a neighbour opened by hover hides the one still fading out. */
.nav:hover .nav-item:not(:hover) .mega { visibility: hidden; opacity: 0; pointer-events: none; transition: none; }
.mega-head { display: flex; justify-content: space-between; align-items: baseline; }
.mega-head a { font-size: 14px; }
.mega-cities { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.mega-cities a { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 6px; border-radius: 14px; color: var(--text); }
.mega-cities a:hover { background: rgba(255, 255, 255, 0.05); color: var(--text); text-decoration: none; }
.mega-cities img { width: 56px; height: 56px; }
.mega-cities strong { font-family: var(--display); font-size: 18px; line-height: 1; }
.mega-cities small { font-size: 12px; color: var(--label); }
.mega-split { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; }
.mega-split.guides { grid-template-columns: 320px minmax(0, 1fr); }
.mega-list { display: flex; flex-direction: column; gap: 2px; }
.mega-list .eyebrow { padding-bottom: 8px; }
.mega-list a { min-height: 34px; padding: 0 10px; border-radius: 8px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--soft); font-size: 15px; }
.mega-list a:hover { background: rgba(255, 255, 255, 0.05); color: var(--text); text-decoration: none; }
.mega-list a small { font-size: 13px; color: var(--mute); }
.mega-list a .n { font-family: var(--display); font-weight: 700; color: var(--gold); }
.mega-list.numbered a { justify-content: flex-start; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.tile { border-radius: 14px; background: var(--card-2); border: 1px solid rgba(255, 255, 255, 0.07); padding: 14px; display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--text); text-align: center; }
.tile:hover { border-color: rgba(242, 181, 68, 0.4); color: var(--text); text-decoration: none; }
.tile img.face { width: 84px; height: 84px; border-radius: 50%; box-shadow: 0 0 0 2px var(--red); background: var(--well); }
.tile strong { font-family: var(--display); font-size: 17px; line-height: 1.05; }
.tile small { font-size: 12px; color: var(--label); }
.tile.row { flex-direction: row; align-items: center; gap: 14px; text-align: left; }
.tile.row img { width: 56px; height: 56px; }
.tile.row strong { font-size: 20px; display: block; }
.tile.row small { font-size: 13px; }
.rarities { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--label); flex-wrap: wrap; }
.rar-chip { height: 28px; padding: 0 12px; border-radius: 99px; border: 1px solid currentColor; font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: 0.08em; display: inline-flex; align-items: center; text-transform: uppercase; }
.rar-chip:hover { text-decoration: none; }
.rar-common { color: var(--dim); } .rar-rare { color: #49b6ff; } .rar-epic { color: #b36bff; } .rar-armory { color: var(--gold); }
.feature { position: relative; border-radius: 14px; overflow: hidden; min-height: 200px; color: var(--text); background: #141018; display: block; }
.feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.feature span { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; background: linear-gradient(transparent, rgba(8, 10, 14, 0.95)); display: flex; flex-direction: column; gap: 2px; }
.feature strong { font-family: var(--display); font-weight: 800; font-size: 24px; }
.feature:hover { color: var(--text); text-decoration: none; }

.tools { display: flex; align-items: center; gap: 14px; }
.search { position: relative; }
.search input { width: 220px; height: 36px; border-radius: 10px; background: var(--card); border: 1px solid rgba(255, 255, 255, 0.1); padding: 0 12px; color: var(--text); font: 14px Saira, sans-serif; outline: 0; }
.search input:focus { border-color: rgba(242, 181, 68, 0.5); }
input::placeholder { color: var(--mute); }
.results { text-align: left; position: absolute; right: 0; top: calc(100% + 8px); width: min(420px, 92vw); max-height: 70vh; overflow-y: auto; z-index: 40; padding: 6px; border-radius: 14px; background: rgba(16, 19, 28, 0.99); border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7); display: none; }
.results.open { display: block; }
.results a { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: center; padding: 8px 10px; border-radius: 10px; color: var(--text); }
.results a:hover, .results a.sel { background: rgba(255, 255, 255, 0.06); text-decoration: none; color: var(--text); }
.results img, .results .blank { width: 40px; height: 40px; border-radius: 10px; background: var(--well); object-fit: contain; }
.results strong { display: block; font-weight: 600; font-size: 15px; line-height: 1.2; }
.results small { font-size: 13px; color: var(--label); }
.results .none { padding: 12px; color: var(--label); font-size: 14px; }

.btn-play { height: 38px; padding: 0 18px; border-radius: 10px; background: linear-gradient(#ffd47e, #f2b544 60%, #d9952a); color: #2a1a04; font-family: var(--display); font-weight: 700; font-size: 16px; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 3px 0 #8e5a12; white-space: nowrap; }
.btn-play:hover { color: #2a1a04; text-decoration: none; filter: brightness(1.05); }
.btn-play.wide { width: 100%; height: 40px; }

/* ── Landing ── */
.land-hero { position: relative; height: 440px; background: linear-gradient(#0e1424, #2a2240 70%, #4a2e3a); overflow: visible; }
.land-hero > .sky { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 200px; object-fit: cover; object-position: bottom; }
.land-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(10, 12, 17, 0.15), rgba(10, 12, 17, 0.1) 40%, rgba(10, 12, 17, 0.95)); pointer-events: none; }
.land-copy { position: relative; z-index: 2; padding-top: 120px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.land-copy h1 { font-weight: 800; font-size: 84px; line-height: 0.92; text-wrap: balance; text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6); }
.land-copy p { font-size: 18px; color: var(--soft); max-width: 560px; text-wrap: pretty; }
.big-search { width: min(620px, 100%); height: 58px; border-radius: 16px; background: rgba(14, 17, 26, 0.92); border: 1px solid rgba(242, 181, 68, 0.35); display: flex; align-items: center; gap: 12px; padding: 0 8px 0 20px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); }
.big-search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--text); font: 16px Saira, sans-serif; height: 100%; width: auto; padding: 0; }
.big-search button { height: 42px; padding: 0 18px; border: 0; border-radius: 11px; background: var(--gold); color: #2a1a04; font-family: var(--display); font-weight: 700; font-size: 16px; cursor: pointer; }
.big-search .results { left: 0; right: 0; width: auto; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.section-head h2 { font-weight: 700; font-size: 30px; }
.section-head span { font-size: 14px; color: var(--label); }
.route { position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.route::before { content: ''; position: absolute; left: 7%; right: 7%; top: 44px; border-top: 2px dashed rgba(242, 181, 68, 0.35); }
.route a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 0 0 16px; border-radius: 16px; color: var(--text); }
.route a:hover { background: rgba(255, 255, 255, 0.04); text-decoration: none; color: var(--text); }
.route img { width: 88px; height: 88px; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.5)); }
.route .eyebrow { font-size: 13px; letter-spacing: 0.14em; }
.route strong { font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1; text-align: center; }
.home-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 20px; }
.start-card { position: relative; border-radius: 22px; overflow: hidden; background: var(--card-2); border: 1px solid rgba(242, 181, 68, 0.3); min-height: 340px; display: grid; grid-template-columns: minmax(0, 1fr) 220px; color: var(--text); }
.start-card:hover { color: var(--text); text-decoration: none; border-color: rgba(242, 181, 68, 0.55); }
.start-card img { grid-column: 2; grid-row: 1; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.start-card > div { grid-column: 1; grid-row: 1; padding: 30px; display: flex; flex-direction: column; gap: 12px; }
.start-card strong { font-family: var(--display); font-weight: 800; font-size: 42px; line-height: 0.98; }
.start-card .dim { font-size: 15px; line-height: 1.55; }
.start-card .go { margin-top: auto; padding-top: 18px; font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--gold-light); }
.db-card { border-radius: 22px; background: var(--card); border: 1px solid var(--line-2); display: flex; flex-direction: column; overflow: hidden; }
.db-card > .eyebrow { padding: 22px 24px 8px; }
.db-row { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 16px 24px; border-top: 1px solid var(--line); color: var(--text); }
.db-row:first-of-type { border-top-color: transparent; }
.db-row:hover { background: rgba(255, 255, 255, 0.03); text-decoration: none; color: var(--text); }
.db-row .thumb { width: 76px; height: 76px; border-radius: 16px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.db-row .thumb img { width: 64px; height: 64px; object-fit: contain; }
.db-row strong { font-family: var(--display); font-weight: 700; font-size: 24px; display: block; }
.db-row small { font-size: 14px; line-height: 1.45; color: var(--dim); display: block; }
.db-row .count { font-family: var(--display); font-weight: 800; font-size: 32px; color: var(--gold); }

/* ── Guide (3a) — also city pages ── */
.ghero { position: relative; min-height: 300px; overflow: hidden; background: #141018; }
.ghero > img { position: absolute; right: max(0px, calc((100% - var(--wrap)) / 2)); top: 0; width: 520px; height: 100%; object-fit: cover; object-position: center 30%; }
.ghero > img.sky { right: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: bottom; opacity: 0.55; }
.ghero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #0a0c11 42%, rgba(10, 12, 17, 0.6) 62%, rgba(10, 12, 17, 0) 85%); }
.ghero .wrap { position: relative; z-index: 1; padding-top: 40px; padding-bottom: 40px; }
.ghero .wrap > div { max-width: 700px; display: flex; flex-direction: column; gap: 14px; }
.ghero h1 { font-weight: 800; font-size: 68px; line-height: 0.95; }
.ghero p { font-size: 18px; color: var(--dim); text-wrap: pretty; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip { height: 30px; padding: 0 12px; border-radius: 99px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); color: var(--soft); font-size: 13px; display: inline-flex; align-items: center; gap: 6px; }
.chip.green { background: rgba(61, 214, 140, 0.12); border-color: rgba(61, 214, 140, 0.35); color: var(--green); font-weight: 600; }
.chip b { font-weight: 600; }
.three { display: grid; grid-template-columns: 220px minmax(0, 1fr) 260px; gap: 44px; align-items: start; padding-top: 40px; padding-bottom: 56px; }
.three.two { grid-template-columns: 220px minmax(0, 1fr); }
.toc .side-card { margin-top: 18px; }
.tbl td.name { min-width: 190px; }
.toc { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 4px; }
.toc .eyebrow { padding-bottom: 8px; }
.toc a { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 8px; font-size: 15px; color: var(--dim); border-left: 2px solid transparent; }
.toc a:hover, .toc a.on { color: var(--gold-light); background: rgba(242, 181, 68, 0.08); border-left-color: var(--gold); text-decoration: none; }
.toc a span { font-family: var(--display); font-weight: 700; color: var(--mute); }
.prose { display: flex; flex-direction: column; gap: 22px; font-size: 17px; line-height: 1.65; color: var(--soft); min-width: 0; }
.prose h2 { font-weight: 700; font-size: 34px; color: var(--text); margin-top: 14px; }
.prose h2 .n { color: var(--gold); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-weight: 700; font-size: 24px; color: var(--text); margin-top: 6px; }
.prose ul, .prose ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.prose p { text-wrap: pretty; }
.diamonds { list-style: none; padding: 0 !important; gap: 10px !important; }
.diamonds li { display: flex; gap: 14px; align-items: baseline; }
.diamonds li::before { content: ''; flex: none; width: 8px; height: 8px; transform: rotate(45deg) translateY(-3px); background: var(--gold); }
.tip { border-radius: 16px; background: rgba(242, 181, 68, 0.07); border: 1px solid rgba(242, 181, 68, 0.25); padding: 18px 20px; display: flex; gap: 14px; font-size: 16px; line-height: 1.55; color: var(--text); }
.tip::before { content: '!'; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: #2a1a04; font-family: var(--display); font-weight: 800; font-size: 18px; display: grid; place-items: center; }
.side { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 84px; }
.side-card { border-radius: 16px; background: var(--card); border: 1px solid var(--line-2); padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.mention { display: flex; align-items: center; gap: 12px; color: var(--text); }
.mention:hover { color: var(--text); text-decoration: none; }
.mention:hover strong { color: var(--gold-light); }
.mention img { width: 44px; height: 44px; border-radius: 10px; background: var(--well); object-fit: contain; flex: none; }
.mention strong { font-weight: 600; font-size: 15px; display: block; line-height: 1.25; }
.mention small { font-size: 13px; color: var(--label); }
.cta-card { border-radius: 16px; background: linear-gradient(160deg, #2b2112, #141824); border: 1px solid rgba(242, 181, 68, 0.3); padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.cta-card strong { font-family: var(--display); font-weight: 800; font-size: 22px; }
.cta-card span { font-size: 14px; line-height: 1.5; color: var(--dim); }
.facts { display: flex; flex-direction: column; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 15px; }
.facts div:first-child { border-top: 0; }
.facts dt, .facts span:first-child { color: var(--label); }
.facts span:last-child { color: var(--text); font-weight: 500; text-align: right; }
.pager { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.pager a { padding: 16px 18px; border-radius: 14px; background: var(--card); border: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 2px; color: var(--text); }
.pager a.next { border-color: rgba(242, 181, 68, 0.35); text-align: right; grid-column: 2; }
.pager a:hover { text-decoration: none; border-color: rgba(242, 181, 68, 0.6); color: var(--text); }
.pager small { font-size: 13px; color: var(--label); }
.pager strong { font-family: var(--display); font-weight: 700; font-size: 20px; }

/* Tables (3a stat table / 3b list) */
.tbl { border-radius: 16px; background: var(--card); border: 1px solid var(--line-2); overflow: hidden; overflow-x: auto; }
.tbl table { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th { padding: 12px 18px; text-align: left; font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: 0.14em; color: var(--label); text-transform: uppercase; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 12px 18px; border-top: 1px solid rgba(255, 255, 255, 0.05); vertical-align: middle; color: var(--soft); }
.tbl tbody tr:first-child td { border-top: 0; }
.tbl tbody tr:hover td { background: rgba(255, 255, 255, 0.03); }
.tbl td.n, .tbl th.n { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tbl td.big { font-family: var(--display); font-weight: 700; font-size: 19px; color: var(--text); }
.tbl td.name { color: var(--text); font-weight: 500; }
.tbl .who { display: flex; align-items: center; gap: 14px; min-width: 0; }
.tbl .who img { width: 48px; height: 48px; border-radius: 50%; box-shadow: 0 0 0 2px var(--red); flex: none; background: var(--well); }
.tbl .who img.sq { border-radius: 10px; box-shadow: none; object-fit: contain; }
.tbl .who a { font-family: var(--display); font-weight: 700; font-size: 19px; color: var(--text); }
.tbl .who a:hover { color: var(--gold-light); }
.tbl .who small { display: block; font-size: 13px; color: var(--label); }
.tbl .drop { display: flex; align-items: center; gap: 8px; }
.tbl .drop img { width: 34px; height: 34px; border-radius: 8px; background: var(--well); object-fit: contain; }
.tbl .ico-cell { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 500; }
.hp { color: var(--pink); white-space: nowrap; }
.hp::before { content: '♥'; color: #ff5a7a; margin-right: 6px; }
.rar { font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.rar.common { color: var(--dim); } .rar.rare { color: var(--rare); } .rar.epic { color: var(--epic); } .rar.armory { color: var(--gold); }

/* ── Database list (3b) ── */
.list-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding-top: 36px; }
.list-head > div:first-child { display: flex; flex-direction: column; gap: 10px; }
.list-head h1 { font-weight: 800; font-size: 56px; }
.list-head h1 span { color: var(--mute); font-weight: 700; }
.list-head p { font-size: 16px; color: var(--dim); }
.seg { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--card); border: 1px solid var(--line-2); }
.seg button { height: 34px; padding: 0 14px; border: 0; border-radius: 9px; background: transparent; color: var(--label); font: 14px Saira, sans-serif; cursor: pointer; }
.seg button.on { background: rgba(255, 255, 255, 0.08); color: var(--text); font-weight: 600; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; padding-top: 22px; }
.filter { height: 36px; padding: 0 14px; border-radius: 99px; display: inline-flex; align-items: center; gap: 8px; font: 500 14px Saira, sans-serif; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1); color: var(--soft); cursor: pointer; }
.filter.badge { padding-left: 6px; }
.filter img { width: 24px; height: 24px; }
.filter:hover { border-color: rgba(242, 181, 68, 0.4); }
.filter.on { background: var(--gold); border-color: var(--gold); color: #2a1a04; }
.list-body { padding-top: 22px; padding-bottom: 48px; }
.list-foot { padding-top: 16px; font-size: 14px; color: var(--label); }
.cardgrid { display: none; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.view-cards .cardgrid { display: grid; }
.view-cards .tbl { display: none; }
.dbcard { border-radius: 16px; background: var(--card); border: 1px solid var(--line-2); padding: 16px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; color: var(--text); }
.dbcard:hover { border-color: rgba(242, 181, 68, 0.4); color: var(--text); text-decoration: none; }
.dbcard img { width: 96px; height: 96px; object-fit: contain; }
.dbcard img.face { border-radius: 50%; box-shadow: 0 0 0 2px var(--red); background: var(--well); }
.dbcard strong { font-family: var(--display); font-weight: 700; font-size: 19px; line-height: 1.1; }
.dbcard small { font-size: 13px; color: var(--label); }
[hidden] { display: none !important; }

/* ── Database entry (3c) ── */
.entry { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 44px; align-items: start; padding-top: 36px; padding-bottom: 56px; }
.entry-main { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.entry-title { display: flex; flex-direction: column; gap: 10px; }
.entry-title h1 { font-weight: 800; font-size: 60px; }
.entry-title p { font-size: 18px; line-height: 1.55; color: var(--dim); max-width: 640px; text-wrap: pretty; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { height: 26px; padding: 0 10px; border-radius: 7px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); color: var(--soft); font-size: 13px; display: inline-flex; align-items: center; }
.tag.r { font-family: var(--display); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.tag.common { color: var(--dim); }
.tag.rare { background: rgba(73, 182, 255, 0.14); border-color: rgba(73, 182, 255, 0.4); color: var(--rare); }
.tag.epic { background: rgba(179, 107, 255, 0.14); border-color: rgba(179, 107, 255, 0.4); color: var(--epic); }
.tag.armory { background: rgba(242, 181, 68, 0.14); border-color: rgba(242, 181, 68, 0.4); color: var(--gold); }
.tag.boss { background: rgba(229, 72, 77, 0.14); border-color: rgba(229, 72, 77, 0.4); color: #ff8a8d; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.stat { border-radius: 14px; background: var(--card); border: 1px solid var(--line-2); padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.stat span { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--label); }
.stat strong { font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ico { display: inline-block; width: 16px; height: 16px; flex: none; background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.ico.big { width: 28px; height: 28px; }
.c-attack { color: #ff6b6b; } .c-defense { color: #7fc8ff; } .c-health { color: #ff5a7a; } .c-energy { color: #f2d040; } .c-stamina { color: #ff8a3d; } .c-cash { color: var(--green); } .c-gold { color: var(--gold); }
.entry-main h2 { font-weight: 700; font-size: 28px; margin-top: 8px; }
.rows { border-radius: 16px; background: var(--card); border: 1px solid var(--line-2); overflow: hidden; }
.rows > * { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 18px; border-top: 1px solid rgba(255, 255, 255, 0.05); color: var(--text); }
.rows > *:first-child { border-top: 0; }
.rows > a:hover { background: rgba(255, 255, 255, 0.03); text-decoration: none; color: var(--text); }
.rows img, .rows .blank { width: 52px; height: 52px; border-radius: 12px; background: var(--well); object-fit: contain; }
.rows img.face { border-radius: 50%; box-shadow: 0 0 0 2px var(--red); }
.rows strong { font-weight: 600; font-size: 16px; display: block; }
.rows small { font-size: 14px; color: var(--label); }
.rows .v { font-family: var(--display); font-weight: 700; font-size: 16px; white-space: nowrap; }
.v.gold { color: var(--gold-light); } .v.blue { color: var(--rare); } .v.green { color: var(--green); } .v.red { color: var(--pink); }
.similar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.similar a { border-radius: 14px; background: var(--card); border: 1px solid var(--line-2); padding: 14px; display: flex; align-items: center; gap: 12px; color: var(--text); min-width: 0; }
.similar a:hover { border-color: rgba(242, 181, 68, 0.4); text-decoration: none; color: var(--text); }
.similar img { width: 52px; height: 52px; object-fit: contain; flex: none; }
.similar span { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.similar strong { font-family: var(--display); font-weight: 700; font-size: 18px; line-height: 1.1; }
.similar small { font-size: 13px; color: var(--label); }
.similar b { font-family: var(--display); font-weight: 700; font-size: 16px; }
.infobox { position: sticky; top: 84px; border-radius: 22px; background: var(--card); border: 1px solid var(--line-2); overflow: hidden; }
.infobox .art { height: 240px; display: grid; place-items: center; background: radial-gradient(60% 60% at 50% 55%, var(--glow, rgba(255, 255, 255, 0.08)), #141824 75%); }
.infobox .art img { width: 200px; height: 200px; object-fit: contain; }
.infobox .art img.face { width: 170px; height: 170px; border-radius: 50%; box-shadow: 0 0 0 3px var(--red); background: var(--well); }
.infobox .facts { padding: 6px 20px 20px; }
.infobox .facts div:first-child { border-top: 1px solid var(--line); }

/* ── Article (3d) ── */
.narrow { max-width: 720px; margin: 0 auto; padding-top: 48px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 22px; font-size: 18px; line-height: 1.7; color: var(--soft); }
.narrow h1 { font-weight: 800; font-size: 64px; line-height: 0.98; color: var(--text); }
.narrow .lede { font-size: 21px; line-height: 1.55; color: var(--text); text-wrap: pretty; }
.narrow .meta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; font-size: 14px; color: var(--label); padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.narrow h2 { font-weight: 700; font-size: 32px; color: var(--text); margin-top: 10px; }
.narrow h3 { font-weight: 700; font-size: 24px; color: var(--text); }
.narrow p { text-wrap: pretty; }
.narrow figure { margin: 8px 0; border-radius: 18px; overflow: hidden; background: var(--card); border: 1px solid var(--line-2); }
.narrow figcaption { padding: 12px 16px; font-size: 14px; color: var(--label); }
.narrow blockquote { margin: 8px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--gold); font-size: 20px; line-height: 1.5; color: var(--text); font-style: italic; }
.narrow blockquote small { display: block; font-size: 14px; font-style: normal; color: var(--label); }
.alt { border-radius: 16px; background: var(--card); border: 1px solid var(--line-2); padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; font-size: 17px; line-height: 1.6; }
.alt.ours { border-color: rgba(242, 181, 68, 0.35); background: linear-gradient(160deg, #2b2112, #141824); }
.alt h3 { font-size: 22px; }
.keep { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.keep a { border-radius: 14px; background: var(--card); border: 1px solid var(--line-2); padding: 16px; display: flex; flex-direction: column; gap: 4px; color: var(--text); }
.keep a:hover { border-color: rgba(242, 181, 68, 0.4); text-decoration: none; color: var(--text); }
.keep small { font-size: 12px; color: var(--label); }
.keep strong { font-family: var(--display); font-weight: 700; font-size: 20px; line-height: 1.1; }
.yes { color: var(--green); font-weight: 700; margin-right: 6px; }

/* ── Footer ── */
.foot { position: relative; border-top: 1px solid var(--line); background: linear-gradient(#0a0c11, #07080c); overflow: hidden; }
.foot-sky { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 120px; object-fit: cover; object-position: bottom; opacity: 0.18; pointer-events: none; }
.foot-grid { position: relative; padding-top: 48px; padding-bottom: 36px; display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); gap: 32px; }
.foot-brand { display: flex; flex-direction: column; gap: 14px; max-width: 320px; }
.foot-brand .brand { font-size: 22px; }
.foot-brand .brand img { width: 34px; height: 34px; }
.foot-brand p { font-size: 15px; line-height: 1.55; color: var(--dim); text-wrap: pretty; }
.btn-play.big { align-self: flex-start; height: 44px; padding: 0 20px; border-radius: 12px; font-size: 17px; }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col a { font-size: 15px; color: var(--soft); }
.foot-col a:hover { color: var(--gold-light); }
.foot-line { position: relative; padding: 18px 0 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--mute); }
.foot-line span:last-child { display: flex; gap: 20px; }
.foot-line a { color: var(--label); }

/* ── Smaller screens ── */
@media (max-width: 1100px) {
  .three { grid-template-columns: 200px minmax(0, 1fr); }
  .three > .side { display: none; }
  .mega-cities { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .nav-item { display: none; }
  .search input { width: 150px; }
  .land-hero { height: auto; padding-bottom: 60px; }
  .land-copy { padding-top: 96px; }
  .land-copy h1 { font-size: 54px; }
  .route { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 18px; }
  .route::before { display: none; }
  .home-grid, .entry, .three { grid-template-columns: minmax(0, 1fr); }
  .toc, .infobox, .side { position: static; }
  .toc { display: none; }
  .start-card { grid-template-columns: minmax(0, 1fr) 140px; min-height: 260px; }
  .start-card strong { font-size: 34px; }
  .ghero > img:not(.sky) { opacity: 0.35; width: 100%; }
  .ghero h1, .entry-title h1, .narrow h1 { font-size: 44px; }
  .list-head { flex-direction: column; align-items: flex-start; }
  .list-head h1 { font-size: 44px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .similar, .keep, .tiles { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .foot-brand { grid-column: 1 / -1; max-width: none; }
  .narrow { padding-left: 20px; padding-right: 20px; }
  .db-row { grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; padding: 14px 16px; }
  .db-row .thumb { width: 56px; height: 56px; }
  .db-row .thumb img { width: 48px; height: 48px; }
}
@media (max-width: 520px) {
  .top .search { display: none; }
  .route { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .route img { width: 64px; height: 64px; }
  .start-card { grid-template-columns: minmax(0, 1fr); }
  .start-card img { display: none; }
  .tbl th, .tbl td { padding: 10px 12px; }
}

.fig-sky { position: relative; height: 240px; background: linear-gradient(#0e1424, #2a3a5a); overflow: hidden; }
.fig-sky img { position: absolute; left: 0; bottom: 0; width: 100%; height: 150px; object-fit: cover; object-position: bottom; }

/* Items as pictures in tables: a tooltip with the name and what it's for, a badge with the chance or count. */
.gears { display: inline-flex; gap: 10px; flex-wrap: wrap; }
.gear { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 10px; background: var(--well); border: 1px solid rgba(255, 255, 255, 0.06); flex: none; }
.gear:hover { border-color: rgba(242, 181, 68, 0.5); text-decoration: none; }
.gear img { width: 34px; height: 34px; object-fit: contain; }
.gear .gear-name { font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--dim); }
.gear .badge { position: absolute; right: -7px; bottom: -7px; padding: 0 4px; border-radius: 6px; background: #0a0c11; border: 1px solid rgba(255, 255, 255, 0.12); font-family: var(--display); font-weight: 700; font-size: 11px; line-height: 16px; color: var(--gold-light); }
.gear .badge.chance { color: var(--rare); }
.gear .badge.used { color: var(--pink); }
.gear[data-tip]:hover::after, .gear[data-tip]:focus-visible::after {
  content: attr(data-tip);
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  z-index: 10;
  width: max-content;
  max-width: 260px;
  padding: 7px 10px;
  border-radius: 9px;
  background: rgba(16, 19, 28, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
  font: 500 13px/1.35 Saira, sans-serif;
  color: var(--text);
  white-space: normal;
  text-align: left;
  pointer-events: none;
}
.tbl:has(.gear) { overflow: visible; }

/* Patch notes: section headings with the game's icons. */
.pn-h { display: flex; align-items: center; gap: 10px; }
.pn-h .ico { width: 22px; height: 22px; }
.pn-legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pn-legend > div { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--line-2); }
.pn-legend .ico { width: 24px; height: 24px; }
.pn-legend strong { display: block; font-family: var(--display); font-weight: 700; font-size: 18px; line-height: 1.1; color: var(--text); }
.pn-legend small { display: block; font-size: 14px; line-height: 1.35; color: var(--label); }
@media (max-width: 520px) { .pn-legend { grid-template-columns: minmax(0, 1fr); } }
.pn-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pn-list li { display: flex; gap: 12px; align-items: flex-start; }
.pn-list .ico { width: 16px; height: 16px; margin-top: 6px; }

/* Roadmap (3e): a route through each part of the game — Now (filled gold), Next (gold outline), Later (grey, dashed) */
.rm-hero { position: relative; overflow: hidden; background: radial-gradient(50% 120% at 85% 0%, rgba(242, 181, 68, 0.1), transparent 60%); }
.rm-hero > .sky { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 120px; object-fit: cover; object-position: bottom; opacity: 0.22; pointer-events: none; }
.rm-hero-in { position: relative; padding-top: 40px; padding-bottom: 44px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; }
.rm-intro { display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
.rm-intro h1 { font-weight: 800; font-size: 68px; line-height: 0.95; }
.rm-intro p { font-size: 18px; line-height: 1.55; color: var(--dim); text-wrap: pretty; }
.rm-stages { display: flex; gap: 10px; }
.rm-stagecard { width: 150px; padding: 14px 16px; border-radius: 14px; background: rgba(20, 24, 36, 0.85); border: 1px solid rgba(255, 255, 255, 0.1); display: flex; flex-direction: column; gap: 6px; }
.rm-stagecard.now { border-color: rgba(242, 181, 68, 0.4); }
.rm-stagecard.later { border-color: rgba(255, 255, 255, 0.08); }
.rm-stagecard > span { display: flex; align-items: center; gap: 8px; }
.rm-stagecard b { font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: 0.06em; text-transform: uppercase; }
.rm-stagecard.now b { color: var(--gold-light); }
.rm-stagecard.later b { color: var(--dim); }
.rm-stagecard em { margin-left: auto; font-style: normal; font-family: var(--display); font-weight: 700; font-size: 20px; }
.rm-stagecard small { font-size: 13px; color: var(--label); }
.rm-stagecard .rm-mark { width: 10px; height: 10px; margin: 0; }

/* Stop markers: diamonds */
.rm-mark { display: block; flex: none; width: 12px; height: 12px; transform: rotate(45deg); border: 2px solid var(--gold); background: var(--page); }
.rm-mark.now { background: var(--gold); box-shadow: 0 0 10px rgba(242, 181, 68, 0.7); }
.rm-mark.later { border-color: var(--mute); }
.rm-mark.none { width: 6px; height: 6px; border: 0; background: rgba(255, 255, 255, 0.18); box-shadow: none; margin-top: 3px; }

/* Board (desktop) */
.rm-board { padding-top: 8px; }
.rm-row { position: relative; display: grid; grid-template-columns: 300px repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.rm-head { border-bottom-color: rgba(255, 255, 255, 0.08); }
.rm-head .eyebrow { padding: 14px 0; }
.rm-head .eyebrow.now, .rm-head .eyebrow.next, .rm-head .eyebrow.later { padding: 14px 20px; }
.rm-head .eyebrow.now { color: var(--gold-light); background: rgba(242, 181, 68, 0.035); }
.rm-head .eyebrow.next { color: var(--text); }
.rm-head .eyebrow.later { color: var(--dim); }
.rm-area { padding: 22px 24px 22px 0; display: flex; gap: 14px; align-items: flex-start; }
.rm-area > span:last-child { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.rm-area strong { font-family: var(--display); font-weight: 700; font-size: 24px; line-height: 1.05; }
.rm-area small { font-size: 14px; line-height: 1.45; color: var(--dim); text-wrap: pretty; }
.rm-thumb { flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--card-2); border: 1px solid var(--line-2); display: grid; place-items: center; overflow: hidden; }
.rm-thumb img { width: 40px; height: 40px; object-fit: contain; }
.rm-thumb .ico { width: 24px; height: 24px; }
.rm-thumb.small { width: 40px; height: 40px; border-radius: 12px; background: var(--well); border: 0; }
.rm-thumb.small img { width: 34px; height: 34px; }
.rm-thumb.small .ico { width: 20px; height: 20px; }
.rm-route { position: absolute; left: 300px; right: 0; top: 35px; border-top: 2px dashed rgba(242, 181, 68, 0.22); pointer-events: none; }
.rm-cell { position: relative; padding: 28px 20px 22px; display: flex; flex-direction: column; gap: 10px; }
.rm-cell.now { background: rgba(242, 181, 68, 0.035); }
.rm-cell > .rm-mark { align-self: flex-start; margin: 0 0 4px 2px; }
.rm-cell > .rm-mark.none { margin-top: 3px; }
.rm-card { padding: 14px 16px; border-radius: 14px; display: flex; flex-direction: column; gap: 5px; background: var(--card-2); border: 1px solid rgba(255, 255, 255, 0.1); }
.rm-card strong { font-family: var(--display); font-weight: 700; font-size: 20px; line-height: 1.1; color: var(--text); }
.rm-card small { font-size: 14px; line-height: 1.5; color: var(--dim); text-wrap: pretty; }
.rm-card.now { background: linear-gradient(180deg, rgba(242, 181, 68, 0.1), rgba(242, 181, 68, 0.03)); border-color: rgba(242, 181, 68, 0.4); }
.rm-card.now small { color: var(--soft); }
.rm-card.later { background: transparent; border: 1px dashed rgba(255, 255, 255, 0.14); }
.rm-card.later strong { color: var(--soft); }
.rm-card.later small { color: var(--label); }
.rm-built { align-self: flex-start; height: 20px; padding: 0 8px; border-radius: 6px; background: rgba(242, 181, 68, 0.14); color: var(--gold-light); font-family: var(--display); font-weight: 700; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; display: flex; align-items: center; gap: 6px; }
.rm-built i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 6px var(--gold); }
.rm-stage { font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text); }
.rm-card.now .rm-stage { color: var(--gold-light); }
.rm-card.later .rm-stage { color: var(--dim); }
.rm-empty { grid-column: 2 / span 3; position: relative; display: flex; align-items: center; padding: 0 20px; }
.rm-empty::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 2px dashed rgba(255, 255, 255, 0.07); }
.rm-empty span { position: relative; background: var(--page); padding: 0 14px 0 0; font-size: 14px; color: var(--label); }
.rm-note { margin: 32px 0 56px; border-radius: 18px; background: var(--card); border: 1px solid var(--line-2); padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 16px; line-height: 1.5; color: var(--soft); }
.rm-btn { flex: none; height: 42px; padding: 0 18px; border-radius: 11px; border: 1px solid rgba(242, 181, 68, 0.4); color: var(--gold-light); font-family: var(--display); font-weight: 700; font-size: 16px; display: flex; align-items: center; }
.rm-btn:hover { text-decoration: none; border-color: var(--gold); }

/* Phone: filter chips, then a card per part of the game with its items on a vertical route */
.rm-phone { display: none; }
.rm-filters { position: sticky; top: 64px; z-index: 3; padding: 4px 0 14px; display: flex; gap: 6px; background: var(--page); }
.rm-filter { height: 40px; padding: 0 14px; border-radius: 99px; display: flex; align-items: center; gap: 6px; cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: 0.04em; background: transparent; border: 1px solid rgba(255, 255, 255, 0.08); color: var(--dim); }
.rm-filter span { font-size: 13px; opacity: 0.7; }
.rm-filter.on { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.2); color: var(--text); }
.rm-filter.now.on { background: rgba(242, 181, 68, 0.16); border-color: rgba(242, 181, 68, 0.5); color: var(--gold-light); }
.rm-mcard { border-radius: 20px; background: var(--card); border: 1px solid var(--line-2); padding: 16px; display: flex; flex-direction: column; gap: 12px; margin-bottom: 10px; }
.rm-mcard .rm-area { padding: 0; align-items: center; gap: 12px; }
.rm-mcard .rm-area strong { font-size: 21px; }
.rm-mcard .rm-area small { font-size: 13px; line-height: 1.4; }
.rm-mroute { position: relative; display: flex; flex-direction: column; gap: 10px; padding-left: 22px; }
.rm-mroute::before { content: ""; position: absolute; left: 5px; top: 10px; bottom: 10px; border-left: 2px dashed rgba(242, 181, 68, 0.25); }
.rm-mitem { position: relative; }
.rm-mitem > .rm-mark { position: absolute; left: -22px; top: 16px; width: 10px; height: 10px; }
.rm-mitem .rm-card { padding: 12px 14px; gap: 4px; }
.rm-mitem .rm-built { display: none; }
.rm-mitem .rm-card strong { font-size: 19px; }
.rm-mempty { padding: 10px 12px; border-radius: 12px; border: 1px dashed rgba(255, 255, 255, 0.1); font-size: 13px; line-height: 1.45; color: var(--label); }
.rm-none { padding: 24px 8px; text-align: center; font-size: 14px; color: var(--label); }

@media (max-width: 1100px) {
  .rm-hero-in { grid-template-columns: minmax(0, 1fr); align-items: start; }
}
@media (max-width: 860px) {
  .rm-board { display: none; }
  .rm-phone { display: block; }
  .rm-intro h1 { font-size: 44px; }
  .rm-intro p { font-size: 15px; }
  .rm-hero-in { padding-top: 24px; padding-bottom: 20px; }
  .rm-stages { display: none; }
  .rm-note { flex-direction: column; align-items: flex-start; margin-top: 16px; font-size: 14px; }
}
