/* RuneCraft website — "Gilded Obsidian".
   The game's dark-and-gold interface, made modern: deep obsidian with a warm ember glow, glass cards edged in a fine
   gold gradient, Cinzel for the grand words and Manrope for everything you read, gold-filled buttons, and soft light
   that rises when you touch something. */
:root {
  --bg: #0a090c; --bg2: #121016; --card: rgba(24, 21, 28, .72); --card-solid: #18151c; --well: rgba(255, 255, 255, .035);
  --line: rgba(255, 214, 128, .14); --line2: rgba(255, 214, 128, .28);
  --gold: #f6c453; --gold2: #ffe3a1; --gold3: #c8902e; --ember: #ff8a3d;
  --text: #efe7d6; --muted: #a39a8b; --faint: #6f675c; --green: #7fd88a; --red: #ff7a6b; --blue: #8cc4ff;
  --display: "Cinzel", Georgia, serif; --body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --r: 16px; --r-sm: 10px;
  --shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 20px 40px -20px rgba(0,0,0,.8);
  --gold-grad: linear-gradient(135deg, #ffe3a1 0%, #f6c453 40%, #c8902e 100%);
}
* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
html, body { margin: 0; color: var(--text); font: 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
body { min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(255,138,61,.10), transparent 60%),
    radial-gradient(800px 600px at -10% 20%, rgba(246,196,83,.07), transparent 60%),
    var(--bg); }
/* a faint field of dots in the dark */
body::before { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: -1; opacity: .5;
  background-image: radial-gradient(rgba(246,196,83,.08) 1px, transparent 1.5px); background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%); }
