.btn-sh {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform var(--d-state) var(--ease),
              background-color var(--d-state) var(--ease),
              border-color var(--d-state) var(--ease),
              box-shadow var(--d-state) var(--ease);
  text-decoration: none;
  min-height: 36px;
}

.btn-sh-primary {
  background: var(--text);
  color: var(--bg-paper);
}
.btn-sh-primary:hover { transform: translateY(-1px); }
.btn-sh-primary:active { transform: translateY(0); }

.btn-sh-ghost {
  background: transparent;
  color: var(--text-2);
  border-color: var(--hairline);
}
.btn-sh-ghost:hover { border-color: var(--text); color: var(--text); }

.btn-sh-cream {
  background: var(--bg-paper);
  color: var(--text);
}
.btn-sh-cream:hover { transform: translateY(-1px); box-shadow: var(--sh-md); }

.btn-sh-surface {
  background: var(--surface-strong);
  border-color: rgba(10, 10, 10, 0.1);
  color: var(--text);
  backdrop-filter: blur(10px);
  box-shadow: var(--sh-inset), var(--sh-sm);
}
.btn-sh-surface:hover {
  border-color: var(--accent-warm-2);
  transform: translateY(-1px);
  box-shadow: var(--sh-inset), var(--sh-md);
}
.btn-sh-surface:active { transform: translateY(0); box-shadow: var(--sh-inset); }
body.dark .btn-sh-surface {
  border-color: rgba(255, 255, 255, 0.1);
}
body.dark .btn-sh-surface:hover {
  border-color: var(--accent-warm);
  box-shadow: var(--sh-inset), 0 4px 16px -4px rgba(212, 197, 169, 0.25);
}

.btn-sh:disabled,
.btn-sh[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-sh-lg {
  padding: 12px 20px;
  font-size: 13px;
  min-height: 44px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 500;
  background: var(--surface);
  border: 1px solid var(--hairline);
  color: var(--text-2);
  cursor: pointer;
  transition: all var(--d-state) var(--ease);
  font-family: var(--font-body);
  white-space: nowrap;
}
.chip:hover { border-color: var(--text-3); color: var(--text); }
.chip.is-active {
  background: var(--text);
  color: var(--bg-paper);
  border-color: var(--text);
}
.chip:active { transform: scale(0.96); }
.chip .chip-icon { display:inline-flex; align-items:center; width:16px; height:16px; }
.chip .chip-icon svg { width:16px; height:16px; }

.sh-filter-bar .chip {
  position: relative;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 8px 2px;
  margin-right: 22px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text-4);
  text-transform: none;
}
.sh-filter-bar .chip::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 240ms var(--ease);
}
.sh-filter-bar .chip:hover {
  background: transparent;
  border: none;
  color: var(--text-2);
}
.sh-filter-bar .chip.is-active {
  background: transparent;
  border: none;
  color: var(--text);
  font-weight: 600;
}
.sh-filter-bar .chip.is-active::after { transform: scaleX(1); }
.sh-filter-bar .chip:active { transform: none; }

.chip-count {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 2px 6px;
  border-radius: var(--r-pill);
  background: rgba(10, 10, 10, 0.06);
  color: inherit;
}
.chip.is-active .chip-count {
  background: rgba(245, 243, 236, 0.18);
}

.input-sh {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--r-input);
  background: var(--surface);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid var(--border-glass);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: box-shadow var(--d-state) var(--ease), border-color var(--d-state) var(--ease);
}
.input-sh::placeholder { color: var(--text-4); }
.input-sh:focus {
  box-shadow: 0 0 0 4px rgba(10, 10, 10, .06);
  border-color: var(--text);
}
body.dark .input-sh:focus {
  box-shadow: 0 0 0 4px rgba(245, 243, 236, .08);
}

.input-sh.has-error {
  border-color: var(--danger);
}
.helper-error {
  font-size: 12px;
  color: var(--danger);
  margin-top: 4px;
}

.card-sh {
  position: relative;
  border-radius: var(--r-card);
  overflow: hidden;
  transition: transform var(--d-state) var(--ease),
              box-shadow var(--d-state) var(--ease),
              border-color var(--d-state) var(--ease),
              background-color var(--d-state) var(--ease);
  display: flex;
  flex-direction: column;
}

.card-sh.is-glass {
  background: var(--surface-strong);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border: 1px solid var(--border-glass);
  box-shadow: var(--sh-inset), var(--sh-md);
}
.card-sh.is-glass:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-inset), var(--sh-lg);
}

@supports (background: conic-gradient(from 0deg,red,blue)) {
  @property --card-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
  .card-sh.is-glass::before {
    content: '';
    position: absolute;
    inset: -2px;
    z-index: 0;
    border-radius: calc(var(--r-card) + 3px);
    background: conic-gradient(from var(--card-angle), transparent 30deg, var(--accent-warm) 70deg, transparent 110deg, transparent 210deg, var(--accent-warm-2) 250deg, transparent 290deg);
    opacity: 0;
    transition: opacity 0.4s var(--ease);
    pointer-events: none;
  }
  .card-sh.is-glass:hover::before {
    opacity: 1;
    animation: cardAngleSpin 1.6s linear infinite;
  }
  @keyframes cardAngleSpin { to { --card-angle: 360deg; } }
  .card-sh.is-glass > * { position: relative; z-index: 1; }
}

.card-sh.is-borderless {
  background: transparent;
  border: 1px solid transparent;
}
.card-sh.is-borderless:hover {
  background: var(--surface);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border-color: var(--border-glass);
  transform: translateY(-6px);
}

.card-sh.is-outline {
  background: transparent;
  border: 1px solid var(--hairline);
}
.card-sh.is-outline:hover {
  border-color: var(--accent-warm-2);
  transform: translateY(-6px);
}

.card-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(245, 243, 236, 0.2) 100%),
    var(--surface);
  border-bottom: 1px solid var(--hairline);
}
.card-sh.is-outline .card-thumb { border-bottom: none; }

.card-thumb.is-dark {
  background:
    linear-gradient(180deg, rgba(20, 18, 14, 0.92) 0%, rgba(10, 10, 10, 0.96) 100%);
}
.card-thumb.is-dark .card-thumb-name { color: rgba(245, 243, 236, 0.45); }
.card-thumb.is-dark .browser-chrome span:nth-child(1) { background: rgba(220, 38, 38, 0.85); }
.card-thumb.is-dark .browser-chrome span:nth-child(2) { background: rgba(212, 175, 55, 0.85); }
.card-thumb.is-dark .browser-chrome span:nth-child(3) { background: rgba(22, 163, 74, 0.85); }

.card-thumb-name {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-4);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  word-break: break-word;
  line-height: 1.4;
  pointer-events: none;
  z-index: 1;
}

.card-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
  z-index: 2;
  color: transparent;
  font-size: 0;
  background: transparent;
}
.card-thumb img[hidden] { display: none; }
.card-sh:hover .card-thumb img { transform: scale(1.04); }

