#cityMenu {
  --ink: #fff3dd;
  --muted: #b4c1cc;
  --coral: #ff9076;
  --aqua: #7de0d0;
  --rule: #526579;
  --display: "City Display", Impact, sans-serif;
  --body: "City Body", "Arial Narrow", "Helvetica Neue", sans-serif;
  position: fixed;
  inset: 0;
  z-index: 120;
  isolation: isolate;
  overflow: hidden;
  color: var(--ink);
  background-color: #0d1729;
  background-image: linear-gradient(132deg, #18253feb 0%, #111a2cf4 38%, #11232fee 71%, #352438ef 100%), url("og.jpg");
  background-size: cover;
  background-position: center;
  font: 500 16px/1.35 var(--body);
  text-align: left;
  text-shadow: none;
  cursor: default;
  color-scheme: dark;
  touch-action: auto;
}
@font-face {
  font-family: "City Display";
  src: url("BowlbyOne.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "City Body";
  src: url("CityBody-Regular.ttf") format("truetype");
  font-weight: 400 550;
  font-display: swap;
}
@font-face {
  font-family: "City Body";
  src: url("CityBody-SemiBold.ttf") format("truetype");
  font-weight: 600 900;
  font-display: swap;
}
#cityMenu, #cityMenu * { box-sizing: border-box; }
#cityMenu[hidden], #cityMenu [hidden] { display: none !important; }
#cityMenu::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: repeating-linear-gradient(to bottom, transparent 0 3px, #03071530 3px 4px);
}
#cityMenu button, #cityMenu input, #cityMenu select { font: inherit; color: inherit; }
#cityMenu button { border: 0; background: transparent; cursor: pointer; }
#cityMenu button:disabled { cursor: default; opacity: .52; }
#cityMenu :is(button, select, a):focus-visible { outline: 2px solid var(--aqua); outline-offset: -2px; }
#cityMenu input, #cityMenu input:focus, #cityMenu input:focus-visible {
  border: 0;
  outline: none;
  box-shadow: none;
  background: #152030;
  color: #fff6e5;
  border-radius: 0;
  user-select: text;
}
#cityMenu input::placeholder { color: #b1bbc5; opacity: 1; }
#cityMenu h1, #cityMenu h2, #cityMenu h3, #cityMenu p { margin: 0; }
#cityMenu h1, #cityMenu h2 { font-family: var(--display); font-weight: 400; }
.cm-shell {
  width: 100%;
  max-width: 2040px;
  height: 100%;
  margin: 0 auto;
  padding: max(20px, env(safe-area-inset-top)) max(2.7vw, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(2.7vw, env(safe-area-inset-left));
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: clamp(12px, 2.4vh, 28px);
}
.cm-head { display: flex; align-items: center; gap: clamp(12px, 2vw, 32px); min-width: 0; }
.cm-mark { display: flex; align-items: center; gap: clamp(7px,1vw,18px); }
.cm-mark img { display: block; width: clamp(38px, 4.3vw, 76px); height: auto; border-radius: 17%; }
#cityMenu .cm-logo {
  font-size: clamp(34px, 4.9vw, 96px);
  line-height: 1.14;
  letter-spacing: -.025em;
  color: #fff4da;
  text-shadow: 0 .055em 0 #b85751, 0 .095em 0 #71393f;
}
.cm-identity { min-width: 0; max-width: 32%; padding-left: clamp(12px, 2vw, 28px); border-left: 1px solid #53647a; }
.cm-identity strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: clamp(17px, 1.5vw, 27px); }
.cm-network { display: flex; align-items: center; gap: 8px; color: #d0d9dd; font-size: clamp(12px, 1vw, 18px); }
.cm-network::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #90a1aa; }
.cm-network[data-up="true"]::before { background: #7de8bd; }
.cm-head-tools { margin-left: auto; display: flex; align-items: center; gap: 8px; min-width: 0; }
.cm-account { position: relative; }
#cityMenu .cm-wallet, #cityMenu .cm-mobile-tool {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; min-height: 38px; border: 1px solid #758da0;
  background: #18293a; color: #f9efd8; font-weight: 750;
}
#cityMenu .cm-wallet:hover, #cityMenu .cm-mobile-tool:hover { background: #273b4a; }
.cm-wallet .cm-icon { color: var(--coral); }
.cm-wallet small { font-size: .77em; color: var(--muted); font-weight: 550; }
.cm-account-pop { position: absolute; top: calc(100% + 7px); right: 0; z-index: 4; width: max-content; max-width: min(80vw, 330px); padding: 14px; background: #18283b; border: 1px solid var(--rule); }
.cm-account-pop span { display: block; overflow-wrap: anywhere; font-size: 13px; margin-bottom: 10px; }
#cityMenu .cm-mobile-tool { display: none; }
.cm-layout { display: grid; grid-template-columns: minmax(145px, .84fr) minmax(0, 2.8fr) minmax(202px, 1.05fr); gap: clamp(14px, 1.5vw, 28px); min-height: 0; }
.cm-nav, .cm-main, .cm-chat, .cm-pane { min-width: 0; min-height: 0; }
.cm-nav, .cm-main, .cm-chat-log { scrollbar-width: thin; scrollbar-color: #546276 transparent; overscroll-behavior: contain; }
.cm-nav { overflow-y: auto; padding: 0 4px 4px 0; }
.cm-nav-group + .cm-nav-group { margin-top: clamp(10px, 1.6vh, 22px); }
.cm-nav-group h2 { font-family: var(--body) !important; font-size: clamp(11px, .86vw, 16px); font-weight: 760 !important; color: #ffce8b; letter-spacing: .055em; padding: 0 0 4px 10px; }
#cityMenu .cm-nav-button { display: flex; align-items: center; width: 100%; gap: 9px; padding: 4px 9px 4px 10px; position: relative; text-align: left; min-height: clamp(26px, 3.2vh, 46px); }
.cm-nav-button .cm-icon { color: var(--coral); }
.cm-nav-label { overflow-wrap: anywhere; font-weight: 740; font-size: clamp(14px, 1.3vw, 23px); line-height: 1.15; }
.cm-nav-tail { margin-left: auto; padding-left: 5px; color: var(--aqua); font-size: .78em; }
#cityMenu kbd { display: inline-block; font: 700 .77em/1.2 var(--body); color: #d6dce3; padding: .1em .35em; border: 1px solid #63768b; border-radius: 3px; }
.cm-nav-button:hover { background: #f4b29b14 !important; }
#cityMenu .cm-nav-button[aria-current="page"] { background: linear-gradient(90deg, #a14d49dc, #783e425c); }
.cm-nav-button[aria-current="page"]::before { position: absolute; content: ""; inset: 0 auto 0 0; width: 3px; background: var(--aqua); }
.cm-icon { display: inline-block; width: 1.22em; height: 1.22em; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.cm-main { position: relative; background: linear-gradient(140deg, #182538ea, #111b2de8); border: 1px solid #677b8a; padding: clamp(14px, 1.65vw, 32px); overflow-y: auto; }
.cm-main:focus, .cm-main:focus-visible { outline: none; }
.cm-main-head { margin-bottom: clamp(12px, 1.5vw, 24px); }
#cityMenu .cm-title { font-size: clamp(25px, 2.2vw, 48px); color: #fff2dc; letter-spacing: -.025em; line-height: 1.28; }
.cm-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 14px; }
#cityMenu .cm-search, #cityMenu .cm-name-input { border: 1px solid #596a7c; padding: 9px 11px; min-width: 0; }
.cm-search { flex: 1 1 140px; }
#cityMenu .cm-filter { max-width: 100%; padding: 7px 9px; background: #202e40; border: 1px solid #596a7c; }
.cm-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(146px, 100%), 1fr)); gap: clamp(8px, .9vw, 17px); }
#cityMenu .cm-card {
  min-width: 0; display: flex; flex-direction: column; text-align: left;
  padding: clamp(7px, .57vw, 11px); border: 1px solid #43576d;
  background: #203044; color: #fff3dd;
}
#cityMenu .cm-card:hover:not(:disabled), #cityMenu .cm-card[aria-pressed="true"] { border-color: #e79b83; background: #39404d; }
.cm-card-media { display: grid; place-items: center; position: relative; overflow: hidden; aspect-ratio: 16/9; width: 100%; background: #172437; color: #e0aa93; }
.cm-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.cm-card-media .cm-icon { width: 30%; height: 55%; stroke-width: 1; opacity: .75; }
.cm-cards[data-type="teleport"] .cm-card-media { background-color: #233641; background-image: linear-gradient(#9ac8c21a 1px, transparent 1px),linear-gradient(90deg,#9ac8c21a 1px,transparent 1px); background-size: 13px 13px; }
.cm-cards[data-type="weapons"] .cm-card-media img { object-fit: contain; padding: 7px; }
.cm-card strong { display: block; padding: 8px 2px 1px; font-size: clamp(15px, 1.22vw, 23px); font-weight: 760; line-height: 1.15; overflow-wrap: break-word; }
.cm-card small { padding: 3px 2px 1px; font-size: clamp(12px, .9vw, 16px); color: #c4cdd1; }
#cityMenu .cm-cards:is([data-type="skins"],[data-type="emotes"]) .cm-card:not(:has(img)) { flex-direction: row; align-items: center; gap: 8px; min-height: 52px; }
.cm-cards:is([data-type="skins"],[data-type="emotes"]) .cm-card:not(:has(img)) .cm-card-media { flex: 0 0 32px; width: 32px; aspect-ratio: 1; }
.cm-cards:is([data-type="skins"],[data-type="emotes"]) .cm-card:not(:has(img)) .cm-card-media .cm-icon { width: 66%; height: 66%; }
.cm-cards:is([data-type="skins"],[data-type="emotes"]) .cm-card:not(:has(img)) strong { padding: 0; }
.cm-empty, .cm-detail { color: var(--muted); }
.cm-chat { display: flex; flex-direction: column; border: 1px solid #526d7c; background: #141f30ed; padding: clamp(12px, 1.05vw, 22px); gap: 10px; }
#cityMenu .cm-chat h2 { font: 750 clamp(15px,1.3vw,24px)/1.2 var(--body); color: #f9ce9a; }
.cm-chat-log { display: flex; flex-direction: column; flex: 1; gap: 6px; overflow: auto; }
.cm-chat-log::before { content: ""; flex: 1 0 auto; }
.cm-chat-message { border-left: 2px solid #c07869; background: #2d3040; padding: 6px 8px; font-size: clamp(13px, .98vw, 18px); line-height: 1.33; overflow-wrap: anywhere; }
.cm-chat-message strong { color: #ffb194; }
.cm-chat-message[data-kind="sys"] { border-color: #74bfc4; color: #d3e8eb; background: #202b32; }
.cm-chat-message[data-kind="story"], .cm-chat-message[data-kind="police"] { border-color: #dec489; color: #ffdf9f; background: #332c27; }
.cm-chat-empty { margin: auto 0 6px !important; color: var(--muted); font-size: .9em; }
.cm-composer { margin: 0; display: flex; min-width: 0; border: 1px solid #67707b; background: #152030; }
#cityMenu .cm-chat-input { flex: 1; width: 0; min-width: 0; padding: 9px 7px; font-size: max(14px,.97em); }
#cityMenu .cm-send { align-self: stretch; padding: 6px 9px; color: #ffd8c5; font-weight: 700; }
#cityMenu .cm-send:hover { background: #304052; }
.cm-list { list-style: none; padding: 0; margin: 0; }
.cm-list li, .cm-control-row { min-height: 39px; padding: 8px 2px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid #3c5064; }
.cm-list small { color: var(--muted); }
.cm-list li[data-self="true"] { color: #96e9c3; }
.cm-control-row dt { font-weight: 600; }
.cm-control-row dd { margin: 0; text-align: right; }
.cm-key-list { margin: 0; }
.cm-objective { border-left: 3px solid #c57765; padding: 4px 0 4px 15px; display: grid; gap: 10px; }
.cm-objective h3 { font-size: 1.35em; }
.cm-actions, .cm-name-form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cm-name-form label { flex-basis: 100%; color: var(--muted); }
#cityMenu .cm-action { display: inline-flex; align-items: center; justify-content: center; min-height: 37px; padding: 7px 13px; border: 1px solid #9d756f; background: #583b40; color: #fff0dc; font-weight: 700; }
#cityMenu .cm-action:hover:not(:disabled) { background: #775048; }
.cm-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; font-size: clamp(12px,.92vw,17px); color: var(--muted); }
.cm-foot span { white-space: nowrap; }
.cm-foot kbd { margin-right: 4px; }
.cm-notice { margin-left: auto; color: #ffdea3; overflow-wrap: anywhere; }
@media (min-width: 1550px) {
  .cm-cards { grid-template-columns: repeat(auto-fill,minmax(190px,1fr)); }
}
@media (max-width: 1040px) {
  .cm-layout { grid-template-columns: minmax(144px,.75fr) minmax(0,2.2fr) minmax(185px,.9fr); gap: 10px; }
  .cm-shell { padding-left: max(15px, env(safe-area-inset-left)); padding-right: max(15px, env(safe-area-inset-right)); }
  .cm-cards { grid-template-columns: repeat(auto-fill,minmax(min(132px,100%),1fr)); }
  .cm-wallet small { display: none; }
}
@media (max-width: 820px), (max-height: 540px) {
  .cm-shell { gap: 10px; grid-template-rows: auto minmax(0,1fr) auto; padding-top: max(9px,env(safe-area-inset-top)); padding-bottom: max(8px,env(safe-area-inset-bottom)); }
  .cm-layout { position: relative; grid-template-columns: minmax(134px, 25%) minmax(0,1fr); gap: 10px; }
  .cm-chat { display: none; grid-column: 2; grid-row: 1; }
  .cm-main { grid-column: 2; grid-row: 1; }
  .cm-layout[data-chat="true"] .cm-chat { display: flex; }
  .cm-layout[data-chat="true"] .cm-main { display: none; }
  #cityMenu .cm-chat-toggle, #cityMenu .cm-exit { display: inline-flex; }
  #cityMenu .cm-mobile-tool { min-height: 34px; padding: 5px 8px; }
  #cityMenu .cm-wallet { min-height: 34px; padding: 5px 8px; }
  .cm-nav-group + .cm-nav-group { margin-top: 11px; }
  .cm-foot { gap: 5px 10px; }
}
@media (max-width: 600px) {
  .cm-shell { padding: max(9px,env(safe-area-inset-top)) max(9px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(9px,env(safe-area-inset-left)); }
  .cm-mark img { width: 31px; }
  .cm-head { flex-wrap: wrap; gap: 6px 10px; }
  #cityMenu .cm-logo { font-size: 32px; }
  .cm-identity { max-width: 48%; }
  .cm-identity strong { font-size: 15px; }
  .cm-head-tools { width: 100%; margin: 0; gap: 6px; }
  .cm-account { margin-left: auto; order: 2; }
  .cm-account-pop { right: 0; }
  #cityMenu .cm-nav-toggle { display: inline-flex; }
  .cm-layout { grid-template-columns: minmax(0,1fr); }
  .cm-main, .cm-chat { grid-column: 1; }
  .cm-nav { display: none; position: absolute; inset: 0 auto 0 0; width: min(85%,260px); z-index: 3; padding: 10px; border: 1px solid var(--rule); background: #19283a; }
  .cm-layout[data-nav="true"] .cm-nav { display: block; }
  .cm-cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .cm-foot > span:not(.cm-notice) { display: none; }
  .cm-foot:has(.cm-notice:empty) { display: none; }
  .cm-shell:has(.cm-notice:empty) { grid-template-rows: auto minmax(0,1fr); }
}
@media (max-height: 460px) and (min-width: 601px) {
  .cm-mark img { width: 30px; }
  #cityMenu .cm-logo { font-size: 30px; }
  .cm-head-tools { font-size: 13px; }
  .cm-nav-group h2 { font-size: 11px; }
  #cityMenu .cm-nav-button { min-height: 26px; }
  .cm-main { padding: 10px; }
  .cm-main-head { margin-bottom: 8px; }
  #cityMenu .cm-title { font-size: 23px; }
}
@media (pointer: coarse) {
  .cm-foot > span:not(.cm-notice) { display: none; }
  .cm-foot:has(.cm-notice:empty) { display: none; }
  .cm-shell:has(.cm-notice:empty) { grid-template-rows: auto minmax(0,1fr); }
}
