
:root{
  --mshow-bg:#0b0710;
  --mshow-bg2:#21102a;
  --mshow-card:#211329;
  --mshow-accent:#b633d3;
  --mshow-accent2:#ed3ba6;
  --mshow-text:#ffffff;
}

body{
  background:linear-gradient(135deg,var(--mshow-bg),var(--mshow-bg2)) !important;
  color:var(--mshow-text) !important;
}
body.theme-no-gradient-v1762{
  background:var(--mshow-bg) !important;
}
body.theme-glass-v1762 .glass,
body.theme-glass-v1762 .news-card,
body.theme-glass-v1762 .card{
  backdrop-filter:blur(12px);
}
.page-section .card,
.page-section .glass,
.news-card,
.home-story-v1752{
  border-color:rgba(255,255,255,.09) !important;
}
.nav-link.active,
.home-cover-btn-v1752.primary,
.btn.primary{
  background:linear-gradient(135deg,var(--mshow-accent),var(--mshow-accent2)) !important;
}
.public-menu-toggle-v1762{display:none}

/* Unified notice carousel */
.mshow-top-notice-carousel-v1762{
  width:100%;position:relative;z-index:10001;
  background:linear-gradient(90deg,#351249,#611b66 48%,#a22973);
  border-bottom:1px solid rgba(255,255,255,.10);color:#fff;
}
.mshow-top-notice-carousel-v1762.weather{
  background:linear-gradient(90deg,#10243a,#193653 48%,#264e6c);
}
.mshow-top-notice-carousel-v1762.warning{
  background:linear-gradient(90deg,#46210a,#6c3413 48%,#883e19);
}
.mshow-top-notice-carousel-v1762.danger{
  background:linear-gradient(90deg,#45101a,#76162c 48%,#9a1b38);
}
.mshow-top-notice-shell-v1762{
  max-width:1500px;margin:0 auto;padding:10px 16px;
  display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;
}
.mshow-top-notice-label-v1762{
  display:flex;align-items:center;gap:7px;padding:7px 10px;border-radius:999px;
  background:rgba(255,255,255,.08);white-space:nowrap;
}
.mshow-top-notice-label-v1762 strong{font-size:.7rem;letter-spacing:.08em}
.mshow-top-notice-dot-v1762{
  width:8px;height:8px;border-radius:50%;background:#69efaa;box-shadow:0 0 11px #69efaa;
}
.mshow-top-notice-content-v1762{min-width:0}
.mshow-top-notice-content-v1762 strong{display:block;font-size:.82rem}
.mshow-top-notice-content-v1762 span{display:block;margin-top:2px;color:#f0deed;font-size:.75rem}
.mshow-top-notice-actions-v1762{display:flex;align-items:center;gap:5px}
.mshow-top-notice-actions-v1762 span{font-size:.65rem;color:#c8b8ca}
.mshow-top-notice-actions-v1762 button{
  width:29px;height:29px;border-radius:50%;border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.06);color:#fff;cursor:pointer;
}

/* Public responsive menu */
@media(max-width:1100px) and (min-width:761px){
  .public-topbar-v1762{flex-wrap:wrap !important}
  .public-topbar-v1762 nav{
    order:3;width:100%;display:flex !important;overflow-x:auto !important;
    flex-wrap:nowrap !important;padding:8px 0 2px;scrollbar-width:thin;
  }
  .public-topbar-v1762 nav .nav-link{flex:0 0 auto}
}
@media(max-width:760px){
  .mshow-top-notice-shell-v1762{grid-template-columns:1fr auto;padding:9px 11px}
  .mshow-top-notice-label-v1762{grid-column:1 / -1;justify-self:start}
  .mshow-top-notice-content-v1762 strong,.mshow-top-notice-content-v1762 span{line-height:1.35}

  .public-topbar-v1762{
    position:sticky !important;top:0;z-index:9999;
    display:grid !important;grid-template-columns:auto 1fr auto !important;
    align-items:center !important;gap:8px !important;padding:10px 12px !important;
  }
  .public-menu-toggle-v1762{
    display:block !important;grid-column:3;width:44px;height:42px;border-radius:13px;
    border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.05);color:#fff;
    font-size:1.25rem;
  }
  .public-topbar-v1762 .brand{grid-column:1}
  .public-topbar-v1762 nav{
    display:none !important;grid-column:1 / -1;width:100% !important;
    flex-direction:column !important;align-items:stretch !important;gap:7px !important;
    padding:10px 0 2px !important;overflow:visible !important;
  }
  body.public-menu-open-v1762 .public-topbar-v1762 nav{display:flex !important}
  .public-topbar-v1762 nav .nav-link{
    width:100% !important;text-align:center !important;padding:13px 14px !important;
  }
  .mshow-language-switch-v1757{
    position:static !important;grid-column:2;justify-self:end;margin:0 !important;
  }
}

/* Admin theme manager */
.theme-grid-v1762{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0;
}
.theme-grid-v1762 label,.notice-manager-v1762 label{
  display:flex;flex-direction:column;gap:6px;color:#d9cedc;font-weight:800;
}
.theme-grid-v1762 input[type=color]{
  width:100%;height:52px;padding:4px;border-radius:12px;border:1px solid rgba(255,255,255,.10);
  background:#09070c;
}
.theme-options-v1762,.theme-actions-v1762{display:flex;gap:12px;flex-wrap:wrap;margin-top:12px}
.notice-manager-v1762 input,.notice-manager-v1762 textarea,.notice-manager-v1762 select{margin-bottom:12px}
@media(max-width:760px){
  .theme-grid-v1762{grid-template-columns:1fr 1fr}
}
