.epps-embed {
  color-scheme: dark;
  --bg: #071019;
  --bg-soft: #101d29;
  --panel: rgba(11, 20, 31, 0.94);
  --panel-border: rgba(147, 202, 230, 0.2);
  --panel-line: rgba(167, 217, 242, 0.08);
  --text: #eff6fb;
  --muted: #97abc0;
  --accent: #8ad3ef;
  --accent-strong: #cde58f;
  --accent-warm: #f1c978;
  --danger: #ff8c8c;
  --shadow: 0 26px 60px rgba(0, 0, 0, 0.28);
}

.epps-embed,
.epps-embed * {
  box-sizing: border-box;
}

.epps-embed {
  margin: 0;
  min-height: 100%;
  background:
    linear-gradient(rgba(138, 211, 239, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(138, 211, 239, 0.03) 1px, transparent 1px),
    radial-gradient(circle at top left, rgba(138, 211, 239, 0.18), transparent 26%),
    radial-gradient(circle at bottom right, rgba(205, 229, 143, 0.07), transparent 24%),
    linear-gradient(180deg, #061019 0%, #0b1420 40%, #0e1924 100%);
  background-size: 26px 26px, 26px 26px, auto, auto, auto;
  color: var(--text);
  font-family: "Bahnschrift", "Segoe UI", Tahoma, sans-serif;
}

.epps-embed {
  min-height: 100vh;
}

.epps-embed button,
.epps-embed input,
.epps-embed select,
.epps-embed textarea {
  font: inherit;
}

.epps-embed .app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto auto 1fr;
}

.epps-embed .app-header,
.epps-embed .app-main {
  width: min(1360px, 100%);
  margin: 0 auto;
  padding: 18px 20px;
}

.epps-embed .app-header {
  padding-top: max(20px, env(safe-area-inset-top, 0px) + 14px);
  padding-bottom: 10px;
}

.epps-embed .header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.epps-embed .tool-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.epps-embed .tool-title-row .eyebrow {
  margin-bottom: 4px;
}

.epps-embed .tool-version {
  flex: 0 0 auto;
  color: var(--accent-warm);
  font-weight: 700;
}

.epps-skill-dialog {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(2, 7, 12, 0.76);
  backdrop-filter: blur(8px);
}

.epps-skill-dialog__panel {
  width: min(520px, 100%);
  max-height: min(720px, calc(100vh - 40px));
  overflow-y: auto;
  padding: 20px;
  border: 1px solid rgba(138, 211, 239, 0.42);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(18, 35, 50, 0.99), rgba(7, 16, 25, 0.99));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.56);
}

.epps-skill-dialog__panel .field-block {
  margin-top: 18px;
}

.epps-embed:fullscreen {
  overflow-y: auto;
  background: var(--bg);
}

.epps-embed .app-header h1,
.epps-embed .section-heading h2 {
  margin: 0;
  font-size: clamp(1.35rem, 3.2vw, 2.05rem);
  letter-spacing: 0.01em;
}

.subtitle,
.helper-text,
.history-item p,
.empty-state,
.result-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.eyebrow {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  color: var(--accent);
}

.epps-embed .app-main {
  display: grid;
  gap: 16px;
  padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px));
}

.epps-embed .sound-credit {
  padding: 6px 2px 0;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
}

.epps-embed .sound-credit a {
  color: var(--accent);
}

.panel {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 36%),
    linear-gradient(180deg, rgba(18, 31, 45, 0.98), rgba(11, 20, 31, 0.95));
  border: 1px solid var(--panel-border);
  border-radius: 22px;
  padding: 16px;
  box-shadow: var(--shadow);
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, rgba(138, 211, 239, 0.5), rgba(241, 201, 120, 0.24), transparent 88%);
}

.hero-panel,
.section-heading,
.result-card__header,
.history-item__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.section-heading {
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--panel-line);
}

.hero-name {
  min-width: 200px;
}

.stat-grid,
.form-grid,
.history-list,
.tablet-grid,
.tracker-grid,
.gear-grid {
  display: grid;
  gap: 14px;
}

