:root {
  --st-bg: #f5f7fb;
  --st-surface: #ffffff;
  --st-surface-soft: #f8fafc;
  --st-text: #172033;
  --st-muted: #697386;
  --st-border: #e5e9f2;
  --st-primary: #6857f5;
  --st-primary-dark: #4f3ee8;
  --st-primary-soft: #eeebff;
  --st-accent: #23c8a5;
  --st-warning: #f7ad45;
  --st-danger: #ef5b6c;
  --st-shadow: 0 18px 45px rgba(30, 38, 64, .09);
  --st-shadow-sm: 0 7px 22px rgba(30, 38, 64, .08);
  --st-radius: 20px;
  --st-radius-sm: 13px;
}

html[data-theme="dark"] {
  --st-bg: #10131c;
  --st-surface: #181c27;
  --st-surface-soft: #202532;
  --st-text: #f5f6fb;
  --st-muted: #9ba5b8;
  --st-border: #2a3040;
  --st-primary: #8b7df8;
  --st-primary-dark: #a397ff;
  --st-primary-soft: #282342;
  --st-shadow: 0 18px 45px rgba(0, 0, 0, .28);
  --st-shadow-sm: 0 7px 22px rgba(0, 0, 0, .22);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body,
body.st-modern-admin {
  background: var(--st-bg);
  color: var(--st-text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--st-primary); }
a:hover, a:focus { color: var(--st-primary-dark); text-decoration: none; }

button, a, input, textarea, select { transition: border-color .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease; }

:focus-visible { outline: 3px solid rgba(104, 87, 245, .28); outline-offset: 3px; }

.st-skip-link {
  position: fixed;
  z-index: 10000;
  top: 10px;
  left: 12px;
  transform: translateY(-160%);
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--st-primary);
  color: #fff;
}
.st-skip-link:focus { transform: translateY(0); color: #fff; }

.st-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--st-border);
  border-radius: 13px;
  background: var(--st-surface);
  color: var(--st-text);
  cursor: pointer;
}
.st-icon-button:hover { transform: translateY(-2px); border-color: var(--st-primary); box-shadow: var(--st-shadow-sm); }
.st-icon-button:hover i { animation: st-icon-pop .45s ease; }
.st-icon-button .fa { font-size: 16px; }

.st-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-weight: 700;
  line-height: 1.25;
  cursor: pointer;
}
.st-btn:hover { transform: translateY(-2px); box-shadow: var(--st-shadow-sm); }
.st-btn:hover i { animation: st-icon-pop .45s ease; }
.st-btn-primary { background: linear-gradient(135deg, var(--st-primary), #8d65f7); color: #fff; }
.st-btn-primary:hover, .st-btn-primary:focus { color: #fff; }
.st-btn-secondary { background: var(--st-surface); border-color: var(--st-border); color: var(--st-text); }
.st-btn-secondary:hover { color: var(--st-primary); border-color: var(--st-primary); }
.st-btn-danger { background: #fff0f2; border-color: #ffd4d9; color: #d73b4d; }
.st-btn-sm { min-height: 36px; padding: 7px 12px; font-size: 13px; border-radius: 10px; }

.st-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--st-accent);
  box-shadow: 0 0 0 5px rgba(35, 200, 165, .13);
  animation: st-status-pulse 2s infinite;
}

.st-scroll-progress {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--st-primary), var(--st-accent));
}

