* { box-sizing: border-box; margin: 0; }
html, body { height: 100%; background: #0b0a08; color: #e8dcc0;
  font-family: Georgia, 'Times New Roman', serif; }
#game { display: flex; flex-direction: column; height: 100vh; }
#topbar { display: flex; align-items: center; gap: 14px; padding: 8px 14px;
  background: #14110c; border-bottom: 1px solid #3a2f1d; }
#brand { font-size: 15px; letter-spacing: 2px; color: #c9a86a; white-space: nowrap; }
#scenename { font-size: 14px; font-style: italic; color: #9a8a6a; flex: 1; text-align: center; }
#cluecount { font-size: 13px; color: #c9a86a; white-space: nowrap; }
#confront { font-family: inherit; font-size: 13px; padding: 6px 12px; cursor: pointer;
  background: #2a2113; color: #e8dcc0; border: 1px solid #6a5632; border-radius: 3px; }
#confront:hover { background: #3a2d18; }
#scene { position: relative; flex: 1; overflow: hidden; background: #000; }
#bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#hotspots { position: absolute; inset: 0; }
.hotspot { position: absolute; background: transparent; border: 1px solid transparent;
  cursor: pointer; border-radius: 6px; transition: all .15s; }
.hotspot:hover { background: rgba(232, 220, 192, 0.14); border-color: rgba(201, 168, 106, 0.7);
  box-shadow: 0 0 12px rgba(201, 168, 106, 0.35) inset; }
#dialogue { position: relative; margin: 0 14px; min-height: 92px; padding: 10px 16px;
  background: #14110c; border: 1px solid #3a2f1d; border-radius: 4px; }
#speaker { font-size: 13px; letter-spacing: 1px; color: #c9a86a; margin-bottom: 4px; }
#text { font-size: 15px; line-height: 1.45; min-height: 42px; }
#inventory { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 14px; min-height: 34px; }
.chip { font-size: 12px; padding: 3px 10px; background: #221b10; color: #d8c496;
  border: 1px solid #4a3c22; border-radius: 12px; }
#locbar { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 10px; }
.loc { font-family: inherit; font-size: 13px; padding: 6px 14px; cursor: pointer;
  background: #1a150d; color: #b8a67e; border: 1px solid #4a3c22; border-radius: 3px; }
.loc:hover { background: #2a2113; color: #e8dcc0; }
#overlay { position: absolute; inset: 0; display: none; align-items: center; justify-content: center;
  background: rgba(5, 4, 2, 0.88); z-index: 10; }
#overlay.show { display: flex; }
#overlay-card { max-width: 640px; width: 92%; text-align: center; padding: 24px; }
#overlay-img { width: 100%; max-height: 46vh; object-fit: cover; border: 1px solid #3a2f1d;
  margin-bottom: 18px; }
#overlay-title { font-size: 30px; letter-spacing: 3px; color: #c9a86a; margin-bottom: 12px; }
#overlay-text { font-size: 15px; line-height: 1.55; color: #d8cbb0; margin-bottom: 20px; }
#overlay-buttons { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
#overlay-buttons button { font-family: inherit; font-size: 15px; padding: 10px 22px; cursor: pointer;
  background: #2a2113; color: #e8dcc0; border: 1px solid #6a5632; border-radius: 3px; }
#overlay-buttons button:hover { background: #3a2d18; }
.suspects { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.suspect { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px;
  background: #1a150d; border: 1px solid #4a3c22; border-radius: 4px; cursor: pointer;
  font-family: inherit; color: #b8a67e; font-size: 12px; width: 108px; }
.suspect:hover { background: #2a2113; color: #e8dcc0; border-color: #6a5632; }
.suspect img { width: 84px; height: 84px; object-fit: cover; border-radius: 3px; }
