.manifest-source {
  position: fixed;
  width: 2px;
  height: 2px;
  left: 0;
  bottom: 0;
  opacity: 0;
  pointer-events: none;
}

#manifest-exit {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(255, 193, 74, 0.9);
  border-radius: 16px;
  background: rgba(28, 18, 8, 0.92);
  color: #ffe7bf;
  cursor: pointer;
  pointer-events: auto;
}

#manifest-exit i {
  font-style: normal;
  font-size: 18px;
  line-height: 1;
}

#manifest-exit span {
  font: 700 11px "Segoe UI", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#manifest-exit[hidden] { display: none; }

body.manifest-on .top-actions,
body.manifest-on .view-controls,
body.manifest-on .dock,
body.manifest-on .meters,
body.manifest-on .cam-readout,
body.manifest-on #cam-pose,
body.manifest-on #cam-copy,
body.manifest-on #outliner,
body.manifest-on #outliner-toggle,
body.manifest-on #lists,
body.manifest-on #hails,
body.manifest-on .hail-dock,
body.manifest-on #minute-mark,
body.manifest-on #minute-countdown,
body.manifest-on #dogfight-hud {
  display: none !important;
}

body.manifest-on .bottom-chrome {
  z-index: 40;
  display: flex !important;
  justify-content: center;
  background: none;
  pointer-events: none;
}

body.manifest-on #manifest-exit {
  pointer-events: auto;
}

#inventory.manifest-eye {
  z-index: 36;
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  padding:
    calc(64px + var(--frame-y) + env(safe-area-inset-top))
    calc(16px + var(--frame-x) + env(safe-area-inset-right))
    calc(var(--dock-h) + 10px + env(safe-area-inset-bottom))
    calc(16px + var(--frame-x) + env(safe-area-inset-left));
  background: transparent !important;
  pointer-events: none;
}

#inventory.manifest-eye .sheet-card {
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  width: min(440px, 38vw);
  max-width: min(440px, 38vw);
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 16px 16px 12px;
  border: 1px solid rgba(120, 196, 214, 0.45);
  border-radius: 18px;
  background: rgba(8, 14, 22, 0.94);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

#inventory.manifest-eye .sheet-thumb { display: none; }

#inventory.manifest-eye .inventory-head { flex: 0 0 auto; margin: 0 0 8px; }

#inventory.manifest-eye h2 { font-size: 26px; }

#inventory.manifest-eye #sheet-tabs {
  flex: 0 0 auto;
  display: flex;
  gap: 6px;
  margin: 0 0 8px;
}

#inventory.manifest-eye #sheet-tabs button {
  flex: 1 1 0;
  min-height: 44px;
}

#inventory.manifest-eye #sheet-body:not([hidden]),
#inventory.manifest-eye #sheet-loadout:not([hidden]),
#inventory.manifest-eye #sheet-cargo:not([hidden]),
#inventory.manifest-eye #ship-order-card:not([hidden]) {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

#inventory.manifest-eye .inventory-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
}

@media (max-width: 800px) {
  #inventory.manifest-eye {
    flex-direction: column;
    justify-content: flex-end;
    padding:
      calc(34vh + env(safe-area-inset-top))
      var(--frame-x)
      calc(var(--dock-h) + 8px + env(safe-area-inset-bottom) + var(--keyboard))
      var(--frame-x);
  }

  #inventory.manifest-eye .sheet-card {
    width: 100%;
    max-width: none;
    height: auto;
    max-height: 100%;
    flex: 1 1 auto;
    border-radius: 16px 16px 0 0;
  }

  #inventory.manifest-eye h2 { font-size: 22px; }

  #inventory.manifest-eye .power-row {
    grid-template-columns: 92px minmax(0, 1fr) auto;
  }
}

#hangar-sheet #inventory.manifest-eye .inventory-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: start;
}