.card-thumb.has-no-image,
.card-thumb.img-broken {
  background:
    radial-gradient(ellipse 80% 60% at 50% 110%, rgba(212, 197, 169, 0.32), transparent 65%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(245, 243, 236, 0.25) 100%),
    var(--surface);
}
body.dark .card-thumb.has-no-image,
body.dark .card-thumb.img-broken {
  background:
    radial-gradient(ellipse 80% 60% at 50% 110%, rgba(212, 197, 169, 0.18), transparent 65%),
    linear-gradient(180deg, rgba(40, 36, 30, 0.55) 0%, rgba(20, 18, 14, 0.4) 100%),
    var(--surface);
}
.card-thumb-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-4);
  opacity: 0.4;
  z-index: 1;
}
body.dark .card-thumb-fallback {
  color: rgba(245, 243, 236, 0.5);
}

.card-meta-line {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-4);
  line-height: 1;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.card-title-row .card-title {
  flex: 1;
  min-width: 0;
}
.card-version {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-3);
  background: var(--surface);
  border: 1px solid var(--hairline);
  padding: 3px 7px;
  border-radius: var(--r-pill);
  margin-top: 2px;
  line-height: 1;
}

.card-price-num {
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
}

.card-views {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-4);
}
.card-views svg { opacity: 0.7; }

.browser-chrome {
  position: absolute;
  top: 10px;
  left: 12px;
  display: flex;
  gap: 6px;
  z-index: 4;
}
.browser-chrome span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(10, 10, 10, .12);
}
.browser-chrome span:nth-child(1) { background: rgba(220, 38, 38, .55); }
.browser-chrome span:nth-child(2) { background: rgba(212, 175, 55, .6); }
.browser-chrome span:nth-child(3) { background: rgba(22, 163, 74, .55); }

.card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.card-title {
  font-family: var(--font-body) !important;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.35;
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  text-transform: none;
}

.card-price {
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0;
  margin-top: 2px;
}
.card-price del {
  display: block;
  font-size: 11px;
  color: var(--text-4);
  font-weight: 400;
  margin-bottom: 2px;
}
.card-price-unit {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-4);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-left: 2px;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 6px;
}

.card-sold {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-4);
  letter-spacing: 0.04em;
}

.hot-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px 3px 6px;
  border-radius: 6px;
  background: var(--badge-bg, #fff);
  color: var(--badge-fg, var(--text));
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  z-index: 5;
  box-shadow: 0 2px 8px var(--badge-shadow, rgba(10,10,10,0.12));
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.hot-badge.is-hot { --badge-bg: linear-gradient(135deg,#ff4d2e,#ff8c1a); --badge-fg: #fff; --badge-shadow: rgba(255,77,46,0.35); }
.hot-badge.is-new { --badge-bg: linear-gradient(135deg,#5b6ef7,#8b5cf6); --badge-fg: #fff; --badge-shadow: rgba(91,110,247,0.35); }
.hot-badge.is-free { --badge-bg: linear-gradient(135deg,#10b981,#34d399); --badge-fg: #fff; --badge-shadow: rgba(16,185,129,0.35); }
.hot-badge.is-ai { --badge-bg: linear-gradient(135deg,#a855f7,#d946ef); --badge-fg: #fff; --badge-shadow: rgba(168,85,247,0.35); }
body.dark .hot-badge { --badge-shadow: rgba(0,0,0,0.3); }

.quick-eye {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: var(--r-pill);
  background: var(--surface-strong);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  cursor: pointer;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity var(--d-state) var(--ease), transform var(--d-state) var(--ease);
  z-index: 3;
}
.card-sh:hover .quick-eye { opacity: 1; transform: translateY(0); }

.modal-sh-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 200ms var(--ease);
}
.modal-sh-overlay.is-open {
  display: flex;
  opacity: 1;
}
.modal-sh {
  background: var(--surface-strong);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid var(--border-glass);
  border-radius: var(--r-shell);
  box-shadow: var(--sh-inset), var(--sh-xl);
  max-width: 960px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
  animation: scalein 280ms var(--ease) both;
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: var(--r-pill);
  border: 1px solid var(--hairline);
  background: var(--surface);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: all var(--d-state) var(--ease);
}
.modal-close:hover { border-color: var(--text); }

.sh-sidebar {
  width: 264px;
  height: calc((100vh - 32px) / var(--ui-scale, 1));
  position: sticky;
  top: 16px;
  margin: 16px;
  padding: 0;
  border-radius: var(--r-shell);
  display: flex;
  flex-direction: column;
  transition: width var(--d-layout) var(--ease);
  overflow: hidden;
}

.sh-brand-block {
  flex-shrink: 0;
  padding: 18px 18px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sh-brand-block .sh-brand { flex: 1; min-width: 0; }
.sh-brand-toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--hairline);
  color: var(--text-3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform var(--d-page) var(--ease), color var(--d-state) var(--ease), border-color var(--d-state) var(--ease);
}
.sh-brand-toggle:hover { color: var(--text); border-color: var(--text); }
.sh-brand-toggle { transform: rotate(180deg); }
.sh-sidebar.is-collapsed .sh-brand-toggle { transform: rotate(0deg); }
.sh-brand-block-divider {
  height: 1px;
  background: var(--hairline);
  margin: 0 18px;
}
.sh-nav-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  scrollbar-width: thin;
  scrollbar-color: var(--text-5) transparent;
}
.sh-nav-scroll::-webkit-scrollbar { width: 6px; }
.sh-nav-scroll::-webkit-scrollbar-track { background: transparent; }
.sh-nav-scroll::-webkit-scrollbar-thumb { background: var(--text-5); border-radius: 3px; }

.sh-balance-block {
  flex-shrink: 0;
  padding: 14px 18px 18px;
  border-top: 1px solid var(--hairline);
  margin-top: auto;
}
.sh-sidebar.is-collapsed {
  width: 84px;
}
.sh-sidebar.is-collapsed .sh-brand-meta,
.sh-sidebar.is-collapsed .sh-group-label,
.sh-sidebar.is-collapsed .sh-nav-item > span:not(.sh-nav-icon),
.sh-sidebar.is-collapsed .sh-balance-block {
  display: none !important;
}
.sh-sidebar.is-collapsed .sh-nav-item { justify-content: center; padding: 14px 12px; }
.sh-sidebar.is-collapsed .sh-brand { gap: 0; justify-content: center; }
.sh-sidebar.is-collapsed .sh-sub { display: none !important; }

.sh-sidebar.is-collapsed .sh-brand-block {
  padding: 18px 0 14px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.sh-sidebar.is-collapsed .sh-brand-toggle {
  display: inline-flex;
  width: 28px;
  height: 28px;
}
.sh-sidebar.is-collapsed .sh-brand-meta {
  display: none !important;
}
.sh-sidebar.is-collapsed .sh-brand {
  flex: 0 0 auto;
  justify-content: center;
  gap: 0;
  width: 44px;
}
.sh-sidebar.is-collapsed .sh-brand-block-divider {
  margin: 0 22px;
}
.sh-sidebar.is-collapsed .sh-nav-item {
  width: 44px;
  height: 44px;
  margin: 0 auto;
  padding: 0;
  gap: 0;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.sh-sidebar.is-collapsed .sh-nav-scroll {
  align-items: center;
  padding: 14px 0;
  gap: 14px;
}
.sh-sidebar.is-collapsed .sh-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.sh-sidebar.is-collapsed .sh-nav-item.is-active {
  background: var(--inverse-bg);
  color: var(--inverse-fg);
}
.sh-sidebar.is-collapsed .sh-nav-item.is-active .sh-nav-icon {
  color: var(--inverse-fg);
}

.sh-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
}
.sh-brand-mark {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 22px;
  font-style: italic;
  font-weight: 500;
  flex-shrink: 0;
  background: transparent;
  color: var(--text);
  border-radius: 0;
}
.sh-brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.sh-brand-text {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--text);
  white-space: nowrap;
  line-height: 1;
  transition: opacity var(--d-state) var(--ease);
}
.sh-brand-sub {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-4);
  margin-top: 4px;
  white-space: nowrap;
}
.sh-brand-meta { display: flex; flex-direction: column; min-width: 0; flex: 1; }

.sh-group { display: flex; flex-direction: column; gap: 4px; }
.sh-group-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-4);
  padding: 4px 14px 8px;
}

.sh-nav-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--text-2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.32s var(--ease),
              color 0.32s var(--ease),
              padding-left 0.35s cubic-bezier(0.65, 0, 0.35, 1);
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
}

.sh-nav-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(212, 197, 169, 0.18) 50%,
    transparent 100%
  );
  transform: translateX(-110%);
  pointer-events: none;
  transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}
.sh-nav-item:hover::after { transform: translateX(110%); }
body.dark .sh-nav-item::after {
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(220, 200, 170, 0.12) 50%,
    transparent 100%
  );
}

