/* Nạp SAU shared/*.css: giữ thứ tự tầng như khối <style> cũ trong <body> và thuộc tính style="" cũ. */
@media (max-width:520px){
  .modal-actions{display:flex;flex-direction:column;gap:8px;align-items:stretch}
  .modal-actions > div{width:100%;display:flex;gap:8px;justify-content:space-between;flex-wrap:wrap}
  .modal-actions button{flex:1 1 auto;min-width:0}
}

/* Thay thuộc tính style="" nội tuyến */
#settings {
  display: none;
}

.settings-info {
  margin-bottom: 8px;
  color: #cbd9e6;
}

.mt-8 {
  margin-top: 8px;
}

.settings-sfx {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 6px;
}

#inpSfxVolume {
  flex: 1;
}

.mt-10 {
  margin-top: 10px;
}

.hs-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#completeModalTitle {
  margin: 0;
}

.hang-ngang-8 {
  display: flex;
  align-items: center;
  gap: 8px;
}

#hsPlayerName {
  color: #ffd37a;
  font-weight: 700;
  cursor: pointer;
}

#hsPlayerEdit {
  display: none;
  padding: 6px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.06);
  background: transparent;
  color: #eaf2ff;
}

#hsPlayerSave {
  display: none;
}

#completeSummary {
  margin-bottom: 8px;
}

.mt-6 {
  margin-top: 6px;
}

#hsDifficultyButtons {
  display: flex;
  gap: 8px;
}

#hsThemeButtons {
  display: flex;
  gap: 8px;
}

.hs-sort-note {
  font-size: 13px;
  color: #9fb3bd;
  margin-bottom: 8px;
}

.hs-actions {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

#hsCountSelect {
  width: 90px;
}

#btnStopSave {
  margin-right: 6px;
}

#btnNextLevel {
  margin-left: 8px;
  display: none;
}

#restartConfirmModal {
  display: none;
  z-index: 10007;
  align-items: center;
  justify-content: center;
}

.modal-nho {
  min-width: 320px;
  max-width: 520px;
  text-align: center;
}

#restartConfirmText {
  margin-top: 8px;
  color: #cbd9e6;
}

.hang-nut-giua {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  justify-content: center;
}

#saveConfirmModal {
  display: none;
  z-index: 10006;
  align-items: center;
  justify-content: center;
}

#saveConfirmText {
  margin-top: 8px;
  color: #cbd9e6;
}

#preloader {
  display: none;
  z-index: 10010;
  align-items: center;
  justify-content: center;
}

#preloadText {
  margin-top: 8px;
  color: #cbd9e6;
}

.preload-track {
  margin-top: 12px;
  background: rgba(255,255,255,0.03);
  height: 12px;
  border-radius: 8px;
  overflow: hidden;
}

#preloadBar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg,#5fb0d6,#8ac4c4);
}

.preload-note {
  margin-top: 10px;
  color: #a8c0cd;
  font-size: 13px;
}

/* Thay chuỗi style="" trong innerHTML của src/game.js */
.hs-empty {
  padding: 8px;
  color: #aaa;
}

.hang-nut-phai {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.mt-12 {
  margin-top: 12px;
}