.st-back-to-top {
  position: fixed;
  z-index: 1050;
  right: 22px;
  bottom: 22px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
}
.st-back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* Member application shell */
.st-modern-admin .wrapper { background: var(--st-bg); min-height: 100vh; overflow-x: hidden; }
.st-modern-admin .main-header { min-height: 70px; background: var(--st-surface); border-bottom: 1px solid var(--st-border); box-shadow: none; }
.st-modern-admin .main-header .logo {
  width: 260px;
  height: 70px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 11px;
  background: var(--st-surface) !important;
  color: var(--st-text) !important;
  border-right: 1px solid var(--st-border);
  text-align: left;
}
.st-brand-mark {
  display: inline-grid;
  place-items: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--st-primary), #9b6cf8);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(104, 87, 245, .28);
}
.st-brand-copy { display: flex; flex-direction: column; line-height: 1.1; }
.st-brand-copy strong { font-size: 16px; letter-spacing: -.2px; }
.st-brand-copy small { margin-top: 4px; color: var(--st-muted); font-size: 10px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
.st-modern-admin .main-header .navbar { min-height: 70px; margin-left: 260px; background: var(--st-surface); }
.st-modern-admin .main-header .sidebar-toggle { width: 52px; height: 70px; padding: 25px 19px; color: var(--st-muted); }
.st-modern-admin .main-header .sidebar-toggle:hover { background: var(--st-primary-soft); color: var(--st-primary); }
.st-header-tools { height: 70px; display: flex; align-items: center; gap: 10px; padding-right: 18px; }
.st-header-search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 245px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--st-border);
  border-radius: 13px;
  background: var(--st-surface-soft);
  color: var(--st-muted);
  cursor: pointer;
}
.st-header-search span { flex: 1; text-align: left; font-size: 13px; }
.st-key { padding: 2px 6px; border: 1px solid var(--st-border); border-radius: 6px; background: var(--st-surface); font-size: 10px; font-weight: 700; }
.st-online-state { display: flex; align-items: center; gap: 9px; margin: 0 8px; color: var(--st-muted); font-size: 12px; font-weight: 700; }
.st-modern-admin .navbar-custom-menu > .navbar-nav > li > a { min-height: 70px; padding: 14px 15px; color: var(--st-text); }
.st-modern-admin .navbar-nav > .user-menu .user-image { width: 40px; height: 40px; margin-top: 0; border: 2px solid var(--st-primary-soft); }
.st-modern-admin .navbar-nav > .user-menu > .dropdown-menu { width: 290px; padding: 10px; border: 1px solid var(--st-border); border-radius: 18px; background: var(--st-surface); box-shadow: var(--st-shadow); }
.st-modern-admin .navbar-nav > .user-menu > .dropdown-menu > .user-header { height: auto; padding: 18px; border-radius: 13px; background: linear-gradient(135deg, var(--st-primary), #8f68f7); }
.st-modern-admin .navbar-nav > .user-menu > .dropdown-menu > .user-footer { padding: 12px 2px 2px; background: transparent; }
.st-modern-admin .navbar-nav > .user-menu > .dropdown-menu > .user-footer .btn { border-radius: 10px; }

.st-modern-admin .main-sidebar { width: 260px; padding-top: 70px; background: #171a27; }
.st-modern-admin .sidebar { padding: 18px 14px; }
.st-side-profile { display: flex; align-items: center; gap: 12px; margin: 3px 4px 22px; padding: 14px; border: 1px solid rgba(255,255,255,.08); border-radius: 16px; background: rgba(255,255,255,.045); }
.st-side-profile img { width: 42px; height: 42px; object-fit: cover; border: 2px solid rgba(255,255,255,.18); }
.st-side-profile strong { display: block; max-width: 145px; overflow: hidden; color: #fff; text-overflow: ellipsis; white-space: nowrap; }
.st-side-profile span { display: block; margin-top: 4px; color: #929bae; font-size: 11px; }
.st-menu-label { padding: 0 13px 8px; color: #697287; font-size: 10px; font-weight: 800; letter-spacing: 1.35px; text-transform: uppercase; }
.st-modern-admin .sidebar-menu > li { margin-bottom: 5px; }
.st-modern-admin .sidebar-menu > li > a { min-height: 46px; padding: 13px 14px; border-left: 0; border-radius: 12px; color: #aeb5c5; font-weight: 650; }
.st-modern-admin .sidebar-menu > li > a > .fa { width: 28px; color: #7d879b; font-size: 16px; }
.st-modern-admin .sidebar-menu > li:hover > a,
.st-modern-admin .sidebar-menu > li.active > a,
.st-modern-admin .sidebar-menu > li.menu-open > a { background: linear-gradient(135deg, rgba(104,87,245,.25), rgba(104,87,245,.1)); color: #fff; }
.st-modern-admin .sidebar-menu > li:hover > a > .fa,
.st-modern-admin .sidebar-menu > li.active > a > .fa { color: #9d91ff; animation: st-icon-pop .45s ease; }
.st-modern-admin .sidebar-menu > li > .treeview-menu { margin: 5px 0 8px; padding: 4px 0 4px 19px; background: transparent; }
.st-modern-admin .sidebar-menu .treeview-menu > li > a { padding: 9px 10px; border-radius: 9px; color: #8992a5; }
.st-modern-admin .sidebar-menu .treeview-menu > li.active > a,
.st-modern-admin .sidebar-menu .treeview-menu > li > a:hover { color: #fff; background: rgba(255,255,255,.05); }
.st-sidebar-create { margin: 24px 3px 8px; }
.st-sidebar-create .st-btn { width: 100%; }

.st-modern-admin .content-wrapper { min-height: calc(100vh - 125px); margin-left: 260px; padding: 0; background: var(--st-bg); }
.st-modern-admin .content-header { padding: 30px 34px 8px; }
.st-modern-admin .content-header h1 { color: var(--st-text); font-size: 27px; font-weight: 800; letter-spacing: -.7px; }
.st-modern-admin .content-header h1 small { display: block; margin: 7px 0 0; color: var(--st-muted); font-size: 14px; font-weight: 400; letter-spacing: 0; }
.st-modern-admin .content-header > .breadcrumb { top: 35px; right: 35px; color: var(--st-muted); background: transparent; }
.st-modern-admin .content-header > .breadcrumb > li > a { color: var(--st-muted); }
.st-modern-admin .content { padding: 22px 34px 34px; }
.st-modern-admin .main-footer { margin-left: 260px; padding: 20px 34px; border-top: 1px solid var(--st-border); background: var(--st-surface); color: var(--st-muted); }
.st-footer-inner { display: flex; justify-content: space-between; align-items: center; }

.st-card,
.st-modern-admin .box {
  border: 1px solid var(--st-border);
  border-radius: var(--st-radius);
  background: var(--st-surface);
  box-shadow: var(--st-shadow-sm);
  overflow: hidden;
}
.st-modern-admin .box { border-top: 1px solid var(--st-border); }
.st-modern-admin .box-header { padding: 20px 22px; border-bottom: 1px solid var(--st-border); }
.st-modern-admin .box-body { padding: 24px; }
.st-card-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; border-bottom: 1px solid var(--st-border); }
.st-card-head h2, .st-card-head h3 { margin: 0; font-size: 17px; font-weight: 800; }
.st-card-head p { margin: 5px 0 0; color: var(--st-muted); font-size: 13px; }
.st-card-body { padding: 22px; }

.st-dashboard-hero { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 28px; margin-bottom: 24px; padding: 30px 32px; overflow: hidden; background: linear-gradient(125deg, #5b4bea, #8463f6 60%, #a86bdb); color: #fff; box-shadow: 0 20px 44px rgba(91,75,234,.25); }
.st-dashboard-hero::after { content: ''; position: absolute; width: 240px; height: 240px; right: -55px; top: -100px; border: 38px solid rgba(255,255,255,.08); border-radius: 50%; }
.st-dashboard-hero h2 { position: relative; z-index: 1; margin: 5px 0 10px; font-size: 28px; font-weight: 850; letter-spacing: -.6px; }
.st-dashboard-hero p { position: relative; z-index: 1; max-width: 590px; margin: 0 0 22px; color: rgba(255,255,255,.78); line-height: 1.65; }
.st-dashboard-hero .st-btn { position: relative; z-index: 1; background: #fff; color: #5544dd; }
.st-hero-meta { display: flex; align-items: center; gap: 12px; }
.st-profile-ring { --progress: 70; position: relative; z-index: 1; display: grid; place-items: center; width: 114px; height: 114px; border-radius: 50%; background: conic-gradient(#fff calc(var(--progress) * 1%), rgba(255,255,255,.2) 0); }
.st-profile-ring::after { content: ''; position: absolute; width: 88px; height: 88px; border-radius: 50%; background: #7660ef; }
.st-profile-ring-content { position: relative; z-index: 1; text-align: center; }
.st-profile-ring strong { display: block; font-size: 23px; }
.st-profile-ring span { display: block; max-width: 58px; margin-top: 2px; color: rgba(255,255,255,.75); font-size: 9px; font-weight: 700; line-height: 1.2; text-transform: uppercase; }

.st-stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 24px; }
.st-stat-card { display: flex; align-items: center; gap: 17px; padding: 22px; }
.st-stat-icon { display: grid; place-items: center; flex: 0 0 50px; width: 50px; height: 50px; border-radius: 16px; background: var(--st-primary-soft); color: var(--st-primary); font-size: 20px; }
.st-stat-card:nth-child(2) .st-stat-icon { background: #e4f9f4; color: #13a888; }
.st-stat-card:nth-child(3) .st-stat-icon { background: #fff3df; color: #d8891a; }
.st-stat-value { display: block; color: var(--st-text); font-size: 25px; font-weight: 850; line-height: 1; }
.st-stat-label { display: block; margin-top: 6px; color: var(--st-muted); font-size: 12px; font-weight: 650; }
.st-dashboard-grid { display: grid; grid-template-columns: 1.35fr .85fr; gap: 22px; }
.st-quick-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.st-quick-action { display: flex; align-items: center; gap: 12px; padding: 15px; border: 1px solid var(--st-border); border-radius: 14px; color: var(--st-text); background: var(--st-surface-soft); }
.st-quick-action:hover { border-color: var(--st-primary); color: var(--st-primary); transform: translateY(-2px); }
.st-quick-action i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--st-primary-soft); color: var(--st-primary); }
.st-quick-action:hover i { animation: st-icon-pop .45s ease; }
.st-progress-list { margin: 0; padding: 0; list-style: none; }
.st-progress-item { margin-bottom: 18px; }
.st-progress-item:last-child { margin-bottom: 0; }
.st-progress-meta { display: flex; justify-content: space-between; margin-bottom: 8px; color: var(--st-muted); font-size: 12px; }
.st-progress-meta strong { color: var(--st-text); }
.st-progress-track { height: 8px; overflow: hidden; border-radius: 99px; background: var(--st-surface-soft); }
.st-progress-track span { display: block; width: var(--width); height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--st-primary), #a26af3); animation: st-grow 1s ease both; }

/* Forms and media tools */
.st-modern-admin .form-group { margin-bottom: 22px; }
.st-modern-admin label { margin-bottom: 8px; color: var(--st-text); font-size: 13px; font-weight: 750; }
.st-modern-admin .form-control,
.st-modern-admin .bootstrap-tagsinput {
  min-height: 45px;
  padding: 11px 13px;
  border: 1px solid var(--st-border);
  border-radius: 12px;
  background: var(--st-surface);
  color: var(--st-text);
  box-shadow: none;
}
.st-modern-admin textarea.form-control { min-height: 112px; resize: vertical; }
.st-modern-admin .form-control:focus { border-color: var(--st-primary); box-shadow: 0 0 0 4px rgba(104,87,245,.1); }
.st-modern-admin .input-group-addon { border-color: var(--st-border); background: var(--st-surface-soft); color: var(--st-muted); }
.st-form-hint { display: flex; justify-content: space-between; gap: 12px; margin-top: 7px; color: var(--st-muted); font-size: 11px; }
.st-char-count.is-near-limit { color: var(--st-warning); font-weight: 700; }
.st-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.st-form-section { margin-bottom: 24px; padding-bottom: 6px; border-bottom: 1px solid var(--st-border); }
.st-form-section h3 { margin: 0 0 4px; font-size: 16px; font-weight: 800; }
.st-form-section > p { margin: 0 0 20px; color: var(--st-muted); font-size: 12px; }
.st-form-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 6px; }
.st-draft-status { color: var(--st-muted); font-size: 12px; }
.st-upload-zone { position: relative; display: grid; place-items: center; min-height: 260px; padding: 24px; overflow: hidden; border: 2px dashed var(--st-border); border-radius: 18px; background: var(--st-surface-soft); text-align: center; cursor: pointer; }
.st-upload-zone:hover, .st-upload-zone.is-dragging { border-color: var(--st-primary); background: var(--st-primary-soft); }
.st-upload-zone input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.st-upload-placeholder i { display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 14px; border-radius: 18px; background: var(--st-primary-soft); color: var(--st-primary); font-size: 24px; }
.st-upload-placeholder strong { display: block; font-size: 15px; }
.st-upload-placeholder span { display: block; margin-top: 6px; color: var(--st-muted); font-size: 12px; }
.st-upload-preview { display: none; width: 100%; }
.st-upload-preview.is-visible { display: block; }
.st-upload-preview img { display: block; max-width: 100%; max-height: 300px; margin: 0 auto; border-radius: 14px; object-fit: contain; box-shadow: var(--st-shadow-sm); }
.st-upload-preview-meta { margin-top: 10px; color: var(--st-muted); font-size: 11px; }
.st-settings-hero { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; padding: 24px; }
.st-settings-avatar { position: relative; flex: 0 0 82px; width: 82px; height: 82px; }
.st-settings-avatar img { width: 82px; height: 82px; border: 4px solid var(--st-primary-soft); border-radius: 24px; object-fit: cover; }
.st-settings-avatar span { position: absolute; right: -3px; bottom: -3px; display: grid; place-items: center; width: 27px; height: 27px; border: 3px solid var(--st-surface); border-radius: 50%; background: var(--st-accent); color: #fff; font-size: 10px; }
.st-settings-hero h2 { margin: 0 0 5px; font-size: 21px; font-weight: 850; }
.st-settings-hero p { margin: 0; color: var(--st-muted); font-size: 12px; }
.st-settings-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 11px; }
.st-settings-chip { padding: 6px 9px; border-radius: 9px; background: var(--st-surface-soft); color: var(--st-muted); font-size: 10px; font-weight: 700; }
.st-settings-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr); gap: 22px; }
.st-setting-group { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.st-choice { position: relative; display: flex; align-items: center; gap: 10px; min-height: 48px; margin: 0 !important; padding: 12px; border: 1px solid var(--st-border); border-radius: 12px; background: var(--st-surface-soft); cursor: pointer; }
.st-choice:hover { border-color: var(--st-primary); }
.st-choice input { accent-color: var(--st-primary); }
.st-choice:has(input:checked) { border-color: var(--st-primary); background: var(--st-primary-soft); color: var(--st-primary); }
.st-layout-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.st-layout-option { position: relative; display: block; margin: 0 !important; padding: 7px; border: 2px solid var(--st-border); border-radius: 14px; background: var(--st-surface-soft); cursor: pointer; }
.st-layout-option input { position: absolute; z-index: 2; top: 13px; left: 13px; accent-color: var(--st-primary); }
.st-layout-option img { width: 100%; height: 110px; border-radius: 9px; object-fit: cover; opacity: .75; }
.st-layout-option span { display: block; padding: 9px 4px 3px; color: var(--st-text); font-size: 11px; font-weight: 800; text-align: center; }
.st-layout-option:has(input:checked) { border-color: var(--st-primary); background: var(--st-primary-soft); box-shadow: 0 0 0 3px rgba(104,87,245,.08); }
.st-layout-option:has(input:checked) img { opacity: 1; }
.st-share-box { padding: 16px; border: 1px solid var(--st-border); border-radius: 14px; background: var(--st-surface-soft); }
.st-share-box .input-group { margin-bottom: 10px; }
.st-share-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.st-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 18px; }
.st-search-box { position: relative; flex: 1 1 250px; }
.st-search-box i { position: absolute; top: 50%; left: 14px; color: var(--st-muted); transform: translateY(-50%); }
.st-search-box .form-control { padding-left: 39px; }
.st-toolbar select { width: auto; min-width: 150px; }
.st-result-count { margin-left: auto; color: var(--st-muted); font-size: 12px; font-weight: 700; }
.st-view-toggle { display: inline-flex; padding: 3px; border: 1px solid var(--st-border); border-radius: 12px; background: var(--st-surface-soft); }
.st-view-toggle button { width: 34px; height: 32px; padding: 0; border: 0; border-radius: 9px; background: transparent; color: var(--st-muted); }
.st-view-toggle button.is-active { background: var(--st-surface); color: var(--st-primary); box-shadow: 0 3px 9px rgba(30,38,64,.08); }

.st-media-table { width: 100%; }
.st-modern-admin .table-responsive { border: 0; }
.st-modern-admin .table { margin-bottom: 0; color: var(--st-text); }
.st-modern-admin .table > thead > tr > th { padding: 13px 12px; border: 0; border-bottom: 1px solid var(--st-border); color: var(--st-muted); font-size: 10px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; }
.st-modern-admin .table > tbody > tr > td { padding: 14px 12px; border-color: var(--st-border); vertical-align: middle; }
.st-modern-admin .table-striped > tbody > tr:nth-of-type(odd) { background: var(--st-surface-soft); }
.st-modern-admin .table-hover > tbody > tr:hover { background: var(--st-primary-soft); }
.st-media-thumb { width: 78px; height: 58px; border: 0; border-radius: 11px; object-fit: cover; cursor: zoom-in; }
.st-media-title { display: block; max-width: 245px; color: var(--st-text); font-weight: 750; }
.st-media-description { display: block; max-width: 290px; margin-top: 4px; overflow: hidden; color: var(--st-muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.st-media-date { display: inline-flex; align-items: center; gap: 7px; color: var(--st-muted); font-size: 12px; white-space: nowrap; }
.st-row-actions { display: flex; justify-content: flex-end; gap: 6px; }
.st-empty-state { padding: 58px 20px !important; text-align: center; }
.st-empty-state i { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 20px; background: var(--st-primary-soft); color: var(--st-primary); font-size: 25px; }
.st-empty-state h3 { margin: 0 0 6px; font-size: 17px; }
.st-empty-state p { margin: 0 0 18px; color: var(--st-muted); font-size: 13px; }
.st-media-grid .st-media-table thead { display: none; }
.st-media-grid .st-media-table tbody { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.st-media-grid .st-media-table tbody tr { position: relative; display: block; overflow: hidden; border: 1px solid var(--st-border); border-radius: 16px; background: var(--st-surface); }
.st-media-grid .st-media-table tbody td { display: block; padding: 0 15px 13px; border: 0; background: transparent; }
.st-media-grid .st-media-table tbody td:first-child { padding: 0 0 14px; }
.st-media-grid .st-media-table .st-media-thumb { width: 100%; height: 170px; border-radius: 0; }
.st-media-grid .st-media-table .st-media-description { max-width: 100%; }
.st-media-grid .st-media-table .st-media-date { margin-top: 3px; }
.st-media-grid .st-row-actions { justify-content: flex-start; padding-top: 4px; }

/* Public shell and discovery */
.st-public-body { min-height: 100vh; padding-top: 76px; background: var(--st-bg); color: var(--st-text); }
.st-public-nav { position: fixed; z-index: 1060; top: 0; right: 0; left: 0; height: 76px; border-bottom: 1px solid var(--st-border); background: rgba(255,255,255,.9); backdrop-filter: blur(18px); }
html[data-theme="dark"] .st-public-nav { background: rgba(24,28,39,.9); }
.st-public-nav .container { display: flex; align-items: center; height: 100%; }
.st-public-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--st-text); font-size: 16px; font-weight: 850; }
.st-public-brand:hover { color: var(--st-text); }
.st-public-nav-links { display: flex; align-items: center; gap: 7px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.st-public-nav-links a { display: inline-flex; align-items: center; min-height: 40px; padding: 9px 13px; border-radius: 11px; color: var(--st-muted); font-size: 13px; font-weight: 700; }
.st-public-nav-links a:hover { background: var(--st-primary-soft); color: var(--st-primary); }
.st-public-nav-links .st-nav-primary { background: var(--st-primary); color: #fff; }
.st-public-nav-links .st-nav-primary:hover { background: var(--st-primary-dark); color: #fff; }
.st-mobile-nav-toggle { display: none; margin-left: auto; }

.st-home-hero { position: relative; overflow: hidden; padding: 92px 0 78px; }
.st-home-hero::before { content: ''; position: absolute; top: -230px; left: 50%; width: 780px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(104,87,245,.2), rgba(104,87,245,0) 68%); transform: translateX(-50%); pointer-events: none; }
.st-home-hero-inner { position: relative; z-index: 1; max-width: 790px; margin: 0 auto; text-align: center; }
.st-eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px; padding: 8px 13px; border: 1px solid #dcd6ff; border-radius: 99px; background: var(--st-primary-soft); color: var(--st-primary); font-size: 11px; font-weight: 850; letter-spacing: .8px; text-transform: uppercase; }
.st-home-hero h1 { margin: 0; color: var(--st-text); font-size: clamp(40px, 6vw, 68px); font-weight: 900; letter-spacing: -2.6px; line-height: 1.03; }
.st-gradient-text { background: linear-gradient(110deg, var(--st-primary), #b05ed1); -webkit-background-clip: text; background-clip: text; color: transparent; }
.st-home-hero p { max-width: 650px; margin: 24px auto 30px; color: var(--st-muted); font-size: 17px; line-height: 1.7; }
.st-hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.st-home-stats { display: flex; justify-content: center; gap: 32px; margin-top: 38px; color: var(--st-muted); font-size: 12px; }
.st-home-stats span { display: flex; align-items: center; gap: 8px; }
.st-discovery { padding: 30px 0 80px; }
.st-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.st-section-heading h2 { margin: 0; color: var(--st-text); font-size: 28px; font-weight: 850; letter-spacing: -.7px; }
.st-section-heading p { margin: 7px 0 0; color: var(--st-muted); }
.st-member-search { position: relative; width: 280px; }
.st-member-search i { position: absolute; top: 50%; left: 15px; color: var(--st-muted); transform: translateY(-50%); }
.st-member-search input { width: 100%; height: 44px; padding: 10px 14px 10px 40px; border: 1px solid var(--st-border); border-radius: 13px; background: var(--st-surface); color: var(--st-text); }
.st-member-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0 0 48px; padding: 0; list-style: none; }
.st-member-card { position: relative; display: block; height: 100%; padding: 12px; overflow: hidden; border: 1px solid var(--st-border); border-radius: 20px; background: var(--st-surface); color: var(--st-text); box-shadow: var(--st-shadow-sm); }
.st-member-card:hover { color: var(--st-text); transform: translateY(-7px); box-shadow: var(--st-shadow); }
.st-member-cover { position: relative; height: 150px; overflow: hidden; border-radius: 14px; background: linear-gradient(135deg, #e9e4ff, #dff8f2); }
.st-member-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(23,32,51,.24), transparent 55%); }
.st-member-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.st-member-card:hover .st-member-cover img { transform: scale(1.07); }
.st-member-badge { position: absolute; z-index: 1; top: 11px; left: 11px; padding: 6px 9px; border-radius: 99px; background: rgba(255,255,255,.92); color: #5d4be8; font-size: 9px; font-weight: 850; letter-spacing: .7px; text-transform: uppercase; }
.st-member-arrow { position: absolute; z-index: 1; right: 11px; bottom: 11px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: rgba(255,255,255,.92); color: #5d4be8; }
.st-member-card:hover .st-member-arrow i { animation: st-arrow .5s ease; }
.st-member-info { padding: 15px 7px 8px; }
.st-member-info h3 { margin: 0 0 7px; overflow: hidden; color: var(--st-text); font-size: 17px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.st-member-info p { margin: 0; color: var(--st-muted); font-size: 11px; }
.st-no-results { display: none; padding: 44px; border: 1px dashed var(--st-border); border-radius: 18px; color: var(--st-muted); text-align: center; }

.st-public-footer { padding: 26px 0; border-top: 1px solid var(--st-border); background: var(--st-surface); color: var(--st-muted); font-size: 12px; }
.st-public-footer .container { display: flex; justify-content: space-between; align-items: center; }

/* Authentication */
.st-auth-body { min-height: 100vh; background: var(--st-bg); }
.st-auth-shell { display: grid; grid-template-columns: minmax(320px, .9fr) minmax(420px, 1.1fr); min-height: 100vh; }
.st-auth-visual { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 46px; overflow: hidden; background: linear-gradient(145deg, #4e3ddd, #8061f4 55%, #af64d1); color: #fff; }
.st-auth-visual::before, .st-auth-visual::after { content: ''; position: absolute; border: 55px solid rgba(255,255,255,.07); border-radius: 50%; }
.st-auth-visual::before { width: 340px; height: 340px; top: -140px; right: -130px; }
.st-auth-visual::after { width: 440px; height: 440px; bottom: -250px; left: -160px; }
.st-auth-brand { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 12px; color: #fff; font-size: 17px; font-weight: 850; }
.st-auth-brand:hover { color: #fff; }
.st-auth-quote { position: relative; z-index: 1; max-width: 500px; }
.st-auth-quote i { margin-bottom: 18px; font-size: 30px; opacity: .6; }
.st-auth-quote h2 { margin: 0 0 17px; font-size: clamp(31px, 4vw, 50px); font-weight: 900; letter-spacing: -1.7px; line-height: 1.08; }
.st-auth-quote p { margin: 0; color: rgba(255,255,255,.72); font-size: 15px; line-height: 1.75; }
.st-auth-content { display: grid; place-items: center; padding: 40px 24px; }
.st-auth-card { width: min(455px, 100%); padding: 34px; }
.st-auth-card h1 { margin: 0 0 8px; color: var(--st-text); font-size: 28px; font-weight: 900; letter-spacing: -.7px; }
.st-auth-card > p { margin: 0 0 26px; color: var(--st-muted); line-height: 1.55; }
.st-auth-card label { display: block; margin-bottom: 8px; color: var(--st-text); font-size: 12px; font-weight: 800; }
.st-auth-card .form-control { height: 48px; padding: 11px 13px; border: 1px solid var(--st-border); border-radius: 12px; background: var(--st-surface); color: var(--st-text); box-shadow: none; }
.st-auth-card .form-control:focus { border-color: var(--st-primary); box-shadow: 0 0 0 4px rgba(104,87,245,.1); }
.st-auth-card .st-btn { width: 100%; }
.st-auth-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 10px 0 22px; color: var(--st-muted); font-size: 12px; }
.st-auth-divider { display: flex; align-items: center; gap: 12px; margin: 23px 0; color: var(--st-muted); font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.st-auth-divider::before, .st-auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--st-border); }
.st-social-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.st-auth-switch { margin-top: 24px; color: var(--st-muted); font-size: 12px; text-align: center; }
.st-auth-alert { margin-bottom: 18px; padding: 11px 13px; border-radius: 11px; background: #fff0f2; color: #c63e50; font-size: 12px; }
.st-auth-alert ul { margin: 0; padding-left: 18px; }

/* Public timeline improvements, shared by all legacy layouts */
.st-public-body .cd-horizontal-timeline { width: min(1180px, calc(100% - 36px)); margin: 42px auto 0; padding: 28px 24px 32px; border: 1px solid var(--st-border); border-radius: 26px; background: var(--st-surface); box-shadow: var(--st-shadow); }
.st-public-body .cd-horizontal-timeline > center:first-child h3 { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 20px; color: var(--st-text); font-size: 22px; font-weight: 850; }
.st-public-body .cd-horizontal-timeline > center:first-child img { width: 58px !important; height: 58px !important; border: 3px solid var(--st-primary-soft); object-fit: cover; box-shadow: 0 7px 18px rgba(30,38,64,.12); }
.st-public-body .cd-horizontal-timeline .events-content { color: var(--st-text); }
.st-public-body .cd-horizontal-timeline .events-content li { padding: 0 3%; }
.st-public-body .cd-horizontal-timeline .events-content img,
.st-public-body .cd-horizontal-timeline .timeline_img { border: 0; border-radius: 18px; box-shadow: var(--st-shadow-sm); object-fit: contain; }
.st-public-body .cd-horizontal-timeline .events-content em { color: var(--st-primary); font-size: 12px; font-weight: 750; font-style: normal; }
.st-public-body .cd-horizontal-timeline .events a { color: var(--st-muted); }
.st-public-body .cd-horizontal-timeline .events a.selected { color: var(--st-primary); font-weight: 800; }
.st-public-body .cd-horizontal-timeline .filling-line { background: linear-gradient(90deg, var(--st-primary), var(--st-accent)); }
.st-public-body .cd-horizontal-timeline .events a.selected::after,
.st-public-body .cd-horizontal-timeline .events a.older-event::after { border-color: var(--st-primary); background: var(--st-primary); }
.st-public-body .cd-horizontal-timeline .events-wrapper::before { background-image: linear-gradient(to right, var(--st-surface), rgba(255,255,255,0)); }
.st-public-body .cd-horizontal-timeline .events-wrapper::after { background-image: linear-gradient(to left, var(--st-surface), rgba(255,255,255,0)); }
.st-public-body .btn-controls { display: inline-grid; place-items: center; width: 43px; height: 43px; margin: 0 3px; border: 1px solid var(--st-border); border-radius: 13px; background: var(--st-surface-soft); color: var(--st-primary); }
.st-public-body .btn-controls:hover { transform: translateY(-2px); border-color: var(--st-primary); box-shadow: var(--st-shadow-sm); }
.st-public-body .btn-controls:hover ion-icon { animation: st-icon-pop .45s ease; }
.st-public-body #bottom-desc { margin-top: 14px; color: var(--st-text); font-size: 18px; font-weight: 800; }
.st-public-body #bottom-desc-text { color: var(--st-muted); font-size: 13px; }
.st-timeline-sharebar { display: flex; justify-content: center; gap: 9px; margin: 4px 0 18px; }
.st-public-body > section:not(.cd-horizontal-timeline) { width: min(1050px, calc(100% - 36px)); margin: 28px auto 60px !important; padding: 24px; border: 1px solid var(--st-border); border-radius: 22px; background: var(--st-surface); box-shadow: var(--st-shadow-sm); }
.st-public-body .comment-list article { margin: 0 0 12px; padding: 14px; border: 1px solid var(--st-border); border-radius: 14px; background: var(--st-surface-soft); }
.st-public-body .comment-list hr { display: none; }
.st-public-body .comment-user { color: var(--st-text); font-weight: 800; }
.st-public-body .comment-date { color: var(--st-muted); font-size: 11px; }
.st-public-body .comment-post p { color: var(--st-muted); }
.st-public-body textarea.form-control, .st-public-body input.form-control { border-color: var(--st-border); border-radius: 12px; background: var(--st-surface); color: var(--st-text); }
.st-public-body #likes_button.is-celebrating { animation: st-like .55s ease; }

/* Overlay utilities */
.st-command {
  position: fixed;
  z-index: 10020;
  inset: 0;
  display: grid;
  align-items: start;
  justify-items: center;
  padding: 12vh 20px 20px;
  background: rgba(10,13,22,.55);
  backdrop-filter: blur(7px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
}
.st-command.is-open { opacity: 1; visibility: visible; }
.st-command-panel { width: min(570px, 100%); overflow: hidden; border: 1px solid var(--st-border); border-radius: 20px; background: var(--st-surface); box-shadow: 0 30px 80px rgba(0,0,0,.3); transform: translateY(-12px) scale(.98); transition: transform .2s ease; }
.st-command.is-open .st-command-panel { transform: translateY(0) scale(1); }
.st-command-input { display: flex; align-items: center; gap: 12px; padding: 17px; border-bottom: 1px solid var(--st-border); }
.st-command-input i { color: var(--st-muted); }
.st-command-input input { flex: 1; border: 0; outline: 0; background: transparent; color: var(--st-text); font-size: 16px; }
.st-command-results { max-height: 350px; margin: 0; padding: 10px; overflow-y: auto; list-style: none; }
.st-command-results li a { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 11px; color: var(--st-text); }
.st-command-results li a:hover, .st-command-results li.is-active a { background: var(--st-primary-soft); color: var(--st-primary); }
.st-command-results i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--st-surface-soft); }
.st-command-empty { display: none; padding: 32px; color: var(--st-muted); text-align: center; }
.st-command-footer { display: flex; gap: 14px; padding: 10px 16px; border-top: 1px solid var(--st-border); color: var(--st-muted); font-size: 10px; }

.st-lightbox { position: fixed; z-index: 10030; inset: 0; display: grid; place-items: center; padding: 35px; background: rgba(6,8,14,.88); opacity: 0; visibility: hidden; transition: .2s ease; }
.st-lightbox.is-open { opacity: 1; visibility: visible; }
.st-lightbox img { max-width: min(1050px, 92vw); max-height: 84vh; border-radius: 16px; box-shadow: 0 25px 80px rgba(0,0,0,.45); transform: scale(.96); transition: transform .2s ease; }
.st-lightbox.is-open img { transform: scale(1); }
.st-lightbox-close { position: absolute; top: 20px; right: 20px; border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.12); color: #fff; }
.st-lightbox-caption { position: absolute; bottom: 16px; color: rgba(255,255,255,.8); font-size: 12px; }

.st-toast-stack { position: fixed; z-index: 10040; top: 88px; right: 20px; display: grid; gap: 10px; width: min(350px, calc(100vw - 40px)); }
.st-toast { position: relative; display: flex; align-items: flex-start; gap: 11px; padding: 15px 40px 15px 15px; overflow: hidden; border: 1px solid var(--st-border); border-radius: 14px; background: var(--st-surface); color: var(--st-text); box-shadow: var(--st-shadow); animation: st-toast-in .35s ease both; }
.st-toast > i { color: var(--st-accent); font-size: 17px; }
.st-toast strong { display: block; margin-bottom: 2px; font-size: 13px; }
.st-toast span { color: var(--st-muted); font-size: 11px; }
.st-toast button { position: absolute; top: 9px; right: 9px; border: 0; background: transparent; color: var(--st-muted); }
.st-toast::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; background: var(--st-accent); animation: st-toast-time 4.5s linear both; transform-origin: left; }
.st-toast.is-error > i { color: var(--st-danger); }
.st-toast.is-error::after { background: var(--st-danger); }

.st-confirm { position: fixed; z-index: 10025; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(10,13,22,.58); opacity: 0; visibility: hidden; transition: .2s ease; }
.st-confirm.is-open { opacity: 1; visibility: visible; }
.st-confirm-card { width: min(410px, 100%); padding: 25px; border-radius: 20px; background: var(--st-surface); box-shadow: var(--st-shadow); transform: translateY(10px); transition: transform .2s ease; }
.st-confirm.is-open .st-confirm-card { transform: translateY(0); }
.st-confirm-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 15px; border-radius: 16px; background: #fff0f2; color: var(--st-danger); font-size: 20px; }
.st-confirm h3 { margin: 0 0 8px; font-size: 19px; font-weight: 850; }
.st-confirm p { margin: 0 0 20px; color: var(--st-muted); font-size: 13px; line-height: 1.55; }
.st-confirm-actions { display: flex; justify-content: flex-end; gap: 9px; }

.st-offline-banner { position: fixed; z-index: 10050; right: 0; bottom: 0; left: 0; padding: 9px 15px; background: #2e3444; color: #fff; font-size: 12px; font-weight: 700; text-align: center; transform: translateY(110%); transition: transform .25s ease; }
.st-offline-banner.is-visible { transform: translateY(0); }

.st-page-enter { animation: st-page-enter .45s ease both; }
.is-hidden-by-filter { display: none !important; }

@keyframes st-icon-pop { 0%,100% { transform: scale(1) rotate(0); } 45% { transform: scale(1.22) rotate(-8deg); } 70% { transform: scale(.95) rotate(4deg); } }
@keyframes st-status-pulse { 50% { box-shadow: 0 0 0 8px rgba(35,200,165,0); } }
@keyframes st-arrow { 0% { transform: translateX(0); opacity: 1; } 45% { transform: translateX(8px); opacity: 0; } 55% { transform: translateX(-8px); opacity: 0; } 100% { transform: translateX(0); opacity: 1; } }
@keyframes st-grow { from { width: 0; } }
@keyframes st-like { 35% { transform: scale(1.22) rotate(-5deg); } 70% { transform: scale(.94) rotate(2deg); } }
@keyframes st-toast-in { from { opacity: 0; transform: translateX(25px); } }
@keyframes st-toast-time { to { transform: scaleX(0); } }
@keyframes st-page-enter { from { opacity: 0; transform: translateY(8px); } }

@media (max-width: 991px) {
  .st-modern-admin .main-header .logo { width: 70px; padding: 0 17px; }
  .st-modern-admin .st-brand-copy { display: none; }
  .st-modern-admin .main-header .navbar { margin-left: 70px; }
  .st-modern-admin .main-sidebar { padding-top: 70px; }
  .st-header-search { min-width: 45px; width: 45px; }
  .st-header-search span, .st-header-search .st-key, .st-online-state span { display: none; }
  .st-online-state { margin: 0 4px; }
  .st-modern-admin.sidebar-collapse .content-wrapper,
  .st-modern-admin.sidebar-collapse .main-footer,
  .st-modern-admin .content-wrapper,
  .st-modern-admin .main-footer { margin-left: 0; }
  .st-modern-admin .main-sidebar { transform: translate(-260px, 0); }
  .st-modern-admin.sidebar-open .main-sidebar { transform: translate(0, 0); }
  .st-stat-grid { grid-template-columns: 1fr; }
  .st-dashboard-grid { grid-template-columns: 1fr; }
  .st-member-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-media-grid .st-media-table tbody { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-settings-layout { grid-template-columns: 1fr; }
  .st-public-body .cd-horizontal-timeline { width: calc(100% - 24px); padding: 20px 12px; }
  .st-public-body .cd-horizontal-timeline .events-content { width: 100%; margin-left: 0; }
  .st-public-body .cd-horizontal-timeline > ol.left_slide_ol { display: none; }
  .st-auth-shell { grid-template-columns: 1fr; }
  .st-auth-visual { min-height: 260px; padding: 30px; }
  .st-auth-quote h2 { font-size: 34px; }
  .st-auth-quote p { display: none; }
}

@media (max-width: 767px) {
  .st-modern-admin .content-header { padding: 22px 18px 6px; }
  .st-modern-admin .content { padding: 18px; }
  .st-modern-admin .content-header > .breadcrumb { display: none; }
  .st-modern-admin .main-footer { padding: 18px; }
  .st-header-tools { padding-right: 7px; }
  .st-online-state { display: none; }
  .st-dashboard-hero { grid-template-columns: 1fr; padding: 25px; }
  .st-profile-ring { display: none; }
  .st-form-grid { grid-template-columns: 1fr; gap: 0; }
  .st-setting-group, .st-layout-options { grid-template-columns: 1fr; }
  .st-quick-grid { grid-template-columns: 1fr; }
  .st-toolbar { align-items: stretch; }
  .st-toolbar select, .st-result-count { width: 100%; margin-left: 0; }
  .st-table-card { overflow-x: auto; }
  .st-media-grid .st-media-table tbody { grid-template-columns: 1fr; }
  .st-public-nav { height: 68px; }
  .st-public-body { padding-top: 68px; }
  .st-mobile-nav-toggle { display: inline-flex; }
  .st-public-nav-links { position: absolute; top: 68px; right: 12px; left: 12px; display: none; flex-direction: column; align-items: stretch; padding: 12px; border: 1px solid var(--st-border); border-radius: 16px; background: var(--st-surface); box-shadow: var(--st-shadow); }
  .st-public-nav-links.is-open { display: flex; }
  .st-public-nav-links a { width: 100%; }
  .st-home-hero { padding: 64px 0 50px; }
  .st-home-hero h1 { letter-spacing: -1.5px; }
  .st-home-stats { flex-direction: column; align-items: center; gap: 11px; }
  .st-section-heading { align-items: stretch; flex-direction: column; }
  .st-member-search { width: 100%; }
  .st-member-grid { grid-template-columns: 1fr; }
  .st-public-footer .container, .st-footer-inner { align-items: flex-start; flex-direction: column; gap: 8px; }
  .st-public-body > section:not(.cd-horizontal-timeline) { padding: 16px; }
  .st-timeline-sharebar { flex-wrap: wrap; }
  .st-auth-visual { min-height: 210px; }
  .st-auth-content { padding: 24px 14px; }
  .st-auth-card { padding: 25px 20px; }
  .st-social-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