.sh-nav-item:hover {
  background: rgba(10, 10, 10, 0.04);
  color: var(--text);
  padding-left: 18px;
}
body.dark .sh-nav-item:hover { background: rgba(255, 255, 255, 0.05); }

.sh-nav-item .sh-nav-icon {
  transition: transform 0.35s cubic-bezier(0.65, 0, 0.35, 1),
              color 0.32s var(--ease);
}
.sh-nav-item:hover .sh-nav-icon { transform: scale(1.08); }

.sh-nav-item.is-active {
  background: var(--inverse-bg);
  color: var(--inverse-fg);
  font-weight: 600;
  padding-left: 18px;
}
.sh-nav-item.is-active .sh-nav-icon { transform: none; }

.sh-nav-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.sh-nav-icon svg { width: 100%; height: 100%; }

.sh-nav-item.has-children {
  background: transparent;
  border: 0;
  width: 100%;
  text-align: left;
  font-family: inherit;
}
.sh-nav-item .sh-nav-chev {
  margin-left: auto;
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-4);
  transition: transform var(--d-state) var(--ease), color var(--d-state) var(--ease);
}
.sh-nav-item[aria-expanded="true"] .sh-nav-chev {
  transform: rotate(90deg);
  color: var(--text);
}

.sh-sub {
  list-style: none;
  margin: 4px 0 4px;
  padding: 0 0 0 28px;
  display: none;
  flex-direction: column;
  gap: 2px;
  position: relative;
}
.sh-sub::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--hairline);
}
.sh-nav-item[aria-expanded="true"] + .sh-sub {
  display: flex;
  animation: itemIn 220ms var(--ease) both;
}

.sh-sub-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 14px;
  border-radius: 10px;
  color: var(--text-3);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  transition: color 0.32s var(--ease),
              background-color 0.32s var(--ease),
              padding-left 0.35s cubic-bezier(0.65, 0, 0.35, 1),
              font-family 0s,
              letter-spacing 0.35s var(--ease);
  overflow: hidden;
}

.sh-sub-link::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(212, 197, 169, 0.10) 50%,
    transparent 100%
  );
  transform: translateX(-110%);
  pointer-events: none;
  transition: transform 0.55s cubic-bezier(0.65, 0, 0.35, 1);
}
.sh-sub-link:hover::after { transform: translateX(110%); }
body.dark .sh-sub-link::after {
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(220, 200, 170, 0.08) 50%,
    transparent 100%
  );
}

.sh-sub-link:hover {
  color: var(--text);
  background: rgba(10, 10, 10, 0.03);
  padding-left: 18px;
}
body.dark .sh-sub-link:hover { background: rgba(255, 255, 255, 0.04); }

.sh-sub-link.is-active {
  color: var(--text);
  background: transparent;
  padding-left: 18px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.sh-sub-link.is-active::before { content: none; }

.sh-sub-bullet {
  width: 3px;
  height: 3px;
  border-radius: 2px;
  background: var(--text-5);
  flex-shrink: 0;
  display: inline-block;
  transition: width 0.4s cubic-bezier(0.65, 0, 0.35, 1),
              height 0.4s cubic-bezier(0.65, 0, 0.35, 1),
              background-color 0.3s var(--ease),
              box-shadow 0.4s var(--ease);
}
.sh-sub-link:hover .sh-sub-bullet {
  width: 2px;
  height: 14px;
  background: var(--text-3);
}
.sh-sub-link.is-active .sh-sub-bullet {
  width: 2px;
  height: 20px;
  background: var(--accent-warm-2);
  box-shadow: 0 0 0 3px rgba(154, 136, 112, 0.16);
}

.sh-balance {
  padding: 14px 16px 12px;
  border-radius: 14px;
  background: transparent;
  color: var(--accent-warm);
  position: relative;
  overflow: hidden;
  transition: transform var(--d-state) var(--ease), box-shadow var(--d-state) var(--ease);
}
.sh-balance::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(212, 197, 169, 0.32), transparent 65%);
  pointer-events: none;
  transition: opacity var(--d-page) var(--ease);
}
.sh-balance:hover::before { opacity: 1.4; }

.sh-balance-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-warm);
  opacity: 0.6;
  margin-bottom: 4px;
}

