:root{
  --bg:#f7f7f7;
  --card:#ffffff;
  --text:#111827;
  --muted:#6b7280;
  --border:#e5e7eb;
  --accent:#18c6ff;
  --accent2:#0aa7de;
  --weekend:#ef4444;
}
html,body{background:var(--bg); color:var(--text);}
.ds-card{background:var(--card); border:1px solid var(--border); border-radius:16px;}
.ds-sub{color:var(--muted);}
.ds-btn{background:var(--accent); color:white; border-radius:12px; padding:.55rem .9rem; font-weight:700;}
.ds-btn:hover{background:var(--accent2);}
.ds-btn2{background:#f3f4f6; color:var(--text); border:1px solid var(--border); border-radius:12px; padding:.55rem .9rem; font-weight:700;}
.ds-btn2:hover{background:#e5e7eb;}
.ds-danger{background:#e11d48;color:#fff;border-radius:12px;padding:.45rem .8rem;font-weight:700;}
.ds-input{background:white; border:1px solid var(--border); border-radius:12px; padding:.55rem .75rem; outline:none;}
.ds-input:focus{border-color:#cbd5e1;}
.ds-chip{display:inline-flex;align-items:center;gap:8px;padding:.35rem .6rem;border:1px solid var(--border);border-radius:999px;background:#fff;color:var(--muted);font-size:12px;}

/* DS_SCROLLBAR_GLOBAL_HIDE_V1 */
/* Скрываем основной скроллбар страницы, но скролл остается */
html, body{
  -ms-overflow-style: none; /* IE/Edge legacy */
  scrollbar-width: none; /* Firefox */
}
html::-webkit-scrollbar,
body::-webkit-scrollbar{
  width: 0px;
  height: 0px;
}

/* В модалках скроллбар виден */
.ds-modal-body,
.ds-modal-body2,
#modalBody{
  scrollbar-width: auto; /* Firefox */
}
.ds-modal-body::-webkit-scrollbar,
.ds-modal-body2::-webkit-scrollbar,
#modalBody::-webkit-scrollbar{
  width: 10px;
  height: 10px;
}
.ds-modal-body::-webkit-scrollbar-thumb,
.ds-modal-body2::-webkit-scrollbar-thumb,
#modalBody::-webkit-scrollbar-thumb{
  background: rgba(0,0,0,.25);
  border-radius: 999px;
}
.ds-modal-body::-webkit-scrollbar-track,
.ds-modal-body2::-webkit-scrollbar-track,
#modalBody::-webkit-scrollbar-track{
  background: rgba(0,0,0,.06);
  border-radius: 999px;
}


/* DS_FIRSTLOAD_V1 */
.ds-firstload{
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(1200px 800px at 50% 30%, rgba(24,198,255,.12), rgba(0,0,0,0)) ,
              rgba(255,255,255,.75);
  backdrop-filter: blur(10px);
  transition: opacity .45s ease, transform .45s ease;
}
.ds-firstload.is-hide{
  opacity: 0;
  transform: scale(.98);
}
.ds-firstload-card{
  width: min(420px, calc(100% - 28px));
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 22px 70px rgba(0,0,0,.18);
  padding: 22px 20px;
  text-align: center;
}
.ds-firstload-icon{
  width: 64px;
  height: 64px;
  border-radius: 18px;
  border: 1px solid rgba(24,198,255,.35);
  background: rgba(24,198,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  animation: dsPulse 1.2s ease-in-out infinite;
}
.ds-firstload-icon .material-symbols-rounded{
  font-size: 34px;
  line-height: 1;
  color: var(--accent2);
}
.ds-firstload-title{
  font-size: 20px;
  font-weight: 900;
  letter-spacing: .2px;
}
.ds-firstload-sub{
  margin-top: 4px;
  color: var(--muted);
  font-weight: 700;
}
.ds-firstload-bar{
  height: 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.06);
  border: 1px solid var(--border);
  overflow: hidden;
  margin-top: 14px;
}
.ds-firstload-bar > span{
  display: block;
  height: 100%;
  width: 45%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(24,198,255,.25), rgba(24,198,255,.85));
  animation: dsBar 1.05s ease-in-out infinite;
}

@keyframes dsBar{
  0%{ transform: translateX(-110%); }
  100%{ transform: translateX(230%); }
}
@keyframes dsPulse{
  0%{ transform: scale(1); }
  50%{ transform: scale(1.05); }
  100%{ transform: scale(1); }
}

/* DS_LOCK_FOOTER_V3 */
.ds-footer{
  margin-top: 28px;
  padding: 22px 16px 32px;
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(6px);
}
.ds-footer-inner{
  max-width: 72rem; /* как max-w-6xl */
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.ds-footer-left{
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}
.ds-lockbtn{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.92);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
}
.ds-lockbtn:hover{ background: rgba(243,244,246,.98); }
.ds-lockbtn .material-symbols-rounded{
  font-size: 22px;
  line-height: 1;
  color: var(--text);
}
