/* VIENNA BY NIGHT: the main menu as a street (menu arm D, js/vienna-menu.js,
   brief #3286). The look is the mockup of brief #3247.

   EVERY rule is scoped to html[data-menu="vienna"], and every class is vnm-*
   except where the node is the game's own, moved here. Arms A to C are
   untouched. Type is the game's: Barlow and Barlow Condensed (stage.css), EB
   Garamond (town.css). The life of the street is on two canvases, .vnm-sky
   behind the buildings and .vnm-life in front of them (js/vienna-menu-scene.js);
   this file places the doors, and the scene only measures them. */

html[data-menu="vienna"] {
  --v-cyan: #34d3ff; --v-cyan2: #9beaff; --v-cyan-deep: #0e7fa8;
  --v-white: #f4f7fb; --v-dim: #97a0b8; --v-line: rgba(255,255,255,.14);
  --v-gold: #ffd75e; --v-warm: #ffcf7a; --v-violet: #c3a6ff; --v-red: #ff6b81; --v-rose: #ff9cc0; --v-green: #5ce38f; --v-amber: #ffb547;
  --v-wall: #151b36; --v-wall2: #1c2448; --v-edge: #2b3566; --v-enamel: #123a7a;
  --v-cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --v-sans: "Barlow", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --v-serif: "EB Garamond", Garamond, Georgia, serif;
  --v-street: 84px;
}

/* ------------------------------------------------------------ the page */
html[data-menu="vienna"] #menu {
  display: block; overflow-x: hidden; overflow-y: auto; backdrop-filter: none;
  background: linear-gradient(180deg, #05071a 0%, #0b1030 45%, #1a1f45 78%, #2a2248 100%) fixed, #05071a;
  font-family: var(--v-sans); color: var(--v-white); text-align: left;
}
html[data-menu="vienna"] #menu.hidden { display: none !important; }
html[data-menu="vienna"] #menu > .menu-panel { display: none; }   /* what is left of the old menu: the free tier's dead copies */
html[data-menu="vienna"] .vnm { position: relative; min-height: 100%; height: 100%; }
html[data-menu="vienna"] .vnm, html[data-menu="vienna"] .vnm *, html[data-menu="vienna"] .vnm *::before, html[data-menu="vienna"] .vnm *::after { box-sizing: border-box; }
/* no weight of its own: the chat's, the widgets' and the picker's buttons keep
   the dress their own files give them */
:where(html[data-menu="vienna"] .vnm button) { font: inherit; color: inherit; cursor: pointer; background: none; border: none; padding: 0; margin: 0; }
html[data-menu="vienna"] .vnm [hidden] { display: none !important; }
html[data-menu="vienna"] #menu .vnm :focus-visible { outline: 2px solid var(--v-cyan2); outline-offset: 4px; border-radius: 6px; }
html[data-menu="vienna"] .vnm-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

/* the two canvases. Neither takes a click; both come up once they are drawn */
html[data-menu="vienna"] .vnm-sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .6s; }
html[data-menu="vienna"] .vnm-life { position: absolute; left: 0; top: -140px; width: 100%; height: calc(100% + 140px); z-index: 3; pointer-events: none; opacity: 0; transition: opacity .6s; }
html[data-menu="vienna"] .vnm-alive .vnm-sky, html[data-menu="vienna"] .vnm-alive .vnm-life { opacity: 1; }

/* ---------------------------------------------------------- the top bar */
html[data-menu="vienna"] .vnm-top { position: relative; z-index: 5; display: flex; align-items: flex-start; gap: 14px; padding: 22px 34px 0; }
html[data-menu="vienna"] .vnm-wordmark { margin: 0 auto 0 0; flex: none; }
html[data-menu="vienna"] #menu h1.title {
  margin: 0; padding: 0; position: static; text-align: left; white-space: nowrap;
  font-family: var(--v-cond); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 58px; line-height: .9; letter-spacing: 0;
  background: none; -webkit-text-fill-color: var(--v-white); color: var(--v-white); filter: none; text-shadow: 0 0 26px rgba(52,211,255,.4);
}
html[data-menu="vienna"] #menu h1.title b { -webkit-text-fill-color: var(--v-cyan); color: var(--v-cyan); }
html[data-menu="vienna"] .vnm-tag { display: block; margin-top: 6px; font-family: var(--v-serif); font-style: italic; font-size: 18px; line-height: .9; color: var(--v-dim); letter-spacing: .01em; }

