.city-theme {
  --accent:#ffc790;
  --accent-hover:#ffdab6;
  --muted:#c3c8e2;
  --line:#b0beff35;
  --surface:#191e38;
  --ink:#f4f5ff;
  --rim:#c8d5ff85;
  --glass-fill:#151e3d73;
  min-height:100vh;
  position:relative;
  isolation:isolate;
  background:#101428;
  color:var(--ink);
  color-scheme:dark;
}
.city-backdrop {
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:#101428 url('/city-wallpaper.webp') 55% center/cover no-repeat;
}
.city-backdrop::before,.city-backdrop::after {
  content:"";
  position:absolute;
  inset:0;
}
.city-backdrop::before {
  background:linear-gradient(90deg,#090e24af,#0d153838 58%,#0c112a1a),
    linear-gradient(180deg,#0b0e285c,transparent 28%,#0b0e2852 75%,#090d23bd);
}
.city-backdrop::after {
  background:linear-gradient(145deg,#775c8a72,transparent 59%,#14264648);
  opacity:.32;
  transition:opacity 650ms ease;
}
.city-theme[data-city-phase=dawn] .city-backdrop::after {opacity:.76}
.city-theme[data-city-phase=day] .city-backdrop::after {
  background:linear-gradient(125deg,#6078a27b,transparent 66%,#d2a5844d);
  opacity:.79;
}
.city-theme[data-city-phase=dusk] .city-backdrop::after {
  background:linear-gradient(140deg,#5e355c7a,transparent 61%,#b35c3e4a);
  opacity:.72;
}
.city-optics {position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}
.city-theme .city-glass {
  position:relative;
  background:var(--surface);
  border:1px solid var(--rim);
  color:var(--ink);
  box-shadow:inset 0 1px 1px #f0f4ff40,inset 0 -2px 3px #0408187a,
    0 18px 48px -26px #020511b8;
}
.city-theme .city-glass::after {
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  padding:1px;
  background:linear-gradient(146deg,#e9edffab 0%,#b7caff64 19%,#bcc9ff12 45%,transparent 60%,#ffbd873f 98%);
  pointer-events:none;
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
}
@supports not ((mask-composite:exclude) or (-webkit-mask-composite:xor)) {
  .city-theme .city-glass::after {display:none}
}
@supports (backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px)) {
  .city-theme .city-glass {
    background:linear-gradient(154deg,#a7bbfd20,transparent 52%,#6b72c013),var(--glass-fill);
    -webkit-backdrop-filter:blur(9px) saturate(1.12);
    backdrop-filter:blur(9px) saturate(1.12);
  }
  .city-theme [data-city-lens] {
    -webkit-backdrop-filter:blur(5px) saturate(1.12);
    backdrop-filter:blur(5px) saturate(1.12);
  }
  .city-theme[data-city-optics=on] [data-city-lens] {
    backdrop-filter:blur(.65px) saturate(1.12) var(--city-lens,);
  }
}
.city-theme .city-head {background:none;border:0}
.city-head>div {min-height:84px;border-bottom:1px solid #b9c7fa40}
.city-brand {
  display:inline-flex;
  align-items:center;
  gap:.7rem;
  min-height:46px;
  font-weight:730;
  letter-spacing:.075em;
  text-shadow:0 2px 12px #02040ac9;
}
.city-brand-mark {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:3px;
  width:2.1rem;
  height:2.1rem;
  border:1px solid #f4c1a16b;
  border-radius:.75rem;
  color:var(--accent);
  background:#201b373b;
}
.city-brand-mark i,.city-status-signal i {width:2px;height:8px;border-radius:2px;background:currentColor}
.city-brand-mark i:nth-child(2) {height:15px}
.city-brand-mark i:nth-child(3) {height:11px}
.city-theme .city-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.65rem;
  min-height:44px;
  padding:.55rem .9rem;
  border-radius:1rem;
  border:1px solid #bccbff59;
  color:var(--ink);
  background-color:#38477062;
  font-size:.875rem;
  font-weight:680;
  line-height:1.25;
  transition:transform 125ms ease,background-color 140ms ease,border-color 140ms ease;
}
.city-theme .city-button:hover {background-color:#54658b91;border-color:#d7dfff99}
.city-theme .city-button:active {transform:scale(.96);box-shadow:inset 0 2px 7px #090c2960}
.city-theme .city-primary,.city-theme .pill {
  background:#ffca98;
  border:1px solid #ffdbb2;
  color:#231523;
  box-shadow:inset 0 1px 0 #fff3e1ad,0 6px 20px -12px #ffc07e;
}
.city-theme .city-primary:hover,.city-theme .pill:hover {background:#ffe0bd}
.city-theme .plain,.city-theme .meta {color:var(--muted)}
.city-theme .plain:hover {color:var(--accent)}
.city-theme .soft,.city-theme .icon-control,.city-theme .post-actions .soft,.city-theme .privacy-notice .soft {
  min-height:44px;
  border:1px solid #b2c2ff48;
  border-radius:.9rem;
  background:#859be427;
  box-shadow:inset 0 1px 0 #e1e8ff26;
  color:var(--ink);
}
.city-theme .soft:hover,.city-theme .icon-control:hover,.city-theme .post-actions .soft:hover {background:#9aaaf94a}
.city-theme .post-actions [aria-pressed=true] {background:#ac617b4d;border-color:#ffb5ce6e;color:#ffdae6}
.city-theme input:not([type=checkbox]),.city-theme textarea {
  border-color:#aab9fc4d;
  border-radius:.75rem;
  background:#0c1227a3;
  color:var(--ink);
}
.city-theme input::placeholder,.city-theme textarea::placeholder {color:#a9b1d0}
.city-theme input[type=checkbox] {accent-color:var(--accent)}
.city-theme .section-heading {gap:.6rem}
.city-theme .city-clock {
  display:flex;
  align-items:center;
  gap:.55rem;
  color:#ffe0bd;
  font-size:.79rem;
  font-weight:690;
  font-variant-numeric:tabular-nums;
  letter-spacing:.10em;
}
.city-clock span {width:7px;height:7px;border-radius:50%;background:#ffbc81;box-shadow:0 0 .8rem #ffa251b5}
.city-clock:has(time:empty) {display:none}
/* The public journal uses one alignment gutter for the page, status and stream. */
.moments.city-theme .moments-shell {width:min(980px,calc(100% - 72px))}
.moments.city-theme .city-backdrop::before {
  background:linear-gradient(96deg,#080e25a3,#0e173f30 64%,#0c112a13),
    linear-gradient(180deg,#090d2354,transparent 39%,#090d2340 80%,#090d23a2);
}
.moments-journal {padding-block:clamp(3.65rem,8.9vw,8.1rem) 1.35rem}
.moments.city-theme .moment-intro {display:block;padding:0;margin:0 0 clamp(1.75rem,3.4vw,2.75rem)}
.moments.city-theme .moment-intro .city-clock {margin:0 0 .8rem;color:#ffe0bd}
.moments.city-theme .moment-intro h1 {
  margin:0;
  line-height:1.14;
  font-size:clamp(2.5rem,6.4vw,5.55rem);
  font-weight:790;
  letter-spacing:-.048em;
  text-shadow:0 3px 36px #050c22e5;
}
.moments.city-theme .current-status {
  --glass-fill:#14224170;
  --rim:#bdcbf658;
  display:flex;
  align-items:baseline;
  gap:clamp(.8rem,2.4vw,1.45rem);
  max-width:none;
  width:100%;
  min-height:65px;
  margin:0;
  padding:1.03rem clamp(1.05rem,3.1vw,2rem);
  border-radius:1.2rem;
}
.moments.city-theme .current-status h2 {flex:none;font-size:.82rem;color:#ffdbb3;font-weight:700}
.moments.city-theme .current-status p {
  margin:0;
  padding-left:clamp(.8rem,2.4vw,1.45rem);
  border-left:1px solid #d7e1ff46;
  color:#f7f8ff;
  font-weight:570;
  text-shadow:0 1px 5px #080d25d9;
}
.moments.city-theme .journal-stream {
  --rim:#bdcbf651;
  position:relative;
  scroll-margin-top:1.25rem;
  margin-top:clamp(1.2rem,3.1vw,2rem);
  padding:clamp(1.08rem,3.1vw,2rem);
  border-radius:1.6rem;
  background:linear-gradient(112deg,#0c172ebf 0%,#14213d75 56%,#192a4c4d 100%);
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
}
.moments.city-theme .journal-stream .section-heading {margin:0;min-height:48px}
.moments.city-theme .journal-stream h2 {
  font-size:clamp(1.55rem,3.2vw,2.25rem);
  letter-spacing:-.015em;
  text-shadow:0 1px 12px #070e24eb;
}
.moments.city-theme .journal-controls {
  --glass-fill:#1e2d5178;
  --rim:#c9d8ff59;
  display:flex;
  flex:none;
  align-self:start;
  gap:.15rem;
  border-radius:2rem;
  padding:.16rem;
}
.journal-controls button {
  position:relative;
  min-height:44px;
  border:1px solid transparent;
  border-radius:1.8rem;
  padding:.42rem .85rem;
  color:#f0f3ff;
  background:none;
  font-size:.88rem;
  line-height:1.2;
  white-space:nowrap;
  transition:background-color 130ms ease,transform 125ms ease;
}
.journal-controls button:hover {background:#b8ccff25}
.journal-controls button:active {transform:scale(.95)}
.journal-controls button[aria-pressed=true] {
  background:#e6d1bf45;
  border-color:#ffe1b682;
  color:#fff6e8;
  box-shadow:inset 0 1px 1px #fff4e747;
  font-weight:700;
}
.journal-controls button:focus-visible {outline-offset:-3px}
.moments.city-theme #feed,.moments.city-theme #journal-photos {margin-top:1.02rem;border-top:1px solid #ccd8fc4d}
.moments.city-theme .journal-stream .empty {color:#e9efff;text-shadow:0 1px 6px #060e22}
.moments.city-theme .journal-stream #feed>.empty,.moments.city-theme #journal-photos>.empty {padding:.9rem 0 .25rem}
.moments.city-theme .post-card {
  border-color:var(--line);
  text-shadow:0 1px 6px #090e21df;
}
.moments.city-theme .post-card:first-child {border-top:none}
.moments.city-theme .post-card:last-child {padding-bottom:0}
.moments.city-theme .post-card time {color:#e0e6ff}
.moments.city-theme .post-photos .photo-button,.journal-photo-grid .photo-button {background:#242b49}
.journal-photo-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:clamp(.45rem,1.25vw,.85rem);
  padding-top:1.2rem;
}
.journal-photo-grid .photo-button {aspect-ratio:1;overflow:hidden;border-radius:.6rem}
.moments.city-theme .comment-area {border-color:#b6c7fe56}
.moments.city-theme .comment {background:#111a35c2}
.moments.city-theme .privacy-notice {
  margin:1.05rem 0 0;
  padding:.2rem .05rem;
  border:none;
  color:#e6ebfb;
  text-shadow:0 1px 7px #081326;
}
.moments.city-theme .site-foot {margin-top:1rem}

.city-theme .privacy-dialog,.city-theme .lightbox {
  --glass-fill:#141b36ef;
  border:1px solid #c7d3ff63;
  border-radius:1.6rem;
}
.city-theme .lightbox {background:#151d39f5}
.city-theme .privacy-dialog::backdrop,.city-theme .lightbox::backdrop {background:#070a17a8}
.city-theme .site-foot {min-height:80px;margin-top:2.7rem}
.city-theme .studio-wrap {width:min(1050px,calc(100% - 76px))}
.city-theme .studio-main {padding:clamp(2.25rem,6vw,5.3rem) 0 4rem}
.city-theme .login-card {
  --glass-fill:#152048b5;
  max-width:450px;
  margin:clamp(1.05rem,5dvh,4rem) auto;
  padding:clamp(1.45rem,4.9vw,2.6rem);
  border-radius:2.15rem;
}
.city-theme .login-card h1 {font-size:clamp(2rem,6vw,3rem);margin-bottom:.3rem}
.city-theme .login-card .city-clock {margin:0 0 .15rem;color:#ffe0bd}
.city-theme .studio-heading {
  display:flex;
  align-items:end;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:.7rem 1.1rem;
  margin-bottom:1.4rem;
}
.city-theme .studio-heading h1 {margin:0;font-size:clamp(2.6rem,6vw,4.55rem);line-height:1.08;text-shadow:0 5px 32px #090b1fcc}
.city-theme .manage-links {margin:0;gap:.5rem}
.city-theme .manage-links a {text-decoration:none}
.city-theme .tabs {
  --glass-fill:#1620439f;
  width:max-content;
  max-width:100%;
  border-radius:1.35rem;
  margin-bottom:1.2rem;
  gap:.2rem;
  padding:.32rem;
}
.city-theme .tabs button {
  min-height:44px;
  padding:.42rem .82rem;
  border-radius:.95rem;
  color:var(--ink);
}
.city-theme .tabs button:hover {background:#adc3ff24}
.city-theme .tabs button[aria-pressed=true] {
  background:linear-gradient(154deg,#d6e4ff4f,#819bf038);
  box-shadow:inset 0 1px 0 #f1f3ff69,inset 0 -1px 1px #1019367a;
  color:#fff4e8;
}
.city-theme .tab-content {
  padding:clamp(1.05rem,4vw,2.35rem);
  border:1px solid #b7c5ff49;
  border-radius:1.9rem;
  background:linear-gradient(150deg,#1d2848e8,#0f182fe8);
  box-shadow:0 18px 43px -30px #000a;
}
.city-theme .panel:not(.login-card),.city-theme .admin-entry {
  padding:1rem;
  border:1px solid #aebefe37;
  border-radius:1rem;
  background:#a2b2ee10;
}
.city-theme #publish {
  display:grid;
  align-items:start;
  grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);
  column-gap:1.1rem;
}
.city-theme #publish>h2,.city-theme #manage-posts {grid-column:1/-1}
.city-theme .album-blank {background:#b2c0fe18}
.city-theme .admin-entry summary {color:var(--accent)}
.city-theme .stat-grid strong {color:#ffdab7}
@media(max-width:760px) {
  .city-theme .studio-wrap {width:calc(100% - 42px)}
  .city-theme #publish {grid-template-columns:minmax(0,1fr)}
}
@media(max-width:540px) {
  .city-backdrop {background-position:68% center}
  .city-theme .moments-shell,.city-theme .moments-wrap,.city-theme .studio-wrap {width:calc(100% - 36px)}
  .city-head>div {min-height:70px}
  .moments.city-theme .moments-shell {width:calc(100% - 36px)}
  .moments-journal {padding-top:3.8rem}
  .moments.city-theme .moment-intro {margin-bottom:1.55rem}
  .moments.city-theme .moment-intro h1 {font-size:clamp(1.92rem,8.4vw,2.95rem)}
  .moments.city-theme .current-status {min-height:58px;border-radius:1rem}
  .moments.city-theme .journal-stream {border-radius:1.25rem}
  .journal-controls button {padding-inline:.58rem}
  .journal-photo-grid {grid-template-columns:repeat(3,minmax(0,1fr))}

  .city-theme .manage-album {grid-template-columns:minmax(0,1fr)}
  .city-theme .tabs button {padding-inline:.6rem}
  .city-theme .site-foot .plain {text-align:right}
}
@media(prefers-reduced-transparency:reduce),(forced-colors:active) {
  .city-theme .city-glass,.city-theme[data-city-optics=on] [data-city-lens] {
    background:var(--surface);
    -webkit-backdrop-filter:none;
    backdrop-filter:none;
  }
  .moments.city-theme .journal-stream {background:var(--surface)}
  .city-theme .city-glass::after,.city-backdrop {display:none}
}
@media(forced-colors:active) {
  .city-theme,.city-theme .city-glass,.city-theme .tab-content {background:Canvas;color:CanvasText}
}
@media(prefers-reduced-motion:reduce) {
  .city-theme .city-button,.journal-controls button,.city-backdrop::after {transition:none}
  .city-theme .city-button:active,.journal-controls button:active {transform:none}
}
@media(prefers-reduced-motion:no-preference) {
  html:has(.moments.city-theme) {scroll-behavior:smooth}
}
