:root { color-scheme: dark; font-family: system-ui, sans-serif; color: #f8eff2; background: #110b10; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(ellipse at 20% 0%, #3c1726, transparent 55%); }
main { width: min(100%, 43rem); margin: auto; padding: clamp(1rem, 5vw, 3rem) 1.25rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: inherit; font-weight: 750; text-decoration: none; }
header { margin: 2.8rem 0 1.6rem; }
h1, h2, h3 { margin: 0; line-height: 1.2; }
h1 { font-size: clamp(2rem, 6vw, 3rem); letter-spacing: -.05em; }
h2 { font-size: 1.3rem; } h3 { overflow-wrap: anywhere; }
p { line-height: 1.6; color: #d3c2cb; }
section, details { background: #1d141c; border: 1px solid #59323f; border-radius: 1rem; padding: clamp(1rem, 4vw, 1.7rem); }
label { display: block; font-weight: 600; margin: 1rem 0 .45rem; }
.controls, .actions, footer { display: flex; flex-wrap: wrap; gap: .65rem; }
button, input { border-radius: .55rem; font: inherit; min-height: 2.75rem; padding: .62rem .9rem; }
input { flex: 1 1 13rem; min-width: 0; background: #120f14; border: 1px solid #80616e; color: inherit; }
button { cursor: pointer; background: #cb1646; color: #fff; border: 1px solid transparent; font-weight: 650; }
button.secondary { border-color: #795563; background: #32222d; }
#guild-select { width: 100%; min-height: 2.75rem; padding: .6rem .75rem; border: 1px solid #80616e; border-radius: .55rem; background: #120f14; color: inherit; font: inherit; }
details.manual-server { padding: .75rem 0; border: 0; border-top: 1px solid #51323e; border-radius: 0; background: transparent; }
.manual-server summary { color: #ffacc5; }
button:hover:enabled { filter: brightness(1.15); } button:disabled { opacity: .55; cursor: default; }
:focus-visible { outline: 3px solid #ff90b1; outline-offset: 3px; }
.hint, footer { font-size: .88rem; } .hint:last-child { margin-bottom: 0; }
#notice:empty { display: none; }
#notice { border-left: 3px solid #fa709a; padding-left: .75rem; }
#server-result { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid #51323e; }
dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: .7rem; }
dl div { padding: .85rem; border: 1px solid #4c313e; border-radius: .6rem; background: #271923; }
dt { color: #ceb6c1; font-size: .83rem; } dd { margin: .25rem 0 0; font-weight: 650; }
details { margin-top: .8rem; } summary { cursor: pointer; font-weight: 650; } details p:last-child { margin-bottom: 0; }
footer { margin-top: 1.4rem; gap: 1.3rem; } a { color: #ffacc5; }
