.theme-grand-alfheim { --wiki-aqua:#a1e6ed; --wiki-gold:#f3cc7b; --wiki-hero:url('/assets/games/grand-alfheim/world.jpg'); }
.theme-grand-alfheim .wiki-logo { border-radius:7px; object-fit:cover; }
.theme-grand-alfheim .wiki-cover { background-position:65% center; }
.theme-grand-alfheim .alfheim-code-status { display:flex; align-items:center; gap:20px; justify-content:space-between; margin-top:13px; }
.theme-grand-alfheim .alfheim-code-status p { max-width:62ch; color:#c5d5df; font-size:.94rem; }
.theme-grand-alfheim .alfheim-code-status a,
.theme-grand-alfheim .alfheim-official-links a { display:inline-flex; align-items:center; gap:7px; padding:9px 12px; border:1px solid #3e6470; border-radius:6px; color:var(--wiki-aqua); font-size:.85rem; font-weight:650; }
.theme-grand-alfheim .alfheim-code-status a { flex-shrink:0; }
.theme-grand-alfheim .wiki-kicker+h2 { margin-top:8px; }
.theme-grand-alfheim .alfheim-scope { margin-top:12px; color:var(--wiki-soft); font-size:.9rem; }
.theme-grand-alfheim .alfheim-map { margin:18px 0; }
.theme-grand-alfheim .alfheim-map img,
.theme-grand-alfheim .alfheim-location img { display:block; width:100%; height:auto; border-radius:7px; border:1px solid var(--wiki-border); }
.theme-grand-alfheim .alfheim-map figcaption { text-align:center; margin-top:6px; }
.theme-grand-alfheim .alfheim-legend { list-style:none; padding:0; margin:12px 0 17px; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; }
.theme-grand-alfheim .alfheim-legend li { padding:10px; border:1px solid var(--wiki-border); background:#122635; border-radius:6px; font-size:.83rem; }
.theme-grand-alfheim .alfheim-legend small { display:block; margin-top:4px; color:var(--wiki-soft); font-size:.76rem; }
.theme-grand-alfheim .alfheim-location { margin-top:22px; padding-top:20px; border-top:1px solid var(--wiki-border); display:grid; grid-template-columns:minmax(180px,1fr) 1fr; gap:18px; align-items:center; }
.theme-grand-alfheim .alfheim-location h3 { margin-bottom:8px; }
.theme-grand-alfheim .alfheim-text-link { display:inline-flex; align-items:center; gap:6px; color:var(--wiki-aqua); margin-top:14px; font-weight:650; font-size:.9rem; }
.theme-grand-alfheim .alfheim-official-links { display:flex; flex-wrap:wrap; gap:9px; margin:14px 0; }
@media(max-width:700px){
  .theme-grand-alfheim .alfheim-legend { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .theme-grand-alfheim .alfheim-location { grid-template-columns:1fr; }
}
@media(max-width:570px){
  .theme-grand-alfheim .alfheim-code-status { flex-direction:column; align-items:flex-start; gap:10px; }
}