.sh-balance-value {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0;
  white-space: nowrap;
  color: var(--accent-warm);
}
.sh-balance-value .unit {
  font-size: 10px;
  font-weight: 500;
  opacity: 0.45;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sh-balance .btn-sh-cream,
.sh-balance .sh-balance-action {
  background: transparent;
  color: var(--accent-warm);
  width: 100%;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  padding: 9px 0 0;
  margin-top: 11px;
  min-height: auto;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  transition: color var(--d-state) var(--ease), border-color var(--d-state) var(--ease);
  text-decoration: none;
}
.sh-balance .btn-sh-cream:hover,
.sh-balance .sh-balance-action:hover {
  color: var(--accent-warm);
  border-top-color: rgba(212, 197, 169, 0.3);
  transform: none;
  box-shadow: none;
}
.sh-balance .btn-sh-cream svg,
.sh-balance .sh-balance-action svg {
  transition: transform var(--d-state) var(--ease);
  opacity: 0.7;
}
.sh-balance .btn-sh-cream:hover svg,
.sh-balance .sh-balance-action:hover svg {
  transform: translateX(3px);
  opacity: 1;
}
body.dark .sh-balance .btn-sh-cream,
body.dark .sh-balance .sh-balance-action {
  border-top-color: rgba(154, 136, 112, 0.2);
}
body.dark .sh-balance .btn-sh-cream:hover,
body.dark .sh-balance .sh-balance-action:hover {
  border-top-color: rgba(154, 136, 112, 0.5);
}

.sh-topbar {
  height: 64px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  margin: 16px 0 24px 0;
  border-radius: var(--r-shell);
  position: sticky;
  top: 16px;
  z-index: 100;
}
.sh-topbar::before {
  content: '';
  position: absolute;
  left: -8px;
  right: -8px;
  top: -16px;
  height: 16px;
  pointer-events: none;
  background:
    radial-gradient(ellipse 75% 55% at 12% 8%,  var(--bg-aurora-1), transparent 60%),
    radial-gradient(ellipse 70% 50% at 88% 92%, var(--bg-aurora-2), transparent 60%),
    radial-gradient(ellipse 50% 40% at 50% 30%, var(--bg-aurora-3), transparent 70%),
    var(--bg-paper);
  background-attachment: fixed;
  background-size: 180% 180%;
  animation: auroraShift 22s ease-in-out infinite;
}
body.dark .sh-topbar::before {
  background:
    radial-gradient(ellipse 60% 50% at 92% 95%, rgba(245, 220, 170, 0.18), transparent 60%),
    radial-gradient(ellipse 65% 45% at 8% 5%,   rgba(180, 150, 220, 0.16), transparent 60%),
    radial-gradient(ellipse 50% 40% at 50% 30%, rgba(255, 200, 100, 0.10), transparent 70%),
    linear-gradient(125deg, #0a0a0a 0%, #14110d 55%, #1f1a14 100%);
  background-attachment: fixed;
  background-size: 200% 200%;
}
.sh-topbar::after {
  content: '';
  position: absolute;
  left: -8px;
  right: -8px;
  bottom: -28px;
  height: 28px;
  pointer-events: none;
  z-index: -1;
  background: linear-gradient(to bottom,
    var(--bg-paper) 0%,
    var(--bg-paper) 35%,
    rgba(245, 243, 236, 0) 100%);
}
body.dark .sh-topbar::after {
  background: linear-gradient(to bottom,
    #14110d 0%,
    #14110d 35%,
    rgba(20, 17, 13, 0) 100%);
}
.sh-pinned-top .sh-topbar {
  position: relative;
  top: auto;
  z-index: 100;
}
.sh-pinned-top .sh-topbar::before,
.sh-pinned-top .sh-topbar::after {
  content: none;
}

.sh-search-shell {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  background: var(--surface);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid var(--border-glass);
  position: relative;
  transition: box-shadow var(--d-state) var(--ease);
}
.sh-search-shell:focus-within {
  box-shadow: 0 0 0 4px rgba(10, 10, 10, .06);
}
.sh-search-shell input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
}
.sh-search-shell input::placeholder { color: var(--text-4); }
.sh-search-icon { color: var(--text-4); flex-shrink: 0; display: inline-flex; }
.kbd {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 3px 7px;
  border-radius: 6px;
  background: rgba(10, 10, 10, 0.06);
  color: var(--text-3);
  letter-spacing: 0.04em;
}

.sh-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--r-pill);
  background: var(--surface);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid var(--border-glass);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  cursor: pointer;
  position: relative;
  transition: transform var(--d-state) var(--ease);
}
.sh-icon-btn:hover { transform: translateY(-1px); }
.sh-icon-btn .dot {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--danger);
  animation: hotPulse 1.4s var(--ease) infinite;
}

.sh-user-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  border-radius: var(--r-pill);
  background: var(--surface);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid var(--border-glass);
  cursor: pointer;
  text-decoration: none;
  color: var(--text);
  transition: transform var(--d-state) var(--ease);
}
.sh-user-chip:hover { transform: translateY(-1px); }
.sh-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-paper);
  font-family: var(--font-display);
  font-size: 16px;
  flex-shrink: 0;
  position: relative;
  background: linear-gradient(135deg, var(--accent-warm), var(--accent-warm-2));
}
.sh-avatar::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
  background: url('https://shop.phanmemgiare.net/assets/images/khung/khung-vip-274-1.webp') no-repeat 50% / contain;
  filter: brightness(1.15);
}
.sh-avatar > * { position: relative; z-index: 2; }
.sh-avatar > img:not(.sh-avatar-frame) {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.sh-user-name {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.1;
}
.sh-user-role {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-4);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sh-search-popover {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid var(--hairline);
  box-shadow:
    0 1px 2px rgba(10, 10, 10, 0.04),
    0 12px 32px -8px rgba(10, 10, 10, 0.18),
    0 32px 80px -16px rgba(10, 10, 10, 0.25);
  padding: 6px;
  display: none;
  z-index: 100;
  max-height: 480px;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--text-5) transparent;
}
body.dark .sh-search-popover {
  background: #14110d;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow:
    0 12px 32px -8px rgba(0, 0, 0, 0.5),
    0 32px 80px -16px rgba(0, 0, 0, 0.6);
}
.sh-search-popover.is-open { display: block; animation: itemIn 200ms var(--ease) both; }
.sh-search-popover::-webkit-scrollbar { width: 6px; }
.sh-search-popover::-webkit-scrollbar-thumb { background: var(--text-5); border-radius: 3px; }

.sh-search-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px 8px;
  font-size: 11.5px;
  color: var(--text-4);
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--hairline);
  margin: -6px -6px 4px;
}
.sh-search-header strong {
  color: var(--text);
  font-weight: 600;
}
.sh-search-header.is-empty {
  border-bottom: none;
  padding: 18px 14px;
  text-align: center;
  display: block;
}
.sh-search-header kbd {
  font-family: var(--font-mono);
  font-size: 10.5px;
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  color: var(--text-3);
}

.sh-search-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.sh-search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  color: var(--text);
  transition: background-color var(--d-state) var(--ease);
  position: relative;
}
.sh-search-item:hover {
  background: rgba(10, 10, 10, 0.04);
}
body.dark .sh-search-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.sh-search-thumb {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent-warm), var(--accent-warm-2));
  display: flex;
  align-items: center;
  justify-content: center;
}
.sh-search-thumb-fallback {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0;
}
.sh-search-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity var(--d-state) var(--ease);
}
.sh-search-thumb.has-image img { opacity: 1; }

.sh-search-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sh-search-name {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.005em;
}
.sh-search-name mark {
  background: rgba(212, 197, 169, 0.4);
  color: inherit;
  padding: 0 2px;
  border-radius: 3px;
}
body.dark .sh-search-name mark {
  background: rgba(212, 197, 169, 0.25);
}

.sh-search-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--text-4);
}
.sh-search-tag {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 2px 6px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  color: var(--text-3);
}
.sh-search-price {
  font-family: var(--font-mono);
  color: var(--text-2);
  font-weight: 500;
}
.sh-search-price em {
  font-style: normal;
  color: var(--text-4);
  font-weight: 400;
  margin-left: 4px;
}

.sh-search-arrow {
  flex-shrink: 0;
  color: var(--text-4);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity var(--d-state) var(--ease), transform var(--d-state) var(--ease);
}
.sh-search-item:hover .sh-search-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--text);
}

