/* Browser-Demo (tools/demo-build.mjs): Inter lokal, Band oben, Hinweis für Spielaktionen */
@font-face { font-family: Inter; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Inter; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
.demo-band { position: fixed; z-index: 9999; left: 50%; top: calc(env(safe-area-inset-top, 0px) + 9px); transform: translateX(-50%);
  display: flex; align-items: center; gap: 8px; max-width: calc(100vw - 32px); padding: 4px 4px 4px 4px; border-radius: 999px;
  background: rgba(21,21,21,.9); box-shadow: 0 0 0 1px rgba(255,255,255,.12);
  color: #EBECE3; font: 500 12px/1.2 Inter, system-ui, sans-serif; text-decoration: none; white-space: nowrap; }
.demo-band b { background: #B3C719; color: #202020; padding: 4px 9px; border-radius: 999px; font-weight: 600; }
.demo-band span { overflow: hidden; text-overflow: ellipsis; color: #ADAEB0; }
.demo-band i { font-style: normal; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.1); }
.demo-band:hover i { background: rgba(255,255,255,.18); }
/* Die Verbindungs-Pille und der Rahmen würden nur „Demo“ melden – das Band übernimmt */
.is-demo #conn, .is-demo .conn-frame { display: none !important; }
@media (max-width: 900px) { .demo-band span { display: none; } }
@media (max-width: 600px) { .demo-band { left: auto; right: 12px; transform: none; } }
.demo-hint { position: fixed; z-index: 9999; left: 50%; top: 84px; transform: translate(-50%, -8px); opacity: 0; pointer-events: none;
  padding: 10px 16px; border-radius: 12px; background: rgba(21,21,21,.92); color: #fff; font: 500 14px/1.3 Inter, system-ui, sans-serif;
  box-shadow: 0 8px 24px rgba(0,0,0,.35); transition: opacity 180ms ease-out, transform 180ms ease-out; }
.demo-hint.is-on { opacity: 1; transform: translate(-50%, 0); }