#hangar-sheet #inventory.manifest-eye h2,
#hangar-sheet #inventory.manifest-eye .sheet-id,
#hangar-sheet #inventory.manifest-eye .name-row {
  overflow-wrap: normal;
  word-break: normal;
  white-space: normal;
}

#hangar-sheet #inventory.manifest-eye h2 { font-size: 18px; }

#hangar-board {
  position: fixed;
  z-index: 30;
  left: calc(12px + var(--frame-x));
  right: calc(12px + var(--frame-x));
  top: calc(54px + var(--frame-y) + env(safe-area-inset-top));
  bottom: calc(var(--dock-h) + 6px + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: min(260px, 24vw) minmax(0, 1fr) min(420px, 32vw);
  grid-template-rows: minmax(0, 1fr);
  gap: 8px;
  pointer-events: none;
  color: #e7eef8;
  font-family: "Sora", sans-serif;
}

#hangar-board[hidden] { display: none !important; }

#hangar-board > * { pointer-events: auto; }

#hangar-board > .hangar-stage { pointer-events: none; }

.hangar-stage,
.hangar-hero { pointer-events: none; }

.hangar-side,
.hangar-rail {
  background: rgba(8, 14, 24, 0.92);
  border: 1px solid rgba(90, 210, 230, 0.35);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.hangar-side {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 12px 10px;
  overflow: hidden;
}

.hangar-side header {
  margin: 2px 8px 10px;
}

.hangar-side header strong {
  color: #9ae7ff;
  font: 700 11px/1 "Sora", sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

#hangar-rows {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 0;
  overflow: auto;
}

.hangar-ship-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 52px;
  padding: 6px 8px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: #d5e2ee;
  font: 600 13px/1.2 "Sora", sans-serif;
  text-align: left;
  cursor: pointer;
}

.hangar-ship-btn img {
  width: 72px;
  height: 32px;
  object-fit: contain;
  flex: 0 0 auto;
}

.hangar-ship-btn span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hangar-ship-btn.on,
.hangar-ship-btn:hover {
  border-color: rgba(90, 210, 230, 0.45);
  background: rgba(40, 90, 110, 0.35);
  color: #fff;
}

.hangar-ship-btn.on {
  box-shadow: inset 3px 0 0 #3ee0ff;
}

.hangar-stage {
  position: relative;
  overflow: hidden;
  pointer-events: none;
}