.sh-search-skeleton {
  height: 60px;
  border-radius: 10px;
  background: linear-gradient(90deg,
    var(--hairline) 0%,
    rgba(10, 10, 10, 0.03) 50%,
    var(--hairline) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.6s linear infinite;
  margin: 4px 0;
}
body.dark .sh-search-skeleton {
  background: linear-gradient(90deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(255, 255, 255, 0.04) 100%);
  background-size: 200% 100%;
}

.sh-hero {
  position: relative;
  border-radius: var(--r-shell);
  padding: 36px 40px;
  background:
    radial-gradient(ellipse 60% 80% at 95% 110%, rgba(245, 243, 236, 0.18), transparent 70%),
    linear-gradient(105deg, #0a0a0a 0%, #1a1a1a 60%, #2a2520 100%);
  background-size: 200% 200%;
  animation: heroShift 12s ease-in-out infinite;
  color: #f5f3ec;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
  overflow: hidden;
  margin-bottom: 28px;
}
body.dark .sh-hero { color: #f5f3ec; }
body.dark .sh-hero-eyebrow { color: rgba(245, 243, 236, 0.65); }
body.dark .sh-hero-title { color: #f5f3ec; }
body.dark .sh-hero-desc { color: rgba(245, 243, 236, 0.78); }
body.dark .sh-hero-cta-meta { color: rgba(245, 243, 236, 0.55); }
@keyframes heroShift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
.sh-hero-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 243, 236, 0.65);
  margin-bottom: 12px;
}
.sh-hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--inverse-fg);
  margin: 0 0 12px;
}
.sh-hero-title em {
  color: var(--accent-warm);
  font-style: italic;
}
.sh-hero-desc {
  font-size: 13px;
  color: rgba(245, 243, 236, 0.78);
  max-width: 56ch;
  margin: 0;
}
.sh-hero-cta-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
}
.sh-hero-cta-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(245, 243, 236, 0.6);
  letter-spacing: 0.06em;
}

.sh-filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin: 24px 0 16px;
}

.sh-section { margin-bottom: 48px; }
.sh-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--hairline);
}
.sh-section-head-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.sh-section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-4);
}
.sh-section-eyebrow::before {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--text-4);
  display: inline-block;
}
.sh-section-title {
  font-family: var(--font-body) !important;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 0;
  line-height: 1.2;
}
.sh-section-count {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-4);
  vertical-align: baseline;
  margin-left: 8px;
  padding: 2px 8px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
}
.sh-section-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-4);
  white-space: nowrap;
}
.sh-section-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--d-state) var(--ease), gap var(--d-state) var(--ease);
}
.sh-section-more:hover { color: var(--text); gap: 10px; }

.sh-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 1100px) {
  .sh-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .sh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .sh-grid { grid-template-columns: 1fr; }
}

.sh-empty {
  padding: 60px 24px;
  text-align: center;
  border-radius: var(--r-card);
  border: 1px dashed var(--hairline);
}
.sh-empty-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 0 0 6px;
  line-height: 1.15;
}
.sh-empty-hint {
  font-size: 13px;
  color: var(--text-4);
  margin: 0;
}

.sh-live {
  position: fixed;
  right: 16px;
  bottom: 16px;
  max-width: 320px;
  padding: 12px 14px;
  border-radius: 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  z-index: 90;
  animation: liveIn 380ms var(--ease) both;
}

.sh-notify {
  position: relative;
  padding: 36px 40px;
  border-radius: var(--r-shell);
  background:
    radial-gradient(ellipse 60% 80% at 100% 100%, rgba(212, 197, 169, 0.10), transparent 70%),
    radial-gradient(ellipse 40% 60% at 0% 0%, rgba(154, 136, 112, 0.08), transparent 70%),
    linear-gradient(105deg, #0a0a0a 0%, #1a1a1a 60%, #2a2520 100%);
  background-size: 200% 200%;
  animation: heroShift 14s ease-in-out infinite;
  color: var(--inverse-fg);
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 28px;
  overflow: hidden;
  box-shadow: var(--sh-md);
}

.sh-notify-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.sh-notify-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 32px;
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--inverse-fg);
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.sh-notify-title .pass-num {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: 0.02em;
  color: var(--accent-warm);
  background: rgba(212, 197, 169, 0.08);
  border: 1px solid rgba(212, 197, 169, 0.25);
  padding: 2px 12px;
  border-radius: var(--r-pill);
  margin-left: 4px;
}

.sh-notify-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.sh-notify-actions .btn-sh {
  background: rgba(245, 243, 236, 0.04);
  border: 1px solid rgba(245, 243, 236, 0.14);
  color: rgba(245, 243, 236, 0.88);
  padding: 9px 14px 9px 12px;
  font-size: 12.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.sh-notify-actions .btn-sh:hover {
  background: rgba(245, 243, 236, 0.10);
  border-color: rgba(245, 243, 236, 0.32);
  color: var(--inverse-fg);
  transform: translateY(-1px);
}
.sh-notify-actions .btn-sh svg {
  flex-shrink: 0;
  opacity: 0.85;
}
.sh-notify-actions .btn-sh:hover svg { opacity: 1; }

.sh-notify-body {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(245, 243, 236, 0.10);
}
@media (max-width: 720px) {
  .sh-notify-body { grid-template-columns: 1fr; gap: 12px; }
}

.sh-notify-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(245, 243, 236, 0.5);
  padding-top: 4px;
}

.sh-notify-text {
  font-size: 14px;
  color: rgba(245, 243, 236, 0.82);
  margin: 0;
  line-height: 1.65;
}

.sh-notify-text p {
  position: relative;
  margin: 0 0 12px;
  padding-left: 22px;
  text-indent: 0;
}
.sh-notify-text p:last-child { margin-bottom: 0; }
.sh-notify-text p::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 12px;
  height: 1px;
  background: rgba(212, 197, 169, 0.5);
}
.sh-notify-text strong {
  color: var(--inverse-fg);
  font-weight: 600;
  display: inline;
}
.sh-notify-text br + strong { display: inline; }
.sh-notify-text font[color] { color: var(--accent-warm) !important; }
.sh-notify-text i { color: var(--accent-warm); font-style: normal; }