.form-grid {
  margin-top: 14px;
}

.form-grid--damage {
  grid-template-columns: 1fr;
}

.form-grid--two,
.form-grid--tracker {
  grid-template-columns: 1fr;
}

.text-input {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border-radius: 14px;
  border: 1px solid rgba(157, 221, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 60%),
    rgba(5, 11, 18, 0.8);
  color: var(--text);
}

.text-input:focus {
  outline: 2px solid rgba(116, 212, 255, 0.26);
  border-color: rgba(116, 212, 255, 0.45);
}

.epps-embed .text-input[readonly] {
  cursor: default;
  color: var(--text);
  background: rgba(5, 11, 18, 0.58);
}

.button-row,
.preset-row,
.quick-apply {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.button-row--end {
  justify-content: flex-end;
}

.status-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.summary-pill {
  padding: 8px 11px;
  border-radius: 999px;
  border: 1px solid rgba(157, 221, 255, 0.14);
  background: rgba(8, 14, 22, 0.72);
  color: var(--muted);
}

.summary-pill--armor {
  border-color: rgba(116, 212, 255, 0.48);
  background: rgba(15, 83, 116, 0.34);
  color: var(--text);
  font-weight: 700;
}

.tracker-status-strip {
  justify-content: flex-end;
  gap: 12px;
}

.tracker-status-strip .summary-pill {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  padding: 10px 16px;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.26);
}

.tracker-status-strip .summary-pill--armor {
  border-width: 2px;
  border-color: rgba(116, 222, 255, 0.9);
  background: linear-gradient(135deg, rgba(15, 121, 165, 0.86), rgba(8, 44, 78, 0.96));
  box-shadow: 0 0 22px rgba(68, 203, 255, 0.28), 0 10px 24px rgba(0, 0, 0, 0.3);
  font-size: 1.16rem;
}

.tracker-status-pill--penalty {
  border: 2px solid rgba(255, 191, 90, 0.75) !important;
  background: linear-gradient(135deg, rgba(106, 65, 9, 0.82), rgba(55, 31, 6, 0.96)) !important;
  box-shadow: 0 0 18px rgba(255, 179, 54, 0.2), 0 10px 24px rgba(0, 0, 0, 0.3) !important;
}

.summary-pill--critical {
  min-width: 86px;
  justify-content: center;
  border-color: rgba(255, 140, 140, 0.48);
  background: linear-gradient(135deg, rgba(86, 18, 18, 0.9), rgba(43, 10, 10, 0.92));
  color: #ffd6d6;
  font-weight: 700;
  letter-spacing: 0.06em;
  box-shadow: 0 0 0 1px rgba(255, 140, 140, 0.16), 0 8px 20px rgba(48, 8, 8, 0.28);
}

.accent-button,
.ghost-button,
.chip-button,
.nav-button {
  border-radius: 14px;
  border: 1px solid rgba(157, 221, 255, 0.16);
  color: var(--text);
  background: rgba(9, 17, 26, 0.9);
  padding: 11px 14px;
}