.hangar-hero {
  position: absolute;
  left: 8px;
  top: 8px;
  max-width: min(520px, 70%);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.hangar-hero p { margin: 0; color: #9eb4c6; font-size: 13px; }
.hangar-hero h2 {
  margin: 4px 0 8px;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
}

.hangar-pills {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  align-items: center;
  pointer-events: auto;
}
#hangar-wallet {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hangar-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(8, 24, 28, 0.72);
  border: 1px solid rgba(80, 220, 140, 0.45);
  color: #b6f3c8;
  font-size: 12px;
}

.hangar-pills button {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid rgba(90, 210, 230, 0.45);
  border-radius: 999px;
  background: rgba(8, 24, 28, 0.72);
  color: #d7f6ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.hangar-pills button svg { width: 16px; height: 16px; }
.hangar-pills button:hover { color: #fff; border-color: #7ee0ff; }

#hangar-save {
  width: auto;
  min-width: 72px;
  padding: 0 14px;
  border-color: rgba(126, 224, 255, 0.8);
  background: linear-gradient(180deg, #1aa3c4, #0c6e88);
  color: #f4fbff;
  font: 700 11px/1 "Sora", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#hangar-save[hidden] { display: none; }
#hangar-save:disabled { opacity: 0.6; cursor: default; }

#hangar-ship-toggle { display: none; }

.hangar-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  padding: 10px 12px;
  border: 1px solid rgba(90, 210, 230, 0.35);
  border-radius: 10px;
  background: rgba(8, 18, 30, 0.9);
}

.hangar-facts p { margin: 0; min-width: 0; }
.hangar-facts span {
  display: block;
  color: #8fb4c8;
  font: 700 10px/1 "Sora", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hangar-facts b {
  display: block;
  margin-top: 4px;
  color: #f4f8ff;
  font: 600 14px/1.2 "Sora", sans-serif;
}

#hangar-picker {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(4, 8, 14, 0.46);
  pointer-events: auto;
}

#hangar-picker[hidden] { display: none; }

.hangar-picker-card {
  width: min(440px, calc(100% - 28px));
  max-height: min(520px, 86%);
  overflow: auto;
  padding: 14px;
  border: 1px solid rgba(120, 196, 214, 0.5);
  border-radius: 16px;
  background: rgba(8, 14, 22, 0.96);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}

.hangar-picker-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.hangar-picker-card header strong {
  color: #9ae7ff;
  font: 700 13px/1 "Sora", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hangar-picker-card header button,
.picker-choice {
  border: 1px solid rgba(90, 210, 230, 0.45);
  border-radius: 10px;
  background: rgba(10, 22, 34, 0.88);
  color: #e7eef8;
  font: 600 13px/1.2 "Sora", sans-serif;
  cursor: pointer;
}

.hangar-picker-card header button {
  min-height: 32px;
  padding: 0 12px;
}

.hangar-picker-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.picker-choice {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 6px 10px;
  text-align: left;
}

.picker-choice img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
}

.picker-choice span { min-width: 0; }
.picker-choice strong,
.picker-choice em { display: block; }
.picker-choice em {
  margin-top: 2px;
  color: #8fd8bf;
  font-style: normal;
  font-size: 11px;
}

.picker-choice.on,
.picker-choice:hover {
  border-color: #7ee0ff;
  color: #fff;
}

.picker-choice:disabled { opacity: 0.7; cursor: default; }

.picker-seat {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(126, 224, 255, 0.7);
  background: rgba(16, 48, 64, 0.72);
}

.picker-seat.is-empty {
  border-style: dashed;
  border-color: rgba(143, 180, 200, 0.45);
  background: rgba(8, 16, 26, 0.55);
}

.picker-seat img,
.picker-seat i {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  background: rgba(8, 20, 32, 0.9);
}

.picker-seat small {
  display: block;
  color: #7ee7ff;
  font: 700 10px/1 "Sora", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.picker-seat.is-empty small { color: #8fb4c8; }
.picker-seat strong,
.picker-seat em { display: block; }
.picker-seat em {
  margin-top: 2px;
  color: #8fd8bf;
  font-style: normal;
  font-size: 12px;
}

.picker-remove,
.picker-equip {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(90, 210, 230, 0.5);
  border-radius: 10px;
  background: rgba(10, 22, 34, 0.9);
  color: #f4fbff;
  font: 700 12px/1 "Sora", sans-serif;
  cursor: pointer;
}

.picker-equip {
  border-color: rgba(126, 224, 255, 0.85);
  background: linear-gradient(180deg, #1aa3c4, #0c6e88);
}

.picker-available {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.picker-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-height: 52px;
  padding: 6px 8px;
  border: 1px solid rgba(80, 160, 200, 0.28);
  border-radius: 10px;
  background: rgba(6, 14, 24, 0.55);
}

.picker-item img {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  object-fit: cover;
}

.picker-item span { min-width: 0; }
.picker-item strong,
.picker-item em { display: block; }
.picker-item em {
  margin-top: 2px;
  color: #8fd8bf;
  font-style: normal;
  font-size: 11px;
}

.picker-sliders input[type="range"] {
  width: 100%;
  height: 32px;
  margin: 0;
  touch-action: none;
}

.picker-flames {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.picker-flame {
  width: auto;
  min-height: 40px;
  padding: 0 12px 0 28px;
  background-image: radial-gradient(circle at 12px 50%, var(--flame, #4db4ff) 0 6px, transparent 7px);
}

.picker-sliders { display: flex; flex-direction: column; gap: 12px; }
.picker-sliders label {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 42px;
  gap: 8px;
  align-items: center;
  color: #d5e4f2;
  font: 600 13px/1 "Sora", sans-serif;
}
.picker-sliders b {
  color: #f4f8ff;
  font-weight: 600;
  text-align: right;
}

#hangar-schematic {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transform: translate(-50%, -50%);
  color: #e7f7ff;
  pointer-events: none;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}

#hangar-schematic[hidden] { display: none; }

#hangar-schematic i {
  width: 42px;
  height: 42px;
  border: 3px solid rgba(126, 231, 255, 0.28);
  border-top-color: #7ee7ff;
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(126, 231, 255, 0.35);
  animation: hangar-spin 0.8s linear infinite;
}

#hangar-schematic span {
  font: 600 14px/1.2 "Sora", sans-serif;
  letter-spacing: 0.04em;
}

@keyframes hangar-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  #hangar-schematic i { animation: none; }
}

.hangar-tabs button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(90, 210, 230, 0.4);
  border-radius: 10px;
  background: rgba(10, 22, 34, 0.88);
  color: #e7eef8;
  font: 600 12px/1 "Sora", sans-serif;
  cursor: pointer;
}

.hangar-tabs button.on,
.hangar-tabs button:hover {
  border-color: #7ee0ff;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(126, 224, 255, 0.35);
}

.hangar-rail {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 8px;
  overflow: hidden;
  pointer-events: auto;
}

.hangar-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
  pointer-events: auto;
}

.hangar-tabs button { flex: 1 1 0; min-height: 40px; }

#hangar-sheet {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  pointer-events: auto;
  touch-action: pan-y;
}

#hangar-sheet #inventory.manifest-eye {
  position: relative !important;
  inset: auto !important;
  z-index: auto;
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  padding: 0;
  overflow: visible;
  pointer-events: auto;
}

#hangar-sheet #inventory.manifest-eye .sheet-card {
  width: 100%;
  max-width: none;
  height: auto;
  max-height: none;
  overflow: visible;
  border: 0;
  border-radius: 10px;
  box-shadow: none;
  background: rgba(6, 12, 20, 0.55);
}