.pill-status {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: var(--r-pill);
  font-family: var(--font-mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.12em;
  border: 1px solid var(--hairline);
  color: var(--text-3);
}
.pill-status.is-success { color: var(--success); }
.pill-status.is-danger  { color: var(--danger); }
.pill-status.is-pending { color: var(--text-3); }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.sh-layout {
  display: flex;
  align-items: flex-start;
  min-height: calc(100vh / var(--ui-scale, 1));
}
.sh-main {
  flex: 1;
  min-width: 0;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
}

.sh-pinned-top {
  position: sticky;
  top: 0;
  z-index: 40;
  margin: 0 -24px;
  padding: 0 24px 14px;
  background:
    radial-gradient(ellipse 75% 55% at 12% 8%,  var(--bg-aurora-1), transparent 60%),
    radial-gradient(ellipse 70% 50% at 88% 92%, var(--bg-aurora-2), transparent 60%),
    radial-gradient(ellipse 50% 40% at 50% 30%, var(--bg-aurora-3), transparent 70%),
    var(--bg-paper);
  background-attachment: fixed;
  background-size: 180% 180%;
  animation: auroraShift 22s ease-in-out infinite;
}
body.dark .sh-pinned-top {
  background:
    radial-gradient(ellipse 60% 50% at 92% 95%, rgba(245, 220, 170, 0.18), transparent 60%),
    radial-gradient(ellipse 65% 45% at 8% 5%,   rgba(180, 150, 220, 0.16), transparent 60%),
    radial-gradient(ellipse 50% 40% at 50% 30%, rgba(255, 200, 100, 0.10), transparent 70%),
    linear-gradient(125deg, #0a0a0a 0%, #14110d 55%, #1f1a14 100%);
  background-attachment: fixed;
  background-size: 200% 200%;
}
.sh-pinned-top .sh-topbar {
  margin-bottom: 16px;
}
.sh-pinned-top .sh-stat-row {
  margin-bottom: 0;
}
.sh-pinned-top .sh-filter-bar-row {
  margin: 6px 0 0;
  border-bottom: none;
}
.sh-main-inner {
  padding: 0 0 32px 0;
}

.layout-wrap { display: flex; align-items: flex-start; min-height: calc(100vh / var(--ui-scale, 1)); }
.section-menu-left { width: auto; flex-shrink: 0; background: transparent !important; box-shadow: none !important; }
.section-content-right { flex: 1; min-width: 0; padding: 0 16px 0 0; }

/* Auth pages - Editorial design */
.ed {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
}
.ed-bg {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  position: relative;
  background:
    radial-gradient(ellipse 75% 55% at 12% 8%, var(--bg-aurora-1), transparent 60%),
    radial-gradient(ellipse 70% 50% at 88% 92%, var(--bg-aurora-2), transparent 60%),
    radial-gradient(ellipse 50% 40% at 50% 30%, var(--bg-aurora-3), transparent 70%),
    var(--bg-paper);
  background-attachment: fixed;
}
body.dark .ed-bg {
  background:
    radial-gradient(ellipse 60% 50% at 92% 95%, rgba(245, 220, 170, 0.18), transparent 60%),
    radial-gradient(ellipse 65% 45% at 8% 5%, rgba(180, 150, 220, 0.16), transparent 60%),
    radial-gradient(ellipse 50% 40% at 50% 30%, rgba(255, 200, 100, 0.10), transparent 70%),
    linear-gradient(125deg, #0a0a0a 0%, #14110d 55%, #1f1a14 100%);
}
.ed-content {
  width: 100%;
  max-width: 480px;
}
.ed-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
}
.ed-nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}
.ed-nav-links a {
  text-decoration: none;
  color: var(--text-3);
  font-size: 13px;
  font-weight: 500;
  transition: color var(--d-state) var(--ease);
}
.ed-nav-links a:hover { color: var(--text); }
.ed-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  width: 100%;
  max-width: 960px;
  margin: 120px auto 0;
  padding: 0 40px;
}
.ed-pitch { padding-right: 24px; }
.ed-pitch-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-4);
  margin-bottom: 16px;
}
.ed-pitch-title {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 20px;
}
.ed-pitch-desc {
  font-size: 14px;
  color: var(--text-3);
  line-height: 1.7;
  margin: 0;
}
.ed-card {
  background: var(--surface-strong);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid var(--border-glass);
  border-radius: var(--r-shell);
  box-shadow: var(--sh-inset), var(--sh-xl);
  padding: 36px;
}
.ed-card-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 6px;
}
.ed-card-sub {
  font-size: 13px;
  color: var(--text-4);
  margin: 0 0 28px;
}
.ed-form-group { margin-bottom: 18px; }
.ed-form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 6px;
}
.ed-form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ed-form-row a {
  font-size: 12px;
  color: var(--text-4);
  text-decoration: none;
}
.ed-form-row a:hover { color: var(--text); }
.ed-check-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 20px;
}
.ed-check-row label {
  font-size: 13px;
  color: var(--text-3);
  cursor: pointer;
}
.ed-check-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--text);
  cursor: pointer;
}
.ed-divider {
  text-align: center;
  font-size: 12px;
  color: var(--text-4);
  margin: 20px 0;
  position: relative;
}
.ed-divider::before,
.ed-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: calc(50% - 24px);
  height: 1px;
  background: var(--hairline);
}
.ed-divider::before { left: 0; }
.ed-divider::after { right: 0; }
.ed-footer-text {
  text-align: center;
  font-size: 13px;
  color: var(--text-4);
  margin-top: 20px;
}
.ed-footer-text a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}
.ed-footer-text a:hover { text-decoration: underline; }
.ed-secure {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-5);
  text-align: center;
  margin-top: 24px;
  letter-spacing: 0.08em;
}

@media (max-width: 768px) {
  .ed-main { grid-template-columns: 1fr; gap: 32px; margin-top: 100px; }
  .ed-pitch { padding-right: 0; }
  .ed-card { padding: 28px; }
}

/* Dashboard & Admin tables */
.sh-table-wrap {
  overflow-x: auto;
  border-radius: var(--r-card);
  border: 1px solid var(--border-glass);
  background: var(--surface-strong);
  backdrop-filter: blur(24px) saturate(140%);
}
.sh-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.sh-table th {
  text-align: left;
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-4);
  border-bottom: 1px solid var(--hairline);
  background: var(--surface);
}
.sh-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--hairline);
  color: var(--text-2);
}
.sh-table tr:hover td { background: rgba(10,10,10,0.02); }
.sh-table tr:last-child td { border-bottom: none; }

/* Admin tabs */
.sh-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 0;
}
.sh-tab {
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-3);
  cursor: pointer;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  border-bottom: 2px solid transparent;
  transition: color var(--d-state) var(--ease), border-color var(--d-state) var(--ease);
}
.sh-tab:hover { color: var(--text); }
.sh-tab.is-active {
  color: var(--text);
  border-bottom-color: var(--text);
}
.sh-tab-content { display: none; }
.sh-tab-content.is-active { display: block; }

/* Small stat cards */
.sh-stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}
.sh-stat-card {
  padding: 20px;
  border-radius: var(--r-card);
  background: var(--surface-strong);
  backdrop-filter: blur(24px) saturate(140%);
  border: 1px solid var(--border-glass);
}
.sh-stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-4);
  margin-bottom: 8px;
}
.sh-stat-value {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 500;
  color: var(--text);
  line-height: 1;
}

/* ===== Products grid (within sh-main-inner) ===== */
.sh-products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 1100px) { .sh-products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 800px) { .sh-products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .sh-products { grid-template-columns: 1fr; } }

/* ===== Filter shell (chips + sort bar) ===== */
.sh-filter-shell { margin-bottom: 20px; }
.sh-filter-shell-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.sh-filter-shell .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

/* ===== Sort pill dropdown ===== */
.sh-sort-dropdown { position: relative; flex-shrink: 0; }
.sh-sort-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  background: var(--surface-strong);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color var(--d-state) var(--ease);
  min-height: 36px;
}
.sh-sort-trigger:hover { border-color: var(--accent-warm-2); }
.sh-sort-trigger .key { color: var(--text-4); font-weight: 400; }
.sh-sort-trigger .chev { color: var(--text-4); transition: transform var(--d-state) var(--ease); }
.sh-sort-trigger[aria-expanded="true"] .chev { transform: rotate(180deg); }

.sh-sort-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 200px;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  box-shadow: 0 12px 32px -8px rgba(10,10,10,0.16), 0 4px 12px rgba(10,10,10,0.06);
  padding: 6px;
  display: none;
  z-index: 50;
}
body.dark .sh-sort-menu { background: #14110d; border-color: rgba(255,255,255,0.08); }
.sh-sort-menu.is-open,
.sh-sort-trigger[aria-expanded="true"] + .sh-sort-menu,
.sh-sort-trigger[aria-expanded="true"] ~ .sh-sort-menu { display: block; animation: itemIn 180ms var(--ease) both; }

.sh-sort-opt {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 14px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: var(--text-2);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--d-state) var(--ease);
}
.sh-sort-opt:hover { background: rgba(10,10,10,0.04); }
body.dark .sh-sort-opt:hover { background: rgba(255,255,255,0.05); }
.sh-sort-opt.is-active { color: var(--text); font-weight: 600; }