.file-button {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.file-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.accent-button {
  background: linear-gradient(135deg, rgba(138, 211, 239, 0.24), rgba(205, 229, 143, 0.16));
  border-color: rgba(138, 211, 239, 0.46);
}

.accent-button--roller {
  background: linear-gradient(135deg, rgba(118, 214, 104, 0.34), rgba(63, 173, 86, 0.22));
  border-color: rgba(118, 214, 104, 0.52);
  color: #efffef;
  box-shadow: 0 10px 22px rgba(25, 78, 31, 0.22);
}

.epps-embed .tracker-button {
  min-width: 86px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.epps-embed .tracker-button--damage {
  color: #ffe7e7;
  border-color: rgba(255, 111, 111, 0.58);
  background: linear-gradient(135deg, rgba(166, 39, 48, 0.82), rgba(91, 18, 29, 0.9));
  box-shadow: 0 8px 20px rgba(102, 19, 31, 0.28);
}

.epps-embed .tracker-button--heal {
  color: #efffec;
  border-color: rgba(131, 230, 121, 0.58);
  background: linear-gradient(135deg, rgba(49, 128, 67, 0.84), rgba(25, 78, 40, 0.92));
  box-shadow: 0 8px 20px rgba(22, 91, 42, 0.25);
}

.chip-button {
  padding: 9px 12px;
  border-radius: 999px;
}

.stat-card h2,
.result-card strong {
  font-size: 1.3rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(157, 221, 255, 0.2);
  background: rgba(9, 17, 26, 0.72);
  color: var(--text);
}

.badge--success {
  border-color: rgba(183, 255, 122, 0.45);
  color: var(--accent-strong);
}

.badge--danger {
  border-color: rgba(255, 140, 140, 0.45);
  color: var(--danger);
}

.badge--accent {
  border-color: rgba(116, 212, 255, 0.45);
  color: var(--accent);
}

.result-card,
.history-item {
  margin-top: 12px;
  padding: 13px;
  border-radius: 16px;
  background: rgba(4, 10, 16, 0.54);
  border: 1px solid rgba(157, 221, 255, 0.1);
}

.result-card--secondary {
  background: rgba(7, 13, 20, 0.38);
}

.result-card--free {
  border-color: rgba(241, 201, 120, 0.42);
  background: linear-gradient(180deg, rgba(78, 59, 18, 0.58), rgba(33, 24, 8, 0.5));
}

.result-card--success {
  border-color: rgba(183, 255, 122, 0.34);
  background: linear-gradient(180deg, rgba(29, 54, 27, 0.58), rgba(8, 20, 12, 0.5));
}

.result-card--danger {
  border-color: rgba(255, 140, 140, 0.34);
  background: linear-gradient(180deg, rgba(63, 26, 26, 0.58), rgba(24, 10, 10, 0.5));
}

.result-card p + p,
.history-item p {
  margin-top: 8px;
}

.history-item--success {
  border-color: rgba(183, 255, 122, 0.34);
  background: linear-gradient(180deg, rgba(29, 54, 27, 0.42), rgba(8, 20, 12, 0.4));
}

.history-item--danger {
  border-color: rgba(255, 140, 140, 0.34);
  background: linear-gradient(180deg, rgba(63, 26, 26, 0.42), rgba(24, 10, 10, 0.4));
}

.history-item--neutral {
  border-color: rgba(116, 212, 255, 0.24);
  background: linear-gradient(180deg, rgba(16, 36, 48, 0.42), rgba(8, 16, 24, 0.4));
}

.history-inline {
  color: var(--muted);
  margin-left: 8px;
}

.inline-edit {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.inline-edit--stack {
  grid-template-columns: 1fr;
}

.skills-grid {
  display: grid;
  gap: 10px;
}

.skill-edit-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px;
  padding: 11px;
  border-radius: 14px;
  border: 1px solid rgba(157, 221, 255, 0.1);
  background: rgba(4, 10, 16, 0.36);
}

.skill-edit-row--combat {
  border-color: rgba(116, 212, 255, 0.28);
  background: rgba(10, 21, 32, 0.55);
}

.skill-edit-row span {
  color: var(--muted);
}

.skill-edit-row strong {
  min-width: 2.5ch;
  text-align: center;
  color: var(--accent-warm);
}

.skill-roll-button {
  padding: 8px 10px;
}

.custom-skill-group + .custom-skill-group {
  margin-top: 18px;
}

.custom-skill-group h3 {
  margin: 0 0 8px;
  color: var(--text);
}

.toggle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px;
  border-radius: 14px;
  border: 1px solid rgba(157, 221, 255, 0.12);
  background: rgba(4, 10, 16, 0.4);
  color: var(--muted);
}

.text-area {
  min-height: 132px;
  resize: vertical;
  margin-top: 14px;
}

.text-area--compact {
  min-height: 210px;
}

.text-area--lore {
  min-height: 220px;
  max-height: 220px;
  overflow-y: auto;
  resize: none;
}

.field-block {
  display: grid;
  gap: 8px;
}

.field-block span {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.import-block {
  margin-top: 14px;
}

.empty-state {
  margin-top: 14px;
  padding: 14px;
  border-radius: 16px;
  border: 1px dashed rgba(157, 221, 255, 0.18);
}

.epps-embed .tab-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  width: min(1360px, 100%);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  background:
    linear-gradient(180deg, rgba(8, 14, 21, 0.98), rgba(8, 14, 21, 0.92));
  border-bottom: 1px solid rgba(157, 221, 255, 0.18);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.table-scroll {
  overflow-x: auto;
}

.sheet-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 720px;
  background: rgba(5, 11, 18, 0.5);
  border: 1px solid rgba(157, 221, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
}

.sheet-table th,
.sheet-table td {
  padding: 9px 8px;
  text-align: center;
  border-bottom: 1px solid rgba(157, 221, 255, 0.08);
}

.sheet-table th {
  color: var(--accent-warm);
  font-weight: 600;
  background: rgba(6, 12, 18, 0.8);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.table-input {
  min-width: 70px;
  min-height: 42px;
  text-align: center;
}

.table-label-cell {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(6, 12, 18, 0.56);
}

.sheet-table--aptitudes {
  min-width: 700px;
}

.sheet-table--aptitudes .table-input {
  min-width: 46px;
  min-height: 36px;
  padding: 7px 5px;
  font-size: 0.94rem;
}

.sheet-table--aptitudes .table-label-cell {
  width: 62px;
  font-size: 0.7rem;
}

.sheet-table--aptitudes .table-label-cell--header {
  background: rgba(6, 12, 18, 0.8);
}

.tracker-card {
  display: grid;
  gap: 14px;
}

.tracker-card__value-block {
  display: grid;
  gap: 6px;
}

.tracker-card__value-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  flex-wrap: wrap;
}

.tracker-input {
  width: 78px;
  min-width: 78px;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.tracker-card__header,
.gear-section summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.gear-section summary {
  cursor: pointer;
  list-style: none;
  padding: 4px 0;
}

.gear-section summary::-webkit-details-marker {
  display: none;
}

.gear-item-details {
  margin-top: 10px;
}

.gear-item-details summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.gear-item-details summary::-webkit-details-marker {
  display: none;
}

.gear-item-details__toggle {
  min-width: 220px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(157, 221, 255, 0.16);
  background: rgba(9, 17, 26, 0.9);
  color: var(--text);
}

.gear-item-details__label--open {
  display: none;
}

.gear-item-details[open] .gear-item-details__label--closed {
  display: none;
}

.gear-item-details[open] .gear-item-details__label--open {
  display: inline;
}

.gear-item-details__body {
  margin-top: 10px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(157, 221, 255, 0.12);
  background: rgba(5, 11, 18, 0.56);
  max-height: 220px;
  overflow-y: auto;
}

.gear-item-details__body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.armor-summary {
  margin-top: 12px;
}

.armor-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: var(--muted);
}

.armor-toggle input {
  width: 18px;
  height: 18px;
}

.tracker-armor-manager {
  margin-top: 2px;
}

.tracker-armor-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.tracker-armor-option {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 66px;
  padding: 11px 13px;
  border: 1px solid rgba(157, 221, 255, 0.16);
  border-radius: 14px;
  background: rgba(5, 12, 19, 0.54);
  cursor: pointer;
}

.tracker-armor-option.is-active {
  border-color: rgba(116, 212, 255, 0.7);
  background: linear-gradient(135deg, rgba(15, 91, 124, 0.48), rgba(8, 29, 43, 0.6));
}

.tracker-armor-option--base {
  cursor: default;
  border-style: dashed;
}

.tracker-armor-option input {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
}

.tracker-armor-option__copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.tracker-armor-option__copy strong,
.tracker-armor-option__copy small {
  overflow-wrap: anywhere;
}

.tracker-armor-option__copy small,
.tracker-armor-option__state {
  color: var(--muted);
}

.tracker-armor-option__state {
  margin-left: auto;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: right;
}

.gear-area {
  margin-top: 14px;
  min-height: 156px;
}

.nav-button.is-active {
  background: linear-gradient(135deg, rgba(138, 211, 239, 0.26), rgba(205, 229, 143, 0.16));
  border-color: rgba(138, 211, 239, 0.42);
  box-shadow: inset 0 2px 0 var(--accent);
}

.nav-button {
  flex: 0 0 auto;
  min-height: 48px;
  padding: 10px 16px;
  border-radius: 12px 12px 0 0;
  border-bottom-color: transparent;
  font-weight: 600;
}

.tablet-grid--overview,
.tablet-grid--descriptions,
.tablet-grid--stats {
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .form-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-grid--tracker {
    grid-template-columns: 78px auto 78px auto;
  }

  .form-grid--damage {
    grid-template-columns: 2fr auto auto;
  }

  .inline-edit {
    grid-template-columns: 1fr auto auto;
  }

  .skills-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tablet-grid--descriptions,
  .tablet-grid--overview,
  .tablet-grid--stats,
  .tracker-grid,
  .gear-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .epps-embed .tab-nav {
    justify-content: center;
  }
}

@media (min-width: 1000px) {
  .app-main {
    gap: 18px;
  }

  .tablet-grid--overview {
    grid-template-columns: 1.1fr 1.1fr 1fr;
    align-items: start;
  }

  .tablet-grid--stats {
    grid-template-columns: 1.4fr 1fr;
  }

  .tablet-grid--stats .panel:last-child {
    grid-column: span 2;
  }

  .tablet-grid--descriptions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gear-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .gear-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tracker-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.weapon-detail-block {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(157, 221, 255, 0.08);
}

.weapon-detail-block p {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.weapon-attachment-list {
  display: grid;
  gap: 8px;
}

.gear-weapon-child {
  margin-top: 0;
  margin-left: 14px;
  padding: 11px 12px;
  border-radius: 14px;
  border-color: rgba(157, 221, 255, 0.12);
  background: linear-gradient(180deg, rgba(13, 27, 37, 0.5), rgba(7, 14, 22, 0.44));
}

.vehicle-list {
  gap: 16px;
}

.vehicle-card {
  padding: 18px 20px;
  border: 1px solid rgba(157, 221, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(17, 34, 46, 0.9), rgba(7, 14, 22, 0.82)),
    rgba(7, 14, 22, 0.86);
}

.vehicle-card__subtitle {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.vehicle-stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.vehicle-meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.vehicle-detail-block {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(157, 221, 255, 0.08);
}

.vehicle-detail-block > p {
  margin: 0;
}

.vehicle-detail-block > p + p {
  margin-top: 8px;
}

.vehicle-mounted-weapon {
  margin-top: 8px;
}

.weapon-attachment-list > .gear-weapon-child {
  position: relative;
}

.weapon-attachment-list > .gear-weapon-child::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 14px;
  bottom: 14px;
  width: 1px;
  background: linear-gradient(180deg, rgba(157, 221, 255, 0.16), rgba(157, 221, 255, 0.02));
}

.weapon-attachment-list > .gear-weapon-child::after {
  content: '';
  position: absolute;
  left: -10px;
  top: 16px;
  width: 10px;
  height: 1px;
  background: rgba(157, 221, 255, 0.16);
}

.history-item.gear-weapon-child p {
  margin-top: 6px;
  font-size: 0.92rem;
}

.history-item.gear-weapon-child .history-item__top strong {
  font-size: 0.96rem;
}

.history-item.gear-weapon-child .history-item__top span {
  font-size: 0.72rem;
}

.gear-section .history-item {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.gear-item-details__toggle {
  min-width: 0;
}

@media (min-width: 900px) {
  .weapon-attachment-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .weapon-detail-block .weapon-attachment-list {
    grid-template-columns: 1fr;
  }
}