#hangar-sheet #inventory.manifest-eye #sheet-body:not([hidden]),
#hangar-sheet #inventory.manifest-eye #sheet-loadout:not([hidden]),
#hangar-sheet #inventory.manifest-eye #sheet-cargo:not([hidden]),
#hangar-sheet #inventory.manifest-eye #ship-order-card:not([hidden]),
#hangar-sheet #inventory.manifest-eye .inventory-scroll {
  display: block;
  height: auto;
  max-height: none;
  overflow: visible;
  flex: none;
}

#hangar-board .hangar-fits { grid-template-columns: 1fr; }

#hangar-board .hangar-captain {
  width: 100%;
  min-height: 72px;
}

#hangar-board .hangar-flame {
  background-color: rgba(20, 30, 44, 0.7);
  background-image: none;
}

#hangar-board .hangar-slot select,
#hangar-board .hangar-captain,
#hangar-board .hangar-flame,
#hangar-board input[type="range"] {
  pointer-events: auto;
}

#hangar-board input[type="range"] { touch-action: none; }

#hangar-sheet #inventory.manifest-eye #sheet-tabs,
#hangar-sheet #inventory.manifest-eye #ship-captain { display: none; }

@media (max-width: 800px) {
  #hangar-board {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(260px, 1fr) minmax(200px, 36vh);
    overflow: visible;
  }

  .hangar-side {
    position: relative;
    z-index: 5;
    padding: 0;
    overflow: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .hangar-side header { display: none; }

  #hangar-ship-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid rgba(90, 210, 230, 0.45);
    border-radius: 12px;
    background: rgba(8, 14, 24, 0.94);
    color: #e7eef8;
    font: 600 14px/1 "Sora", sans-serif;
    cursor: pointer;
  }

  #hangar-ship-toggle span {
    color: #9ae7ff;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  #hangar-ship-toggle em {
    margin-left: auto;
    font-style: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  #hangar-ship-toggle::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid #9ae7ff;
    border-bottom: 2px solid #9ae7ff;
    transform: rotate(45deg) translateY(-2px);
  }

  #hangar-rows { display: none; }

  #hangar-board.ships-open #hangar-rows {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    z-index: 6;
    max-height: 280px;
    padding: 8px;
    border: 1px solid rgba(90, 210, 230, 0.45);
    border-radius: 12px;
    background: rgba(8, 14, 24, 0.98);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
  }

  .hangar-hero h2 { font-size: 22px; }

  .hangar-facts { gap: 8px 12px; }
  .hangar-facts b { font-size: 13px; }
}