/* ===== Notification dropdown ===== */
.sh-notif { position: relative; }
.sh-notif-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 360px;
  max-height: 420px;
  overflow: auto;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  box-shadow: 0 12px 32px -8px rgba(10,10,10,0.16), 0 32px 60px -16px rgba(10,10,10,0.2);
  display: none;
  z-index: 200;
}
body.dark .sh-notif-panel { background: #14110d; border-color: rgba(255,255,255,0.08); }
.sh-notif-trigger[aria-expanded="true"] + .sh-notif-panel,
.sh-notif-trigger[aria-expanded="true"] ~ .sh-notif-panel { display: block; animation: scalein 200ms var(--ease) both; }
.sh-notif-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--hairline);
}
.sh-notif-title { font-size: 14px; font-weight: 600; color: var(--text); }
.sh-notif-mark-all {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--text-4);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.sh-notif-mark-all:hover { color: var(--text); }
.sh-notif-list { padding: 8px; }
.sh-notif-empty { padding: 24px 16px; text-align: center; color: var(--text-4); font-size: 13px; }
.sh-notif-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  border-radius: 12px;
  margin-bottom: 4px;
  transition: background var(--d-state) var(--ease);
}
.sh-notif-item:hover { background: rgba(10,10,10,0.04); }
body.dark .sh-notif-item:hover { background: rgba(255,255,255,0.05); }
.sh-notif-item.is-unread { background: rgba(10,10,10,0.02); }
body.dark .sh-notif-item.is-unread { background: rgba(255,255,255,0.03); }
.sh-notif-text { font-size: 13px; color: var(--text-2); line-height: 1.4; }
.sh-notif-time { font-size: 11px; color: var(--text-4); font-family: var(--font-mono); }
.sh-notif-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  background: var(--danger);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
}

/* ===== Field / form ===== */
.sh-field { display: flex; flex-direction: column; gap: 6px; }
.sh-label { font-family: var(--font-mono); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-4); }
.sh-input {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--r-input);
  background: var(--surface);
  backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid var(--border-glass);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: box-shadow var(--d-state) var(--ease), border-color var(--d-state) var(--ease);
}
.sh-input::placeholder { color: var(--text-4); }
.sh-input:focus { box-shadow: 0 0 0 4px rgba(10,10,10,.06); border-color: var(--text); }
body.dark .sh-input:focus { box-shadow: 0 0 0 4px rgba(245,243,236,.08); }

/* ===== Card wrapper ===== */
.sh-card { border-radius: var(--r-card); overflow: hidden; }

/* ===== Ripple effect ===== */
.has-ripple { position: relative; overflow: hidden; }
.ripple-effect {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transform: scale(0);
  animation: rippleAnim 600ms ease-out;
  pointer-events: none;
}
body.dark .ripple-effect { background: rgba(0, 0, 0, 0.25); }
@keyframes rippleAnim {
  to { transform: scale(4); opacity: 0; }
}

.sh-live {
  position: fixed;
  right: 16px;
  bottom: 16px;
  max-width: 320px;
  padding: 12px 14px;
  border-radius: 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  z-index: 90;
  animation: liveIn 380ms var(--ease) both;
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  flex-shrink: 0;
  animation: hotPulse 1.4s var(--ease) infinite;
}
@keyframes liveIn {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.sh-live.is-visible { display: flex; }

@keyframes hotPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@keyframes itemIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scalein {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes shimmer {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

/* ===== Mobile sidebar ===== */
@media (max-width: 860px) {
  .sh-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 300;
    margin: 0;
    border-radius: 0;
    width: 280px;
    height: 100vh;
    transform: translateX(-100%);
    transition: transform 320ms var(--ease), width 320ms var(--ease);
  }
  .sh-sidebar.is-mobile-open {
    transform: translateX(0);
  }
  .sh-sidebar.is-collapsed {
    width: 280px;
  }
  .sh-sidebar.is-collapsed .sh-brand-meta,
  .sh-sidebar.is-collapsed .sh-group-label,
  .sh-sidebar.is-collapsed .sh-nav-item > span:not(.sh-nav-icon),
  .sh-sidebar.is-collapsed .sh-balance-block {
    display: flex !important;
  }
  .sh-sidebar.is-collapsed .sh-nav-item {
    width: auto;
    height: auto;
    padding: 12px 14px;
    gap: 12px;
    border-radius: 12px;
    display: flex;
  }
  .sh-sidebar.is-collapsed .sh-brand {
    flex: 1;
    justify-content: flex-start;
    gap: 12px;
    width: auto;
  }
  .sh-sidebar.is-collapsed .sh-brand-block {
    padding: 18px 18px 14px;
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }
  .sh-sidebar.is-collapsed .sh-nav-scroll {
    align-items: stretch;
    padding: 14px 18px;
    gap: 18px;
  }
  .sh-sidebar.is-collapsed .sh-group {
    width: auto;
    align-items: stretch;
    gap: 4px;
  }
  .sh-sidebar.is-collapsed .sh-nav-item.is-active {
    background: var(--inverse-bg);
    color: var(--inverse-fg);
  }
  .sh-main { padding: 0 16px; }
  .sh-hero { padding: 28px 24px; grid-template-columns: 1fr; text-align: center; }
  .sh-hero-cta-col { align-items: center; }
  .sh-brand-toggle { display: none; }
  .sh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sh-pinned-top { padding: 0 16px 10px; margin: 0 -16px; }
  .sh-topbar { gap: 8px; padding: 8px 10px; }
  .sh-search-shell { gap: 6px; }
  .sh-user-chip .sh-user-name,
  .sh-user-chip .sh-user-role { display: none; }
  .sh-user-chip { padding: 4px; }
  .kbd { display: none; }
  .admin-layout { flex-direction: column; }
  .admin-sidebar { width: 100%; position: static; display: flex; flex-wrap: wrap; gap: 4px; }
  .admin-sidebar a { flex: 1; min-width: 120px; justify-content: center; }
}

/* ===== Toast ===== */
.sh-toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  z-index: 99999;
  opacity: 0;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  pointer-events: auto;
}
/* ===== HERO SECTION ===== */
.sh-hero {
    position: relative;
    padding: 60px 0 40px;
    text-align: center;
    overflow: hidden;
    isolation: isolate;
}
.sh-hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 40%, rgba(99,102,241,0.12), transparent 70%),
                radial-gradient(ellipse 40% 40% at 30% 60%, rgba(236,72,153,0.08), transparent 60%),
                radial-gradient(ellipse 40% 40% at 70% 60%, rgba(59,130,246,0.08), transparent 60%);
    pointer-events: none;
    z-index: 0;
}
body.dark .sh-hero-bg {
    background: radial-gradient(ellipse 60% 50% at 50% 40%, rgba(99,102,241,0.18), transparent 70%),
                radial-gradient(ellipse 40% 40% at 30% 60%, rgba(236,72,153,0.12), transparent 60%),
                radial-gradient(ellipse 40% 40% at 70% 60%, rgba(59,130,246,0.12), transparent 60%);
}
.sh-hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}
.sh-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--r-pill);
    background: var(--surface);
    border: 1px solid var(--hairline);
    font-size: 12px;
    font-weight: 500;
    color: var(--text-3);
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}
.sh-hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--success);
    display: inline-block;
    animation: pulse-dot 2s ease-in-out infinite;
}
.sh-hero-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 6vw, 56px);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 16px;
    color: var(--text);
}
.sh-hero-highlight {
    background: linear-gradient(135deg, #6366f1, #ec4899, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.sh-hero-desc {
    font-size: 15px;
    color: var(--text-4);
    line-height: 1.6;
    margin: 0 0 28px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}
.sh-hero-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.sh-hero-stats {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}
.sh-hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.sh-hero-stat-num {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    font-family: var(--font-display);
}
.sh-hero-stat-label {
    font-size: 12px;
    color: var(--text-5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.sh-hero-decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.sh-hero-orbe {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: orbe-float 8s ease-in-out infinite alternate;
}
.sh-hero-orbe-1 {
    width: 300px;
    height: 300px;
    background: rgba(99,102,241,0.15);
    top: -80px;
    left: -60px;
}
.sh-hero-orbe-2 {
    width: 250px;
    height: 250px;
    background: rgba(236,72,153,0.1);
    bottom: -60px;
    right: -40px;
    animation-delay: -3s;
}
.sh-hero-orbe-3 {
    width: 200px;
    height: 200px;
    background: rgba(59,130,246,0.1);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -6s;
}
@keyframes orbe-float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -20px) scale(1.1); }
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* ===== CATEGORY STRIP ===== */
.sh-cat-strip {
    padding: 0 0 32px;
    overflow: hidden;
}
.sh-cat-strip-inner {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 0 12px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}
.sh-cat-strip-inner::-webkit-scrollbar { height: 0; }
.sh-cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    border-radius: 16px;
    background: var(--surface);
    border: 1px solid var(--hairline);
    text-decoration: none;
    color: var(--text-2);
    min-width: 90px;
    scroll-snap-align: start;
    transition: all var(--d-state) var(--ease);
    backdrop-filter: blur(8px);
    flex-shrink: 0;
}
.sh-cat-item:hover {
    border-color: var(--text-3);
    color: var(--text);
    transform: translateY(-2px);
    box-shadow: var(--sh-md);
}
.sh-cat-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-3);
}
.sh-cat-icon svg { width: 24px; height: 24px; }
.sh-cat-item:hover .sh-cat-icon { color: var(--text); }
.sh-cat-label {
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    text-align: center;
    color: var(--text-4);
}
.sh-cat-item:hover .sh-cat-label { color: var(--text-2); }

