/* GeeksPR's shared visual language. Load after each page's layout styles. */
:root {
  color-scheme: dark;
  --gpr-bg: #151513;
  --gpr-panel: #1e1e1a;
  --gpr-line: #38382f;
  --gpr-text: #fff3dd;
  --gpr-muted: #b9b3a5;
  --gpr-accent: #b3d77a;
  --gpr-cyan: #f2b579;
  --gpr-radius: 10px;
  --gpr-control-radius: 6px;
  --gpr-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bg: var(--gpr-bg);
  --bg-alt: #191a16;
  --bg-soft: #191a16;
  --panel: var(--gpr-panel);
  --panel-border: var(--gpr-line);
  --line: var(--gpr-line);
  --text: var(--gpr-text);
  --muted: var(--gpr-muted);
  --accent: var(--gpr-accent);
  --accent-soft: #b3d77a14;
  --cyan: var(--gpr-cyan);
  --blue: var(--gpr-cyan);
  --red: var(--gpr-accent);
  --gold: var(--gpr-accent);
  --good: var(--gpr-accent);
  --warn: #f3be6c;
  --bad: #ff8b8b;
  --radius: var(--gpr-radius);
}
.geekspr-page {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(ellipse at 45% -15%, #4c3020 0, transparent 48%), var(--gpr-bg);
  background-color: var(--gpr-bg);
  color: var(--gpr-text);
  font: 14px/1.55 var(--gpr-font);
  font-weight: 400;
  -webkit-text-size-adjust: 100%;
}
.geekspr-page *, .geekspr-page *::before, .geekspr-page *::after { box-sizing: border-box; }
.geekspr-page .portal-shell, .geekspr-page .guide-shell, .geekspr-page .page-shell {
  width: 100%; max-width: 1600px; margin: 0 auto; padding: 0 40px;
}
.geekspr-page a { color: var(--gpr-cyan); text-decoration: none; text-underline-offset: 3px; }
.geekspr-page a:hover { text-decoration: underline; }
.geekspr-page a:focus-visible, .geekspr-page button:focus-visible,
.geekspr-page input:focus-visible, .geekspr-page select:focus-visible,
.geekspr-page summary:focus-visible { outline: 2px solid var(--gpr-accent); outline-offset: 3px; }
.geekspr-page h1, .geekspr-page h2, .geekspr-page h3, .geekspr-page h4 { color: var(--gpr-text); }
.geekspr-page h1 { font-size: clamp(38px, 4.5vw, 64px); font-weight: 750; line-height: 1.08; letter-spacing: -.045em; }
.geekspr-page h1 span { color: var(--gpr-accent); }
.geekspr-page .eyebrow, .geekspr-page .panel-kicker { color: var(--gpr-muted); font: 700 10px/1.5 var(--gpr-font); letter-spacing: .14em; text-transform: uppercase; }
.geekspr-page .hero > div > .eyebrow, .geekspr-page .ranking-hero > .eyebrow { color: var(--gpr-accent); }
.geekspr-header {
  box-sizing: border-box; display: grid; grid-template-columns: minmax(0, 1fr) auto;
  align-items: center; gap: 14px 24px; min-height: 0; margin: 0;
  padding: 22px 0 16px; border: 0; border-bottom: 1px solid var(--gpr-line);
  background: transparent;
}
.geekspr-header > .brand { grid-column: 1; grid-row: 1; }
.geekspr-header > .site-links { grid-column: 1/-1; grid-row: 2; width: 100%; flex: none; order: 0; margin: 0; padding: 0; }
.geekspr-header > .server-status, .geekspr-header > .join-link { grid-column: 2; grid-row: 1; margin: 0; }
.geekspr-page .brand {
  display: inline-flex; align-items: center; justify-content: flex-start; gap: 12px; min-width: 0;
  color: var(--gpr-text); font: 850 22px/1.2 var(--gpr-font); letter-spacing: -.025em; white-space: nowrap;
  text-decoration: none;
}
.geekspr-page .brand:hover { color: var(--gpr-text); text-decoration: none; }
.geekspr-page .brand-mark {
  box-sizing: border-box; position: relative; display: grid; place-items: center; flex: 0 0 42px;
  width: 42px; height: 42px; margin: 0; padding: 0 3px 0 0; border: 0; border-radius: 11px;
  background: var(--gpr-accent); color: #162111; font: 900 28px/1 var(--gpr-font); letter-spacing: -.1em;
}
.geekspr-page .brand-mark span { position: absolute; width: 8px; height: 8px; right: 6px; top: 6px; background: #162111; border-radius: 50%; }
.geekspr-page .brand small { display: block; margin: 4px 0 0; color: var(--gpr-muted); font: 600 9px/1.2 var(--gpr-font); letter-spacing: .14em; }
.geekspr-page .site-links { display: flex; flex-wrap: wrap; gap: 6px; max-width: 100%; min-width: 0; }
.geekspr-page .site-links a {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
  min-height: 40px; margin: 0; padding: 8px 12px; border: 1px solid transparent; border-radius: var(--gpr-control-radius);
  background: transparent; color: var(--gpr-muted); font: 600 12px/1.3 var(--gpr-font); white-space: nowrap; text-decoration: none;
}
.geekspr-page .site-links a:hover { background: #303026; color: var(--gpr-text); text-decoration: none; }
.geekspr-page .site-links a[aria-current=page] { background: #2e3824; border-color: #718553; color: #c7e69d; }
.geekspr-page .join-link { color: var(--gpr-accent); font: 600 12px/1.4 var(--gpr-font); white-space: nowrap; }
.geekspr-page button, .geekspr-page input[type=text], .geekspr-page input[type=search],
.geekspr-page input[type=number], .geekspr-page input[type=password],
.geekspr-page input[type=email], .geekspr-page input:not([type]), .geekspr-page select { font-family: var(--gpr-font); }
.geekspr-page input[type=text], .geekspr-page input[type=search],
.geekspr-page input[type=number], .geekspr-page input[type=password],
.geekspr-page input[type=email], .geekspr-page input:not([type]), .geekspr-page select {
  min-height: 40px; border: 1px solid var(--gpr-line); border-radius: var(--gpr-control-radius);
  background-color: #171813; color: var(--gpr-text);
}
.geekspr-page button { border-radius: var(--gpr-control-radius); }
body.geekspr-page .primary-button, body.geekspr-page .button.primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 44px;
  padding: 11px 18px; border: 1px solid var(--gpr-accent); border-radius: var(--gpr-control-radius);
  background: var(--gpr-accent); color: #162111; font: 650 12px/1.5 var(--gpr-font); text-decoration: none;
}
.geekspr-page .primary-button:hover:not(:disabled), .geekspr-page .button.primary:hover { border-color: #c8e99a; background: #c8e99a; color: #162111; text-decoration: none; }
body.geekspr-page .secondary-button, body.geekspr-page .button.secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px;
  padding: 11px 18px; border: 1px solid var(--gpr-line); border-radius: var(--gpr-control-radius);
  background: #191a16; color: var(--gpr-text); font: 600 12px/1.5 var(--gpr-font); text-decoration: none;
}
.geekspr-page .secondary-button:hover:not(:disabled), .geekspr-page .button.secondary:hover { background: #303026; border-color: #76715e; color: var(--gpr-text); text-decoration: none; }
.geekspr-page button:disabled { cursor: default; opacity: .45; }
.geekspr-page .panel, .geekspr-page .info-panel, .geekspr-page .start-panel {
  border: 1px solid var(--gpr-line); border-radius: var(--gpr-radius); background-color: var(--gpr-panel); box-shadow: none;
}
.geekspr-page .panel-heading h2, .geekspr-page .panel-head h2 { margin: 0; color: var(--gpr-text); font-size: 18px; line-height: 1.3; letter-spacing: -.025em; font-weight: 650; }
.geekspr-page .leader-preview-card, .geekspr-page .podium-card { border-color: var(--gpr-line); color: var(--gpr-text); text-decoration: none; }
.geekspr-page .leader-preview-card:hover, .geekspr-page .podium-card:hover { border-color: #7a9962; text-decoration: none; }
.geekspr-page .ranking-table a { color: var(--gpr-cyan); }
.geekspr-page .ranking-table a:hover { color: var(--gpr-accent); text-decoration: underline; }
.geekspr-page .guide-article { border-color: var(--gpr-line); background: var(--gpr-panel); border-radius: var(--gpr-radius); }
.geekspr-page .guide-article summary { color: var(--gpr-text); }
.geekspr-page .article-links a, .geekspr-page .article-link, .geekspr-page .hero-links a, .geekspr-page .house-map-link { color: var(--gpr-cyan); }
.geekspr-page .category-filters button[aria-pressed=true], .geekspr-page .ranking-tabs button[aria-pressed=true] { border-color: var(--gpr-accent); background: var(--gpr-accent); color: #162111; }
.geekspr-page .site-footer, .geekspr-page .navigation-footer {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 14px 22px; margin: 28px 0 0; padding: 20px 0 28px; border: 0; border-top: 1px solid var(--gpr-line);
  color: var(--gpr-muted); font: 500 11px/1.5 var(--gpr-font);
}
.geekspr-page .site-footer .site-links, .geekspr-page .navigation-footer .site-links { gap: 4px 8px; }
.geekspr-page .site-footer .site-links a, .geekspr-page .navigation-footer .site-links a { min-height: 36px; padding: 7px 5px; color: var(--gpr-muted); font-size: 11px; }
.geekspr-page .site-footer .site-links a:hover, .geekspr-page .navigation-footer .site-links a:hover { color: var(--gpr-text); }
@media (max-width: 1200px) {
  .geekspr-page .portal-shell, .geekspr-page .guide-shell, .geekspr-page .page-shell { padding-right: 24px; padding-left: 24px; }
}
@media (max-width: 760px) {
  .geekspr-page .portal-shell, .geekspr-page .guide-shell, .geekspr-page .page-shell { padding-right: 16px; padding-left: 16px; }
  .geekspr-header { padding: 18px 0 12px; gap: 14px 12px; }
  .geekspr-header > .site-links { grid-column: 1/-1; grid-row: 2; width: 100%; margin: 0; overflow: visible; }
  .geekspr-page .brand { font-size: 22px; }
  .geekspr-page .site-links a { padding-right: 10px; padding-left: 10px; font-size: 12px; }
  .geekspr-page .site-footer .site-links, .geekspr-page .navigation-footer .site-links { justify-content: flex-start; width: 100%; }
}
@media (max-width: 370px) {
  .geekspr-header > .join-link { font-size: 10px; }
  .geekspr-header > .server-status { font-size: 9px; padding: 6px 8px; }
}
@media (prefers-reduced-motion: reduce) { .geekspr-page { scroll-behavior: auto; } }

/* Search controls use one outer field rather than nested input borders. */
.geekspr-page .search-field input, .geekspr-page .search-form input, .geekspr-page .searchbox input {
  border: 0; border-radius: 0; background: transparent;
}
.geekspr-page .search-form input { min-height: 53px; }
.geekspr-page input[type=checkbox], .geekspr-page input[type=radio] { min-height: 0; accent-color: var(--gpr-accent); }

/* Plain content links share one treatment; action buttons keep their hierarchy. */
.geekspr-page .info-panel a, .geekspr-page .ranking-help a,
.geekspr-page .preview-heading > a, .geekspr-page .article-links a,
.geekspr-page .article-link, .geekspr-page .hero-links a { color: var(--gpr-cyan); }
/* Keep the shared navigation focus ring visible inside scrolling map menus. */
.geekspr-page .site-links a:focus-visible { outline-offset: -3px; }

/* Los Santos sunset: shared typography, surfaces and illustrated city headers. */
@font-face { font-family: 'GeeksPR Display'; src: url('./assets/anton.ttf') format('truetype'); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: 'GeeksPR Gothic'; src: url('./assets/unifrakturcook.ttf') format('truetype'); font-style: normal; font-weight: 700; font-display: swap; }
:root { --gpr-sunset: #f2b579; --gpr-display: 'GeeksPR Display', Impact, sans-serif; }
.geekspr-page { background: radial-gradient(ellipse at 80% 0, #4a302022, transparent 45%), var(--gpr-bg); }
.geekspr-page .portal-shell, .geekspr-page .guide-shell, .geekspr-page .page-shell { max-width: 1480px; }
.geekspr-page .geekspr-header { padding-top: 22px; border-bottom-color: #4c4435; }
.geekspr-page .brand-mark { background: var(--gpr-sunset); border-radius: 7px; color: #211b13; }
.geekspr-page .brand-mark span { background: #211b13; }
.geekspr-page .brand small { color: #c2ad8c; letter-spacing: .17em; }
.geekspr-page .site-links a { min-height: 44px; }
.geekspr-page .site-links a[aria-current=page] { background: #312c21; border-color: #756044; color: #ffd29d; }
.geekspr-page .site-links a:hover { color: var(--gpr-text); background: #343024; }
.geekspr-page h1 { font-family: var(--gpr-display); font-weight: 400; letter-spacing: .005em; line-height: 1.12; }
.geekspr-page h1 span { color: var(--gpr-sunset); }
.geekspr-page .panel-heading h2, .geekspr-page .panel-head h2, .geekspr-page .preview-heading h2 { font-family: var(--gpr-display); font-weight: 400; font-size: 25px; letter-spacing: .025em; }
.geekspr-page .panel-heading { border-bottom-color: var(--gpr-line); }
.geekspr-page .eyebrow, .geekspr-page .panel-kicker { color: #c6ad87; }
.geekspr-page .panel, .geekspr-page .info-panel, .geekspr-page .start-panel { background: linear-gradient(135deg,#25251e 0%,#1e1e1a 65%); box-shadow: 0 5px 20px #0000000a; }
.geekspr-page .primary-button, .geekspr-page .secondary-button { transition: background-color .15s, border-color .15s; }
.geekspr-page .sunset-hero {
  position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  min-height: 540px; margin: 26px 0 0; padding: 50px 46px; border: 1px solid #68503a; border-radius: 12px;
  background: #211d18 url('./assets/los-santos-sunset.webp') center 58% / cover no-repeat;
}
.geekspr-page .sunset-hero::before { content: ''; position: absolute; z-index: -1; inset: 0; border-radius: inherit; background: linear-gradient(90deg,#101110e8 0%,#101110b8 29%,#10111038 58%,transparent 80%),linear-gradient(0deg,#11120de8,transparent 26%); }
.geekspr-page .sunset-content { width: min(100%,580px); }
.geekspr-page .sunset-hero .eyebrow { margin: 0 0 24px; color: #f5bf88; font-size: 10px; letter-spacing: .2em; }
.geekspr-page .sunset-hero h1 { margin: 0; font-family: var(--gpr-display); font-size: clamp(42px,5.2vw,74px); line-height: 1.08; letter-spacing: .015em; color: #fff3dd; text-shadow: 0 3px 15px #0007; }
.geekspr-page .sunset-hero h1 span { display: inline-block; margin: 6px 0 0; font-family: 'GeeksPR Gothic', Georgia, serif; font-size: 1.18em; font-weight: 700; line-height: 1.1; letter-spacing: -.025em; color: #ffca8c; }
.geekspr-page .sunset-intro { margin: 24px 0 8px; font-size: 18px; font-weight: 650; color: #fff3dd; }
.geekspr-page .sunset-description { max-width: 370px; margin: 0; color: #d2c9b9; font-size: 14px; line-height: 1.8; }
.geekspr-page .sunset-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 12px; }
.geekspr-page .sunset-hero .hero-note { color: #c6bdad; font-size: 11px; }
.geekspr-page .sunset-hero .hero-note > span { margin: 0 8px; color: #8d826e; }
.geekspr-page .sunset-caption { position: absolute; right: 30px; bottom: 28px; text-align: right; color: #ffdfb1; }
.geekspr-page .sunset-caption span { display: block; font-size: 9px; letter-spacing: .2em; }
.geekspr-page .sunset-caption strong { display: block; margin-top: 4px; font-size: 12px; font-weight: 500; }
.geekspr-page .city-shortcuts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 16px 0 26px; border: 1px solid var(--gpr-line); border-radius: 8px; background: #20211b; }
.geekspr-page .city-shortcuts a { display: flex; align-items: center; gap: 16px; padding: 18px 24px; color: var(--gpr-text); text-decoration: none; border-right: 1px solid var(--gpr-line); }
.geekspr-page .city-shortcuts a:last-child { border-right: 0; }
.geekspr-page .city-shortcuts a:hover { background: #2c2d23; }
.geekspr-page .shortcut-number { color: #bd9c6f; font: 22px var(--gpr-display); }
.geekspr-page .city-shortcuts a > span:last-child { margin-left: auto; color: var(--gpr-sunset); }
.geekspr-page .city-shortcuts strong { display: block; font-size: 13px; font-weight: 650; }
.geekspr-page .city-shortcuts small { display: block; margin-top: 3px; color: var(--gpr-muted); font-size: 11px; }
.geekspr-page .metrics { background: #1d1e18; border-color: var(--gpr-line); border-radius: 8px; }
.geekspr-page .metric { border-color: var(--gpr-line); }
.geekspr-page .metric strong { font-family: var(--gpr-display); font-weight: 400; letter-spacing: .03em; color: #fff3dd; }
.geekspr-page .metric-icon { color: #e5b781; }
.geekspr-page .server-status { color: #cde5a4; background: #293421; border-color: #4d6137; }
.geekspr-page .leader-preview-card, .geekspr-page .podium-card { background: linear-gradient(140deg,#333022,#20221b); }
.geekspr-page .server-band, .geekspr-page .help-band { background: linear-gradient(110deg,#343221,#20261c); border: 1px solid #474834; border-radius: 10px; padding: 28px; margin-top: 24px; }
.geekspr-page .server-band h2, .geekspr-page .help-band h2 { font-family: var(--gpr-display); font-weight: 400; font-size: 30px; letter-spacing: .02em; }
.geekspr-page .player-row:hover, .geekspr-page .house-row:hover { background-color: #2b2d23; }
.geekspr-page .segmented button[aria-pressed=true] { color: #d9edb5; background: #33412a; }
.geekspr-page .search-field, .geekspr-page .search-form, .geekspr-page .searchbox { background: #171813; border-color: #454537; }
.geekspr-page .chat-account, .geekspr-page .chat-compose, .geekspr-page .house-selection { background-color: #1b1c17; }
.geekspr-page .chat-message { border-color: var(--gpr-line); }
.geekspr-page .ranking-hero, .page-guide.geekspr-page .hero { margin: 26px 0; padding: 36px; border: 1px solid #594932; border-radius: 10px; background: linear-gradient(90deg,#161712f5,#161712db 50%,#16171255),url('./assets/los-santos-sunset.webp') center 44% / cover; }
.page-guide.geekspr-page .hero-copy { color: #e2d6c4; }
.page-gamehome.geekspr-page .sunset-hero { margin-bottom: 26px; min-height: 600px; }
.page-gamehome.geekspr-page .sunset-hero .hero-copy { max-width: 620px; }
.page-gamehome.geekspr-page .sunset-hero::before { background: linear-gradient(90deg,#101110f0,#101110c9 38%,#10111030 77%),linear-gradient(0deg,#101110bb,transparent 35%); }
.page-gamehome.geekspr-page .lede { color: #d2c9b9; }
.page-gamehome.geekspr-page .feature-list { border-color: #60533f; max-width: 500px; }
.page-gamehome.geekspr-page .feature-list li, .page-gamehome.geekspr-page .server-address { color: #d2c9b9; }
.page-stats.geekspr-page .masthead { padding: 26px; border: 1px solid #594932; border-radius: 10px; background: linear-gradient(90deg,#161712f5,#161712db 55%,#16171277),url('./assets/los-santos-sunset.webp') center 44% / cover; }
.page-map.geekspr-page #topbar { background: #191a16; border-bottom-color: #6c5639; }
.page-map.geekspr-page #chatpanel, .page-map.geekspr-page #popup { background: #1e1e1a; color: #fff3dd; border-color: #38382f; }
.geekspr-page .site-footer { margin-top: 34px; border-top-color: #494331; }
@media (max-width: 1000px) {
  .geekspr-page .sunset-hero { padding: 36px; min-height: 510px; }
  .geekspr-page .sunset-caption { display: none; }
  .geekspr-page .city-shortcuts a { padding: 16px; gap: 12px; }
}
@media (max-width: 760px) {
  .geekspr-page .sunset-hero { min-height: 560px; padding: 145px 24px 28px; justify-content: flex-end; margin-top: 18px; background-position: 64% center; }
  .geekspr-page .sunset-hero::before, .page-gamehome.geekspr-page .sunset-hero::before { background: linear-gradient(0deg,#101110fa 0%,#101110ee 38%,#10111066 73%,#10111005 100%); }
  .geekspr-page .sunset-hero h1 { font-size: clamp(35px,8.5vw,60px); }
  .geekspr-page .sunset-hero .eyebrow { margin-bottom: 18px; font-size: 9px; letter-spacing: .14em; }
  .geekspr-page .sunset-intro { font-size: 16px; margin-top: 18px; }
  .geekspr-page .sunset-description { font-size: 13px; max-width: 380px; }
  .geekspr-page .sunset-actions { margin-top: 20px; }
  .geekspr-page .sunset-hero .hero-note { font-size: 10px; line-height: 1.6; }
  .geekspr-page .city-shortcuts { grid-template-columns: minmax(0,1fr); margin-bottom: 20px; }
  .geekspr-page .city-shortcuts a { padding: 14px 18px; border-right: 0; border-bottom: 1px solid var(--gpr-line); }
  .geekspr-page .city-shortcuts a:last-child { border-bottom: 0; }
  .geekspr-page .city-shortcuts a > span:nth-child(2) { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 12px; }
  .geekspr-page .shortcut-number { font-size: 19px; }
  .geekspr-page .city-shortcuts small { margin: 0; font-size: 10px; }
  .geekspr-page .server-band, .geekspr-page .help-band { padding: 22px; }
  .geekspr-page .ranking-hero, .page-guide.geekspr-page .hero { padding: 24px; }
  .page-stats.geekspr-page .masthead { padding: 20px; }
  .page-gamehome.geekspr-page .sunset-hero { min-height: 650px; padding-top: 130px; }
}
@media (max-width: 370px) {
  .geekspr-page .sunset-hero { padding-right: 18px; padding-left: 18px; }
  .geekspr-page .sunset-actions { gap: 8px; }
  .geekspr-page .sunset-actions a { width: 100%; }
  .geekspr-page .city-shortcuts a > span:nth-child(2) { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .geekspr-page .primary-button, .geekspr-page .secondary-button { transition: none; }
}
/* Map uses its own fixed header; match navigation targets and reserve its full height. */
.page-map.geekspr-page #topbar > .site-links a { min-height: 44px; }
@media (max-width: 1200px) { .page-map.geekspr-page { --map-header-height: 120px; } }
