/* Server selector: custom AI panorama, while original Valleytown artwork remains in its own card. */
.server-gateway::before { background:linear-gradient(180deg,rgba(10,22,40,.75),rgba(13,28,47,.77)),url('/assets/images/two-worlds-bg.webp') center/cover; }
.server-gateway::after { border-color:rgba(255,255,255,.12); }
.destination-card--createcity .destination-art { object-position:center; }
.destination-card--createcity .destination-wash { background:linear-gradient(35deg,rgba(6,14,28,.9),rgba(12,29,48,.2) 75%); }
.server-pair .destination-card { min-height:450px; }
.server-pair .destination-copy strong { font-size:34px; }
@media (max-width:780px) { .server-pair .destination-card { min-height:335px; }.server-pair .destination-copy strong { font-size:29px; } }

/* Create City: a deliberately independent midnight-blue / signal-orange visual identity. */
.createcity-page { --city-ink:#eaf1fb; --city-bg:#101a2a; --city-orange:#ff9d6c; --city-blue:#73b9ff; overflow-x:hidden; background:#f3f5f7; color:#182539; }
.site-header--city { color:#fff; border-color:rgba(255,255,255,.23); }
.city-brand { gap:12px; }.city-brand strong { font-size:13px; letter-spacing:.16em; }.city-brand small { color:rgba(255,255,255,.62); font-size:8px; letter-spacing:.14em; }
.city-mark { width:29px; height:29px; display:flex; align-items:end; justify-content:center; gap:2px; padding:5px; border:1px solid rgba(255,255,255,.45); transform:skewY(-7deg); }
.city-mark i { width:4px; border-radius:1px 1px 0 0; background:var(--city-orange); }.city-mark i:nth-child(1) { height:8px; }.city-mark i:nth-child(2) { height:14px; background:#75c8db; }.city-mark i:nth-child(3) { height:11px; background:#d2a7ff; }
.city-nav .nav-cta--city { border-color:rgba(255,255,255,.55); color:#fff; }
.city-hero { position:relative; min-height:740px; overflow:hidden; background:#0c1728; color:#fff; }
.city-hero-bg { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 52%; }
.city-hero-overlay { position:absolute; inset:0; background:linear-gradient(90deg,rgba(7,17,33,.91),rgba(8,19,36,.72) 38%,rgba(11,23,41,.22) 78%),linear-gradient(0deg,rgba(8,17,31,.68),transparent 55%); }
.city-hero-grid { position:absolute; inset:84px 0 0; opacity:.14; background-image:linear-gradient(rgba(165,205,239,.16) 1px,transparent 1px),linear-gradient(90deg,rgba(165,205,239,.16) 1px,transparent 1px); background-size:74px 74px; mask-image:linear-gradient(90deg,#000,transparent 72%); }
.city-hero-inner { position:relative; z-index:2; min-height:740px; padding-top:70px; display:flex; align-items:center; justify-content:space-between; }
.city-hero-copy { max-width:660px; padding:30px 0; }
.city-eyebrow { display:flex; align-items:center; gap:10px; margin:0 0 19px; color:rgba(220,232,248,.8); font:500 10px/1.3 var(--mono); letter-spacing:.17em; }.city-eyebrow>span { width:25px; height:1px; background:var(--city-orange); }.city-eyebrow--dark { color:#53708e; }
.city-hero h1 { margin:0; color:#fff; font:500 clamp(48px,6vw,80px)/1.14 var(--sans); letter-spacing:-.09em; }.city-hero h1 em { color:#ffad83; font-style:normal; }
.city-hero-copy>p:not(.city-eyebrow) { margin:22px 0 27px; color:rgba(236,243,252,.83); font-size:15px; line-height:1.9; }
.city-actions { display:flex; gap:10px; }.city-button { display:inline-flex; align-items:center; gap:20px; min-height:50px; padding:13px 18px; border:1px solid transparent; border-radius:2px; color:#fff; font-size:12px; font-weight:700; transition:transform .25s ease,background .25s ease,box-shadow .25s ease; }.city-button:hover { transform:translateY(-3px); box-shadow:0 13px 30px rgba(0,0,0,.2); }.city-button b { font-size:16px; font-weight:400; }.city-button--bright { background:#f08c65; color:#111e30; }.city-button--bright:hover { background:#ffad83; }.city-button--line { border-color:rgba(255,255,255,.53); background:rgba(17,34,57,.26); backdrop-filter:blur(6px); }
.city-manifesto { display:flex; align-items:center; gap:13px; margin-top:49px; color:rgba(225,238,252,.67); font:400 8px/1 var(--mono); letter-spacing:.12em; }.city-manifesto i { width:23px; height:1px; background:rgba(221,236,250,.38); }
.city-hero-index { display:flex; align-items:flex-end; flex-direction:column; gap:7px; align-self:flex-end; margin-bottom:82px; color:rgba(255,255,255,.78); font:400 9px/1.5 var(--mono); letter-spacing:.14em; text-align:right; }.city-hero-index b { color:#ffac82; font-size:28px; font-weight:400; }.city-hero-index small { color:rgba(255,255,255,.55); font-size:8px; line-height:1.7; }
.city-scroll { position:absolute; z-index:3; right:50%; bottom:22px; display:flex; align-items:center; gap:12px; color:rgba(255,255,255,.77); font:400 8px/1 var(--mono); letter-spacing:.14em; transform:translateX(50%); }.city-scroll b { font-size:17px; font-weight:400; }
.city-intro { min-height:360px; display:grid; grid-template-columns:.72fr 1.28fr; align-items:center; gap:50px; padding-top:80px; padding-bottom:80px; }.city-intro-label>span { color:#8491a0; font:400 8px/1 var(--mono); letter-spacing:.14em; }.city-intro-copy h2,.city-section-heading h2,.blueprint-copy h2 { margin:0; color:#17253a; font:500 clamp(32px,4vw,49px)/1.32 var(--sans); letter-spacing:-.08em; }.city-intro-copy>p { max-width:620px; margin:18px 0 0; color:#637183; font-size:14px; line-height:1.95; }
.city-districts { padding:98px 0 105px; background:#e9edf2; }.city-section-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:25px; margin-bottom:38px; }.city-section-heading h2 { font-size:42px; }.city-section-heading>p { margin:0 0 4px; color:#6e7b89; font-size:12px; line-height:1.8; text-align:right; }.city-feature-list { border-top:1px solid rgba(24,37,57,.2); }.city-feature { min-height:128px; display:grid; grid-template-columns:58px 80px 1fr 30px; align-items:center; gap:18px; padding:20px 12px; border-bottom:1px solid rgba(24,37,57,.2); transition:background .25s ease,padding .25s ease; }.city-feature:hover { padding-left:20px; background:rgba(255,255,255,.52); }.city-feature-no { align-self:start; padding-top:9px; color:#8a96a4; font:400 10px/1 var(--mono); }.city-feature-symbol { width:58px; height:58px; display:grid; place-items:center; border:1px solid rgba(24,37,57,.22); color:#d67150; font-size:24px; }.city-feature--two .city-feature-symbol { color:#497ba5; }.city-feature--three .city-feature-symbol { color:#8770a6; }.city-feature p { margin:0 0 5px; color:#7a8ea1; font:500 8px/1.4 var(--mono); letter-spacing:.15em; }.city-feature h3 { margin:0 0 4px; color:#1b2b40; font-size:19px; font-weight:600; letter-spacing:-.05em; }.city-feature div>span { color:#697888; font-size:11px; }.city-feature-arrow { color:#d67150; font-size:18px; font-weight:400; }
.city-blueprint { display:grid; grid-template-columns:1.05fr .95fr; align-items:center; gap:74px; padding-top:105px; padding-bottom:105px; }.blueprint-panel { position:relative; min-height:415px; overflow:hidden; padding:22px; background:#183451; color:#e9f1fa; }.blueprint-grid { position:absolute; inset:0; opacity:.33; background-image:linear-gradient(rgba(134,190,228,.18) 1px,transparent 1px),linear-gradient(90deg,rgba(134,190,228,.18) 1px,transparent 1px); background-size:30px 30px; }.blueprint-panel:before,.blueprint-panel:after { content:""; position:absolute; width:200px; height:200px; border:1px solid rgba(159,207,241,.34); transform:rotate(45deg); }.blueprint-panel:before { top:91px; left:18%; }.blueprint-panel:after { top:125px; left:27%; width:130px; height:130px; border-color:rgba(245,160,117,.55); }.blueprint-label,.blueprint-coordinates { position:relative; z-index:1; display:flex; justify-content:space-between; color:rgba(221,237,249,.7); font:400 8px/1 var(--mono); letter-spacing:.12em; }.blueprint-label b { color:#f7ae84; font-weight:400; }.blueprint-title { position:relative; z-index:1; margin:79px 0 53px 8%; color:#f0f5fb; font:500 clamp(39px,5vw,62px)/.98 var(--mono); letter-spacing:-.1em; }.blueprint-title em { color:#f4a27b; font-style:normal; }.blueprint-cursor { display:inline-block; width:3px; height:.72em; margin-left:7px; background:#9fcef1; vertical-align:middle; animation:cursorBlink 1.2s steps(2,start) infinite; }.blueprint-coordinates { position:absolute; right:22px; bottom:20px; left:22px; }
.blueprint-copy h2 { font-size:38px; }.blueprint-copy>p:not(.city-eyebrow) { max-width:400px; margin:17px 0 22px; color:#657486; font-size:13px; line-height:1.9; }.city-text-link { display:inline-flex; align-items:center; gap:13px; padding-bottom:4px; border-bottom:1px solid #243a51; color:#243a51; font-size:12px; font-weight:700; }.city-text-link b { color:#d67150; font-size:17px; font-weight:400; }
.city-final-cta { padding:83px 0 88px; background:#111f33; color:#fff; text-align:center; }.city-final-inner .city-eyebrow { justify-content:center; }.city-final-inner h2 { margin:0; color:#fff; font:500 clamp(32px,4.5vw,53px)/1.35 var(--sans); letter-spacing:-.08em; }.city-final-inner h2 em { color:#ffab82; font-style:normal; }.city-final-inner>p:not(.city-eyebrow) { margin:14px 0 24px; color:rgba(235,242,251,.7); font-size:12px; }.site-footer--city { background:#0b1422; }.site-footer--city .city-mark { border-color:rgba(255,255,255,.38); }.site-footer--city>a:last-child { color:#ffad83; }
@keyframes cursorBlink { to { visibility:hidden; } }
@media (max-width:780px) {
  .server-pair .destination-card { min-height:335px; }
  .site-header--city .city-nav { background:#111f33; }
  .city-hero,.city-hero-inner { min-height:700px; }.city-hero-inner { padding-top:80px; }.city-hero-overlay { background:linear-gradient(90deg,rgba(7,17,33,.86),rgba(8,19,36,.54) 76%,rgba(10,21,37,.3)),linear-gradient(0deg,rgba(8,17,31,.72),transparent 55%); }.city-hero h1 { font-size:48px; }.city-hero-copy>p:not(.city-eyebrow) { font-size:13px; }.city-hero-index { display:none; }.city-manifesto { margin-top:35px; gap:8px; font-size:7px; }.city-manifesto i { width:13px; }
  .city-intro { min-height:0; grid-template-columns:1fr; gap:15px; padding-top:63px; padding-bottom:64px; }.city-intro-copy h2,.city-section-heading h2 { font-size:34px; }.city-intro-copy>p { font-size:12px; }.city-districts { padding:65px 0; }.city-section-heading { align-items:flex-start; flex-direction:column; gap:14px; margin-bottom:24px; }.city-section-heading>p { text-align:left; }
  .city-feature { min-height:118px; grid-template-columns:28px 48px 1fr 12px; gap:10px; padding:15px 0; }.city-feature:hover { padding-left:6px; }.city-feature-symbol { width:44px; height:44px; font-size:18px; }.city-feature h3 { font-size:15px; }.city-feature div>span { font-size:10px; }.city-feature-arrow { font-size:14px; }
  .city-blueprint { grid-template-columns:1fr; gap:31px; padding-top:64px; padding-bottom:68px; }.blueprint-panel { min-height:310px; }.blueprint-title { margin-top:57px; font-size:47px; }.blueprint-copy h2 { font-size:33px; }.city-final-cta { padding:66px 0; }.city-final-inner h2 { font-size:34px; }
}
@media (prefers-reduced-motion:reduce) { .city-button:hover { transform:none; }.blueprint-cursor { animation:none; } }


/* Shared identity: keep the two server marks separate, and render Korean names as real text. */
.gateway-brand-pair { display:flex; align-items:center; justify-content:flex-start; gap:13px; width:min(405px,55vw); min-width:270px; height:94px; text-decoration:none; }
.gateway-logo-unit { display:flex; flex:0 0 43%; min-width:0; height:86px; align-items:center; flex-direction:column; justify-content:center; gap:3px; }
.gateway-logo-unit img { display:block; width:100%; height:64px; object-fit:contain; }
.gateway-logo-unit--city { flex-basis:49%; }
.gateway-logo-unit--city img { width:68px; height:68px; object-fit:contain; }
.gateway-logo-unit>span { color:#fff; font:700 9px/1.15 var(--sans); letter-spacing:.05em; white-space:nowrap; text-shadow:0 1px 4px rgba(0,0,0,.45); }
.gateway-logo-divider { width:1px; height:35px; flex:0 0 1px; background:rgba(255,255,255,.45); }

/* Transparent Create City emblem + crisp DOM wordmark on public and admin headers. */
.city-brand { display:inline-flex; align-items:center; gap:9px; }
.city-brand-logo { width:39px; height:39px; object-fit:contain; filter:drop-shadow(0 2px 8px rgba(0,0,0,.24)); }
.city-brand-name { color:#fff; font:700 12px/1.2 var(--sans); letter-spacing:.035em; white-space:nowrap; }
.site-footer--city .city-brand-name { color:#fff; }
.admin-brand--city { display:inline-flex; align-items:center; gap:8px; color:#fff; font:700 12px/1.2 var(--sans); white-space:nowrap; }
.admin-brand--city img { width:42px; height:42px; object-fit:contain; }
.admin-brand--valley img { width:142px; height:50px; object-fit:contain; }

/* Create Mod guide. */
.city-mode-guide { padding:94px 0 100px; background:#f4f5f6; }
.mode-guide-lead { display:flex; align-items:center; justify-content:space-between; gap:28px; margin:30px 0 18px; padding:20px 23px; border-left:3px solid #ef916b; background:#fff; box-shadow:0 5px 20px rgba(25,43,65,.035); }
.mode-guide-lead p { flex:1; margin:0; color:#526174; font-size:12px; line-height:1.85; }
.mode-guide-lead a { flex:0 0 auto; color:#c9694b; font-size:10px; font-weight:700; white-space:nowrap; }
.mode-guide-lead a b { margin-left:6px; font-size:15px; }
.mode-guide-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.mode-guide-card { min-height:176px; padding:22px 18px; border:1px solid rgba(24,37,57,.09); background:#fff; }
.mode-guide-card>span { color:#b16e52; font:500 8px/1.2 var(--mono); letter-spacing:.12em; }
.mode-guide-card h3 { margin:15px 0 8px; color:#1c2d41; font-size:14px; letter-spacing:-.04em; }
.mode-guide-card p { margin:0; color:#697888; font-size:10px; line-height:1.8; }
.mode-guide-notice { display:grid; grid-template-columns:120px 1fr auto; align-items:center; gap:18px; margin-top:16px; padding:17px 21px; border:1px solid rgba(211,128,91,.22); background:#fff8f1; }
.mode-guide-notice>b { color:#af6647; font-size:11px; }
.mode-guide-notice p { margin:0; color:#6d7073; font-size:10px; line-height:1.75; }
.mode-guide-notice a { color:#a85e42; font-size:9px; font-weight:700; white-space:nowrap; }

/* Static management mockups — no auth, writes, or server control. */
.admin-mock { --admin-ink:#16253b; --admin-line:rgba(22,37,59,.12); --admin-accent:#e18a65; min-height:100vh; background:#eff2f5; color:var(--admin-ink); font-family:var(--sans); }
.admin-topbar { position:sticky; top:0; z-index:30; min-height:78px; display:grid; grid-template-columns:minmax(180px,250px) 1fr auto; align-items:center; gap:20px; padding:10px 24px; border-bottom:1px solid rgba(255,255,255,.1); background:#101d30; color:#fff; }
.admin-topbar--valley { border-color:rgba(39,71,54,.12); background:#fffdf9; color:#304b3c; }
.admin-brand { display:inline-flex; align-items:center; gap:10px; width:max-content; min-width:0; }
.admin-top-meta { display:flex; align-items:center; justify-content:center; gap:14px; color:rgba(255,255,255,.65); font:400 9px/1.3 var(--mono); letter-spacing:.13em; }
.admin-topbar--valley .admin-top-meta { color:#829185; }
.mockup-badge { padding:7px 10px; border:1px solid rgba(242,161,122,.55); color:#ffd0b8; font:500 9px/1.2 var(--sans); letter-spacing:0; white-space:nowrap; }
.mockup-badge--valley { border-color:rgba(101,145,111,.32); color:#58785c; }
.admin-exit { justify-self:end; color:#fff; font-size:10px; font-weight:700; white-space:nowrap; }
.admin-exit b { color:#f5a67e; margin-left:4px; }
.admin-exit--valley { color:#59785e; }.admin-exit--valley b { color:#cf8296; }
.admin-layout { display:grid; grid-template-columns:236px minmax(0,1fr); min-height:calc(100vh - 78px); }
.admin-sidebar { position:sticky; top:78px; height:calc(100vh - 78px); display:flex; flex-direction:column; gap:5px; padding:26px 16px 18px; background:#14263d; color:#d7e1ed; }
.admin-sidebar--valley { background:#fffefa; color:#516c5b; border-right:1px solid rgba(48,75,60,.1); }
.admin-sidebar-label { margin:0 10px 14px; color:#8297ad; font:400 8px/1.3 var(--mono); letter-spacing:.18em; }
.admin-sidebar--valley .admin-sidebar-label { color:#95a397; }
.admin-sidebar>a { display:flex; align-items:center; gap:10px; min-height:45px; padding:10px 12px; border-left:2px solid transparent; color:inherit; font-size:11px; }
.admin-sidebar>a b { width:17px; color:#e89570; font-size:14px; font-weight:400; text-align:center; }
.admin-sidebar--valley>a b { color:#ca8196; }
.admin-sidebar>a.is-current { border-left-color:#f09a72; background:rgba(255,255,255,.07); color:#fff; }
.admin-sidebar--valley>a.is-current { border-left-color:#d98b9b; background:#f5f7f1; color:#354e3e; }
.admin-sidebar-note { margin-top:auto; padding:13px 12px; border:1px solid rgba(255,255,255,.13); color:#cfdae6; }
.admin-sidebar--valley .admin-sidebar-note { border-color:rgba(51,84,61,.12); color:#65776a; }
.admin-sidebar-note>span { color:#efa27c; font:400 8px/1.2 var(--mono); letter-spacing:.14em; }
.admin-sidebar--valley .admin-sidebar-note>span { color:#b17d8a; }
.admin-sidebar-note p { margin:9px 0 0; font-size:9px; line-height:1.75; }
.admin-sidebar-note a { display:inline-block; margin-top:9px; color:#d28a9b; font-size:9px; font-weight:700; }
.admin-content { width:100%; max-width:1550px; margin:0 auto; padding:38px clamp(20px,3vw,48px) 28px; }
.admin-content--valley { max-width:1550px; }
.admin-page-heading { display:flex; align-items:center; justify-content:space-between; gap:25px; margin-bottom:22px; }
.admin-eyebrow { margin:0 0 10px; color:#8295aa; font:400 8px/1.2 var(--mono); letter-spacing:.14em; }
.admin-eyebrow--valley { color:#8a9b8b; }
.admin-page-heading h1 { margin:0; color:#182a40; font-size:29px; line-height:1.35; letter-spacing:-.06em; }
.admin-content--valley .admin-page-heading h1 { color:#35533f; }
.admin-page-heading h1 span { display:inline-block; padding:4px 8px; border:1px solid rgba(221,137,103,.44); color:#ae6a4c; font-size:10px; font-weight:500; vertical-align:middle; letter-spacing:0; }
.admin-content--valley .admin-page-heading h1 span { border-color:rgba(171,116,133,.35); color:#a86f80; }
.admin-page-heading>div>p:last-child { margin:7px 0 0; color:#788697; font-size:10px; }
.admin-heading-mark { padding:15px 20px; border:1px solid var(--admin-line); color:#5c7893; font:400 16px/1 var(--mono); }
.admin-heading-mark b { color:#e08b67; font-weight:400; }
.admin-notice-strip { display:flex; align-items:center; gap:14px; margin-bottom:18px; padding:13px 15px; border:1px solid rgba(222,147,111,.4); background:#fff9f4; color:#7c685d; font-size:10px; }
.admin-notice-strip>b { color:#ad6b4e; white-space:nowrap; }
.admin-notice-strip--valley { border-color:rgba(191,142,151,.3); background:#fbf8f1; color:#677267; }
.admin-notice-strip--valley>b { color:#a87582; }
.admin-summary-row { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin-bottom:18px; }
.admin-summary-row article { min-height:99px; display:flex; flex-direction:column; justify-content:center; gap:4px; padding:14px 16px; border:1px solid var(--admin-line); background:#fff; }
.admin-summary-row article>span { color:#7c8a99; font-size:9px; }
.admin-summary-row article>strong { color:#1d314a; font-size:16px; }
.admin-summary-row article>strong a { color:#506d8a; font-size:13px; }
.admin-summary-row article>small { color:#9aa4ae; font-size:8px; }
.summary-state { display:flex; align-items:center; gap:6px; }.summary-state i { width:7px; height:7px; border-radius:50%; background:#bfc7cf; }
.admin-summary-row article strong em { color:#8b98a5; font-size:9px; font-style:normal; font-weight:400; }
.admin-summary-row--valley article { border-color:rgba(53,82,61,.11); background:#fffefa; }
.admin-summary-row--valley article>span { color:#829184; }
.admin-summary-row--valley article>strong { color:#3f5b45; }
.admin-summary-row--valley article>strong a { color:#7c6a74; }
.admin-columns { display:grid; grid-template-columns:1.2fr 1fr; gap:14px; margin-bottom:14px; }
.admin-columns--lower { grid-template-columns:1fr 1fr; }
.admin-panel { min-width:0; padding:19px; border:1px solid var(--admin-line); background:#fff; }
.admin-panel--valley { border-color:rgba(53,82,61,.12); background:#fffefa; }
.admin-panel>header { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:16px; }
.admin-panel-kicker { color:#8a9aac; font:400 8px/1.3 var(--mono); letter-spacing:.13em; }
.admin-panel--valley .admin-panel-kicker { color:#92a095; }
.admin-panel h2 { margin:5px 0 0; color:#20344a; font-size:15px; letter-spacing:-.035em; }
.admin-panel--valley h2 { color:#405d47; }
.admin-panel button { padding:8px 10px; border:1px solid var(--admin-line); background:#f8fafb; color:#657585; font-size:9px; }
.admin-panel button:disabled { opacity:.82; cursor:not-allowed; }
.admin-empty { min-height:118px; display:flex; align-items:center; flex-direction:column; justify-content:center; padding:12px; color:#8290a0; text-align:center; }
.admin-empty>span { margin-bottom:7px; color:#b3c2cf; font-size:18px; }
.admin-empty strong { color:#5d6e80; font-size:10px; }
.admin-empty p { margin:6px 0 0; font-size:9px; }
.admin-preview-rows { border-top:1px solid rgba(23,42,62,.08); }
.admin-preview-rows>div { min-height:36px; display:flex; align-items:center; gap:8px; border-bottom:1px solid rgba(23,42,62,.08); color:#556779; font-size:9px; }
.admin-preview-rows small { margin-left:auto; color:#a2adb6; font-size:8px; }
.sample-chip { padding:3px 6px; background:#f0f3f5; color:#71869a; font-size:8px; }
.guide-stages { display:flex; align-items:center; justify-content:space-between; gap:9px; padding:20px 14px; background:#f5f8fa; color:#65798e; }
.guide-stages>div { display:flex; align-items:flex-start; flex-direction:column; gap:6px; font-size:9px; }
.guide-stages>div b { color:#c77b5b; font:400 9px/1 var(--mono); }
.guide-stages>i { color:#a7b5c3; font-style:normal; }
.admin-panel-footnote { margin:12px 0 0; color:#8995a2; font-size:8px; line-height:1.65; }
.admin-check-list { margin:0; padding:0; list-style:none; }
.admin-check-list li { display:flex; justify-content:space-between; gap:12px; padding:12px 0; border-bottom:1px solid rgba(23,42,62,.08); color:#596d80; font-size:9px; }
.admin-check-list li b { color:#bf7a5c; font-size:8px; font-weight:500; }
.admin-no-data { min-height:98px; display:flex; align-items:center; gap:15px; padding:14px; background:#f4f6f8; color:#82909d; }
.admin-no-data>span { color:#a6b3bf; font-size:20px; }
.admin-no-data p { margin:0; font-size:9px; line-height:1.75; }
.admin-disclaimer { display:flex; align-items:center; justify-content:space-between; gap:15px; padding-top:14px; color:#8290a0; font:400 8px/1.4 var(--mono); letter-spacing:.06em; }
.admin-disclaimer a { color:#4d6e8b; font:700 9px/1.4 var(--sans); letter-spacing:0; }
.admin-disclaimer--valley { color:#829186; }.admin-disclaimer--valley a { color:#7c6973; }
.admin-page-heading--valley { min-height:98px; }
.valley-admin-art { width:142px; height:92px; overflow:hidden; border-radius:999px; background:#e9f0e6; }
.valley-admin-art img { width:100%; height:100%; object-fit:cover; }
.valley-admin-notice { display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:9px; padding:11px 0; border-top:1px solid rgba(53,82,61,.1); }
.valley-admin-notice>span { padding:4px 6px; background:#f5f2e8; color:#9a8b68; font-size:8px; white-space:nowrap; }
.valley-admin-notice b { display:block; color:#4a5f4e; font-size:9px; }
.valley-admin-notice small { display:block; margin-top:3px; color:#9aa398; font-size:8px; }
.valley-admin-notice>i { color:#c28191; font-size:16px; font-style:normal; }
.valley-resident-preview { display:flex; align-items:center; gap:13px; padding:16px; background:#f5f7f1; }
.valley-resident-preview>span { width:37px; height:37px; display:grid; place-items:center; border-radius:50%; background:#f5eaf0; color:#bc8191; font-size:18px; }
.valley-resident-preview b { color:#4e674f; font-size:10px; }
.valley-resident-preview p { margin:4px 0 0; color:#8b998c; font-size:8px; }
.valley-official-link { display:inline-block; margin-top:12px; color:#94727d; font-size:9px; font-weight:700; }
.valley-pills { display:flex; flex-wrap:wrap; gap:7px; margin:18px 0 12px; }
.valley-pills span { padding:7px 11px; border:1px solid rgba(53,82,61,.12); border-radius:99px; color:#69806d; font-size:9px; }
.admin-no-data--valley { background:#f6f7f1; color:#6e816e; }
.admin-no-data--valley>span { color:#c98498; }

@media (max-width:1020px) {
  .mode-guide-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .admin-layout { grid-template-columns:190px minmax(0,1fr); }
  .admin-topbar { grid-template-columns:175px 1fr auto; gap:10px; padding-inline:16px; }
  .admin-top-meta { gap:8px; font-size:8px; }
  .admin-content { padding-inline:20px; }
}
@media (max-width:780px) {
  .gateway-brand-pair { width:290px; min-width:255px; height:82px; gap:8px; }
  .gateway-logo-unit { flex-basis:43%; height:76px; gap:2px; }
  .gateway-logo-unit img { height:55px; }
  .gateway-logo-unit--city { flex-basis:49%; }
  .gateway-logo-unit--city img { width:54px; height:54px; }
  .gateway-logo-unit>span { font-size:8px; }
  .gateway-logo-divider { height:28px; }
  .mode-guide-lead { align-items:flex-start; flex-direction:column; gap:10px; padding:17px; }
  .mode-guide-grid { grid-template-columns:1fr 1fr; gap:8px; }
  .mode-guide-card { min-height:158px; padding:16px 13px; }
  .mode-guide-notice { grid-template-columns:1fr; gap:7px; padding:15px; }
  .city-brand-logo { width:35px; height:35px; }
  .city-brand-name { font-size:11px; }
  .admin-topbar { position:relative; grid-template-columns:1fr auto; min-height:70px; padding:10px 14px; }
  .admin-top-meta { grid-column:1 / -1; grid-row:2; justify-content:flex-start; flex-wrap:wrap; padding:0 0 4px; }
  .admin-exit { grid-column:2; grid-row:1; }
  .admin-brand--valley img { width:112px; height:40px; }
  .admin-layout { display:block; min-height:0; }
  .admin-sidebar { position:relative; top:auto; height:auto; display:flex; flex-direction:row; gap:3px; overflow-x:auto; padding:8px 10px; white-space:nowrap; }
  .admin-sidebar-label,.admin-sidebar-note { display:none; }
  .admin-sidebar>a { flex:0 0 auto; min-height:39px; padding:8px 10px; font-size:9px; }
  .admin-sidebar>a b { width:auto; font-size:12px; }
  .admin-content { padding:24px 14px 22px; }
  .admin-page-heading { align-items:flex-start; }
  .admin-page-heading h1 { font-size:23px; }
  .admin-heading-mark { padding:10px 12px; font-size:13px; }
  .admin-summary-row { grid-template-columns:1fr 1fr; gap:8px; }
  .admin-summary-row article { min-height:86px; padding:12px; }
  .admin-columns,.admin-columns--lower { grid-template-columns:1fr; gap:9px; }
  .admin-panel { padding:15px; }
  .admin-disclaimer { align-items:flex-start; flex-direction:column; gap:8px; }
  .admin-page-heading--valley { min-height:0; }
  .valley-admin-art { width:83px; height:65px; }
}
@media (max-width:390px) {
  .gateway-brand-pair { width:255px; min-width:235px; height:76px; gap:6px; }
  .gateway-logo-unit { height:70px; }
  .gateway-logo-unit img { height:48px; }
  .gateway-logo-unit--city img { width:49px; height:49px; }
  .gateway-logo-unit>span { font-size:8px; }
  .city-hero h1 { font-size:42px; }
  .city-manifesto { gap:6px; }
  .mode-guide-grid { grid-template-columns:1fr; }
  .mode-guide-card { min-height:0; }
  .admin-page-heading { gap:10px; }
  .admin-page-heading h1 { font-size:21px; }
  .admin-page-heading>div>p:last-child { max-width:260px; line-height:1.6; }
  .admin-notice-strip { align-items:flex-start; flex-direction:column; gap:5px; }
  .admin-panel>header { align-items:flex-start; }
}
@media (prefers-reduced-motion:reduce) {
  .city-button:hover { transform:none; }
  .blueprint-cursor { animation:none; }
}


/* The Create City title banner is a single finished 16:9 artwork. */
.city-title-banner { width:100%; overflow:hidden; background:#0b1422; }
.city-title-banner-image { display:block; width:100%; height:auto; max-height:calc(100svh - 76px); object-fit:contain; object-position:center; }
@media (max-width:780px) {
  .city-title-banner-image { max-height:none; }
}


/* Compact paired server marks; the labels remain crisp HTML text. */
.server-gateway .gateway-brand-pair { width:max-content; min-width:0; max-width:100%; height:70px; gap:9px; }
.server-gateway .gateway-logo-unit { flex:0 0 auto; width:98px; height:64px; gap:2px; }
.server-gateway .gateway-logo-unit img { width:100%; height:37px; object-fit:contain; }
.server-gateway .gateway-logo-unit--city { width:108px; flex-basis:108px; }
.server-gateway .gateway-logo-unit--city img { width:36px; height:36px; object-fit:contain; }
.server-gateway .gateway-logo-unit>span { font-size:8px; line-height:1.1; }
.server-gateway .gateway-logo-divider { height:26px; }

/* Mobile browser hardening for the server shortcut portal. */
html { -webkit-text-size-adjust:100%; }
.server-gateway { position:relative; isolation:isolate; min-height:100vh; min-height:100svh; overflow-x:hidden; }
.server-gateway::before { position:absolute; inset:0; min-height:100%; background-position:center; }
.server-gateway::after { position:absolute; pointer-events:none; }
.server-gateway .gateway-header,
.server-gateway .gateway-main,
.server-gateway .gateway-footer { padding-left:env(safe-area-inset-left); padding-right:env(safe-area-inset-right); }
.server-gateway .gateway-header { padding-top:env(safe-area-inset-top); }
.server-gateway .gateway-footer { padding-bottom:calc(25px + env(safe-area-inset-bottom)); }
.server-gateway .destination-tags i { -webkit-backdrop-filter:blur(4px); backdrop-filter:blur(4px); }
.server-gateway .gateway-main { padding-bottom:28px; }
@media (max-width:780px) {
  .server-gateway::before { background-position:center; }
  .server-gateway::after {
    top:32vh; right:12vw; left:auto; width:42vw; height:42vw;
    box-shadow:0 0 0 14px rgba(255,255,255,.045),0 0 0 28px rgba(255,255,255,.025);
  }
  .server-gateway .gateway-brand-pair { width:max-content; max-width:calc(100vw - 34px - env(safe-area-inset-left) - env(safe-area-inset-right)); height:62px; gap:7px; }
  .server-gateway .gateway-logo-unit--valley { width:90px; flex-basis:90px; height:58px; }
  .server-gateway .gateway-logo-unit--valley img { height:33px; }
  .server-gateway .gateway-logo-unit--city { width:100px; flex-basis:100px; height:58px; }
  .server-gateway .gateway-logo-unit--city img { width:31px; height:31px; }
  .server-gateway .gateway-logo-unit>span { font-size:8px; }
  .server-gateway .gateway-logo-divider { height:22px; }
  .server-gateway .gateway-header { min-height:calc(70px + env(safe-area-inset-top)); }
  .server-gateway .gateway-main { padding-top:clamp(42px,7vh,58px); padding-bottom:18px; }
  .server-gateway .destination-action { min-height:44px; }
  .server-gateway .gateway-compass a { display:inline-flex; align-items:center; min-height:44px; padding:8px 4px; }
}
@media (max-width:390px) {
  .server-gateway .gateway-header { width:calc(100% - 28px); }
  .server-gateway .gateway-brand-pair { gap:6px; }
  .server-gateway .gateway-logo-unit--valley { width:86px; flex-basis:86px; }
  .server-gateway .gateway-logo-unit--city { width:96px; flex-basis:96px; }
  .server-gateway .gateway-logo-unit--city img { width:28px; height:28px; }
  .server-gateway .gateway-logo-unit>span { font-size:7px; }
  .server-gateway .gateway-main,.server-gateway .gateway-footer { width:calc(100% - 28px); }
  .server-gateway .gateway-intro h1 { font-size:clamp(34px,10.8vw,39px); }
  .server-gateway .gateway-lead { line-height:1.75; }
}
@media (max-width:780px) and (orientation:landscape) and (max-height:520px) {
  .server-gateway .gateway-main { padding-top:28px; }
  .server-gateway .gateway-intro { margin-bottom:24px; }
  .server-gateway .destination-pair { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

/* Clear, discoverable Create City navigation on desktop and mobile. */
.site-header--city {
  top:12px;
  min-height:72px;
  padding:0 20px;
  border:1px solid rgba(255,255,255,.28);
  border-radius:10px;
  background:rgba(9,19,34,.88);
  box-shadow:0 10px 30px rgba(3,10,20,.24);
  -webkit-backdrop-filter:blur(10px);
  backdrop-filter:blur(10px);
}
.site-header--city .city-nav { gap:clamp(12px,1.7vw,24px); }
.site-header--city .city-nav>a { color:#fff; opacity:1; font-size:13px; text-shadow:0 1px 5px rgba(0,0,0,.4); }
.site-header--city .city-nav>a.is-active::after { bottom:-9px; height:2px; background:#ffad83; }
.site-header--city .city-nav .nav-cta--city { border-color:#ffad83; background:#ffad83; color:#162238; text-shadow:none; }
.city-mobile-nav { display:none; }
@media (max-width:780px) {
  .site-header--city { top:max(8px,env(safe-area-inset-top)); width:calc(100% - 24px); min-height:62px; padding:0 12px; border-radius:9px; }
  .site-header--city .city-brand { gap:8px; }
  .site-header--city .city-brand-logo { width:32px; height:32px; }
  .site-header--city .city-brand-name { font-size:11px; }
  .site-header--city .menu-toggle,
  .site-header--city .city-nav { display:none; }
  .city-mobile-nav {
    position:sticky;
    top:0;
    z-index:18;
    display:flex;
    gap:5px;
    justify-content:space-between;
    padding:7px max(10px,env(safe-area-inset-left)) 7px max(10px,env(safe-area-inset-right));
    border-bottom:1px solid rgba(255,255,255,.12);
    background:rgba(13,25,43,.97);
    box-shadow:0 5px 16px rgba(12,22,37,.12);
  }
  .city-mobile-nav a {
    flex:1 1 0;
    min-width:48px;
    min-height:44px;
    display:grid;
    place-items:center;
    padding:7px 5px;
    border:1px solid rgba(255,255,255,.13);
    border-radius:4px;
    color:#f1f5fb;
    font-size:11px;
    font-weight:700;
    white-space:nowrap;
  }
  .city-mobile-nav a[aria-current="page"] { border-color:#ffad83; background:#ffad83; color:#172238; }
  .createcity-page section[id] { scroll-margin-top:64px; }
}
@media (min-width:781px) {
  .site-header--city { width:min(1240px,calc(100% - 48px)); }
}
@media (max-width:390px) {
  .city-mobile-nav { gap:4px; padding-left:8px; padding-right:8px; }
  .city-mobile-nav a { min-width:44px; min-height:44px; padding-inline:3px; font-size:10px; }
}


/* Logo-first server shortcuts, aligned with Valleytown Season 5 */
.server-gateway .destination-pair.server-pair {
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:stretch;
  gap:clamp(16px,2.4vw,28px);
}
.server-gateway .server-pair .destination-card {
  position:relative;
  display:flex;
  min-height:430px;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:17px;
  padding:36px 28px 28px;
  overflow:hidden;
  border:1px solid rgba(62,79,67,.13);
  border-radius:24px;
  color:#354d50;
  background:linear-gradient(145deg,#fffaf0 0%,#f2f7f3 100%);
  box-shadow:0 18px 48px rgba(31,44,37,.14);
  text-align:center;
  text-decoration:none;
  transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;
}
.server-gateway .server-pair .destination-card--createcity {
  background:linear-gradient(145deg,#fff8ed 0%,#f1f6f0 100%);
}
.server-gateway .server-pair .destination-card--official {
  background:linear-gradient(145deg,#eef7f4 0%,#fffaf0 100%);
}
.server-gateway .server-pair .destination-card:hover {
  z-index:1;
  transform:translateY(-5px);
  border-color:rgba(168,102,69,.35);
  box-shadow:0 25px 56px rgba(31,44,37,.2);
}
.server-gateway .server-pair .destination-art,
.server-gateway .server-pair .destination-wash { display:none; }
.server-gateway .server-pair .destination-number {
  top:20px;
  right:23px;
  color:#93a197;
  font-size:10px;
  letter-spacing:.12em;
}
.server-gateway .destination-logo-frame {
  position:relative;
  z-index:1;
  display:grid;
  flex:0 0 auto;
  width:164px;
  height:164px;
  place-items:center;
  padding:17px;
  border:1px solid rgba(53,77,80,.09);
  border-radius:34px;
  background:rgba(255,254,250,.9);
  box-shadow:0 11px 28px rgba(53,77,80,.08);
}
.server-gateway .destination-logo-frame--valleytown {
  width:min(76%,292px);
  height:136px;
  padding:15px 18px;
  border-radius:24px;
}
.server-gateway .destination-logo {
  display:block;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
}
.server-gateway .destination-logo--city { width:100%; height:100%; }
.server-gateway .destination-logo--valleytown { width:100%; height:100%; }
.server-gateway .server-pair .destination-copy {
  position:relative;
  inset:auto;
  z-index:1;
  display:flex;
  width:100%;
  max-width:430px;
  flex-direction:column;
  align-items:center;
  text-align:center;
}
.server-gateway .server-pair .destination-kicker {
  margin:0 0 7px;
  color:#8f755e;
  font-size:9px;
  letter-spacing:.13em;
}
.server-gateway .server-pair .destination-card--official .destination-kicker { color:#668174; }
.server-gateway .server-pair .destination-copy strong {
  color:#354d50;
  font-size:30px;
  font-weight:700;
  letter-spacing:-.055em;
}
.server-gateway .server-pair .destination-copy small {
  margin:9px 0 14px;
  color:#66756d;
  font-size:11px;
  line-height:1.75;
}
.server-gateway .server-pair .destination-action {
  display:inline-flex;
  min-height:40px;
  align-items:center;
  gap:10px;
  color:#895f70;
  font-size:11px;
}
.server-gateway .server-pair .destination-action b {
  width:25px;
  height:25px;
  border-color:rgba(137,95,112,.42);
}
.server-gateway .server-pair .destination-card:hover .destination-action b {
  border-color:#895f70;
  color:#fff;
  background:#895f70;
}
.server-gateway .server-pair .destination-tags {
  position:relative;
  inset:auto;
  z-index:1;
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:7px;
  padding:0;
}
.server-gateway .server-pair .destination-tags i {
  padding:5px 9px;
  border:1px solid rgba(53,77,80,.11);
  border-radius:999px;
  color:#68796f;
  background:rgba(255,254,250,.78);
  font-size:9px;
  backdrop-filter:none;
}
.server-gateway .gateway-compass { max-width:850px; }
@media (max-width:780px) {
  .server-gateway .destination-pair.server-pair { grid-template-columns:1fr; gap:14px; }
  .server-gateway .server-pair .destination-card { min-height:354px; gap:12px; padding:29px 20px 23px; }
  .server-gateway .destination-logo-frame { width:132px; height:132px; padding:13px; border-radius:28px; }
  .server-gateway .destination-logo-frame--valleytown { width:min(76%,260px); height:110px; padding:12px 15px; border-radius:21px; }
  .server-gateway .server-pair .destination-copy strong { font-size:27px; }
  .server-gateway .server-pair .destination-copy small { margin:7px 0 9px; }
  .server-gateway .server-pair .destination-number { top:17px; right:17px; }
  .server-gateway .gateway-compass { margin-top:27px; }
}
@media (max-width:480px) {
  .server-gateway .server-pair .destination-card { min-height:330px; padding:25px 17px 20px; }
  .server-gateway .destination-logo-frame { width:116px; height:116px; padding:11px; border-radius:24px; }
  .server-gateway .destination-logo-frame--valleytown { width:min(82%,240px); height:98px; }
  .server-gateway .server-pair .destination-copy strong { font-size:25px; }
  .server-gateway .server-pair .destination-tags { gap:5px; }
  .server-gateway .server-pair .destination-tags i { padding:4px 8px; font-size:8px; }
}
@media (max-width:780px) and (orientation:landscape) and (max-height:520px) {
  .server-gateway .destination-pair.server-pair { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .server-gateway .server-pair .destination-card { min-height:280px; padding:22px 14px 18px; gap:8px; }
  .server-gateway .destination-logo-frame { width:96px; height:96px; padding:9px; }
  .server-gateway .destination-logo-frame--valleytown { width:min(76%,210px); height:72px; }
  .server-gateway .server-pair .destination-copy strong { font-size:22px; }
  .server-gateway .server-pair .destination-copy small { margin:4px 0 5px; }
}


/* Compact gateway: direct transparent brand marks, tighter hierarchy and shorter cards. */
.server-gateway::after { width:46vw; height:46vw; right:-18vw; top:23vh; opacity:.34; }
.server-gateway .gateway-header { min-height:72px; }
.server-gateway .gateway-brand-pair { width:min(360px,54vw); min-width:250px; height:68px; gap:10px; }
.server-gateway .gateway-logo-unit { height:62px; gap:1px; }
.server-gateway .gateway-logo-unit img { height:45px; }
.server-gateway .gateway-logo-unit--city img { width:50px; height:50px; }
.server-gateway .gateway-logo-unit>span { font-size:8px; }
.server-gateway .gateway-logo-divider { height:30px; }
.server-gateway .gateway-main { padding-top:37px; padding-bottom:25px; }
.server-gateway .gateway-intro { display:flex; align-items:flex-end; justify-content:space-between; gap:34px; max-width:none; margin-bottom:23px; }
.server-gateway .gateway-intro h1 { font-size:clamp(34px,4.35vw,57px); line-height:1.14; }
.server-gateway .gateway-lead { max-width:410px; margin:0 0 3px; font-size:12px; line-height:1.72; text-align:right; }
.server-gateway .destination-pair.server-pair { gap:15px; }
.server-gateway .server-pair .destination-card { min-height:252px; display:grid; grid-template-columns:132px minmax(0,1fr); grid-template-rows:1fr auto; align-items:center; gap:7px 21px; padding:21px 25px 17px; border-radius:21px; }
.server-gateway .destination-logo-frame { position:relative; grid-column:1; grid-row:1; width:112px; height:112px; padding:0; border:0; border-radius:0; background:transparent; box-shadow:none; }
.server-gateway .destination-logo-frame--valleytown { width:182px; height:61px; padding:0; }
.server-gateway .destination-logo { filter:drop-shadow(0 3px 7px rgba(46,66,55,.14)); }
.server-gateway .server-pair .destination-copy { grid-column:2; grid-row:1; width:100%; max-width:none; align-items:flex-start; text-align:left; }
.server-gateway .server-pair .destination-copy strong { font-size:27px; line-height:1.16; }
.server-gateway .server-pair .destination-copy small { margin:6px 0 8px; font-size:10px; }
.server-gateway .server-pair .destination-action { min-height:31px; font-size:10px; }
.server-gateway .server-pair .destination-tags { position:relative; inset:auto; grid-column:1/-1; grid-row:2; justify-content:center; gap:6px; }
.server-gateway .server-pair .destination-tags i { padding:4px 8px; font-size:8px; }
.server-gateway .server-pair .destination-number { top:14px; right:17px; }
.server-gateway .gateway-compass { max-width:940px; margin-top:17px; padding:12px 0 0; border-bottom:0; font-size:10px; }
.server-gateway .gateway-footer { padding-top:13px; padding-bottom:13px; }
@media (max-width:780px) {
  .server-gateway .gateway-header { width:calc(100% - 32px); min-height:64px; }
  .server-gateway .gateway-brand-pair { width:min(320px,82vw); min-width:0; height:61px; gap:8px; }
  .server-gateway .gateway-logo-unit { height:56px; }
  .server-gateway .gateway-logo-unit img { height:40px; }
  .server-gateway .gateway-logo-unit--city img { width:44px; height:44px; }
  .server-gateway .gateway-logo-unit>span { font-size:7px; }
  .server-gateway .gateway-logo-divider { height:26px; }
  .server-gateway .gateway-main { width:calc(100% - 32px); padding-top:24px; padding-bottom:20px; }
  .server-gateway .gateway-intro { display:block; margin-bottom:17px; }
  .server-gateway .gateway-intro h1 { font-size:clamp(31px,8.2vw,40px); line-height:1.16; }
  .server-gateway .gateway-lead { max-width:none; margin:9px 0 0; font-size:10px; line-height:1.68; text-align:left; }
  .server-gateway .destination-pair.server-pair { grid-template-columns:1fr; gap:10px; }
  .server-gateway .server-pair .destination-card { min-height:178px; grid-template-columns:72px minmax(0,1fr); grid-template-rows:1fr auto; gap:7px 13px; padding:17px 15px 13px; border-radius:17px; }
  .server-gateway .destination-logo-frame { width:66px; height:66px; }
  .server-gateway .destination-logo-frame--valleytown { width:min(98%,95px); height:43px; }
  .server-gateway .server-pair .destination-copy strong { font-size:21px; line-height:1.18; }
  .server-gateway .server-pair .destination-copy small { margin:4px 0 5px; font-size:9px; line-height:1.55; }
  .server-gateway .server-pair .destination-kicker { margin-bottom:4px; font-size:7px; }
  .server-gateway .server-pair .destination-action { min-height:27px; font-size:9px; }
  .server-gateway .server-pair .destination-action b { width:22px; height:22px; }
  .server-gateway .server-pair .destination-tags { grid-column:1/-1; gap:5px; }
  .server-gateway .server-pair .destination-tags i { padding:3px 7px; font-size:7px; }
  .server-gateway .server-pair .destination-number { top:10px; right:13px; font-size:8px; }
  .server-gateway .gateway-compass { margin-top:14px; padding:11px 0 0; font-size:9px; line-height:1.6; }
  .server-gateway .gateway-footer { width:calc(100% - 32px); padding-top:10px; padding-bottom:10px; }
}
@media (max-width:390px) {
  .server-gateway .server-pair .destination-card { grid-template-columns:60px minmax(0,1fr); gap:7px 10px; padding-inline:12px; }
  .server-gateway .destination-logo-frame { width:56px; height:56px; }
  .server-gateway .destination-logo-frame--valleytown { width:58px; height:35px; }
  .server-gateway .server-pair .destination-copy strong { font-size:19px; }
}


/* Keep the compact selector balanced within the viewport instead of leaving a dead lower half. */
.server-gateway { display:flex; min-height:100vh; flex-direction:column; }
.server-gateway .gateway-main { display:flex; flex:1 0 auto; flex-direction:column; justify-content:center; padding-top:20px; padding-bottom:20px; }
.server-gateway .gateway-footer { flex:0 0 auto; }
@media (max-height:720px) and (min-width:781px) {
  .server-gateway .gateway-main { justify-content:flex-start; padding-top:16px; }
}


/* Compact full-viewport server gateway */
body.server-gateway{display:flex;flex-direction:column;min-height:100vh;min-height:100svh}
.server-gateway .gateway-header{flex:0 0 auto}
.server-gateway .gateway-main{display:flex;flex:1 0 auto;flex-direction:column;justify-content:center;width:min(1120px,calc(100% - 48px));padding:28px 0 30px}
.server-gateway .gateway-intro{margin:0 0 22px}
.server-gateway .gateway-intro h1{margin-bottom:10px}
.server-gateway .server-pair{gap:16px}
.server-gateway .server-pair .destination-card{min-height:260px;padding:22px 25px 19px;gap:13px}
.server-gateway .destination-logo-frame{width:110px;height:110px;padding:7px;border-radius:0;background:transparent;box-shadow:none}
.server-gateway .destination-logo-frame--valleytown{width:190px;height:74px;padding:4px;border-radius:0;background:transparent;box-shadow:none}
.server-gateway .destination-logo--city{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 10px 12px rgba(37,54,43,.12))}
.server-gateway .destination-logo--valleytown{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 8px 12px rgba(37,54,43,.1))}
.server-gateway .destination-number{top:17px;right:19px}
.server-gateway .destination-copy{gap:5px}
.server-gateway .destination-copy>strong{font-size:24px;line-height:1.18}
.server-gateway .destination-copy>small{font-size:11px}
.server-gateway .destination-action{margin-top:3px}
.server-gateway .destination-tags{margin-top:0}
.server-gateway .gateway-compass{margin:17px 0 0}
.server-gateway .gateway-footer{flex:0 0 auto;margin-top:0;padding-block:14px}
@media(max-width:760px){
  .server-gateway .gateway-main{width:calc(100% - 28px);padding:18px 0 20px}
  .server-gateway .gateway-intro{margin-bottom:17px}
  .server-gateway .server-pair{gap:10px}
  .server-gateway .server-pair .destination-card{min-height:190px;padding:16px 10px 13px;gap:7px}
  .server-gateway .destination-logo-frame{width:82px;height:82px;padding:4px}
  .server-gateway .destination-logo-frame--valleytown{width:142px;height:52px;padding:3px}
  .server-gateway .destination-copy>strong{font-size:19px}
  .server-gateway .destination-copy>small{font-size:10px;line-height:1.45}
  .server-gateway .destination-tags{gap:4px}
  .server-gateway .destination-tags i{padding:4px 6px;font-size:9px}
  .server-gateway .gateway-compass{margin-top:12px}
}
@media(max-width:420px){
  .server-gateway .gateway-main{width:calc(100% - 24px);padding-top:13px}
  .server-gateway .server-pair .destination-card{min-height:172px;padding:12px 8px 11px}
  .server-gateway .destination-logo-frame{width:72px;height:72px}
  .server-gateway .destination-logo-frame--valleytown{width:124px;height:46px}
  .server-gateway .destination-copy>strong{font-size:17px}
  .server-gateway .destination-copy>small{font-size:9px}
}

/* Final alignment pass: matching logo columns and no forced blank space below the selector. */
.server-gateway { min-height:100vh; min-height:100svh; }
.server-gateway .gateway-main {
  flex:0 0 auto;
  justify-content:flex-start;
  padding-top:28px;
  padding-bottom:12px;
}
.server-gateway .server-pair .destination-card {
  min-height:230px;
  grid-template-columns:132px minmax(0,1fr);
  grid-template-rows:minmax(0,1fr) auto;
  align-items:center;
  gap:10px 18px;
  padding:20px 22px 16px;
}
.server-gateway .destination-logo-frame,
.server-gateway .destination-logo-frame--valleytown {
  grid-column:1;
  grid-row:1;
  justify-self:center;
  align-self:center;
  width:120px;
  height:100px;
  padding:0;
}
.server-gateway .destination-logo { width:100%; height:100%; object-fit:contain; }
.server-gateway .server-pair .destination-copy {
  grid-column:2;
  grid-row:1;
  min-width:0;
  align-items:flex-start;
  text-align:left;
}
.server-gateway .server-pair .destination-tags {
  grid-column:1/-1;
  grid-row:2;
  justify-content:center;
  margin:0;
}
.server-gateway .gateway-footer { margin-top:0; }
@media (max-width:780px) {
  .server-gateway .gateway-main { padding-top:20px; padding-bottom:8px; }
  .server-gateway .server-pair .destination-card {
    min-height:172px;
    grid-template-columns:76px minmax(0,1fr);
    grid-template-rows:minmax(0,1fr) auto;
    gap:7px 12px;
    padding:14px 14px 11px;
  }
  .server-gateway .destination-logo-frame,
  .server-gateway .destination-logo-frame--valleytown {
    width:72px;
    height:58px;
  }
  .server-gateway .server-pair .destination-tags { gap:5px; }
}
@media (max-width:420px) {
  .server-gateway .gateway-main { padding-top:14px; padding-bottom:6px; }
  .server-gateway .server-pair .destination-card { grid-template-columns:64px minmax(0,1fr); padding-inline:11px; }
  .server-gateway .destination-logo-frame,
  .server-gateway .destination-logo-frame--valleytown { width:60px; height:50px; }
}


/* Live status entry integrated with both the Season 5 home and Create City. */
.gateway-status-card { display:grid; grid-template-columns:58px minmax(0,1fr) auto; align-items:center; gap:17px; margin:22px 0 18px; padding:18px 22px; border:1px solid rgba(255,255,255,.48); border-radius:16px; background:rgba(255,255,255,.94); color:#405b49; box-shadow:0 12px 30px rgba(18,34,48,.12); transition:transform .2s ease,box-shadow .2s ease,background .2s ease; }
.gateway-status-card:hover { transform:translateY(-2px); background:#fffefa; box-shadow:0 16px 34px rgba(18,34,48,.17); }
.gateway-status-card>img { width:52px; height:52px; object-fit:contain; }
.gateway-status-copy { display:grid; gap:3px; }
.gateway-status-copy strong { color:#395643; font-size:14px; letter-spacing:-.03em; }
.gateway-status-copy small { color:#829087; font-size:9px; line-height:1.6; }
.gateway-status-cta { display:inline-flex; align-items:center; gap:12px; padding:10px 14px; border:1px solid #dce6dd; border-radius:999px; background:#f4f8f2; color:#59765d; font-size:9px; font-weight:700; white-space:nowrap; }
.gateway-status-cta b { color:#ba7b8d; font-size:15px; font-weight:400; }
@media(max-width:780px) { .gateway-status-card { grid-template-columns:45px minmax(0,1fr); gap:11px; margin:17px 0 12px; padding:14px; border-radius:13px; }.gateway-status-card>img { width:42px; height:42px; }.gateway-status-copy strong { font-size:12px; }.gateway-status-copy small { font-size:8px; }.gateway-status-cta { grid-column:2; justify-self:start; margin-top:3px; padding:8px 12px; font-size:8px; } }


/* Final density pass: preserve the two worlds while removing excess vertical space. */
.server-gateway .gateway-header { min-height:62px; }
.server-gateway .gateway-brand-pair { height:60px; }
.server-gateway .gateway-logo-unit { height:56px; }
.server-gateway .gateway-main { padding-top:18px; padding-bottom:12px; }
.server-gateway .gateway-intro { margin-bottom:14px; }
.server-gateway .gateway-intro h1 { font-size:clamp(32px,3.8vw,49px); line-height:1.1; }
.server-gateway .gateway-lead { line-height:1.55; }
.server-gateway .destination-pair.server-pair { gap:12px; }
.server-gateway .server-pair .destination-card { min-height:204px; gap:5px 16px; padding:16px 20px 12px; border-radius:17px; }
.server-gateway .destination-logo-frame { width:96px; height:96px; }
.server-gateway .destination-logo-frame--valleytown { width:158px; height:54px; }
.server-gateway .server-pair .destination-copy strong { font-size:24px; }
.server-gateway .server-pair .destination-copy small { margin:4px 0 7px; font-size:9px; line-height:1.55; }
.server-gateway .server-pair .destination-action { min-height:28px; }
.server-gateway .server-pair .destination-tags { gap:5px; }
.server-gateway .server-pair .destination-tags i { padding:3px 7px; }
.server-gateway .gateway-status-card { grid-template-columns:38px minmax(0,1fr) auto; gap:10px; min-height:58px; margin:11px 0 5px; padding:8px 13px; border-radius:12px; }
.server-gateway .gateway-status-card>img { width:36px; height:36px; }
.server-gateway .gateway-status-copy { gap:1px; }
.server-gateway .gateway-status-copy strong { font-size:11px; }
.server-gateway .gateway-status-copy small { font-size:8px; }
.server-gateway .gateway-status-cta { gap:7px; padding:7px 10px; font-size:8px; }
.server-gateway .gateway-compass { margin-top:7px; padding-top:7px; font-size:9px; }
.server-gateway .gateway-footer { padding-top:7px; padding-bottom:7px; }
@media(max-width:780px) {
  .server-gateway .gateway-header { min-height:58px; }
  .server-gateway .gateway-main { padding-top:17px; padding-bottom:10px; }
  .server-gateway .gateway-intro { margin-bottom:11px; }
  .server-gateway .gateway-intro h1 { font-size:clamp(29px,7.8vw,37px); }
  .server-gateway .gateway-lead { margin-top:6px; font-size:9px; line-height:1.55; }
  .server-gateway .destination-pair.server-pair { gap:8px; }
  .server-gateway .server-pair .destination-card { min-height:158px; gap:5px 11px; padding:13px 13px 10px; border-radius:14px; }
  .server-gateway .destination-logo-frame { width:58px; height:58px; }
  .server-gateway .destination-logo-frame--valleytown { width:min(98%,84px); height:37px; }
  .server-gateway .server-pair .destination-copy strong { font-size:19px; }
  .server-gateway .server-pair .destination-copy small { margin:3px 0 4px; font-size:8px; }
  .server-gateway .server-pair .destination-action { min-height:25px; font-size:8px; }
  .server-gateway .server-pair .destination-tags i { padding:3px 6px; font-size:7px; }
  .server-gateway .gateway-status-card { grid-template-columns:32px minmax(0,1fr) auto; gap:8px; min-height:50px; margin:9px 0 4px; padding:7px 9px; }
  .server-gateway .gateway-status-card>img { width:31px; height:31px; }
  .server-gateway .gateway-status-copy strong { font-size:9px; }
  .server-gateway .gateway-status-copy small { font-size:7px; line-height:1.4; }
  .server-gateway .gateway-status-cta { padding:6px 8px; font-size:7px; }
  .server-gateway .gateway-compass { margin-top:5px; padding-top:6px; font-size:8px; }
  .server-gateway .gateway-footer { padding-top:6px; padding-bottom:6px; }
}
@media(max-width:480px) {
  .server-gateway .server-pair .destination-card { min-height:152px; }
  .server-gateway .gateway-status-card { grid-template-columns:30px minmax(0,1fr) auto; }
  .server-gateway .gateway-status-cta { gap:4px; padding:6px 7px; }
}


/* Ultra-compact pass: let the page end with its content instead of reserving a full viewport. */
html { background:#17243f; }
.gateway-page { min-height:0; min-height:auto; }
.server-gateway { min-height:0; min-height:auto; overflow-x:hidden; }
.server-gateway::before { position:absolute; inset:0; min-height:100%; background-position:center top; }
.server-gateway .gateway-header { min-height:48px; padding-top:0; }
.server-gateway .gateway-brand-pair { height:46px; gap:7px; }
.server-gateway .gateway-logo-unit { height:42px; }
.server-gateway .gateway-logo-unit img { height:31px; }
.server-gateway .gateway-logo-unit--city img { width:32px; height:32px; }
.server-gateway .gateway-logo-divider { height:22px; }
.server-gateway .gateway-main { padding-top:8px; padding-bottom:5px; }
.server-gateway .gateway-intro { margin-bottom:8px; gap:18px; }
.server-gateway .gateway-intro h1 { font-size:clamp(28px,3.4vw,42px); line-height:1.06; }
.server-gateway .gateway-lead { max-width:340px; margin-bottom:0; font-size:9px; line-height:1.45; }
.server-gateway .destination-pair.server-pair { gap:8px; }
.server-gateway .server-pair .destination-card { min-height:156px; gap:4px 12px; padding:12px 15px 9px; border-radius:14px; }
.server-gateway .destination-logo-frame { width:76px; height:76px; }
.server-gateway .destination-logo-frame--valleytown { width:132px; height:45px; }
.server-gateway .server-pair .destination-copy strong { font-size:22px; line-height:1.12; }
.server-gateway .server-pair .destination-copy small { margin:3px 0 4px; font-size:9px; line-height:1.4; }
.server-gateway .server-pair .destination-kicker { margin-bottom:3px; font-size:7px; }
.server-gateway .server-pair .destination-action { min-height:23px; font-size:9px; }
.server-gateway .server-pair .destination-action b { width:20px; height:20px; }
.server-gateway .server-pair .destination-number { top:9px; right:12px; }
.server-gateway .server-pair .destination-tags { gap:4px; }
.server-gateway .server-pair .destination-tags i { padding:2px 6px; font-size:7px; }
.server-gateway .gateway-status-card { grid-template-columns:30px minmax(0,1fr) auto; min-height:42px; gap:7px; margin:7px 0 2px; padding:6px 9px; border-radius:10px; }
.server-gateway .gateway-status-card>img { width:28px; height:28px; }
.server-gateway .gateway-status-copy strong { font-size:9px; }
.server-gateway .gateway-status-copy small { font-size:7px; line-height:1.35; }
.server-gateway .gateway-status-cta { gap:5px; padding:5px 7px; font-size:7px; }
.server-gateway .gateway-status-cta b { width:17px; height:17px; }
.server-gateway .gateway-compass { margin-top:3px; padding-top:5px; font-size:8px; line-height:1.45; }
.server-gateway .gateway-footer { padding-top:4px; padding-bottom:4px; font-size:8px; }
@media(max-width:780px) {
  .gateway-page { min-height:0; }
  .server-gateway { min-height:0; }
  .server-gateway .gateway-header { min-height:46px; }
  .server-gateway .gateway-main { padding-top:8px; padding-bottom:4px; }
  .server-gateway .gateway-intro { margin-bottom:7px; }
  .server-gateway .gateway-intro h1 { font-size:clamp(26px,7vw,34px); }
  .server-gateway .gateway-lead { margin-top:4px; font-size:8px; }
  .server-gateway .server-pair .destination-card { min-height:140px; gap:4px 9px; padding:10px 11px 8px; border-radius:12px; }
  .server-gateway .destination-logo-frame { width:50px; height:50px; }
  .server-gateway .destination-logo-frame--valleytown { width:min(98%,74px); height:31px; }
  .server-gateway .server-pair .destination-copy strong { font-size:19px; }
  .server-gateway .server-pair .destination-copy small { margin:2px 0 3px; font-size:8px; }
  .server-gateway .server-pair .destination-action { min-height:21px; font-size:8px; }
  .server-gateway .gateway-status-card { grid-template-columns:27px minmax(0,1fr) auto; min-height:38px; gap:6px; margin:6px 0 2px; padding:5px 7px; }
  .server-gateway .gateway-status-card>img { width:25px; height:25px; }
  .server-gateway .gateway-status-copy small { font-size:7px; }
  .server-gateway .gateway-status-cta { padding:5px 6px; }
  .server-gateway .gateway-compass { margin-top:2px; padding-top:4px; font-size:7px; }
}
@media(max-width:480px) {
  .server-gateway .server-pair .destination-card { min-height:132px; }
  .server-gateway .gateway-status-card { grid-template-columns:25px minmax(0,1fr) auto; }
  .server-gateway .gateway-status-copy small { max-width:205px; }
}


/* Minimal-height server chooser: keep the two destinations clear without large card interiors. */
.server-gateway .gateway-main { padding-top:5px; padding-bottom:3px; }
.server-gateway .gateway-intro { align-items:center; margin-bottom:6px; }
.server-gateway .gateway-intro h1 { font-size:clamp(25px,2.6vw,34px); line-height:1.05; }
.server-gateway .gateway-intro h1 br { display:none; }
.server-gateway .gateway-lead { max-width:330px; font-size:8px; line-height:1.35; }
.server-gateway .destination-pair.server-pair { gap:7px; }
.server-gateway .server-pair .destination-card { min-height:112px; grid-template-columns:62px minmax(0,1fr); grid-template-rows:1fr; gap:5px 10px; padding:9px 13px; border-radius:12px; }
.server-gateway .destination-logo-frame { width:56px; height:56px; }
.server-gateway .destination-logo-frame--valleytown { width:106px; height:36px; }
.server-gateway .server-pair .destination-copy { align-items:flex-start; }
.server-gateway .server-pair .destination-kicker { margin-bottom:2px; font-size:6px; }
.server-gateway .server-pair .destination-copy strong { font-size:18px; line-height:1.08; }
.server-gateway .server-pair .destination-copy small { margin:2px 0; font-size:8px; line-height:1.25; }
.server-gateway .server-pair .destination-action { min-height:20px; font-size:8px; }
.server-gateway .server-pair .destination-action b { width:18px; height:18px; }
.server-gateway .server-pair .destination-tags { display:none; }
.server-gateway .server-pair .destination-number { top:8px; right:10px; font-size:8px; }
.server-gateway .gateway-status-card { min-height:36px; margin:5px 0 1px; padding:4px 8px; gap:6px; }
.server-gateway .gateway-status-card>img { width:25px; height:25px; }
.server-gateway .gateway-status-copy strong { font-size:8px; }
.server-gateway .gateway-status-copy small { font-size:6.5px; }
.server-gateway .gateway-status-cta { padding:4px 6px; font-size:6.5px; }
.server-gateway .gateway-compass { margin-top:2px; padding-top:3px; font-size:7px; line-height:1.3; }
.server-gateway .gateway-footer { padding-top:3px; padding-bottom:3px; font-size:7px; }
@media(max-width:780px) {
  .server-gateway .gateway-header { min-height:42px; }
  .server-gateway .gateway-brand-pair { height:40px; gap:5px; }
  .server-gateway .gateway-logo-unit { height:36px; }
  .server-gateway .gateway-logo-unit img { height:26px; }
  .server-gateway .gateway-logo-unit--city img { width:27px; height:27px; }
  .server-gateway .gateway-main { padding-top:5px; padding-bottom:3px; }
  .server-gateway .gateway-intro { margin-bottom:5px; }
  .server-gateway .gateway-intro h1 { font-size:clamp(24px,6.5vw,31px); line-height:1.04; }
  .server-gateway .gateway-intro h1 br { display:block; }
  .server-gateway .gateway-lead { margin-top:3px; font-size:7px; line-height:1.3; }
  .server-gateway .destination-pair.server-pair { gap:6px; }
  .server-gateway .server-pair .destination-card { min-height:103px; grid-template-columns:48px minmax(0,1fr); gap:4px 8px; padding:8px 9px; border-radius:10px; }
  .server-gateway .destination-logo-frame { width:43px; height:43px; }
  .server-gateway .destination-logo-frame--valleytown { width:min(100%,68px); height:27px; }
  .server-gateway .server-pair .destination-kicker { font-size:5.5px; }
  .server-gateway .server-pair .destination-copy strong { font-size:16px; }
  .server-gateway .server-pair .destination-copy small { font-size:7px; }
  .server-gateway .server-pair .destination-action { min-height:18px; font-size:7px; }
  .server-gateway .gateway-status-card { min-height:33px; grid-template-columns:23px minmax(0,1fr) auto; gap:5px; margin:4px 0 1px; padding:3px 6px; }
  .server-gateway .gateway-status-card>img { width:22px; height:22px; }
  .server-gateway .gateway-status-copy strong { font-size:7px; }
  .server-gateway .gateway-status-copy small { font-size:6px; }
  .server-gateway .gateway-status-cta { padding:4px 5px; font-size:6px; }
  .server-gateway .gateway-compass { margin-top:1px; padding-top:3px; font-size:6.5px; }
}

/* Natural-height compact server chooser: no viewport-sized blank footer. */
html { background:#17243f; }
.gateway-page { min-height:0; min-height:auto; }
body.server-gateway { display:flex; flex-direction:column; min-height:0; min-height:auto; overflow-x:hidden; }
.server-gateway::before { position:fixed; inset:0; background-position:center top; }
.server-gateway .gateway-header { width:min(1160px,calc(100% - 48px)); min-height:52px; margin:0 auto; display:flex; align-items:center; justify-content:space-between; }
.server-gateway .gateway-brand-pair { height:48px; gap:7px; }
.server-gateway .gateway-logo-unit { height:43px; }
.gateway-quick-actions { display:flex; align-items:center; }
.gateway-login-link { display:inline-flex; align-items:center; gap:7px; padding:7px 12px; border:1px solid rgba(255,255,255,.4); border-radius:999px; color:#fff; text-decoration:none; font-size:10px; font-weight:700; background:rgba(16,31,52,.26); transition:background .2s ease,transform .2s ease; }
.gateway-login-link:hover { background:rgba(255,255,255,.16); transform:translateY(-1px); }
.gateway-login-link b { font-size:12px; font-weight:500; }
.server-gateway .gateway-main { width:min(1120px,calc(100% - 48px)); flex:0 0 auto; display:flex; flex-direction:column; justify-content:flex-start; margin:0 auto; padding:7px 0 4px; }
.server-gateway .gateway-intro { align-items:center; gap:20px; margin:0 0 8px; }
.server-gateway .gateway-intro h1 { max-width:680px; margin-bottom:0; font-size:clamp(30px,3vw,40px); line-height:1.05; letter-spacing:-.04em; }
.server-gateway .gateway-intro h1 br { display:none; }
.server-gateway .gateway-lead { max-width:350px; margin:0; font-size:9px; line-height:1.45; }
.server-gateway .destination-pair.server-pair { gap:10px; }
.server-gateway .server-pair .destination-card { min-height:126px; grid-template-columns:90px minmax(0,1fr); grid-template-rows:minmax(0,1fr); align-items:center; gap:7px 13px; padding:11px 16px; border-radius:14px; }
.server-gateway .destination-logo-frame { width:72px; height:72px; padding:0; }
.server-gateway .destination-logo-frame--valleytown { width:118px; height:42px; }
.server-gateway .destination-logo { width:100%; height:100%; object-fit:contain; }
.server-gateway .server-pair .destination-copy { align-items:flex-start; text-align:left; }
.server-gateway .server-pair .destination-kicker { margin-bottom:3px; font-size:7px; }
.server-gateway .server-pair .destination-copy strong { font-size:21px; line-height:1.12; }
.server-gateway .server-pair .destination-copy small { margin:3px 0 5px; font-size:8px; line-height:1.4; }
.server-gateway .server-pair .destination-action { min-height:24px; font-size:8px; }
.server-gateway .server-pair .destination-action b { width:21px; height:21px; }
.server-gateway .server-pair .destination-tags { display:none; }
.server-gateway .server-pair .destination-number { top:9px; right:12px; font-size:8px; }
.server-gateway .gateway-status-card { min-height:44px; grid-template-columns:32px minmax(0,1fr) auto; gap:8px; margin:7px 0 2px; padding:6px 10px; border-radius:11px; }
.server-gateway .gateway-status-card>img { width:28px; height:28px; }
.server-gateway .gateway-status-copy { gap:1px; }
.server-gateway .gateway-status-copy strong { font-size:9px; }
.server-gateway .gateway-status-copy small { font-size:7px; line-height:1.35; }
.server-gateway .gateway-status-cta { gap:5px; padding:5px 7px; font-size:7px; }
.server-gateway .gateway-status-cta b { width:18px; height:18px; font-size:12px; }
.server-gateway .gateway-compass { margin-top:3px; padding-top:5px; font-size:8px; line-height:1.4; }
.server-gateway .gateway-footer { width:min(1160px,calc(100% - 48px)); flex:0 0 auto; margin:0 auto; padding:5px 0; font-size:8px; }
@media(max-width:780px) {
  .server-gateway .gateway-header { width:calc(100% - 32px); min-height:46px; }
  .server-gateway .gateway-brand-pair { height:42px; gap:5px; }
  .server-gateway .gateway-logo-unit { height:38px; }
  .server-gateway .gateway-logo-unit img { height:27px; }
  .server-gateway .gateway-logo-unit--city img { width:28px; height:28px; }
  .gateway-login-link { padding:6px 9px; font-size:9px; }
  .server-gateway .gateway-main { width:calc(100% - 32px); padding-top:5px; padding-bottom:3px; }
  .server-gateway .gateway-intro { display:block; margin-bottom:7px; }
  .server-gateway .gateway-intro h1 { max-width:none; font-size:clamp(26px,7vw,35px); }
  .server-gateway .gateway-intro h1 br { display:block; }
  .server-gateway .gateway-lead { max-width:460px; margin-top:4px; font-size:8px; }
  .server-gateway .destination-pair.server-pair { grid-template-columns:1fr; gap:6px; }
  .server-gateway .server-pair .destination-card { min-height:108px; grid-template-columns:58px minmax(0,1fr); grid-template-rows:1fr; gap:5px 9px; padding:8px 10px; border-radius:11px; }
  .server-gateway .destination-logo-frame { width:48px; height:48px; }
  .server-gateway .destination-logo-frame--valleytown { width:min(100%,76px); height:29px; }
  .server-gateway .server-pair .destination-copy strong { font-size:17px; }
  .server-gateway .server-pair .destination-copy small { margin:2px 0 3px; font-size:7px; }
  .server-gateway .server-pair .destination-action { min-height:20px; font-size:7px; }
  .server-gateway .gateway-status-card { min-height:38px; grid-template-columns:26px minmax(0,1fr) auto; gap:5px; margin:5px 0 1px; padding:4px 7px; }
  .server-gateway .gateway-status-card>img { width:23px; height:23px; }
  .server-gateway .gateway-status-copy strong { font-size:8px; }
  .server-gateway .gateway-status-copy small { font-size:6px; }
  .server-gateway .gateway-status-cta { padding:4px 5px; font-size:6px; }
  .server-gateway .gateway-compass { margin-top:1px; padding-top:3px; font-size:7px; }
  .server-gateway .gateway-footer { width:calc(100% - 32px); padding:4px 0; }
}
@media(max-width:420px) {
  .server-gateway .gateway-header { width:calc(100% - 24px); min-height:42px; }
  .server-gateway .gateway-main { width:calc(100% - 24px); }
  .server-gateway .server-pair .destination-card { min-height:100px; grid-template-columns:52px minmax(0,1fr); padding-inline:8px; }
  .server-gateway .gateway-status-card { grid-template-columns:24px minmax(0,1fr) auto; }
  .server-gateway .gateway-status-copy small { max-width:170px; }
  .gateway-login-link { padding-inline:7px; font-size:8px; }
}


/* Final minimal-content sizing: no full-viewport flex reserve or oversized card padding. */
html, body.gateway-page { width:100%; max-width:100%; }
body.gateway-page.server-gateway { display:block; width:100%; height:auto !important; min-height:0 !important; overflow-x:hidden; }
.gateway-page { height:auto !important; min-height:0 !important; }
.gateway-page::before { position:absolute; inset:0; min-height:0; }
.server-gateway { display:block; width:100%; max-width:none; height:auto !important; min-height:0 !important; overflow-x:hidden; }
.server-gateway .gateway-header { width:min(1120px,calc(100% - 32px)); min-height:42px; flex:none; }
.server-gateway .gateway-main { width:min(1120px,calc(100% - 32px)); min-height:0; flex:none !important; margin:0 auto; padding:4px 0 2px; }
.server-gateway .gateway-intro { display:flex; align-items:center; gap:14px; margin:0 0 6px; }
.server-gateway .gateway-intro h1 { margin:0; font-size:clamp(24px,2.6vw,32px); line-height:1.05; }
.server-gateway .gateway-intro h1 br { display:none; }
.server-gateway .gateway-lead { max-width:340px; margin:0; font-size:8px; line-height:1.25; }
.server-gateway .destination-pair.server-pair { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.server-gateway .server-pair .destination-card { min-height:96px; grid-template-columns:54px minmax(0,1fr); grid-template-rows:1fr; gap:4px 9px; padding:8px 11px; border-radius:11px; }
.server-gateway .destination-logo-frame,
.server-gateway .destination-logo-frame--valleytown { width:50px; height:50px; }
.server-gateway .server-pair .destination-copy { align-items:flex-start; }
.server-gateway .server-pair .destination-kicker { margin:0 0 2px; font-size:6px; }
.server-gateway .server-pair .destination-copy strong { font-size:16px; line-height:1.08; }
.server-gateway .server-pair .destination-copy small,
.server-gateway .server-pair .destination-tags { display:none; }
.server-gateway .server-pair .destination-action { min-height:19px; margin-top:2px; font-size:7px; }
.server-gateway .server-pair .destination-action b { width:17px; height:17px; font-size:11px; }
.server-gateway .server-pair .destination-number { top:7px; right:9px; font-size:7px; }
.server-gateway .gateway-status-card { grid-template-columns:26px minmax(0,1fr) auto; min-height:34px; gap:6px; margin:4px 0 1px; padding:4px 7px; border-radius:9px; }
.server-gateway .gateway-status-card>img { width:23px; height:23px; }
.server-gateway .gateway-status-copy { gap:0; }
.server-gateway .gateway-status-copy strong { font-size:8px; }
.server-gateway .gateway-status-copy small { font-size:6px; line-height:1.25; }
.server-gateway .gateway-status-cta { gap:4px; padding:4px 6px; font-size:6px; }
.server-gateway .gateway-status-cta b { width:15px; height:15px; font-size:10px; }
.server-gateway .gateway-compass { margin-top:2px; padding:3px 0 0; font-size:7px; line-height:1.25; }
.server-gateway .compass-dot { width:6px; height:6px; margin-top:3px; }
.server-gateway .gateway-compass a { min-height:0; padding:0; }
.server-gateway .gateway-footer { width:min(1120px,calc(100% - 32px)); min-height:0; flex:none; margin:0 auto; padding:3px 0; font-size:7px; }
@media(max-width:780px) {
  body.gateway-page.server-gateway { min-height:0 !important; }
  .server-gateway .gateway-header { width:calc(100% - 24px); min-height:40px; }
  .server-gateway .gateway-brand-pair { height:38px; }
  .server-gateway .gateway-logo-unit { height:34px; }
  .server-gateway .gateway-logo-unit img { height:25px; }
  .server-gateway .gateway-logo-unit--city img { width:24px; height:24px; }
  .server-gateway .gateway-main { width:calc(100% - 24px); padding:3px 0 2px; }
  .server-gateway .gateway-intro { display:block; margin-bottom:5px; }
  .server-gateway .gateway-intro h1 { font-size:clamp(22px,6vw,29px); }
  .server-gateway .gateway-lead { display:none; }
  .server-gateway .destination-pair.server-pair { grid-template-columns:1fr; gap:5px; }
  .server-gateway .server-pair .destination-card { min-height:84px; grid-template-columns:50px minmax(0,1fr); gap:3px 8px; padding:7px 9px; border-radius:10px; }
  .server-gateway .destination-logo-frame,
  .server-gateway .destination-logo-frame--valleytown { width:45px; height:45px; }
  .server-gateway .server-pair .destination-copy strong { font-size:15px; }
  .server-gateway .server-pair .destination-action { min-height:18px; font-size:7px; }
  .server-gateway .gateway-status-card { grid-template-columns:23px minmax(0,1fr) auto; min-height:32px; gap:5px; margin:4px 0 1px; padding:3px 6px; }
  .server-gateway .gateway-status-card>img { width:20px; height:20px; }
  .server-gateway .gateway-status-copy strong { font-size:7px; }
  .server-gateway .gateway-status-copy small { font-size:5.5px; }
  .server-gateway .gateway-status-cta { padding:4px 5px; font-size:5.5px; }
  .server-gateway .gateway-compass { margin-top:2px; padding-top:2px; font-size:6px; }
  .server-gateway .gateway-footer { width:calc(100% - 24px); padding:2px 0; font-size:6px; }
}


/* The viewport is taller than this compact portal. Keep its backdrop seamless instead of leaving a clipped image band. */
body.gateway-page.server-gateway {
  background-color:#17243f;
  background-image:linear-gradient(125deg,rgba(22,37,64,.86),rgba(41,75,116,.64)),url('/assets/images/two-worlds-bg.webp');
  background-position:center top;
  background-size:cover;
  background-repeat:no-repeat;
  background-attachment:fixed;
}
body.gateway-page.server-gateway::before,
body.gateway-page.server-gateway::after { display:none; }


/* Readable compact pass: reduce wasted spacing without shrinking labels below a comfortable size. */
html {
  min-height:100%;
  background:linear-gradient(125deg,rgba(22,37,64,.84),rgba(41,75,116,.62)),url('/assets/images/two-worlds-bg.webp') center top/cover no-repeat fixed;
}
body.gateway-page.server-gateway { background:transparent; }
body.gateway-page.server-gateway::before,
body.gateway-page.server-gateway::after { display:none; }
.server-gateway .gateway-header { min-height:58px; }
.server-gateway .gateway-brand-pair { height:48px; min-width:250px; }
.server-gateway .gateway-logo-unit { height:45px; }
.server-gateway .gateway-logo-unit img { height:32px; }
.server-gateway .gateway-logo-unit--city img { width:32px; height:32px; }
.server-gateway .gateway-logo-unit>span { font-size:8px; }
.server-gateway .gateway-main { padding:9px 0 6px; }
.server-gateway .gateway-intro { display:block; margin:0 0 12px; }
.server-gateway .gateway-intro h1 { max-width:none; font-size:clamp(29px,3vw,38px); line-height:1.13; }
.server-gateway .gateway-intro h1 br { display:none; }
.server-gateway .gateway-lead { display:block; max-width:650px; margin:5px 0 0; font-size:10px; line-height:1.5; }
.server-gateway .destination-pair.server-pair { gap:10px; }
.server-gateway .server-pair .destination-card { min-height:136px; grid-template-columns:78px minmax(0,1fr); grid-template-rows:1fr auto; gap:6px 12px; padding:14px 18px; border-radius:14px; }
.server-gateway .destination-logo-frame,
.server-gateway .destination-logo-frame--valleytown { width:66px; height:66px; }
.server-gateway .server-pair .destination-copy { align-items:flex-start; }
.server-gateway .server-pair .destination-kicker { margin:0 0 4px; font-size:7px; }
.server-gateway .server-pair .destination-copy strong { font-size:23px; line-height:1.08; }
.server-gateway .server-pair .destination-copy small { display:block; margin:4px 0 5px; font-size:9px; line-height:1.35; }
.server-gateway .server-pair .destination-tags { display:flex; grid-column:2; gap:4px; margin:0; }
.server-gateway .server-pair .destination-tags i { padding:3px 7px; font-size:7px; }
.server-gateway .server-pair .destination-action { min-height:22px; margin-top:2px; font-size:9px; }
.server-gateway .server-pair .destination-action b { width:20px; height:20px; font-size:13px; }
.server-gateway .server-pair .destination-number { top:9px; right:11px; font-size:8px; }
.server-gateway .gateway-status-card { min-height:46px; grid-template-columns:36px minmax(0,1fr) auto; gap:9px; margin:9px 0 4px; padding:7px 11px; border-radius:12px; }
.server-gateway .gateway-status-card>img { width:32px; height:32px; }
.server-gateway .gateway-status-copy strong { font-size:10px; }
.server-gateway .gateway-status-copy small { font-size:8px; line-height:1.35; }
.server-gateway .gateway-status-cta { gap:7px; padding:6px 9px; font-size:8px; }
.server-gateway .gateway-compass { margin-top:5px; padding-top:7px; font-size:8px; line-height:1.5; }
.server-gateway .compass-dot { width:7px; height:7px; margin-top:4px; }
.server-gateway .gateway-footer { padding:6px 0; font-size:8px; }
@media(max-width:780px) {
  html { background-attachment:scroll; }
  .server-gateway .gateway-header { min-height:50px; }
  .server-gateway .gateway-brand-pair { height:44px; min-width:205px; gap:8px; }
  .server-gateway .gateway-logo-unit { height:41px; }
  .server-gateway .gateway-logo-unit img { height:28px; }
  .server-gateway .gateway-logo-unit--city img { width:29px; height:29px; }
  .server-gateway .gateway-logo-unit>span { font-size:7px; }
  .server-gateway .gateway-main { padding:8px 0 5px; }
  .server-gateway .gateway-intro { margin-bottom:9px; }
  .server-gateway .gateway-intro h1 { font-size:clamp(25px,6vw,32px); }
  .server-gateway .gateway-intro h1 br { display:block; }
  .server-gateway .gateway-lead { display:block; margin-top:4px; font-size:9px; }
  .server-gateway .destination-pair.server-pair { gap:7px; }
  .server-gateway .server-pair .destination-card { min-height:116px; grid-template-columns:60px minmax(0,1fr); grid-template-rows:1fr; gap:5px 9px; padding:10px 12px; border-radius:12px; }
  .server-gateway .destination-logo-frame,
  .server-gateway .destination-logo-frame--valleytown { width:51px; height:51px; }
  .server-gateway .server-pair .destination-copy strong { font-size:19px; }
  .server-gateway .server-pair .destination-copy small { font-size:8px; }
  .server-gateway .server-pair .destination-tags { display:none; }
  .server-gateway .server-pair .destination-action { min-height:20px; font-size:8px; }
  .server-gateway .gateway-status-card { min-height:42px; grid-template-columns:30px minmax(0,1fr) auto; gap:7px; margin:7px 0 3px; padding:6px 8px; }
  .server-gateway .gateway-status-card>img { width:27px; height:27px; }
  .server-gateway .gateway-status-copy strong { font-size:9px; }
  .server-gateway .gateway-status-copy small { font-size:7px; }
  .server-gateway .gateway-status-cta { padding:5px 7px; font-size:7px; }
  .server-gateway .gateway-compass { margin-top:4px; padding-top:5px; font-size:7px; }
  .server-gateway .gateway-footer { padding:5px 0; font-size:7px; }
}
@media(max-width:420px) {
  .server-gateway .gateway-login-link { padding-inline:8px; font-size:9px; }
  .server-gateway .gateway-intro h1 { max-width:330px; font-size:25px; }
  .server-gateway .gateway-status-card { grid-template-columns:27px minmax(0,1fr); }
  .server-gateway .gateway-status-card>img { width:24px; height:24px; }
  .server-gateway .gateway-status-cta { grid-column:2; justify-self:start; margin-top:2px; }
  .server-gateway .gateway-compass { gap:6px; }
}


/* Keep the header login action intact on narrow screens. */
.server-gateway .gateway-quick-actions { flex:0 0 auto; margin-left:auto; }
.server-gateway .gateway-login-link { display:inline-flex; align-items:center; justify-content:center; gap:5px; min-width:70px; white-space:nowrap; }
@media(max-width:420px) {
  .server-gateway .gateway-login-link { min-width:64px; padding-inline:8px; white-space:nowrap; }
  .server-gateway .gateway-quick-actions { flex:0 0 auto; }
}


/* Wider desktop composition to use the available horizontal space. */
@media(min-width:781px) {
  .server-gateway .gateway-header,
  .server-gateway .gateway-main,
  .server-gateway .gateway-footer {
    width:min(1680px,calc(100% - 64px));
  }
  .server-gateway .destination-pair.server-pair {
    width:100%;
    max-width:none;
  }
}


/* Add vertical presence after the user requested more height, without forcing a blank 100vh flex area. */
@media(min-width:781px) {
  .server-gateway .gateway-main { padding:20px 0 11px; }
  .server-gateway .gateway-intro { margin-bottom:16px; }
  .server-gateway .gateway-intro h1 { font-size:clamp(34px,3.3vw,43px); }
  .server-gateway .gateway-lead { max-width:760px; font-size:11px; }
  .server-gateway .server-pair .destination-card { min-height:320px; grid-template-columns:104px minmax(0,1fr); gap:12px 18px; padding:26px 28px; }
  .server-gateway .destination-logo-frame,
  .server-gateway .destination-logo-frame--valleytown { width:86px; height:86px; }
  .server-gateway .server-pair .destination-copy strong { font-size:27px; }
  .server-gateway .server-pair .destination-copy small { font-size:10px; line-height:1.5; }
  .server-gateway .server-pair .destination-tags i { padding:4px 9px; font-size:8px; }
  .server-gateway .server-pair .destination-action { min-height:28px; font-size:10px; }
  .server-gateway .server-pair .destination-action b { width:24px; height:24px; font-size:15px; }
  .server-gateway .gateway-status-card { min-height:58px; grid-template-columns:44px minmax(0,1fr) auto; gap:13px; margin:14px 0 7px; padding:9px 14px; }
  .server-gateway .gateway-status-card>img { width:40px; height:40px; }
  .server-gateway .gateway-status-copy strong { font-size:11px; }
  .server-gateway .gateway-status-copy small { font-size:9px; }
  .server-gateway .gateway-status-cta { padding:8px 12px; font-size:9px; }
  .server-gateway .gateway-compass { margin-top:7px; padding-top:9px; font-size:9px; }
  .server-gateway .gateway-footer { padding:9px 0; font-size:9px; }
}
@media(max-width:780px) {
  .server-gateway .gateway-main { padding:11px 0 7px; }
  .server-gateway .gateway-intro { margin-bottom:11px; }
  .server-gateway .server-pair .destination-card { min-height:152px; padding:13px 14px; }
  .server-gateway .destination-logo-frame,
  .server-gateway .destination-logo-frame--valleytown { width:57px; height:57px; }
  .server-gateway .server-pair .destination-copy strong { font-size:20px; }
  .server-gateway .gateway-status-card { min-height:48px; margin-top:9px; padding-block:7px; }
  .server-gateway .gateway-status-card>img { width:29px; height:29px; }
  .server-gateway .gateway-compass { margin-top:6px; padding-top:7px; }
}


/* Desktop shortcut buttons sized to match the enlarged server cards. */
@media(min-width:781px) {
  .server-gateway .server-pair .destination-action {
    min-height:40px;
    gap:9px;
    padding:0 13px 0 16px;
    font-size:14px;
    font-weight:850;
  }
  .server-gateway .server-pair .destination-action b { width:30px; height:30px; font-size:18px; }
  .server-gateway .gateway-status-cta { padding:10px 16px; font-size:12px; }
}


/* Center desktop server marks and homepage actions inside each card. */
@media(min-width:781px) {
  .server-gateway .server-pair .destination-card {
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    text-align:center !important;
  }
  .server-gateway .server-pair .destination-logo-frame { margin:0 auto; }
  .server-gateway .server-pair .destination-copy {
    width:100%;
    align-items:center !important;
    margin:0 auto;
    text-align:center !important;
  }
  .server-gateway .server-pair .destination-tags { justify-content:center !important; margin:0 auto; }
  .server-gateway .server-pair .destination-action {
    align-self:center !important;
    justify-content:center;
    margin:4px auto 0;
    text-align:center;
  }
}


/* Keep the live-status strip distinct from the larger homepage cards. */
.server-gateway .gateway-status-card { margin-top:26px !important; }
@media (max-width:780px) {
  .server-gateway .gateway-status-card { margin-top:20px !important; }
}


/* Keep the full gateway heading and explanatory copy below the header, without clipping. */
.server-gateway .gateway-main { padding-top:36px !important; padding-bottom:12px !important; }
.server-gateway .gateway-intro {
  width:min(920px,100%);
  max-width:920px;
  margin:0 auto 22px !important;
  text-align:center;
  overflow:visible !important;
}
.server-gateway .gateway-intro h1 {
  max-width:none !important;
  width:100%;
  line-height:1.28 !important;
  white-space:normal !important;
  overflow:visible !important;
}
.server-gateway .gateway-lead {
  display:block !important;
  max-width:900px !important;
  max-height:none !important;
  margin:12px auto 0 !important;
  font-size:13px !important;
  line-height:1.72 !important;
  white-space:normal !important;
  overflow:visible !important;
  text-align:center;
  -webkit-line-clamp:unset !important;
}
@media (max-width:780px) {
  .server-gateway .gateway-main { padding-top:22px !important; padding-bottom:10px !important; }
  .server-gateway .gateway-intro { width:100%; margin-bottom:18px !important; }
  .server-gateway .gateway-intro h1 { line-height:1.3 !important; }
  .server-gateway .gateway-lead { max-width:42ch !important; margin-top:10px !important; font-size:12px !important; line-height:1.65 !important; }
}


/* Group identity footer for the gateway. */
.gateway-footer--group {
  display:flex !important;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px 24px;
  padding:14px 0 16px !important;
  border-top:1px solid rgba(235,232,210,.22);
  text-transform:none !important;
}
.gateway-footer--group .gateway-footer-brand {
  display:flex;
  flex-direction:column;
  gap:5px;
  text-align:left;
}
.gateway-footer--group .gateway-footer-brand strong {
  color:#f4efdc;
  font-size:12px;
  font-weight:700;
  letter-spacing:.15em;
}
.gateway-footer--group .gateway-footer-brand span {
  color:rgba(244,239,220,.78);
  font-size:10px;
  letter-spacing:.04em;
}
.gateway-footer--group>small {
  color:rgba(244,239,220,.72);
  font-size:9px;
  letter-spacing:.04em;
  text-align:right;
}
@media(max-width:780px) {
  .gateway-footer--group { align-items:flex-start; flex-direction:column; gap:7px; }
  .gateway-footer--group .gateway-footer-brand strong { font-size:11px; }
  .gateway-footer--group .gateway-footer-brand span { font-size:9px; }
  .gateway-footer--group>small { font-size:8px; text-align:left; }
}


/* The admin mockup uses the same single-piece Create City logo lockup. */
.admin-brand--city { width:200px; max-width:100%; gap:0; }
.admin-brand--city img { width:190px; height:auto; max-height:78px; object-fit:contain; }
.admin-brand--city span { display:none !important; }
@media(max-width:760px) {
  .admin-brand--city { width:155px; }
  .admin-brand--city img { width:150px; max-height:64px; }
}