/* how you play: the game's own pill and pencil */
html[data-menu="vienna"] .vnm-pillwrap { position: relative; display: flex; align-items: center; gap: 6px; min-width: 0; }
html[data-menu="vienna"] #menu .midi-row {
  display: flex; align-items: center; gap: 8px; min-height: 40px; margin: 0; padding: 0 6px 0 14px; max-width: 336px;
  border-radius: 20px; background: rgba(8,11,28,.7); border: 1px solid var(--v-line);
}
html[data-menu="vienna"] #menu .midi-row:hover { border-color: var(--v-cyan); }
html[data-menu="vienna"] #menu .midi-row:not(:has(> :not(.hidden))) { display: none; }
html[data-menu="vienna"] #menu .midi-status {
  display: flex; align-items: center; gap: 8px; flex: 1 1 auto; min-width: 0; margin: 0; padding: 4px 8px 4px 0; background: none; border: none; border-radius: 0;
  font-family: var(--v-cond); font-weight: 700; font-size: 13.5px; line-height: 1.1; letter-spacing: .1em; text-transform: uppercase; text-align: left; color: #ffb0bd;
  overflow-wrap: anywhere;
}
html[data-menu="vienna"] #menu .midi-status.hidden { display: none; }
html[data-menu="vienna"] #menu .midi-status::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #ff5c78; box-shadow: 0 0 8px #ff5c78; }
html[data-menu="vienna"] #menu .midi-status.ok { color: var(--v-white); background: none; border: none; }
html[data-menu="vienna"] #menu .midi-status.ok::before { background: var(--v-green); box-shadow: 0 0 8px var(--v-green); }
html[data-menu="vienna"] #menu .midi-edit { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--v-line); background: rgba(255,255,255,.06); font-size: 13px; }
html[data-menu="vienna"] #menu .midi-edit.hidden { display: none; }
html[data-menu="vienna"] #menu .midi-edit:hover, html[data-menu="vienna"] #menu .midi-edit.open { border-color: var(--v-cyan); }
html[data-menu="vienna"] #menu .vnm-tip { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--v-line); background: rgba(8,11,28,.7); font-size: 15px; }
html[data-menu="vienna"] #menu .vnm-tip:hover, html[data-menu="vienna"] #menu .vnm-tip[aria-expanded="true"] { border-color: var(--v-cyan); }
html[data-menu="vienna"] .vnm-pillwrap:has(#conn-advice.hidden) .vnm-tip,
html[data-menu="vienna"] .vnm-pillwrap:has(#conn-advice.hidden) .vnm-tipbox,
html[data-menu="vienna"] body.pre-onboard .vnm-tip, html[data-menu="vienna"] body.pre-onboard .vnm-tipbox { display: none !important; }
html[data-menu="vienna"] .vnm-pop, html[data-menu="vienna"] .vnm-tipbox { position: absolute; z-index: 24; top: calc(100% + 8px); right: 0; width: 336px; max-width: calc(100vw - 24px); }
html[data-menu="vienna"] #menu .midi-picker, html[data-menu="vienna"] #menu .conn-advice {
  max-width: none; margin: 0; padding: 12px 14px; border-radius: 10px; text-align: left; font-size: 13.5px; line-height: 1.45;
  background: #0d1230; border: 1px solid var(--v-line); box-shadow: 0 18px 44px rgba(0,0,0,.55); color: var(--v-white);
}
html[data-menu="vienna"] #menu .midi-picker { max-height: min(60vh, 420px); overflow: auto; }
html[data-menu="vienna"] #menu #signin-btn {
  flex: none; height: 44px; margin: 6px 0 0; padding: 0 20px; border-radius: 22px; border: 1.5px solid var(--v-cyan); color: var(--v-cyan);
  background: rgba(8,11,28,.6); font-family: var(--v-cond); font-weight: 700; font-size: 16px; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
}
html[data-menu="vienna"] #menu #signin-btn.hidden { display: none; }
html[data-menu="vienna"] #menu #signin-btn:hover { background: rgba(52,211,255,.16); }
/* the plate: who you are, and the door to the rest of you */
html[data-menu="vienna"] #menu .vnm-plate { flex: none; display: flex; align-items: center; gap: 12px; max-width: 300px; padding: 5px 16px 5px 5px; border-radius: 30px; background: rgba(8,11,28,.75); border: 1px solid var(--v-line); text-align: left; }
html[data-menu="vienna"] #menu .vnm-plate:hover, html[data-menu="vienna"] #menu .vnm-plate[aria-expanded="true"] { border-color: var(--v-cyan); }
html[data-menu="vienna"] .vnm-av { flex: none; width: 46px; height: 46px; border-radius: 50%; overflow: hidden; border: 2px solid var(--v-cyan); background: #121827; }
html[data-menu="vienna"] .vnm-av svg, html[data-menu="vienna"] .vnm-av img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
html[data-menu="vienna"] .vnm-tx { min-width: 0; }
html[data-menu="vienna"] .vnm-tx b { display: block; font-family: var(--v-cond); font-weight: 800; font-size: 20px; text-transform: uppercase; line-height: 1.05; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html[data-menu="vienna"] .vnm-tx small { display: flex; align-items: center; gap: 2px; font-size: 12px; line-height: 1.2; color: var(--v-gold); font-weight: 600; margin-top: 3px; white-space: pre; }
html[data-menu="vienna"] .vnm-tx small .coin { width: 15px; height: 15px; }
html[data-menu="vienna"] .vnm-chev { margin-left: 4px; color: var(--v-dim); font-size: 12px; }
html[data-menu="vienna"] .vnm-plate.vnm-nobody .vnm-tx { display: none; }

/* ------------------------------------------------------------ the street */
html[data-menu="vienna"] .vnm-scene { position: absolute; left: 0; right: 0; bottom: 0; height: min(640px, 72vh); z-index: 2; }
html[data-menu="vienna"] .vnm-row { position: absolute; left: 0; right: 0; bottom: var(--v-street); height: calc(100% - var(--v-street)); display: flex; align-items: flex-end; justify-content: center; padding: 0 10px; }
html[data-menu="vienna"] .vnm-street { position: absolute; left: 0; right: 0; bottom: 0; height: var(--v-street);
  background:
    linear-gradient(180deg, rgba(255,207,122,.10), transparent 30%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0 1px, transparent 1px 17px),
    linear-gradient(180deg, #232846, #14172c); }
html[data-menu="vienna"] .vnm-street::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: #2d3459; box-shadow: 0 2px 0 #0d1022; }

html[data-menu="vienna"] .vnm .vnm-bld { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; flex: none; }
html[data-menu="vienna"] .vnm-art { display: block; width: 100%; height: auto; overflow: visible; transition: filter .15s; }
html[data-menu="vienna"] .vnm-art .vnm-lit { transition: fill .15s, opacity .15s; }
html[data-menu="vienna"] .vnm-bld:is(:hover, :focus-visible, .on, :has(> :focus-visible)) .vnm-art { filter: brightness(1.18) saturate(1.1); }
html[data-menu="vienna"] .vnm-bld:is(:hover, :focus-visible, .on, :has(> :focus-visible)) .vnm-lit { opacity: 1; }
html[data-menu="vienna"] .vnm-sign {
  position: relative; z-index: 5; margin-bottom: 12px; padding: 4px 12px 3px; border-radius: 6px; text-align: center;
  font-family: var(--v-cond); font-weight: 800; font-style: italic; font-size: calc(26px * var(--sign, 1)); letter-spacing: .06em; text-transform: uppercase; line-height: 1; white-space: nowrap;
  color: var(--c, var(--v-cyan)); border: 2px solid currentColor; background: rgba(5,7,20,.55);
  text-shadow: 0 0 10px currentColor, 0 0 22px currentColor; box-shadow: 0 0 14px color-mix(in srgb, currentColor 55%, transparent), inset 0 0 10px color-mix(in srgb, currentColor 30%, transparent); transition: transform .15s;
}
html[data-menu="vienna"] .vnm-sign small { display: block; margin-top: 3px; font-family: var(--v-sans); font-style: normal; font-weight: 600; font-size: calc(11px * var(--sign, 1)); line-height: 1; letter-spacing: .1em; text-shadow: none; color: var(--v-white); opacity: .8; }
html[data-menu="vienna"] .vnm-bd, html[data-menu="vienna"] .vnm-n { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--v-red); color: #fff; font: 700 11px/1 var(--v-sans); letter-spacing: 0; text-shadow: none; }
html[data-menu="vienna"] .vnm-bd { position: absolute; top: -9px; right: -9px; }
html[data-menu="vienna"] .vnm-lv { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--v-green); box-shadow: 0 0 8px var(--v-green); margin-right: 5px; vertical-align: 1px; }
html[data-menu="vienna"] .vnm-bld:is(:hover, :focus-visible, .on, :has(> :focus-visible)) .vnm-sign { transform: translateY(-3px); }
/* a building is as tall as its patch of sky: the keyboard's ring goes round its
   sign (and round the marquee), where the eye is */
html[data-menu="vienna"] #menu .vnm-bld:focus-visible, html[data-menu="vienna"] #menu .vnm-bld > :focus-visible { outline: none; }
html[data-menu="vienna"] .vnm-bld:is(:focus-visible, :has(> :focus-visible)) :is(.vnm-sign, .vnm-marquee) { outline: 2px solid var(--v-cyan2); outline-offset: 5px; }
/* the tournament hall says so when something is on */
html[data-menu="vienna"] .vnm-c-on { display: none !important; }
html[data-menu="vienna"] .vnm:has(.vnm-events > .live-widget:not(.hidden)) .vnm-c-on { display: block !important; }
html[data-menu="vienna"] .vnm:has(.vnm-events > .live-widget:not(.hidden)) .vnm-c-idle { display: none; }

/* widths, as shares of the street */
html[data-menu="vienna"] .vnm .vnm-b-gate { width: 10.5%; } html[data-menu="vienna"] .vnm .vnm-b-cons { width: 13.5%; }
html[data-menu="vienna"] .vnm .vnm-b-wheel { width: 14%; } html[data-menu="vienna"] .vnm-hallwrap { position: relative; width: 25%; height: 100%; flex: none; }
html[data-menu="vienna"] .vnm .vnm-b-hall { width: 100%; } html[data-menu="vienna"] .vnm .vnm-b-arena { width: 13.5%; }
html[data-menu="vienna"] .vnm .vnm-b-comp { width: 8.5%; } html[data-menu="vienna"] .vnm .vnm-b-cafe { width: 13%; }

/* PLAY and ADVENTURE are the game's own buttons, laid over the hall and the
   gate. Their words are theirs (main.js rewrites them, i18n translates them);
   the marquee and the sign show those words, and the buttons show nothing */
html[data-menu="vienna"] #menu .vnm-bld > :is(#play-btn, #gauntlet-btn) {
  position: absolute; inset: 0; z-index: 6; width: 100%; min-height: 0; height: 100%; margin: 0; padding: 0; border: none; border-radius: 6px; overflow: hidden;
  background: none; box-shadow: none; transform: none; transition: none; font-size: 0; line-height: 0; letter-spacing: 0; color: transparent; animation: none;
}
html[data-menu="vienna"] #menu .vnm-bld > :is(#play-btn, #gauntlet-btn)::before, html[data-menu="vienna"] #menu .vnm-bld > :is(#play-btn, #gauntlet-btn)::after { content: none; }

/* the concert hall's marquee */
html[data-menu="vienna"] .vnm-marquee { position: absolute; z-index: 4; left: 11%; right: 11%; top: 43%; height: 21%; display: grid; place-items: center; border-radius: 8px;
  background: linear-gradient(180deg, #071a24, #04121a); border: 3px solid var(--v-cyan);
  box-shadow: 0 0 30px rgba(52,211,255,.6), inset 0 0 26px rgba(52,211,255,.35); transition: transform .15s; }
html[data-menu="vienna"] .vnm-glow { position: absolute; inset: -3px; border-radius: 8px; box-shadow: 0 0 54px 4px rgba(52,211,255,.75), inset 0 0 34px rgba(52,211,255,.6); opacity: .25; }
html[data-menu="vienna"] .vnm-word { position: relative; font-family: var(--v-cond); font-weight: 800; font-style: italic; font-size: calc(clamp(54px, 6.2vw, 96px) * var(--fit, 1)); line-height: 1; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
  color: #e9fbff; text-shadow: 0 0 8px var(--v-cyan), 0 0 22px var(--v-cyan), 0 0 46px var(--v-cyan); }
html[data-menu="vienna"] .vnm-word i { display: inline-block; width: .5em; height: .55em; margin-right: .2em; background: #e9fbff; clip-path: polygon(0 0, 100% 50%, 0 100%); filter: drop-shadow(0 0 8px var(--v-cyan)); animation: vnm-nudge 2.6s ease-in-out infinite; }
html[data-menu="vienna"] .vnm-word b { display: inline-block; font-weight: inherit; }
html[data-menu="vienna"] .vnm-sweep { position: absolute; inset: 0; border-radius: 5px; overflow: hidden; pointer-events: none; }
html[data-menu="vienna"] .vnm-sweep::before { content: ""; position: absolute; top: -20%; bottom: -20%; left: 0; width: 22%; background: linear-gradient(90deg, transparent, rgba(190,244,255,.28), transparent); transform: translateX(-140%) skewX(-18deg); animation: vnm-sweep 7s ease-in-out infinite; }
@keyframes vnm-sweep { 0%, 62% { transform: translateX(-140%) skewX(-18deg); } 92%, 100% { transform: translateX(560%) skewX(-18deg); } }
@keyframes vnm-nudge { 0%, 70%, 100% { transform: none; } 80% { transform: translateX(5px); } 90% { transform: translateX(-1px); } }
@keyframes vnm-hop { 0%, 100% { transform: none; } 35% { transform: translateY(-7px); } 65% { transform: translateY(1px); } }
html[data-menu="vienna"] .vnm-under { position: absolute; z-index: 4; left: 0; right: 0; top: max(66%, calc(64% + 11px)); text-align: center; font-family: var(--v-serif); font-style: italic; font-size: 16px; line-height: normal; color: var(--v-warm); text-shadow: 0 0 8px rgba(255,207,122,.6); pointer-events: none; }
html[data-menu="vienna"] .vnm-u-gauntlet { display: none; }
html[data-menu="vienna"] .vnm-bld:has(> #play-btn[data-door="gauntlet"]) .vnm-u-free, html[data-menu="vienna"] .vnm-door:has(> #freeplay-btn[data-door="freeplay"]) .vnm-u-free { display: none; }
html[data-menu="vienna"] .vnm-bld:has(> #play-btn[data-door="gauntlet"]) .vnm-u-gauntlet, html[data-menu="vienna"] .vnm-door:has(> #freeplay-btn[data-door="freeplay"]) .vnm-u-gauntlet { display: inline; }
html[data-menu="vienna"] .vnm-b-hall:is(:hover, :has(> :focus-visible)) .vnm-marquee { transform: scale(1.02); }
html[data-menu="vienna"] .vnm-b-hall:is(:hover, :has(> :focus-visible)) .vnm-word i { animation: vnm-nudge .9s ease-in-out infinite; }
html[data-menu="vienna"] .vnm-b-hall:is(:hover, :has(> :focus-visible)) .vnm-word b { animation: vnm-hop .5s ease both; }
html[data-menu="vienna"] .vnm-word b:nth-of-type(2n) { animation-delay: .06s !important; } html[data-menu="vienna"] .vnm-word b:nth-of-type(3n) { animation-delay: .12s !important; } html[data-menu="vienna"] .vnm-word b:nth-of-type(4n) { animation-delay: .18s !important; }
/* the stage door: an admin's, or a contributor's */
html[data-menu="vienna"] #menu .vnm-stagedoor { display: none; position: absolute; right: 3%; bottom: 0; width: 7%; min-width: 24px; height: 12%; border-radius: 4px 4px 0 0; background: #2a1d08; border: 2px solid var(--v-amber); box-shadow: 0 0 14px rgba(255,181,71,.6); z-index: 7; }
html[data-menu="vienna"] #menu .vnm:has(:is(#admin-btn, #curator-btn):not(.hidden)) .vnm-stagedoor { display: block; }
html[data-menu="vienna"] .vnm-stagedoor span { position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); white-space: nowrap; padding: 2px 6px; border-radius: 3px; background: rgba(26,16,0,.9); border: 1px solid rgba(255,181,71,.6); font: 700 10px/1.3 var(--v-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--v-amber); text-shadow: 0 0 6px rgba(255,181,71,.7); }
html[data-menu="vienna"] #menu .vnm-stagedoor:hover { background: #4a3208; }

/* the advertising column carries the plan card, and the chest stands at its foot */
html[data-menu="vienna"] .vnm-posters { display: contents; }
html[data-menu="vienna"] .vnm-column { position: absolute; bottom: -62px; left: 18.8%; z-index: 4; width: 92px; text-align: center; }
html[data-menu="vienna"] .vnm-column > svg { display: block; width: 100%; height: auto; }
html[data-menu="vienna"] #menu #plan-card {
  position: absolute; left: 12px; right: 12px; top: 50px; height: 104px; width: auto; margin: 0; padding: 8px 5px 5px; display: block; border: none; border-radius: 2px; overflow: visible;
  background: #f1e7cf; color: #1d1b17; text-align: center; box-shadow: inset 0 0 0 2px #c9a64a; transform-origin: 50% 0; transition: transform .25s;
}
html[data-menu="vienna"] #menu #plan-card.hidden { display: none; }
html[data-menu="vienna"] #menu #plan-card::before { content: ""; position: absolute; inset: -50px -12px -46px; }   /* the whole column is the door */
html[data-menu="vienna"] #menu #plan-card .db-ico { display: none; }
html[data-menu="vienna"] #menu #plan-card .db-body { display: block; position: relative; max-height: 92px; overflow: hidden; pointer-events: none; line-height: 1; }
html[data-menu="vienna"] #menu #plan-card b { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; margin: 0; text-wrap: balance; font-family: var(--v-cond); font-weight: 800; font-size: 13px; line-height: 1.02; letter-spacing: .03em; text-transform: uppercase; color: #1d1b17; }
html[data-menu="vienna"] #menu #plan-card small { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; overflow: hidden; margin: 4px 0 0; font-family: var(--v-serif); font-style: italic; font-weight: 500; font-size: 12px; line-height: 12px; color: #6b5010; }
html[data-menu="vienna"] #menu #plan-card:is(:hover, :focus-visible) { transform: rotate(-1.6deg) translateY(1px); box-shadow: inset 0 0 0 2px var(--v-cyan-deep), 0 0 18px rgba(255,240,200,.5); }
html[data-menu="vienna"] .vnm-chest { position: absolute; bottom: -70px; left: calc(18.8% + 96px); z-index: 4; width: 62px; text-align: center; }
html[data-menu="vienna"] .vnm-chest:has(> .hidden) { display: none; }
html[data-menu="vienna"] .vnm-chest > svg { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 0 10px rgba(255,215,94,.55)); animation: vnm-rattle 9s ease-in-out infinite; transform-origin: 50% 100%; }
html[data-menu="vienna"] .vnm-chest:has(> .claimed) > svg { animation: none; filter: none; }
html[data-menu="vienna"] .vnm-chest:is(:hover, :has(> :focus-visible)) > svg { filter: drop-shadow(0 0 18px rgba(255,215,94,.9)); }
html[data-menu="vienna"] .vnm-lid { transform-box: fill-box; transform-origin: 0 100%; transition: transform .3s cubic-bezier(.3,1.6,.5,1); }
html[data-menu="vienna"] .vnm-inside { opacity: 0; transition: opacity .2s; }
html[data-menu="vienna"] .vnm-chest:is(:hover, :has(> :focus-visible)) .vnm-lid { transform: rotate(-16deg) translateY(-2px); }
html[data-menu="vienna"] .vnm-chest:is(:hover, :has(> :focus-visible)) .vnm-inside { opacity: 1; }
@keyframes vnm-rattle { 0%, 90%, 100% { transform: none; } 92% { transform: rotate(-4deg); } 94% { transform: rotate(4deg) translateY(-2px); } 96% { transform: rotate(-3deg); } 98% { transform: rotate(2deg); } }
html[data-menu="vienna"] #menu #daily-chest { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; display: block; background: none; border: none; }
html[data-menu="vienna"] #menu #daily-chest.hidden { display: none; }
html[data-menu="vienna"] #menu #daily-chest .db-ico { display: none; }
html[data-menu="vienna"] #menu #daily-chest .db-body { position: absolute; bottom: calc(100% + 4px); left: 50%; width: max-content; max-width: 90px; transform: translateX(-50%); display: block; padding: 3px 8px; border-radius: 10px; background: rgba(8,11,28,.88); border: 1px solid rgba(255,215,94,.6); line-height: 1.15; }
html[data-menu="vienna"] #menu #daily-chest b { display: block; margin: 0; font: 700 10.5px/1.15 var(--v-sans); letter-spacing: .05em; color: var(--v-gold); text-transform: none; }
html[data-menu="vienna"] #menu #daily-chest.claimed b { color: #cbb98a; }
html[data-menu="vienna"] #menu #daily-chest small { display: none; }
html[data-menu="vienna"] #menu #daily-chest:is(:hover, :focus-visible) .db-body { max-width: 190px; z-index: 8; }
html[data-menu="vienna"] #menu #daily-chest:is(:hover, :focus-visible) small { display: block; margin-top: 2px; font: 500 11px/1.25 var(--v-sans); color: var(--v-white); }
html[data-menu="vienna"] .vnm-lamp { position: absolute; bottom: var(--v-street); width: 22px; z-index: 3; pointer-events: none; }
html[data-menu="vienna"] .vnm-keys { position: absolute; right: 352px; bottom: 41px; z-index: 5; margin: 0; font: 600 11px/1.4 var(--v-sans); letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.45); pointer-events: none; }

/* ---------------------------------------- the street signs (one per building) */
html[data-menu="vienna"] .vnm-hub { position: fixed; z-index: 20; width: 340px; max-width: calc(100vw - 24px); padding: 16px 16px 12px; border-radius: 10px; background: var(--v-enamel); color: #fff; display: none; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain;
  border: 3px solid #fff; box-shadow: 0 0 0 4px var(--v-enamel), 0 20px 60px rgba(0,0,0,.6); scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.45) transparent; }
html[data-menu="vienna"] .vnm-hub.open { display: block; transform-origin: 50% 0; animation: vnm-pop .32s ease; }
@keyframes vnm-pop { 0% { opacity: 0; transform: translateY(8px) rotate(-1.6deg); } 55% { opacity: 1; transform: rotate(.8deg); } 100% { opacity: 1; transform: none; } }
html[data-menu="vienna"] .vnm-hub h2 { margin: 0 34px 2px 0; font-family: var(--v-cond); font-weight: 800; font-size: 26px; letter-spacing: .06em; text-transform: uppercase; line-height: 1; }
html[data-menu="vienna"] .vnm-where { margin: 0 0 10px; font-family: var(--v-serif); font-style: italic; font-size: 15px; line-height: 1.2; color: rgba(255,255,255,.75); }
html[data-menu="vienna"] #menu .vnm-x { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.6); color: #fff; font-size: 14px; line-height: 1; z-index: 2; }
html[data-menu="vienna"] #menu .vnm-x:hover { background: rgba(255,255,255,.15); }
/* a door: the game's button, dressed, over one small line */
html[data-menu="vienna"] .vnm-door { position: relative; border-top: 1px solid rgba(255,255,255,.14); }
html[data-menu="vienna"] .vnm-where + .vnm-door, html[data-menu="vienna"] .vnm-sep + .vnm-door { border-top: none; }
html[data-menu="vienna"] .vnm-door:has(> .hidden) { display: none; }
html[data-menu="vienna"] .vnm-hub:has(#menu-mail-btn:not(.hidden)) .vnm-door:has(> #mail-btn) { display: none; }
html[data-menu="vienna"] #menu .vnm-door > :is(button, a) {
  position: static; display: block; width: 100%; height: auto; min-height: 44px; margin: 0; padding: 10px 10px 10px 39px; border: none; border-radius: 6px; box-shadow: none; transform: none; overflow: visible;
  background: none; color: #fff; text-align: left; text-decoration: none; text-indent: -29px; white-space: normal; text-overflow: clip; opacity: 1;
  font-family: var(--v-cond); font-weight: 700; font-style: normal; font-size: 19px; line-height: 1.1; letter-spacing: .05em; text-transform: uppercase; transition: background .12s;
}
html[data-menu="vienna"] #menu .vnm-door:has(> small) > :is(button, a) { min-height: 54px; padding: 9px 10px 27px 39px; }
html[data-menu="vienna"] #menu .vnm-door > :is(button, a):hover:not(:disabled) { background: rgba(255,255,255,.12); color: #fff; border: none; transform: none; }
html[data-menu="vienna"] #menu .vnm-door > :is(button, a):focus-visible { outline-offset: -2px; background: rgba(255,255,255,.10); }
html[data-menu="vienna"] #menu .vnm-door > :is(button, a):disabled { opacity: .5; cursor: default; }
html[data-menu="vienna"] .vnm-door > small { position: absolute; left: 39px; right: 6px; bottom: 9px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 12.5px; line-height: 1.25; color: rgba(255,255,255,.75); pointer-events: none; }
html[data-menu="vienna"] #menu .vnm-door :is(.menu-badge, .mail-badge, .vnm-n) { position: absolute; top: 14px; right: 10px; margin: 0; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--v-red); color: #fff; font: 700 11px/20px var(--v-sans); letter-spacing: 0; text-align: center; text-indent: 0; border: none; }
html[data-menu="vienna"] #menu .vnm-door :is(.menu-badge, .mail-badge).hidden { display: none; }
html[data-menu="vienna"] #menu .vnm-door[data-take="suggest"] > a { text-indent: -19px; }   /* its ♪ is narrower than an emoji */
html[data-menu="vienna"] .vnm-sep { margin: 10px 0 2px; padding: 0 10px; font: 700 11px/1.4 var(--v-sans); letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.6); }
html[data-menu="vienna"] .vnm-hub-adm { background: #3a2606; box-shadow: 0 0 0 4px #3a2606, 0 20px 60px rgba(0,0,0,.6); border-color: var(--v-amber); }
html[data-menu="vienna"] #menu #admin-note { margin: 0 10px 6px 40px; font-size: 12px; opacity: .7; }
html[data-menu="vienna"] .vnm-hintslot .hint { display: block !important; margin: 10px 10px 2px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.14); font-size: 11.5px; line-height: 1.5; text-align: left; opacity: .65; }
html[data-menu="vienna"] #menu .vnm-back { margin: -4px 0 8px; padding: 4px 8px 4px 0; font-family: var(--v-cond); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.8); }
html[data-menu="vienna"] #menu .vnm-back:hover { color: #fff; }

/* what comes and goes: the programme, the voice room, the events */
html[data-menu="vienna"] .vnm-slot:not(:has(> :not(.hidden))) { display: none; }
html[data-menu="vienna"] #menu .vnm-hub .np-prog { margin: 10px 0 0; padding: 12px 10px 4px; border: none; border-top: 1px solid rgba(255,255,255,.14); border-radius: 0; background: none; }
html[data-menu="vienna"] #menu .vnm-hub .np-prog.hidden { display: none; }
html[data-menu="vienna"] #menu .vnm-hub .np-label { font: 700 11px/1.4 var(--v-sans); letter-spacing: .2em; color: rgba(255,255,255,.75); }
html[data-menu="vienna"] #menu .vnm-hub .np-label i { color: rgba(255,255,255,.6); letter-spacing: 0; }
html[data-menu="vienna"] #menu .vnm-hub .np-row-p { border-color: rgba(255,255,255,.14); }
html[data-menu="vienna"] #menu .vnm-hub .np-row-p:not(.done):hover { background: rgba(255,255,255,.08); }
html[data-menu="vienna"] #menu .vnm-hub .np-row-p b { font-family: var(--v-cond); font-weight: 700; font-size: 17px; text-transform: uppercase; }
html[data-menu="vienna"] #menu .vnm-hub .np-row-p small, html[data-menu="vienna"] #menu .vnm-hub .np-row-p.done b, html[data-menu="vienna"] #menu .vnm-hub .np-foot-p { color: rgba(255,255,255,.65); }
html[data-menu="vienna"] #menu .vnm-hub .np-row-p .n { color: rgba(255,255,255,.75); border-color: rgba(255,255,255,.3); }
html[data-menu="vienna"] #menu .vnm-hub .np-row-p.next .n { color: #021018; border-color: var(--v-cyan); }
html[data-menu="vienna"] #menu .vnm-hub :is(.np-row-p .go, .np-foot-p a) { color: var(--v-cyan2); }
html[data-menu="vienna"] #menu .vnm-hub .live-widget { width: 100%; margin: 10px 0 2px; border-radius: 8px; border: 1px solid rgba(255,215,94,.5); background: rgba(0,0,0,.28); }
html[data-menu="vienna"] .vnm-none { margin: 4px 10px 6px; font-size: 12.5px; line-height: 1.4; color: rgba(255,255,255,.7); }
html[data-menu="vienna"] .vnm-events:has(> .live-widget:not(.hidden)) .vnm-none { display: none; }

/* the player card, on its side, at the head of "You" */
html[data-menu="vienna"] #menu #player-card.menu-left {
  position: relative; display: grid; grid-template-columns: 92px minmax(0, 1fr); column-gap: 14px; align-content: center; align-items: center; width: 100%; min-width: 0; margin: 0 0 8px; padding: 10px; border-radius: 8px; text-align: left;
  background: rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.18); color: #fff;
}
html[data-menu="vienna"] #menu #player-card.menu-left.hidden { display: none; }
html[data-menu="vienna"] #menu #player-card.menu-left:hover { border-color: var(--v-cyan); background: rgba(0,0,0,.36); }
html[data-menu="vienna"] #menu #player-card > span { grid-column: 2; text-align: left; justify-self: start; margin: 0; max-width: 100%; }
html[data-menu="vienna"] #menu #player-card .pc-avatar-big { grid-column: 1; grid-row: 1 / span 8; align-self: start; width: 92px; height: 112px; overflow: hidden; border-radius: 8px; background: linear-gradient(180deg, #151a36, #0a0d1e); font-size: 60px; line-height: 112px; text-align: center; }
html[data-menu="vienna"] #menu #player-card .pc-avatar-big .pc-portrait { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
html[data-menu="vienna"] #menu #player-card .pc-name { font-family: var(--v-cond); font-weight: 800; font-size: 24px; line-height: 1.05; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html[data-menu="vienna"] #menu #player-card .pc-elo { font-size: 12.5px; color: #dcd0ff; letter-spacing: 0; }
html[data-menu="vienna"] #menu #player-card .pc-level { margin-top: 4px; font-size: 12.5px; color: var(--v-cyan2); letter-spacing: 0; }
html[data-menu="vienna"] #menu #player-card .pc-xpbar { width: 100%; height: 6px; margin: 4px 0; border-radius: 3px; background: rgba(0,0,0,.4); border: 1px solid rgba(255,255,255,.2); }
html[data-menu="vienna"] #menu #player-card .pc-standings { font-size: 12px; color: #dfe7ff; }
html[data-menu="vienna"] #menu #player-card .pc-coins { margin-top: 4px; font-family: var(--v-cond); font-weight: 800; font-size: 19px; color: var(--v-gold); }
html[data-menu="vienna"] #menu #player-card #pc-premium { display: none; } html[data-menu="vienna"] #menu #player-card #pc-premium.on { display: block; }
html[data-menu="vienna"] #menu #player-card .pc-edit { margin-top: 4px; padding: 0; background: none; border: none; font-family: var(--v-cond); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.75); }

/* the players' chat: the game's own panel, with a home in the Kaffeehaus */
html[data-menu="vienna"] .vnm-hub-chat { width: 440px; overflow: visible; }
html[data-menu="vienna"] #menu .vnm-chathome { width: 100%; }
html[data-menu="vienna"] #menu .vnm-chathome > #vienna-chat { position: relative; left: auto; bottom: auto; width: 100%; text-align: left; pointer-events: auto; }
html[data-menu="vienna"] #menu .vnm-chathome .vc-log { display: block; height: min(46vh, 400px); max-height: none; padding: 10px 12px 6px; border-radius: 8px 8px 0 0; background: rgba(4,8,24,.72); -webkit-mask-image: none; mask-image: none; }
html[data-menu="vienna"] #menu .vnm-chathome .vc-form { height: auto; min-height: 44px; padding: 6px 8px; border-radius: 0 0 8px 8px; background: rgba(4,8,24,.72); border-top: 1px solid rgba(255,255,255,.12); }
html[data-menu="vienna"] #menu .vnm-chathome .vc-toggle { display: none; }   /* the sign itself is the fold */

/* --------------------------------------------- the Motion button, the music box */
html[data-menu="vienna"] .vnm-bar { position: fixed; left: 14px; bottom: 14px; z-index: 12; }
html[data-menu="vienna"] #menu .vnm-motion { display: flex; align-items: center; gap: 6px; padding: 8px 11px; border-radius: 8px; border: 1px solid var(--v-line); background: rgba(13,17,26,.85); font: 600 11.5px/1 var(--v-sans); color: var(--v-dim); white-space: nowrap; }
html[data-menu="vienna"] #menu .vnm-motion:hover { border-color: var(--v-cyan); color: var(--v-white); }
html[data-menu="vienna"] .vnm-motion svg { width: 14px; height: 14px; flex: none; } html[data-menu="vienna"] .vnm-motion svg .off, html[data-menu="vienna"] .vnm-m-off { display: none; }
html[data-menu="vienna"][data-vnm-motion="off"] .vnm-motion svg .on, html[data-menu="vienna"][data-vnm-motion="off"] .vnm-m-on { display: none; }
html[data-menu="vienna"][data-vnm-motion="off"] .vnm-motion svg .off, html[data-menu="vienna"][data-vnm-motion="off"] .vnm-m-off { display: inline; }
/* Motion off, or the menu not on screen: nothing moves */
html[data-menu="vienna"][data-vnm-motion="off"] .vnm, html[data-menu="vienna"][data-vnm-motion="off"] .vnm *, html[data-menu="vienna"][data-vnm-motion="off"] .vnm *::before, html[data-menu="vienna"][data-vnm-motion="off"] .vnm *::after { animation: none !important; transition: none !important; }
html[data-menu="vienna"] .vnm[data-asleep] *, html[data-menu="vienna"] .vnm[data-asleep] *::before, html[data-menu="vienna"] .vnm[data-asleep] *::after { animation-play-state: paused !important; }

html[data-menu="vienna"] .vnm-box { position: fixed; right: 14px; bottom: 9px; z-index: 12; display: flex; align-items: center; gap: 10px; width: 316px; height: 66px; padding: 4px 12px 4px 6px; border-radius: 12px;
  background: linear-gradient(180deg, #3a2314, #26160b); border: 1.5px solid #c9a64a; box-shadow: 0 6px 22px rgba(0,0,0,.5), inset 0 0 0 2px #1a0e06; color: #f1e7cf; }
html[data-menu="vienna"] .vnm-organ { flex: none; width: 58px; height: 56px; } html[data-menu="vienna"] .vnm-organ svg { display: block; width: 100%; height: 100%; overflow: visible; }
html[data-menu="vienna"] .vnm-mb { flex: 1; min-width: 0; }
html[data-menu="vienna"] .vnm-now { display: flex; align-items: baseline; gap: 8px; min-width: 0; height: 22px; white-space: nowrap; }
html[data-menu="vienna"] .vnm-title { flex: 0 0 auto; font-family: var(--v-serif); font-size: 16.5px; line-height: 22px; color: #fff3d6; }
html[data-menu="vienna"] .vnm-why { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; font-size: 11px; color: #d7b667; }
html[data-menu="vienna"] .vnm-now:has(.vnm-why:not(:empty)) .vnm-title { display: none; }
html[data-menu="vienna"] .vnm-now:has(.vnm-why:not(:empty)) .vnm-why { font-size: 12.5px; }
html[data-menu="vienna"] .vnm-ctl { display: flex; align-items: center; gap: 8px; margin-top: 2px; }
html[data-menu="vienna"] #menu .vnm-play { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #c9a64a; color: #231405; }
html[data-menu="vienna"] #menu .vnm-play:hover { background: var(--v-gold); }
html[data-menu="vienna"] .vnm-play svg { width: 15px; height: 15px; display: block; }
html[data-menu="vienna"] .vnm-box .i-pause { display: none; } html[data-menu="vienna"] .vnm-box.held .i-pause { display: inline; } html[data-menu="vienna"] .vnm-box.held .i-play { display: none; }
html[data-menu="vienna"] .vnm-vol { display: flex; align-items: center; gap: 6px; flex: 1; min-width: 0; color: #d7b667; cursor: pointer; }
html[data-menu="vienna"] .vnm-vol svg { flex: none; width: 14px; height: 14px; display: block; }
html[data-menu="vienna"] .vnm-vol input { appearance: none; -webkit-appearance: none; width: 100%; min-width: 34px; height: 22px; margin: 0; padding: 0; background: transparent; border: none; cursor: pointer; }
html[data-menu="vienna"] .vnm-vol input::-webkit-slider-runnable-track { height: 3px; border-radius: 2px; background: rgba(241,231,207,.4); }
html[data-menu="vienna"] .vnm-vol input::-moz-range-track { height: 3px; border-radius: 2px; background: rgba(241,231,207,.4); }
html[data-menu="vienna"] .vnm-vol input::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; margin-top: -4.5px; border-radius: 50%; background: var(--v-gold); border: none; }
html[data-menu="vienna"] .vnm-vol input::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--v-gold); border: none; }
html[data-menu="vienna"] .vnm-crank { transform-origin: 57px 42px; animation: vnm-turn 1.9s linear infinite paused; }
html[data-menu="vienna"] .vnm-pipes rect { transform-box: fill-box; transform-origin: 50% 100%; animation: vnm-pipe .86s ease-in-out infinite paused; }
html[data-menu="vienna"] .vnm-pipes .p2 { animation-delay: -.17s; } html[data-menu="vienna"] .vnm-pipes .p3 { animation-delay: -.5s; } html[data-menu="vienna"] .vnm-pipes .p4 { animation-delay: -.3s; } html[data-menu="vienna"] .vnm-pipes .p5 { animation-delay: -.66s; }
html[data-menu="vienna"] .vnm-box.playing .vnm-crank, html[data-menu="vienna"] .vnm-box.playing .vnm-pipes rect { animation-play-state: running; }
@keyframes vnm-turn { to { transform: rotate(360deg); } }
@keyframes vnm-pipe { 0%, 100% { transform: scaleY(.86); } 50% { transform: scaleY(1.08); } }

/* the game's floating furniture, clear of the top bar while this menu shows */
html[data-menu="vienna"] body:has(#menu:not(.hidden)):not(.vienna-on) .voice-pill { top: 96px; }
html[data-menu="vienna"] #menu #tier-demo-pill { z-index: 30; }

/* ================================================================ sizes */
@media (max-width: 1120px) { html[data-menu="vienna"] .vnm-keys { display: none; } }

/* 761 to 1100 px: seven buildings in less room. The signs shrink with the
   street, so no sign reaches its neighbour's */
@media (min-width: 761px) and (max-width: 1100px) {
  html[data-menu="vienna"] .vnm-top { padding: 18px 20px 0; gap: 10px; }
  html[data-menu="vienna"] #menu h1.title { font-size: clamp(34px, 5vw, 54px); }
  html[data-menu="vienna"] .vnm-tag { font-size: 16px; }
  html[data-menu="vienna"] #menu .midi-row { max-width: 250px; }
  html[data-menu="vienna"] #menu .midi-status { font-size: 12.5px; letter-spacing: .06em; }
  html[data-menu="vienna"] .vnm-row { padding: 0 4px; }
  html[data-menu="vienna"] .vnm-sign { font-size: calc(clamp(13px, 1.9vw, 21px) * var(--sign, 1)); padding: 4px clamp(4px, .7vw, 8px) 3px; letter-spacing: .04em; border-width: 1.5px; margin-bottom: 9px; }
  html[data-menu="vienna"] .vnm-sign small { font-size: calc(9.5px * var(--sign, 1)); letter-spacing: .04em; }
  /* the marquee belongs to the facade here, not to the height of the row: on a
     narrow street it would hang above the roof */
  html[data-menu="vienna"] .vnm-hallwrap { display: flex; flex-direction: column; justify-content: flex-end; }
  html[data-menu="vienna"] .vnm .vnm-b-hall { height: auto; }
  html[data-menu="vienna"] .vnm-word { font-size: calc(min(5.6vw, 60px) * var(--fit, 1)); }
  html[data-menu="vienna"] .vnm-under { font-size: clamp(11px, 1.45vw, 14px); line-height: 1; white-space: nowrap; top: 69%; }
  html[data-menu="vienna"] #menu .vnm-stagedoor { height: 46px; }
  html[data-menu="vienna"] .vnm-stagedoor span { font-size: 9px; letter-spacing: .08em; padding: 1px 4px; bottom: calc(100% + 3px); }
  html[data-menu="vienna"] .vnm-column { width: 92px; transform: scale(.82); transform-origin: 50% 100%; left: calc(24% - 52px); }
  html[data-menu="vienna"] .vnm-chest { left: calc(24% + 40px); transform: scale(.9); transform-origin: 50% 100%; }
}
@media (min-width: 761px) and (max-width: 960px) {
  html[data-menu="vienna"] .vnm-sign small, html[data-menu="vienna"] .vnm-under { display: none !important; }
  html[data-menu="vienna"] .vnm-box { width: 262px; }
}

/* a phone on its side (and any very short window): everything from the gate to
   the Kaffeehaus still stands on one street, nearer together */
@media (max-height: 520px) and (min-width: 761px) {
  html[data-menu="vienna"] { --v-street: 46px; }
  html[data-menu="vienna"] .vnm-top { padding: 10px 18px 0; align-items: center; }
  html[data-menu="vienna"] #menu h1.title { font-size: 28px; }
  html[data-menu="vienna"] .vnm-tag { display: none; }
  html[data-menu="vienna"] #menu .midi-row { min-height: 34px; max-width: 280px; }
  html[data-menu="vienna"] #menu .midi-status { font-size: 12px; letter-spacing: .06em; }
  html[data-menu="vienna"] .vnm-av { width: 32px; height: 32px; }
  html[data-menu="vienna"] .vnm-tx b { font-size: 16px; } html[data-menu="vienna"] .vnm-tx small { margin-top: 1px; font-size: 11px; }
  html[data-menu="vienna"] #menu .vnm-plate { padding: 3px 12px 3px 4px; gap: 8px; }
  html[data-menu="vienna"] #menu #signin-btn { height: 36px; margin: 0; padding: 0 14px; font-size: 14px; }
  html[data-menu="vienna"] .vnm-scene { height: calc(100% - 54px); }
  html[data-menu="vienna"] .vnm-sign { font-size: calc(clamp(12px, 1.7vw, 18px) * var(--sign, 1)); padding: 3px 6px 2px; margin-bottom: 5px; border-width: 1.5px; letter-spacing: .04em; }
  html[data-menu="vienna"] .vnm-sign small { display: none !important; }
  html[data-menu="vienna"] .vnm-bd { min-width: 17px; height: 17px; font-size: 10px; }
  html[data-menu="vienna"] .vnm-word { font-size: calc(min(5.4vw, 54px) * var(--fit, 1)); }
  html[data-menu="vienna"] .vnm-under { display: none; }
  html[data-menu="vienna"] .vnm-column { transform: scale(.6); transform-origin: 50% 100%; bottom: -30px; left: calc(24% - 62px); }
  html[data-menu="vienna"] .vnm-chest { transform: scale(.74); transform-origin: 50% 100%; bottom: -38px; left: calc(24% + 14px); }
  html[data-menu="vienna"] .vnm-lamp { height: 90px; width: auto; }
  html[data-menu="vienna"] .vnm-keys { display: none; }
  html[data-menu="vienna"] .vnm-bar { left: max(8px, env(safe-area-inset-left, 0px)); bottom: 6px; }
  html[data-menu="vienna"] .vnm-box { right: max(8px, env(safe-area-inset-right, 0px)); bottom: 4px; width: 300px; height: 40px; padding: 2px 10px 2px 4px; }
  html[data-menu="vienna"] .vnm-organ { width: 34px; height: 33px; }
  html[data-menu="vienna"] .vnm-mb { display: flex; align-items: center; gap: 8px; }
  html[data-menu="vienna"] .vnm-now { height: auto; flex: 0 1 auto; overflow: hidden; } html[data-menu="vienna"] .vnm-title { font-size: 13px; line-height: 16px; flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  html[data-menu="vienna"] .vnm-ctl { margin: 0; flex: 1 0 92px; }
  html[data-menu="vienna"] .vnm-hub { width: 360px; }
  html[data-menu="vienna"] #menu .vnm-chathome .vc-log { height: calc(100vh - 190px); }
}

/* a phone held upright: the hall, then the plan and the chest, then a square of
   six buildings. The page scrolls; the sky stays */
@media (max-width: 760px) {
  html[data-menu="vienna"] .vnm { height: auto; display: flex; flex-direction: column; }
  html[data-menu="vienna"] .vnm-top { padding: calc(14px + env(safe-area-inset-top, 0px)) 14px 0; gap: 7px; align-items: center; flex-wrap: wrap; }
  html[data-menu="vienna"] #menu h1.title { font-size: clamp(22px, 7.1vw, 31px); }
  html[data-menu="vienna"] .vnm-tag { font-size: 14px; margin-top: 3px; }
  html[data-menu="vienna"] #menu .vnm-plate { padding: 3px; max-width: none; }
  html[data-menu="vienna"] .vnm-plate .vnm-tx, html[data-menu="vienna"] .vnm-chev { display: none; }
  html[data-menu="vienna"] .vnm-av { width: 40px; height: 40px; }
  html[data-menu="vienna"] #menu #signin-btn { height: 40px; margin: 0; padding: 0 11px; font-size: 13px; letter-spacing: .06em; }
  html[data-menu="vienna"] .vnm-pillwrap { order: 3; margin-top: 2px; max-width: 100%; }
  html[data-menu="vienna"] #menu .midi-row { min-height: 36px; max-width: calc(100vw - 76px); padding-left: 12px; }
  html[data-menu="vienna"] #menu .midi-status { font-size: 12px; letter-spacing: .06em; }
  html[data-menu="vienna"] .vnm-pop, html[data-menu="vienna"] .vnm-tipbox { left: 0; right: auto; width: calc(100vw - 28px); }
  html[data-menu="vienna"] .vnm-scene { position: relative; flex: 1 0 auto; height: auto; margin-top: 8px; padding-bottom: calc(112px + env(safe-area-inset-bottom, 0px)); }
  html[data-menu="vienna"] .vnm-row { position: static; height: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 8px; padding: 0 12px; align-items: end; }
  html[data-menu="vienna"] .vnm .vnm-bld { width: auto; height: auto; }
  html[data-menu="vienna"] .vnm-hallwrap { grid-column: 1 / -1; order: -2; width: 60%; height: auto; justify-self: center; }
  html[data-menu="vienna"] .vnm-row .vnm-bld:not(.vnm-b-hall) .vnm-art { max-height: 112px; width: auto; max-width: 100%; }
  html[data-menu="vienna"] .vnm-word { font-size: calc(min(13.4vw, 52px) * var(--fit, 1)); }
  html[data-menu="vienna"] .vnm-under { font-size: 13px; top: 67.2%; white-space: nowrap; }
  html[data-menu="vienna"] .vnm-sign { font-size: calc(17px * var(--sign, 1)); padding: 3px 8px 2px; margin-bottom: 6px; border-width: 1.5px; }
  html[data-menu="vienna"] .vnm-sign small { display: none !important; }
  html[data-menu="vienna"] .vnm-bd { top: -8px; right: -8px; min-width: 17px; height: 17px; font-size: 10px; }
  html[data-menu="vienna"] .vnm-street { height: 96px; }
  html[data-menu="vienna"] .vnm-lamp, html[data-menu="vienna"] .vnm-keys { display: none; }
  html[data-menu="vienna"] .vnm-posters { grid-column: 1 / -1; order: -1; display: flex; gap: 10px; margin: -4px 0 4px; position: relative; z-index: 4; }
  html[data-menu="vienna"] .vnm-column, html[data-menu="vienna"] .vnm-chest { position: relative; left: auto; bottom: auto; width: auto; flex: 1 1 0; min-width: 0; min-height: 66px; display: flex; align-items: stretch; border-radius: 10px; background: rgba(8,11,28,.82); border: 1px solid var(--v-line); text-align: left; }
  html[data-menu="vienna"] .vnm-column:has(> .hidden), html[data-menu="vienna"] .vnm-chest:has(> .hidden) { display: none; }
  html[data-menu="vienna"] .vnm-column > svg, html[data-menu="vienna"] .vnm-chest > svg { display: none; }
  html[data-menu="vienna"] #menu #plan-card { position: relative; left: auto; right: auto; top: auto; flex: 1; height: auto; margin: 7px; padding: 7px 8px; text-align: left; }
  html[data-menu="vienna"] #menu #plan-card::before { inset: -8px; }
  html[data-menu="vienna"] #menu #plan-card b { -webkit-line-clamp: 2; } html[data-menu="vienna"] #menu #plan-card small { -webkit-line-clamp: 2; font-size: 13.5px; line-height: 15px; }
  html[data-menu="vienna"] #menu #daily-chest { position: static; display: flex; align-items: center; gap: 8px; flex: 1; padding: 8px 10px; text-align: left; }
  html[data-menu="vienna"] #menu #daily-chest .db-ico { display: block; font-size: 24px; line-height: 1; }
  html[data-menu="vienna"] #menu #daily-chest .db-body, html[data-menu="vienna"] #menu #daily-chest:is(:hover, :focus-visible) .db-body { position: static; transform: none; width: auto; max-width: none; padding: 0; border: none; background: none; min-width: 0; }
  html[data-menu="vienna"] #menu #daily-chest b { font-size: 12.5px; }
  html[data-menu="vienna"] #menu #daily-chest small, html[data-menu="vienna"] #menu #daily-chest:is(:hover, :focus-visible) small { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin-top: 2px; font: 500 11px/1.25 var(--v-sans); color: var(--v-dim); }
  html[data-menu="vienna"] #menu .vnm-stagedoor { width: 16%; height: 16%; right: 4%; }
  html[data-menu="vienna"] .vnm-hub { left: 12px !important; right: 12px; top: auto !important; width: auto; max-width: none; bottom: calc(74px + env(safe-area-inset-bottom, 0px)); max-height: calc(100vh - 96px) !important; max-height: calc(100dvh - 96px - env(safe-area-inset-bottom, 0px)) !important; }
  html[data-menu="vienna"] #menu .vnm-chathome .vc-log { height: min(46vh, 380px); }
  html[data-menu="vienna"] .vnm-bar { left: auto; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); }
  html[data-menu="vienna"] #menu .vnm-motion { height: 44px; padding: 0 12px; }
  html[data-menu="vienna"] .vnm-motion span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  html[data-menu="vienna"] .vnm-box { right: auto; left: 8px; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); width: min(262px, calc(100vw - 76px)); height: 54px; padding: 3px 10px 3px 5px; gap: 8px; }
  html[data-menu="vienna"] .vnm-organ { width: 44px; height: 44px; }
  html[data-menu="vienna"] .vnm-now { height: 18px; } html[data-menu="vienna"] .vnm-title { font-size: 14.5px; line-height: 18px; }
  html[data-menu="vienna"] .vnm-ctl { margin-top: 0; }
  html[data-menu="vienna"] body:has(#menu:not(.hidden)):not(.vienna-on) .voice-pill { top: auto; bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
}
