.titan-page .side-scroll { padding-bottom: 30px; }
.titan-page .brand { margin-bottom: 16px; }
.titan-brand-mark { color: #39d7cd; }

.titan-panel {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.titan-panel:first-of-type { border-top: 0; padding-top: 0; }
.titan-panel .panel-head { margin-bottom: 11px; }
.titan-panel h2 { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }

.titan-button-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px;
}

.titan-button-row .btn { min-height: 36px; padding: 0 10px; font-size: 9.5px; }
.titan-clear-btn {
  width: 100%;
  min-height: 30px;
  margin-top: 6px;
  border-color: transparent;
  background: transparent;
  color: #6e828b;
  font-size: 9px;
}
.titan-clear-btn:hover { color: #ffb0a9; }

.titan-hint {
  margin: 8px 0 0;
  color: #71858e;
  font-size: 8.8px;
  line-height: 1.45;
}

.titan-field {
  display: block;
  margin-bottom: 9px;
}
.titan-field > span {
  display: block;
  margin-bottom: 4px;
  color: #8fa3aa;
  font-size: 8.5px;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.titan-select {
  width: 100%;
  height: 34px;
  padding: 0 9px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  outline: none;
  background: #0e171e;
  color: #e2f0f1;
  font-family: var(--font);
  font-size: 10px;
  cursor: pointer;
}
.titan-select:focus { border-color: rgba(57, 215, 205, .55); }

.titan-spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  margin-top: 10px;
}
.titan-spec {
  min-height: 44px;
  padding: 7px 8px;
  border: 1px solid rgba(141, 161, 173, .13);
  border-radius: 7px;
  background: rgba(255, 255, 255, .018);
}
.titan-spec small { display: block; color: #6f838c; font-size: 7.5px; line-height: 1.2; }
.titan-spec b { display: block; margin-top: 4px; color: #e3f0f1; font-family: "Cascadia Mono", "Consolas", monospace; font-size: 10px; font-weight: 500; }
.titan-spec.accent b { color: var(--teal); }

.titan-add-btn { width: 100%; min-height: 37px; margin-bottom: 8px; font-size: 9.5px; }

.titan-camera-list { display: grid; gap: 4px; }
.titan-camera-row {
  display: grid;
  grid-template-columns: 26px 1fr auto 20px;
  gap: 7px;
  align-items: center;
  min-height: 42px;
  padding: 5px 7px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: rgba(255, 255, 255, .018);
  color: #c7d8dc;
  font-size: 9px;
  cursor: pointer;
}

.titan-row-main { min-width: 0; }
.titan-row-main b { display: block; overflow: hidden; color: #dcebed; font-size: 9.5px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.titan-row-main small { display: block; overflow: hidden; margin-top: 2px; color: #71858d; font-size: 7.5px; text-overflow: ellipsis; white-space: nowrap; }
.titan-camera-row:hover { background: rgba(255, 255, 255, .04); }
.titan-camera-row.is-selected { border-color: rgba(214, 145, 45, .4); background: rgba(214, 145, 45, .07); }
.titan-row-num { color: var(--teal); font-family: "Cascadia Mono", "Consolas", monospace; font-size: 9px; }
.titan-row-az { color: #849aa2; font-family: "Cascadia Mono", "Consolas", monospace; font-size: 8.5px; }
.titan-camera-row .titan-row-del {
  width: 20px;
  height: 20px;
  border: 0;
  background: transparent;
  color: #6f838c;
  cursor: pointer;
}
.titan-camera-row .titan-row-del:hover { color: #ff817a; }

.titan-editor {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(141, 161, 173, .18);
}

.titan-editor-field { margin-bottom: 9px; }
.titan-editor-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.titan-editor-head b { color: #e1eff0; font-size: 10px; font-weight: 600; }
.titan-delete-btn {
  border: 0;
  background: transparent;
  color: #b47c76;
  font-size: 8.5px;
  cursor: pointer;
}
.titan-delete-btn:hover { color: #ff817a; }
.titan-editor .range { width: 100%; }
.titan-range-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 2px;
  color: #5f737c;
  font-family: "Cascadia Mono", "Consolas", monospace;
  font-size: 7.5px;
}

.titan-sector-canvas {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.titan-pin {
  position: relative;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 2px solid #39d7cd;
  border-radius: 50%;
  background: #0b171d;
  color: #a8f4ed;
  box-shadow: 0 5px 14px rgba(0, 0, 0, .4);
  cursor: pointer;
}
.titan-pin:hover { border-color: #8ff8ef; }
.titan-pin.is-selected { border-color: #f0b35e; color: #ffdba4; }
.titan-pin svg { width: 21px; height: 21px; }
.titan-pin-index {
  position: absolute;
  right: -5px;
  bottom: -4px;
  display: grid;
  width: 15px;
  height: 15px;
  place-items: center;
  border-radius: 50%;
  background: #f0b35e;
  color: #241704;
  font-family: "Cascadia Mono", "Consolas", monospace;
  font-size: 7px;
  font-weight: 700;
}
.titan-pin-label {
  position: absolute;
  top: 42px;
  left: 50%;
  padding: 3px 6px;
  border: 1px solid rgba(141, 161, 173, .18);
  border-radius: 4px;
  background: rgba(8, 19, 24, .88);
  color: #deedef;
  font-size: 8px;
  white-space: nowrap;
  transform: translateX(-50%);
}

.titan-handle {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid rgba(240, 179, 94, .85);
  border-radius: 50%;
  background: rgba(20, 24, 18, .9);
  color: #ffd79a;
  cursor: grab;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .35);
}
.titan-handle:active { cursor: grabbing; }
.titan-handle svg { width: 15px; height: 15px; }

.titan-legend .legend-item { gap: 6px; }
.titan-legend-perimeter { width: 14px; height: 0; border-top: 1.5px dashed #39d7cd; }
.titan-legend-sector {
  width: 14px;
  height: 14px;
  border: 1px solid rgba(57, 215, 205, .6);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 166, 166, .45), rgba(10, 166, 166, .04) 70%);
}
.titan-legend-camera {
  width: 12px;
  height: 12px;
  border: 1px solid #39d7cd;
  border-radius: 50%;
  background: #0b171d;
}

.titan-export-btn {
  width: 100%;
  min-height: 34px;
  margin: 0 0 9px;
  border-color: rgba(57, 215, 205, .3);
  background: rgba(57, 215, 205, .08);
  color: #8ff4eb;
  font-size: 9.5px;
}

.titan-page .map-controls { right: 18px; bottom: 72px; }

@media (max-width: 900px) {
  .titan-page .side-scroll { padding-bottom: 26px; }
  .titan-page .map-controls { bottom: 20px; }
}