body.manifest-on #own-ship-arrow { display: none !important; }

#hangar-overview {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 56px;
}

#hangar-board[data-tab="ship"] #hangar-sheet { display: none; }
#hangar-board:not([data-tab="ship"]) #hangar-overview { display: none; }

.stat-card,
.fit-card {
  border: 1px solid rgba(90, 190, 220, 0.42);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(8, 22, 38, 0.94), rgba(5, 12, 22, 0.94));
  padding: 10px 12px 12px;
}

.stat-card header,
.fit-card header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
  color: #9ae7ff;
  font: 600 12px/1 "Sora", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stat-card header b,
.fit-card header span {
  color: #f4f8ff;
  letter-spacing: 0;
  font-size: 14px;
}

.stat-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px;
  gap: 8px;
  align-items: center;
}

.stat-row {
  display: grid;
  grid-template-columns: 16px 58px minmax(0, 1fr) auto;
  gap: 6px;
  align-items: center;
  margin: 6px 0;
  color: #d5e4f2;
  font: 500 12px/1 "Sora", sans-serif;
}

.stat-row svg {
  width: 16px;
  height: 16px;
  color: #7ee7ff;
}

.stat-bar {
  display: block;
  height: 7px;
  border-radius: 4px;
  background: rgba(70, 130, 160, 0.28);
  overflow: hidden;
}

.stat-bar b {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, #1498bc, #8ef3ff);
  box-shadow: 0 0 8px rgba(126, 231, 255, 0.45);
}

.stat-row em {
  font-style: normal;
  color: #f4f8ff;
  font-variant-numeric: tabular-nums;
}

.stat-hull {
  width: 96px;
  height: 132px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(80, 200, 255, 0.35));
}

.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.fit-grid article {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 28px;
  gap: 8px;
  align-items: center;
  min-height: 58px;
  padding: 6px;
  border: 1px solid rgba(80, 160, 200, 0.35);
  border-radius: 8px;
  background: rgba(6, 16, 28, 0.72);
}

.fit-grid article.is-empty {
  border-style: dashed;
}

.fit-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 6px;
  background: rgba(8, 20, 32, 0.9);
  color: #7ee7ff;
}

.fit-mark svg { width: 22px; height: 22px; }

.fit-edit {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid rgba(90, 210, 230, 0.45);
  border-radius: 8px;
  background: rgba(8, 24, 28, 0.72);
  color: #d7f6ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.fit-edit svg { width: 14px; height: 14px; }
.fit-edit:hover { color: #fff; border-color: #7ee0ff; }

.fit-grid img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 6px;
  background: rgba(8, 20, 32, 0.9);
}

.fit-grid strong,
.fit-grid em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fit-grid strong {
  color: #f4f8ff;
  font: 600 13px/1.2 "Sora", sans-serif;
}

.fit-grid em {
  margin-top: 3px;
  color: #8fd8bf;
  font: 500 11px/1.3 "Sora", sans-serif;
  font-style: normal;
}

.fit-empty {
  margin: 0;
  color: #9eb0c4;
  font: 500 13px/1.4 "Sora", sans-serif;
}
