*{box-sizing:border-box}body{margin:0;background:#111115;color:#f4f1ec;font:16px/1.5 system-ui,-apple-system,'Segoe UI',sans-serif}a{color:inherit;text-decoration:none}button,input{font:inherit}button,a,input{touch-action:manipulation}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #c9a4ff;outline-offset:3px}header{background:#151419;border-bottom:1px solid #33313a}.bar,main,footer{max-width:1180px;margin:auto;padding:0 32px}.bar{height:72px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:12px;font-weight:550}.brand img{height:38px;width:38px;border-radius:10px}.brand b{font-size:21px;letter-spacing:-1px}.brand i{width:1px;height:18px;background:#514959}.discord,.action{display:inline-flex;align-items:center;border:1px solid #46404e;border-radius:9px;padding:8px 14px;background:#211f27;color:#f7f5ff;font-size:14px;font-weight:600}.discord:hover,.action:hover{background:#35303e}main{min-height:calc(100vh - 160px);padding-top:32px;padding-bottom:64px}.hero{border-radius:19px;min-height:276px;display:flex;align-items:flex-end;padding:40px;background:#302538 url('/hero.webp') center 39%/cover;position:relative;overflow:hidden;isolation:isolate;border:1px solid #4a3f50}.hero:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#16131df5 0%,#1b152bd1 36%,#241d3230 78%),linear-gradient(0deg,#17141cc2,transparent 64%);z-index:-1}.hero p,.subtitle{color:#c8c3cc;margin:7px 0 0}.hero h1,h1,h2,p{margin:0}.hero h1{font-size:clamp(39px,6vw,70px);line-height:1.05;letter-spacing:-.065em}.hero p{max-width:430px}.sectionhead,.panelhead{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.sectionhead{margin:33px 0 15px}h1{font-size:clamp(27px,4.2vw,46px);letter-spacing:-.045em;line-height:1.15}h2{font-size:23px;letter-spacing:-.035em}.search{max-width:100%;width:238px;border-radius:9px;background:#201e25;color:#f9f6ff;padding:9px 13px;border:1px solid #403d48}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.card,.row{border-radius:13px;border:1px solid #38363f;background:#211f27;overflow:hidden;transition:transform .15s,border-color .15s}.card:hover,.row:hover{transform:translateY(-2px);border-color:#ac8ce4}.card .art{aspect-ratio:16/9;background:radial-gradient(at 80% 10%,#675277,#29232c);overflow:hidden}.art img{width:100%;height:100%;object-fit:cover;display:block}.card .caption,.row{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;gap:12px}.card strong,.row strong{display:block;font-size:18px}.muted,small,.crumb{color:#b6afbd}.arrow{color:#ccb6ef;font-size:23px}.crumb{display:flex;gap:10px;align-items:center;font-size:14px;margin:0 0 22px;flex-wrap:wrap}.crumb a:hover{text-decoration:underline}.rows{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.tabs{margin:24px 0 18px;display:flex;gap:6px;flex-wrap:wrap}.tabs a,.pill{background:#222029;color:#cfc9d4;border:1px solid #423d4b;border-radius:9px;padding:9px 16px;font-weight:650}.tabs a[aria-current=true]{background:#d9c4ff;color:#23152e;border-color:#d9c4ff}.empty{padding:32px 18px;background:#1c1a20;border:1px solid #38343e;border-radius:12px;color:#c7c0cb;margin:12px 0}.meta{font-size:13px;color:#b9afc2;margin:15px 0}.tablewrap{overflow:auto}.tablewrap table{border-collapse:collapse;width:100%;white-space:nowrap}td,th{padding:13px 14px;border-bottom:1px solid #38343f;text-align:left}th{background:#25222b;color:#c8bdcf;font-weight:600;font-size:13px}.controls{display:flex;gap:9px;flex-wrap:wrap;margin-top:15px}.action{cursor:pointer}.notice{color:#e2c896}.sectionhead span{color:#aca1b5;font-size:13px}footer{border-top:1px solid #332f38;padding-top:20px;padding-bottom:22px;color:#a8a1ae;font-size:13px;display:flex;justify-content:space-between;gap:12px}@media(max-width:760px){.grid,.rows{grid-template-columns:repeat(2,minmax(0,1fr))}.bar,main,footer{padding-left:17px;padding-right:17px}.hero{padding:25px;min-height:230px}.card .caption,.row{padding:12px}.card strong,.row strong{font-size:16px}}@media(max-width:485px){.rows{grid-template-columns:1fr}.search{width:100%}.grid{gap:10px}.card small{font-size:12px}.hero p{font-size:14px}.bar{height:61px}main{padding-top:18px}.discord{font-size:12px}.action{font-size:13px}.tabs a{padding:8px 10px;font-size:14px}}
[hidden]{display:none!important}.monogram{display:flex;height:100%;align-items:center;justify-content:center;color:#d9c6ef;font-size:38px;font-weight:700;letter-spacing:-.08em}
.server-row{padding:0;gap:0}.server-link{display:flex;align-items:center;justify-content:space-between;flex:1;align-self:stretch;min-width:0;gap:12px;padding:14px 12px 14px 18px}.server-row .favorite{display:grid;place-items:center;flex:0 0 44px;height:44px;margin-right:10px;border:1px solid transparent;border-radius:9px;font:26px/1 system-ui,sans-serif;background:transparent;color:#c0b7ca}.server-row .favorite:hover{background:#35303e}.server-row .favorite[aria-pressed=true]{color:#ffd178}.server-row :focus-visible{outline-offset:-3px}@media(max-width:760px){.server-link{padding-left:12px}.server-row .favorite{margin-right:6px}}

/* Game and server directory */
.directory {
  --scene: linear-gradient(115deg, #332841, #17141c);
}
.realm-banner {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: clamp(185px, 20vw, 244px);
  overflow: hidden;
  border: 1px solid #514958;
  border-radius: 18px;
  padding: clamp(21px, 4vw, 46px);
  background: #26222e;
}
.realm-banner::before, .realm-banner::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
}
.realm-banner::before {
  background: var(--scene) center 41% / cover;
  animation: realm-arrive .65s ease-out both;
}
.realm-banner::after {
  background: linear-gradient(90deg, #14111de8, #13111a65 54%, transparent 83%),
              linear-gradient(0deg, #12101894, transparent 72%);
}
.realm-banner h1 {
  font-size: clamp(38px, 6vw, 66px);
  line-height: 1;
  letter-spacing: -.055em;
  text-shadow: 0 2px 20px #100d18aa;
}
.realm-banner p {
  margin-top: 10px;
  color: #e7e1eb;
  font-size: 15px;
}
.realm-card {
  display: flex;
  align-items: center;
  min-width: 0;
  border: 1px solid #413b47;
  border-radius: 12px;
  overflow: hidden;
  background: #242129;
  transition: border-color .2s, background .2s;
}
.realm-card:focus-within { border-color: #b19aca; }
.realm-link {
  min-width: 0;
  flex: 1;
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.6vw, 22px);
  padding-right: 16px;
}
.realm-portrait {
  flex: 0 0 clamp(80px, 9vw, 116px);
  height: 80px;
  position: relative;
  overflow: hidden;
  background: #332e40 var(--scene) center / cover;
}
.realm-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}
.realm-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 75%, #24212977);
}
.realm-label { flex: 1; min-width: 0; padding: 8px 0; }
.realm-label strong, .realm-label small { display: block; overflow-wrap: anywhere; }
.realm-label strong { font-size: 19px; line-height: 1.2; }
.realm-label small { font-size: 13px; margin-top: 4px; color: #c5bdcc; }
.realm-link .arrow { font-weight: 400; }
.realm-card:has(.favorite) .realm-link { padding-right: 4px; }
.realm-card .favorite { border-left-color: #494050; border-radius: 0 7px 7px 0; }
.realm-horizon {
  height: clamp(40px, 5vw, 66px);
  margin-top: 26px;
  border-radius: 10px;
  background: linear-gradient(90deg, #16131abc, #18151d32 50%, #16131abc),
              var(--scene) center 86% / cover;
}
@keyframes realm-arrive { from { transform: scale(1.035); } to { transform: scale(1); } }
@media (hover:hover) {
  .realm-card:hover { background: #2c2733; border-color: #9377b2; }
  .realm-link:hover .realm-portrait img { transform: scale(1.055); }
}
@media (max-width:640px) {
  .realm-grid { grid-template-columns: 1fr; }
  .directory .sectionhead { margin-top: 23px; }
  .realm-portrait { height: 70px; }
}
@media (prefers-reduced-motion:reduce) {
  .realm-banner::before { animation: none; }
  .realm-card, .realm-portrait img { transition: none; }
  .realm-link:hover .realm-portrait img { transform: none; }
}
