html, body {
  margin: 0;
  height: 100%;
  width: 100%;
  background: #111;
  overflow: hidden;
}

.hidden { display: none !important; }

#room {
  position: fixed;
  inset: 0;
  background-repeat: no-repeat;
  background-position: 0% center;
  background-size: auto 100%;
  background-image: url("longoffice.png");
  will-change: background-position;
  cursor: grab;
  z-index: 1;
}
#room:active { cursor: grabbing; }

.icon {
  position: absolute;
  width: 110px;
  cursor: pointer;
  z-index: 2;
  transition: transform 0.2s;
}
.icon:hover { transform: scale(1.1); }

#closeup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10;
}
.closeup-content {
  display: flex;
  gap: 2rem;
  align-items: center;
  background: rgba(255,255,255,0.05);
  padding: 20px;
  border-radius: 12px;
  max-width: 90%;
  max-height: 80%;
  overflow: auto;
}
.photo { position: relative; display: inline-block; }
#closeup-img {
  max-width: 40vw;
  max-height: 70vh;
  border: 3px solid #fff;
  border-radius: 12px;
  display: block;
}
#closeup-text {
  max-width: 40vw;
  color: white;
  font-size: 1.1rem;
  line-height: 1.5;
}

.pin-layer { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.pin {
  position: absolute;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #ff3b3b;
  border: 2px solid #fff;
  transform: translate(-50%, -50%);
  box-shadow: 0 2px 10px rgba(0,0,0,.35);
  cursor: pointer;
  pointer-events: auto;
}
.bubble {
  position: absolute;
  transform: translate(-50%, -110%);
  background: rgba(0,0,0,0.85);
  color: #fff;
  padding: 8px 10px;
  border-radius: 10px;
  font: 13px/1.3 system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  white-space: nowrap;
  border: 1px solid rgba(255,255,255,0.2);
  pointer-events: none;
}
.bubble::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -6px;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(0,0,0,0.85);
}

.console-shell {
  position: fixed;
  bottom: 0;
  left: 50%;
  --y: 100%;
  --scale: 1;
  transform: translate(-50%, var(--y)) scale(var(--scale));
  transform-origin: bottom center;
  transition: transform 0.5s ease-in-out;
  z-index: 9999;
}
.console-shell.active { transform: translate(-50%, 0); }

#consoleshell {
  background: url("Gameshell.png") no-repeat center center;
  background-size: contain;
  position: relative;
  width: 1800px;
  height: 1000px;
  margin: 0 auto;
}

.invisible-btn {
  position: absolute;
 background: transparent;
  cursor: pointer;
  border: none;
}

.screen {
  position: absolute;
  top: 195px;
  left: 660px;
  width: 360px;
  height: 290px;
  background: black;
  border: 4px solid #222;
  display: flex;
  justify-content: center;
  align-items: center;
}
#Game {
  background: #111;
  border: 2px solid white;
  width: 100%;
  height: 100%;
}

.startmenu {
  position: fixed; inset: 0;
  display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(10,10,10,1), rgba(10,14,18,.65));
  z-index: 10000;
}
.startmenu-intro {
  max-width: min(800px, 92vw);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,0,0,0.4);
  backdrop-filter: blur(8px);
  color: #eaf1ff; padding: 20px; border-radius: 17px;
}
.startmenu-actions { display:flex; gap:10px; margin-top: 13px; }
.btnContinue { padding: 10px 14px; border-radius: 10px; border: 1px solid #ffffff44; background: #a50e0e; color:#fff; cursor: pointer; }
kbd { border: 1px solid #ffffff44; border-bottom-width: 3px; padding: 0 6px; border-radius: 6px; background: #0b0f14; }

.gs-toggle {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 10001;            
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid #ffffff44;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font: 16px/1.1 system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.35);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

@media (min-width: 900px) { .gs-toggle { display: none; } }
.console-shell.active ~ .gs-toggle {
  background: rgba(209, 21, 21, 0.75);
  border-color: rgba(209, 21, 21, 0.75);
}



