@import url("./venue-fonts.css");

:root {
  --page-width: 1200px;
  --page-height: 700px;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  min-width: var(--page-width);
  min-height: var(--page-height);
  margin: 0;
  padding: 0;
  background: #000;
}

/*
  The outer shell does not scroll. The page loaded inside #site-frame
  keeps its own normal vertical and horizontal scrolling.
*/
.shell-body {
  overflow: hidden;
}

#content-area {
  position: fixed;
  inset: 0;
  min-width: var(--page-width);
  min-height: var(--page-height);
}

#site-frame {
  display: block;
  width: 100%;
  height: 100%;
  min-width: var(--page-width);
  min-height: var(--page-height);
  border: 0;
  background: #000;
}

/* Windows 95-style floating panels */
.retro-window {
  background: #c0c0c0;
  color: #000;
  border: 2px outset #fff;
  box-shadow: 2px 2px 0 #000;
}

.retro-titlebar {
  min-height: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 3px 2px 6px;
  color: #fff;
  background: #000080;
  font-weight: bold;
}

.retro-window-body {
  padding: 12px;
}

.retro-window button {
  font: inherit;
  color: #000;
  background: #c0c0c0;
  border: 2px outset #fff;
}

.retro-window button:active {
  border-style: inset;
}

.titlebar-button {
  min-width: 23px;
  min-height: 21px;
  padding: 0;
}

/*
  Fixed desktop-sized chat window. It no longer shrinks according to
  100vw/100vh, because the shell deliberately uses a 1400px canvas.
*/
.floating-window {
  position: fixed;
  z-index: 60000;
  top: 24px;
  right: 18px;
  width: 430px;
  height: 620px;
}

#chat-frame {
  width: 100%;
  height: calc(100% - 25px);
  border: 0;
  background: #fff;
}

/* Browser-audio fallback */
.fallback-player {
  position: fixed;
  z-index: 60000;
  left: 14px;
  bottom: 14px;
  width: 380px;
}

#fallback-audio {
  width: 100%;
}

/*
  Give Webamp the whole visible shell as its movement area.
  Webamp itself turns pointer events back on for its windows.
*/
#webamp-anchor {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: var(--page-width);
  min-height: var(--page-height);
  pointer-events: none;
}