a { color: var(--gold); text-decoration: none; transition: color .15s; }
a:hover { color: var(--gold2); }
::selection { background: rgba(246,196,83,.35); color: #fff; }
h1, h2, h3 { font-family: var(--display); margin: 0 0 .5em; letter-spacing: .01em; line-height: 1.15; }
h1 { font-weight: 900; font-size: clamp(30px, 4.6vw, 48px);
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
h2 { font-weight: 700; font-size: 20px; color: var(--text); display: flex; align-items: center; gap: 12px; }
h2::before { content: ''; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); flex: none; box-shadow: 0 0 12px rgba(246,196,83,.6); }
h3 { font-size: 16px; color: var(--gold2); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.pad { padding: 24px; }

/* ---- buttons: gold for the main thing, glass for the rest ---- */
button, .btn { font: 700 14px var(--body); letter-spacing: .02em; cursor: pointer; border-radius: 999px; padding: 10px 18px;
  display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line2); color: var(--gold2);
  background: rgba(255,255,255,.04); backdrop-filter: blur(8px);
  transition: transform .15s, box-shadow .2s, border-color .2s, background .2s, color .15s; }
button:hover, .btn:hover { border-color: var(--gold); color: #fff; background: rgba(246,196,83,.10); transform: translateY(-1px);
  box-shadow: 0 8px 24px -8px rgba(246,196,83,.45); }
button:active, .btn:active { transform: translateY(0); }
button:disabled { opacity: .45; cursor: default; transform: none; box-shadow: none; }
.btn.big, button.big { font-size: 15px; padding: 13px 24px; color: #1a1206; border: 0; background: var(--gold-grad);
  box-shadow: 0 10px 30px -10px rgba(246,196,83,.7), inset 0 1px 0 rgba(255,255,255,.5); }
.btn.big:hover { color: #1a1206; background: var(--gold-grad); box-shadow: 0 14px 34px -10px rgba(246,196,83,.9), inset 0 1px 0 rgba(255,255,255,.6); filter: brightness(1.06); }
button.quiet, .btn.quiet, .btn.big.quiet { background: rgba(255,255,255,.04); color: var(--text); border: 1px solid var(--line2); box-shadow: none; }
.btn.big.quiet:hover { color: #fff; background: rgba(255,255,255,.08); filter: none; }
button.mini { font-size: 12px; padding: 5px 12px; align-self: flex-start; }
.steam-btn, .btn.big.quiet.steam-btn { background: linear-gradient(180deg, #1f3045, #142233); border: 1px solid #35577a; color: #e8f2fc; }
.steam-btn:hover { background: linear-gradient(180deg, #27405b, #1a2c42); border-color: #6c98c4; color: #fff; box-shadow: 0 8px 24px -8px rgba(108,152,196,.6); }
input, select { font: inherit; color: var(--text); background: rgba(255,255,255,.04); border: 1px solid var(--line2); border-radius: 999px; padding: 10px 16px;
  transition: border-color .15s, box-shadow .15s; }
input::placeholder { color: var(--faint); }
input:focus, select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(246,196,83,.15); }
button:focus-visible, a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
select option { background: var(--card-solid); }

/* ---- the header: a floating glass bar ---- */
.top { position: sticky; top: 0; z-index: 30; }
.topbar { display: flex; align-items: center; gap: 26px; padding: 12px 28px; flex-wrap: wrap;
  background: rgba(10,9,12,.72); backdrop-filter: blur(16px) saturate(1.3); border-bottom: 1px solid var(--line); }
.brand { flex: none; display: flex; }
.brand img { height: 28px; width: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.8)); transition: filter .25s, transform .25s; }
.brand:hover img { filter: drop-shadow(0 0 14px rgba(246,196,83,.55)); transform: scale(1.02); }
nav { display: flex; gap: 4px; flex-wrap: wrap; }
.topbar nav { padding: 4px; border-radius: 999px; background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.topbar nav a { font: 600 14px var(--body); padding: 7px 15px; border-radius: 999px; color: var(--muted); transition: color .15s, background .2s; }
.topbar nav a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.topbar nav a.on { color: #1a1206; background: var(--gold-grad); box-shadow: 0 4px 14px -4px rgba(246,196,83,.6); }
.who { margin-left: auto; white-space: nowrap; display: flex; align-items: center; gap: 12px; font-weight: 600; }
.who img { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--gold3); }
.road { position: relative; height: 62px; overflow: hidden; pointer-events: none; border-bottom: 1px solid var(--line);
  background: linear-gradient(to bottom, transparent 0, transparent 46px, #5d4026 46px, #4a331e 52px, #33231a 58px, #1a130e 62px), rgba(10,9,12,.55);
  backdrop-filter: blur(16px); }
.road::after { content: ''; position: absolute; left: 0; right: 0; top: 44px; height: 3px;
  background: repeating-linear-gradient(90deg, #4f7a2e 0 6px, #3d6224 6px 9px, #5d8c35 9px 14px, #3d6224 14px 17px); }
main { flex: 1; width: 100%; max-width: 1240px; margin: 0 auto; padding: 32px 28px; }

/* ---- the walking folk ---- */
.walker { position: absolute; bottom: 0; background-repeat: no-repeat; pointer-events: auto; cursor: pointer; filter: drop-shadow(0 3px 0 rgba(0,0,0,.45)); will-change: transform; }
.walker.hop { animation: hop .45s ease-out; }
@keyframes hop { 30% { margin-bottom: 14px; } 60% { margin-bottom: 4px; } }
.bubble { position: absolute; bottom: 100%; left: 50%; transform: translate(-50%, -8px); white-space: nowrap; pointer-events: none; z-index: 2;
  font: 700 12px var(--body); color: #1a1206; background: var(--gold-grad); border-radius: 999px; padding: 5px 11px;
  box-shadow: 0 8px 20px -6px rgba(0,0,0,.7); animation: pop .2s ease-out; }
.bubble::after { content: ''; position: absolute; left: 50%; top: 100%; transform: translateX(-50%); border: 6px solid transparent; border-top-color: #e6ae45; }
@keyframes pop { from { opacity: 0; transform: translate(-50%, 2px) scale(.85); } }

/* ---- footer: the meadow, then a quiet sign-off ---- */
.foot { margin-top: 56px; }
.meadow { position: relative; height: 92px; overflow: hidden; pointer-events: none;
  background: linear-gradient(to bottom, transparent 0, transparent 72px, #5d8c35 72px, #4f7a2e 77px, #5d4026 77px, #4a331e 84px, #2a1c12 92px); }
.meadow::before { content: ''; position: absolute; left: 0; right: 0; top: 68px; height: 5px;
  background: repeating-linear-gradient(90deg, transparent 0 7px, #6fa043 7px 9px, transparent 9px 15px, #4f7a2e 15px 17px, transparent 17px 26px); }
.foot-in { background: linear-gradient(180deg, #120f14, #08070a); border-top: 1px solid var(--line); padding: 34px 28px 40px; text-align: center; }
.foot-in img { height: 24px; width: auto; opacity: .95; }
.foot-in nav { justify-content: center; margin: 16px 0 8px; gap: 22px; }
.foot-in nav a { font: 600 14px var(--body); color: var(--muted); }
.foot-in nav a:hover { color: var(--gold2); }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px); opacity: 0; transition: .35s cubic-bezier(.2,.8,.2,1); z-index: 50; pointer-events: none;
  background: rgba(24,21,28,.92); backdrop-filter: blur(12px); border: 1px solid var(--line2); color: var(--gold2); padding: 12px 22px; border-radius: 999px;
  font: 700 14px var(--body); box-shadow: 0 20px 40px -10px rgba(0,0,0,.8), 0 0 30px -10px rgba(246,196,83,.5); }
.toast.on { transform: translate(-50%, 0); opacity: 1; }

/* ---- glass cards edged in gold ---- */
.panel { position: relative; background: var(--card); backdrop-filter: blur(14px); border-radius: var(--r); padding: 22px 24px; box-shadow: var(--shadow); isolation: isolate; }
.panel::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: -1;
  background: linear-gradient(160deg, rgba(255,227,161,.45), rgba(255,227,161,.08) 35%, rgba(255,227,161,.04) 65%, rgba(255,138,61,.25));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: 1fr 1fr; } .g3 { grid-template-columns: repeat(3, 1fr); }
.g-side { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.section { margin: 48px 0 18px; font-size: 26px; }
.section::before { width: 9px; height: 9px; }
@media (max-width: 860px) { .g2, .g3, .g-side { grid-template-columns: 1fr; } main { padding: 20px 16px; } .topbar { padding: 10px 16px; gap: 12px; } }

/* ---- home: the living background ---- */
.hero { position: relative; margin: -32px calc(50% - 50vw) 34px; height: min(84vh, 720px); min-height: 480px; overflow: hidden; }
.hero .shot { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.8s ease; transform: scale(1.02); }
.hero .shot.on { opacity: 1; animation: drift 10s ease-out forwards; }
@keyframes drift { from { transform: scale(1.06); } to { transform: scale(1.0); } }
.hero::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(10,9,12,.92) 0%, rgba(10,9,12,.6) 38%, rgba(10,9,12,0) 70%), linear-gradient(to top, var(--bg) 0%, rgba(10,9,12,0) 32%),
    linear-gradient(to bottom, rgba(10,9,12,.5) 0%, rgba(10,9,12,0) 18%); }
.hero-in { position: relative; z-index: 2; max-width: 1240px; margin: 0 auto; height: 100%; padding: 0 28px; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.hero-in img.logo { width: min(560px, 90%); height: auto; filter: drop-shadow(0 8px 24px rgba(0,0,0,.9)); }
.hero-in p { max-width: 44ch; font-size: 19px; line-height: 1.55; color: #ece4d2; text-shadow: 0 2px 10px rgba(0,0,0,.8); margin: 10px 0 18px; }
.hero-in .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .caption { position: absolute; z-index: 2; right: 28px; bottom: 60px; text-align: right; font: 700 18px var(--display); color: #fff; text-shadow: 0 2px 10px #000; }
.hero .caption small { display: block; font: 500 13px var(--body); color: #d8cfbd; }
.dots { position: absolute; z-index: 3; right: 28px; bottom: 30px; display: flex; gap: 6px; }
.dots button { width: 22px; height: 4px; padding: 0; border: 0; border-radius: 4px; background: rgba(255,255,255,.25); backdrop-filter: none; }
.dots button:hover { transform: none; box-shadow: none; background: rgba(255,255,255,.5); }
.dots button.on { width: 40px; background: var(--gold-grad); }
@media (max-width: 700px) { .hero { height: 76vh; } .hero::after { background: linear-gradient(to top, var(--bg) 8%, rgba(10,9,12,.6) 60%, rgba(10,9,12,.35)); } .hero .caption { display: none; } }

.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(127,216,138,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(127,216,138,0); } 100% { box-shadow: 0 0 0 0 rgba(127,216,138,0); } }

/* stat tiles: big gold numbers */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
@media (max-width: 760px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
.tile { position: relative; overflow: hidden; border-radius: var(--r); padding: 20px 22px 18px; background: var(--card); backdrop-filter: blur(14px);
  border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .2s, border-color .2s; }
.tile:hover { transform: translateY(-2px); border-color: var(--line2); }
.tile::after { content: ''; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(246,196,83,.18), transparent 70%); }
.tile .n { font: 800 32px/1.1 var(--display); background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.tile .l { color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .02em; margin-top: 4px; }
.tile .ic { position: absolute; right: 14px; bottom: 8px; z-index: 1; filter: drop-shadow(0 3px 0 rgba(0,0,0,.5)); }

/* places of the realm */
.places { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 960px) { .places { grid-template-columns: repeat(2, 1fr); } }
.place-card { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: #000; box-shadow: var(--shadow);
  outline: 1px solid var(--line); outline-offset: -1px; transition: transform .3s, box-shadow .3s; }
.place-card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -18px rgba(0,0,0,.9), 0 0 0 1px rgba(246,196,83,.5); }
.place-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2,.8,.2,1), filter .4s; filter: saturate(.95); }
.place-card:hover img { transform: scale(1.07); filter: saturate(1.1); }
.place-card .lbl { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; background: linear-gradient(transparent, rgba(8,7,10,.95));
  font: 700 17px var(--display); color: #fff; }
.place-card .lbl small { display: block; font: 500 13px var(--body); color: #cfc6b4; margin-top: 2px; }
.place-card .go { position: absolute; top: 12px; right: 12px; font: 700 11px var(--body); color: #1a1206; background: var(--gold-grad);
  padding: 4px 10px; border-radius: 999px; opacity: 0; transform: translateY(-4px); transition: .25s; }
.place-card:hover .go { opacity: 1; transform: none; }

/* the locals */
.bestiary { display: flex; gap: 4px; align-items: flex-end; overflow-x: auto; padding: 42px 6px 10px; scrollbar-width: thin; scrollbar-color: var(--gold3) transparent; }
.beast { flex: none; position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 10px 8px; border-radius: 14px;
  border: 1px solid transparent; background: none; backdrop-filter: none; box-shadow: none; cursor: pointer; font: inherit; color: var(--text); }
.beast:hover { border-color: var(--line2); background: rgba(246,196,83,.06); transform: none; box-shadow: none; color: var(--text); }
.beast .spr { background-repeat: no-repeat; filter: drop-shadow(0 4px 0 rgba(0,0,0,.5)); transition: transform .2s; }
.beast:hover .spr { transform: translateY(-4px); }
.beast.hop .spr { animation: hop2 .45s ease-out; }
@keyframes hop2 { 35% { transform: translateY(-18px); } 70% { transform: translateY(-3px); } }
.beast .nm { font: 700 13px var(--display); color: var(--gold2); white-space: nowrap; }
.beast .ct { font-size: 11px; color: var(--muted); white-space: nowrap; }
.beast .bubble { bottom: auto; top: -32px; }

/* feed */
.feed { list-style: none; margin: 0; padding: 0; }
.feed li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); align-items: center; }
.feed li:last-child { border-bottom: 0; }
.feed .ic { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 50%; background: rgba(246,196,83,.1); color: var(--gold); font-size: 13px; }
.feed .t { color: var(--faint); font-size: 12px; margin-left: auto; white-space: nowrap; font-weight: 600; }

/* map */
.map-wrap { position: relative; height: calc(100vh - 240px); min-height: 440px; border-radius: var(--r); overflow: hidden; background: #08070a;
  touch-action: none; cursor: grab; box-shadow: var(--shadow), 0 0 0 1px var(--line2); }
.map-wrap.drag { cursor: grabbing; }
.map-layer { position: absolute; left: 0; top: 0; width: 2048px; height: 2048px; transform-origin: 0 0; }
.map-layer > img { width: 2048px; height: 2048px; image-rendering: pixelated; display: block; user-select: none; -webkit-user-drag: none; }
.place { position: absolute; transform: translate(-50%, -50%); font: 700 11px var(--display); color: #2a1d0b; text-shadow: 0 0 3px #f3e6c4, 0 0 3px #f3e6c4; white-space: nowrap; pointer-events: none; }
.pin { position: absolute; transform: translate(-50%, -50%); pointer-events: auto; cursor: pointer; }
.pin i { display: block; width: 10px; height: 10px; transform: rotate(45deg); background: var(--gold); border: 2px solid #1a1309; box-shadow: 0 0 0 3px rgba(246,196,83,.35), 0 0 12px rgba(246,196,83,.8); }
.pin.me i { background: var(--blue); box-shadow: 0 0 0 3px rgba(140,196,255,.4), 0 0 12px rgba(140,196,255,.8); }
.pin span { position: absolute; left: 13px; top: -7px; font: 700 10px var(--body); color: #fff; text-shadow: 0 1px 2px #000, 0 0 3px #000; white-space: nowrap; }
.ping { position: absolute; transform: translate(-50%, -50%); width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--red); animation: ping 2.4s ease-out infinite; pointer-events: none; }
@keyframes ping { 0% { width: 6px; height: 6px; opacity: 1; } 100% { width: 46px; height: 46px; opacity: 0; } }
.map-ui { position: absolute; right: 14px; top: 14px; display: flex; flex-direction: column; gap: 8px; z-index: 5; }
.map-ui button { width: 40px; height: 40px; justify-content: center; padding: 0; font-size: 18px; background: rgba(18,16,22,.8); }
.map-side { position: absolute; left: 14px; top: 14px; z-index: 5; width: 260px; max-height: calc(100% - 28px); overflow: auto;
  background: rgba(18,16,22,.78); backdrop-filter: blur(14px); border: 1px solid var(--line2); border-radius: 14px; padding: 14px 16px; }
.map-side h3 { margin-bottom: 8px; display: flex; align-items: center; gap: 8px; color: var(--text); font-family: var(--body); font-weight: 800; }
.map-side .row { display: flex; justify-content: space-between; gap: 8px; padding: 6px 8px; margin: 0 -8px; border-radius: 8px; font-size: 14px; cursor: pointer; }
.map-side .row:hover { background: rgba(246,196,83,.08); color: var(--gold2); }
@media (max-width: 700px) { .map-side { top: auto; bottom: 12px; width: calc(100% - 24px); max-height: 30%; } }

/* tables */
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 15px; }
th, td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); }
th { color: var(--faint); font: 700 11px var(--body); text-transform: uppercase; letter-spacing: .12em; }
td.num, th.num { text-align: right; }
tbody tr { transition: background .15s; }
tbody tr:hover td { background: rgba(255,255,255,.025); }
tr.mine td { background: rgba(246,196,83,.08); }
tr.top1 td:first-child { color: var(--gold); font-weight: 800; }
.skill-pick { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.skill-pick a { padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted); background: rgba(255,255,255,.03); border: 1px solid var(--line); transition: .15s; }
.skill-pick a:hover { color: var(--text); border-color: var(--line2); }
.skill-pick a.on { color: #1a1206; background: var(--gold-grad); border-color: transparent; }

/* bars */
.bars { display: grid; gap: 10px; }
.bar { display: grid; grid-template-columns: 160px 1fr 64px; gap: 12px; align-items: center; font-size: 14px; }
.bar .track { height: 8px; background: rgba(255,255,255,.05); border-radius: 999px; overflow: hidden; }
.bar .fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--gold3), var(--gold), var(--gold2)); box-shadow: 0 0 12px rgba(246,196,83,.5); }
.bar .v { text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 700; }
.bar .k { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: flex; align-items: center; gap: 10px; font-weight: 600; }
@media (max-width: 500px) { .bar { grid-template-columns: 110px 1fr 50px; } }

/* a character */
.char-head { position: relative; display: flex; gap: 26px; align-items: flex-end; margin-bottom: 24px; flex-wrap: wrap; padding: 34px 30px 26px; overflow: hidden;
  border-radius: var(--r); box-shadow: var(--shadow), 0 0 0 1px var(--line2);
  background: linear-gradient(90deg, rgba(10,9,12,.94) 10%, rgba(10,9,12,.55) 60%, rgba(10,9,12,.25)), var(--shot, none) center / cover; }
.char-head .me-spr { height: 140px; cursor: pointer; filter: drop-shadow(0 6px 0 rgba(0,0,0,.5)) drop-shadow(0 0 30px rgba(246,196,83,.25)); animation: idle 2.6s ease-in-out infinite; position: relative; }
@keyframes idle { 50% { transform: translateY(-4px); } }
.char-head .who-box { position: relative; }
.char-head .who-box > .muted { font-weight: 600; }
.char-head img.av { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--gold3); }
.badge { display: inline-block; padding: 3px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; border: 1px solid var(--line2); color: var(--muted); background: rgba(0,0,0,.35); margin-right: 4px; }
.badge.on { color: var(--green); border-color: rgba(127,216,138,.4); background: rgba(127,216,138,.08); }
.skills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.sk { display: flex; justify-content: space-between; align-items: center; background: var(--well); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 8px 12px; font-size: 14px; font-weight: 600; transition: border-color .15s; }
.sk:hover { border-color: var(--line2); }
.sk b { color: var(--gold); font-variant-numeric: tabular-nums; font-weight: 800; }
.sk.total { grid-column: 1 / -1; background: rgba(246,196,83,.08); border-color: var(--line2); }
.sk a { color: var(--text); }
.slots { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.slot { background: var(--well); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 8px 12px; font-size: 14px; font-weight: 600; }
.slot small { display: block; color: var(--faint); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.items { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 6px; }
.it { background: var(--well); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 8px 10px; font-size: 13px; font-weight: 600; display: flex; justify-content: space-between; gap: 6px; }
.it b { color: var(--gold); }
.quests { list-style: none; margin: 0; padding: 0; columns: 2; font-size: 14px; font-weight: 600; }
.quests li { padding: 4px 0; break-inside: avoid; }
.q-done { color: var(--green); } .q-started { color: #ffd76a; } .q-not { color: var(--red); }
.code-in { font-family: ui-monospace, monospace; font-size: 20px; letter-spacing: .2em; text-transform: uppercase; width: 13ch; }
.err { color: var(--red); } .ok { color: var(--green); }
.row-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.search { display: flex; gap: 8px; margin-bottom: 16px; }
.search input { flex: 1; min-width: 0; }

/* ---- the Global Exchange ---- */
.ico { image-rendering: pixelated; vertical-align: middle; flex: none; }
.ge-hero { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; margin-bottom: 24px; padding: 40px 36px; overflow: hidden;
  border-radius: var(--r); box-shadow: var(--shadow), 0 0 0 1px var(--line2);
  background: radial-gradient(ellipse at 85% 60%, rgba(255,170,60,.28), transparent 55%), linear-gradient(90deg, rgba(10,9,12,.95) 20%, rgba(10,9,12,.55)), url(img/shots/ashford_bank.jpg) center / cover; }
.ge-hero p { max-width: 56ch; color: #e6ddca; font-size: 17px; }
.ge-art { position: relative; display: flex; align-items: flex-end; gap: 8px; filter: drop-shadow(0 6px 0 rgba(0,0,0,.5)); }
.coins-pile { width: 76px; height: 48px; background:
  radial-gradient(circle at 30% 70%, #ffe07a 0 9px, #a8741c 10px, transparent 11px), radial-gradient(circle at 62% 72%, #ffe9a1 0 9px, #a8741c 10px, transparent 11px),
  radial-gradient(circle at 46% 42%, #ffd866 0 9px, #a8741c 10px, transparent 11px), radial-gradient(circle at 80% 48%, #f0c050 0 8px, #a8741c 9px, transparent 10px); }
@media (max-width: 700px) { .ge-hero { grid-template-columns: 1fr; padding: 28px 22px; } .ge-art { display: none; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 6px; }
.chip { border: 1px solid var(--line2); background: rgba(0,0,0,.35); backdrop-filter: blur(8px); border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 600; color: var(--muted); }
.chip b { color: var(--gold); font-weight: 800; }
.chip.big b { font: 800 20px var(--display); }
.ge-tools { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.ge-tools input { flex: 1 1 240px; }
.seg { display: flex; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.03); border: 1px solid var(--line); gap: 2px; }
.seg button { border: 0; padding: 7px 14px; font-size: 13px; background: transparent; color: var(--muted); backdrop-filter: none; }
.seg button:hover { transform: none; box-shadow: none; background: rgba(255,255,255,.05); color: var(--text); }
.seg button.on { color: #1a1206; background: var(--gold-grad); }
.filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.filters button { font-size: 12px; padding: 5px 12px; color: var(--muted); background: transparent; border-color: var(--line); }
.filters button:hover { transform: none; box-shadow: none; }
.filters button.on { color: var(--gold2); border-color: var(--gold); background: rgba(246,196,83,.1); }
.ge-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.ge-card { display: grid; grid-template-columns: 48px 1fr; grid-template-rows: auto auto auto; column-gap: 12px; padding: 12px 14px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--well); color: var(--text); transition: transform .2s, border-color .2s, background .2s, box-shadow .2s; }
.ge-card:hover { transform: translateY(-2px); border-color: var(--line2); background: rgba(246,196,83,.06); color: var(--text); box-shadow: 0 14px 30px -16px rgba(0,0,0,.9); }
.ge-card .ico { grid-row: 1 / 4; align-self: center; filter: drop-shadow(0 3px 0 rgba(0,0,0,.6)); }
.ge-card .nm { font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ge-card .pr { color: var(--gold); font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; }
.ge-card .vol { color: var(--faint); font-size: 11px; font-weight: 600; }
.chg { font-size: 11px; margin-left: 4px; font-weight: 800; }
.chg.up { color: var(--green); } .chg.down { color: var(--red); } .chg.flat { color: var(--faint); }
.slots6 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ge-slot { border: 1px solid var(--line); background: var(--well); border-radius: 14px; padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; min-height: 126px; }
.ge-slot.empty { align-items: center; justify-content: center; color: var(--faint); font-size: 12px; border-style: dashed; font-weight: 600; }
.ge-slot .top { display: flex; justify-content: space-between; align-items: center; position: static; }
.ge-slot .side { font: 800 10px var(--body); text-transform: uppercase; letter-spacing: .14em; }
.ge-slot .side.buy { color: var(--blue); } .ge-slot .side.sell { color: #ffb36b; }
.ge-slot .due { font-size: 10px; color: #1a1206; background: var(--gold-grad); padding: 2px 8px; border-radius: 999px; font-weight: 800; }
.ge-slot .what { display: flex; align-items: center; gap: 8px; color: var(--text); font-size: 14px; font-weight: 700; }
.prog { height: 6px; background: rgba(255,255,255,.06); border-radius: 999px; overflow: hidden; }
.prog i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #ff9a3d, #ffc94a); }
.ge-slot.done .prog i { background: linear-gradient(90deg, #3fae5a, #7fd88a); }
.ge-slot.cancel .prog i { background: linear-gradient(90deg, #c2412e, #ff7a6b); }
ol.how { margin: 0 0 10px; padding-left: 20px; display: grid; gap: 8px; font-size: 15px; }
.crumbs { color: var(--muted); font-size: 14px; margin: 0 0 12px; font-weight: 600; }
.ge-item { display: flex; gap: 30px; align-items: center; margin-bottom: 24px; padding: 30px 32px; flex-wrap: wrap; border-radius: var(--r);
  background: radial-gradient(ellipse at 8% 50%, rgba(246,196,83,.18), transparent 45%), var(--card); box-shadow: var(--shadow), 0 0 0 1px var(--line2); }
.big-ico { width: 140px; height: 140px; display: grid; place-items: center; border-radius: 28px; flex: none;
  background: radial-gradient(circle at 50% 40%, rgba(246,196,83,.25), rgba(0,0,0,.4) 70%); box-shadow: inset 0 0 0 1px var(--line2), 0 20px 40px -20px rgba(246,196,83,.5); }
.big-ico img { filter: drop-shadow(0 6px 0 rgba(0,0,0,.6)); }
.chart { width: 100%; height: auto; display: block; }
.chart text { fill: var(--faint); font: 600 11px var(--body); }
.chart .gl { stroke: rgba(255,255,255,.06); }
.chart .ln { fill: none; stroke: var(--gold); stroke-width: 2.5; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(246,196,83,.5)); }
.chart .area { fill: rgba(246,196,83,.10); }
.chart .pt { fill: var(--bg); stroke: var(--gold); stroke-width: 2; }
.chart-empty { height: 170px; display: grid; place-items: center; border: 1px dashed var(--line2); border-radius: 14px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
@media (max-width: 700px) { .top { position: static; } }

/* ---- world events ---- */
.ev-strip { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 18px; margin: 0 0 18px; padding: 14px 22px;
  border-radius: var(--r); color: var(--text); background: linear-gradient(100deg, rgba(246,196,83,.10), rgba(24,21,28,.8) 45%); border: 1px solid var(--line2);
  box-shadow: var(--shadow); transition: transform .15s, border-color .15s; }
.ev-strip:hover { transform: translateY(-2px); border-color: var(--gold); color: var(--text); }
.ev-strip.live { background: linear-gradient(100deg, rgba(255,122,107,.18), rgba(24,21,28,.85) 50%); border-color: rgba(255,122,107,.45); }
.ev-strip .pic { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 12px; background: rgba(0,0,0,.35); }
.ev-strip small { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.ev-strip b { font-family: var(--display); font-size: 19px; color: var(--gold2); }
.ev-strip .cd { text-align: right; } .ev-strip .cd b { font-family: var(--body); font-variant-numeric: tabular-nums; color: #fff; }
.ev-strip .go { color: var(--gold); font-weight: 700; font-size: 14px; }
@media (max-width: 700px) { .ev-strip { grid-template-columns: auto 1fr; } .ev-strip .cd { text-align: left; } .ev-strip .go { display: none; } }

.ev-hero { margin: 8px 0 18px; } .ev-hero p { max-width: 760px; }
.ev-list { display: grid; gap: 14px; margin-bottom: 18px; }
.ev-card { position: relative; display: grid; grid-template-columns: 84px 1fr; gap: 18px; padding: 18px 20px; border-radius: var(--r);
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.ev-card::after { content: ''; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--gold-grad); }
.ev-card.raid::after { background: linear-gradient(var(--red), #b33d32); }
.ev-card.live { border-color: rgba(255,122,107,.5); background: linear-gradient(110deg, rgba(255,122,107,.14), var(--card) 55%); }
.ev-card.live.xp { border-color: rgba(246,196,83,.55); background: linear-gradient(110deg, rgba(246,196,83,.14), var(--card) 55%); }
.ev-pic { width: 84px; height: 84px; display: grid; place-items: center; border-radius: 14px; background: radial-gradient(circle at 50% 40%, rgba(246,196,83,.16), rgba(0,0,0,.35)); }
.ev-card.live .ev-pic > * { animation: idle 1.6s ease-in-out infinite; }
.ev-tag { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 800; display: flex; align-items: center; gap: 6px; }
.ev-card h3 { font-size: 20px; margin: 4px 0 4px; }
.ev-card p { margin: 0 0 10px; color: var(--text); opacity: .85; }
.ev-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--muted); align-items: center; }
.ev-meta b { color: #fff; font-variant-numeric: tabular-nums; }
button.link { background: none; border: 0; padding: 0; color: var(--red); font: inherit; cursor: pointer; box-shadow: none; }
button.link:hover { background: none; transform: none; text-decoration: underline; color: var(--red); }

.comp { background: linear-gradient(160deg, rgba(246,196,83,.10), var(--card) 40%); }
.comp-head { display: flex; gap: 16px; align-items: center; margin-bottom: 8px; }
.comp-head .pic { width: 74px; height: 74px; border-radius: 16px; display: grid; place-items: center; flex: none;
  background: radial-gradient(circle at 50% 35%, rgba(246,196,83,.35), rgba(0,0,0,.4)); box-shadow: 0 0 0 1px var(--line2), 0 0 30px rgba(246,196,83,.2); }
.comp-head small { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 800; }
.comp-head h2 { margin: 0; font-size: 28px; } .comp-head h2::before { display: none; }
.comp-me { margin: 10px 0; padding: 10px 14px; border-radius: var(--r-sm); background: rgba(140,196,255,.08); border: 1px solid rgba(140,196,255,.3); color: var(--blue); }
.comp-foot { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 14px; }
.comp-foot small { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 800; margin-bottom: 2px; }
.badge.trophy { color: var(--gold2); border-color: rgba(246,196,83,.5); background: rgba(246,196,83,.10); }
.badge.trophy.r1 { box-shadow: 0 0 14px rgba(246,196,83,.35); }

.ev-form { display: grid; gap: 10px; }
.ev-form label { display: grid; gap: 4px; font-size: 13px; color: var(--muted); font-weight: 700; }
.ev-form select, .ev-form input { font: inherit; color: var(--text); background: rgba(0,0,0,.35); border: 1px solid var(--line2); border-radius: var(--r-sm); padding: 8px 10px; }
.ev-form .err { color: var(--red); font-size: 13px; min-height: 1em; }

/* a raid on the live map */
.raid-mark { position: absolute; transform: translate(-50%, -50%); pointer-events: auto; color: #fff; z-index: 2; }
.raid-mark .ring { position: absolute; left: 50%; top: 50%; width: 70px; height: 70px; margin: -35px 0 0 -35px; border-radius: 50%;
  border: 2px solid var(--red); background: rgba(255,122,107,.12); animation: raidpulse 1.8s ease-out infinite; }
.raid-mark .spr-mini { position: relative; display: block; filter: drop-shadow(0 2px 0 #000); }
.raid-mark .lbl { position: absolute; left: 50%; top: 100%; transform: translateX(-50%); white-space: nowrap; font: 800 11px var(--body);
  color: #ffd2cb; text-shadow: 0 1px 2px #000, 0 0 4px #000; }
@keyframes raidpulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
@media (max-width: 600px) { .ev-card { grid-template-columns: 56px 1fr; gap: 12px; padding: 14px; } .ev-pic { width: 56px; height: 56px; } .ev-pic > * { transform: scale(.75); } }
.ev-card.mg::after { background: linear-gradient(#8cc4ff, #5a7fd0); }
.ev-card.live.mg { border-color: rgba(140,196,255,.55); background: linear-gradient(110deg, rgba(140,196,255,.14), var(--card) 55%); }
.raid-mark.mg .ring { border-color: var(--blue); background: rgba(140,196,255,.12); }
.raid-mark.mg .lbl { color: #d6e9ff; }
.ev-form label[hidden] { display: none; }
.comp-prize { margin: 8px 0; padding: 10px 14px; border-radius: var(--r-sm); background: rgba(246,196,83,.08); border: 1px solid var(--line2); font-size: 14px; }

/* wiki "show on map" spots: pulsing red rings where a monster lives */
.spot { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #e0412b; border: 2px solid #ffe2a8;
  box-shadow: 0 0 0 3px rgba(224, 65, 43, .35); animation: spotpulse 1.6s ease-in-out infinite; pointer-events: auto; }
@keyframes spotpulse { 0%, 100% { box-shadow: 0 0 0 2px rgba(224, 65, 43, .45); } 50% { box-shadow: 0 0 0 8px rgba(224, 65, 43, 0); } }

/* ==================================================================
   Iron and Ember (0.41): the game's own interface, on the web.
   Brushed iron plates with bevelled edges and rivets, sunken wells,
   and ember-orange light for whatever is chosen or hovered.
   ================================================================== */
:root {
  --bg: #0e0d10; --bg2: #16151a; --card: #28272d; --card-solid: #28272d; --well: #0f0e11;
  --iron: #28272d; --iron-top: #36353c; --iron-dark: #0e0d10; --iron-light: #686570; --rivet: #8a858e;
  --line: #44424b; --line2: #5c5963;
  --gold: #ffa848; --gold2: #ffc46e; --gold3: #ff7a24; --ember: #ff7a24;
  --text: #e2dcd4; --muted: #a29b94; --faint: #78726c;
  --r: 6px; --r-sm: 4px;
  --gold-grad: linear-gradient(180deg, #ffc46e 0%, #ff9a3c 45%, #e8601a 100%);
  --plate: linear-gradient(180deg, #36353c 0%, #2b2a30 38%, #252429 100%);
  --brush: repeating-linear-gradient(90deg, rgba(255,255,255,.018) 0 1px, transparent 1px 3px, rgba(0,0,0,.03) 3px 4px);
  --bevel: inset 0 1px 0 rgba(255,255,255,.10), inset 0 -1px 0 rgba(0,0,0,.55), inset 1px 0 0 rgba(255,255,255,.04), inset -1px 0 0 rgba(0,0,0,.35);
  --shadow: 0 0 0 1px #0e0d10, 0 14px 30px -14px rgba(0,0,0,.9);
  --rivets: radial-gradient(circle at 9px 9px, #b3aeb6 0 1px, #8a858e 1.5px 2.6px, #3a383f 3px, transparent 3.6px),
            radial-gradient(circle at calc(100% - 9px) 9px, #b3aeb6 0 1px, #8a858e 1.5px 2.6px, #3a383f 3px, transparent 3.6px),
            radial-gradient(circle at 9px calc(100% - 9px), #b3aeb6 0 1px, #8a858e 1.5px 2.6px, #3a383f 3px, transparent 3.6px),
            radial-gradient(circle at calc(100% - 9px) calc(100% - 9px), #b3aeb6 0 1px, #8a858e 1.5px 2.6px, #3a383f 3px, transparent 3.6px);
  --glow: 0 0 0 1px #ff7a24, 0 0 18px -2px rgba(255,122,36,.55);
}
body { background:
    radial-gradient(1100px 520px at 50% -12%, rgba(255,122,36,.09), transparent 62%),
    var(--brush), linear-gradient(180deg, #121115, #0c0b0e) fixed; }
body::before { background-image: radial-gradient(rgba(255,122,36,.06) 1px, transparent 1.5px); opacity: .35; }
::selection { background: rgba(255,122,36,.4); }
h1 { background: linear-gradient(180deg, #ffd9a0 0%, #ffa848 55%, #ff7a24 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 rgba(0,0,0,.6)); letter-spacing: .02em; }
h2::before { background: var(--ember); box-shadow: 0 0 10px rgba(255,122,36,.8); }
h3 { color: var(--gold2); }

/* plates: panels, tiles and cards */
.panel, .tile, .place-card, .beast {
  background: var(--rivets), var(--brush), var(--plate) !important; backdrop-filter: none;
  border: 1px solid #0e0d10; border-radius: var(--r); box-shadow: var(--bevel), var(--shadow); }
.panel::before { background: none; }
.panel { padding: 24px 26px; }
.tile::after { background: radial-gradient(circle, rgba(255,122,36,.16), transparent 70%); }
.tile:hover, .place-card:hover, .beast:hover { box-shadow: var(--bevel), var(--glow); border-color: #ff7a24; }
.section::before { background: var(--ember) !important; }

/* buttons: iron, with an ember face for the main action */
button, .btn { border-radius: var(--r-sm); background: var(--plate); color: var(--text); border: 1px solid #0e0d10; box-shadow: var(--bevel); backdrop-filter: none; }
button:hover, .btn:hover { background: var(--plate); color: #fff; border-color: #ff7a24; box-shadow: var(--bevel), 0 0 14px -3px rgba(255,122,36,.7); }
.btn.big, button.big { border-radius: var(--r-sm); color: #1c0d02; background: var(--gold-grad); border: 1px solid #6a2a06;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), inset 0 -2px 0 rgba(120,40,0,.35), 0 8px 22px -10px rgba(255,122,36,.8); text-shadow: 0 1px 0 rgba(255,220,170,.4); }
.btn.big:hover { color: #1c0d02; background: var(--gold-grad); filter: brightness(1.08); }
button.quiet, .btn.quiet, .btn.big.quiet { background: var(--plate); color: var(--text); border: 1px solid #0e0d10; box-shadow: var(--bevel); text-shadow: none; }
input, select { border-radius: var(--r-sm); background: var(--well); border: 1px solid #0a090c; box-shadow: inset 0 2px 4px rgba(0,0,0,.6), 0 1px 0 rgba(255,255,255,.05); }
input:focus, select:focus { border-color: #ff7a24; box-shadow: inset 0 2px 4px rgba(0,0,0,.6), 0 0 0 3px rgba(255,122,36,.2); }

/* the header: one long iron plate with an ember seam */
.topbar { background: var(--brush), var(--plate); backdrop-filter: none; border-bottom: 1px solid #0a090c;
  box-shadow: var(--bevel), 0 1px 0 rgba(255,122,36,.55), 0 6px 18px -6px rgba(0,0,0,.9); }
.topbar nav { border-radius: var(--r-sm); background: var(--well); border: 1px solid #0a090c; box-shadow: inset 0 2px 4px rgba(0,0,0,.6), 0 1px 0 rgba(255,255,255,.05); }
.topbar nav a { border-radius: 3px; }
.topbar nav a.on { color: #1c0d02; background: var(--gold-grad); box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 0 12px -2px rgba(255,122,36,.7); }

/* the wordmark: forged letters with a hot edge */
.wordmark { font-family: var(--display); font-weight: 900; font-size: 25px; letter-spacing: .14em; line-height: 1; text-transform: uppercase;
  background: linear-gradient(180deg, #fff1d6 0%, #ffc46e 30%, #ff8a2e 62%, #b8430c 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 1px 0 #2a1004) drop-shadow(0 0 10px rgba(255,122,36,.35)); white-space: nowrap; }
.wordmark i { font-style: normal; display: inline-block; width: .5em; height: .5em; margin: 0 .12em 0 .18em; transform: rotate(45deg) translateY(-.12em);
  background: linear-gradient(135deg, #ffe1b0, #ff7a24 60%, #8a2f06); box-shadow: 0 0 8px rgba(255,122,36,.8); vertical-align: middle; }
.brand:hover .wordmark { filter: drop-shadow(0 1px 0 #2a1004) drop-shadow(0 0 16px rgba(255,122,36,.7)); }
.foot .wordmark { font-size: 19px; }
.foot { background: var(--brush), linear-gradient(180deg, #1a191e, #0e0d10); box-shadow: inset 0 1px 0 rgba(255,122,36,.45); }
.toast { background: var(--rivets), var(--plate); border: 1px solid #ff7a24; box-shadow: var(--bevel), var(--glow); border-radius: var(--r); }
.hero-mark { font-size: clamp(40px, 8vw, 84px); margin: 0 0 .2em; }

/* ===== header and footer, take two: slim, translucent iron ===== */
.road, .meadow { display: none !important; }
.top { position: sticky; top: 0; z-index: 40; }
.topbar { display: flex; align-items: center; gap: 24px; padding: 0 28px; height: 60px; flex-wrap: nowrap;
  background: rgba(30,29,34,.78); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid rgba(0,0,0,.7); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 1px 0 rgba(255,122,36,.35), 0 10px 24px -14px rgba(0,0,0,.9); }
.topbar .wordmark { font-size: 21px; }
.topbar nav, .topbar nav#nav { flex: 1; justify-content: center; gap: 2px; padding: 0; background: none; border: 0; box-shadow: none; border-radius: 0; height: 100%; align-items: stretch; flex-wrap: nowrap; }
.topbar nav a { position: relative; display: flex; align-items: center; padding: 0 14px; border-radius: 0; color: var(--muted); font: 600 14px var(--body); white-space: nowrap; background: none; }
.topbar nav a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; border-radius: 2px; background: #ff7a24;
  transform: scaleX(0); transition: transform .2s; box-shadow: 0 0 10px rgba(255,122,36,.9); }
.topbar nav a:hover { color: var(--text); background: none; }
.topbar nav a:hover::after { transform: scaleX(.5); opacity: .6; }
.topbar nav a.on { color: #ffc46e; background: none; box-shadow: none; text-shadow: 0 0 12px rgba(255,122,36,.5); }
.topbar nav a.on::after { transform: scaleX(1); opacity: 1; }
.topbar .who { flex: none; }
.topbar .who .btn, .topbar .who button { padding: 7px 14px; font-size: 13px; }
.menu-btn { display: none; margin-left: auto; width: 40px; height: 36px; padding: 0; flex-direction: column; justify-content: center; align-items: center; gap: 4px; }
.menu-btn span { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s, opacity .2s; }
.topbar.open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.topbar.open .menu-btn span:nth-child(2) { opacity: 0; }
.topbar.open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1060px) {
  .topbar { padding: 0 16px; gap: 12px; }
  .menu-btn { display: flex; }
  .topbar nav#nav { display: none; position: absolute; top: 60px; left: 0; right: 0; height: auto; flex-direction: column; padding: 8px 12px 14px;
    background: rgba(24,23,28,.97); backdrop-filter: blur(14px); border-bottom: 1px solid #000; box-shadow: 0 1px 0 rgba(255,122,36,.35), 0 20px 30px -10px rgba(0,0,0,.9); }
  .topbar.open nav#nav { display: flex; }
  .topbar nav a { padding: 12px 10px; border-bottom: 1px solid rgba(255,255,255,.05); }
  .topbar nav a::after { left: 0; right: auto; width: 3px; top: 10px; bottom: 10px; height: auto; transform: scaleY(0); }
  .topbar nav a.on::after { transform: scaleY(1); }
  .topbar .who { order: 3; }
}
@media (max-width: 520px) { .topbar .wordmark { font-size: 17px; } .topbar .who { font-size: 12px; } .topbar .who .btn, .topbar .who button { padding: 6px 10px; font-size: 12px; } .topbar .who img { display: none; } }
.foot { margin-top: 56px; padding: 0; background: linear-gradient(180deg, #1c1b20, #121115); border-top: 1px solid #000; box-shadow: inset 0 1px 0 rgba(255,122,36,.4), inset 0 2px 0 rgba(255,255,255,.04); }
.foot-in { max-width: 1180px; margin: 0 auto; padding: 22px 28px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: space-between; }
.foot-in .wordmark { font-size: 17px; text-decoration: none; }
.foot-in nav { display: flex; gap: 6px 20px; flex-wrap: wrap; justify-content: center; }
.foot-in nav a { color: var(--muted); font: 600 13px var(--body); }
.foot-in nav a:hover { color: #ffc46e; }
.foot-in small { font-size: 12px; }
@media (max-width: 640px) { .foot-in { flex-direction: column; gap: 14px; padding: 22px 16px; text-align: center; } }
.foot-in { background: none !important; box-shadow: none !important; border: 0 !important; } .foot-in nav a { line-height: 1.4; }

/* Ironhollow wordmark: even spacing, diamond exactly between the words */
.wordmark { letter-spacing: 0; }
.wordmark span { letter-spacing: .11em; margin-right: -.11em; }
.wordmark i { width: .42em; height: .42em; margin: 0 .36em; transform: translateY(-.1em) rotate(45deg); vertical-align: middle; }
.brand-emblem { width: 34px; height: 34px; image-rendering: pixelated; margin-right: 10px; vertical-align: middle; filter: drop-shadow(0 0 6px rgba(255,122,36,.35)); }

