/* Serverland's public game directory */
:root {
  --bg: #111620; --panel: #1b2230; --text: #f4f1e8; --muted: #b3bac7;
  --amber: #ffb570; --green: #b1d6c3; --line: #8592a33f;
}
body { background: var(--bg); }
.masthead { position: relative; height: 76px; background: #131923; border-bottom: 1px solid var(--line); }
.masthead .brand { font-size: 31px; letter-spacing: -.5px; }
.masthead .brand img { margin-right: 9px; }
body .header.masthead nav { display: flex; align-items: center; gap: clamp(16px,3vw,42px); }
.masthead nav a { color: #c5ced8; font-size: 14px; white-space: nowrap; }
.masthead nav [aria-current] { color: white; text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 7px; }
.masthead .header-join { color: var(--text); border-radius: 4px; font-size: 14px; text-transform: none; letter-spacing: 0; }
.world-cover { padding-block: clamp(34px,5vw,82px); }
.world-heading,.desk-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 35px; margin-bottom: 30px; }
.world-heading h1,.desk-heading h2 { font: 700 clamp(56px,7.5vw,104px)/.94 var(--display); letter-spacing: -2px; margin: 0; }
.world-heading em { color: var(--amber); font-style: normal; }
.world-heading>p,.desk-heading>p { color: var(--muted); line-height: 1.65; font-size: 16px; margin: 0; }
.world-heading .eyebrow,.desk-heading .eyebrow { margin-bottom: 14px; }
.world-list { display: grid; grid-template-columns: 1.65fr 1fr; gap: 14px; }
.world-list>a { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; min-height: clamp(370px,34vw,530px); padding: clamp(20px,3vw,40px); border: 1px solid #fffc; border-color: #aeb6c04d; border-radius: 7px; background-size: cover; transition: border-color .18s; }
.world-list>a:hover { border-color: var(--amber); }
.world-city { background-image: linear-gradient(0deg,#101520 1%,#101520ad 37%,transparent 78%),url(los-santos.webp); background-position: 63% center; }
.world-forest { background-image: linear-gradient(0deg,#101c1b 1%,#101c1b99 38%,transparent 78%),url(dayz-forest.webp); background-position: center; }
.world-label { background: #111822eb; color: #f6f2e8; border-radius: 3px; padding: 5px 10px; font-size: 14px; font-weight: 700; }
.world-area { font-size: 13px; text-transform: uppercase; letter-spacing: 1.7px; font-weight: 700; color: #ffcf9a; }
.world-forest .world-area,.world-forest h2 span { color: #b3d7c3; }
.world-list h2 { font-size: clamp(56px,6vw,92px); margin: 6px 0 8px; letter-spacing: -1.4px; }
.world-city h2 span,.desk-heading h2 span { color: var(--amber); }
.world-list p { font-size: 16px; color: #e3e6eb; margin: 0 0 18px; }
.world-list strong { display: inline-block; font-size: 14px; border-bottom: 2px solid currentColor; }
.city-page .hero { min-height: auto; padding-top: clamp(40px,5vw,82px); background: #142032; }
.city-page .hero-image { width: 100%; height: 100%; left: 0; }
.city-page .hero-image img { opacity: 1; object-position: 65% 52%; }
.city-page .hero-shade { background: linear-gradient(90deg,#101622f5 0%,#101622bf 32%,#10162208 74%),linear-gradient(0deg,#111620 1%,transparent 43%); }
.city-page .hero-content h1 { font-size: clamp(68px,9vw,150px); line-height: .95; letter-spacing: -2px; margin: 0 0 16px; }
.city-page .hero-content>.eyebrow { margin-bottom: 16px; color: #ffcc99; }
.city-page .hero-tagline { letter-spacing: .2px; font-size: clamp(24px,3vw,40px); }
.city-page .hero-lead { max-width: 480px; color: #e1e4e8; line-height: 1.7; }
.city-page .edition-picker button { border-radius: 4px; background: #182331; border-color: #718293; color: #dae0e8; }
.city-page .edition-picker [aria-pressed=true] { color: white; border-color: #ffb570; box-shadow: inset 0 -3px #ffb570; }
.city-page .server-strip { margin-top: 40px; background: #18212df5; }
.mission-desk { padding-block: clamp(44px,6vw,84px); border-bottom: 1px solid var(--line); }
.desk-heading h2 { font-size: clamp(47px,6vw,80px); }
.desk-heading>p { max-width: 440px; }
.mission-spread { display: grid; grid-template-columns: 1.52fr 1fr; gap: 16px; }
.latest-ops,.challenge-sheet { padding: clamp(20px,2.4vw,34px); border: 1px solid var(--line); border-radius: 6px; }
.latest-ops { background: #1a2432; }
.latest-ops h3,.challenge-sheet h3 { font-size: 32px; margin: 0 0 12px; }
.dispatch-row { width: 100%; display: grid; grid-template-columns: 1fr auto; text-align: left; align-items: center; gap: 5px 12px; padding: 15px 0; color: var(--text); background: transparent; border: 0; border-top: 1px solid var(--line); }
.dispatch-row b { font: 700 25px/1.15 var(--display); }
.dispatch-row span { grid-column: 1; color: #c3cdd8; font-size: 14px; }
.dispatch-row strong { grid-column: 2; grid-row: 1 / 3; color: var(--amber); }
.dispatch-row:hover b { text-decoration: underline; }
.challenge-sheet { background: #e8e7dc; color: #1d2935; }
.challenge-sheet>div { display: grid; grid-template-columns: 1fr auto; border-top: 1px solid #28384c44; padding: 12px 0; gap: 0 10px; }
.challenge-sheet>div span { grid-column: span 2; font-size: 14px; color: #405165; }
.challenge-sheet small { align-self: center; color: #435442; font-weight: 700; }
.challenge-sheet>p { font-size: 14px; line-height: 1.6; margin: 4px 0 0; }
.desk-link { width: fit-content; margin-top: 18px; }
.event-live,.event-card,.event-card.atm,#event-detail { background: #1c2633; border-radius: 5px; }
.event-card { border-top: 3px solid #90c0bd; }
.event-card.operation { border-top-color: var(--amber); }
.event-card h3 { margin-block: 17px 10px; }
.event-card-top,.event-card-meta,.event-card-reward span { font-size: 13px; color: #c4cfdb; letter-spacing: 0; }
.event-card>p { color: #ccd2d8; font-size: 15px; line-height: 1.65; }
.event-detail-button { font-size: 14px; color: #ffd6ab; }
.more-events { display: block; margin: 24px auto 0; padding: 10px 22px; border: 1px solid #738194; border-radius: 4px; background: #222e3d; color: white; }
.event-filters select { background-color: #1e2937; border-radius: 4px; }
.dayz-scene { background-image: linear-gradient(90deg,#111e1aec,#111e1a2b),linear-gradient(0deg,var(--bg),transparent 65%),url(dayz-forest.webp); background-position: center; }
.dayz-hero { min-height: 620px; padding-block: clamp(55px,7vw,100px); }
.status-main { padding-top: 62px; }
.status-page .masthead { position: relative; }
@media(max-width:760px) {
  .masthead { padding: 14px 5vw 10px; height: auto; flex-wrap: wrap; gap: 12px; }
  body .header.masthead nav { order: 3; flex: 1 0 100%; justify-content: space-between; gap: 8px; padding: 4px 0; }
  .masthead .header-join { display: inline-flex; padding: 5px 10px; }
  .world-heading,.desk-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .world-list,.mission-spread { grid-template-columns: 1fr; }
  .world-list>a { min-height: 310px; }
  .world-list>a.world-forest { min-height: 235px; }
  .city-page .hero-shade { background: linear-gradient(90deg,#101622e8,#10162277),linear-gradient(0deg,#111620,transparent); }
  .city-page .hero-image img { object-position: 70% center; }
  .status-main { padding-top: 35px; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } }

.city-index { display:flex; flex-wrap:wrap; gap:6px 22px; padding-block:16px; border-bottom:1px solid var(--line); }
.city-index a { font-size:14px; font-weight:700; color:#c6d2dc; padding:4px 0; }
.city-index a:hover { color:var(--amber); }
.offline-operation { border-top:1px solid var(--line); padding-block:12px; }
.offline-operation summary { cursor:pointer; font-weight:700; }
