body {
  background: black;
  color: #ddd;
  font-family: 'Times New Roman', Times, serif;
  margin: 0;
  padding: 20px;
  overflow-x: hidden;
}

a {
  color: #aaa;
  text-decoration: none;
  border-bottom: 1px dotted #333;
}

a:hover {
  color: white;
  border-bottom: 1px solid white;
}

.archived-notice {
  background-color: black;
  color: white;
  width: calc(100% + 40px);
  margin: -20px 0 20px -20px;
  border: 1px solid #333;
  border-left: none;
  border-right: none;
  font-family: 'Times New Roman', Times, serif;
  position: relative;
  left: 0;
}
.archived-notice p {
  margin: 0;
  font-size: 11px;
  text-align: center;
  padding: 3px 0;
}
.archived-notice a {
  color: white;
}
.archived-notice a:hover {
  color: #ff0000;
}

.title {
  text-align: center;
  margin-bottom: 20px;
}

.title button {
  background: none;
  border: none;
  cursor: pointer;
}

h1 {
  font-family: 'Times New Roman', Times, serif;
  font-size: 60px;
  font-weight: normal;
  letter-spacing: -2px;
  color: #f0f0f0;
  margin: 0;
  text-shadow: 0 0 15px rgba(255,255,255,0.7);
  border-bottom: 1px solid #222;
  padding-bottom: 5px;
}

hr {
  border: none;
  border-top: 1px solid #222;
  width: 70%;
  margin: 5px auto 20px;
}

.main {
  display: flex;
  gap: 20px;
  position: relative;
  min-height: 70vh;
}

.nav {
  width: 100px;
  border-right: 1px solid #222;
  padding-right: 10px;
}

.nav button {
  background: none;
  border: 1px solid #333;
  color: #aaa;
  font-size: 18px;
  padding: 5px 10px;
  cursor: pointer;
  width: 100%;
  text-align: left;
  font-family: 'Times New Roman', Times, serif;
}

.nav button:hover {
  color: white;
  border-color: white;
}

.archive {
  flex: 1;
  position: relative;
  background: #0a0a0a;
  border: 1px solid #222;
  min-height: 600px;
  overflow: hidden;
}

.draggable {
  position: absolute;
  cursor: move;
  user-select: none;
  max-width: 250px;
  border: none;
  box-shadow: none;
}

#weaponfound {
  cursor: move;
  z-index: 10;
}

#photo {
  z-index: 20;
}

.message {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.9);
  color: white;
  padding: 20px 30px;
  border: 2px solid #444;
  text-align: center;
  font-size: 24px;
  z-index: 1000;
  display: none;
  pointer-events: none;
  animation: flicker 2s infinite;
}

@keyframes flicker {
  0% { opacity: 1; }
  2% { opacity: 0.9; }
  4% { opacity: 1; }
  96% { opacity: 1; }
  98% { opacity: 0.9; }
  100% { opacity: 1; }
}

footer {
  margin-top: 20px;
  text-align: right;
  border-top: 1px solid #222;
  padding-top: 10px;
}

footer img {
  filter: invert(40%);
}

.home-message {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: black;
  color: white;
  font-family: 'Times New Roman', Times, serif;
  font-size: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.05s;
  text-shadow: 0 0 20px white;
}

.home-message.show {
  opacity: 1;
}

.credits-icon {
  position: fixed;
  bottom: 15px;
  left: 15px;
  width: 40px;
  cursor: pointer;
  opacity: 0.7;
  z-index: 100;
  transition: opacity 0.2s;
  border: none;
  filter: drop-shadow(0 0 5px rgba(255,255,255,0.3));
}

.credits-icon:hover {
  opacity: 1;
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.6));
}

.credits-panel {
  position: fixed;
  bottom: 70px;
  left: 15px;
  width: 260px;
  background: #0a0a0a;
  border: 1px solid #444;
  padding: 15px;
  color: #ddd;
  font-family: 'Times New Roman', Times, serif;
  z-index: 200;
  display: none;
  box-shadow: 0 0 20px rgba(255,255,255,0.2);
}

.credits-panel.show {
  display: block;
}

.credits-panel h4 {
  margin: 0 0 10px 0;
  color: #f0f0f0;
  border-bottom: 1px solid #333;
  padding-bottom: 4px;
}

.credits-panel pre {
  font-family: 'Times New Roman', Times, serif;
  font-size: 14px;
  white-space: pre-wrap;
  margin: 0 0 15px 0;
  color: #bbb;
  line-height: 1.4;
}

.credits-panel a {
  display: block;
  color: #aaa;
  text-decoration: none;
  margin-bottom: 6px;
  border-bottom: 1px dotted #333;
}

.credits-panel a:hover {
  color: white;
  border-bottom: 1px solid white;
}

.close-credits {
  float: right;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: #aaa;
}

.close-credits:hover {
  color: white;
}

/* mobile stuff again */
@media screen and (max-width: 600px) {
  body {
    padding: 10px;
  }

  .archived-notice {
    width: calc(100% + 20px);
    margin: -10px 0 15px -10px;
  }

  .title h1 {
    font-size: 40px;
  }

  .main {
    flex-direction: column;
    gap: 10px;
  }

  .nav {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #222;
    padding-right: 0;
    padding-bottom: 10px;
  }

  .nav button {
    width: auto;
    display: inline-block;
    margin-right: 10px;
  }

  .archive {
    min-height: 50vh;
    width: 100%;
  }

  .draggable {
    max-width: 150px;
  }

  .credits-panel {
    width: 200px;
    font-size: 14px;
    bottom: 60px;
    left: 10px;
  }

  .credits-icon {
    width: 30px;
    bottom: 10px;
    left: 10px;
  }

  .home-message {
    font-size: 80px;
  }
}

@media screen and (max-width: 400px) {
  .title h1 {
    font-size: 32px;
  }

  .nav button {
    font-size: 14px;
  }

  .draggable {
    max-width: 120px;
  }
}