.gs-header { position: relative; z-index: 30; border-bottom: 2px solid #000; box-shadow: 0 1px 0 var(--ring); background: var(--page); }
.gs-top { background: #0A0806; border-bottom: 1px solid var(--line); font-size: var(--fs-xs); }
.gs-top-row { display: flex; align-items: center; gap: 16px; min-height: 34px; flex-wrap: wrap; }
.gs-top a { color: var(--muted); text-decoration: none; }
.gs-top a:hover { color: var(--gold); }
.gs-top-end { margin-left: auto; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.gs-me { display: inline-flex; align-items: center; gap: 6px; }
.gs-head { position: relative; background: var(--banner); padding: 28px 0 24px; overflow: hidden; }
.gs-head.has-banner { background: #000 var(--gs-banner) center / cover no-repeat; padding: 56px 0 28px; }
.gs-head.has-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .78)); }
.gs-head-row { position: relative; display: flex; align-items: center; gap: 20px; }
.gs-crest-link { flex-shrink: 0; line-height: 0; }
.gs-crest { width: 88px; height: 88px; border-radius: var(--radius); border: 1px solid #000; box-shadow: 0 0 0 1px var(--gold-dim); object-fit: cover; background: #1A1612; }
span.gs-crest { display: inline-flex; align-items: center; justify-content: center; font-size: 40px; }
.gs-name { margin: 0; font: var(--fs-xl)/1.1 var(--font-display); text-shadow: 2px 2px 0 #000; }
.gs-name a { color: var(--gold); text-decoration: none; }
.gs-tagline { margin: 6px 0 0; color: var(--text); font-size: var(--fs-md); text-shadow: 1px 1px 0 #000; }
.gs-nav { background: #14110E; border-top: 1px solid #000; }
.gs-tabs { display: flex; flex-wrap: wrap; gap: 2px; list-style: none; margin-top: 0; margin-bottom: 0; }
.gs-tabs a { display: block; padding: 12px 14px; font: var(--fs-sm) var(--font-display); color: var(--text); text-decoration: none; border-bottom: 2px solid transparent; }
.gs-tabs a:hover { color: var(--gold); }
.gs-tabs a[aria-current] { color: var(--gold); border-bottom-color: var(--gold); }
.gs-apply { margin-left: auto; }
.gs-apply a { color: var(--gold); }
.gs-news { display: grid; gap: 18px; margin-bottom: 12px; }
.gs-post h2, .gs-post h3 { margin: 0 0 4px; font-size: var(--fs-md); }
.gs-post h2 a, .gs-post h3 a { color: var(--gold); text-decoration: none; }
.gs-post p { margin: 0 0 6px; }
.guild-site-credit { margin: 0; color: var(--faint); }
@media (max-width: 640px) {
    .gs-head { padding: 20px 0 16px; }
    .gs-head.has-banner { padding: 40px 0 18px; }
    .gs-crest { width: 64px; height: 64px; }
    .gs-name { font-size: var(--fs-lg); }
    .gs-tabs a { padding: 10px 10px; }
    .gs-apply { margin-left: 0; }
}
.choice-list { display: grid; gap: 6px; margin-top: 6px; }
html.guild-site[style] .btn-primary { color: var(--white); }
html.guild-site[style] .gs-name a { color: var(--white); }