/* ===== CARD IMAGE ENHANCEMENTS ===== */
.card-sh .card-thumb img,
.card-sh .card-thumb svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s var(--ease);
}
.card-sh:hover .card-thumb img {
    transform: scale(1.05);
}
.card-thumb .thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.card-thumb .thumb-placeholder svg {
    width: 48px;
    height: 48px;
    opacity: 0.4;
}
.card-sh:hover {
    transform: translateY(-3px);
    box-shadow: var(--sh-lg);
}
.card-sh:active {
    transform: translateY(0);
}

/* ===== FOOTER ===== */
.sh-footer {
    position: relative;
    margin-top: 60px;
    padding: 48px 0 0;
    border-top: 1px solid var(--hairline);
    overflow: hidden;
}
.sh-footer-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(99,102,241,0.06), transparent 70%);
    pointer-events: none;
}
.sh-footer-inner {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.sh-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}
@media (max-width: 768px) {
    .sh-footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
.sh-footer-brand {
    display: flex;
    flex-direction: column;
}
.sh-footer-brand-name {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}
.sh-footer-brand-desc {
    font-size: 13px;
    color: var(--text-4);
    line-height: 1.6;
    margin-bottom: 16px;
}
.sh-footer-social {
    display: flex;
    gap: 8px;
}
.sh-footer-social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    border: 1px solid var(--hairline);
    color: var(--text-3);
    transition: all var(--d-state) var(--ease);
    text-decoration: none;
}
.sh-footer-social-link svg { width: 16px; height: 16px; }
.sh-footer-social-link:hover {
    background: var(--text);
    color: var(--bg-paper);
    border-color: var(--text);
    transform: translateY(-2px);
}
.sh-footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.sh-footer-col-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}
.sh-footer-link {
    font-size: 13px;
    color: var(--text-4);
    text-decoration: none;
    transition: color var(--d-state) var(--ease);
    width: fit-content;
}
.sh-footer-link:hover { color: var(--text); }
.sh-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-top: 1px solid var(--hairline);
    flex-wrap: wrap;
    gap: 12px;
}
.sh-footer-copy { font-size: 12px; color: var(--text-5); }
.sh-footer-payments { display: flex; gap: 6px; flex-wrap: wrap; }
.sh-footer-pay-badge {
    padding: 4px 10px;
    border-radius: var(--r-pill);
    background: var(--surface);
    border: 1px solid var(--hairline);
    font-size: 11px;
    font-weight: 500;
    color: var(--text-4);
}
.sh-footer-pay-badge:hover { color: var(--text); border-color: var(--text-3); }

.sh-toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.sh-toast-inner {
  padding: 14px 24px;
  border-radius: var(--r-pill);
  background: var(--inverse-bg);
  color: var(--inverse-fg);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}
.sh-toast-inner a { color: var(--accent-warm); }
body.dark .sh-toast-inner { box-shadow: 0 4px 24px rgba(0,0,0,0.5); }

.sh-support-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.sh-support-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--accent-warm), var(--accent-warm-2));
  color: var(--bg-paper);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(154, 136, 112, 0.4);
  transition: transform var(--d-state) var(--ease), box-shadow var(--d-state) var(--ease);
  position: relative;
}
.sh-support-btn:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 28px rgba(154, 136, 112, 0.5);
}
.sh-support-btn:active {
  transform: scale(0.94);
}
.sh-support-btn svg {
  width: 24px;
  height: 24px;
}
.sh-support-close-icon {
  display: none;
}
.sh-support-fab.is-open .sh-support-icon {
  display: none;
}
.sh-support-fab.is-open .sh-support-close-icon {
  display: block;
}
.sh-support-fab.is-open .sh-support-btn {
  background: var(--surface-strong);
  color: var(--text);
  box-shadow: var(--sh-inset), var(--sh-md);
}
.sh-support-popup {
  display: none;
  flex-direction: column;
  background: var(--surface-strong);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid var(--border-glass);
  border-radius: 18px;
  box-shadow: var(--sh-inset), var(--sh-lg);
  padding: 12px;
  min-width: 200px;
  animation: itemIn 200ms var(--ease) both;
  transform-origin: bottom right;
}
.sh-support-fab.is-open .sh-support-popup {
  display: flex;
}
.sh-support-popup-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-3);
  padding: 6px 10px 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 4px;
}
.sh-support-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  transition: background-color var(--d-state) var(--ease);
}
.sh-support-link:hover {
  background: rgba(10, 10, 10, 0.04);
}
body.dark .sh-support-link:hover {
  background: rgba(255, 255, 255, 0.05);
}
.sh-support-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--text-3);
}
.sh-support-link:hover svg {
  color: var(--text);
}