:root { color-scheme: dark; }
body.eye { margin: 0; background: #000; color: #f2f2f2; height: 100dvh; overflow: hidden; }
.eye-top { display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 12px; background: rgba(0,0,0,.92); border-bottom: 1px solid #2a2a2a; }
.eye-top img { height: 28px; width: auto; }
.eye-top h1 { font-size: 16px; margin: 0; color: #ffd21f; font-weight: 650; }
.eye-top .grow { margin-left: auto; display: flex; gap: 12px; align-items: center; }
.eye-top a { color: #f2f2f2; text-decoration: none; font-size: 14px; }
.eye-top a:hover { color: #ffe066; }
.stage { position: relative; height: calc(100dvh - 52px); }
#map { position: absolute; inset: 0; touch-action: none; }
.dock { position: absolute; z-index: 2; top: 10px; left: 10px; width: min(340px, calc(100% - 20px)); max-height: calc(100% - 20px); }
.panel {
  overflow: auto; max-height: calc(100dvh - 80px); background: rgba(0,0,0,.88);
  border: 1px solid #2a2a2a; border-radius: 14px; padding: 8px 14px 16px;
  font-size: 14px; line-height: 1.45;
}
.panel summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; color: #ffd21f; font-weight: 650; }
.panel summary::-webkit-details-marker { display: none; }
.panel h2 { font-size: 15px; margin: 12px 0 6px; color: #ffd21f; }
.panel h2::after { display: none; }
.panel label { display: flex; gap: 8px; align-items: center; min-height: 44px; }
.panel button, .panel input[type="text"] {
  min-height: 44px; border-radius: 999px; border: 1px solid #ffd21f; background: #111; color: #f2f2f2;
  padding: 8px 14px; font: inherit;
}
.panel button.on { background: #ffd21f; color: #000; font-weight: 650; }
.row { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0; }
.note { color: #a3a3a3; font-size: 13px; }
#info { white-space: pre-wrap; word-break: break-word; background: #121212; border-radius: 10px; padding: 8px; min-height: 44px; }
.mines { margin: 0; padding-left: 18px; }
.maplibregl-ctrl-attrib { font-size: 11px; }
@media (max-width: 700px) {
  .dock { top: auto; bottom: 8px; left: 8px; right: 8px; width: auto; max-height: 62dvh; }
  .panel { max-height: 62dvh; }
  .maplibregl-ctrl-bottom-right { bottom: 60px; }
  .maplibregl-ctrl-top-left { top: 8px; left: 8px; max-width: calc(100% - 64px); }
  .maplibregl-ctrl-attrib-inner { display: none; }
  .maplibregl-compact-show .maplibregl-ctrl-attrib-inner { display: block; max-width: 70vw; background: #111; }
  .eye-top h1 { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
}
