/* AZONIX PLAY 2.4.44 — full-screen history */
#modal.history-fullscreen {
  padding: 0 !important;
  background: rgba(1, 5, 16, .46) !important;
}
#modal.history-fullscreen .modal-card {
  position: absolute !important;
  inset: 24px 28px !important;
  width: auto !important;
  max-width: none !important;
  height: auto !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 28px !important;
  overflow: hidden !important;
  background: linear-gradient(145deg, rgba(11,39,17,.98), rgba(2,7,20,.99)) !important;
  border: 1px solid rgba(131,255,157,.35) !important;
  box-shadow: 0 25px 80px rgba(0,0,0,.58), inset 0 1px rgba(255,255,255,.04) !important;
}
#modal.history-fullscreen .modal-card > .close {
  top: 22px !important;
  right: 24px !important;
  z-index: 5;
}
#modal.history-fullscreen #modalBody {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  overflow: hidden !important;
}
#modal.history-fullscreen .history-modern {
  box-sizing: border-box;
  width: 100% !important;
  height: 100% !important;
  padding: 35px 48px 30px !important;
}
#modal.history-fullscreen .history-modern header {
  min-height: 112px;
  padding-right: 92px;
  margin-bottom: 20px;
}
#modal.history-fullscreen .history-modern header h1 { font-size: 42px; }
#modal.history-fullscreen .history-columns {
  height: calc(100% - 210px);
  gap: 24px;
}
#modal.history-fullscreen .history-group {
  box-sizing: border-box;
  min-height: 0 !important;
  height: 100%;
  padding: 22px;
}
#modal.history-fullscreen .history-list {
  height: calc(100% - 58px);
  overflow-y: auto;
  padding: 3px 8px 10px 3px;
}
#modal.history-fullscreen .history-entry {
  min-height: 76px;
  height: 76px;
  grid-template-columns: 62px 1fr 25px;
}
#modal.history-fullscreen .history-entry img { width: 60px; height: 60px; }
#modal.history-fullscreen .history-entry b { font-size: 18px; }
#modal.history-fullscreen .history-actions {
  position: absolute;
  right: 48px;
  bottom: 28px;
  margin: 0;
}

/* Clean trash icon, replacing the ambiguous X/box glyph. */
.history-clear {
  position: relative;
  font-size: 0 !important;
}
.history-clear::before {
  content: "";
  position: absolute;
  left: 50%; top: 52%;
  width: 14px; height: 17px;
  transform: translate(-50%,-50%);
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 0 0 3px 3px;
  background: repeating-linear-gradient(90deg, transparent 0 3px, currentColor 3px 4px, transparent 4px 7px);
}
.history-clear::after {
  content: "";
  position: absolute;
  left: 50%; top: 11px;
  width: 19px; height: 3px;
  transform: translateX(-50%);
  border-radius: 2px;
  background: currentColor;
  box-shadow: 0 -4px 0 -1px currentColor;
}
.history-clear.focused {
  transform: scale(1.09);
  box-shadow: 0 0 0 4px rgba(100,255,132,.28), 0 9px 24px rgba(0,0,0,.3);
}

@media (max-width: 1400px) {
  #modal.history-fullscreen .history-modern { padding: 26px 34px 24px !important; }
  #modal.history-fullscreen .history-modern header { min-height: 95px; margin-bottom: 14px; }
  #modal.history-fullscreen .history-modern header h1 { font-size: 34px; }
  #modal.history-fullscreen .history-columns { height: calc(100% - 175px); gap: 16px; }
  #modal.history-fullscreen .history-group { padding: 17px; }
  #modal.history-fullscreen .history-entry { min-height: 66px; height: 66px; grid-template-columns: 52px 1fr 20px; }
  #modal.history-fullscreen .history-entry img { width: 50px; height: 50px; }
  #modal.history-fullscreen .history-actions { right: 34px; bottom: 20px; }
}
