:root {
  --bg-page: #f6f4ef;
  --bg-page-soft: #fcfbf8;
  --bg-sidebar: rgba(252, 249, 243, 0.92);
  --bg-panel: rgba(255, 252, 248, 0.9);
  --bg-panel-strong: rgba(255, 255, 253, 0.96);
  --bg-card: rgba(255, 255, 255, 0.92);
  --bg-card-hover: rgba(250, 251, 253, 0.98);
  --bg-card-selected: linear-gradient(180deg, rgba(239, 246, 255, 0.96), rgba(247, 250, 255, 0.98));
  --text-primary: #20293a;
  --text-secondary: #627086;
  --text-muted: #8793a5;
  --border-subtle: rgba(89, 111, 148, 0.14);
  --border-strong: rgba(84, 112, 160, 0.22);
  --primary: #2f78d8;
  --primary-hover: #2366c7;
  --primary-soft: rgba(47, 120, 216, 0.1);
  --primary-gradient: linear-gradient(135deg, #6da9ff, #2f78d8 58%, #1f63bd);
  --accent: #6f8fb8;
  --warning: #c9852f;
  --warning-soft: rgba(201, 133, 47, 0.12);
  --shadow-soft: 0 20px 54px rgba(52, 72, 105, 0.08);
  --shadow-card: 0 14px 34px rgba(46, 64, 94, 0.06);
  --focus-ring: 0 0 0 3px rgba(47, 120, 216, 0.14);
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --syls-bg: var(--bg-page);
  --syls-bg-soft: var(--bg-page-soft);
  --syls-sidebar-surface: var(--bg-sidebar);
  --syls-list-surface: var(--bg-panel);
  --syls-article-surface: var(--bg-panel-strong);
  --syls-surface: var(--bg-card);
  --syls-surface-strong: var(--bg-card);
  --syls-line: var(--border-subtle);
  --syls-line-strong: var(--border-strong);
  --syls-text: var(--text-primary);
  --syls-muted: var(--text-secondary);
  --syls-soft: var(--text-muted);
  --syls-accent: var(--primary);
  --syls-accent-dark: var(--primary-hover);
  --syls-accent-light: var(--primary);
  --syls-accent-light-alt: #5e98eb;
  --syls-warm: var(--warning);
  --syls-rose: #bd6f73;
  --syls-teal: #5b7f94;
  --syls-green: #5b9286;
  --syls-shadow: var(--shadow-soft);
  --syls-glow-blue: rgba(47, 120, 216, 0.08);
  --syls-glow-violet: rgba(198, 164, 119, 0.06);
  --syls-glow-cyan: rgba(125, 154, 190, 0.06);
  --syls-panel-blur: blur(18px) saturate(1.08);
  --syls-radius-lg: var(--radius-lg);
  --syls-radius-md: var(--radius-md);
  --syls-radius-sm: var(--radius-sm);
  --syls-ui-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --syls-title-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

body[data-syls-theme="dark"] {
  --bg-page: #09111c;
  --bg-page-soft: #0e1824;
  --bg-sidebar: rgba(13, 21, 32, 0.94);
  --bg-panel: rgba(15, 24, 36, 0.92);
  --bg-panel-strong: rgba(18, 28, 42, 0.95);
  --bg-card: rgba(21, 31, 45, 0.92);
  --bg-card-hover: rgba(25, 37, 52, 0.96);
  --bg-card-selected: linear-gradient(180deg, rgba(24, 41, 63, 0.98), rgba(18, 30, 46, 1));
  --text-primary: #edf3fb;
  --text-secondary: #a9b7ca;
  --text-muted: #7f90a7;
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(109, 152, 214, 0.24);
  --primary: #5d98ee;
  --primary-hover: #7ab0ff;
  --primary-soft: rgba(93, 152, 238, 0.14);
  --primary-gradient: linear-gradient(135deg, #7ab0ff, #4b84dd 58%, #346fc8);
  --accent: #8099b7;
  --warning: #d09b58;
  --warning-soft: rgba(208, 155, 88, 0.16);
  --shadow-soft: 0 24px 64px rgba(0, 0, 0, 0.26);
  --shadow-card: 0 14px 34px rgba(0, 0, 0, 0.18);
  --focus-ring: 0 0 0 3px rgba(93, 152, 238, 0.18);
  --syls-bg: var(--bg-page);
  --syls-bg-soft: var(--bg-page-soft);
  --syls-sidebar-surface: var(--bg-sidebar);
  --syls-list-surface: var(--bg-panel);
  --syls-article-surface: var(--bg-panel-strong);
  --syls-surface: var(--bg-card);
  --syls-surface-strong: var(--bg-card);
  --syls-line: var(--border-subtle);
  --syls-line-strong: var(--border-strong);
  --syls-text: var(--text-primary);
  --syls-muted: var(--text-secondary);
  --syls-soft: var(--text-muted);
  --syls-accent: var(--primary);
  --syls-accent-dark: var(--primary-hover);
  --syls-accent-light: var(--primary);
  --syls-accent-light-alt: #7ab0ff;
  --syls-shadow: var(--shadow-soft);
  --syls-glow-blue: rgba(93, 152, 238, 0.08);
  --syls-glow-violet: rgba(117, 145, 186, 0.05);
  --syls-glow-cyan: rgba(79, 115, 158, 0.06);
}

body.dark-theme {
  --syls-bg: var(--bg-page);
  --syls-bg-soft: var(--bg-page-soft);
  --syls-surface: var(--bg-card);
  --syls-surface-strong: var(--bg-card);
  --syls-line: var(--border-subtle);
  --syls-line-strong: var(--border-strong);
  --syls-text: var(--text-primary);
  --syls-muted: var(--text-secondary);
  --syls-soft: var(--text-muted);
  --syls-accent: var(--primary);
  --syls-accent-dark: var(--primary-hover);
}

/* ── Dark mode overrides ── */
html body.syls-reader-ui[data-syls-theme="dark"] {
  background:
    radial-gradient(circle at 16% 10%, rgba(93, 152, 238, 0.08), transparent 34%),
    radial-gradient(circle at 84% 14%, rgba(109, 144, 190, 0.05), transparent 28%),
    linear-gradient(135deg, #09111c, #0a1420 46%, #08101a),
    var(--syls-bg);
}

[data-syls-theme="dark"] .syls-sidebar {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 24%),
    radial-gradient(circle at 50% 0%, rgba(93, 152, 238, 0.06), transparent 38%),
    var(--syls-sidebar-surface);
  box-shadow: var(--shadow-soft);
}

[data-syls-theme="dark"] .syls-list-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 28%),
    radial-gradient(circle at 18% 8%, rgba(93, 152, 238, 0.05), transparent 32%),
    var(--syls-list-surface);
  box-shadow: var(--shadow-soft);
}

[data-syls-theme="dark"] .syls-article-panel {
  background:
    radial-gradient(circle at 86% 8%, rgba(93, 152, 238, 0.04), transparent 28%),
    var(--syls-article-surface);
}

[data-syls-theme="dark"] .syls-panel-header {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

[data-syls-theme="dark"] .syls-brand {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

[data-syls-theme="dark"] .syls-brand img {
  filter: none;
}

[data-syls-theme="dark"] .syls-nav-item {
  color: var(--text-secondary);
}

[data-syls-theme="dark"] .syls-nav-icon {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--syls-item-color, var(--primary)) 14%, rgba(255, 255, 255, 0.06)), color-mix(in srgb, var(--syls-item-color, var(--primary)) 12%, rgba(7, 14, 26, 0.82)));
  color: color-mix(in srgb, var(--syls-item-color, var(--primary)) 72%, #b9cae6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), inset 0 -8px 14px rgba(4, 10, 20, 0.18);
}

[data-syls-theme="dark"] .syls-nav-item.is-active {
  color: var(--text-primary);
  background: var(--primary-gradient);
  box-shadow: none;
}

[data-syls-theme="dark"] .syls-cat-toggle {
  border-color: rgba(114, 184, 255, 0.22);
  background:
    linear-gradient(180deg, rgba(114, 184, 255, 0.16), rgba(114, 184, 255, 0.04)),
    rgba(20, 34, 52, 0.72);
  color: #73bdff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10), 0 12px 28px rgba(0, 0, 0, 0.20);
}

[data-syls-theme="dark"] .syls-cat-toggle:hover,
[data-syls-theme="dark"] .syls-cat-toggle:focus,
[data-syls-theme="dark"] .syls-nav-branch.is-open > .syls-nav-line .syls-cat-toggle {
  border-color: rgba(114, 184, 255, 0.36);
  background:
    linear-gradient(180deg, rgba(114, 184, 255, 0.22), rgba(41, 151, 255, 0.08)),
    rgba(18, 42, 67, 0.78);
  color: #8dccff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 14px 32px rgba(41, 151, 255, 0.14);
}

[data-syls-theme="dark"] .syls-list-toggle {
  border-color: rgba(91, 179, 255, 0.38);
  background:
    radial-gradient(circle at 34% 24%, rgba(124, 199, 255, 0.30), transparent 42%),
    linear-gradient(180deg, rgba(28, 52, 78, 0.96), rgba(10, 23, 38, 0.98));
  color: #4fb3ff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 16px 34px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(91, 179, 255, 0.08);
}

[data-syls-theme="dark"] .syls-list-toggle:hover,
[data-syls-theme="dark"] .syls-list-toggle:focus {
  border-color: rgba(124, 199, 255, 0.62);
  background:
    radial-gradient(circle at 34% 24%, rgba(124, 199, 255, 0.42), transparent 44%),
    linear-gradient(180deg, rgba(36, 70, 104, 0.98), rgba(12, 30, 50, 1));
  color: #b9e4ff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 18px 38px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(91, 179, 255, 0.16);
}

[data-syls-theme="dark"] .syls-search input,
[data-syls-theme="dark"] .syls-list-tools {
  border-color: rgba(196, 218, 255, 0.18);
  background: rgba(21, 31, 46, 0.98);
  color: var(--syls-text);
  box-shadow: 0 12px 28px rgba(3, 10, 18, 0.22);
}

[data-syls-theme="dark"] .syls-search input::placeholder {
  color: #aeb9ca;
}

[data-syls-theme="dark"] .syls-list-tools a {
  color: #c9d4e5;
}

[data-syls-theme="dark"] .syls-post-row {
  border-color: rgba(75, 149, 230, 0.28);
  background:
    radial-gradient(circle at 92% 8%, rgba(97, 188, 255, 0.16), transparent 30%),
    linear-gradient(135deg, rgba(33, 47, 66, 0.94), rgba(17, 29, 45, 0.96) 58%, rgba(14, 24, 38, 0.98));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

[data-syls-theme="dark"] .syls-post-row::after {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 36%),
    linear-gradient(315deg, rgba(41, 151, 255, 0.10), transparent 38%);
  opacity: 0.9;
}

[data-syls-theme="dark"] .syls-post-row-kicker {
  background: rgba(91, 179, 255, 0.13);
  color: #5bb3ff;
  box-shadow: inset 0 0 0 1px rgba(91, 179, 255, 0.10);
}

[data-syls-theme="dark"] .syls-topic-badge-list {
  border-color: color-mix(in srgb, var(--syls-topic-color) 28%, rgba(255, 255, 255, 0.08));
  background: color-mix(in srgb, var(--syls-topic-color) 15%, rgba(255, 255, 255, 0.04));
  color: color-mix(in srgb, var(--syls-topic-color) 86%, #dbeafe);
}

[data-syls-theme="dark"] .syls-post-row:hover,
[data-syls-theme="dark"] .syls-post-row:focus,
[data-syls-theme="dark"] .syls-post-row.is-active {
  border-color: rgba(91, 179, 255, 0.42);
  background:
    radial-gradient(circle at 92% 8%, rgba(97, 188, 255, 0.22), transparent 32%),
    linear-gradient(135deg, rgba(38, 56, 78, 0.96), rgba(20, 34, 52, 0.98) 58%, rgba(15, 26, 42, 1));
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(91, 179, 255, 0.08);
}

[data-syls-theme="dark"] .syls-post-row.is-active::before {
  background: linear-gradient(180deg, #9b8cff, #4db3ff 54%, #16d5c6);
}

[data-syls-theme="dark"] .syls-post-row-date {
  color: #aeb9ca;
}

[data-syls-theme="dark"].syls-list-collapsed .syls-compact-library-icon {
  border-color: rgba(91, 179, 255, 0.46);
  background:
    radial-gradient(circle at 34% 24%, rgba(124, 199, 255, 0.30), transparent 42%),
    linear-gradient(180deg, rgba(29, 55, 82, 0.96), rgba(9, 22, 37, 0.98));
  color: #4fb3ff;
  box-shadow: none;
}

[data-syls-theme="dark"].syls-list-collapsed .syls-compact-library-icon:hover,
[data-syls-theme="dark"].syls-list-collapsed .syls-compact-library-icon:focus {
  border-color: rgba(124, 199, 255, 0.58);
  background:
    radial-gradient(circle at 34% 24%, rgba(124, 199, 255, 0.44), transparent 44%),
    linear-gradient(180deg, rgba(39, 76, 112, 0.98), rgba(12, 32, 54, 1));
  color: #b9e4ff;
  box-shadow: none;
}

[data-syls-theme="dark"].syls-list-collapsed .syls-post-row {
  border: 1px solid rgba(91, 179, 255, 0.22);
  background:
    linear-gradient(180deg, rgba(29, 45, 64, 0.88), rgba(13, 25, 40, 0.94)),
    rgba(14, 27, 43, 0.96);
  box-shadow: none;
}

[data-syls-theme="dark"].syls-list-collapsed .syls-post-row:hover,
[data-syls-theme="dark"].syls-list-collapsed .syls-post-row:focus {
  border-color: rgba(124, 199, 255, 0.40);
  background:
    linear-gradient(180deg, rgba(41, 65, 92, 0.96), rgba(17, 33, 52, 0.98)),
    rgba(18, 36, 58, 0.98);
  box-shadow: none;
}

[data-syls-theme="dark"].syls-list-collapsed .syls-post-index {
  color: #4fb3ff;
  text-shadow: 0 0 16px rgba(79, 179, 255, 0.20);
}

[data-syls-theme="dark"].syls-list-collapsed .syls-post-row.is-active {
  border-color: rgba(124, 199, 255, 0.52);
  background: linear-gradient(135deg, #7668ff, #1585f5 58%, #05b6c8);
  box-shadow: none;
}

[data-syls-theme="dark"].syls-list-collapsed .syls-compact-page {
  border-color: rgba(91, 179, 255, 0.42);
  background:
    radial-gradient(circle at 34% 24%, rgba(124, 199, 255, 0.20), transparent 44%),
    linear-gradient(180deg, rgba(37, 59, 82, 0.96), rgba(15, 28, 43, 0.98));
  color: #4fb3ff;
  box-shadow: none;
}

[data-syls-theme="dark"].syls-list-collapsed .syls-compact-page:hover,
[data-syls-theme="dark"].syls-list-collapsed .syls-compact-page:focus {
  border-color: rgba(124, 199, 255, 0.58);
  background:
    radial-gradient(circle at 34% 24%, rgba(124, 199, 255, 0.34), transparent 44%),
    linear-gradient(180deg, rgba(49, 81, 114, 0.98), rgba(18, 37, 58, 1));
  color: #d6efff;
  text-decoration: none;
}

[data-syls-theme="dark"] .syls-post-row strong {
  color: #f6f9ff;
}

[data-syls-theme="dark"] .syls-article-content img,
[data-syls-theme="dark"] .syls-article-content video,
[data-syls-theme="dark"] .syls-featured-image img {
  border: 1px solid rgba(255, 255, 255, 0.08);
}

[data-syls-theme="dark"]:not(.syls-reader-ui) {
  background:
    radial-gradient(circle at 22% 18%, rgba(41, 151, 255, 0.14), transparent 30%),
    #000;
  color: var(--syls-text);
}


html body.syls-reader-ui {
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 8%, var(--syls-glow-blue), transparent 28%),
    radial-gradient(circle at 45% 0%, var(--syls-glow-violet), transparent 26%),
    radial-gradient(circle at 92% 14%, var(--syls-glow-cyan), transparent 30%),
    var(--syls-bg);
  color: var(--syls-text);
  font-size: var(--syls-base-font, 16px);
  font-family: var(--syls-ui-font);
  font-variant-numeric: tabular-nums;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0;
}


.syls-app-shell,
.syls-app-shell * {
  box-sizing: border-box;
}

.syls-app-shell {
  width: 100vw;
  height: var(--syls-vh, 100vh);
  display: grid;
  grid-template-columns: var(--syls-sidebar-width, 252px) minmax(280px, var(--syls-list-width, 454px)) minmax(0, 1fr);
  gap: var(--syls-layout-gap, 26px);
  padding: var(--syls-layout-padding, 26px);
  overflow: hidden;
  transition: grid-template-columns 0.38s cubic-bezier(0.22, 1, 0.36, 1), gap 0.32s ease;
}

body.syls-sidebar-collapsed .syls-app-shell {
  grid-template-columns: 92px minmax(280px, var(--syls-list-width, 454px)) minmax(0, 1fr);
}

body.syls-list-collapsed .syls-app-shell {
  grid-template-columns: var(--syls-sidebar-width, 252px) 78px minmax(0, 1fr);
}

body.syls-sidebar-collapsed.syls-list-collapsed .syls-app-shell {
  grid-template-columns: 92px 78px minmax(0, 1fr);
}

.syls-app-shell.syls-home-grid-shell {
  grid-template-columns: var(--syls-sidebar-width, 252px) minmax(0, 1fr);
}

body.syls-sidebar-collapsed .syls-app-shell.syls-home-grid-shell,
body.syls-sidebar-collapsed.syls-list-collapsed .syls-app-shell.syls-home-grid-shell {
  grid-template-columns: 92px minmax(0, 1fr);
}

.syls-home-grid-panel {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.syls-sidebar,
.syls-list-panel,
.syls-article-panel,
.syls-home-grid-panel {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-gutter: stable;
  scrollbar-color: transparent transparent;
  transition: scrollbar-color 0.24s ease;
}

.syls-sidebar:hover,
.syls-list-panel:hover,
.syls-article-panel:hover,
.syls-sidebar.is-scrolling,
.syls-list-panel.is-scrolling,
.syls-article-panel.is-scrolling {
  scrollbar-color: color-mix(in srgb, var(--syls-accent) 34%, rgba(110, 110, 115, 0.28)) transparent;
}

.syls-list-panel,
.syls-article-panel {
  transition: opacity 0.28s ease, transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.syls-app-shell.is-navigating .syls-list-panel,
.syls-app-shell.is-navigating .syls-article-panel {
  opacity: 0.46;
  transform: translateY(8px);
  pointer-events: none;
}

.syls-app-shell.is-list-transitioning .syls-list-panel {
  will-change: padding, border-radius, transform;
}

.syls-sidebar::-webkit-scrollbar,
.syls-list-panel::-webkit-scrollbar,
.syls-article-panel::-webkit-scrollbar {
  width: 10px;
}

.syls-sidebar::-webkit-scrollbar-thumb,
.syls-list-panel::-webkit-scrollbar-thumb,
.syls-article-panel::-webkit-scrollbar-thumb {
  min-height: 72px;
  border: 3px solid transparent;
  border-radius: 99px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--syls-accent) 48%, #ffffff), color-mix(in srgb, var(--syls-accent) 28%, #7c8ca3)) padding-box;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34);
  opacity: 0;
  transition: opacity 0.24s ease, background 0.18s ease;
}

.syls-sidebar::-webkit-scrollbar-track,
.syls-list-panel::-webkit-scrollbar-track,
.syls-article-panel::-webkit-scrollbar-track {
  margin: 26px 0;
  border-radius: 99px;
  background: transparent;
  transition: background 0.24s ease;
}

.syls-sidebar:hover::-webkit-scrollbar-thumb,
.syls-list-panel:hover::-webkit-scrollbar-thumb,
.syls-article-panel:hover::-webkit-scrollbar-thumb,
.syls-sidebar.is-scrolling::-webkit-scrollbar-thumb,
.syls-list-panel.is-scrolling::-webkit-scrollbar-thumb,
.syls-article-panel.is-scrolling::-webkit-scrollbar-thumb {
  opacity: 1;
}

.syls-sidebar:hover::-webkit-scrollbar-track,
.syls-list-panel:hover::-webkit-scrollbar-track,
.syls-article-panel:hover::-webkit-scrollbar-track,
.syls-sidebar.is-scrolling::-webkit-scrollbar-track,
.syls-list-panel.is-scrolling::-webkit-scrollbar-track,
.syls-article-panel.is-scrolling::-webkit-scrollbar-track {
  background: color-mix(in srgb, var(--syls-line) 34%, transparent);
}

.syls-sidebar::-webkit-scrollbar-thumb:hover,
.syls-list-panel::-webkit-scrollbar-thumb:hover,
.syls-article-panel::-webkit-scrollbar-thumb:hover {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--syls-accent) 62%, #ffffff), color-mix(in srgb, var(--syls-accent) 44%, #7c8ca3)) padding-box;
}

.syls-sidebar {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 32px 10px 22px;
  border: 1px solid var(--syls-line);
  border-radius: var(--syls-radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.52), transparent 35%),
    radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--syls-accent) 10%, transparent), transparent 42%),
    var(--syls-sidebar-surface);
  box-shadow: 0 30px 90px rgba(23, 52, 92, 0.12);
  backdrop-filter: var(--syls-panel-blur);
  -webkit-backdrop-filter: var(--syls-panel-blur);
}

.syls-sidebar-head {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px 20px 14px;
}

.syls-sidebar-toggle {
  position: absolute;
  top: 3px;
  right: -7px;
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 0px;
  background: transparent !important;
  box-shadow: none;
  color: var(--syls-accent);
  cursor: pointer;
  box-shadow: none;
  transition: transform 0.18s ease, color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.syls-sidebar-toggle span {
  position: relative;
  display: block;
  width: 15px;
  height: 15px;
  font-size: 0;
  line-height: 1;
  transform: none;
  translate: 0;
}

.syls-sidebar-toggle span::before,
.syls-sidebar-toggle span::after {
  content: "";
  position: absolute;
  left: 10px;
  width: 10px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: left center;
}

.syls-sidebar-toggle span::before {
  top: 5px;
  transform: rotate(135deg);
}

.syls-sidebar-toggle span::after {
  bottom: 3px;
  transform: rotate(-135deg);
}

.syls-sidebar-toggle:hover,
.syls-sidebar-toggle:focus {
  border-color: color-mix(in srgb, var(--syls-accent) 42%, var(--syls-line));
  background: color-mix(in srgb, var(--syls-accent) 8%, var(--syls-surface-strong)) !important;
  color: var(--syls-accent-dark);
}

body.syls-sidebar-collapsed .syls-sidebar {
  align-items: center;
  overflow: hidden !important;
  padding: 24px 10px 22px;
  border-radius: 999px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body.syls-sidebar-collapsed .syls-sidebar::-webkit-scrollbar {
  display: none;
}

body.syls-sidebar-collapsed .syls-sidebar-head {
  position: relative;
  z-index: 5;
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  justify-content: center;
  justify-items: center;
  width: 100%;
  min-height: 0;
  padding: 0;
}

body.syls-sidebar-collapsed .syls-sidebar-toggle {
  position: sticky;
  top: 18px;
  z-index: 12;
  width: 38px;
  min-width: 38px;
  height: 38px;
  min-height: 38px;
  display: inline-grid;
  place-items: center;
  margin: 0 auto;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--syls-accent) 26%, var(--syls-line));
  border-radius: 999px;
  background: color-mix(in srgb, var(--syls-surface-strong) 82%, transparent);
  color: var(--syls-accent);
  box-shadow: none;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

body.syls-sidebar-collapsed .syls-sidebar-toggle:hover {
  border-color: color-mix(in srgb, var(--syls-accent) 42%, var(--syls-line));
  background: color-mix(in srgb, var(--syls-accent) 8%, var(--syls-surface-strong));
  color: var(--syls-accent-dark);
  box-shadow: none;
  transform: translateY(-1px);
}

body.syls-sidebar-collapsed .syls-sidebar-toggle:focus {
  outline: none;
}

body.syls-sidebar-collapsed .syls-sidebar-toggle:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--syls-accent) 34%, transparent);
  outline-offset: 3px;
}

body.syls-sidebar-collapsed .syls-sidebar-toggle span {
  width: 20px;
  height: 20px;
  color: var(--syls-accent);
  transform: none;
  translate: 3px;
}

body.syls-sidebar-collapsed .syls-main-nav {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  padding-top: 9px;
  scrollbar-width: none;
  scrollbar-gutter: auto;
  -ms-overflow-style: none;
}

body.syls-sidebar-collapsed .syls-main-nav::-webkit-scrollbar {
  display: none;
}

body.syls-reader-ui .syls-sidebar,
body.syls-reader-ui .syls-main-nav,
body.syls-reader-ui .syls-list-panel,
body.syls-reader-ui .syls-article-panel {
  scrollbar-width: none;
  scrollbar-gutter: auto;
  -ms-overflow-style: none;
}

body.syls-reader-ui .syls-sidebar::-webkit-scrollbar,
body.syls-reader-ui .syls-main-nav::-webkit-scrollbar,
body.syls-reader-ui .syls-list-panel::-webkit-scrollbar,
body.syls-reader-ui .syls-article-panel::-webkit-scrollbar {
  display: none;
}

body.syls-reader-ui .syls-list-panel,
body.syls-reader-ui .syls-article-panel {
  scrollbar-width: none;
  scrollbar-gutter: auto;
  -ms-overflow-style: none;
}

body.syls-reader-ui .syls-list-panel::-webkit-scrollbar,
body.syls-reader-ui .syls-article-panel::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.syls-custom-scrollbar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  width: 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-9999px, -9999px, 0);
  transition: opacity 0.18s ease;
}

.syls-custom-scrollbar.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.syls-custom-scrollbar-thumb {
  position: absolute;
  top: 0;
  left: 3px;
  width: 6px;
  min-height: 46px;
  border-radius: 999px;
  background: linear-gradient(180deg, #57c2f7, var(--syls-accent) 58%, #7d74ff);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 8px 18px color-mix(in srgb, var(--syls-accent) 24%, transparent);
  cursor: grab;
}

.syls-custom-scrollbar-thumb:active,
.syls-custom-scrollbar.is-dragging .syls-custom-scrollbar-thumb {
  cursor: grabbing;
  background: linear-gradient(180deg, #75d4ff, color-mix(in srgb, var(--syls-accent) 88%, #ffffff) 58%, #918bff);
}

body.syls-reader-ui[data-syls-theme="dark"] .syls-custom-scrollbar {
  background: transparent;
  box-shadow: none;
}

.syls-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  overflow: visible;
  color: var(--syls-text);
  text-decoration: none;
}

body.syls-sidebar-collapsed .syls-brand {
  display: flex;
  justify-content: center;
  width: 58px;
  min-height: 58px;
  height: 58px;
  padding: 0;
  overflow: hidden;
  border-radius: 999px;
  background: transparent;
}

.syls-brand:hover,
.syls-brand:focus {
  color: var(--syls-text);
  text-decoration: none;
}

.syls-brand img {
  display: block;
  max-width: min(210px, 100%);
  max-height: 50px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.syls-logo-pair {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  max-width: 100%;
}

.syls-logo-dark {
  display: none !important;
}

body[data-syls-theme="dark"] .syls-logo-light {
  display: none !important;
}

body[data-syls-theme="dark"] .syls-logo-dark {
  display: block !important;
}

body.syls-sidebar-collapsed .syls-brand img {
  width: auto;
  max-width: none;
  max-height: 36px;
  object-position: left center;
}

body.syls-sidebar-collapsed .syls-logo-pair {
  width: 40px;
  overflow: hidden;
}

.syls-brand .custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.syls-brand-mark {
  width: 30px;
  height: 30px;
  display: inline-grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 4px;
  color: #5f4a38;
}

.syls-brand-mark i {
  display: block;
  width: 6px;
  border-radius: 8px;
  background: currentColor;
}

.syls-brand-mark i:nth-child(1) {
  height: 18px;
}

.syls-brand-mark i:nth-child(2) {
  height: 26px;
}

.syls-brand-mark i:nth-child(3) {
  height: 13px;
}

.syls-brand-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 18px;
  font-weight: 800;
}

.syls-main-nav {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  align-content: start;
  grid-auto-rows: max-content;
  gap: 18px;
  padding: 14px 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-gutter: stable;
  scrollbar-color: transparent transparent;
}

.syls-main-nav:hover,
.syls-main-nav.is-scrolling {
  scrollbar-color: color-mix(in srgb, var(--syls-accent) 34%, rgba(110, 110, 115, 0.28)) transparent;
}

.syls-main-nav::-webkit-scrollbar {
  width: 10px;
}

.syls-main-nav::-webkit-scrollbar-thumb {
  min-height: 72px;
  border: 3px solid transparent;
  border-radius: 99px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--syls-accent) 48%, #ffffff), color-mix(in srgb, var(--syls-accent) 28%, #7c8ca3)) padding-box;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.syls-main-nav::-webkit-scrollbar-track {
  background: transparent;
}

.syls-nav-branch {
  display: grid;
  gap: 0;
  min-width: 0;
}

.syls-nav-line {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.syls-nav-line .syls-nav-item {
  flex: 1 1 auto;
  min-width: 0;
}

.syls-cat-toggle {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--syls-line);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.52), transparent),
    color-mix(in srgb, var(--syls-surface) 82%, transparent);
  color: color-mix(in srgb, var(--syls-item-color, var(--syls-accent)) 70%, var(--syls-muted));
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.56), 0 8px 18px rgba(23, 52, 92, 0.08);
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.syls-cat-toggle span {
  position: relative;
  width: 14px;
  height: 14px;
  display: block;
  transition: transform 0.24s ease;
}

.syls-cat-toggle span::before,
.syls-cat-toggle span::after {
  content: "";
  position: absolute;
  top: 6px;
  width: 8px;
  height: 2.5px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
}

.syls-cat-toggle span::before {
  left: 1px;
  transform: rotate(42deg);
}

.syls-cat-toggle span::after {
  right: 1px;
  transform: rotate(-42deg);
}

.syls-nav-branch.is-open > .syls-nav-line .syls-cat-toggle span {
  transform: rotate(180deg);
}

.syls-cat-toggle:hover,
.syls-cat-toggle:focus {
  border-color: color-mix(in srgb, var(--syls-item-color, var(--syls-accent)) 22%, var(--syls-line));
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), transparent),
    color-mix(in srgb, var(--syls-item-color, var(--syls-accent)) 12%, transparent);
  color: var(--syls-item-color, var(--syls-accent));
  transform: translateY(-1px);
}

.syls-nav-branch.is-open > .syls-nav-line .syls-cat-toggle {
  border-color: color-mix(in srgb, var(--syls-item-color, var(--syls-accent)) 24%, var(--syls-line));
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), transparent),
    color-mix(in srgb, var(--syls-item-color, var(--syls-accent)) 14%, transparent);
  color: var(--syls-item-color, var(--syls-accent));
}

.syls-nav-children {
  display: grid;
  gap: 14px;
  max-height: 0;
  margin-left: 16px;
  padding-left: 10px;
  border-left: 1px solid color-mix(in srgb, var(--syls-accent) 12%, var(--syls-line));
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: max-height 0.34s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.24s ease, transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), padding-top 0.24s ease, padding-bottom 0.24s ease;
}

.syls-nav-branch.is-open > .syls-nav-children {
  max-height: var(--syls-nav-children-height, 1600px);
  padding-top: 12px;
  padding-bottom: 2px;
  opacity: 1;
  transform: translateY(0);
}

.syls-nav-children .syls-nav-item {
  transform: translateX(-6px);
  opacity: 0;
  transition: transform 0.26s ease, opacity 0.24s ease, background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.syls-nav-branch.is-open > .syls-nav-children .syls-nav-item {
  transform: translateX(0);
  opacity: 1;
}

.syls-nav-branch.is-open > .syls-nav-children .syls-nav-item:nth-child(2) {
  transition-delay: 0.03s;
}

.syls-nav-branch.is-open > .syls-nav-children .syls-nav-item:nth-child(3) {
  transition-delay: 0.06s;
}

.syls-nav-branch.is-open > .syls-nav-children .syls-nav-item:nth-child(4) {
  transition-delay: 0.09s;
}

.syls-nav-branch.is-open > .syls-nav-children .syls-nav-item:nth-child(n+5) {
  transition-delay: 0.12s;
}

.syls-nav-children .syls-nav-item {
  min-height: 42px;
  padding-left: 12px;
  font-size: max(12px, calc(var(--syls-nav-font, 14px) - 1px));
}

.syls-nav-children .syls-nav-icon {
  width: 21px;
  height: 21px;
  flex-basis: 21px;
  border-radius: 8px;
  font-size: 13px;
}

body.syls-sidebar-collapsed .syls-main-nav,
body.syls-sidebar-collapsed .syls-sidebar-bottom {
  width: 100%;
  justify-items: center;
}

body.syls-sidebar-collapsed .syls-nav-branch {
  width: 100%;
  justify-items: center;
  gap: 0;
}

.syls-nav-item {
  --syls-item-color: var(--syls-accent);
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--syls-muted);
  text-decoration: none;
  font-size: var(--syls-nav-font, 14px);
  line-height: var(--syls-sidebar-line-height, 1.4);
  font-weight: 700;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

body.syls-sidebar-collapsed .syls-nav-item {
  width: 58px;
  min-height: 48px;
  justify-content: center;
  padding: 0;
  border-radius: 999px;
}

body.syls-sidebar-collapsed .syls-nav-item > span:not(.syls-nav-icon) {
  display: none;
}

body.syls-sidebar-collapsed .syls-nav-badge {
  top: 9px;
  right: 8px;
}

body.syls-sidebar-collapsed .syls-nav-line {
  justify-content: center;
  width: 58px;
}

body.syls-sidebar-collapsed .syls-cat-toggle {
  display: none;
}

body.syls-sidebar-collapsed .syls-nav-children {
  display: grid;
  justify-items: center;
  gap: 14px;
  width: 100%;
  max-height: 0;
  margin: 0;
  padding: 0;
  border-left: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-4px);
}

body.syls-sidebar-collapsed .syls-nav-branch.is-open > .syls-nav-children {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-4px);
}

body.syls-sidebar-collapsed .syls-nav-children .syls-nav-item {
  width: 58px;
  min-height: 56px;
  justify-content: center;
  padding: 0;
  border-radius: 999px;
  transform: none;
  opacity: 1;
}

body.syls-sidebar-collapsed .syls-nav-children .syls-nav-item > span:not(.syls-nav-icon) {
  display: none;
}

body.syls-sidebar-collapsed .syls-nav-children .syls-nav-icon {
  width: 32px;
  height: 32px;
  flex-basis: 32px;
  border-radius: 12px;
  font-size: 18px;
}

body.syls-sidebar-collapsed .syls-cat-toggle span {
  width: 10px;
  height: 10px;
}

body.syls-sidebar-collapsed .syls-cat-toggle span::before,
body.syls-sidebar-collapsed .syls-cat-toggle span::after {
  top: 4px;
  width: 6px;
  height: 2px;
}

.syls-nav-item:hover,
.syls-nav-item:focus {
  color: var(--syls-item-color);
  text-decoration: none;
  background: color-mix(in srgb, var(--syls-item-color) 12%, transparent);
}

.syls-nav-item.is-active {
  color: #fff;
  background: linear-gradient(135deg, color-mix(in srgb, var(--syls-item-color) 72%, #ffffff), var(--syls-item-color));
  box-shadow: none;
}

body.syls-sidebar-collapsed .syls-nav-item.is-active {
  margin: 2px 0;
  background: linear-gradient(135deg, color-mix(in srgb, var(--syls-item-color) 62%, #ffffff), var(--syls-item-color));
  box-shadow: none;
}

[data-syls-theme="dark"].syls-sidebar-collapsed .syls-nav-item.is-active {
  background: linear-gradient(135deg, #7d80ff, #4a6cff 52%, #1f8fff);
  box-shadow: none;
}

.syls-nav-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 9px;
  background: color-mix(in srgb, var(--syls-item-color) 12%, transparent);
  color: var(--syls-item-color);
  text-align: center;
  font-size: 15px;
  line-height: 1;
}

body.syls-sidebar-collapsed .syls-nav-icon {
  width: 32px;
  height: 32px;
  flex-basis: 32px;
  border-radius: 12px;
  font-size: 18px;
}

.syls-nav-item.is-active .syls-nav-icon {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.syls-cat-link .syls-nav-icon {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--syls-item-color) 16%, #ffffff), color-mix(in srgb, var(--syls-item-color) 10%, transparent));
  color: color-mix(in srgb, var(--syls-item-color) 78%, var(--text-secondary));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.56);
}

.syls-topic-link {
  border-color: transparent;
  background: color-mix(in srgb, var(--syls-item-color) 4%, transparent);
}

.syls-topic-link .syls-nav-icon {
  border: 1px solid color-mix(in srgb, var(--syls-item-color) 20%, var(--border-subtle));
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 28%, color-mix(in srgb, var(--syls-item-color) 20%, #ffffff), transparent 55%),
    color-mix(in srgb, var(--syls-item-color) 8%, transparent);
  color: color-mix(in srgb, var(--syls-item-color) 86%, var(--text-secondary));
}

[data-syls-theme="dark"] .syls-cat-link .syls-nav-icon {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--syls-item-color) 14%, rgba(255, 255, 255, 0.05)), color-mix(in srgb, var(--syls-item-color) 12%, rgba(7, 14, 26, 0.84)));
  color: color-mix(in srgb, var(--syls-item-color) 70%, #c7d6ef);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), inset 0 -8px 14px rgba(4, 10, 20, 0.18);
}

[data-syls-theme="dark"] .syls-topic-link .syls-nav-icon {
  border-color: color-mix(in srgb, var(--syls-item-color) 22%, rgba(255, 255, 255, 0.10));
  background:
    radial-gradient(circle at 32% 28%, color-mix(in srgb, var(--syls-item-color) 16%, rgba(255, 255, 255, 0.10)), transparent 54%),
    color-mix(in srgb, var(--syls-item-color) 10%, rgba(7, 14, 26, 0.82));
  color: color-mix(in srgb, var(--syls-item-color) 74%, #c7d6ef);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), inset 0 -8px 14px rgba(4, 10, 20, 0.16);
}

body.syls-sidebar-collapsed .syls-nav-item.is-active .syls-nav-icon {
  width: 30px;
  height: 30px;
  flex-basis: 30px;
  border-radius: 11px;
  font-size: 17px;
}

.syls-sidebar-bottom {
  display: grid;
  gap: 6px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--syls-line);
}

.syls-nav-soft {
  border-radius: 16px;
}

.syls-sidebar-bottom .syls-nav-item {
  position: relative;
}

.syls-nav-user-line {
  align-items: center;
  gap: 8px;
}

.syls-nav-mini-line {
  align-items: center;
  gap: 8px;
}

.syls-nav-mini-line,
.syls-nav-user-line {
  position: relative;
}

.syls-nav-user-line .syls-nav-item {
  min-width: 0;
}

.syls-nav-user-pop-wrap {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}

.syls-nav-user-avatar .syls-nav-avatar-icon {
  overflow: hidden;
  padding: 0;
  background: color-mix(in srgb, var(--syls-accent) 10%, var(--syls-surface-strong));
}

.syls-nav-user-avatar .syls-nav-avatar-icon img,
.syls-nav-user-avatar .syls-nav-avatar-icon .avatar,
.syls-nav-user-avatar .syls-nav-avatar-icon .avatar-img,
.syls-nav-user-avatar .syls-nav-avatar-icon .avatar-img img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.syls-user-popover {
  position: absolute;
  left: calc(100% + 8px);
  bottom: -8px;
  z-index: 10020;
  width: min(430px, calc(100vw - 36px));
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--border-subtle) 82%, transparent);
  border-radius: 24px;
  background:
    radial-gradient(circle at 18% 0%, rgba(47, 125, 246, 0.08), transparent 34%),
    linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: 0 28px 80px rgba(17, 32, 58, 0.22);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  isolation: isolate;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-8px, 10px) scale(0.98);
  transform-origin: left bottom;
  transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
}

.syls-user-popover::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 0;
  bottom: 0;
  width: 28px;
  height: auto;
}

.syls-nav-user-pop-wrap:hover .syls-user-popover,
.syls-nav-user-pop-wrap:focus-within .syls-user-popover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(0, 0) scale(1);
}

.syls-app-shell:has(.syls-nav-user-pop-wrap:hover),
.syls-app-shell:has(.syls-nav-user-pop-wrap:focus-within) {
  overflow: visible;
}

.syls-sidebar:has(.syls-nav-user-pop-wrap:hover),
.syls-sidebar:has(.syls-nav-user-pop-wrap:focus-within) {
  z-index: 10010;
  overflow: visible !important;
}

.syls-nav-user-pop-wrap:hover,
.syls-nav-user-pop-wrap:focus-within {
  z-index: 10015;
}

.syls-user-pop-head {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 12px;
}

.syls-user-pop-avatar {
  display: block;
  width: 58px;
  height: 58px;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(47, 125, 246, 0.20);
}

.syls-user-pop-avatar img,
.syls-user-pop-avatar .avatar,
.syls-user-pop-avatar .avatar-img,
.syls-user-pop-avatar .avatar-img img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.syls-user-pop-name {
  min-width: 0;
}

.syls-user-pop-name strong {
  display: flex;
  align-items: center;
  gap: 7px;
  overflow: hidden;
  color: var(--text-primary);
  font-size: 20px;
  font-weight: 850;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.syls-user-pop-name strong > span:not(.syls-user-name-vip) {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.syls-user-pop-name p {
  margin: 6px 0 0;
  overflow: hidden;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.syls-user-pop-bell {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border-subtle);
  border-radius: 15px;
  background: #eef5ff;
  color: var(--primary);
  text-decoration: none;
}

.syls-user-pop-bell .syls-nav-badge {
  top: -8px;
  right: -8px;
}

.syls-user-pop-vip,
.syls-user-pop-checkin-wrap,
.syls-user-pop-wallet,
.syls-user-pop-badges {
  margin-top: 12px;
}

.syls-user-pop-vip .payvip-icon,
.syls-user-pop-checkin,
.syls-user-pop-wallet .muted-box,
.syls-user-pop-wallet a {
  min-height: 44px;
  border-radius: 14px !important;
}

.syls-user-pop-wallet .muted-box,
.syls-user-pop-wallet a {
  background-color: #f5f7fb !important;
}

.syls-user-pop-vip .payvip-icon {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 10px 14px !important;
  overflow: hidden;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.15;
  white-space: nowrap;
  box-shadow: none !important;
}

.syls-user-pop-vip .payvip-icon * {
  line-height: 1.15;
}

.syls-user-pop-vip .payvip-icon > i,
.syls-user-pop-vip .payvip-icon > svg,
.syls-user-pop-vip .payvip-icon > img {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  margin: 0 !important;
  object-fit: contain;
}

.syls-user-pop-vip .payvip-icon > i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.syls-user-pop-vip .payvip-icon > span:not(.vip-expdate-tag) {
  min-width: 0;
  overflow: hidden;
  margin: 0 !important;
  text-overflow: ellipsis;
}

.syls-user-pop-vip .vip-expdate-tag {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-left: 2px !important;
  padding: 5px 9px !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  white-space: nowrap;
}

.syls-user-pop-vip .vip-expdate-tag i,
.syls-user-pop-vip .vip-expdate-tag svg {
  width: 13px;
  height: 13px;
  margin: 0 !important;
}

.syls-user-pop-checkin {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: 0;
  background: linear-gradient(135deg, #ffe0a8, #f2c77b);
  color: #7d551e;
  font-weight: 800;
  text-decoration: none;
}

.syls-user-pop-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.syls-user-pop-stats span {
  display: grid;
  gap: 2px;
  padding: 10px 8px;
  border-radius: 15px;
  background: #edf5ff;
  color: var(--primary);
  text-align: center;
}

.syls-user-pop-stat-icon {
  font-style: normal;
  font-size: 15px;
}

.syls-user-pop-stats b {
  color: var(--text-primary);
  font-size: 17px;
  font-weight: 850;
  line-height: 1.15;
}

.syls-user-pop-stats em {
  color: var(--text-muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.syls-user-pop-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  justify-content: center;
}

.syls-user-pop-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.syls-user-pop-actions.is-admin {
  margin-top: 10px;
  padding-top: 0;
  border-top: 0;
}

.syls-user-pop-action {
  display: grid;
  justify-items: center;
  gap: 7px;
  color: var(--text-secondary);
  text-align: center;
  text-decoration: none;
  font-size: 12px;
  font-weight: 760;
}

.syls-user-pop-action span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 16px;
  background: #edf5ff;
  color: var(--primary);
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.syls-user-pop-action em {
  overflow: hidden;
  max-width: 72px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.syls-user-pop-action:hover,
.syls-user-pop-action:focus {
  color: var(--primary);
  text-decoration: none;
}

.syls-user-pop-action:hover span,
.syls-user-pop-action:focus span {
  transform: translateY(-2px);
}

.syls-user-pop-action.is-purple span { background: color-mix(in srgb, #7b5cff 12%, var(--bg-card)); color: #7b5cff; }
.syls-user-pop-action.is-green span { background: color-mix(in srgb, #16a34a 12%, var(--bg-card)); color: #16a34a; }
.syls-user-pop-action.is-red span { background: color-mix(in srgb, #ff5570 13%, var(--bg-card)); color: #ff5570; }
.syls-user-pop-action.is-orange span { background: color-mix(in srgb, #ff8a2a 13%, var(--bg-card)); color: #ff7a1a; }

.syls-user-name-vip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 22px;
  height: 22px;
  padding: 3px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 138, 71, 0.16), rgba(255, 205, 122, 0.22));
  color: #d87516;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  vertical-align: middle;
  white-space: nowrap;
}

.syls-user-name-vip > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.syls-user-name-vip img,
.syls-user-name-vip svg,
.syls-user-name-vip i {
  flex: 0 0 auto;
  width: 16px !important;
  height: 16px !important;
  margin: 0 !important;
  object-fit: contain;
  line-height: 1 !important;
}

.syls-user-profile-name,
.syls-article-author-name {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  flex-wrap: wrap;
}

.syls-article-author-name {
  justify-content: flex-start;
}

[data-syls-theme="dark"] .syls-user-name-vip,
html[data-syls-theme="dark"] .syls-user-name-vip,
html[data-theme="dark"] .syls-user-name-vip {
  background: linear-gradient(135deg, rgba(255, 138, 71, 0.18), rgba(255, 205, 122, 0.12));
  color: #ffbf73;
}

.syls-sidebar:has(.syls-nav-user-pop-wrap:hover),
.syls-sidebar:has(.syls-nav-user-pop-wrap:focus-within) {
  z-index: 10010;
  overflow: visible !important;
}

[data-syls-theme="dark"] .syls-user-popover {
  border-color: rgba(148, 163, 184, 0.18);
  background:
    radial-gradient(circle at 12% 0%, rgba(47, 125, 246, 0.14), transparent 38%),
    linear-gradient(180deg, #121c30, #09101d);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

[data-syls-theme="dark"] .syls-user-pop-bell,
[data-syls-theme="dark"] .syls-user-pop-stats span,
[data-syls-theme="dark"] .syls-user-pop-action span {
  background: #1e2c43;
}

[data-syls-theme="dark"] .syls-user-pop-wallet .muted-box,
[data-syls-theme="dark"] .syls-user-pop-wallet a {
  background-color: #18253a !important;
}

[data-syls-theme="dark"] .syls-user-pop-checkin {
  background: linear-gradient(135deg, rgba(249, 196, 104, 0.92), rgba(173, 119, 38, 0.92));
  color: #fff7df;
}

.syls-nav-mini-action {
  position: relative;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--syls-line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--syls-surface-strong) 82%, transparent);
  color: var(--syls-soft);
  text-decoration: none;
  font-size: 16px;
  line-height: 1;
  font-weight: 760;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.syls-nav-user-line .syls-nav-mini-action,
.syls-nav-mini-line .syls-nav-mini-action {
  margin-left: auto;
}

.syls-nav-user-line .syls-nav-user-avatar {
  width: 100%;
}

body.syls-sidebar-collapsed .syls-nav-user-line .syls-nav-mini-action,
body.syls-sidebar-collapsed .syls-nav-mini-line .syls-nav-mini-action {
  margin-left: 0;
}

.syls-nav-mini-action::after {
  content: attr(aria-label);
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  padding: 7px 12px;
  border: 1px solid color-mix(in srgb, var(--border-subtle) 88%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg-card) 96%, #fff 4%);
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 760;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 12px 28px rgba(14, 24, 44, 0.10);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.syls-nav-mini-action:hover,
.syls-nav-mini-action:focus {
  color: var(--syls-accent);
  border-color: color-mix(in srgb, var(--syls-accent) 26%, var(--syls-line));
  background: color-mix(in srgb, var(--syls-accent) 10%, transparent);
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(47, 123, 246, 0.10);
}

.syls-nav-mini-action:hover::after,
.syls-nav-mini-action:focus::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

body.syls-sidebar-collapsed .syls-nav-user-line,
body.syls-sidebar-collapsed .syls-nav-mini-line {
  display: grid;
  justify-items: center;
  gap: 10px;
}

body.syls-sidebar-collapsed .syls-nav-mini-action::after {
  right: auto;
  left: calc(100% + 10px);
  transform: translateY(-50%) translateX(-6px);
}

body.syls-sidebar-collapsed .syls-nav-mini-action:hover::after,
body.syls-sidebar-collapsed .syls-nav-mini-action:focus::after {
  transform: translateY(-50%) translateX(0);
}

.syls-nav-badge {
  position: absolute;
  top: 8px;
  right: 10px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(180deg, #4d93ff, #1f6fff);
  color: #fff;
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: 0 6px 14px rgba(31, 111, 255, 0.22);
}

.syls-theme-toggle {
  width: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}

.syls-list-panel {
  position: relative;
  padding: 28px 26px;
  border: 1px solid var(--syls-line);
  border-radius: var(--syls-radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), transparent 42%),
    radial-gradient(circle at 16% 8%, rgba(139, 92, 246, 0.10), transparent 30%),
    var(--syls-list-surface);
  box-shadow: 0 28px 90px rgba(70, 58, 118, 0.12);
  backdrop-filter: var(--syls-panel-blur);
  -webkit-backdrop-filter: var(--syls-panel-blur);
  transition: padding 0.38s cubic-bezier(0.22, 1, 0.36, 1), border-radius 0.38s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease, transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.syls-list-panel::before {
  content: none;
}

.syls-list-toggle {
  position: relative;
  z-index: 14;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--syls-accent) 18%, var(--syls-line));
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.22)),
    color-mix(in srgb, var(--syls-accent) 8%, var(--syls-surface-strong));
  color: var(--syls-accent);
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(20, 36, 70, 0.08);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.syls-list-toggle span {
  position: relative;
  width: 14px;
  height: 14px;
  display: block;
  font-size: 0;
  line-height: 1;
  transform: rotate(180deg);
}

.syls-list-toggle span::before,
.syls-list-toggle span::after {
  content: "";
  position: absolute;
  left: 3px;
  width: 10px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: left center;
}

.syls-list-toggle span::before {
  top: 3px;
  transform: rotate(45deg);
}

.syls-list-toggle span::after {
  bottom: 3px;
  transform: rotate(-45deg);
}

.syls-panel-title .syls-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.syls-panel-title .syls-eyebrow::before {
  content: "▦";
  font-size: 0.94em;
  line-height: 1;
  font-weight: 900;
}

.syls-list-toggle:hover,
.syls-list-toggle:focus {
  border-color: color-mix(in srgb, var(--syls-accent) 32%, var(--syls-line));
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.54), rgba(255, 255, 255, 0.16)),
    color-mix(in srgb, var(--syls-accent) 16%, var(--syls-surface-strong));
  color: var(--syls-accent-dark);
  box-shadow: 0 16px 32px rgba(0, 113, 227, 0.14);
  transform: translateY(-1px);
}

.syls-list-toggle-search {
  display: none;
}

body.syls-list-collapsed .syls-list-panel {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 24px 14px 22px;
  border-radius: 999px;
}

body.syls-list-collapsed .syls-list-panel::before {
  content: none;
}

body.syls-list-collapsed .syls-list-toggle {
  display: none;
}

body.syls-list-collapsed .syls-panel-header,
body.syls-list-collapsed .syls-home-overview,
body.syls-list-collapsed .syls-archive-overview,
body.syls-list-collapsed .syls-pagination {
  max-height: 0;
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-width: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-8px) scale(0.98);
  transition: max-height 0.30s cubic-bezier(0.22, 1, 0.36, 1), padding 0.30s cubic-bezier(0.22, 1, 0.36, 1), margin 0.30s ease, opacity 0.18s ease, transform 0.30s cubic-bezier(0.22, 1, 0.36, 1);
}

.syls-post-index {
  display: none;
}

.syls-compact-library-icon,
.syls-compact-page {
  display: none;
}

body.syls-list-collapsed .syls-compact-library-icon {
  position: relative;
  z-index: 12;
  width: 48px;
  height: 48px;
  min-height: 48px;
  display: inline-grid;
  place-items: center;
  margin: 0 auto 12px;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--syls-accent) 34%, var(--syls-line));
  border-radius: 50%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.20)),
    color-mix(in srgb, var(--syls-accent) 7%, var(--syls-bg-soft));
  color: var(--syls-accent);
  font-size: 0;
  font-weight: 900;
  cursor: pointer;
  box-shadow: none;
  animation: syls-compact-item-in 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

body.syls-list-collapsed .syls-compact-library-icon::after {
  content: none;
}

body.syls-list-collapsed .syls-compact-library-icon span {
  position: relative;
  width: 14px;
  height: 14px;
  display: block;
  color: currentColor;
  font-size: 0;
  line-height: 1;
  transform: none;
}

body.syls-list-collapsed .syls-compact-library-icon span::before,
body.syls-list-collapsed .syls-compact-library-icon span::after {
  content: "";
  position: absolute;
  left: 3px;
  width: 10px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: left center;
}

body.syls-list-collapsed .syls-compact-library-icon span::before {
  top: 3px;
  transform: rotate(45deg);
}

body.syls-list-collapsed .syls-compact-library-icon span::after {
  bottom: 3px;
  transform: rotate(-45deg);
}

body.syls-list-collapsed .syls-compact-library-icon:hover,
body.syls-list-collapsed .syls-compact-library-icon:focus {
  border-color: color-mix(in srgb, var(--syls-accent) 52%, var(--syls-line));
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.16)),
    color-mix(in srgb, var(--syls-accent) 14%, var(--syls-surface-strong));
  color: var(--syls-accent-dark);
  box-shadow: none;
  transform: translateY(-1px);
}

body.syls-list-collapsed .syls-post-list {
  flex: 1 1 auto;
  display: grid;
  justify-items: center;
  gap: 10px;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-top: 14px;
  opacity: 1;
  visibility: visible;
  scrollbar-width: none;
  animation: syls-compact-list-in 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

body.syls-list-collapsed .syls-post-list::-webkit-scrollbar {
  display: none;
}

body.syls-list-collapsed .syls-compact-library-icon + .syls-panel-header + .syls-home-overview + .syls-archive-overview + .syls-post-list {
  margin-top: 0;
}

body.syls-list-collapsed .syls-post-row {
  width: 48px;
  height: 48px;
  min-height: 48px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.48), transparent),
    color-mix(in srgb, var(--syls-accent) 9%, var(--syls-surface-strong));
  box-shadow: none;
  animation: syls-compact-item-in 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.syls-list-collapsed .syls-post-row:nth-child(2) {
  animation-delay: 0.02s;
}

body.syls-list-collapsed .syls-post-row:nth-child(3) {
  animation-delay: 0.04s;
}

body.syls-list-collapsed .syls-post-row:nth-child(4) {
  animation-delay: 0.06s;
}

body.syls-list-collapsed .syls-post-row:nth-child(n+5) {
  animation-delay: 0.08s;
}

body.syls-list-collapsed .syls-post-row::after,
body.syls-list-collapsed .syls-post-row::before,
body.syls-list-collapsed .syls-post-row-kicker,
body.syls-list-collapsed .syls-post-row strong,
body.syls-list-collapsed .syls-post-row-under,
body.syls-list-collapsed .syls-post-row-meta {
  display: none;
}

body.syls-list-collapsed .syls-post-index {
  display: block;
  color: var(--syls-accent);
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
  max-width: 38px;
  overflow: hidden;
  text-align: center;
  text-transform: uppercase;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.syls-list-collapsed .syls-post-row.is-active {
  background: linear-gradient(135deg, #7c6cff, var(--syls-accent));
  box-shadow: none;
}

body.syls-list-collapsed .syls-post-row.is-active .syls-post-index {
  color: #fff;
}

body.syls-list-collapsed .syls-compact-page {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  margin: 12px auto 0;
  border: 1px solid color-mix(in srgb, var(--syls-accent) 18%, var(--syls-line));
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.48), transparent),
    color-mix(in srgb, var(--syls-accent) 9%, var(--syls-surface-strong));
  color: var(--syls-accent);
  text-decoration: none;
  font-size: 20px;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(20, 36, 70, 0.08);
}

body.syls-list-collapsed .syls-compact-page:hover,
body.syls-list-collapsed .syls-compact-page:focus {
  background: linear-gradient(135deg, #7c6cff, var(--syls-accent));
  color: #fff;
  text-decoration: none;
}

@keyframes syls-compact-list-in {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes syls-compact-item-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.92);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.syls-panel-header {
  position: sticky;
  top: -28px;
  z-index: 5;
  display: grid;
  gap: 18px;
  padding: 28px 0 22px;
  margin-top: -28px;
  background: linear-gradient(180deg, var(--syls-bg-soft) 76%, rgba(245, 245, 247, 0));
  transform: translateZ(0);
  transition: gap 0.16s ease, padding-bottom 0.16s ease;
  will-change: transform;
}

.syls-panel-title {
  max-height: 140px;
  overflow: hidden;
  opacity: 1;
  transform: translateY(0);
  transition: max-height 0.16s ease, opacity 0.12s ease, transform 0.16s ease;
}

.syls-panel-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  gap: 16px;
  align-items: start;
}

.syls-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.syls-list-panel.is-scrolled .syls-panel-header {
  gap: 12px;
  padding-bottom: 12px;
}

.syls-list-panel.is-scrolled .syls-panel-title-row {
  align-items: center;
  max-height: 0;
  margin-bottom: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateY(-12px);
}

.syls-list-panel.is-scrolled .syls-panel-title-row .syls-list-toggle {
  display: none;
}

.syls-list-panel.is-scrolled .syls-panel-title {
  max-height: 0;
  opacity: 0;
  transform: translateY(-12px);
}

.syls-list-panel.is-scrolled .syls-search-row {
  grid-template-columns: minmax(0, 1fr) 44px;
}

.syls-list-panel.is-scrolled .syls-search-row .syls-list-toggle {
  display: inline-grid;
  grid-column: 2;
}

.syls-list-panel.is-scrolled .syls-list-tools {
  max-height: 0;
  margin: 0;
  padding-block: 0;
  border-width: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateY(-8px);
}

.syls-eyebrow {
  display: block;
  color: var(--syls-accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.syls-panel-header h1 {
  margin: 5px 0 0;
  color: var(--syls-text);
  font-family: var(--syls-title-font);
  font-size: 26px;
  line-height: 1.2;
  font-weight: 850;
}

.syls-search {
  position: relative;
}

.syls-search input {
  width: 100%;
  height: 48px;
  border: 1px solid var(--syls-line);
  border-radius: 999px;
  background: var(--syls-surface-strong);
  color: var(--syls-text);
  outline: none;
  padding: 0 58px 0 18px;
  font-size: 14px;
  font-weight: 650;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
  animation: syls-search-breathe 3.8s ease-in-out infinite;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.syls-search-submit {
  position: absolute;
  top: 50%;
  right: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--syls-accent), #2f7df6);
  color: #fff;
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: 0 10px 22px rgba(47, 125, 246, 0.22);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.syls-search-submit:hover,
.syls-search-submit:focus-visible {
  filter: brightness(1.04);
  transform: translateY(-50%) scale(1.04);
  box-shadow: 0 12px 26px rgba(47, 125, 246, 0.28);
}

.syls-search-submit i {
  font-size: 13px;
  line-height: 1;
}

.syls-list-panel.is-scrolled .syls-search input {
  border-color: color-mix(in srgb, var(--syls-accent) 46%, var(--syls-line));
  box-shadow:
    0 0 0 3px color-mix(in srgb, var(--syls-accent) 12%, transparent),
    0 14px 32px rgba(20, 36, 70, 0.12);
}

.syls-search input:focus {
  border-color: rgba(0, 113, 227, 0.50);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.12);
}

@keyframes syls-search-breathe {
  0%, 100% {
    border-color: color-mix(in srgb, var(--syls-accent) 24%, var(--syls-line));
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04), 0 0 0 0 color-mix(in srgb, var(--syls-accent) 0%, transparent);
  }

  50% {
    border-color: color-mix(in srgb, var(--syls-accent) 58%, var(--syls-line));
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03), 0 0 0 4px color-mix(in srgb, var(--syls-accent) 10%, transparent), 0 10px 24px color-mix(in srgb, var(--syls-accent) 8%, transparent);
  }
}

.syls-list-tools {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 4px;
  border: 1px solid var(--syls-line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--syls-surface-strong) 78%, transparent);
  transition: max-height 0.18s ease, opacity 0.16s ease, transform 0.18s ease, padding 0.18s ease, border-width 0.18s ease;
}

.syls-list-tools a {
  flex: 1 1 auto;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--syls-muted);
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
}

.syls-list-tools a:hover,
.syls-list-tools a:focus,
.syls-list-tools a.is-active {
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #0071e3);
  box-shadow: 0 10px 22px rgba(0, 113, 227, 0.18);
  text-decoration: none;
}

.syls-post-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  padding-top: 8px;
}

.syls-home-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 14px;
  padding: 14px;
  border: 1px solid color-mix(in srgb, var(--syls-accent) 18%, var(--syls-line));
  border-radius: 14px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--syls-accent) 6%, transparent), transparent 44%),
    radial-gradient(circle at 92% 12%, color-mix(in srgb, var(--syls-warm) 8%, transparent), transparent 34%),
    var(--syls-surface-strong);
  box-shadow: none;
}

.syls-home-grid {
  position: relative;
  z-index: 1;
  width: 100%;
  display: block;
  padding: 0;
}

.syls-list-panel:has(.syls-home-grid) .syls-search-row,
.syls-list-panel:has(.syls-home-grid) .syls-list-tools {
  display: none;
}

.syls-home-portal {
  --syls-home-card-radius: 28px;
  --syls-home-soft-shadow: none;
  display: grid;
  gap: 18px;
  align-content: start;
}

.syls-home-toolbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

.syls-home-toolbar-spacer {
  flex: 1 1 auto;
}

.syls-home-search {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(100%, 340px);
  padding: 0 16px;
  border: 1px solid color-mix(in srgb, var(--border-subtle) 88%, transparent);
  border-radius: 18px;
  background: color-mix(in srgb, var(--bg-card) 92%, #fff 8%);
  box-shadow: 0 8px 20px rgba(20, 36, 70, 0.04);
}

.syls-home-search input {
  width: 100%;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  outline: none;
}

.syls-home-search input::placeholder {
  color: var(--text-muted);
}

.syls-home-search button {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.syls-home-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.syls-home-circle {
  position: relative;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--border-subtle) 88%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg-card) 92%, #fff 8%);
  color: var(--text-secondary);
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(20, 36, 70, 0.04);
}

.syls-home-circle:hover,
.syls-home-circle:focus {
  color: var(--primary);
  text-decoration: none;
}

.syls-home-hero {
  --syls-home-hero-height: clamp(360px, 39vh, 520px);
  position: relative;
  overflow: hidden;
  display: block;
  border: 1px solid color-mix(in srgb, var(--border-subtle) 88%, transparent);
  border-radius: var(--syls-home-card-radius);
  background:
    radial-gradient(circle at 18% 18%, color-mix(in srgb, var(--primary-soft) 28%, transparent), transparent 38%),
    linear-gradient(135deg, color-mix(in srgb, var(--bg-card) 96%, #fff 4%) 0%, color-mix(in srgb, var(--bg-panel) 92%, #fff 8%) 52%, color-mix(in srgb, var(--primary-soft) 18%, transparent) 100%);
  min-height: var(--syls-home-hero-height);
  box-shadow: var(--syls-home-soft-shadow);
}

.syls-home-hero-slide {
  position: absolute;
  inset: 0;
  min-height: var(--syls-home-hero-height);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  display: flex;
  align-items: stretch;
  transition: opacity 380ms ease;
}

.syls-home-hero-slide:first-child {
  position: relative;
}

.syls-home-hero-slide:first-child:not(.is-active) {
  position: absolute;
}

.syls-home-hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

.syls-home-hero-slide.is-leaving {
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

.syls-home-hero-slide[data-enter-animation="slide"].is-active {
  animation: sylsHeroEnterSlide 560ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.syls-home-hero-slide[data-exit-animation="slide"].is-leaving {
  animation: sylsHeroExitSlide 520ms cubic-bezier(0.4, 0, 0.2, 1);
}

.syls-home-hero-slide[data-enter-animation="lift"].is-active {
  animation: sylsHeroEnterLift 520ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.syls-home-hero-slide[data-exit-animation="lift"].is-leaving {
  animation: sylsHeroExitLift 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

.syls-home-hero-slide[data-enter-animation="zoom"].is-active {
  animation: sylsHeroEnterZoom 560ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.syls-home-hero-slide[data-exit-animation="zoom"].is-leaving {
  animation: sylsHeroExitZoom 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

.syls-home-hero-slide[data-enter-animation="fade"].is-active {
  animation: sylsHeroEnterFade 380ms ease;
}

.syls-home-hero-slide[data-exit-animation="fade"].is-leaving {
  animation: sylsHeroExitFade 360ms ease;
}

@keyframes sylsHeroEnterFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes sylsHeroExitFade {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes sylsHeroEnterSlide {
  from { opacity: 0; transform: translateX(28px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes sylsHeroExitSlide {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(-28px); }
}

@keyframes sylsHeroEnterLift {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes sylsHeroExitLift {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-20px); }
}

@keyframes sylsHeroEnterZoom {
  from { opacity: 0; transform: scale(1.028); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes sylsHeroExitZoom {
  from { opacity: 1; transform: scale(1); }
  to { opacity: 0; transform: scale(0.985); }
}

.syls-home-hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  width: min(52%, 760px);
  min-height: var(--syls-home-hero-height);
  flex: 0 0 min(52%, 760px);
  padding: clamp(34px, 4vw, 54px) clamp(30px, 3.5vw, 48px);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.84) 0%, rgba(255, 255, 255, 0.74) 38%, rgba(255, 255, 255, 0.12) 100%);
}

.syls-home-hero-slide.no-media .syls-home-hero-copy {
  width: 100%;
  flex-basis: 100%;
}

.syls-home-hero-ticker {
  position: relative;
  display: inline-grid;
  align-self: flex-start;
  min-height: 34px;
  width: max-content;
  max-width: min(100%, 720px);
  margin-bottom: var(--syls-home-hero-gap-after-kicker, 34px);
  border: 1px solid var(--syls-home-grid-kicker-border, rgba(203, 220, 255, 0.72));
  border-radius: 999px;
  background: var(--syls-home-grid-kicker-bg, rgba(238, 244, 255, 0.94));
  color: var(--syls-home-grid-kicker-color, #3e67b1);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.62);
  overflow: hidden;
}

.syls-home-hero-ticker-item {
  grid-area: 1 / 1;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  min-height: 34px;
  padding: 0 16px 0 14px;
  color: inherit;
  font-size: var(--syls-home-grid-kicker-size, 13px);
  line-height: 1.35;
  font-weight: 820;
  text-decoration: none;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.34s ease, transform 0.34s ease;
}

.syls-home-hero-ticker-item.is-active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.syls-home-hero-ticker-item i {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ff3b4f;
  box-shadow: 0 0 0 0 rgba(255, 59, 79, 0.42);
  animation: sylsTickerDotPulse 1.65s ease-in-out infinite;
}

.syls-home-hero-ticker-item span {
  min-width: 0;
  white-space: nowrap;
}

.syls-home-hero-ticker a:hover,
.syls-home-hero-ticker a:focus {
  color: inherit;
  text-decoration: none;
}

@keyframes sylsTickerDotPulse {
  0%, 100% {
    transform: scale(0.88);
    box-shadow: 0 0 0 0 rgba(255, 59, 79, 0.40);
  }
  50% {
    transform: scale(1.12);
    box-shadow: 0 0 0 7px rgba(255, 59, 79, 0);
  }
}

.syls-home-hero-kicker {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 34px;
  padding: 0 16px;
  border: 1px solid var(--syls-home-grid-kicker-border, color-mix(in srgb, var(--primary) 14%, var(--border-subtle)));
  border-radius: 999px;
  background: var(--syls-home-grid-kicker-bg, color-mix(in srgb, var(--primary-soft) 46%, #fff 54%));
  color: var(--syls-home-grid-kicker-color, var(--primary));
  font-size: var(--syls-home-grid-kicker-size, 13px);
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: var(--syls-home-hero-gap-after-kicker, 34px);
}

.syls-home-hero h1 {
  margin: 0 0 var(--syls-home-hero-gap-after-title, 14px);
  color: var(--syls-home-grid-title-color, var(--text-primary));
  font-family: var(--syls-title-font);
  font-size: clamp(32px, 4.3vw, var(--syls-home-grid-title-size, 54px));
  line-height: 1.14;
  font-weight: 860;
  letter-spacing: 0;
}

.syls-home-hero h1 a,
.syls-home-hero h1 a:hover,
.syls-home-hero h1 a:focus {
  color: inherit;
  text-decoration: none;
}

.syls-home-hero-subtitle {
  margin: 0 0 var(--syls-home-hero-gap-after-subtitle, 34px);
  color: var(--syls-home-grid-subtitle-color, color-mix(in srgb, var(--text-primary) 82%, var(--primary) 18%));
  font-size: var(--syls-home-grid-subtitle-size, 17px);
  font-weight: 700;
  line-height: 1.34;
}

.syls-home-hero-excerpt {
  max-width: 700px;
  margin: 0 0 var(--syls-home-hero-gap-after-excerpt, 34px);
  color: var(--syls-home-grid-excerpt-color, var(--text-secondary));
  font-size: var(--syls-home-grid-excerpt-size, 15px);
  line-height: 1.7;
  font-weight: 560;
}

.syls-home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: var(--syls-home-hero-gap-data-buttons, 18px);
}

.syls-home-hero-primary,
.syls-home-hero-secondary {
  min-width: 138px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 16px;
  text-decoration: none;
  font-size: var(--syls-home-grid-button-size, 15px);
  line-height: 1.2;
  font-weight: 760;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.syls-home-hero-primary {
  background: var(--syls-home-grid-button-bg, linear-gradient(135deg, color-mix(in srgb, var(--primary) 92%, #4f7fff 8%), var(--primary)));
  color: var(--syls-home-grid-button-color, #fff);
  box-shadow: 0 16px 34px rgba(47, 123, 246, 0.22);
}

.syls-home-hero-secondary {
  border: 1px solid color-mix(in srgb, var(--border-subtle) 86%, transparent);
  background: color-mix(in srgb, var(--bg-card) 94%, #fff 6%);
  color: var(--text-primary);
  box-shadow: 0 10px 24px rgba(20, 36, 70, 0.04);
}

.syls-home-hero-primary:hover,
.syls-home-hero-primary:focus,
.syls-home-hero-secondary:hover,
.syls-home-hero-secondary:focus {
  transform: translateY(-1px);
  text-decoration: none;
}

.syls-home-hero-primary:hover,
.syls-home-hero-primary:focus {
  color: var(--syls-home-grid-button-color, #fff);
}

.syls-home-hero-secondary:hover,
.syls-home-hero-secondary:focus {
  color: var(--primary);
  border-color: color-mix(in srgb, var(--primary) 22%, var(--border-subtle));
}

.syls-home-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 6px;
}

.syls-home-hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 700;
}

.syls-home-hero-points i {
  color: var(--primary);
  font-style: normal;
}

.syls-home-hero-media {
  position: relative;
  z-index: 0;
  display: block;
  position: absolute;
  inset: 0;
  min-height: var(--syls-home-hero-height);
  overflow: hidden;
  border-radius: inherit;
  background:
    radial-gradient(circle at 50% 50%, rgba(95, 144, 255, 0.26), rgba(8, 17, 42, 0.96) 72%);
}

.syls-home-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.68) 22%, rgba(255, 255, 255, 0.14) 52%, rgba(9, 17, 34, 0.10) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(7, 14, 30, 0.12));
  pointer-events: none;
}

.syls-home-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
}

.syls-home-hero-media video {
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: block;
  object-fit: cover;
}

.syls-home-hero-dots {
  position: absolute;
  left: auto;
  right: clamp(30px, 3.5vw, 48px);
  bottom: 22px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid color-mix(in srgb, var(--border-subtle) 78%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg-card) 72%, transparent);
  backdrop-filter: blur(12px);
}

.syls-home-hero-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--text-muted) 36%, transparent);
  cursor: pointer;
  transition: width 0.18s ease, background 0.18s ease;
}

.syls-home-hero-dots button.is-active {
  width: 22px;
  background: var(--primary);
}

.syls-home-hero.dots-bottom-center .syls-home-hero-dots {
  left: 50%;
  transform: translateX(-50%);
}

.syls-home-hero.dots-bottom-right .syls-home-hero-dots {
  left: auto;
  right: clamp(30px, 3.5vw, 48px);
}

.syls-home-hero.dots-side-right .syls-home-hero-dots {
  left: auto;
  right: 22px;
  bottom: 50%;
  flex-direction: column;
  transform: translateY(50%);
}

.syls-home-hero.dots-side-right .syls-home-hero-dots button.is-active {
  width: 9px;
  height: 22px;
}

.syls-home-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.syls-home-metric-card {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 100px;
  padding: 20px 20px;
  border: 1px solid color-mix(in srgb, var(--border-subtle) 86%, transparent);
  border-radius: 22px;
  background: color-mix(in srgb, var(--bg-card) 94%, #fff 6%);
  box-shadow: 0 12px 30px rgba(20, 36, 70, 0.04);
}

.syls-home-metric-icon {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--syls-home-metric-accent) 14%, rgba(255, 255, 255, 0.7));
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--syls-home-metric-accent) 8%, #ffffff 92%), color-mix(in srgb, var(--syls-home-metric-accent) 18%, #f4f8ff 82%));
  color: var(--syls-home-metric-accent);
  font-size: 24px;
  line-height: 1;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 10px 24px color-mix(in srgb, var(--syls-home-metric-accent) 10%, rgba(20, 36, 70, 0.06));
}

.syls-home-metric-copy {
  display: grid;
  gap: 6px;
}

.syls-home-metric-copy strong {
  color: var(--text-primary);
  font-size: 22px;
  line-height: 1.1;
  font-weight: 860;
}

.syls-home-metric-copy span {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 620;
}


.syls-home-vip-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  border: 1px solid color-mix(in srgb, var(--border-subtle) 86%, transparent);
  border-radius: 24px;
  background:
    radial-gradient(circle at 12% 0%, color-mix(in srgb, var(--primary-soft) 18%, transparent), transparent 34%),
    linear-gradient(90deg, color-mix(in srgb, var(--bg-card) 92%, #fff 8%), color-mix(in srgb, var(--primary-soft) 16%, transparent));
  box-shadow: 0 14px 34px rgba(20, 36, 70, 0.05);
}

.syls-home-vip-copy {
  display: flex;
  align-items: center;
  gap: 16px;
}

.syls-home-vip-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--syls-home-vip-icon-color, var(--primary)) 16%, rgba(255, 255, 255, 0.72));
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--syls-home-vip-icon-bg, #edf3ff) 78%, #ffffff 22%), color-mix(in srgb, var(--syls-home-vip-icon-bg, #edf3ff) 96%, #dfe9fb 4%));
  color: var(--syls-home-vip-icon-color, var(--primary));
  font-size: 24px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.76),
    0 12px 24px color-mix(in srgb, var(--syls-home-vip-icon-color, var(--primary)) 10%, rgba(20, 36, 70, 0.06));
}

.syls-home-vip-copy strong {
  display: block;
  color: var(--syls-home-vip-title-color, var(--text-primary));
  font-size: var(--syls-home-vip-title-size, 28px);
  line-height: 1.24;
  font-weight: 840;
}

.syls-home-vip-copy p {
  margin: 6px 0 0;
  color: var(--syls-home-vip-desc-color, var(--text-secondary));
  font-size: var(--syls-home-vip-desc-size, 15px);
  line-height: 1.7;
  font-weight: 560;
}

.syls-home-vip-action {
  min-width: 172px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 16px;
  background: var(--syls-home-vip-button-bg, linear-gradient(135deg, color-mix(in srgb, var(--primary) 92%, #4f7fff 8%), var(--primary)));
  color: var(--syls-home-vip-button-color, #fff);
  text-decoration: none;
  font-size: var(--syls-home-vip-button-size, 15px);
  font-weight: 780;
  box-shadow: 0 16px 34px rgba(47, 123, 246, 0.22);
}

.syls-home-vip-action:hover,
.syls-home-vip-action:focus {
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

.syls-member-home {
  --syls-member-radius: 28px;
  --syls-member-shadow: none;
  gap: 18px;
  padding-bottom: 28px;
}

.syls-member-home .syls-home-toolbar {
  margin-bottom: 6px;
}

.syls-member-home .syls-home-search {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 8;
  width: min(100% - 48px, 280px);
  min-height: 46px;
  padding: 0 14px 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.22);
  box-shadow: 0 14px 34px rgba(3, 10, 28, 0.18);
  backdrop-filter: blur(18px);
}

.syls-member-home .syls-home-search input {
  height: 44px;
  color: #fff;
  font-size: 13px;
}

.syls-member-home .syls-home-search input::placeholder {
  color: rgba(255, 255, 255, 0.76);
}

.syls-member-home .syls-home-search button {
  color: rgba(255, 255, 255, 0.88);
}

.syls-member-hero {
  --syls-home-hero-height: clamp(360px, 39vh, 420px);
  min-height: var(--syls-home-hero-height);
  border: 0;
  border-radius: 30px;
  background:
    radial-gradient(circle at 74% 22%, rgba(123, 92, 255, 0.42), transparent 32%),
    radial-gradient(circle at 40% 40%, rgba(47, 125, 246, 0.30), transparent 36%),
    linear-gradient(135deg, #0b1635 0%, #13265d 48%, #1f1450 100%);
  box-shadow: var(--syls-member-shadow);
}

.syls-member-hero .syls-home-hero-slide,
.syls-member-hero .syls-home-hero-copy,
.syls-member-hero .syls-home-hero-media {
  min-height: var(--syls-home-hero-height);
}

.syls-member-hero .syls-home-hero-copy {
  width: min(66%, 980px);
  flex-basis: min(66%, 980px);
  justify-content: flex-start;
  gap: 0;
  padding: clamp(62px, 7.2vh, 86px) clamp(36px, 4.5vw, 62px) clamp(28px, 3.8vh, 42px);
  background:
    linear-gradient(90deg, rgba(7, 14, 34, 0.88) 0%, rgba(9, 18, 42, 0.72) 54%, rgba(9, 18, 42, 0.05) 100%);
}

.syls-member-hero .syls-home-hero-ticker {
  position: relative;
  top: auto;
  left: auto;
  z-index: 3;
  display: inline-grid;
  align-self: flex-start;
  min-height: 36px;
  width: max-content;
  max-width: min(100%, 920px);
  margin-top: clamp(20px, 2.6vw, 30px);
  margin-bottom: 0;
  border: 1px solid rgba(214, 226, 255, 0.24);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(12, 23, 52, 0.78), rgba(42, 47, 86, 0.54)),
    rgba(11, 22, 53, 0.58);
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px) saturate(1.18);
  overflow: hidden;
  color: rgba(244, 248, 255, 0.96);
}

.syls-member-hero .syls-hero-actions,
.syls-member-hero .syls-hero-guest-actions {
  margin-top: clamp(18px, 2.2vw, 28px);
}

.syls-member-hero .syls-hero-actions {
  flex-wrap: nowrap;
  gap: clamp(12px, 1.5vw, 18px);
}

.syls-member-hero .syls-home-hero h1,
.syls-member-hero h1 {
  margin-bottom: clamp(14px, 1.6vw, 20px);
  color: #fff;
  font-size: clamp(34px, 4.1vw, var(--syls-home-grid-title-size, 44px));
  line-height: 1.14;
  text-shadow: 0 14px 34px rgba(0, 0, 0, 0.36);
}

.syls-member-hero .syls-home-hero-subtitle {
  margin-bottom: clamp(54px, 7.5vh, 82px);
  color: rgba(230, 239, 255, 0.9);
  font-size: var(--syls-home-grid-subtitle-size, 18px);
  line-height: 1.34;
  font-weight: 720;
}

.syls-member-hero .syls-home-hero-excerpt {
  margin-bottom: clamp(42px, 5.8vh, 68px);
  color: rgba(214, 226, 248, 0.82);
  line-height: 1.7;
}

.syls-member-hero .syls-home-hero-ticker-item {
  min-height: 36px;
  padding: 0 18px 0 14px;
  gap: 10px;
  color: inherit;
  font-size: clamp(12px, 1vw, 14px);
  line-height: 1.35;
  font-weight: 780;
  text-decoration: none;
  text-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}

.syls-member-hero .syls-home-hero-ticker-item i {
  flex-basis: 9px;
  width: 9px;
  height: 9px;
  background: linear-gradient(180deg, #ff6474, #ff2f48);
  box-shadow:
    0 0 0 5px rgba(255, 71, 92, 0.14),
    0 0 18px rgba(255, 71, 92, 0.58);
}

.syls-member-hero .syls-home-hero-ticker-item span {
  color: rgba(244, 248, 255, 0.96);
}

.syls-member-hero .syls-hero-actions .syls-home-hero-secondary {
  min-width: clamp(118px, 8vw, 142px);
}

.syls-member-hero .syls-home-hero-ticker a:hover,
.syls-member-hero .syls-home-hero-ticker a:focus {
  color: #fff;
  text-decoration: none;
}

.syls-member-hero .syls-home-hero-media::after {
  background:
    linear-gradient(90deg, rgba(7, 14, 34, 0.86) 0%, rgba(9, 18, 42, 0.56) 34%, rgba(9, 18, 42, 0.18) 66%, rgba(6, 11, 28, 0.30) 100%),
    linear-gradient(180deg, rgba(6, 12, 32, 0.18), rgba(6, 12, 32, 0.34));
}

.syls-member-hero .syls-home-hero-media img,
.syls-member-hero .syls-home-hero-media video {
  filter: saturate(1.04) contrast(1.04) brightness(0.88);
}

.syls-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  width: min(100%, 620px);
  margin-top: 15px;
}

.syls-hero-stats span {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 0 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.syls-hero-stats span:first-child {
  padding-left: 0;
  border-left: 0;
}

.syls-hero-stats em {
  color: rgba(212, 224, 246, 0.72);
  font-size: 12px;
  line-height: 1.2;
  font-style: normal;
  font-weight: 720;
}

.syls-hero-stats strong {
  color: #fff;
  font-size: clamp(20px, 1.75vw, 26px);
  line-height: 1.05;
  font-weight: 880;
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.34);
}

.syls-hero-guest-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  width: min(100%, 440px);
  margin-top: 0;
}

.syls-hero-guest-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 154px;
  min-height: 58px;
  padding: 0 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  color: #fff;
  font-size: 15px;
  font-weight: 850;
  letter-spacing: 0;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.syls-hero-guest-action.is-primary {
  border-color: rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, #55bff5 0%, #2f7df6 100%);
  box-shadow: 0 18px 36px rgba(47, 125, 246, 0.28);
}

.syls-hero-guest-action.is-secondary {
  background: rgba(255, 255, 255, 0.12);
}

.syls-hero-guest-action:hover,
.syls-hero-guest-action:focus {
  color: #fff;
  transform: translateY(-2px);
}

.syls-hero-guest-action.is-primary:hover,
.syls-hero-guest-action.is-primary:focus {
  box-shadow: 0 22px 42px rgba(47, 125, 246, 0.34);
}

.syls-hero-guest-action.is-secondary:hover,
.syls-hero-guest-action.is-secondary:focus {
  border-color: rgba(255, 255, 255, 0.30);
  background: rgba(255, 255, 255, 0.22);
}

.syls-hero-actions {
  gap: 12px;
  margin-top: var(--syls-home-hero-gap-data-buttons, 18px);
}

.syls-hero-actions .syls-home-hero-secondary {
  min-width: 118px;
  min-height: 48px;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px);
}

.syls-hero-actions .syls-home-hero-secondary i {
  font-style: normal;
  opacity: 0.92;
}

.syls-hero-actions .syls-home-hero-secondary:hover,
.syls-hero-actions .syls-home-hero-secondary:focus {
  border-color: rgba(255, 255, 255, 0.30);
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  transform: translateY(-2px);
}

.syls-home-section-card {
  border: 0;
  border-radius: 28px;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.syls-featured-section {
  position: relative;
  z-index: 3;
  margin-top: 0;
  padding: 26px;
  border-radius: 28px;
}

.syls-home-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.syls-home-section-head h2 {
  margin: 0;
  color: #14213D;
  font-family: var(--syls-title-font);
  font-size: 18px;
  line-height: 1.25;
  font-weight: 850;
}

.syls-home-section-head a {
  color: color-mix(in srgb, var(--text-muted) 72%, var(--primary) 28%);
  font-size: 13px;
  font-weight: 760;
  text-decoration: none;
}

.syls-home-section-head a:hover,
.syls-home-section-head a:focus {
  color: var(--primary);
}

.syls-featured-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.syls-resource-card {
  min-width: 0;
  display: grid;
  gap: 14px;
  padding: 12px 12px 16px;
  border: 1px solid rgba(30, 80, 160, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.74);
  color: #14213D;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.syls-resource-card:hover,
.syls-resource-card:focus {
  color: var(--text-primary);
  text-decoration: none;
  transform: translateY(-4px);
  border-color: rgba(47, 125, 246, 0.18);
  box-shadow: none;
}

.syls-resource-card-cover {
  position: relative;
  overflow: hidden;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  background:
    radial-gradient(circle at 30% 20%, rgba(123, 92, 255, 0.22), transparent 34%),
    linear-gradient(135deg, #eaf2ff, #f7f8fb);
}

.syls-resource-card-cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.syls-resource-card-fallback {
  width: 100%;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 34px;
}

.syls-resource-card-body {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 0 4px 2px;
}

.syls-resource-card-body strong {
  overflow: hidden;
  color: inherit;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 820;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.syls-resource-card-body span {
  overflow: hidden;
  color: #7A879C;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.syls-category-map {
  padding: 30px 28px 32px;
  border-radius: 28px;
}

.syls-category-map-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 22px;
}

.syls-category-map-card {
  min-height: 132px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  padding: 20px 12px;
  border: 1px solid rgba(30, 80, 160, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.64);
  color: #14213D;
  text-align: center;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.syls-category-map-card span {
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.72), transparent 34%),
    linear-gradient(135deg, color-mix(in srgb, var(--syls-category-map-accent) 28%, #f5f8ff 72%), color-mix(in srgb, var(--syls-category-map-accent) 12%, #ffffff 88%));
  color: color-mix(in srgb, var(--syls-category-map-accent) 86%, #0b1635 14%);
  font-size: 24px;
  box-shadow: 0 14px 28px color-mix(in srgb, var(--syls-category-map-accent) 16%, rgba(20, 36, 70, 0.05));
  transition: transform 0.18s ease;
}

.syls-category-map-card strong {
  color: inherit;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 700;
}

.syls-category-map-card:hover,
.syls-category-map-card:focus {
  color: var(--primary);
  text-decoration: none;
  transform: translateY(-4px);
  border-color: rgba(47, 125, 246, 0.18);
  box-shadow: none;
}

.syls-category-map-card:hover span,
.syls-category-map-card:focus span {
  transform: scale(1.06);
}

@media (min-width: 992px) {
  .syls-app-shell.syls-home-grid-shell {
    align-items: stretch;
  }

  .syls-app-shell.syls-home-grid-shell .syls-home-grid-panel {
    height: calc(100vh - (var(--syls-layout-padding, 26px) * 2));
    overflow: hidden !important;
  }

  .syls-app-shell.syls-home-grid-shell .syls-member-home {
    --syls-home-hero-height: clamp(388.075px, 38.8075vh, 424.175px);
    height: 100%;
    min-height: 0;
    overflow: hidden;
    align-content: start;
    grid-template-rows: var(--syls-home-hero-height) max-content minmax(0, 1fr);
    gap: clamp(8px, 0.9vh, 12px);
    padding-bottom: 0;
  }

  .syls-app-shell.syls-home-grid-shell .syls-member-hero {
    --syls-home-hero-height: inherit;
  }

  .syls-app-shell.syls-home-grid-shell .syls-member-hero .syls-home-hero-copy {
    gap: 0;
    padding-top: clamp(22.8px, 3.04vh, 34.2px);
    padding-bottom: clamp(9.5px, 1.235vh, 15.2px);
  }

  .syls-app-shell.syls-home-grid-shell .syls-member-hero h1 {
    margin-bottom: clamp(7.6px, 1.045vh, 11.4px);
  }

  .syls-app-shell.syls-home-grid-shell .syls-member-hero .syls-home-hero-subtitle {
    margin-bottom: clamp(15.2px, 2.09vh, 20.9px);
  }

  .syls-app-shell.syls-home-grid-shell .syls-member-hero h1,
  .syls-app-shell.syls-home-grid-shell .syls-member-hero .syls-home-hero-subtitle {
    transform: translateY(7.6px);
  }

  .syls-app-shell.syls-home-grid-shell .syls-member-hero .syls-home-hero-excerpt {
    transform: translateY(3.8px);
  }

  .syls-app-shell.syls-home-grid-shell .syls-hero-stats {
    margin-top: 7.6px;
  }

  .syls-app-shell.syls-home-grid-shell .syls-hero-guest-actions {
    margin-top: clamp(7.6px, 1.045vw, 13.3px);
  }

  .syls-app-shell.syls-home-grid-shell .syls-hero-actions {
    margin-top: clamp(7.6px, 1.045vw, 13.3px);
  }

  .syls-app-shell.syls-home-grid-shell .syls-hero-stats,
  .syls-app-shell.syls-home-grid-shell .syls-hero-actions,
  .syls-app-shell.syls-home-grid-shell .syls-hero-guest-actions {
    transform: translateY(7.6px);
  }

  .syls-app-shell.syls-home-grid-shell .syls-member-hero .syls-home-hero-ticker {
    margin-top: clamp(17.1px, 1.995vw, 22.8px);
    transform: translateY(7.6px);
  }

  .syls-app-shell.syls-home-grid-shell .syls-hero-actions .syls-home-hero-secondary {
    min-height: 41.8px;
  }

  .syls-app-shell.syls-home-grid-shell .syls-featured-section {
    margin-top: clamp(8px, 0.9vh, 12px);
    min-height: 0;
    padding: 16px 0 18px;
  }

  .syls-app-shell.syls-home-grid-shell .syls-home-section-head {
    margin-bottom: 13px;
  }

  .syls-app-shell.syls-home-grid-shell .syls-featured-grid {
    gap: 18px;
  }

  .syls-app-shell.syls-home-grid-shell .syls-resource-card {
    gap: 9px;
    padding: 10px 10px 14px;
  }

  .syls-app-shell.syls-home-grid-shell .syls-resource-card-cover {
    aspect-ratio: 16 / 7.1;
  }

  .syls-app-shell.syls-home-grid-shell .syls-resource-card-body {
    gap: 5px;
    padding: 0 3px 2px;
  }

  .syls-app-shell.syls-home-grid-shell .syls-resource-card-body strong {
    font-size: 15px;
    line-height: 1.32;
  }

  .syls-app-shell.syls-home-grid-shell .syls-resource-card-body span {
    font-size: 15px;
    line-height: 1.35;
    font-weight: 650;
  }

  .syls-app-shell.syls-home-grid-shell .syls-category-map {
    height: 100%;
    padding: 14px 0 16px;
  }

  .syls-app-shell.syls-home-grid-shell .syls-category-map .syls-home-section-head {
    margin-bottom: 12px;
  }

  .syls-app-shell.syls-home-grid-shell .syls-category-map-grid {
    gap: 18px;
  }

  .syls-app-shell.syls-home-grid-shell .syls-category-map-card {
    min-height: 82px;
    gap: 8px;
    padding: 10px 12px;
  }

  .syls-app-shell.syls-home-grid-shell .syls-category-map-card span {
    width: 46px;
    height: 46px;
    font-size: 19px;
  }

  .syls-app-shell.syls-home-grid-shell .syls-category-map-card strong {
    font-size: 14px;
    line-height: 1.22;
  }
}

.syls-member-home-secondary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.syls-home-compact-section {
  padding: 22px;
}

.syls-compact-resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.syls-resource-card.is-compact {
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 10px;
}

.syls-resource-card.is-compact .syls-resource-card-cover {
  width: 96px;
  aspect-ratio: 16 / 10;
}

.syls-resource-card.is-compact .syls-resource-card-body strong {
  font-size: 13px;
  -webkit-line-clamp: 2;
}

@media (max-width: 900px) {
  .syls-category-map-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .syls-member-home-secondary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1080px) {
  .syls-featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .syls-member-hero .syls-home-hero-copy {
    width: min(72%, 760px);
    flex-basis: min(72%, 760px);
  }

  .syls-hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 0;
  }

  .syls-hero-stats span:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 760px) {
  .syls-member-home {
    gap: 14px;
  }

  .syls-member-home .syls-home-search {
    top: 16px;
    right: 16px;
    left: 16px;
    width: auto;
  }

  .syls-member-hero {
    --syls-home-hero-height: auto;
    min-height: 0;
    border-radius: 24px;
  }

  .syls-member-hero .syls-home-hero-slide,
  .syls-member-hero .syls-home-hero-copy,
  .syls-member-hero .syls-home-hero-media {
    min-height: 0;
  }

  .syls-member-hero .syls-home-hero-copy {
    width: 100%;
    flex-basis: 100%;
    padding: 78px 24px 30px;
    background: linear-gradient(180deg, rgba(7, 14, 34, 0.88), rgba(7, 14, 34, 0.68));
  }

  .syls-member-hero .syls-home-hero-ticker {
    position: relative;
    top: auto;
    left: auto;
    max-width: 100%;
    margin-top: 24px;
    margin-bottom: 0;
  }

  .syls-home-hero-ticker-item {
    max-width: 100%;
    white-space: normal;
  }

  .syls-home-hero-ticker-item span {
    white-space: normal;
  }

  .syls-member-hero .syls-home-hero-media {
    position: absolute;
    min-height: 100%;
  }

  .syls-hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .syls-hero-guest-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .syls-hero-guest-action {
    min-width: 0;
    width: 100%;
  }

  .syls-hero-actions .syls-home-hero-secondary {
    min-width: 0;
    width: 100%;
  }

  .syls-featured-section {
    margin-top: 0;
    padding: 20px;
    border-radius: 22px;
  }

  .syls-featured-grid,
  .syls-compact-resource-grid {
    grid-template-columns: 1fr;
  }

  .syls-category-map {
    padding: 20px;
  }

  .syls-category-map-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .syls-member-hero h1 {
    font-size: 31px;
  }

  .syls-hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .syls-hero-stats span {
    padding: 0 12px;
  }

  .syls-hero-stats span:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .syls-hero-guest-actions {
    grid-template-columns: 1fr;
  }

  .syls-resource-card.is-compact {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .syls-resource-card.is-compact .syls-resource-card-cover {
    width: 88px;
  }
}

body.syls-home-portal-page .float-right:not(.float-right-wait-pay) {
  display: none !important;
}

.syls-home-vip-modal-dialog {
  max-width: 920px;
}

.syls-home-vip-modal-dialog .modal-content {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--border-subtle) 88%, transparent);
  background: color-mix(in srgb, var(--bg-panel) 96%, #fff 4%);
  box-shadow: 0 30px 60px rgba(18, 34, 68, 0.18);
}

.syls-home-vip-guest {
  padding: 30px 30px 26px;
}

.syls-home-vip-guest-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}

.syls-home-vip-guest-avatar {
  width: 68px;
  height: 68px;
  border-radius: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, color-mix(in srgb, var(--primary-soft) 38%, #fff 62%), color-mix(in srgb, var(--primary-soft) 18%, #fff 82%));
  color: var(--primary);
  font-size: 34px;
  flex: 0 0 68px;
}

.syls-home-vip-guest-headline strong {
  display: block;
  color: var(--text-primary);
  font-size: 28px;
  line-height: 1.28;
  font-weight: 860;
}

.syls-home-vip-guest-headline p {
  margin: 8px 0 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.75;
  font-weight: 560;
}

.syls-home-vip-guest-panel {
  display: grid;
  gap: 18px;
}

.syls-home-vip-guest-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.syls-home-vip-guest-card {
  min-height: 150px;
  padding: 22px 22px 20px;
  border-radius: 24px;
  border: 1px solid color-mix(in srgb, var(--border-subtle) 88%, transparent);
  background:
    radial-gradient(circle at 12% 0%, color-mix(in srgb, var(--primary-soft) 16%, transparent), transparent 34%),
    color-mix(in srgb, var(--bg-card) 96%, #fff 4%);
}

.syls-home-vip-guest-card.is-active {
  border-color: color-mix(in srgb, var(--primary) 28%, var(--border-subtle) 72%);
  box-shadow: 0 18px 34px rgba(47, 123, 246, 0.1);
}

.syls-home-vip-guest-card span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary-soft) 22%, #fff 78%);
  color: var(--primary);
  font-size: 13px;
  font-weight: 760;
}

.syls-home-vip-guest-card strong {
  display: block;
  margin-top: 18px;
  color: var(--text-primary);
  font-size: 24px;
  line-height: 1.35;
  font-weight: 840;
}

.syls-home-vip-guest-card small {
  display: block;
  margin-top: 12px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.8;
  font-weight: 560;
}

.syls-home-vip-guest-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.syls-home-vip-guest-primary,
.syls-home-vip-guest-secondary {
  min-height: 54px;
  padding: 0 24px;
  border-radius: 18px;
  border: 1px solid transparent;
  font-size: 16px;
  font-weight: 780;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}

.syls-home-vip-guest-primary {
  background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 92%, #5d8fff 8%), var(--primary));
  color: #fff;
  box-shadow: 0 18px 34px rgba(47, 123, 246, 0.22);
}

.syls-home-vip-guest-secondary {
  background: color-mix(in srgb, var(--bg-card) 96%, #fff 4%);
  color: var(--text-primary);
  border-color: color-mix(in srgb, var(--border-subtle) 88%, transparent);
}

.syls-home-vip-guest-primary:hover,
.syls-home-vip-guest-primary:focus,
.syls-home-vip-guest-secondary:hover,
.syls-home-vip-guest-secondary:focus {
  transform: translateY(-1px);
}

.syls-home-vip-guest-note {
  margin: 2px 0 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.7;
}

.syls-home-vip-guest-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.syls-home-vip-guest-type {
  min-height: 116px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 44%, rgba(255, 255, 255, 0.38), transparent 22%),
    linear-gradient(135deg, #f4c36d, #f7d9a4);
  color: #7c5a20;
  box-shadow: 0 12px 26px rgba(165, 115, 34, 0.12);
}

.syls-home-vip-guest-type + .syls-home-vip-guest-type {
  background:
    radial-gradient(circle at 18% 44%, rgba(255, 255, 255, 0.2), transparent 24%),
    linear-gradient(135deg, #565778, #6b6988);
  color: rgba(255, 255, 255, 0.9);
}

.syls-home-vip-guest-type i {
  position: absolute;
  left: 16px;
  top: 16px;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #d79a32;
  font-style: normal;
  font-weight: 900;
}

.syls-home-vip-guest-type strong {
  font-size: 27px;
  line-height: 1.2;
  font-weight: 840;
}

.syls-home-vip-guest-type span {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 620;
  opacity: 0.82;
}

.syls-home-vip-guest-body {
  display: grid;
  grid-template-columns: minmax(220px, 0.82fr) minmax(360px, 1.18fr);
  gap: 22px;
  align-items: start;
}

.syls-home-vip-guest-benefits {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-height: 332px;
  padding: 18px 12px;
  border-radius: 22px;
  background: color-mix(in srgb, var(--bg-card) 82%, transparent);
}

.syls-home-vip-guest-benefit-icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 18%, #fff 82%), color-mix(in srgb, var(--accent, #6fd8bd) 16%, #fff 84%));
  color: var(--primary);
  font-size: 26px;
  box-shadow: 0 10px 26px rgba(47, 123, 246, 0.14);
}

.syls-home-vip-guest-benefits strong {
  margin: 4px 0 8px;
  color: #ff8a47;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 820;
}

.syls-home-vip-guest-benefits span {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 620;
  text-align: center;
}

.syls-home-vip-guest-pay {
  display: grid;
  gap: 16px;
}

.syls-home-vip-guest-plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.syls-home-vip-guest-plan {
  position: relative;
  min-height: 124px;
  padding: 24px 16px 16px;
  border-radius: 16px;
  border: 2px solid color-mix(in srgb, var(--border-subtle) 72%, transparent);
  background: color-mix(in srgb, var(--bg-card) 96%, #f5f7fb 4%);
  text-align: center;
}

.syls-home-vip-guest-plan.is-active {
  border-color: #ff5b83;
}

.syls-home-vip-guest-plan em {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  min-width: 92px;
  padding: 4px 10px;
  border-radius: 8px;
  background: linear-gradient(135deg, #ff994f, #ff6f4d);
  color: #fff;
  font-size: 12px;
  line-height: 1.2;
  font-style: normal;
  font-weight: 760;
  white-space: nowrap;
}

.syls-home-vip-guest-plan strong {
  display: block;
  color: #ff5179;
  font-size: 28px;
  line-height: 1.05;
  font-weight: 820;
}

.syls-home-vip-guest-plan del {
  display: block;
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 640;
}

.syls-home-vip-guest-plan span {
  display: block;
  margin-top: 7px;
  color: var(--primary);
  font-size: 16px;
  font-weight: 760;
}

.syls-home-vip-quick-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.syls-home-vip-quick-form label {
  display: grid;
  gap: 7px;
  margin: 0;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
}

.syls-home-vip-quick-form input {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 13px;
  border: 1px solid color-mix(in srgb, var(--border-subtle) 90%, transparent);
  background: color-mix(in srgb, var(--bg-card) 96%, #fff 4%);
  color: var(--text-primary);
  outline: none;
}

.syls-home-vip-quick-form input:focus {
  border-color: color-mix(in srgb, var(--primary) 42%, var(--border-subtle) 58%);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 12%, transparent);
}

.syls-home-vip-code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.syls-home-vip-send-code {
  min-height: 44px;
  padding: 0 12px;
  border-radius: 13px;
  border: 1px solid color-mix(in srgb, var(--primary) 28%, var(--border-subtle) 72%);
  background: color-mix(in srgb, var(--primary-soft) 32%, #fff 68%);
  color: var(--primary);
  font-size: 13px;
  font-weight: 780;
  white-space: nowrap;
}

.syls-home-vip-quick-form .syls-home-vip-guest-primary {
  grid-column: 1 / -1;
  width: 100%;
}

.syls-home-vip-guest-pay > .syls-home-vip-guest-secondary {
  width: 100%;
  min-height: 48px;
}

.syls-home-vip-quick-disabled {
  padding: 14px 16px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--warning-soft, #fff3df) 72%, #fff 28%);
  color: color-mix(in srgb, var(--warning, #b86b00) 82%, var(--text-primary) 18%);
  font-size: 14px;
  line-height: 1.65;
  font-weight: 650;
}

[data-syls-theme="dark"] .syls-home-search,
[data-syls-theme="dark"] .syls-home-circle,
[data-syls-theme="dark"] .syls-home-hero,
[data-syls-theme="dark"] .syls-home-metric-card,
[data-syls-theme="dark"] .syls-home-release-card,
[data-syls-theme="dark"] .syls-home-category-card,
[data-syls-theme="dark"] .syls-home-vip-band {
  box-shadow: none;
}

[data-syls-theme="dark"] .syls-home-hero {
  background:
    radial-gradient(circle at 20% 20%, rgba(77, 126, 255, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(12, 19, 34, 0.88) 0%, rgba(13, 24, 43, 0.74) 46%, rgba(14, 29, 56, 0.54) 100%);
}

[data-syls-theme="dark"] .syls-home-hero-copy {
  background: linear-gradient(90deg, rgba(8, 15, 28, 0.84) 0%, rgba(8, 15, 28, 0.72) 42%, rgba(8, 15, 28, 0.10) 100%);
}

[data-syls-theme="dark"] .syls-home-hero-media::after {
  background:
    linear-gradient(90deg, rgba(7, 14, 26, 0.86) 0%, rgba(10, 18, 34, 0.78) 24%, rgba(11, 22, 42, 0.40) 54%, rgba(5, 11, 24, 0.20) 100%),
    linear-gradient(180deg, rgba(4, 10, 28, 0.28), rgba(4, 10, 28, 0.42));
}

[data-syls-theme="dark"] .syls-home-hero-media img {
  filter: none;
}

[data-syls-theme="dark"] .syls-home-release-thumb img {
  filter: saturate(0.96) brightness(0.72);
}

[data-syls-theme="dark"] .syls-home-hero h1,
[data-syls-theme="dark"] .syls-home-hero h1 a {
  color: #f7fbff;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.32);
}

[data-syls-theme="dark"] .syls-home-hero-subtitle {
  color: rgba(228, 239, 255, 0.96);
}

[data-syls-theme="dark"] .syls-home-hero-excerpt {
  color: rgba(214, 226, 245, 0.92);
}

[data-syls-theme="dark"] .syls-home-hero-points span {
  color: rgba(201, 215, 238, 0.9);
}

[data-syls-theme="dark"] .syls-home-hero-kicker {
  border-color: rgba(145, 183, 255, 0.34);
  background: rgba(242, 247, 255, 0.96);
  color: #2e5faf;
}

[data-syls-theme="dark"] .syls-home-vip-band {
  background:
    radial-gradient(circle at 12% 0%, rgba(75, 126, 255, 0.14), transparent 34%),
    linear-gradient(90deg, rgba(23, 34, 55, 0.96), rgba(16, 24, 41, 0.92));
  border-color: rgba(133, 159, 208, 0.14);
}

[data-syls-theme="dark"] .syls-home-vip-copy strong {
  color: color-mix(in srgb, var(--syls-home-vip-title-color, #f5f8ff) 60%, #f5f8ff 40%);
}

[data-syls-theme="dark"] .syls-home-vip-copy p {
  color: color-mix(in srgb, var(--syls-home-vip-desc-color, #d5e2f7) 58%, #d5e2f7 42%);
}

[data-syls-theme="dark"] .syls-home-vip-action {
  box-shadow: 0 14px 30px rgba(47, 123, 246, 0.18);
}

[data-syls-theme="dark"] .syls-home-vip-modal-dialog .modal-content {
  border-color: rgba(122, 147, 192, 0.16);
  background:
    radial-gradient(circle at 12% 0%, rgba(75, 126, 255, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(14, 24, 40, 0.98), rgba(11, 20, 35, 0.98));
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.34);
}

[data-syls-theme="dark"] .syls-home-vip-guest-avatar {
  background: linear-gradient(135deg, rgba(78, 127, 255, 0.2), rgba(36, 66, 130, 0.34));
  color: #cfe0ff;
}

[data-syls-theme="dark"] .syls-home-vip-guest-headline strong {
  color: #f7fbff;
}

[data-syls-theme="dark"] .syls-home-vip-guest-headline p,
[data-syls-theme="dark"] .syls-home-vip-guest-card small {
  color: rgba(209, 222, 243, 0.86);
}

[data-syls-theme="dark"] .syls-home-vip-guest-card {
  border-color: rgba(126, 149, 192, 0.14);
  background:
    radial-gradient(circle at 12% 0%, rgba(75, 126, 255, 0.14), transparent 32%),
    linear-gradient(180deg, rgba(22, 34, 54, 0.96), rgba(17, 27, 43, 0.96));
}

[data-syls-theme="dark"] .syls-home-vip-guest-card span {
  background: rgba(228, 237, 255, 0.1);
  color: #bcd2ff;
}

[data-syls-theme="dark"] .syls-home-vip-guest-card strong,
[data-syls-theme="dark"] .syls-home-vip-guest-secondary {
  color: #f2f7ff;
}

[data-syls-theme="dark"] .syls-home-vip-guest-secondary {
  background: rgba(27, 40, 63, 0.92);
  border-color: rgba(126, 149, 192, 0.16);
}

[data-syls-theme="dark"] .syls-home-vip-guest-note {
  color: rgba(179, 194, 221, 0.82);
}

[data-syls-theme="dark"] .syls-home-vip-guest-type {
  background:
    radial-gradient(circle at 16% 44%, rgba(255, 255, 255, 0.18), transparent 24%),
    linear-gradient(135deg, rgba(188, 128, 42, 0.92), rgba(117, 82, 34, 0.94));
  color: rgba(255, 237, 205, 0.94);
  box-shadow: none;
}

[data-syls-theme="dark"] .syls-home-vip-guest-type + .syls-home-vip-guest-type {
  background:
    radial-gradient(circle at 18% 44%, rgba(255, 255, 255, 0.12), transparent 24%),
    linear-gradient(135deg, rgba(67, 74, 104, 0.95), rgba(43, 47, 73, 0.96));
}

[data-syls-theme="dark"] .syls-home-vip-guest-benefits {
  background: rgba(9, 17, 30, 0.42);
}

[data-syls-theme="dark"] .syls-home-vip-guest-benefit-icon {
  background: linear-gradient(135deg, rgba(82, 135, 255, 0.22), rgba(109, 216, 189, 0.14));
  color: #dce9ff;
  box-shadow: none;
}

[data-syls-theme="dark"] .syls-home-vip-guest-benefits strong {
  color: #ffb07a;
}

[data-syls-theme="dark"] .syls-home-vip-guest-benefits span {
  color: rgba(209, 222, 243, 0.86);
}

[data-syls-theme="dark"] .syls-home-vip-guest-plan {
  border-color: rgba(126, 149, 192, 0.18);
  background: rgba(18, 29, 48, 0.9);
}

[data-syls-theme="dark"] .syls-home-vip-guest-plan.is-active {
  border-color: rgba(255, 91, 131, 0.82);
}

[data-syls-theme="dark"] .syls-home-vip-quick-form label {
  color: rgba(205, 218, 240, 0.88);
}

[data-syls-theme="dark"] .syls-home-vip-quick-form input {
  border-color: rgba(126, 149, 192, 0.2);
  background: rgba(9, 17, 30, 0.54);
  color: #f4f8ff;
}

[data-syls-theme="dark"] .syls-home-vip-send-code {
  border-color: rgba(112, 163, 255, 0.3);
  background: rgba(47, 123, 246, 0.16);
  color: #bcd6ff;
}

[data-syls-theme="dark"] .syls-home-vip-quick-disabled {
  background: rgba(255, 176, 86, 0.1);
  color: rgba(255, 214, 165, 0.9);
}

[data-syls-theme="dark"] .syls-nav-mini-action {
  border-color: rgba(133, 159, 208, 0.16);
  background: rgba(21, 33, 53, 0.94);
  color: #d3def0;
}

[data-syls-theme="dark"] .syls-nav-mini-action::after {
  border-color: rgba(133, 159, 208, 0.16);
  background: rgba(18, 28, 45, 0.98);
  color: #edf4ff;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}

[data-syls-theme="dark"] .syls-nav-mini-action:hover,
[data-syls-theme="dark"] .syls-nav-mini-action:focus {
  color: #9dc4ff;
  border-color: rgba(112, 163, 255, 0.34);
  background: rgba(27, 44, 70, 0.98);
}

[data-syls-theme="dark"] .syls-home-metric-icon {
  border-color: color-mix(in srgb, var(--syls-home-metric-accent) 24%, rgba(148, 171, 213, 0.18));
  background:
    radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.18), transparent 34%),
    linear-gradient(145deg, color-mix(in srgb, var(--syls-home-metric-accent) 20%, #22304a 80%), color-mix(in srgb, var(--syls-home-metric-accent) 10%, #121d2f 90%));
  color: color-mix(in srgb, var(--syls-home-metric-accent) 82%, #d9e8ff 18%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18),
    0 10px 22px rgba(0, 0, 0, 0.14);
  filter: saturate(0.92);
}

[data-syls-theme="dark"] .syls-home-vip-icon {
  border-color: color-mix(in srgb, var(--syls-home-vip-icon-color, #5c96ff) 22%, rgba(148, 171, 213, 0.18));
  background:
    radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.18), transparent 34%),
    linear-gradient(145deg, color-mix(in srgb, var(--syls-home-vip-icon-color, #5c96ff) 18%, #22304a 82%), color-mix(in srgb, var(--syls-home-vip-icon-color, #5c96ff) 9%, #121d2f 91%));
  color: color-mix(in srgb, var(--syls-home-vip-icon-color, #5c96ff) 82%, #d9e8ff 18%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18),
    0 10px 22px rgba(0, 0, 0, 0.14);
  filter: saturate(0.92);
}

[data-syls-theme="dark"] .syls-member-home .syls-home-search,
[data-syls-theme="dark"] .syls-home-section-card {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

[data-syls-theme="dark"] .syls-member-home .syls-home-search {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(10, 18, 35, 0.34);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

[data-syls-theme="dark"] .syls-resource-card,
[data-syls-theme="dark"] .syls-category-map-card {
  border-color: rgba(126, 149, 192, 0.14);
  background: rgba(21, 34, 55, 0.64);
}

[data-syls-theme="dark"] .syls-home-section-head h2,
[data-syls-theme="dark"] .syls-resource-card-body strong,
[data-syls-theme="dark"] .syls-category-map-card strong {
  color: rgba(238, 245, 255, 0.94);
}

[data-syls-theme="dark"] .syls-home-section-head a,
[data-syls-theme="dark"] .syls-resource-card-body span {
  color: rgba(174, 190, 215, 0.86);
}

[data-syls-theme="dark"] .syls-home-section-head a:hover,
[data-syls-theme="dark"] .syls-home-section-head a:focus,
[data-syls-theme="dark"] .syls-resource-card:hover,
[data-syls-theme="dark"] .syls-resource-card:focus,
[data-syls-theme="dark"] .syls-category-map-card:hover,
[data-syls-theme="dark"] .syls-category-map-card:focus {
  color: rgba(246, 250, 255, 0.98);
}

[data-syls-theme="dark"] .syls-resource-card-cover {
  background:
    radial-gradient(circle at 30% 20%, rgba(123, 92, 255, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(30, 45, 70, 0.96), rgba(14, 24, 42, 0.96));
}

[data-syls-theme="dark"] .syls-resource-card-cover img {
  filter: saturate(0.96) brightness(0.74);
}

[data-syls-theme="dark"] .syls-category-map-card span {
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.14), transparent 34%),
    linear-gradient(135deg, color-mix(in srgb, var(--syls-category-map-accent) 24%, #1e304d 76%), color-mix(in srgb, var(--syls-category-map-accent) 10%, #111d31 90%));
  color: color-mix(in srgb, var(--syls-category-map-accent) 74%, #dce9ff 26%);
  box-shadow: none;
}

a.syls-eyebrow {
  color: var(--primary);
  text-decoration: none;
}

a.syls-eyebrow:hover,
a.syls-eyebrow:focus {
  color: var(--primary-hover);
  text-decoration: none;
}

[data-syls-theme="dark"] .syls-home-grid-card {
  background: transparent;
}

[data-syls-theme="dark"] .syls-home-grid-card img {
  filter: saturate(0.92) brightness(0.9);
}

.syls-overview-copy {
  grid-column: 1 / -1;
  display: grid;
  gap: 3px;
}

.syls-home-overview strong {
  display: block;
  margin: 0;
  color: var(--syls-text);
  font-family: var(--syls-title-font);
  font-size: 16px;
  line-height: 1.24;
  font-weight: 880;
}

.syls-overview-copy span {
  display: block;
  color: var(--syls-muted);
  font-size: 11px;
  line-height: 1.32;
  font-weight: 760;
}

.syls-overview-kicker {
  color: var(--syls-accent);
  font-size: 12px;
  font-weight: 900;
}

.syls-overview-latest {
  min-width: 0;
  display: grid;
  gap: 5px;
  padding: 13px 15px;
  border: 1px solid var(--syls-line);
  border-radius: var(--syls-radius-sm);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--syls-green) 10%, transparent), transparent 56%),
    color-mix(in srgb, var(--syls-surface-strong) 72%, transparent);
  color: var(--syls-text);
  text-decoration: none;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.syls-overview-latest:hover,
.syls-overview-latest:focus {
  border-color: color-mix(in srgb, var(--syls-accent) 34%, transparent);
  color: var(--syls-text);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(20, 36, 70, 0.08);
}

.syls-overview-latest span {
  color: var(--syls-muted);
  font-size: 11px;
  font-weight: 850;
}

.syls-overview-latest b {
  overflow: hidden;
  color: var(--syls-text);
  font-size: 14px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.syls-overview-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.syls-overview-stats span {
  min-width: 0;
  display: grid;
  gap: 2px;
  padding: 8px 8px;
  border: 1px solid var(--syls-line);
  border-radius: 10px;
  background: color-mix(in srgb, var(--syls-surface-strong) 74%, transparent);
  color: var(--syls-muted);
  font-size: 10px;
  font-weight: 760;
}

.syls-overview-stats b {
  overflow: hidden;
  color: var(--syls-text);
  font-size: 13px;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.syls-overview-daily {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.syls-overview-daily span {
  min-width: 0;
  display: grid;
  gap: 2px;
  padding: 8px;
  border: 1px solid color-mix(in srgb, var(--syls-accent) 12%, var(--syls-line));
  border-radius: 10px;
  background: color-mix(in srgb, var(--syls-accent) 5%, transparent);
}

.syls-overview-daily b {
  color: var(--syls-accent);
  font-size: 10px;
  line-height: 1.1;
  font-weight: 900;
}

.syls-overview-daily em {
  overflow: hidden;
  color: var(--syls-text);
  font-size: 12px;
  line-height: 1.18;
  font-style: normal;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.syls-home-overview .syls-overview-stats,
.syls-home-overview .syls-overview-daily {
  display: contents;
}

.syls-home-overview .syls-overview-stats span,
.syls-home-overview .syls-overview-daily span {
  min-height: 74px;
  align-content: center;
}

.syls-overview-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.syls-overview-topics a {
  --syls-item-color: var(--syls-accent);
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid color-mix(in srgb, var(--syls-item-color) 16%, var(--syls-line));
  border-radius: 999px;
  background: color-mix(in srgb, var(--syls-item-color) 8%, transparent);
  color: color-mix(in srgb, var(--syls-item-color) 78%, var(--syls-text));
  text-decoration: none;
  font-size: 12px;
  font-weight: 820;
}

.syls-overview-topics a:hover,
.syls-overview-topics a:focus {
  border-color: color-mix(in srgb, var(--syls-item-color) 32%, transparent);
  background: color-mix(in srgb, var(--syls-item-color) 14%, transparent);
  color: var(--syls-item-color);
  text-decoration: none;
}

.syls-overview-topics span {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  border-radius: 7px;
  background: color-mix(in srgb, var(--syls-item-color) 14%, transparent);
  font-size: 11px;
  line-height: 1;
}

.syls-archive-overview {
  --syls-item-color: var(--syls-accent);
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 16px;
  margin: 0 0 20px;
  padding: 22px;
  border: 1px solid color-mix(in srgb, var(--syls-item-color) 24%, var(--syls-line));
  border-radius: var(--syls-radius-md);
  background:
    radial-gradient(circle at 88% 0%, color-mix(in srgb, var(--syls-item-color) 18%, transparent), transparent 34%),
    linear-gradient(145deg, color-mix(in srgb, var(--syls-item-color) 10%, transparent), transparent 46%),
    var(--syls-archive-bg, linear-gradient(transparent, transparent)),
    var(--syls-surface-strong);
  background-position: center;
  background-size: auto, auto, cover, auto;
  box-shadow: 0 18px 44px rgba(20, 36, 70, 0.09);
}

.syls-archive-overview::before {
  content: none;
  position: absolute;
  inset: auto 18px 0 18px;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, var(--syls-item-color), color-mix(in srgb, var(--syls-item-color) 26%, transparent));
}

.syls-archive-overview.is-topic {
  border-radius: 24px 24px 14px 24px;
}

.syls-archive-overview.is-category {
  border-radius: 14px 24px 24px 24px;
}

.syls-archive-overview.has-bg-image {
  background:
    var(--syls-archive-bg),
    var(--syls-surface-strong);
  background-position: center;
  background-size: cover;
}

.syls-archive-mark {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 16px;
  background: color-mix(in srgb, var(--syls-item-color) 14%, transparent);
  color: var(--syls-item-color);
  font-size: 20px;
  font-weight: 900;
}

.syls-archive-copy {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.syls-archive-copy span {
  color: var(--syls-item-color);
  font-size: 12px;
  font-weight: 900;
}

.syls-archive-copy strong {
  color: var(--syls-text);
  font-family: var(--syls-title-font);
  font-size: 26px;
  line-height: 1.16;
  font-weight: 900;
}

.syls-archive-copy p {
  margin: 0;
  color: var(--syls-muted);
  font-size: 13px;
  line-height: 1.65;
  font-weight: 650;
}

.syls-archive-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.syls-archive-stats span,
.syls-archive-latest {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid var(--syls-line);
  border-radius: var(--syls-radius-sm);
  background: color-mix(in srgb, var(--syls-surface-strong) 78%, transparent);
  color: var(--syls-muted);
  text-decoration: none;
  font-size: 11px;
  font-weight: 780;
}

.syls-archive-stats b,
.syls-archive-latest b {
  overflow: hidden;
  color: var(--syls-text);
  font-size: 16px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.syls-archive-latest:hover,
.syls-archive-latest:focus {
  border-color: color-mix(in srgb, var(--syls-item-color) 34%, transparent);
  color: var(--syls-muted);
  text-decoration: none;
}

.syls-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--syls-line);
}

.syls-pagination a,
.syls-page-gap {
  min-width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--syls-muted);
  text-decoration: none;
  font-size: 12px;
  font-weight: 850;
}

.syls-pagination a {
  border: 1px solid var(--syls-line);
  background: var(--syls-surface-strong);
}

.syls-pagination a:hover,
.syls-pagination a:focus,
.syls-pagination a.is-active {
  border-color: transparent;
  background: linear-gradient(135deg, #06b6d4, #0071e3);
  color: #fff;
  box-shadow: 0 12px 24px rgba(0, 113, 227, 0.18);
  text-decoration: none;
}

.syls-post-row {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 22px 20px 20px;
  border: 1px solid var(--syls-line);
  border-radius: var(--syls-radius-md);
  background:
    radial-gradient(circle at 94% 12%, color-mix(in srgb, var(--syls-accent) 10%, transparent), transparent 30%),
    linear-gradient(90deg, color-mix(in srgb, var(--syls-accent) 6%, transparent), transparent 54%),
    var(--syls-surface-strong);
  color: var(--syls-text);
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(20, 36, 70, 0.045);
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease;
}

.syls-post-row::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: 0;
  pointer-events: none;
  border-radius: calc(var(--syls-radius-md) - 1px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.55), transparent 38%),
    linear-gradient(315deg, color-mix(in srgb, var(--syls-accent) 8%, transparent), transparent 32%);
  opacity: 0.72;
}

.syls-post-row:hover,
.syls-post-row:focus {
  color: var(--syls-text);
  text-decoration: none;
  transform: translateY(-2px);
  border-color: rgba(0, 113, 227, 0.30);
  background:
    radial-gradient(circle at 94% 12%, rgba(0, 113, 227, 0.13), transparent 32%),
    linear-gradient(90deg, rgba(0, 113, 227, 0.07), transparent 60%),
    var(--syls-surface-strong);
  box-shadow: 0 22px 48px rgba(20, 36, 70, 0.12);
}

.syls-post-row.is-active {
  border-color: rgba(0, 113, 227, 0.30);
  background:
    radial-gradient(circle at 94% 12%, rgba(0, 113, 227, 0.15), transparent 32%),
    linear-gradient(90deg, rgba(0, 113, 227, 0.11), transparent 62%),
    var(--syls-surface-strong);
  box-shadow: 0 18px 42px rgba(0, 113, 227, 0.13);
}

.syls-post-row.is-active::before {
  content: "";
  position: absolute;
  z-index: 2;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 4px;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(180deg, #7c3aed, #0071e3);
}

.syls-post-row-kicker {
  position: relative;
  z-index: 1;
  width: fit-content;
  max-width: 100%;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--syls-accent) 10%, transparent);
  color: var(--syls-accent);
  font-size: 11px;
  line-height: 24px;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.syls-post-row-kicker span {
  display: inline-flex;
  align-items: center;
}

.syls-post-row-kicker span + span::before {
  content: "/";
  margin: 0 6px;
  color: var(--syls-soft);
}

.syls-post-row strong {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--syls-text);
  font-family: var(--syls-title-font);
  font-size: var(--syls-list-title-font, 16px);
  line-height: var(--syls-list-line-height, 1.38);
  font-weight: 900;
  letter-spacing: 0;
}

.syls-post-title-icons {
  align-self: stretch;
  display: grid;
  align-content: start;
  gap: 4px;
  flex: 0 0 24px;
}

.syls-post-title-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: inline-grid;
  place-items: center;
  margin-top: 1px;
  border-radius: 9px;
  background: color-mix(in srgb, var(--syls-item-color, var(--syls-accent)) 12%, transparent);
  color: var(--syls-item-color, var(--syls-accent));
  font-size: 15px;
  line-height: 1;
}

.syls-post-title-text {
  min-width: 0;
}

.syls-topic-badge {
  --syls-topic-color: var(--syls-accent);
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin-right: 6px;
  color: var(--syls-topic-color);
  font-weight: 900;
  text-decoration: none;
  vertical-align: baseline;
}

.syls-topic-badge:hover,
.syls-topic-badge:focus {
  color: var(--syls-topic-color);
  text-decoration: none;
}

.syls-post-row-topics {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.syls-topic-badge-list {
  min-height: 25px;
  margin-right: 0;
  padding: 0 10px;
  border: 1px solid color-mix(in srgb, var(--syls-topic-color) 12%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--syls-topic-color) 10%, transparent);
  font-size: 11px;
  line-height: 24px;
}

.syls-post-row-date {
  position: relative;
  z-index: 1;
  min-height: 25px;
  display: inline-flex;
  align-items: center;
  color: var(--syls-soft);
  font-size: 11px;
  font-weight: 850;
}

.syls-post-row-under {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  min-width: 0;
}

.syls-topic-badge-article {
  margin-right: 10px;
  text-shadow: 0 10px 24px color-mix(in srgb, var(--syls-topic-color) 18%, transparent);
}

.syls-post-row-excerpt {
  display: -webkit-box;
  overflow: hidden;
  color: var(--syls-muted);
  font-size: 13px;
  line-height: var(--syls-list-line-height, 1.55);
  font-weight: 600;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.syls-post-row-meta {
  display: flex;
  gap: 12px;
  color: var(--syls-soft);
  font-size: 12px;
  font-weight: 700;
}

.syls-article-panel {
  padding: 34px min(5vw, 68px);
  border: 1px solid var(--syls-line-strong);
  border-radius: var(--syls-radius-lg);
  background:
    radial-gradient(circle at 86% 8%, rgba(6, 182, 212, 0.08), transparent 28%),
    var(--syls-article-surface);
  box-shadow: 0 30px 96px rgba(20, 36, 70, 0.11);
  backdrop-filter: var(--syls-panel-blur);
  -webkit-backdrop-filter: var(--syls-panel-blur);
  transition: opacity 0.18s ease, filter 0.18s ease;
}

.syls-article-panel.is-loading {
  opacity: 0.58;
  filter: saturate(0.85);
  pointer-events: none;
}

.syls-article-header {
  max-width: 880px;
  margin: 0 auto 26px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--syls-line);
}

.syls-article-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.syls-article-cats a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--syls-item-color, var(--syls-accent)) 11%, transparent);
  color: color-mix(in srgb, var(--syls-item-color, var(--syls-accent-dark)) 82%, var(--syls-text));
  text-decoration: none;
  font-size: 12px;
  font-weight: 850;
}

.syls-article-cats a.is-topic {
  border: 1px solid color-mix(in srgb, var(--syls-item-color, var(--syls-accent)) 18%, transparent);
}

.syls-article-cats a:hover,
.syls-article-cats a:focus {
  background: color-mix(in srgb, var(--syls-item-color, var(--syls-accent)) 17%, transparent);
  color: var(--syls-item-color, var(--syls-accent-dark));
  text-decoration: none;
}

.syls-article-header h2 {
  margin: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 14px;
  color: var(--syls-text);
  text-align: left;
  font-family: var(--syls-title-font);
  font-size: var(--syls-article-title-font, 48px);
  line-height: 1.12;
  font-weight: 880;
}

.syls-article-title-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: inline-grid;
  place-items: center;
  margin-top: 0.08em;
  border-radius: 15px;
  background: color-mix(in srgb, var(--syls-item-color, var(--syls-accent)) 12%, transparent);
  color: var(--syls-item-color, var(--syls-accent));
  font-size: 0.54em;
  line-height: 1;
}

.syls-article-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 14px;
  margin-top: 17px;
  color: var(--syls-muted);
  font-size: 13px;
  font-weight: 720;
  text-align: center;
}

.syls-article-meta a,
.syls-article-meta-item {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--syls-muted);
  text-decoration: none;
}

.syls-article-author-avatar {
  width: 1em;
  height: 1em;
  border-radius: 999px;
  box-shadow: none;
}

.syls-article-author-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.syls-article-author-action {
  min-height: 32px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 780;
  line-height: 1;
  text-decoration: none !important;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.syls-article-author-action:hover,
.syls-article-author-action:focus {
  transform: translateY(-1px);
  text-decoration: none !important;
}

.syls-article-follow {
  background: color-mix(in srgb, #ff5b7f 12%, var(--syls-bg-soft));
  color: #ff4f76 !important;
}

.syls-article-follow.actived {
  background: color-mix(in srgb, #ff5b7f 18%, var(--syls-bg-soft));
  color: #ff4f76 !important;
}

.syls-article-private {
  background: color-mix(in srgb, var(--syls-accent) 12%, var(--syls-bg-soft));
  color: var(--syls-accent) !important;
}

.syls-article-meta-icon {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 9px;
  background: color-mix(in srgb, var(--syls-accent) 10%, transparent);
  color: var(--syls-accent);
  font-size: 13px;
  line-height: 0;
}

.syls-article-meta a:hover,
.syls-article-meta a:focus {
  color: var(--syls-accent-dark);
  text-decoration: none;
}

@media (max-width: 640px) {
  .syls-article-author-actions {
    width: 100%;
    justify-content: center;
  }
}

.syls-featured-image {
  max-width: 880px;
  margin: 0 auto 30px;
  overflow: hidden;
  border-radius: 24px;
  background: var(--syls-bg-soft);
}

.syls-featured-image img {
  display: block;
  width: 100%;
  height: auto;
}

.syls-article-content {
  max-width: 880px;
  margin: 0 auto;
  color: var(--syls-text);
  font-size: var(--syls-article-font, 16px);
  line-height: var(--syls-article-line-height, 1.9);
}

.syls-article-content > *:first-child {
  margin-top: 0;
}

.syls-article-content a {
  color: var(--syls-accent-dark);
}

.syls-article-content img,
.syls-article-content video,
.syls-article-content iframe {
  max-width: 100%;
  border-radius: 18px;
}

.syls-article-content pre,
.syls-article-content code {
  border-radius: 12px;
}

.syls-article-footer {
  max-width: 880px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 34px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--syls-line);
}

.syls-pay-box {
  max-width: 880px;
  margin: 32px auto 0;
}

.syls-pay-box .pay-box,
.syls-pay-box .hidden-box,
.syls-pay-box .theme-box {
  border-radius: 18px;
}

.syls-action,
.syls-article-footer .action,
.syls-comments .but,
.syls-reader-ui .but,
.syls-reader-ui button,
.syls-reader-ui input[type="submit"] {
  border-radius: 999px !important;
}

.syls-comments {
  max-width: 880px;
  margin: 34px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--syls-line);
}

[data-syls-theme="dark"] .syls-pay-box .pay-box,
[data-syls-theme="dark"] .syls-pay-box .hidden-box,
[data-syls-theme="dark"] .syls-pay-box .theme-box,
[data-syls-theme="dark"] .syls-pay-box .pay-tag,
[data-syls-theme="dark"] .syls-pay-box .pay-box-content {
  border-color: var(--syls-line-strong) !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(41, 151, 255, 0.05)),
    var(--syls-surface-strong) !important;
  color: var(--syls-text) !important;
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.28) !important;
}

[data-syls-theme="dark"] .syls-pay-box,
[data-syls-theme="dark"] .syls-pay-box *,
[data-syls-theme="dark"] .syls-comments,
[data-syls-theme="dark"] .syls-comments * {
  color: inherit;
}

[data-syls-theme="dark"] .syls-comments .theme-box,
[data-syls-theme="dark"] .syls-comments #comments,
[data-syls-theme="dark"] .syls-comments #respond,
[data-syls-theme="dark"] .syls-comments .comment-signarea,
[data-syls-theme="dark"] .syls-comments .commentlist .comment,
[data-syls-theme="dark"] .syls-comments .comment-body {
  border-color: var(--syls-line) !important;
  background: var(--syls-surface-strong) !important;
  color: var(--syls-text) !important;
}

[data-syls-theme="dark"] .syls-comments textarea,
[data-syls-theme="dark"] .syls-comments input,
[data-syls-theme="dark"] .syls-comments .form-control {
  border-color: var(--syls-line) !important;
  background: rgba(7, 15, 26, 0.72) !important;
  color: var(--syls-text) !important;
}

[data-syls-theme="dark"] .syls-comments textarea::placeholder,
[data-syls-theme="dark"] .syls-comments input::placeholder {
  color: var(--syls-soft) !important;
}

.syls-empty {
  display: grid;
  gap: 6px;
  place-items: center;
  min-height: 180px;
  padding: 28px;
  border: 1px dashed var(--syls-line-strong);
  border-radius: var(--syls-radius-md);
  color: var(--syls-muted);
  text-align: center;
}

.syls-empty strong {
  color: var(--syls-text);
  font-size: 18px;
}

.syls-empty-large {
  min-height: 70vh;
}

body:not(.syls-reader-ui) {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 8%, var(--syls-glow-blue), transparent 28%),
    radial-gradient(circle at 88% 14%, var(--syls-glow-cyan), transparent 30%),
    linear-gradient(180deg, var(--syls-bg-soft), var(--syls-bg));
  color: var(--syls-text);
  font-family: var(--syls-ui-font);
  letter-spacing: 0;
}

body:not(.syls-reader-ui) .navbar,
body:not(.syls-reader-ui) .header {
  overflow: hidden;
  border: 1px solid var(--syls-line) !important;
  border-radius: 0 0 28px 28px !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(246, 250, 255, 0.78)),
    var(--syls-surface-strong) !important;
  box-shadow: 0 18px 48px rgba(20, 36, 70, 0.10) !important;
  backdrop-filter: blur(22px) saturate(1.35);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
}

body:not(.syls-reader-ui) .navbar {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body:not(.syls-reader-ui) .header .navbar,
body:not(.syls-reader-ui) .navbar .container,
body:not(.syls-reader-ui) .navbar .container-fluid {
  min-height: 70px;
}

body:not(.syls-reader-ui) .navbar a,
body:not(.syls-reader-ui) .header a {
  color: var(--syls-text);
  font-weight: 760;
}

body:not(.syls-reader-ui) .navbar input[type="search"],
body:not(.syls-reader-ui) .navbar .form-control,
body:not(.syls-reader-ui) .header input[type="search"],
body:not(.syls-reader-ui) .header .form-control {
  border: 1px solid color-mix(in srgb, var(--syls-accent) 18%, var(--syls-line)) !important;
  border-radius: 999px !important;
  background: color-mix(in srgb, var(--syls-surface-strong) 86%, transparent) !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}

body:not(.syls-reader-ui) .container,
body:not(.syls-reader-ui) .container-fluid {
  max-width: min(1500px, calc(100vw - 44px));
}

body:not(.syls-reader-ui) .main,
body:not(.syls-reader-ui) main,
body:not(.syls-reader-ui) #main {
  min-height: 62vh;
}

body:not(.syls-reader-ui) .zib-widget,
body:not(.syls-reader-ui) .main-bg,
body:not(.syls-reader-ui) .theme-box,
body:not(.syls-reader-ui) .author-header,
body:not(.syls-reader-ui) .user-header,
body:not(.syls-reader-ui) .user-cover,
body:not(.syls-reader-ui) .user-tab,
body:not(.syls-reader-ui) .author-tab,
body:not(.syls-reader-ui) .user-content,
body:not(.syls-reader-ui) .author-content,
body:not(.syls-reader-ui) .posts-item,
body:not(.syls-reader-ui) .ajax-item,
body:not(.syls-reader-ui) .post-list,
body:not(.syls-reader-ui) .sign {
  border: 1px solid var(--syls-line) !important;
  border-radius: var(--syls-radius-md) !important;
  background:
    radial-gradient(circle at 92% 0%, color-mix(in srgb, var(--syls-accent) 8%, transparent), transparent 30%),
    color-mix(in srgb, var(--syls-surface-strong) 92%, transparent) !important;
  box-shadow: 0 18px 48px rgba(20, 36, 70, 0.08) !important;
}

body:not(.syls-reader-ui) .author-header,
body:not(.syls-reader-ui) .user-header {
  overflow: hidden;
  border-radius: 28px !important;
}

body:not(.syls-reader-ui) .user-cover,
body:not(.syls-reader-ui) .author-cover {
  border-radius: 26px 26px 0 0 !important;
  overflow: hidden;
}

body:not(.syls-reader-ui) .author-header .avatar,
body:not(.syls-reader-ui) .user-header .avatar,
body:not(.syls-reader-ui) .avatar-img,
body:not(.syls-reader-ui) img.avatar {
  border: 3px solid color-mix(in srgb, var(--syls-surface-strong) 88%, transparent) !important;
  box-shadow: 0 16px 34px rgba(20, 36, 70, 0.16) !important;
}

body:not(.syls-reader-ui) .author-header h1,
body:not(.syls-reader-ui) .author-header h2,
body:not(.syls-reader-ui) .user-header h1,
body:not(.syls-reader-ui) .user-header h2,
body:not(.syls-reader-ui) .display-name,
body:not(.syls-reader-ui) .user-name {
  color: var(--syls-text) !important;
  font-family: var(--syls-title-font);
  font-weight: 900 !important;
  letter-spacing: 0;
}

body:not(.syls-reader-ui) .user-tab,
body:not(.syls-reader-ui) .nav-tabs {
  padding: 8px !important;
  border-radius: 999px !important;
  background: color-mix(in srgb, var(--syls-surface-strong) 72%, transparent) !important;
}

body:not(.syls-reader-ui) .user-tab a,
body:not(.syls-reader-ui) .nav-tabs a {
  border-radius: 999px !important;
  color: var(--syls-muted) !important;
}

body:not(.syls-reader-ui) .user-tab a.active,
body:not(.syls-reader-ui) .nav-tabs li.active a,
body:not(.syls-reader-ui) .nav-tabs a.active {
  background: linear-gradient(135deg, #7c6cff, var(--syls-accent)) !important;
  color: #fff !important;
  box-shadow: 0 12px 26px color-mix(in srgb, var(--syls-accent) 24%, transparent) !important;
}

body:not(.syls-reader-ui) .user-counts,
body:not(.syls-reader-ui) .author-counts,
body:not(.syls-reader-ui) .user-data,
body:not(.syls-reader-ui) .user-card,
body:not(.syls-reader-ui) .vip-card,
body:not(.syls-reader-ui) .pay-box {
  border: 1px solid var(--syls-line) !important;
  border-radius: 20px !important;
  background: color-mix(in srgb, var(--syls-surface-strong) 86%, transparent) !important;
  box-shadow: 0 16px 38px rgba(20, 36, 70, 0.08) !important;
}

body:not(.syls-reader-ui) .fixed-body {
  background: transparent !important;
}

body:not(.syls-reader-ui) .footer {
  overflow: hidden;
  margin-top: 42px !important;
  border: 1px solid var(--syls-line) !important;
  border-radius: 30px 30px 0 0 !important;
  background:
    radial-gradient(circle at 12% 0%, color-mix(in srgb, var(--syls-accent) 10%, transparent), transparent 34%),
    linear-gradient(180deg, color-mix(in srgb, var(--syls-surface-strong) 88%, transparent), color-mix(in srgb, var(--syls-bg-soft) 94%, transparent)) !important;
  box-shadow: 0 -18px 54px rgba(20, 36, 70, 0.08) !important;
}

body:not(.syls-reader-ui) .footer a,
body:not(.syls-reader-ui) .footer {
  color: var(--syls-muted) !important;
}

body:not(.syls-reader-ui) .footer img {
  max-height: 78px;
  object-fit: contain;
}

body:not(.syls-reader-ui) .but,
body:not(.syls-reader-ui) .btn,
body:not(.syls-reader-ui) button,
body:not(.syls-reader-ui) input[type="submit"],
body:not(.syls-reader-ui) .payvip-icon {
  border-radius: 999px !important;
}

body:not(.syls-reader-ui) .btn-primary,
body:not(.syls-reader-ui) .signin-loader,
body:not(.syls-reader-ui) .sign .but,
body:not(.syls-reader-ui) .sign button,
body:not(.syls-reader-ui) .sign-submit,
body:not(.syls-reader-ui) input[type="submit"] {
  border-color: transparent !important;
  background: linear-gradient(180deg, var(--syls-accent-light-alt), var(--syls-accent-light)) !important;
  color: #fff !important;
  box-shadow: 0 12px 24px rgba(0, 113, 227, 0.24) !important;
}

body:not(.syls-reader-ui) .sign,
body:not(.syls-reader-ui) .sign-content,
body:not(.syls-reader-ui) .user-sign {
  background-color: var(--syls-surface-strong) !important;
}

body:not(.syls-reader-ui) .sign input,
body:not(.syls-reader-ui) .sign textarea,
body:not(.syls-reader-ui) .sign select,
body:not(.syls-reader-ui) .form-control {
  border-color: var(--syls-line) !important;
  border-radius: 14px !important;
  background-color: var(--syls-surface-strong) !important;
}

body:not(.syls-reader-ui) .sign input:focus,
body:not(.syls-reader-ui) .form-control:focus {
  border-color: rgba(0, 113, 227, 0.42) !important;
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.10) !important;
}

body:not(.syls-reader-ui) .jb-red,
body:not(.syls-reader-ui) .jb-yellow,
body:not(.syls-reader-ui) .b-theme {
  background: linear-gradient(135deg, #2997ff, var(--syls-accent-dark)) !important;
  color: #fff !important;
}

body:not(.syls-reader-ui).page-template-user-sign {
  background:
    radial-gradient(circle at 22% 18%, rgba(0, 113, 227, 0.14), transparent 30%),
    radial-gradient(circle at 78% 8%, rgba(255, 255, 255, 0.9), transparent 28%),
    var(--syls-bg);
}

body:not(.syls-reader-ui).page-template-user-sign .sign-page {
  padding-top: 40px;
}

body:not(.syls-reader-ui).page-template-user-sign .sign {
  width: min(390px, calc(100vw - 34px));
  padding: 8px;
  border-radius: 28px;
}

body:not(.syls-reader-ui) .line-form-input,
body:not(.syls-reader-ui) input[type="text"],
body:not(.syls-reader-ui) input[type="password"],
body:not(.syls-reader-ui) input[type="email"],
body:not(.syls-reader-ui) input[type="search"],
body:not(.syls-reader-ui) textarea,
body:not(.syls-reader-ui) select {
  border-radius: 14px;
}

/* Home pay-vip modal: polish parent theme markup without changing purchase logic. */
body.syls-home-portal-page #modal_pay_uservip {
  position: fixed !important;
  inset: 0 !important;
  z-index: 999999 !important;
  padding: 18px !important;
}

body.syls-home-portal-page #modal_pay_uservip.in,
body.syls-home-portal-page #modal_pay_uservip.show {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.syls-home-portal-page #modal_pay_uservip .modal-dialog {
  width: min(920px, calc(100vw - 36px)) !important;
  max-width: min(920px, calc(100vw - 36px)) !important;
  margin: 0 !important;
}

body.syls-home-portal-page #modal_pay_uservip .modal-content {
  position: relative !important;
  overflow: hidden !important;
  max-height: calc(100vh - 36px);
  border: 1px solid rgba(119, 143, 183, 0.18) !important;
  border-radius: 32px !important;
  background:
    radial-gradient(circle at 14% 4%, rgba(47, 125, 246, 0.10), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 255, 0.98)) !important;
  color: var(--text-primary) !important;
  box-shadow: 0 34px 90px rgba(20, 36, 70, 0.24) !important;
}

body.syls-home-portal-page #modal_pay_uservip .modal-body {
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  padding: 0 !important;
  scrollbar-width: none;
}

body.syls-home-portal-page #modal_pay_uservip .modal-body::-webkit-scrollbar {
  display: none;
}

body.syls-home-portal-page #modal_pay_uservip .payvip-modal {
  padding: 28px 32px 32px !important;
}

body.syls-home-portal-page #modal_pay_uservip .close {
  position: absolute !important;
  top: 18px !important;
  right: 18px !important;
  z-index: 8 !important;
  display: inline-grid !important;
  place-items: center !important;
  width: 48px !important;
  height: 48px !important;
  border: 1px solid rgba(47, 125, 246, 0.14) !important;
  border-radius: 18px !important;
  background: rgba(232, 241, 255, 0.92) !important;
  color: var(--primary) !important;
  font-size: 0 !important;
  line-height: 1 !important;
  opacity: 1 !important;
  text-shadow: none !important;
  box-shadow: 0 12px 28px rgba(47, 125, 246, 0.12) !important;
}

body.syls-home-portal-page #modal_pay_uservip .close::before,
body.syls-home-portal-page #modal_pay_uservip .close::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
}

body.syls-home-portal-page #modal_pay_uservip .close::before {
  transform: rotate(45deg);
}

body.syls-home-portal-page #modal_pay_uservip .close::after {
  transform: rotate(-45deg);
}

body.syls-home-portal-page #modal_pay_uservip .payvip-modal h1,
body.syls-home-portal-page #modal_pay_uservip .payvip-modal h2,
body.syls-home-portal-page #modal_pay_uservip .payvip-modal h3,
body.syls-home-portal-page #modal_pay_uservip .modal-title {
  color: var(--text-primary) !important;
  font-family: var(--syls-title-font);
  font-weight: 900 !important;
  letter-spacing: 0 !important;
}

body.syls-home-portal-page #modal_pay_uservip .muted-color,
body.syls-home-portal-page #modal_pay_uservip .muted-2-color,
body.syls-home-portal-page #modal_pay_uservip .payvip-modal p {
  color: var(--text-secondary) !important;
}

body.syls-home-portal-page #modal_pay_uservip .vip-card {
  position: relative;
  min-height: 116px;
  overflow: hidden;
  border: 1px solid rgba(128, 147, 177, 0.14) !important;
  border-radius: 24px !important;
  background:
    radial-gradient(circle at 24% 28%, rgba(255, 255, 255, 0.34), transparent 28%),
    linear-gradient(135deg, #ffe0a5, #f5bd62) !important;
  box-shadow: 0 18px 42px rgba(197, 139, 49, 0.18) !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

body.syls-home-portal-page #modal_pay_uservip .vip-card:nth-of-type(2),
body.syls-home-portal-page #modal_pay_uservip .vip-card:last-child {
  background:
    radial-gradient(circle at 24% 28%, rgba(255, 255, 255, 0.13), transparent 28%),
    linear-gradient(135deg, #747494, #3c3a5f) !important;
}

body.syls-home-portal-page #modal_pay_uservip .vip-card.active,
body.syls-home-portal-page #modal_pay_uservip .vip-card:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 125, 246, 0.26) !important;
  box-shadow: 0 22px 52px rgba(47, 125, 246, 0.16) !important;
}

body.syls-home-portal-page #modal_pay_uservip .vip-card img,
body.syls-home-portal-page #modal_pay_uservip .vip-card .avatar,
body.syls-home-portal-page #modal_pay_uservip .vip-card .payvip-icon {
  max-width: 72px !important;
  max-height: 72px !important;
  border-radius: 18px !important;
}

body.syls-home-portal-page #modal_pay_uservip .vip-product,
body.syls-home-portal-page #modal_pay_uservip .product-box {
  position: relative;
  display: flex !important;
  min-height: 106px;
  padding: 14px 12px !important;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 1px solid rgba(113, 137, 178, 0.16) !important;
  border-radius: 20px !important;
  background: rgba(255, 255, 255, 0.74) !important;
  color: var(--text-primary) !important;
  box-shadow: 0 12px 28px rgba(20, 36, 70, 0.06) !important;
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

body.syls-home-portal-page #modal_pay_uservip .vip-product.active,
body.syls-home-portal-page #modal_pay_uservip .product-box.active,
body.syls-home-portal-page #modal_pay_uservip .vip-product:hover,
body.syls-home-portal-page #modal_pay_uservip .product-box:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 82, 119, 0.58) !important;
  background: #fff !important;
  box-shadow: 0 16px 34px rgba(255, 82, 119, 0.10) !important;
}

body.syls-home-portal-page #modal_pay_uservip .vip-product em,
body.syls-home-portal-page #modal_pay_uservip .product-box em,
body.syls-home-portal-page #modal_pay_uservip .vip-product .price,
body.syls-home-portal-page #modal_pay_uservip .product-box .price {
  color: #ff4f7a !important;
  font-size: clamp(22px, 2.4vw, 30px) !important;
  font-weight: 900 !important;
  line-height: 1.05 !important;
}

body.syls-home-portal-page #modal_pay_uservip .vip-product del,
body.syls-home-portal-page #modal_pay_uservip .product-box del {
  color: var(--text-muted) !important;
  font-size: 14px !important;
}

body.syls-home-portal-page #modal_pay_uservip .vip-product span,
body.syls-home-portal-page #modal_pay_uservip .product-box span {
  color: var(--primary) !important;
  font-weight: 850 !important;
}

body.syls-home-portal-page #modal_pay_uservip .vip-product .badg,
body.syls-home-portal-page #modal_pay_uservip .product-box .badg,
body.syls-home-portal-page #modal_pay_uservip .badg {
  border-radius: 9px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  box-shadow: none !important;
}

body.syls-home-portal-page #modal_pay_uservip .muted-box {
  border: 0 !important;
  border-radius: 16px !important;
  background: rgba(232, 238, 247, 0.72) !important;
  color: var(--text-secondary) !important;
}

body.syls-home-portal-page #modal_pay_uservip .pay-type-option {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  border: 1px solid rgba(113, 137, 178, 0.18) !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.66) !important;
  color: var(--text-primary) !important;
  box-shadow: none !important;
}

body.syls-home-portal-page #modal_pay_uservip .pay-type-option.active,
body.syls-home-portal-page #modal_pay_uservip .pay-type-option:hover {
  border-color: rgba(47, 125, 246, 0.58) !important;
  background: rgba(236, 244, 255, 0.94) !important;
}

body.syls-home-portal-page #modal_pay_uservip .initiate-pay,
body.syls-home-portal-page #modal_pay_uservip .but[type="submit"],
body.syls-home-portal-page #modal_pay_uservip button[type="submit"] {
  min-height: 58px;
  border: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #ff7a61, #ff3136) !important;
  color: #fff !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  box-shadow: 0 18px 38px rgba(255, 67, 67, 0.22) !important;
}

html[data-syls-theme="dark"] body.syls-home-portal-page #modal_pay_uservip .modal-content,
html[data-theme="dark"] body.syls-home-portal-page #modal_pay_uservip .modal-content,
body.syls-home-portal-page.dark-theme #modal_pay_uservip .modal-content {
  border-color: rgba(255, 255, 255, 0.10) !important;
  background:
    radial-gradient(circle at 14% 4%, rgba(88, 166, 255, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(19, 28, 43, 0.98), rgba(10, 17, 29, 0.99)) !important;
  color: #eff5ff !important;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.48) !important;
}

html[data-syls-theme="dark"] body.syls-home-portal-page #modal_pay_uservip .vip-product,
html[data-theme="dark"] body.syls-home-portal-page #modal_pay_uservip .vip-product,
body.syls-home-portal-page.dark-theme #modal_pay_uservip .vip-product,
html[data-syls-theme="dark"] body.syls-home-portal-page #modal_pay_uservip .product-box,
html[data-theme="dark"] body.syls-home-portal-page #modal_pay_uservip .product-box,
body.syls-home-portal-page.dark-theme #modal_pay_uservip .product-box,
html[data-syls-theme="dark"] body.syls-home-portal-page #modal_pay_uservip .pay-type-option,
html[data-theme="dark"] body.syls-home-portal-page #modal_pay_uservip .pay-type-option,
body.syls-home-portal-page.dark-theme #modal_pay_uservip .pay-type-option {
  border-color: rgba(255, 255, 255, 0.10) !important;
  background: rgba(255, 255, 255, 0.05) !important;
  color: #eff5ff !important;
}

html[data-syls-theme="dark"] body.syls-home-portal-page #modal_pay_uservip .muted-box,
html[data-theme="dark"] body.syls-home-portal-page #modal_pay_uservip .muted-box,
body.syls-home-portal-page.dark-theme #modal_pay_uservip .muted-box {
  background: rgba(255, 255, 255, 0.06) !important;
}

@media (max-width: 768px) {
  body.syls-home-portal-page #modal_pay_uservip {
    padding: 10px !important;
  }

  body.syls-home-portal-page #modal_pay_uservip .modal-dialog {
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px) !important;
  }

  body.syls-home-portal-page #modal_pay_uservip .modal-content,
  body.syls-home-portal-page #modal_pay_uservip .modal-body {
    max-height: calc(100vh - 20px);
  }

  body.syls-home-portal-page #modal_pay_uservip .payvip-modal {
    padding: 22px 16px 18px !important;
  }

  body.syls-home-portal-page #modal_pay_uservip .close {
    top: 12px !important;
    right: 12px !important;
    width: 42px !important;
    height: 42px !important;
  }

  body.syls-home-portal-page #modal_pay_uservip .vip-card {
    min-height: 92px;
    border-radius: 20px !important;
  }

  body.syls-home-portal-page #modal_pay_uservip .vip-product,
  body.syls-home-portal-page #modal_pay_uservip .product-box {
    min-height: 92px;
  }
}

/* Home pay-vip modal final layout override. */
body.syls-home-portal-page #modal_pay_uservip,
body.syls-home-portal-page #modal_pay_uservip .modal-dialog,
body.syls-home-portal-page #modal_pay_uservip .modal-content,
body.syls-home-portal-page #modal_pay_uservip .modal-body,
body.syls-home-portal-page #modal_pay_uservip .payvip-modal {
  opacity: 1 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.syls-home-portal-page #modal_pay_uservip .modal-dialog {
  width: min(860px, calc(100vw - 36px)) !important;
  max-width: min(860px, calc(100vw - 36px)) !important;
}

body.syls-home-portal-page #modal_pay_uservip .modal-content {
  isolation: isolate;
  background: #f8fbff !important;
}

body.syls-home-portal-page #modal_pay_uservip .modal-content::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #f8fbff;
}

body.syls-home-portal-page #modal_pay_uservip .modal-body,
body.syls-home-portal-page #modal_pay_uservip .payvip-modal,
body.syls-home-portal-page #modal_pay_uservip .tab-content,
body.syls-home-portal-page #modal_pay_uservip .tab-pane,
body.syls-home-portal-page #modal_pay_uservip form {
  background: #f8fbff !important;
}

body.syls-home-portal-page #modal_pay_uservip .payvip-modal {
  padding: 26px 30px 30px !important;
}

body.syls-home-portal-page #modal_pay_uservip .user-box {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 0 64px 18px 0 !important;
  padding: 0 !important;
}

body.syls-home-portal-page #modal_pay_uservip .user-box li {
  margin: 0 !important;
  padding: 0 !important;
}

body.syls-home-portal-page #modal_pay_uservip .user-box .avatar-img,
body.syls-home-portal-page #modal_pay_uservip .user-box img,
body.syls-home-portal-page #modal_pay_uservip .user-box .avatar {
  width: 46px !important;
  height: 46px !important;
  border-radius: 14px !important;
}

body.syls-home-portal-page #modal_pay_uservip .user-box b {
  display: block;
  color: var(--text-primary) !important;
  font-size: 19px !important;
  line-height: 1.2 !important;
}

body.syls-home-portal-page #modal_pay_uservip .user-box .c-red {
  margin-top: 3px !important;
  color: #ff5570 !important;
  font-size: 14px !important;
}

body.syls-home-portal-page #modal_pay_uservip .vip-cardminis {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
}

body.syls-home-portal-page #modal_pay_uservip .vip-cardminis > li {
  display: block !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.syls-home-portal-page #modal_pay_uservip .vip-cardminis a {
  display: block !important;
  color: inherit !important;
  text-decoration: none !important;
}

body.syls-home-portal-page #modal_pay_uservip .vip-cardmini {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  height: 82px !important;
  min-height: 82px !important;
  padding: 12px 16px !important;
  border-radius: 22px !important;
}

body.syls-home-portal-page #modal_pay_uservip .vip-cardmini .vip-baicon {
  opacity: 0.08 !important;
}

body.syls-home-portal-page #modal_pay_uservip .vip-cardmini .vip-icon,
body.syls-home-portal-page #modal_pay_uservip .vip-cardmini .vip-icon img {
  width: 38px !important;
  height: 38px !important;
  margin: 0 !important;
}

body.syls-home-portal-page #modal_pay_uservip .vip-cardmini .vip-name {
  margin: 0 !important;
  color: #f7f9ff !important;
  font-size: 20px !important;
  font-weight: 850 !important;
  line-height: 1.15 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

body.syls-home-portal-page #modal_pay_uservip .vip-cardminis > li.active .vip-cardmini {
  box-shadow: inset 0 0 0 2px rgba(47, 125, 246, 0.34), 0 16px 34px rgba(47, 125, 246, 0.12) !important;
}

body.syls-home-portal-page #modal_pay_uservip .vip-cardminis .active-icon {
  top: 10px !important;
  left: 10px !important;
  right: auto !important;
  color: #fff !important;
  font-size: 18px !important;
}

body.syls-home-portal-page #modal_pay_uservip .tab-pane > form > .row {
  display: grid !important;
  grid-template-columns: minmax(230px, 0.88fr) minmax(0, 1.28fr);
  gap: 22px !important;
  margin: 0 !important;
}

body.syls-home-portal-page #modal_pay_uservip .tab-pane > form > .row::before,
body.syls-home-portal-page #modal_pay_uservip .tab-pane > form > .row::after {
  display: none !important;
}

body.syls-home-portal-page #modal_pay_uservip .tab-pane .col-sm-5,
body.syls-home-portal-page #modal_pay_uservip .tab-pane .col-sm-7 {
  float: none !important;
  width: auto !important;
  max-width: none !important;
  min-height: 0 !important;
  padding: 0 !important;
}

body.syls-home-portal-page #modal_pay_uservip .theme-box {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  min-height: 318px;
  padding: 24px 22px !important;
  border: 1px solid rgba(113, 137, 178, 0.16) !important;
  border-radius: 24px !important;
  background: #ffffff !important;
  color: var(--text-primary) !important;
  box-shadow: 0 16px 34px rgba(20, 36, 70, 0.06) !important;
}

body.syls-home-portal-page #modal_pay_uservip .payvip_icon {
  margin: 0 0 18px !important;
}

body.syls-home-portal-page #modal_pay_uservip .payvip_icon p,
body.syls-home-portal-page #modal_pay_uservip .payvip_icon img {
  width: 46px !important;
  height: 46px !important;
  margin: 0 auto 8px !important;
}

body.syls-home-portal-page #modal_pay_uservip .payvip_icon {
  color: #ff8a47 !important;
  font-size: 20px !important;
  font-weight: 850 !important;
}

body.syls-home-portal-page #modal_pay_uservip .payvip_equity {
  display: grid !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--text-primary) !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
}

body.syls-home-portal-page #modal_pay_uservip .payvip_equity li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.syls-home-portal-page #modal_pay_uservip .charge-box {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px !important;
  margin: 0 0 14px !important;
  padding-top: 8px !important;
}

body.syls-home-portal-page #modal_pay_uservip .charge-box label {
  display: block !important;
  margin: 0 !important;
}

body.syls-home-portal-page #modal_pay_uservip .charge-box .product-box {
  min-width: 0 !important;
  min-height: 112px !important;
  padding: 30px 12px 14px !important;
  overflow: hidden !important;
  border-color: rgba(113, 137, 178, 0.20) !important;
  background: #ffffff !important;
}

body.syls-home-portal-page #modal_pay_uservip .charge-box input:checked + .product-box,
body.syls-home-portal-page #modal_pay_uservip .charge-box input:checked ~ .product-box,
body.syls-home-portal-page #modal_pay_uservip .charge-box .product-box.active {
  border-color: rgba(255, 82, 119, 0.72) !important;
  box-shadow: 0 0 0 1px rgba(255, 82, 119, 0.22), 0 16px 34px rgba(255, 82, 119, 0.10) !important;
}

body.syls-home-portal-page #modal_pay_uservip .charge-box .product-box.active::before,
body.syls-home-portal-page #modal_pay_uservip .charge-box input:checked + .product-box::before,
body.syls-home-portal-page #modal_pay_uservip .charge-box input:checked ~ .product-box::before {
  left: 10px !important;
  top: 10px !important;
  z-index: 2 !important;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #ff5570;
  color: #fff !important;
  font-size: 12px !important;
  line-height: 18px !important;
}

body.syls-home-portal-page #modal_pay_uservip .product-price {
  margin: 0 !important;
  color: #ff4f7a !important;
  font-size: 26px !important;
  font-weight: 900 !important;
  line-height: 1.05 !important;
}

body.syls-home-portal-page #modal_pay_uservip .original-price {
  margin-top: 5px !important;
  color: #8a93a3 !important;
  font-size: 14px !important;
  line-height: 1.1 !important;
}

body.syls-home-portal-page #modal_pay_uservip .charge-box .muted-2-color {
  margin-top: 8px !important;
  color: var(--primary) !important;
  font-size: 17px !important;
  font-weight: 850 !important;
  line-height: 1.1 !important;
}

body.syls-home-portal-page #modal_pay_uservip .charge-box .vip-tag {
  top: 8px !important;
  right: 50% !important;
  transform: translateX(50%) !important;
  padding: 3px 10px !important;
  border-radius: 8px !important;
  white-space: nowrap !important;
  max-width: calc(100% - 44px) !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

body.syls-home-portal-page #modal_pay_uservip .muted-box {
  background: #edf2f8 !important;
}

body.syls-home-portal-page #modal_pay_uservip .pay-button,
body.syls-home-portal-page #modal_pay_uservip .pay-type,
body.syls-home-portal-page #modal_pay_uservip .pay-input-box {
  background: #f8fbff !important;
}

body.syls-home-portal-page #modal_pay_uservip .pay-type-option {
  background: #ffffff !important;
}

html[data-syls-theme="dark"] body.syls-home-portal-page #modal_pay_uservip .modal-content,
html[data-theme="dark"] body.syls-home-portal-page #modal_pay_uservip .modal-content,
body[data-syls-theme="dark"].syls-home-portal-page #modal_pay_uservip .modal-content,
body[data-theme="dark"].syls-home-portal-page #modal_pay_uservip .modal-content,
body.syls-home-portal-page.dark-theme #modal_pay_uservip .modal-content {
  background: #111a2a !important;
}

html[data-syls-theme="dark"] body.syls-home-portal-page #modal_pay_uservip .modal-content::before,
html[data-theme="dark"] body.syls-home-portal-page #modal_pay_uservip .modal-content::before,
body[data-syls-theme="dark"].syls-home-portal-page #modal_pay_uservip .modal-content::before,
body[data-theme="dark"].syls-home-portal-page #modal_pay_uservip .modal-content::before,
body.syls-home-portal-page.dark-theme #modal_pay_uservip .modal-content::before {
  background: #111a2a !important;
}

html[data-syls-theme="dark"] body.syls-home-portal-page #modal_pay_uservip .modal-body,
html[data-theme="dark"] body.syls-home-portal-page #modal_pay_uservip .modal-body,
body.syls-home-portal-page.dark-theme #modal_pay_uservip .modal-body,
html[data-syls-theme="dark"] body.syls-home-portal-page #modal_pay_uservip .payvip-modal,
html[data-theme="dark"] body.syls-home-portal-page #modal_pay_uservip .payvip-modal,
body.syls-home-portal-page.dark-theme #modal_pay_uservip .payvip-modal,
html[data-syls-theme="dark"] body.syls-home-portal-page #modal_pay_uservip .tab-content,
html[data-theme="dark"] body.syls-home-portal-page #modal_pay_uservip .tab-content,
body.syls-home-portal-page.dark-theme #modal_pay_uservip .tab-content,
html[data-syls-theme="dark"] body.syls-home-portal-page #modal_pay_uservip .tab-pane,
html[data-theme="dark"] body.syls-home-portal-page #modal_pay_uservip .tab-pane,
body.syls-home-portal-page.dark-theme #modal_pay_uservip .tab-pane,
html[data-syls-theme="dark"] body.syls-home-portal-page #modal_pay_uservip form,
html[data-theme="dark"] body.syls-home-portal-page #modal_pay_uservip form,
body.syls-home-portal-page.dark-theme #modal_pay_uservip form,
html[data-syls-theme="dark"] body.syls-home-portal-page #modal_pay_uservip .pay-button,
html[data-theme="dark"] body.syls-home-portal-page #modal_pay_uservip .pay-button,
body.syls-home-portal-page.dark-theme #modal_pay_uservip .pay-button,
html[data-syls-theme="dark"] body.syls-home-portal-page #modal_pay_uservip .pay-type,
html[data-theme="dark"] body.syls-home-portal-page #modal_pay_uservip .pay-type,
body.syls-home-portal-page.dark-theme #modal_pay_uservip .pay-type,
html[data-syls-theme="dark"] body.syls-home-portal-page #modal_pay_uservip .pay-input-box,
html[data-theme="dark"] body.syls-home-portal-page #modal_pay_uservip .pay-input-box,
body.syls-home-portal-page.dark-theme #modal_pay_uservip .pay-input-box {
  background: #111a2a !important;
}

html[data-syls-theme="dark"] body.syls-home-portal-page #modal_pay_uservip .user-box b,
html[data-theme="dark"] body.syls-home-portal-page #modal_pay_uservip .user-box b,
body.syls-home-portal-page.dark-theme #modal_pay_uservip .user-box b,
html[data-syls-theme="dark"] body.syls-home-portal-page #modal_pay_uservip .theme-box,
html[data-theme="dark"] body.syls-home-portal-page #modal_pay_uservip .theme-box,
body.syls-home-portal-page.dark-theme #modal_pay_uservip .theme-box,
html[data-syls-theme="dark"] body.syls-home-portal-page #modal_pay_uservip .payvip_equity,
html[data-theme="dark"] body.syls-home-portal-page #modal_pay_uservip .payvip_equity,
body.syls-home-portal-page.dark-theme #modal_pay_uservip .payvip_equity {
  color: #edf4ff !important;
}

html[data-syls-theme="dark"] body.syls-home-portal-page #modal_pay_uservip .theme-box,
html[data-theme="dark"] body.syls-home-portal-page #modal_pay_uservip .theme-box,
body.syls-home-portal-page.dark-theme #modal_pay_uservip .theme-box,
html[data-syls-theme="dark"] body.syls-home-portal-page #modal_pay_uservip .charge-box .product-box,
html[data-theme="dark"] body.syls-home-portal-page #modal_pay_uservip .charge-box .product-box,
body.syls-home-portal-page.dark-theme #modal_pay_uservip .charge-box .product-box,
html[data-syls-theme="dark"] body.syls-home-portal-page #modal_pay_uservip .pay-type-option,
html[data-theme="dark"] body.syls-home-portal-page #modal_pay_uservip .pay-type-option,
body.syls-home-portal-page.dark-theme #modal_pay_uservip .pay-type-option {
  border-color: rgba(255, 255, 255, 0.10) !important;
  background: #172235 !important;
  color: #edf4ff !important;
}

html[data-syls-theme="dark"] body.syls-home-portal-page #modal_pay_uservip .muted-box,
html[data-theme="dark"] body.syls-home-portal-page #modal_pay_uservip .muted-box,
body.syls-home-portal-page.dark-theme #modal_pay_uservip .muted-box {
  background: #1b273a !important;
  color: #aebbd1 !important;
}

body[data-syls-theme="dark"].syls-home-portal-page #modal_pay_uservip .modal-body,
body[data-theme="dark"].syls-home-portal-page #modal_pay_uservip .modal-body,
body[data-syls-theme="dark"].syls-home-portal-page #modal_pay_uservip .payvip-modal,
body[data-theme="dark"].syls-home-portal-page #modal_pay_uservip .payvip-modal,
body[data-syls-theme="dark"].syls-home-portal-page #modal_pay_uservip .tab-content,
body[data-theme="dark"].syls-home-portal-page #modal_pay_uservip .tab-content,
body[data-syls-theme="dark"].syls-home-portal-page #modal_pay_uservip .tab-pane,
body[data-theme="dark"].syls-home-portal-page #modal_pay_uservip .tab-pane,
body[data-syls-theme="dark"].syls-home-portal-page #modal_pay_uservip form,
body[data-theme="dark"].syls-home-portal-page #modal_pay_uservip form,
body[data-syls-theme="dark"].syls-home-portal-page #modal_pay_uservip .pay-button,
body[data-theme="dark"].syls-home-portal-page #modal_pay_uservip .pay-button,
body[data-syls-theme="dark"].syls-home-portal-page #modal_pay_uservip .pay-type,
body[data-theme="dark"].syls-home-portal-page #modal_pay_uservip .pay-type,
body[data-syls-theme="dark"].syls-home-portal-page #modal_pay_uservip .pay-input-box {
  background: #111a2a !important;
}

body[data-syls-theme="dark"].syls-home-portal-page #modal_pay_uservip .user-box b,
body[data-theme="dark"].syls-home-portal-page #modal_pay_uservip .user-box b,
body[data-syls-theme="dark"].syls-home-portal-page #modal_pay_uservip .theme-box,
body[data-theme="dark"].syls-home-portal-page #modal_pay_uservip .theme-box,
body[data-syls-theme="dark"].syls-home-portal-page #modal_pay_uservip .payvip_equity,
body[data-theme="dark"].syls-home-portal-page #modal_pay_uservip .payvip_equity {
  color: #edf4ff !important;
}

body[data-syls-theme="dark"].syls-home-portal-page #modal_pay_uservip .theme-box,
body[data-theme="dark"].syls-home-portal-page #modal_pay_uservip .theme-box,
body[data-syls-theme="dark"].syls-home-portal-page #modal_pay_uservip .charge-box .product-box,
body[data-theme="dark"].syls-home-portal-page #modal_pay_uservip .charge-box .product-box,
body[data-syls-theme="dark"].syls-home-portal-page #modal_pay_uservip .pay-type-option,
body[data-theme="dark"].syls-home-portal-page #modal_pay_uservip .pay-type-option {
  border-color: rgba(255, 255, 255, 0.10) !important;
  background: #172235 !important;
  color: #edf4ff !important;
}

body[data-syls-theme="dark"].syls-home-portal-page #modal_pay_uservip .muted-box,
body[data-theme="dark"].syls-home-portal-page #modal_pay_uservip .muted-box {
  background: #1b273a !important;
  color: #aebbd1 !important;
}

/* Home pay-vip modal structure fix: scoped to the homepage trigger only. */
body.syls-home-portal-page #modal_pay_uservip .modal-dialog {
  width: min(1040px, calc(100vw - 44px)) !important;
  max-width: min(1040px, calc(100vw - 44px)) !important;
}

body.syls-home-portal-page #modal_pay_uservip .modal-content {
  overflow: hidden !important;
  max-height: calc(100vh - 44px) !important;
  border-radius: 26px !important;
}

body.syls-home-portal-page #modal_pay_uservip .modal-content > .payvip-modal {
  max-height: calc(100vh - 44px) !important;
  overflow-y: auto !important;
  padding: 26px 34px 30px !important;
}

body.syls-home-portal-page #modal_pay_uservip .close {
  top: 22px !important;
  right: 22px !important;
  width: 46px !important;
  height: 46px !important;
  border-radius: 16px !important;
}

body.syls-home-portal-page #modal_pay_uservip .close .ic-close,
body.syls-home-portal-page #modal_pay_uservip .close svg {
  display: none !important;
}

body.syls-home-portal-page #modal_pay_uservip .user-box {
  min-height: 54px;
  margin: 0 76px 18px 0 !important;
}

body.syls-home-portal-page #modal_pay_uservip .vip-cardminis {
  gap: 16px !important;
  margin-bottom: 18px !important;
}

body.syls-home-portal-page #modal_pay_uservip .vip-cardmini {
  height: 68px !important;
  min-height: 68px !important;
  border-radius: 18px !important;
}

body.syls-home-portal-page #modal_pay_uservip .vip-cardmini .vip-baicon {
  display: none !important;
}

body.syls-home-portal-page #modal_pay_uservip .vip-cardmini .vip-icon,
body.syls-home-portal-page #modal_pay_uservip .vip-cardmini .vip-icon img {
  width: 34px !important;
  height: 34px !important;
}

body.syls-home-portal-page #modal_pay_uservip .vip-cardmini .vip-name {
  font-size: 18px !important;
}

body.syls-home-portal-page #modal_pay_uservip .tab-pane > form > .row {
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr) !important;
  gap: 24px !important;
}

body.syls-home-portal-page #modal_pay_uservip .theme-box {
  min-height: 0 !important;
  padding: 26px 22px !important;
  justify-content: center !important;
}

body.syls-home-portal-page #modal_pay_uservip .payvip_icon {
  margin-bottom: 18px !important;
  font-size: 18px !important;
}

body.syls-home-portal-page #modal_pay_uservip .payvip_icon p,
body.syls-home-portal-page #modal_pay_uservip .payvip_icon img {
  width: 44px !important;
  height: 44px !important;
}

body.syls-home-portal-page #modal_pay_uservip .payvip_equity {
  gap: 9px !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}

body.syls-home-portal-page #modal_pay_uservip .charge-box,
body.syls-home-portal-page #modal_pay_uservip .label-box {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
  margin-bottom: 12px !important;
  padding-top: 0 !important;
  overflow: hidden !important;
}

body.syls-home-portal-page #modal_pay_uservip .charge-box .product-box,
body.syls-home-portal-page #modal_pay_uservip .label-box .product-box {
  min-height: 96px !important;
  padding: 22px 12px 12px !important;
  overflow: hidden !important;
  border-radius: 17px !important;
}

body.syls-home-portal-page #modal_pay_uservip .charge-box .vip-tag,
body.syls-home-portal-page #modal_pay_uservip .label-box .vip-tag {
  top: 0 !important;
  right: 50% !important;
  max-width: calc(100% - 36px) !important;
  padding: 4px 12px !important;
  border-radius: 0 0 9px 9px !important;
}

body.syls-home-portal-page #modal_pay_uservip .product-price {
  font-size: 25px !important;
}

body.syls-home-portal-page #modal_pay_uservip .original-price {
  margin-top: 4px !important;
  font-size: 13px !important;
}

body.syls-home-portal-page #modal_pay_uservip .charge-box .muted-2-color,
body.syls-home-portal-page #modal_pay_uservip .label-box .muted-2-color {
  margin-top: 6px !important;
  font-size: 16px !important;
}

body.syls-home-portal-page #modal_pay_uservip .muted-box {
  margin-bottom: 12px !important;
  padding: 12px 14px !important;
  border-radius: 14px !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}

body.syls-home-portal-page #modal_pay_uservip .pay-type,
body.syls-home-portal-page #modal_pay_uservip .pay-input-box {
  margin-bottom: 12px !important;
}

body.syls-home-portal-page #modal_pay_uservip .pay-type-option {
  min-height: 52px !important;
  border-radius: 12px !important;
}

body.syls-home-portal-page #modal_pay_uservip .pay-type-option img,
body.syls-home-portal-page #modal_pay_uservip .pay-type-option svg,
body.syls-home-portal-page #modal_pay_uservip .pay-type-option i {
  max-width: 34px !important;
  max-height: 34px !important;
}

body.syls-home-portal-page #modal_pay_uservip .initiate-pay,
body.syls-home-portal-page #modal_pay_uservip .but[type="submit"],
body.syls-home-portal-page #modal_pay_uservip button[type="submit"] {
  min-height: 56px !important;
  margin-top: 4px !important;
  font-size: 18px !important;
}

@media (max-width: 768px) {
  body.syls-home-portal-page #modal_pay_uservip .modal-dialog {
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px) !important;
  }

  body.syls-home-portal-page #modal_pay_uservip .modal-content > .payvip-modal {
    padding: 20px 14px 18px !important;
  }

  body.syls-home-portal-page #modal_pay_uservip .vip-cardminis,
  body.syls-home-portal-page #modal_pay_uservip .tab-pane > form > .row,
  body.syls-home-portal-page #modal_pay_uservip .charge-box,
  body.syls-home-portal-page #modal_pay_uservip .label-box {
    grid-template-columns: 1fr !important;
  }

  body.syls-home-portal-page #modal_pay_uservip .theme-box {
    padding: 20px 18px !important;
  }
}

/* Home VIP renewal/open modal polish. */
body.syls-home-portal-page #modal_pay_uservip .label-box {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px !important;
  margin: 0 0 14px !important;
  overflow: visible !important;
}

body.syls-home-portal-page #modal_pay_uservip .label-box label {
  display: block !important;
  min-width: 0 !important;
  margin: 0 !important;
}

body.syls-home-portal-page #modal_pay_uservip .label-box .product-box {
  position: relative !important;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0 !important;
  min-height: 112px !important;
  padding: 32px 12px 16px !important;
  overflow: visible !important;
  border: 1px solid rgba(113, 137, 178, 0.20) !important;
  border-radius: 20px !important;
  background: #ffffff !important;
  box-shadow: 0 14px 30px rgba(20, 36, 70, 0.05) !important;
}

body.syls-home-portal-page #modal_pay_uservip .label-box input:checked + .product-box,
body.syls-home-portal-page #modal_pay_uservip .label-box input:checked ~ .product-box,
body.syls-home-portal-page #modal_pay_uservip .label-box .product-box.active {
  border-color: rgba(255, 82, 119, 0.72) !important;
  box-shadow: 0 0 0 1px rgba(255, 82, 119, 0.18), 0 16px 34px rgba(255, 82, 119, 0.10) !important;
}

body.syls-home-portal-page #modal_pay_uservip .label-box .product-box::before,
body.syls-home-portal-page #modal_pay_uservip .charge-box .product-box::before {
  box-sizing: border-box !important;
}

body.syls-home-portal-page #modal_pay_uservip .label-box input:checked + .product-box::before,
body.syls-home-portal-page #modal_pay_uservip .label-box input:checked ~ .product-box::before,
body.syls-home-portal-page #modal_pay_uservip .label-box .product-box.active::before {
  left: 10px !important;
  top: 10px !important;
  z-index: 3 !important;
  width: 18px !important;
  height: 18px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #ff5570;
  color: #fff !important;
  font-size: 12px !important;
  line-height: 18px !important;
}

body.syls-home-portal-page #modal_pay_uservip .label-box .vip-tag,
body.syls-home-portal-page #modal_pay_uservip .charge-box .vip-tag {
  top: -12px !important;
  right: 50% !important;
  transform: translateX(50%) !important;
  z-index: 4 !important;
  max-width: calc(100% - 48px) !important;
  padding: 5px 12px !important;
  border-radius: 9px !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 850 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

body.syls-home-portal-page #modal_pay_uservip .vip-cardmini .vip-name,
body.syls-home-portal-page #modal_pay_uservip .vip-cardmini .vip-name * {
  color: #f7f9ff !important;
}

body.syls-home-portal-page #modal_pay_uservip .vip-cardmini .vip-icon,
body.syls-home-portal-page #modal_pay_uservip .vip-cardmini .vip-icon img,
body.syls-home-portal-page #modal_pay_uservip .payvip_icon p,
body.syls-home-portal-page #modal_pay_uservip .payvip_icon img {
  object-fit: contain !important;
}

body.syls-home-portal-page #modal_pay_uservip .user-box .avatar-img {
  overflow: hidden !important;
  background: #eaf3ff !important;
}

body.syls-home-portal-page #modal_pay_uservip .user-box .avatar-img img,
body.syls-home-portal-page #modal_pay_uservip .user-box .avatar-img .avatar {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  border-radius: inherit !important;
  object-fit: cover !important;
}

html[data-syls-theme="dark"] body.syls-home-portal-page #modal_pay_uservip .label-box .product-box,
html[data-theme="dark"] body.syls-home-portal-page #modal_pay_uservip .label-box .product-box,
body[data-syls-theme="dark"].syls-home-portal-page #modal_pay_uservip .label-box .product-box,
body[data-theme="dark"].syls-home-portal-page #modal_pay_uservip .label-box .product-box,
body.syls-home-portal-page.dark-theme #modal_pay_uservip .label-box .product-box {
  border-color: rgba(255, 255, 255, 0.10) !important;
  background: #172235 !important;
  color: #edf4ff !important;
  box-shadow: none !important;
}

html[data-syls-theme="dark"] body.syls-home-portal-page #modal_pay_uservip .user-box .avatar-img,
html[data-theme="dark"] body.syls-home-portal-page #modal_pay_uservip .user-box .avatar-img,
body[data-syls-theme="dark"].syls-home-portal-page #modal_pay_uservip .user-box .avatar-img,
body[data-theme="dark"].syls-home-portal-page #modal_pay_uservip .user-box .avatar-img,
body.syls-home-portal-page.dark-theme #modal_pay_uservip .user-box .avatar-img {
  background: #1d2b44 !important;
}

@media (max-width: 900px) {
  body.syls-home-portal-page #modal_pay_uservip .tab-pane > form > .row {
    grid-template-columns: 1fr;
  }

  body.syls-home-portal-page #modal_pay_uservip .theme-box {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  body.syls-home-portal-page #modal_pay_uservip .vip-cardminis,
  body.syls-home-portal-page #modal_pay_uservip .label-box,
  body.syls-home-portal-page #modal_pay_uservip .charge-box {
    grid-template-columns: 1fr;
  }
}

/* Final homepage-only VIP modal layout guard. */
body.syls-home-portal-page #modal_pay_uservip .label-box,
body.syls-home-portal-page #modal_pay_uservip .charge-box {
  gap: 12px !important;
  overflow: hidden !important;
}

body.syls-home-portal-page #modal_pay_uservip .label-box .product-box,
body.syls-home-portal-page #modal_pay_uservip .charge-box .product-box {
  min-height: 96px !important;
  padding: 22px 12px 12px !important;
  overflow: hidden !important;
  border-radius: 17px !important;
}

body.syls-home-portal-page #modal_pay_uservip .label-box .vip-tag,
body.syls-home-portal-page #modal_pay_uservip .charge-box .vip-tag {
  top: 0 !important;
  max-width: calc(100% - 36px) !important;
  padding: 4px 12px !important;
  border-radius: 0 0 9px 9px !important;
}

body.syls-home-portal-page #modal_pay_uservip .vip-cardmini {
  height: 68px !important;
  min-height: 68px !important;
}

@media (max-width: 900px) {
  body.syls-home-portal-page #modal_pay_uservip .tab-pane > form > .row {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  body.syls-home-portal-page #modal_pay_uservip .vip-cardminis,
  body.syls-home-portal-page #modal_pay_uservip .label-box,
  body.syls-home-portal-page #modal_pay_uservip .charge-box {
    grid-template-columns: 1fr !important;
  }
}

.syls-reader-ui .modal:has(.sign, .user-sign) .modal-dialog {
  width: min(560px, calc(100vw - 36px)) !important;
  margin: 6vh auto !important;
}

.syls-reader-ui .modal:has(.sign, .user-sign) .modal-content {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.syls-reader-ui .modal:has(.sign, .user-sign) .modal-body {
  padding: 0 !important;
}

.syls-reader-ui .modal:has(.sign, .user-sign) .modal-dialog .sign,
.syls-reader-ui .modal:has(.sign, .user-sign) .modal-content {
  border: 1px solid var(--syls-line) !important;
  border-radius: 34px !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(41, 151, 255, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(246, 250, 255, 0.92)),
    var(--syls-surface-strong) !important;
  color: var(--syls-text) !important;
  box-shadow: 0 34px 90px rgba(20, 36, 70, 0.22) !important;
  overflow: hidden !important;
}

.syls-reader-ui .modal:has(.sign, .user-sign) .modal-dialog .sign {
  width: 100% !important;
  min-height: 0 !important;
  padding: 46px 54px 50px !important;
}

.syls-reader-ui .modal:has(.sign, .user-sign) .modal-dialog .sign-content,
.syls-reader-ui .modal:has(.sign, .user-sign) .modal-dialog .user-sign {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: inherit !important;
  overflow: visible !important;
}

.syls-reader-ui .modal:has(.sign, .user-sign) .sign .logo,
.syls-reader-ui .modal:has(.sign, .user-sign) .sign .sign-logo,
.syls-reader-ui .modal:has(.sign, .user-sign) .sign .text-center:first-child {
  margin: 0 auto 38px !important;
  text-align: center !important;
}

.syls-reader-ui .modal:has(.sign, .user-sign) .sign img {
  max-width: min(260px, 82%) !important;
  max-height: 70px !important;
  object-fit: contain !important;
}

.syls-reader-ui .modal:has(.sign, .user-sign) .sign h1,
.syls-reader-ui .modal:has(.sign, .user-sign) .sign h2,
.syls-reader-ui .modal:has(.sign, .user-sign) .sign h3,
.syls-reader-ui .modal:has(.sign, .user-sign) .sign .sign-title {
  margin: 0 0 10px !important;
  color: var(--syls-text) !important;
  font-size: 42px !important;
  line-height: 1.12 !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
}

.syls-reader-ui .modal:has(.sign, .user-sign) .sign a {
  color: var(--syls-accent) !important;
  text-decoration: none !important;
}

.syls-reader-ui .modal:has(.sign, .user-sign) .sign .muted-color,
.syls-reader-ui .modal:has(.sign, .user-sign) .sign .text-muted,
.syls-reader-ui .modal:has(.sign, .user-sign) .sign p {
  color: var(--syls-muted) !important;
}

.syls-reader-ui .modal:has(.sign, .user-sign) .modal-content .close,
.syls-reader-ui .modal:has(.sign, .user-sign) .sign .close {
  top: 22px !important;
  right: 22px !important;
  width: 38px !important;
  height: 38px !important;
  display: inline-grid !important;
  place-items: center !important;
  border-radius: 999px !important;
  background: color-mix(in srgb, var(--syls-accent) 14%, transparent) !important;
  color: var(--syls-accent) !important;
  font-size: 28px !important;
  line-height: 1 !important;
  opacity: 1 !important;
  text-shadow: none !important;
  box-shadow: none !important;
}

.syls-reader-ui .modal:has(.sign, .user-sign) .sign input,
.syls-reader-ui .modal:has(.sign, .user-sign) .sign textarea,
.syls-reader-ui .modal:has(.sign, .user-sign) .sign select,
.syls-reader-ui .modal:has(.sign, .user-sign) .sign .form-control {
  min-height: 52px !important;
  border: 1px solid color-mix(in srgb, var(--syls-accent) 12%, var(--syls-line)) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.72) !important;
  color: var(--syls-text) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72) !important;
}

.syls-reader-ui .modal:has(.sign, .user-sign) .sign input:focus,
.syls-reader-ui .modal:has(.sign, .user-sign) .sign textarea:focus,
.syls-reader-ui .modal:has(.sign, .user-sign) .sign .form-control:focus {
  border-color: color-mix(in srgb, var(--syls-accent) 46%, var(--syls-line)) !important;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--syls-accent) 12%, transparent) !important;
}

.syls-reader-ui .modal:has(.sign, .user-sign) .sign input::placeholder,
.syls-reader-ui .modal:has(.sign, .user-sign) .sign textarea::placeholder {
  color: var(--syls-soft) !important;
}

.syls-reader-ui .modal:has(.sign, .user-sign) .sign label,
.syls-reader-ui .modal:has(.sign, .user-sign) .sign .checkbox,
.syls-reader-ui .modal:has(.sign, .user-sign) .sign .signin-switch,
.syls-reader-ui .modal:has(.sign, .user-sign) .sign .login-switch {
  color: var(--syls-muted) !important;
  font-weight: 700 !important;
}

.syls-reader-ui .modal:has(.sign, .user-sign) .sign button,
.syls-reader-ui .modal:has(.sign, .user-sign) .sign .but,
.syls-reader-ui .modal:has(.sign, .user-sign) .sign-submit {
  min-height: 54px !important;
  border-radius: 999px !important;
  border-color: transparent !important;
  background: linear-gradient(135deg, #57c2f7, #278cff) !important;
  color: #fff !important;
  box-shadow: 0 16px 32px rgba(39, 140, 255, 0.26) !important;
  font-size: 18px !important;
  font-weight: 850 !important;
}

/* Pay VIP modal: keep it isolated from reader-shell card/layout rules */
body.syls-reader-ui #modal_pay_uservip {
  position: fixed !important;
  inset: 0 !important;
  z-index: 999999 !important;
  padding: 22px !important;
}

body.syls-reader-ui #modal_pay_uservip.in,
body.syls-reader-ui #modal_pay_uservip.show {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.syls-reader-ui #modal_pay_uservip .modal-dialog {
  width: min(820px, calc(100vw - 44px)) !important;
  max-width: min(820px, calc(100vw - 44px)) !important;
  margin: 0 !important;
}

body.syls-reader-ui #modal_pay_uservip .modal-content {
  position: relative !important;
  border: 1px solid var(--syls-line) !important;
  border-radius: 30px !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(41, 151, 255, 0.10), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 255, 0.98)) !important;
  box-shadow: 0 30px 90px rgba(17, 31, 55, 0.24) !important;
  overflow: hidden !important;
}

body.syls-reader-ui #modal_pay_uservip .modal-body {
  padding: 0 !important;
}

body.syls-reader-ui #modal_pay_uservip .payvip-modal {
  padding: 26px 28px 28px !important;
}

body.syls-reader-ui #modal_pay_uservip .close {
  position: absolute !important;
  top: 18px !important;
  right: 18px !important;
  z-index: 5 !important;
  width: 42px !important;
  height: 42px !important;
  display: inline-grid !important;
  place-items: center !important;
  border-radius: 999px !important;
  background: color-mix(in srgb, var(--syls-accent) 14%, transparent) !important;
  color: var(--syls-accent) !important;
  text-shadow: none !important;
  opacity: 1 !important;
}

body.syls-reader-ui #modal_pay_uservip .payvip-modal .tab-content {
  text-align: left !important;
}

body.syls-reader-ui #modal_pay_uservip .vip-card,
body.syls-reader-ui #modal_pay_uservip .vip-product {
  border-radius: 22px !important;
}

body.syls-reader-ui #modal_pay_uservip .vip-card {
  box-shadow: 0 16px 34px rgba(57, 46, 21, 0.16) !important;
}

body.syls-reader-ui[data-syls-theme="dark"] #modal_pay_uservip .modal-content {
  border-color: var(--syls-line-strong) !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(41, 151, 255, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(23, 35, 52, 0.98), rgba(12, 20, 31, 0.99)) !important;
  box-shadow: 0 34px 96px rgba(0, 0, 0, 0.46) !important;
}

body.syls-reader-ui[data-syls-theme="dark"] #modal_pay_uservip .close {
  background: color-mix(in srgb, var(--syls-accent) 18%, transparent) !important;
  color: #7ec0ff !important;
}

body.syls-reader-ui .modal:has(.balance-charge-form) {
  z-index: 999999 !important;
}

body.syls-reader-ui .modal:has(.balance-charge-form) .modal-dialog {
  width: min(880px, calc(100vw - 40px)) !important;
  max-width: min(880px, calc(100vw - 40px)) !important;
  margin: 30px auto !important;
}

body.syls-reader-ui .modal:has(.balance-charge-form) .modal-content {
  border: 1px solid var(--syls-line) !important;
  border-radius: 30px !important;
  background:
    radial-gradient(circle at 16% 0%, rgba(66, 153, 225, 0.10), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.99)) !important;
  box-shadow: 0 28px 90px rgba(17, 31, 55, 0.22) !important;
  overflow: hidden !important;
}

body.syls-reader-ui .modal:has(.balance-charge-form) .modal-body {
  padding: 24px 28px 28px !important;
}

body.syls-reader-ui .modal:has(.balance-charge-form) .mb10.touch {
  margin-bottom: 18px !important;
}

body.syls-reader-ui .modal:has(.balance-charge-form) .modal-title {
  color: var(--syls-text) !important;
  font-size: 34px !important;
  font-weight: 860 !important;
}

body.syls-reader-ui .modal:has(.balance-charge-form) .close {
  position: absolute !important;
  top: 18px !important;
  right: 18px !important;
  width: 42px !important;
  height: 42px !important;
  display: inline-grid !important;
  place-items: center !important;
  border-radius: 999px !important;
  background: color-mix(in srgb, var(--syls-accent) 14%, transparent) !important;
  color: var(--syls-accent) !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

body.syls-reader-ui .modal:has(.balance-charge-form) .vip-product,
body.syls-reader-ui .modal:has(.balance-charge-form) .product-box {
  min-width: 150px !important;
  min-height: 130px !important;
  padding: 18px 14px !important;
  border-radius: 24px !important;
  border: 1px solid color-mix(in srgb, var(--syls-line) 90%, transparent) !important;
  background: linear-gradient(180deg, #2f3948, #273142) !important;
  color: #fff !important;
  box-shadow: none !important;
}

body.syls-reader-ui .modal:has(.balance-charge-form) .product-box.active {
  border-color: color-mix(in srgb, var(--syls-accent) 42%, transparent) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--syls-accent) 14%, transparent) !important;
}

body.syls-reader-ui .modal:has(.balance-charge-form) .balance-charge-form .muted-color,
body.syls-reader-ui .modal:has(.balance-charge-form) .balance-charge-form .muted-2-color {
  color: var(--syls-muted) !important;
}

body.syls-reader-ui .modal:has(.balance-charge-form) .balance-charge-form .muted-box {
  border: 1px solid color-mix(in srgb, var(--syls-line) 85%, transparent) !important;
  border-radius: 22px !important;
  background: rgba(246, 248, 252, 0.92) !important;
}

body.syls-reader-ui .modal:has(.balance-charge-form) .line-form-input {
  color: var(--syls-text) !important;
}

body.syls-reader-ui .modal:has(.balance-charge-form) .line-form-line {
  background: color-mix(in srgb, var(--syls-accent) 18%, var(--syls-line)) !important;
}

body.syls-reader-ui .modal:has(.balance-charge-form) .pay-type-option {
  border-radius: 18px !important;
}

body.syls-reader-ui .modal:has(.balance-charge-form) .initiate-pay,
body.syls-reader-ui .modal:has(.balance-charge-form) .balance-charge-form .but {
  min-height: 56px !important;
  border-radius: 999px !important;
}

body.syls-reader-ui[data-syls-theme="dark"] .modal:has(.balance-charge-form) .modal-content,
body.syls-reader-ui[data-syls-theme="dark"] #modal_pay_uservip .modal-content {
  border-color: rgba(255, 255, 255, 0.10) !important;
  background:
    radial-gradient(circle at 16% 0%, rgba(66, 153, 225, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(19, 28, 43, 0.98), rgba(13, 21, 34, 0.99)) !important;
  box-shadow: 0 28px 90px rgba(2, 8, 18, 0.48) !important;
}

body.syls-reader-ui[data-syls-theme="dark"] .modal:has(.balance-charge-form) .modal-title,
body.syls-reader-ui[data-syls-theme="dark"] #modal_pay_uservip .modal-title,
body.syls-reader-ui[data-syls-theme="dark"] #modal_pay_uservip h1,
body.syls-reader-ui[data-syls-theme="dark"] #modal_pay_uservip h2,
body.syls-reader-ui[data-syls-theme="dark"] #modal_pay_uservip h3 {
  color: #eff5ff !important;
}

body.syls-reader-ui[data-syls-theme="dark"] .modal:has(.balance-charge-form) .balance-charge-form .muted-color,
body.syls-reader-ui[data-syls-theme="dark"] .modal:has(.balance-charge-form) .balance-charge-form .muted-2-color,
body.syls-reader-ui[data-syls-theme="dark"] #modal_pay_uservip .muted-color,
body.syls-reader-ui[data-syls-theme="dark"] #modal_pay_uservip .muted-2-color {
  color: #a9b8d3 !important;
}

body.syls-reader-ui[data-syls-theme="dark"] .modal:has(.balance-charge-form) .balance-charge-form .muted-box {
  border-color: rgba(255, 255, 255, 0.08) !important;
  background: rgba(255, 255, 255, 0.04) !important;
}

body.syls-reader-ui[data-syls-theme="dark"] .modal:has(.balance-charge-form) .product-box,
body.syls-reader-ui[data-syls-theme="dark"] #modal_pay_uservip .vip-card,
body.syls-reader-ui[data-syls-theme="dark"] #modal_pay_uservip .vip-product {
  border-color: rgba(255, 255, 255, 0.10) !important;
  background: linear-gradient(180deg, rgba(37, 48, 66, 0.96), rgba(23, 32, 48, 0.98)) !important;
}

body.syls-reader-ui[data-syls-theme="dark"] .modal:has(.balance-charge-form) .line-form-input {
  color: #eef5ff !important;
  background: transparent !important;
}

body.syls-reader-ui[data-syls-theme="dark"] .modal:has(.balance-charge-form) .close,
body.syls-reader-ui[data-syls-theme="dark"] #modal_pay_uservip .close {
  background: rgba(65, 140, 255, 0.14) !important;
  color: #82b8ff !important;
}

/* Generic popup/modal reset for login/register popups inside reader UI */
.syls-reader-ui .modal:has(.sign, .user-sign) .modal-content {
  border: 1px solid var(--border-subtle) !important;
  border-radius: 24px !important;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--bg-card) 98%, transparent), color-mix(in srgb, var(--bg-panel) 96%, transparent)) !important;
  color: var(--text-primary) !important;
  box-shadow: var(--shadow-soft) !important;
  overflow: hidden !important;
}

.syls-reader-ui .modal:has(.sign, .user-sign) .modal-body {
  padding: 22px 24px !important;
}

.syls-reader-ui .modal:has(.sign, .user-sign) .modal-content .close {
  top: 18px !important;
  right: 18px !important;
  width: 38px !important;
  height: 38px !important;
  display: inline-grid !important;
  place-items: center !important;
  border-radius: 999px !important;
  background: color-mix(in srgb, var(--primary) 10%, transparent) !important;
  color: var(--primary) !important;
  opacity: 1 !important;
  text-shadow: none !important;
  box-shadow: none !important;
}

.syls-reader-ui .modal:has(.sign, .user-sign) .modal-content .sign,
.syls-reader-ui .modal:has(.sign, .user-sign) .modal-content .sign-content,
.syls-reader-ui .modal:has(.sign, .user-sign) .modal-content .user-sign {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

[data-syls-theme="dark"] .modal-backdrop,
body.dark-theme .modal-backdrop {
  background:
    radial-gradient(circle at 22% 12%, rgba(41, 151, 255, 0.16), transparent 34%),
    rgba(2, 8, 18, 0.82) !important;
  opacity: 1 !important;
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
}

body.syls-reader-ui[data-syls-theme="dark"] .modal:has(.sign, .user-sign) .modal-dialog .sign,
body.dark-theme:not(.syls-reader-ui) .modal-content,
body.dark-theme:not(.syls-reader-ui) .sign,
body.dark-theme:not(.syls-reader-ui) .sign-content,
body.dark-theme:not(.syls-reader-ui) .user-sign {
  border-color: var(--syls-line-strong) !important;
  background:
    radial-gradient(circle at 20% 0%, rgba(41, 151, 255, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(30, 43, 62, 0.92), rgba(13, 21, 33, 0.96)) !important;
  color: var(--syls-text) !important;
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.50) !important;
}

body.syls-reader-ui[data-syls-theme="dark"] .modal:has(.sign, .user-sign) .modal-content {
  border-color: var(--border-strong) !important;
  background:
    radial-gradient(circle at 20% 0%, rgba(41, 151, 255, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(25, 38, 55, 0.96), rgba(13, 21, 33, 0.98)) !important;
  color: var(--text-primary) !important;
}

body.syls-reader-ui[data-syls-theme="dark"] .modal:has(.sign, .user-sign) .modal-content .close {
  background: color-mix(in srgb, var(--primary) 16%, transparent) !important;
  color: var(--primary-hover) !important;
}

body.syls-reader-ui[data-syls-theme="dark"] .modal:has(.sign, .user-sign) .sign input,
body.syls-reader-ui[data-syls-theme="dark"] .modal:has(.sign, .user-sign) .sign textarea,
body.syls-reader-ui[data-syls-theme="dark"] .modal:has(.sign, .user-sign) .sign select,
body.syls-reader-ui[data-syls-theme="dark"] .modal:has(.sign, .user-sign) .sign .form-control,
body.dark-theme:not(.syls-reader-ui) .sign input,
body.dark-theme:not(.syls-reader-ui) .sign textarea,
body.dark-theme:not(.syls-reader-ui) .sign select,
body.dark-theme:not(.syls-reader-ui) .form-control {
  border-color: color-mix(in srgb, var(--syls-accent) 16%, var(--syls-line)) !important;
  background: rgba(7, 15, 26, 0.58) !important;
  color: var(--syls-text) !important;
}

body.syls-reader-ui[data-syls-theme="dark"] .modal:has(.sign, .user-sign) .sign h1,
body.syls-reader-ui[data-syls-theme="dark"] .modal:has(.sign, .user-sign) .sign h2,
body.syls-reader-ui[data-syls-theme="dark"] .modal:has(.sign, .user-sign) .sign h3,
body.syls-reader-ui[data-syls-theme="dark"] .modal:has(.sign, .user-sign) .sign .sign-title {
  color: #f4f8ff !important;
}

body.syls-reader-ui[data-syls-theme="dark"] .modal:has(.sign, .user-sign) .sign .muted-color,
body.syls-reader-ui[data-syls-theme="dark"] .modal:has(.sign, .user-sign) .sign .text-muted,
body.syls-reader-ui[data-syls-theme="dark"] .modal:has(.sign, .user-sign) .sign p,
body.syls-reader-ui[data-syls-theme="dark"] .modal:has(.sign, .user-sign) .sign label {
  color: #aab6c8 !important;
}

body.dark-theme:not(.syls-reader-ui),
body.dark-theme:not(.syls-reader-ui) .main,
body.dark-theme:not(.syls-reader-ui) .container {
  background-color: transparent !important;
  color: var(--syls-text) !important;
}

body.dark-theme:not(.syls-reader-ui) .navbar,
body.dark-theme:not(.syls-reader-ui) .header,
body.dark-theme:not(.syls-reader-ui) .footer,
body.dark-theme:not(.syls-reader-ui) .fixed-body,
body.dark-theme:not(.syls-reader-ui) .author-header,
body.dark-theme:not(.syls-reader-ui) .user-header,
body.dark-theme:not(.syls-reader-ui) .user-cover,
body.dark-theme:not(.syls-reader-ui) .user-tab,
body.dark-theme:not(.syls-reader-ui) .author-tab,
body.dark-theme:not(.syls-reader-ui) .user-content,
body.dark-theme:not(.syls-reader-ui) .author-content,
body.dark-theme:not(.syls-reader-ui) .posts-item,
body.dark-theme:not(.syls-reader-ui) .ajax-item,
body.dark-theme:not(.syls-reader-ui) .post-list,
body.dark-theme:not(.syls-reader-ui) .zib-widget,
body.dark-theme:not(.syls-reader-ui) .main-bg,
body.dark-theme:not(.syls-reader-ui) .theme-box {
  border-color: var(--syls-line) !important;
  background:
    radial-gradient(circle at 92% 0%, rgba(41, 151, 255, 0.10), transparent 30%),
    linear-gradient(180deg, rgba(28, 40, 58, 0.92), rgba(13, 21, 33, 0.96)) !important;
  color: var(--syls-text) !important;
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.30) !important;
}

body.dark-theme:not(.syls-reader-ui) .footer {
  border-radius: 26px 26px 0 0 !important;
}

body.dark-theme:not(.syls-reader-ui) .navbar input[type="search"],
body.dark-theme:not(.syls-reader-ui) .navbar .form-control,
body.dark-theme:not(.syls-reader-ui) .header input[type="search"],
body.dark-theme:not(.syls-reader-ui) .header .form-control {
  border-color: rgba(196, 218, 255, 0.18) !important;
  background: rgba(7, 15, 26, 0.56) !important;
  color: var(--syls-text) !important;
}

body.dark-theme:not(.syls-reader-ui) .navbar a,
body.dark-theme:not(.syls-reader-ui) .header a,
body.dark-theme:not(.syls-reader-ui) .author-header h1,
body.dark-theme:not(.syls-reader-ui) .author-header h2,
body.dark-theme:not(.syls-reader-ui) .user-header h1,
body.dark-theme:not(.syls-reader-ui) .user-header h2,
body.dark-theme:not(.syls-reader-ui) .display-name,
body.dark-theme:not(.syls-reader-ui) .user-name {
  color: var(--syls-text) !important;
}

/* Login modal hardening: only for reader layout. */
.syls-reader-ui .modal:has(.sign, .user-sign) .modal-dialog {
  width: min(520px, calc(100vw - 28px)) !important;
  max-width: min(520px, calc(100vw - 28px)) !important;
  margin: max(18px, 5vh) auto !important;
}

.syls-reader-ui .modal:has(.sign, .user-sign) .modal-content {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.syls-reader-ui .modal:has(.sign, .user-sign) .modal-body {
  padding: 0 !important;
}

.syls-reader-ui .modal:has(.sign, .user-sign) .sign,
.syls-reader-ui .modal:has(.sign, .user-sign) .sign-content,
.syls-reader-ui .modal:has(.sign, .user-sign) .user-sign {
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  border-radius: 30px !important;
  overflow: hidden !important;
}

.syls-reader-ui .modal:has(.sign, .user-sign) .sign {
  padding: 42px 46px 46px !important;
}

.syls-reader-ui .modal:has(.sign, .user-sign) .sign-content,
.syls-reader-ui .modal:has(.sign, .user-sign) .user-sign {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.syls-reader-ui .modal:has(.sign, .user-sign) .sign .close,
.syls-reader-ui .modal:has(.sign, .user-sign) .modal-content .close {
  position: absolute !important;
  top: 18px !important;
  right: 18px !important;
  z-index: 5 !important;
}

.syls-reader-ui .modal:has(.sign, .user-sign) .sign .logo,
.syls-reader-ui .modal:has(.sign, .user-sign) .sign .sign-logo,
.syls-reader-ui .modal:has(.sign, .user-sign) .sign .text-center:first-child {
  max-width: calc(100% - 54px) !important;
  margin: 0 auto 34px !important;
  padding: 0 !important;
  text-align: center !important;
}

.syls-reader-ui .modal:has(.sign, .user-sign) .sign img {
  max-width: min(260px, 100%) !important;
  max-height: 62px !important;
  object-fit: contain !important;
}

.syls-reader-ui .modal:has(.sign, .user-sign) .sign input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.syls-reader-ui .modal:has(.sign, .user-sign) .sign textarea,
.syls-reader-ui .modal:has(.sign, .user-sign) .sign select,
.syls-reader-ui .modal:has(.sign, .user-sign) .sign .form-control {
  width: 100% !important;
  min-height: 50px !important;
  border-radius: 999px !important;
}

.syls-reader-ui .modal:has(.sign, .user-sign) .sign input[type="checkbox"],
.syls-reader-ui .modal:has(.sign, .user-sign) .sign input[type="radio"] {
  width: 18px !important;
  min-width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  padding: 0 !important;
  margin: 0 7px 0 0 !important;
  border-radius: 6px !important;
  vertical-align: -3px !important;
  box-shadow: none !important;
}

.syls-reader-ui .modal:has(.sign, .user-sign) .sign label,
.syls-reader-ui .modal:has(.sign, .user-sign) .sign .checkbox,
.syls-reader-ui .modal:has(.sign, .user-sign) .sign .remember,
.syls-reader-ui .modal:has(.sign, .user-sign) .sign .form-check {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.syls-reader-ui .modal:has(.sign, .user-sign) .sign button,
.syls-reader-ui .modal:has(.sign, .user-sign) .sign .but,
.syls-reader-ui .modal:has(.sign, .user-sign) .sign-submit {
  width: 100% !important;
  max-width: 340px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (max-width: 540px) {
  .syls-reader-ui .modal:has(.sign, .user-sign) .modal-dialog {
    width: calc(100vw - 18px) !important;
    max-width: calc(100vw - 18px) !important;
    margin: 9px auto !important;
  }

  .syls-reader-ui .modal:has(.sign, .user-sign) .sign {
    max-height: calc(100vh - 18px) !important;
    overflow-y: auto !important;
    padding: 30px 22px 28px !important;
    border-radius: 24px !important;
  }

  .syls-reader-ui .modal:has(.sign, .user-sign) .sign .logo,
  .syls-reader-ui .modal:has(.sign, .user-sign) .sign .sign-logo,
  .syls-reader-ui .modal:has(.sign, .user-sign) .sign .text-center:first-child {
    max-width: calc(100% - 48px) !important;
    margin-bottom: 24px !important;
  }

  .syls-reader-ui .modal:has(.sign, .user-sign) .sign img {
    max-width: min(210px, 100%) !important;
    max-height: 52px !important;
  }

  .syls-reader-ui .modal:has(.sign, .user-sign) .sign .close,
  .syls-reader-ui .modal:has(.sign, .user-sign) .modal-content .close {
    top: 14px !important;
    right: 14px !important;
  }

  .syls-reader-ui .modal:has(.sign, .user-sign) .sign h1,
  .syls-reader-ui .modal:has(.sign, .user-sign) .sign h2,
  .syls-reader-ui .modal:has(.sign, .user-sign) .sign h3,
  .syls-reader-ui .modal:has(.sign, .user-sign) .sign .sign-title {
    font-size: 30px !important;
  }
}

/* ── Tablet: tighten layout ── */
@media (max-width: 1180px) {
  .syls-app-shell {
    grid-template-columns: var(--syls-sidebar-width, 220px) minmax(280px, var(--syls-list-width, 390px)) minmax(0, 1fr);
    gap: var(--syls-layout-gap, 26px);
    padding: var(--syls-layout-padding, 26px);
  }

  .syls-sidebar {
    padding-inline: 8px;
  }

  .syls-article-panel {
    padding-inline: 34px;
  }

  body.syls-list-collapsed .syls-app-shell {
    grid-template-columns: var(--syls-sidebar-width, 220px) 72px minmax(0, 1fr);
  }

  body.syls-sidebar-collapsed.syls-list-collapsed .syls-app-shell {
    grid-template-columns: 92px 72px minmax(0, 1fr);
  }
}

@media (max-width: 1024px) and (min-width: 881px) {
  .syls-app-shell {
    grid-template-columns: 92px minmax(300px, 42vw) minmax(0, 1fr);
  }

  .syls-sidebar {
    align-items: center;
    padding: 24px 10px 22px;
    border-radius: 999px;
  }

  .syls-sidebar-head {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    width: 100%;
    min-height: 88px;
    padding: 0 0 18px;
  }

  .syls-sidebar-toggle {
    display: none;
  }

  .syls-brand {
    justify-content: center;
    width: 48px;
    height: 48px;
    overflow: hidden;
    border-radius: 17px;
    background: color-mix(in srgb, var(--syls-accent) 9%, transparent);
  }

  .syls-logo-pair {
    width: 36px;
    overflow: hidden;
  }

  .syls-brand img {
    max-width: none;
    max-height: 36px;
    object-position: left center;
  }

  .syls-main-nav,
  .syls-sidebar-bottom {
    width: 100%;
    justify-items: center;
  }

  .syls-nav-item {
    width: 58px;
    min-height: 58px;
    justify-content: center;
    padding: 0;
  }

  .syls-nav-item > span:not(.syls-nav-icon),
  .syls-cat-toggle,
  .syls-nav-children {
    display: none;
  }
}

/* ── Mobile: stack vertically ── */
@media (max-width: 880px) {
  html body.syls-reader-ui {
    overflow: auto;
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  }

  .syls-app-shell {
    height: auto;
    min-height: var(--syls-vh, 100vh);
    display: block;
    padding:
      max(var(--syls-layout-padding, 12px), env(safe-area-inset-top))
      max(var(--syls-layout-padding, 12px), env(safe-area-inset-right))
      max(var(--syls-layout-padding, 12px), env(safe-area-inset-bottom))
      max(var(--syls-layout-padding, 12px), env(safe-area-inset-left));
    overflow: visible;
  }

  .syls-sidebar,
  .syls-list-panel,
  .syls-article-panel {
    overflow: visible;
    margin-bottom: 12px;
  }

  /* Sticky top nav bar */
  .syls-sidebar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: block;
    padding: 10px 12px;
    border-radius: 20px;
    backdrop-filter: blur(24px) saturate(1.8);
    -webkit-backdrop-filter: blur(24px) saturate(1.8);
  }

  .syls-sidebar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 40px;
    padding: 0 4px 8px;
  }

  .syls-sidebar-toggle {
    display: none;
  }

  .syls-brand {
    padding: 0 6px 8px;
  }

  .syls-main-nav {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 6px;
    padding: 4px 0 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .syls-main-nav::-webkit-scrollbar {
    display: none;
  }

  .syls-nav-item {
    flex-shrink: 0;
    min-height: 40px;
    padding: 0 14px;
    font-size: 14px;
  }

  .syls-sidebar-bottom {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 6px;
    margin-top: 0;
    padding-top: 8px;
    border-top: 1px solid var(--syls-line);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .syls-sidebar-bottom::-webkit-scrollbar {
    display: none;
  }

  .syls-nav-user-pop-wrap {
    flex: 0 0 auto;
  }

  .syls-user-popover {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: max(18px, env(safe-area-inset-bottom));
    width: auto;
    max-height: min(74vh, 620px);
    overflow-y: auto;
    transform: translateY(14px) scale(0.98);
    transform-origin: center bottom;
  }

  .syls-user-popover::before {
    display: none;
  }

  .syls-nav-user-pop-wrap:hover .syls-user-popover,
  .syls-nav-user-pop-wrap:focus-within .syls-user-popover {
    transform: translateY(0) scale(1);
  }

  .syls-list-panel,
  .syls-article-panel {
    border-radius: 20px;
    padding: 20px 16px;
  }

  .syls-panel-header {
    position: static;
    margin-top: 0;
    padding-top: 0;
    background: transparent;
  }

  .syls-list-tools {
    width: calc(100% - 50px);
  }

  .syls-article-header h2 {
    font-size: 28px;
  }

  .syls-post-row {
    padding: 14px 16px;
    border-radius: 14px;
  }

  /* Article back button for mobile */
  .syls-article-panel .syls-article-header {
    padding-top: 4px;
  }

  .syls-search input {
    height: 42px;
    padding-right: 52px;
    font-size: 16px; /* prevent iOS zoom */
  }

  .syls-list-toggle {
    display: none;
  }

  body.syls-list-collapsed .syls-app-shell,
  body.syls-sidebar-collapsed.syls-list-collapsed .syls-app-shell {
    display: block;
  }

  body.syls-list-collapsed .syls-list-panel {
    padding: 20px 16px;
    border-radius: 20px;
  }

  body.syls-list-collapsed .syls-panel-header,
  body.syls-list-collapsed .syls-home-overview,
  body.syls-list-collapsed .syls-archive-overview,
  body.syls-list-collapsed .syls-post-list,
  body.syls-list-collapsed .syls-pagination {
    display: revert;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  body.syls-list-collapsed .syls-post-list {
    display: grid;
    justify-items: stretch;
  }

  body.syls-list-collapsed .syls-post-row {
    width: auto;
    height: auto;
    min-height: 0;
    display: grid;
    place-items: stretch;
    padding: 14px 16px;
    border-radius: 14px;
  }

  body.syls-list-collapsed .syls-post-row::after,
  body.syls-list-collapsed .syls-post-row-kicker,
  body.syls-list-collapsed .syls-post-row strong,
  body.syls-list-collapsed .syls-post-row-under,
  body.syls-list-collapsed .syls-post-row-meta {
    display: revert;
  }

  body.syls-list-collapsed .syls-post-row::before,
  body.syls-list-collapsed .syls-post-index {
    display: none;
  }

  body.syls-list-collapsed .syls-compact-library-icon,
  body.syls-list-collapsed .syls-compact-page {
    display: none;
  }

  .syls-reader-ui .modal:has(.sign, .user-sign) .modal-dialog {
    width: min(420px, calc(100vw - 28px)) !important;
    margin: 20px auto !important;
  }

  .syls-reader-ui .modal:has(.sign, .user-sign) .modal-dialog .sign,
  .syls-reader-ui .modal:has(.sign, .user-sign) .modal-content {
    border-radius: 28px !important;
  }

  .syls-reader-ui .modal:has(.sign, .user-sign) .modal-dialog .sign {
    padding: 34px 28px 36px !important;
  }

  .syls-reader-ui .modal:has(.sign, .user-sign) .sign .logo,
  .syls-reader-ui .modal:has(.sign, .user-sign) .sign .sign-logo,
  .syls-reader-ui .modal:has(.sign, .user-sign) .sign .text-center:first-child {
    margin-bottom: 28px !important;
    padding-right: 42px !important;
  }

  .syls-reader-ui .modal:has(.sign, .user-sign) .sign img {
    max-width: min(230px, 76vw) !important;
    max-height: 58px !important;
  }

  .syls-reader-ui .modal:has(.sign, .user-sign) .modal-content .close,
  .syls-reader-ui .modal:has(.sign, .user-sign) .sign .close {
    top: 18px !important;
    right: 18px !important;
    width: 42px !important;
    height: 42px !important;
    font-size: 30px !important;
  }

  .syls-reader-ui .modal:has(.sign, .user-sign) .sign h1,
  .syls-reader-ui .modal:has(.sign, .user-sign) .sign h2,
  .syls-reader-ui .modal:has(.sign, .user-sign) .sign h3,
  .syls-reader-ui .modal:has(.sign, .user-sign) .sign .sign-title {
    font-size: 34px !important;
  }

  .syls-reader-ui .modal:has(.sign, .user-sign) .sign input,
  .syls-reader-ui .modal:has(.sign, .user-sign) .sign textarea,
  .syls-reader-ui .modal:has(.sign, .user-sign) .sign select,
  .syls-reader-ui .modal:has(.sign, .user-sign) .sign .form-control {
    width: 100% !important;
    min-height: 48px !important;
    font-size: 16px !important;
  }

  .syls-reader-ui .modal:has(.sign, .user-sign) .sign button,
  .syls-reader-ui .modal:has(.sign, .user-sign) .sign .but,
  .syls-reader-ui .modal:has(.sign, .user-sign) .sign-submit {
    width: 100% !important;
    min-height: 50px !important;
  }
}

/* ── Small phone ── */
@media (max-width: 480px) {
  .syls-app-shell {
    padding: var(--syls-layout-padding, 8px);
  }

  .syls-sidebar {
    padding: 8px 10px;
    border-radius: 16px;
  }

  .syls-nav-item {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .syls-list-panel,
  .syls-article-panel {
    border-radius: 18px;
    padding: 16px 12px;
  }

  .syls-article-header h2 {
    font-size: 24px;
  }

  .syls-post-row {
    padding: 12px 14px;
    border-radius: 12px;
  }

  .syls-post-row strong {
    font-size: 15px;
  }

  .syls-home-overview {
    padding: 16px;
  }

  .syls-home-toolbar {
    flex-wrap: wrap;
    justify-content: stretch;
  }

  .syls-home-grid-panel,
  .syls-home-portal,
  .syls-home-sections,
  .syls-home-section-block,
  .syls-home-section-side,
  .syls-home-latest-grid,
  .syls-home-category-grid {
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .syls-home-toolbar-spacer {
    display: none;
  }

  .syls-home-search {
    width: 100%;
  }

  .syls-home-hero {
    min-height: 320px;
  }

  .syls-home-hero-copy {
    width: 100%;
    padding: 28px 24px;
  }

  .syls-home-hero h1 {
    font-size: 34px;
  }

  .syls-home-hero-subtitle {
    font-size: 16px;
  }

  .syls-home-hero-excerpt {
    font-size: 14px;
    line-height: 1.8;
  }

  .syls-home-hero-media {
    inset: 0;
    min-height: 100%;
    border-radius: inherit;
  }

  .syls-home-metrics,
  .syls-home-sections,
  .syls-home-latest-grid,
  .syls-home-category-grid {
    grid-template-columns: 1fr;
  }

  .syls-home-section-head h2 {
    font-size: 26px;
  }

  .syls-home-vip-band {
    flex-direction: column;
    align-items: stretch;
    padding: 22px 20px;
  }

  .syls-home-vip-copy {
    align-items: flex-start;
  }

  .syls-home-vip-copy strong {
    font-size: 22px;
  }

  .syls-home-vip-copy p {
    font-size: 14px;
  }

  .syls-home-vip-action {
    width: 100%;
  }

  .syls-home-vip-guest {
    padding: 24px 18px 20px;
  }

  .syls-home-vip-guest-header,
  .syls-home-vip-guest-body,
  .syls-home-vip-quick-form {
    grid-template-columns: 1fr;
  }

  .syls-home-vip-guest-showcase,
  .syls-home-vip-guest-plans {
    grid-template-columns: 1fr;
  }

  .syls-home-vip-guest-headline strong {
    font-size: 22px;
  }

  .syls-overview-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .syls-overview-stats span {
    padding: 10px 8px;
  }

  .syls-overview-stats b {
    font-size: 14px;
  }

  .syls-overview-latest b {
    white-space: normal;
  }

  .syls-archive-overview {
    padding: 16px;
  }

  .syls-archive-copy strong {
    font-size: 22px;
  }

  .syls-archive-stats {
    grid-template-columns: 1fr;
  }

  .syls-archive-stats b,
  .syls-archive-latest b {
    white-space: normal;
  }

  .syls-reader-ui .modal:has(.sign, .user-sign) .modal-dialog {
    width: calc(100vw - 18px) !important;
    margin: 9px auto !important;
  }

  .syls-reader-ui .modal:has(.sign, .user-sign) .modal-dialog .sign {
    max-height: calc(100vh - 18px) !important;
    overflow-y: auto !important;
    padding: 28px 20px 26px !important;
    border-radius: 24px !important;
  }

  .syls-reader-ui .modal:has(.sign, .user-sign) .sign .logo,
  .syls-reader-ui .modal:has(.sign, .user-sign) .sign .sign-logo,
  .syls-reader-ui .modal:has(.sign, .user-sign) .sign .text-center:first-child {
    margin-bottom: 22px !important;
    padding-right: 46px !important;
  }

  .syls-reader-ui .modal:has(.sign, .user-sign) .sign img {
    max-width: min(205px, 70vw) !important;
    max-height: 52px !important;
  }

  .syls-reader-ui .modal:has(.sign, .user-sign) .modal-content .close,
  .syls-reader-ui .modal:has(.sign, .user-sign) .sign .close {
    top: 14px !important;
    right: 14px !important;
    width: 38px !important;
    height: 38px !important;
    font-size: 27px !important;
  }

  .syls-reader-ui .modal:has(.sign, .user-sign) .sign h1,
  .syls-reader-ui .modal:has(.sign, .user-sign) .sign h2,
  .syls-reader-ui .modal:has(.sign, .user-sign) .sign h3,
  .syls-reader-ui .modal:has(.sign, .user-sign) .sign .sign-title {
    font-size: 30px !important;
    line-height: 1.12 !important;
  }

  .syls-reader-ui .modal:has(.sign, .user-sign) .sign p,
  .syls-reader-ui .modal:has(.sign, .user-sign) .sign label,
  .syls-reader-ui .modal:has(.sign, .user-sign) .sign .muted-color,
  .syls-reader-ui .modal:has(.sign, .user-sign) .sign .text-muted {
    font-size: 14px !important;
  }

  .syls-reader-ui .modal:has(.sign, .user-sign) .sign input,
  .syls-reader-ui .modal:has(.sign, .user-sign) .sign textarea,
  .syls-reader-ui .modal:has(.sign, .user-sign) .sign select,
  .syls-reader-ui .modal:has(.sign, .user-sign) .sign .form-control {
    min-height: 46px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .syls-reader-ui .modal:has(.sign, .user-sign) .sign button,
  .syls-reader-ui .modal:has(.sign, .user-sign) .sign .but,
  .syls-reader-ui .modal:has(.sign, .user-sign) .sign-submit {
    min-height: 48px !important;
    font-size: 17px !important;
  }
}


/* 详情页作者头像尺寸 */
.syls-article-meta-author img.avatar {
  width: 25px !important;
  height: 25px !important;
  min-width: 25px !important;
  max-width: 25px !important;
  border-radius: 999px !important;
  object-fit: cover;
}

/* ------------------------------
   2026-06 visual refresh layer
   Remove this block to roll back
------------------------------ */
html body.syls-reader-ui {
  background:
    radial-gradient(circle at 18% 8%, rgba(47, 120, 216, 0.05), transparent 26%),
    radial-gradient(circle at 86% 10%, rgba(201, 133, 47, 0.05), transparent 24%),
    linear-gradient(180deg, var(--bg-page-soft), var(--bg-page));
}

[data-syls-theme="dark"] html body.syls-reader-ui,
html body.syls-reader-ui[data-syls-theme="dark"] {
  background:
    radial-gradient(circle at 18% 8%, rgba(93, 152, 238, 0.06), transparent 26%),
    radial-gradient(circle at 86% 10%, rgba(208, 155, 88, 0.03), transparent 24%),
    linear-gradient(180deg, var(--bg-page-soft), var(--bg-page));
}

.syls-sidebar,
.syls-list-panel,
.syls-article-panel {
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
}

.syls-sidebar {
  padding: 28px 12px 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent 28%),
    var(--bg-sidebar);
}

.syls-list-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent 30%),
    var(--bg-panel);
}

.syls-article-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 24%),
    var(--bg-panel-strong);
}

[data-syls-theme="dark"] .syls-sidebar,
[data-syls-theme="dark"] .syls-list-panel,
[data-syls-theme="dark"] .syls-article-panel {
  box-shadow: none;
}

.syls-brand img {
  max-height: 42px;
}

body.syls-sidebar-collapsed .syls-brand img {
  max-height: 32px;
}

.syls-nav-item {
  min-height: max(44px, calc((var(--syls-nav-font, 14px) * var(--syls-sidebar-line-height, 1.4)) + 22px));
  padding-top: calc(8px + ((var(--syls-sidebar-line-height, 1.4) - 1.4) * 8px));
  padding-bottom: calc(8px + ((var(--syls-sidebar-line-height, 1.4) - 1.4) * 8px));
  color: var(--text-secondary);
  background: transparent;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.syls-nav-children .syls-nav-item {
  min-height: max(40px, calc((var(--syls-nav-font, 14px) * var(--syls-sidebar-line-height, 1.4)) + 18px));
}

.syls-nav-item:hover,
.syls-nav-item:focus {
  color: var(--text-primary);
  background: var(--primary-soft);
}

.syls-nav-icon {
  background: color-mix(in srgb, var(--syls-item-color, var(--primary)) 12%, transparent);
  color: color-mix(in srgb, var(--syls-item-color, var(--primary)) 82%, var(--text-secondary));
}

.syls-nav-item.is-active {
  background: var(--primary-gradient);
  color: #fff;
  box-shadow: var(--shadow-card);
}

.syls-nav-item.is-active .syls-nav-icon {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.syls-cat-toggle,
.syls-list-toggle,
.syls-compact-library-icon,
.syls-compact-page {
  box-shadow: none;
}

.syls-cat-toggle {
  border-color: var(--border-subtle);
  background: var(--bg-card);
  color: var(--text-secondary);
}

.syls-cat-toggle:hover,
.syls-cat-toggle:focus,
.syls-nav-branch.is-open > .syls-nav-line .syls-cat-toggle {
  border-color: var(--border-strong);
  background: var(--primary-soft);
  color: var(--primary);
}

.syls-panel-header {
  background: linear-gradient(180deg, color-mix(in srgb, var(--bg-panel-strong) 92%, transparent) 74%, rgba(255, 255, 255, 0));
}

.syls-search input,
.syls-list-tools {
  border-color: var(--border-subtle);
  background: var(--bg-card);
  box-shadow: none;
}

.syls-search input::placeholder {
  color: var(--text-muted);
}

.syls-search input:focus,
.syls-reader-ui button:focus-visible,
.syls-reader-ui a:focus-visible,
.syls-reader-ui input:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.syls-list-panel.is-scrolled .syls-search input {
  border-color: var(--border-strong);
  box-shadow: var(--focus-ring);
}

.syls-list-tools {
  gap: 6px;
  padding: 4px;
}

.syls-list-tools a {
  color: var(--text-secondary);
}

.syls-list-tools a:hover,
.syls-list-tools a:focus,
.syls-list-tools a.is-active {
  background: var(--primary-gradient);
  box-shadow: none;
}

.syls-home-overview {
  gap: 10px;
  margin-bottom: 14px;
  border-color: var(--border-subtle);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--bg-card) 92%, transparent), color-mix(in srgb, var(--bg-card) 98%, transparent)),
    var(--bg-card);
}

.syls-overview-copy strong {
  font-size: 15px;
  letter-spacing: 0;
}

.syls-overview-stats span,
.syls-overview-daily span,
.syls-archive-stats span,
.syls-archive-latest {
  border-color: var(--border-subtle);
  background: color-mix(in srgb, var(--bg-card) 88%, transparent);
  box-shadow: none;
}

.syls-overview-daily span {
  background: color-mix(in srgb, var(--primary-soft) 45%, var(--bg-card));
}

.syls-archive-overview {
  gap: 14px;
  padding: 18px;
  border-color: var(--border-subtle);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 24%),
    color-mix(in srgb, var(--bg-card) 96%, transparent);
  box-shadow: none;
}

.syls-archive-overview:not(.has-bg-image) {
  background:
    radial-gradient(circle at 86% 8%, color-mix(in srgb, var(--syls-archive-grad-2, var(--syls-item-color)) 54%, transparent), transparent 34%),
    linear-gradient(135deg, var(--syls-archive-grad-1, #dbeafe) 0%, var(--syls-archive-grad-2, #f8fafc) 54%, var(--syls-archive-grad-3, #fff7ed) 100%);
}

.syls-archive-overview:not(.has-bg-image) .syls-archive-copy strong,
.syls-archive-overview:not(.has-bg-image) .syls-archive-stats b,
.syls-archive-overview:not(.has-bg-image) .syls-archive-latest b {
  color: var(--text-primary);
}

.syls-archive-overview:not(.has-bg-image) .syls-archive-copy p,
.syls-archive-overview:not(.has-bg-image) .syls-archive-stats span,
.syls-archive-overview:not(.has-bg-image) .syls-archive-latest {
  color: var(--text-secondary);
}

[data-syls-theme="dark"] .syls-archive-overview:not(.has-bg-image),
body.dark-theme .syls-archive-overview:not(.has-bg-image) {
  background:
    radial-gradient(circle at 86% 8%, color-mix(in srgb, var(--syls-archive-grad-2, var(--syls-item-color)) 22%, transparent), transparent 34%),
    linear-gradient(135deg, color-mix(in srgb, var(--syls-archive-grad-1, #1e3a8a) 24%, #08111f) 0%, color-mix(in srgb, var(--syls-archive-grad-2, #0f172a) 18%, #111827) 56%, color-mix(in srgb, var(--syls-archive-grad-3, #312e81) 22%, #07101d) 100%);
}

[data-syls-theme="dark"] .syls-archive-overview:not(.has-bg-image) .syls-archive-copy strong,
[data-syls-theme="dark"] .syls-archive-overview:not(.has-bg-image) .syls-archive-stats b,
[data-syls-theme="dark"] .syls-archive-overview:not(.has-bg-image) .syls-archive-latest b,
body.dark-theme .syls-archive-overview:not(.has-bg-image) .syls-archive-copy strong,
body.dark-theme .syls-archive-overview:not(.has-bg-image) .syls-archive-stats b,
body.dark-theme .syls-archive-overview:not(.has-bg-image) .syls-archive-latest b {
  color: #edf3fb;
}

[data-syls-theme="dark"] .syls-archive-overview:not(.has-bg-image) .syls-archive-copy p,
[data-syls-theme="dark"] .syls-archive-overview:not(.has-bg-image) .syls-archive-stats span,
[data-syls-theme="dark"] .syls-archive-overview:not(.has-bg-image) .syls-archive-latest,
body.dark-theme .syls-archive-overview:not(.has-bg-image) .syls-archive-copy p,
body.dark-theme .syls-archive-overview:not(.has-bg-image) .syls-archive-stats span,
body.dark-theme .syls-archive-overview:not(.has-bg-image) .syls-archive-latest {
  color: #b9c6d8;
}

.syls-archive-overview.has-bg-image {
  background:
    var(--syls-archive-bg),
    var(--bg-card);
  background-position: center;
  background-size: cover;
}

[data-syls-theme="dark"] .syls-archive-overview.has-bg-image,
body.dark-theme .syls-archive-overview.has-bg-image {
  background:
    linear-gradient(rgba(7, 13, 22, 0.46), rgba(7, 13, 22, 0.46)),
    var(--syls-archive-bg),
    var(--bg-card);
  background-position: center;
  background-size: cover;
}

.syls-archive-overview.has-bg-image .syls-archive-mark,
.syls-archive-overview.has-bg-image .syls-archive-copy,
.syls-archive-overview.has-bg-image .syls-archive-stats span,
.syls-archive-overview.has-bg-image .syls-archive-latest {
  border: 1px solid rgba(225, 232, 242, 0.72);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: none;
}

.syls-archive-overview.has-bg-image .syls-archive-copy {
  width: fit-content;
  max-width: 100%;
  padding: 14px 16px;
  border-radius: 18px;
}

.syls-archive-overview.has-bg-image .syls-archive-copy strong {
  color: #1f2937;
}

.syls-archive-overview.has-bg-image .syls-archive-copy p,
.syls-archive-overview.has-bg-image .syls-archive-stats span,
.syls-archive-overview.has-bg-image .syls-archive-latest,
.syls-archive-overview.has-bg-image .syls-archive-stats b,
.syls-archive-overview.has-bg-image .syls-archive-latest b {
  color: #526174;
}

.syls-archive-overview.has-bg-image .syls-archive-stats b,
.syls-archive-overview.has-bg-image .syls-archive-latest b {
  color: #1f2937;
}

[data-syls-theme="dark"] .syls-archive-overview.has-bg-image .syls-archive-mark,
[data-syls-theme="dark"] .syls-archive-overview.has-bg-image .syls-archive-copy,
[data-syls-theme="dark"] .syls-archive-overview.has-bg-image .syls-archive-stats span,
[data-syls-theme="dark"] .syls-archive-overview.has-bg-image .syls-archive-latest,
body.dark-theme .syls-archive-overview.has-bg-image .syls-archive-mark,
body.dark-theme .syls-archive-overview.has-bg-image .syls-archive-copy,
body.dark-theme .syls-archive-overview.has-bg-image .syls-archive-stats span,
body.dark-theme .syls-archive-overview.has-bg-image .syls-archive-latest {
  border-color: rgba(255, 255, 255, 0.10);
  background: rgba(15, 24, 36, 0.78);
}

[data-syls-theme="dark"] .syls-archive-overview.has-bg-image .syls-archive-copy strong,
[data-syls-theme="dark"] .syls-archive-overview.has-bg-image .syls-archive-stats b,
[data-syls-theme="dark"] .syls-archive-overview.has-bg-image .syls-archive-latest b,
body.dark-theme .syls-archive-overview.has-bg-image .syls-archive-copy strong,
body.dark-theme .syls-archive-overview.has-bg-image .syls-archive-stats b,
body.dark-theme .syls-archive-overview.has-bg-image .syls-archive-latest b {
  color: #edf3fb;
}

[data-syls-theme="dark"] .syls-archive-overview.has-bg-image .syls-archive-copy p,
[data-syls-theme="dark"] .syls-archive-overview.has-bg-image .syls-archive-stats span,
[data-syls-theme="dark"] .syls-archive-overview.has-bg-image .syls-archive-latest,
body.dark-theme .syls-archive-overview.has-bg-image .syls-archive-copy p,
body.dark-theme .syls-archive-overview.has-bg-image .syls-archive-stats span,
body.dark-theme .syls-archive-overview.has-bg-image .syls-archive-latest {
  color: #b9c6d8;
}

.syls-post-list {
  gap: max(12px, calc(12px + ((var(--syls-list-line-height, 1.38) - 1.38) * 12px)));
}

.syls-post-row {
  gap: 9px;
  padding-top: max(16px, calc(17px + ((var(--syls-list-line-height, 1.38) - 1.38) * 12px)));
  padding-right: 18px;
  padding-bottom: max(14px, calc(15px + ((var(--syls-list-line-height, 1.38) - 1.38) * 12px)));
  padding-left: 18px;
  border-color: var(--border-subtle);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 26%),
    var(--bg-card);
  box-shadow: none;
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.syls-post-row::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 32%);
  opacity: 0.58;
}

.syls-post-row:hover,
.syls-post-row:focus {
  transform: translateY(-1px);
  border-color: var(--border-strong);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 26%),
    var(--bg-card-hover);
  box-shadow: none;
}

.syls-post-row.is-active {
  border-color: color-mix(in srgb, var(--primary) 42%, var(--border-subtle));
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 26%),
    var(--bg-card-selected);
  box-shadow: none;
}

.syls-post-row.is-active::before {
  width: 3px;
  top: 16px;
  bottom: 16px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 72%, #ffffff), var(--primary));
}

.syls-post-row-kicker,
.syls-topic-badge-list,
.syls-article-cats a {
  border: 1px solid color-mix(in srgb, var(--primary) 12%, var(--border-subtle));
  background: color-mix(in srgb, var(--primary) 8%, transparent);
  color: var(--primary);
  box-shadow: none;
}

.syls-post-row-kicker {
  min-height: 22px;
  padding: 0 8px;
  font-size: 10px;
  line-height: 22px;
}

.syls-post-row strong {
  font-size: var(--syls-list-title-font, 16px);
  font-weight: 760;
}

.syls-post-title-icon {
  border-radius: 8px;
  background: color-mix(in srgb, var(--syls-item-color, var(--primary)) 12%, transparent);
  color: color-mix(in srgb, var(--syls-item-color, var(--primary)) 84%, var(--text-primary));
}

.syls-post-title-text {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.syls-post-row-under,
.syls-post-row-date,
.syls-post-row-meta {
  color: var(--text-muted);
  font-size: 11px;
}

.syls-post-row {
  height: 154px;
  min-height: 154px;
  display: grid;
  grid-template-rows: 30px minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
}

.syls-post-row-topline {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
}

.syls-post-row-topline > .syls-post-row-kicker {
  flex: 0 1 auto;
}

.syls-post-row-topline > .syls-post-row-topics {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
  overflow: hidden;
}

.syls-post-row-topline .syls-topic-badge-list {
  min-height: 22px;
  margin-right: 0;
  padding: 0 12px;
  border-color: color-mix(in srgb, var(--syls-topic-color) 30%, var(--border-subtle));
  background: color-mix(in srgb, var(--syls-topic-color) 12%, transparent);
  color: color-mix(in srgb, var(--syls-topic-color) 88%, var(--text-primary));
  font-size: 10px;
  line-height: 22px;
  white-space: nowrap;
}

.syls-post-row-content {
  position: relative;
  z-index: 1;
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(86px, 25%) minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}

.syls-post-row-thumb {
  width: 100%;
  height: 86px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 20px / 17px;
  background: var(--bg-card);
  color: color-mix(in srgb, var(--text-muted) 82%, #8c7354);
  font-size: 12px;
  font-weight: 780;
  box-shadow:
    inset 0 0 18px rgba(255, 255, 255, 0.66),
    0 10px 22px rgba(54, 72, 101, 0.06);
}

.syls-post-row-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.syls-post-row-content strong {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  font-size: var(--syls-list-title-font, 17px);
  line-height: 1.32;
}

.syls-post-title-line {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text-primary);
}

.syls-post-title-before {
  min-width: 0;
  display: block;
  overflow: hidden;
  color: var(--syls-item-color, var(--text-primary));
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.syls-post-title-after {
  display: -webkit-box;
  overflow: hidden;
  color: var(--text-primary);
  font-weight: 660;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.syls-post-title-normal {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--text-primary);
}

.syls-post-title-normal > span:last-child {
  display: -webkit-box;
  min-width: 0;
  overflow: hidden;
  color: var(--text-primary);
  font-weight: 850;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.syls-post-row > .syls-post-row-under,
.syls-post-row > .syls-post-row-meta {
  display: none;
}

body.syls-list-collapsed .syls-post-row {
  height: 48px;
  min-height: 48px;
}

body.syls-list-collapsed .syls-post-row-topline,
body.syls-list-collapsed .syls-post-row-content strong {
  display: none;
}

body.syls-list-collapsed .syls-post-row-content {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  min-width: 0;
  min-height: 0;
}

body.syls-list-collapsed .syls-post-row-thumb {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: transparent;
  box-shadow: none;
}

body.syls-list-collapsed .syls-post-row-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.syls-list-collapsed .syls-post-row-thumb.is-empty {
  background: transparent;
  color: currentColor;
  font-size: 0;
}

body.syls-list-collapsed .syls-post-row-thumb.is-empty span {
  display: none;
}

body.syls-list-collapsed .syls-post-index {
  display: none;
}

@media (max-width: 767px) {
  .syls-post-row {
    height: 140px;
    min-height: 140px;
    grid-template-rows: 28px minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
  }

  .syls-post-row-topline {
    gap: 8px;
  }

  .syls-post-row-topline .syls-topic-badge-list {
    min-height: 22px;
    padding: 0 9px;
    font-size: 10px;
    line-height: 22px;
  }

  .syls-post-row-content {
    grid-template-columns: minmax(72px, 25%) minmax(0, 1fr);
    gap: 12px;
  }

  .syls-post-row-thumb {
    height: 72px;
    border-radius: 17px / 15px;
  }

  .syls-post-row-content strong {
    font-size: 15px;
  }
}

[data-syls-theme="dark"] .syls-post-row,
[data-syls-theme="dark"] .syls-post-row:hover,
[data-syls-theme="dark"] .syls-post-row:focus,
[data-syls-theme="dark"] .syls-post-row.is-active {
  box-shadow: none;
}

[data-syls-theme="dark"] .syls-post-row {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 24%),
    var(--bg-card);
}

[data-syls-theme="dark"] .syls-post-row:hover,
[data-syls-theme="dark"] .syls-post-row:focus {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 24%),
    var(--bg-card-hover);
}

[data-syls-theme="dark"] .syls-post-row.is-active {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 24%),
    var(--bg-card-selected);
}

[data-syls-theme="dark"] .syls-post-row::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 30%);
}

.syls-article-header {
  max-width: 920px;
  padding-bottom: 18px;
  border-bottom-color: var(--border-subtle);
}

.syls-article-header h2 {
  font-size: var(--syls-article-title-font, 48px);
  line-height: 1.24;
  font-weight: 760;
}

.syls-article-header h2 > span:last-child {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.syls-article-title-icon {
  width: 38px;
  height: 38px;
  flex-basis: 38px;
  position: relative;
  isolation: isolate;
  border-radius: 12px;
  background: color-mix(in srgb, var(--syls-item-color, var(--primary)) 12%, transparent);
  color: color-mix(in srgb, var(--syls-item-color, var(--primary)) 84%, var(--text-primary));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--syls-item-color, var(--primary)) 12%, transparent);
  animation: syls-title-icon-breathe 3.2s ease-in-out infinite;
}

.syls-article-title-icon::after {
  content: "";
  position: absolute;
  inset: -6px;
  z-index: -1;
  border-radius: 17px;
  background: radial-gradient(circle, color-mix(in srgb, var(--syls-item-color, var(--primary)) 32%, transparent), transparent 68%);
  opacity: 0.22;
  animation: syls-title-icon-halo 3.2s ease-in-out infinite;
}

[data-syls-theme="dark"] .syls-article-title-icon {
  background: color-mix(in srgb, var(--syls-item-color, var(--primary)) 18%, rgba(255, 255, 255, 0.05));
  color: color-mix(in srgb, var(--syls-item-color, var(--primary)) 78%, #e8f2ff);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--syls-item-color, var(--primary)) 20%, rgba(255, 255, 255, 0.06));
}

[data-syls-theme="dark"] .syls-article-title-icon::after {
  opacity: 0.30;
  background: radial-gradient(circle, color-mix(in srgb, var(--syls-item-color, var(--primary)) 42%, transparent), transparent 70%);
}

body.syls-reader-ui .syls-article-panel {
  border-color: color-mix(in srgb, var(--border-subtle) 90%, transparent);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--bg-card) 94%, #fff 6%), color-mix(in srgb, var(--bg-panel-strong) 96%, #fff 4%));
  box-shadow: none;
}

body.syls-reader-ui .syls-article-header {
  max-width: min(920px, 100%);
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom-color: var(--border-subtle);
}

body.syls-reader-ui .syls-article-cats {
  gap: 8px;
  margin-bottom: 14px;
}

body.syls-reader-ui .syls-article-cats a {
  min-height: 28px;
  padding: 0 12px;
  border: 1px solid color-mix(in srgb, var(--syls-item-color, var(--primary)) 18%, var(--border-subtle));
  background: color-mix(in srgb, var(--syls-item-color, var(--primary)) 9%, var(--bg-card));
  color: color-mix(in srgb, var(--syls-item-color, var(--primary)) 82%, var(--text-primary));
  font-size: 12px;
  box-shadow: none;
}

body.syls-reader-ui .syls-article-header h2 {
  align-items: center;
  gap: 14px;
  color: var(--text-primary);
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.22;
  font-weight: 860;
}

body.syls-reader-ui .syls-article-header h2 > span:last-child {
  min-width: 0;
}

body.syls-reader-ui .syls-article-title-icon {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
  border-radius: 12px;
  animation: none;
}

body.syls-reader-ui .syls-article-title-icon::after {
  content: none;
}

body.syls-reader-ui .syls-article-meta {
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  text-align: center;
}

body.syls-reader-ui .syls-article-meta a,
body.syls-reader-ui .syls-article-meta-item,
body.syls-reader-ui .syls-article-author-action {
  min-height: 30px;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg-card) 92%, transparent);
  color: var(--text-secondary);
  box-shadow: none;
}

body.syls-reader-ui .syls-article-meta-author {
  padding: 0 10px 0 4px;
}

body.syls-reader-ui .syls-article-meta-item {
  padding: 0 10px 0 8px;
}

body.syls-reader-ui .syls-article-author-action {
  padding: 0 12px;
}

body.syls-reader-ui .syls-article-author-avatar {
  width: 24px;
  height: 24px;
  border: 1px solid var(--border-subtle);
}

body.syls-reader-ui .syls-article-content {
  max-width: min(920px, 100%);
  color: var(--text-primary);
  font-size: var(--syls-article-font, 16px);
  line-height: max(1.72, var(--syls-article-line-height, 1.82));
}

body.syls-reader-ui .syls-featured-image,
body.syls-reader-ui .syls-article-content img,
body.syls-reader-ui .syls-article-content video,
body.syls-reader-ui .syls-article-content iframe {
  border-radius: 18px;
  border-color: var(--border-subtle);
  background: var(--bg-card);
  box-shadow: none;
}

body.syls-reader-ui .syls-article-content h1,
body.syls-reader-ui .syls-article-content h2,
body.syls-reader-ui .syls-article-content h3,
body.syls-reader-ui .syls-article-content h4 {
  color: var(--text-primary);
  letter-spacing: 0;
}

body.syls-reader-ui .syls-pay-box,
body.syls-reader-ui .syls-article-footer,
body.syls-reader-ui .syls-comments {
  max-width: min(920px, 100%);
}

body.syls-reader-ui .syls-pay-box .pay-box,
body.syls-reader-ui .syls-pay-box .hidden-box,
body.syls-reader-ui .syls-pay-box .theme-box,
body.syls-reader-ui .syls-comments .theme-box,
body.syls-reader-ui .syls-comments #comments,
body.syls-reader-ui .syls-comments #respond,
body.syls-reader-ui .syls-comments .comment-signarea,
body.syls-reader-ui .syls-comments .commentlist .comment,
body.syls-reader-ui .syls-comments .comment-body {
  border: 1px solid var(--border-subtle) !important;
  border-radius: 18px !important;
  background: color-mix(in srgb, var(--bg-card) 96%, transparent) !important;
  box-shadow: none !important;
}

body.syls-reader-ui .syls-article-footer .action,
body.syls-reader-ui .syls-action {
  border: 1px solid var(--border-subtle);
  background: color-mix(in srgb, var(--bg-card) 94%, transparent);
  color: var(--text-secondary);
}

body.syls-reader-ui .syls-article-footer {
  width: fit-content;
  max-width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 28px auto 0;
  padding: 10px;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg-card) 92%, transparent);
  box-shadow: none;
}

body.syls-reader-ui .syls-article-footer > .syls-action,
body.syls-reader-ui .syls-article-footer > .action {
  width: auto !important;
  min-width: 0 !important;
  min-height: 34px !important;
  height: 34px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  margin: 0 !important;
  padding: 0 12px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: var(--text-secondary) !important;
  font-size: 13px !important;
  font-weight: 760 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  box-shadow: none !important;
  transform: none !important;
}

body.syls-reader-ui .syls-article-footer > .syls-action:hover,
body.syls-reader-ui .syls-article-footer > .syls-action:focus,
body.syls-reader-ui .syls-article-footer > .action:hover,
body.syls-reader-ui .syls-article-footer > .action:focus {
  background: color-mix(in srgb, var(--primary) 10%, var(--bg-card)) !important;
  color: var(--primary) !important;
  text-decoration: none !important;
}

body.syls-reader-ui .syls-article-footer .fa,
body.syls-reader-ui .syls-article-footer i,
body.syls-reader-ui .syls-article-footer svg,
body.syls-reader-ui .syls-article-footer .icon {
  width: 1em;
  height: 1em;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  color: currentColor !important;
  font-size: 1em !important;
  line-height: 1 !important;
}

body.syls-reader-ui .syls-article-footer span,
body.syls-reader-ui .syls-article-footer count,
body.syls-reader-ui .syls-article-footer em {
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  color: currentColor !important;
  line-height: 1 !important;
  font-style: normal !important;
}

body.syls-reader-ui[data-syls-theme="dark"] .syls-article-panel,
body.syls-reader-ui.dark-theme .syls-article-panel {
  border-color: rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(22, 33, 48, 0.96), rgba(17, 27, 41, 0.98));
}

body.syls-reader-ui[data-syls-theme="dark"] .syls-article-cats a,
body.syls-reader-ui[data-syls-theme="dark"] .syls-article-meta a,
body.syls-reader-ui[data-syls-theme="dark"] .syls-article-meta-item,
body.syls-reader-ui[data-syls-theme="dark"] .syls-article-author-action,
body.syls-reader-ui[data-syls-theme="dark"] .syls-article-footer .action,
body.syls-reader-ui[data-syls-theme="dark"] .syls-action,
body.syls-reader-ui.dark-theme .syls-article-cats a,
body.syls-reader-ui.dark-theme .syls-article-meta a,
body.syls-reader-ui.dark-theme .syls-article-meta-item,
body.syls-reader-ui.dark-theme .syls-article-author-action,
body.syls-reader-ui.dark-theme .syls-article-footer .action,
body.syls-reader-ui.dark-theme .syls-action {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(21, 31, 45, 0.78);
  color: var(--text-secondary);
}

body.syls-reader-ui[data-syls-theme="dark"] .syls-article-footer,
body.syls-reader-ui.dark-theme .syls-article-footer {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(21, 31, 45, 0.82);
}

body.syls-reader-ui[data-syls-theme="dark"] .syls-article-footer > .syls-action,
body.syls-reader-ui[data-syls-theme="dark"] .syls-article-footer > .action,
body.syls-reader-ui.dark-theme .syls-article-footer > .syls-action,
body.syls-reader-ui.dark-theme .syls-article-footer > .action {
  background: transparent !important;
  color: #b9c6d8 !important;
}

body.syls-reader-ui[data-syls-theme="dark"] .syls-article-footer > .syls-action:hover,
body.syls-reader-ui[data-syls-theme="dark"] .syls-article-footer > .syls-action:focus,
body.syls-reader-ui[data-syls-theme="dark"] .syls-article-footer > .action:hover,
body.syls-reader-ui[data-syls-theme="dark"] .syls-article-footer > .action:focus,
body.syls-reader-ui.dark-theme .syls-article-footer > .syls-action:hover,
body.syls-reader-ui.dark-theme .syls-article-footer > .syls-action:focus,
body.syls-reader-ui.dark-theme .syls-article-footer > .action:hover,
body.syls-reader-ui.dark-theme .syls-article-footer > .action:focus {
  background: rgba(93, 152, 238, 0.14) !important;
  color: #7ab0ff !important;
}

body.syls-reader-ui[data-syls-theme="dark"] .syls-pay-box .pay-box,
body.syls-reader-ui[data-syls-theme="dark"] .syls-pay-box .hidden-box,
body.syls-reader-ui[data-syls-theme="dark"] .syls-pay-box .theme-box,
body.syls-reader-ui[data-syls-theme="dark"] .syls-comments .theme-box,
body.syls-reader-ui[data-syls-theme="dark"] .syls-comments #comments,
body.syls-reader-ui[data-syls-theme="dark"] .syls-comments #respond,
body.syls-reader-ui[data-syls-theme="dark"] .syls-comments .comment-signarea,
body.syls-reader-ui[data-syls-theme="dark"] .syls-comments .commentlist .comment,
body.syls-reader-ui[data-syls-theme="dark"] .syls-comments .comment-body,
body.syls-reader-ui.dark-theme .syls-pay-box .pay-box,
body.syls-reader-ui.dark-theme .syls-pay-box .hidden-box,
body.syls-reader-ui.dark-theme .syls-pay-box .theme-box,
body.syls-reader-ui.dark-theme .syls-comments .theme-box,
body.syls-reader-ui.dark-theme .syls-comments #comments,
body.syls-reader-ui.dark-theme .syls-comments #respond,
body.syls-reader-ui.dark-theme .syls-comments .comment-signarea,
body.syls-reader-ui.dark-theme .syls-comments .commentlist .comment,
body.syls-reader-ui.dark-theme .syls-comments .comment-body {
  border-color: rgba(255, 255, 255, 0.08) !important;
  background: rgba(21, 31, 45, 0.82) !important;
}

body.syls-reader-ui .syls-comments {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--border-subtle);
}

body.syls-reader-ui .syls-comments #comments {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.syls-reader-ui .syls-comments #comments > .box-body.notop:first-child {
  padding: 0 0 12px !important;
  border: 0 !important;
  background: transparent !important;
}

body.syls-reader-ui .syls-comments .title-theme {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  margin: 0;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 850;
}

body.syls-reader-ui .syls-comments .title-theme::before {
  content: "";
  width: 4px;
  height: 18px;
  border-radius: 999px;
  background: var(--primary);
}

body.syls-reader-ui .syls-comments .title-theme small {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 760;
}

body.syls-reader-ui .syls-comments .no_webshot.main-bg.theme-box {
  padding: 0 !important;
  border: 1px solid var(--border-subtle) !important;
  border-radius: 18px !important;
  background: color-mix(in srgb, var(--bg-card) 94%, transparent) !important;
  box-shadow: none !important;
  overflow: hidden;
}

body.syls-reader-ui .syls-comments .comment-signarea {
  margin: 0 !important;
  padding: 18px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.syls-reader-ui .syls-comments .comment-signarea h3 {
  margin: 0 0 12px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--text-secondary) !important;
  font-size: 13px !important;
  font-weight: 760 !important;
}

body.syls-reader-ui .syls-comments .comment-signarea p {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 !important;
}

body.syls-reader-ui .syls-comments .comment-signarea .but {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px;
  min-width: 86px;
  min-height: 34px !important;
  margin: 0 !important;
  padding: 0 16px !important;
  border: 1px solid transparent !important;
  border-radius: 999px !important;
  font-size: 13px !important;
  font-weight: 760 !important;
  line-height: 1 !important;
  box-shadow: none !important;
}

body.syls-reader-ui .syls-comments .comment-signarea .signin-loader.but {
  border-color: color-mix(in srgb, var(--primary) 14%, transparent) !important;
  background: color-mix(in srgb, var(--primary) 12%, var(--bg-card)) !important;
  color: var(--primary) !important;
}

body.syls-reader-ui .syls-comments .comment-signarea .signup-loader.but {
  border-color: color-mix(in srgb, #ff7a1a 16%, transparent) !important;
  background: color-mix(in srgb, #ff7a1a 12%, var(--bg-card)) !important;
  color: #f97316 !important;
}

body.syls-reader-ui .syls-comments .comment-signarea .signin-loader.but:hover,
body.syls-reader-ui .syls-comments .comment-signarea .signup-loader.but:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--shadow-soft) 62%, transparent) !important;
}

body.syls-reader-ui .syls-comments .comment-signarea .but i,
body.syls-reader-ui .syls-comments .comment-signarea .but svg,
body.syls-reader-ui .syls-comments .comment-signarea .but .icon {
  width: 14px;
  height: 14px;
  margin: 0 !important;
  flex: 0 0 auto;
}

body.syls-reader-ui .syls-comments .comment-signarea .mr10,
body.syls-reader-ui .syls-comments .comment-signarea .ml10 {
  margin-right: 0 !important;
  margin-left: 0 !important;
}

body.syls-reader-ui .syls-comments #postcomments {
  padding: 18px !important;
  border-top: 1px solid var(--border-subtle) !important;
  background: transparent !important;
}

body.syls-reader-ui .syls-comments .commentlist {
  margin: 0 !important;
}

body.syls-reader-ui .syls-comments .comment-null,
body.syls-reader-ui .syls-comments .null-box,
body.syls-reader-ui .syls-comments .zib-widget-null {
  min-height: 180px;
  margin: 0 !important;
  padding: 20px !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: color-mix(in srgb, var(--bg-panel) 45%, transparent) !important;
  box-shadow: none !important;
}

body.syls-reader-ui[data-syls-theme="dark"] .syls-comments #comments,
body.syls-reader-ui.dark-theme .syls-comments #comments {
  background: transparent !important;
}

body.syls-reader-ui[data-syls-theme="dark"] .syls-comments .no_webshot.main-bg.theme-box,
body.syls-reader-ui.dark-theme .syls-comments .no_webshot.main-bg.theme-box {
  border-color: rgba(255, 255, 255, 0.08) !important;
  background: rgba(21, 31, 45, 0.72) !important;
}

body.syls-reader-ui[data-syls-theme="dark"] .syls-comments .comment-signarea .signin-loader.but,
body.syls-reader-ui.dark-theme .syls-comments .comment-signarea .signin-loader.but {
  border-color: color-mix(in srgb, var(--primary) 26%, transparent) !important;
  background: color-mix(in srgb, var(--primary) 18%, var(--bg-card)) !important;
  color: color-mix(in srgb, var(--primary) 82%, #fff) !important;
}

body.syls-reader-ui[data-syls-theme="dark"] .syls-comments .comment-signarea .signup-loader.but,
body.syls-reader-ui.dark-theme .syls-comments .comment-signarea .signup-loader.but {
  border-color: color-mix(in srgb, #ff9a3d 26%, transparent) !important;
  background: color-mix(in srgb, #ff7a1a 18%, var(--bg-card)) !important;
  color: #ffae6f !important;
}

body.syls-reader-ui[data-syls-theme="dark"] .syls-comments .comment-null,
body.syls-reader-ui[data-syls-theme="dark"] .syls-comments .null-box,
body.syls-reader-ui[data-syls-theme="dark"] .syls-comments .zib-widget-null,
body.syls-reader-ui.dark-theme .syls-comments .comment-null,
body.syls-reader-ui.dark-theme .syls-comments .null-box,
body.syls-reader-ui.dark-theme .syls-comments .zib-widget-null {
  background: rgba(10, 18, 29, 0.36) !important;
}

@keyframes syls-title-icon-breathe {
  0%,
  100% {
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--syls-item-color, var(--primary)) 12%, transparent);
  }

  50% {
    box-shadow:
      0 0 0 1px color-mix(in srgb, var(--syls-item-color, var(--primary)) 22%, transparent),
      0 0 18px color-mix(in srgb, var(--syls-item-color, var(--primary)) 16%, transparent);
  }
}

@keyframes syls-title-icon-halo {
  0%,
  100% {
    transform: scale(0.92);
    opacity: 0.16;
  }

  50% {
    transform: scale(1.08);
    opacity: 0.34;
  }
}

@media (prefers-reduced-motion: reduce) {
  .syls-article-title-icon,
  .syls-article-title-icon::after {
    animation: none;
  }
}

.syls-article-meta {
  gap: 8px 12px;
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 12px;
}

.syls-article-meta a,
.syls-article-meta-item {
  gap: 6px;
  color: var(--text-secondary);
}

.syls-article-meta-icon {
  width: 20px;
  height: 20px;
  border-radius: 7px;
  background: color-mix(in srgb, var(--primary) 10%, transparent);
  color: var(--primary);
  font-size: 11px;
}

.syls-featured-image {
  border: 1px solid var(--border-subtle);
  border-radius: 22px;
  box-shadow: none;
}

.syls-featured-image img,
.syls-article-content img,
.syls-article-content video,
.syls-article-content iframe {
  border: 1px solid var(--border-subtle);
  box-shadow: none;
}

.syls-article-content {
  max-width: 920px;
  color: var(--text-primary);
  line-height: var(--syls-article-line-height, 1.9);
}

.syls-article-content .theme-box,
.syls-article-content blockquote {
  border: 1px solid color-mix(in srgb, var(--warning) 18%, var(--border-subtle));
  border-radius: 16px;
  background: color-mix(in srgb, var(--warning-soft) 65%, var(--bg-card));
  box-shadow: none;
}

[data-syls-theme="dark"] .syls-article-content .theme-box,
[data-syls-theme="dark"] .syls-article-content blockquote {
  background: color-mix(in srgb, var(--warning-soft) 72%, var(--bg-card));
}

.syls-article-content .alert {
  color: #fff;
}

.syls-pay-box .pay-box,
.syls-pay-box .hidden-box,
.syls-pay-box .theme-box,
.syls-comments .theme-box,
.syls-comments #comments,
.syls-comments #respond,
.syls-comments .comment-signarea,
.syls-comments .commentlist .comment,
.syls-comments .comment-body {
  border-color: var(--border-subtle) !important;
  background: var(--bg-card) !important;
  box-shadow: none !important;
}

.syls-overview-latest,
.syls-archive-latest,
.syls-pagination a,
.syls-action,
.syls-comments .but,
.syls-reader-ui .but,
.syls-reader-ui button,
.syls-reader-ui input[type="submit"] {
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

/* ------------------------------
   2026-06 profile / author page refresh
   Remove this block to roll back
------------------------------ */
body.author:not(.syls-reader-ui) .header,
body.author:not(.syls-reader-ui) .navbar,
body.author:not(.syls-reader-ui) .footer,
body:not(.syls-reader-ui):has(.user-center) .header,
body:not(.syls-reader-ui):has(.user-center) .navbar,
body:not(.syls-reader-ui):has(.user-center) .footer {
  display: none !important;
}

body.author:not(.syls-reader-ui) main,
body:not(.syls-reader-ui):has(.user-center) main {
  padding-top: 18px;
  padding-bottom: 18px;
}

body.author:not(.syls-reader-ui) main > .container,
body:not(.syls-reader-ui):has(.user-center) main > .container {
  width: min(1440px, calc(100vw - 36px));
}

body.author:not(.syls-reader-ui) .author-header,
body:not(.syls-reader-ui):has(.user-center) .author-header {
  margin-bottom: 18px !important;
  border: 1px solid var(--border-subtle) !important;
  border-radius: 26px !important;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--bg-panel) 96%, transparent), color-mix(in srgb, var(--bg-card) 98%, transparent)) !important;
  box-shadow: var(--shadow-soft) !important;
  overflow: hidden;
}

body.author:not(.syls-reader-ui) .author-header .page-cover,
body:not(.syls-reader-ui):has(.user-center) .author-header .page-cover {
  min-height: 118px;
  padding-bottom: 0;
}

body.author:not(.syls-reader-ui) .author-header .header-content,
body:not(.syls-reader-ui):has(.user-center) .author-header .header-content {
  padding: 16px 18px 18px;
}

body.author:not(.syls-reader-ui) .author-header .header-info,
body:not(.syls-reader-ui):has(.user-center) .author-header .header-info {
  align-items: flex-start;
  gap: 14px;
}

body.author:not(.syls-reader-ui) .author-header .header-avatar,
body:not(.syls-reader-ui):has(.user-center) .author-header .header-avatar {
  margin-top: -42px;
}

body.author:not(.syls-reader-ui) .author-header .avatar-img,
body:not(.syls-reader-ui):has(.user-center) .author-header .avatar-img {
  --this-size: 84px;
}

body.author:not(.syls-reader-ui) .author-header .display-name,
body.author:not(.syls-reader-ui) .author-header .name,
body:not(.syls-reader-ui):has(.user-center) .author-header .display-name,
body:not(.syls-reader-ui):has(.user-center) .author-header .name {
  font-size: 26px !important;
  line-height: 1.18 !important;
}

body.author:not(.syls-reader-ui) .author-header .desc,
body.author:not(.syls-reader-ui) .author-header .user-identity,
body:not(.syls-reader-ui):has(.user-center) .author-header .desc,
body:not(.syls-reader-ui):has(.user-center) .author-header .user-identity {
  color: var(--text-secondary) !important;
}

@media (min-width: 992px) {
  body.author:not(.syls-reader-ui) main > .container {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    column-gap: 24px;
    row-gap: 0;
    align-items: start;
  }

  body.author:not(.syls-reader-ui) .author-header {
    grid-column: 1;
    position: sticky;
    top: 104px;
    z-index: 3;
  }

  body.author:not(.syls-reader-ui) .fluid-widget {
    grid-column: 1 / -1;
    order: 3;
  }

  body.author:not(.syls-reader-ui) .author-tab {
    grid-column: 2;
    min-width: 0;
  }

}

body.author:not(.syls-reader-ui) .author-tab,
body:not(.syls-reader-ui):has(.user-center) .user-center-content,
body:not(.syls-reader-ui):has(.user-center) .author-tab {
  min-width: 0;
}

body.author:not(.syls-reader-ui) .author-tab,
body:not(.syls-reader-ui):has(.user-center) .user-center-content {
  border: 1px solid var(--border-subtle) !important;
  border-radius: 28px !important;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--bg-panel) 98%, transparent), color-mix(in srgb, var(--bg-card) 98%, transparent)) !important;
  box-shadow: var(--shadow-soft) !important;
  overflow: hidden;
}

body.syls-user-center-page:not(.syls-reader-ui),
body.syls-author-page:not(.syls-reader-ui) {
  padding-top: 0 !important;
  color: var(--text-primary);
}

body.syls-user-center-page:not(.syls-reader-ui) .posts-item,
body.syls-author-page:not(.syls-reader-ui) .posts-item {
  color: var(--text-primary);
}

body.syls-user-center-page:not(.syls-reader-ui) .posts-item .item-heading,
body.syls-user-center-page:not(.syls-reader-ui) .posts-item .item-heading a,
body.syls-user-center-page:not(.syls-reader-ui) .posts-item .item-heading *,
body.syls-author-page:not(.syls-reader-ui) .posts-item .item-heading,
body.syls-author-page:not(.syls-reader-ui) .posts-item .item-heading a,
body.syls-author-page:not(.syls-reader-ui) .posts-item .item-heading * {
  color: #21314f !important;
  -webkit-text-fill-color: #21314f !important;
  opacity: 1 !important;
}

body.syls-user-center-page:not(.syls-reader-ui) .posts-item .item-excerpt,
body.syls-user-center-page:not(.syls-reader-ui) .posts-item .muted-color,
body.syls-user-center-page:not(.syls-reader-ui) .posts-item .muted-2-color,
body.syls-author-page:not(.syls-reader-ui) .posts-item .item-excerpt,
body.syls-author-page:not(.syls-reader-ui) .posts-item .muted-color,
body.syls-author-page:not(.syls-reader-ui) .posts-item .muted-2-color {
  color: #5e6f8e !important;
  -webkit-text-fill-color: #5e6f8e !important;
  opacity: 1 !important;
}

body.author:not(.syls-reader-ui) .author-tab .affix-header-sm,
body:not(.syls-reader-ui):has(.user-center) .user-center-content .affix-header-sm,
body:not(.syls-reader-ui):has(.user-center) .author-tab .affix-header-sm {
  padding: 18px 20px 0;
  background: transparent;
}

body.author:not(.syls-reader-ui) .author-tab .tab-nav-theme,
body:not(.syls-reader-ui):has(.user-center) .tab-nav-theme {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
}

body.author:not(.syls-reader-ui) .author-tab .tab-nav-theme > li,
body:not(.syls-reader-ui):has(.user-center) .tab-nav-theme > li {
  padding: 0;
}

body.author:not(.syls-reader-ui) .author-tab .tab-nav-theme > li > a,
body:not(.syls-reader-ui):has(.user-center) .tab-nav-theme > li > a,
body:not(.syls-reader-ui):has(.user-center) .user-tab > a {
  min-height: 40px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-subtle);
  border-radius: 999px !important;
  background: var(--bg-card);
  color: var(--text-secondary) !important;
  box-shadow: none !important;
}

body.author:not(.syls-reader-ui) .author-tab .tab-nav-theme > li.active > a,
body.author:not(.syls-reader-ui) .author-tab .tab-nav-theme > li > a:hover,
body.author:not(.syls-reader-ui) .author-tab .tab-nav-theme > li > a:focus,
body:not(.syls-reader-ui):has(.user-center) .tab-nav-theme > li.active > a,
body:not(.syls-reader-ui):has(.user-center) .tab-nav-theme > li > a:hover,
body:not(.syls-reader-ui):has(.user-center) .tab-nav-theme > li > a:focus,
body:not(.syls-reader-ui):has(.user-center) .user-tab a.active {
  border-color: color-mix(in srgb, var(--primary) 22%, var(--border-strong));
  background: var(--primary-gradient) !important;
  color: #fff !important;
}

body.author:not(.syls-reader-ui) .author-tab > .main-tab-content,
body:not(.syls-reader-ui):has(.user-center) .tab-content,
body:not(.syls-reader-ui):has(.user-center) .user-center-content > * {
  padding: 18px 20px 22px;
}

body:not(.syls-reader-ui):has(.user-center) .col-sm-3,
body:not(.syls-reader-ui):has(.user-center) .sidebar-user {
  display: grid;
  gap: 16px;
  align-content: start;
}

body:not(.syls-reader-ui):has(.user-center) .user-center .hide {
  display: none !important;
}

body:not(.syls-reader-ui):has(.user-center) .user-statistics-item,
body:not(.syls-reader-ui):has(.user-center) .icon-but-box > item,
body.author:not(.syls-reader-ui) .post-metas item a {
  border-radius: 18px;
}

body.author:not(.syls-reader-ui) .zib-widget,
body.author:not(.syls-reader-ui) .posts-item,
body.author:not(.syls-reader-ui) .ajax-item,
body.author:not(.syls-reader-ui) .post-list,
body:not(.syls-reader-ui):has(.user-center) .zib-widget,
body:not(.syls-reader-ui):has(.user-center) .posts-item,
body:not(.syls-reader-ui):has(.user-center) .ajax-item,
body:not(.syls-reader-ui):has(.user-center) .post-list {
  border: 1px solid var(--border-subtle) !important;
  border-radius: 22px !important;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--bg-card) 98%, transparent), color-mix(in srgb, var(--bg-card-hover) 94%, transparent)) !important;
  box-shadow: none !important;
}

body:not(.syls-reader-ui):has(.user-center) .user-center .zib-widget,
body:not(.syls-reader-ui):has(.user-center) .user-center .user-card,
body:not(.syls-reader-ui):has(.user-center) .user-center .vip-card,
body:not(.syls-reader-ui):has(.user-center) .user-center .user-data {
  padding: 16px !important;
}

body.dark-theme.author:not(.syls-reader-ui),
body.dark-theme:not(.syls-reader-ui):has(.user-center) {
  background:
    radial-gradient(circle at 18% 0%, color-mix(in srgb, var(--primary) 10%, transparent), transparent 32%),
    radial-gradient(circle at 82% 4%, rgba(255, 255, 255, 0.03), transparent 22%),
    var(--bg-page);
}

body.dark-theme.author:not(.syls-reader-ui) .header,
body.dark-theme.author:not(.syls-reader-ui) .navbar,
body.dark-theme:not(.syls-reader-ui):has(.user-center) .header,
body.dark-theme:not(.syls-reader-ui):has(.user-center) .navbar,
body.dark-theme.author:not(.syls-reader-ui) .author-header,
body.dark-theme.author:not(.syls-reader-ui) .author-tab,
body.dark-theme:not(.syls-reader-ui):has(.user-center) .author-header,
body.dark-theme:not(.syls-reader-ui):has(.user-center) .user-center-content,
body.dark-theme:not(.syls-reader-ui):has(.user-center) .zib-widget,
body.dark-theme:not(.syls-reader-ui):has(.user-center) .posts-item,
body.dark-theme:not(.syls-reader-ui):has(.user-center) .ajax-item,
body.dark-theme:not(.syls-reader-ui):has(.user-center) .post-list {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--bg-panel) 94%, transparent), color-mix(in srgb, var(--bg-card) 92%, transparent)) !important;
  box-shadow: none !important;
}

body.dark-theme:not(.syls-reader-ui):has(.user-center) .posts-item .item-heading,
body.dark-theme:not(.syls-reader-ui):has(.user-center) .posts-item .item-heading.main-color,
body.dark-theme:not(.syls-reader-ui):has(.user-center) .posts-item .item-heading a,
body.dark-theme:not(.syls-reader-ui):has(.user-center) .posts-item .item-heading a.main-color,
body.dark-theme:not(.syls-reader-ui):has(.user-center) .posts-item .item-body .main-color {
  color: var(--text-primary) !important;
}

body.dark-theme:not(.syls-reader-ui):has(.user-center) .posts-item .item-heading a:hover,
body.dark-theme:not(.syls-reader-ui):has(.user-center) .posts-item .item-heading a:focus {
  color: color-mix(in srgb, var(--text-primary) 88%, var(--primary)) !important;
}

body.dark-theme:not(.syls-reader-ui):has(.user-center) .posts-item .item-excerpt,
body.dark-theme:not(.syls-reader-ui):has(.user-center) .posts-item .muted-color,
body.dark-theme:not(.syls-reader-ui):has(.user-center) .posts-item .muted-2-color {
  color: var(--text-secondary) !important;
}

@media (max-width: 991px) {
  body.author:not(.syls-reader-ui) main > .container,
  body:not(.syls-reader-ui):has(.user-center) main > .container {
    width: min(100%, calc(100vw - 20px));
  }

  body.author:not(.syls-reader-ui) .author-header,
  body:not(.syls-reader-ui):has(.user-center) .author-header {
    position: static;
  }

  body.author:not(.syls-reader-ui) .author-header .header-avatar,
  body:not(.syls-reader-ui):has(.user-center) .author-header .header-avatar {
    margin-top: -34px;
  }

  body.author:not(.syls-reader-ui) .author-header .avatar-img,
  body:not(.syls-reader-ui):has(.user-center) .author-header .avatar-img {
    --this-size: 76px;
  }

  body.author:not(.syls-reader-ui) .author-header .display-name,
  body.author:not(.syls-reader-ui) .author-header .name,
  body:not(.syls-reader-ui):has(.user-center) .author-header .display-name,
  body:not(.syls-reader-ui):has(.user-center) .author-header .name {
    font-size: 22px !important;
  }
}

/* ------------------------------
   2026-06 user center custom layout
   Remove this block to roll back
------------------------------ */
body:not(.syls-reader-ui):has(.user-center) .author-header,
body:not(.syls-reader-ui):has(.user-center) .sidebar-user {
  display: none !important;
}

body:not(.syls-reader-ui):has(.user-center) .user-center {
  margin: 0;
}

@media (min-width: 992px) {
  body:not(.syls-reader-ui):has(.user-center) main > .container {
    display: block;
  }

  body:not(.syls-reader-ui):has(.user-center) .user-center {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
  }

  body.syls-sidebar-collapsed:not(.syls-reader-ui):has(.user-center) .user-center {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  body:not(.syls-reader-ui):has(.user-center) .user-center > .col-sm-3,
  body:not(.syls-reader-ui):has(.user-center) .user-center > [class*="col-sm-3"] {
    grid-column: 1;
    grid-row: 1;
    float: none;
    width: auto;
    min-width: 0;
    margin-top: 0 !important;
    padding-top: 0 !important;
    align-self: start;
    position: sticky;
    top: 18px;
    z-index: 5;
    max-height: calc(100vh - 36px);
    overflow: hidden;
    overscroll-behavior: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  body:not(.syls-reader-ui):has(.user-center) .user-center > .col-sm-3::-webkit-scrollbar,
  body:not(.syls-reader-ui):has(.user-center) .user-center > [class*="col-sm-3"]::-webkit-scrollbar {
    display: none;
  }

  body:not(.syls-reader-ui):has(.user-center) .syls-user-sidebar-shell {
    grid-template-rows: auto auto auto;
    max-height: calc(100vh - 36px);
    min-height: 0;
    overflow-x: hidden;
    overflow-y: hidden;
    overscroll-behavior: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  body:not(.syls-reader-ui):has(.user-center) .syls-user-sidebar-shell:hover,
  body:not(.syls-reader-ui):has(.user-center) .syls-user-sidebar-shell:focus-within {
    overflow-y: auto;
  }

  body:not(.syls-reader-ui):has(.user-center) .syls-user-sidebar-shell::-webkit-scrollbar {
    display: none;
  }

  body:not(.syls-reader-ui):has(.user-center) .syls-user-nav {
    min-height: 0;
    overflow: visible;
    overscroll-behavior: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  body:not(.syls-reader-ui):has(.user-center) .syls-user-nav::-webkit-scrollbar {
    display: none;
  }

  body:not(.syls-reader-ui):has(.user-center) .user-center-content,
  body:not(.syls-reader-ui):has(.user-center) .user-center > .col-sm-9,
  body:not(.syls-reader-ui):has(.user-center) .user-center > [class*="col-sm-9"] {
    grid-column: 2;
    grid-row: 1;
    float: none;
    width: auto;
    min-width: 0;
    margin-top: 0 !important;
    align-self: start;
    height: auto !important;
    min-height: 0 !important;
  }
}

body:not(.syls-reader-ui):has(.user-center) .user-center > .col-sm-3,
body:not(.syls-reader-ui):has(.user-center) .user-center > [class*="col-sm-3"] {
  display: grid;
  gap: 18px;
  align-content: start;
}

body:not(.syls-reader-ui):has(.user-center) .syls-user-sidebar-shell {
  position: relative;
  display: grid;
  gap: 18px;
}

body:not(.syls-reader-ui):has(.user-center) .syls-user-sidebar-head {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 8px 24px 10px 14px;
}

body:not(.syls-reader-ui):has(.user-center) .syls-user-sidebar-head .syls-brand {
  min-height: 52px;
}

body:not(.syls-reader-ui):has(.user-center) .user-center-content {
  border: 1px solid var(--border-subtle) !important;
  border-radius: 28px !important;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--bg-panel) 98%, transparent), color-mix(in srgb, var(--bg-card) 98%, transparent)) !important;
  box-shadow: var(--shadow-soft) !important;
  overflow: hidden;
  height: auto !important;
  min-height: 0 !important;
}

body:not(.syls-reader-ui):has(.user-center) .user-center-content > .zib-widget,
body:not(.syls-reader-ui):has(.user-center) .user-center-content > * {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body:not(.syls-reader-ui):has(.user-center) .syls-user-profile,
body:not(.syls-reader-ui):has(.user-center) .syls-user-nav {
  border: 1px solid var(--border-subtle) !important;
  border-radius: 28px !important;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--bg-panel) 98%, transparent), color-mix(in srgb, var(--bg-card) 98%, transparent)) !important;
  box-shadow: var(--shadow-soft) !important;
}

body:not(.syls-reader-ui):has(.user-center) .syls-user-profile {
  padding: 22px 20px 20px !important;
  text-align: center;
  transition: padding 0.22s ease;
}

body:not(.syls-reader-ui):has(.user-center) .syls-user-profile-avatar {
  width: 92px;
  height: 92px;
  margin: 0 auto 14px;
}

body:not(.syls-reader-ui):has(.user-center) .syls-user-profile-avatar .avatar {
  width: 92px;
  height: 92px;
  border-radius: 24px;
  border: 1px solid var(--border-subtle);
  box-shadow: none;
}

body:not(.syls-reader-ui):has(.user-center) .syls-user-profile-name {
  color: var(--text-primary);
  font-size: 24px;
  font-weight: 760;
  line-height: 1.16;
}

body:not(.syls-reader-ui):has(.user-center) .syls-user-profile-meta,
body:not(.syls-reader-ui):has(.user-center) .syls-user-profile-desc {
  margin-top: 8px;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.6;
  word-break: break-word;
}

body:not(.syls-reader-ui):has(.user-center) .syls-user-profile-meta {
  max-height: 42px;
  overflow: hidden;
  transition: opacity 0.22s ease, max-height 0.22s ease, margin 0.22s ease, transform 0.22s ease;
}

body:not(.syls-reader-ui):has(.user-center) .syls-user-profile-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
  max-height: 260px;
  overflow: hidden;
  transition: opacity 0.24s ease, max-height 0.24s ease, margin 0.24s ease, transform 0.24s ease;
}

body:not(.syls-reader-ui):has(.user-center) .syls-user-sidebar-shell.is-profile-compact .syls-user-profile {
  padding-bottom: 18px !important;
}

body:not(.syls-reader-ui):has(.user-center) .syls-user-sidebar-shell.is-profile-compact .syls-user-profile-meta,
body:not(.syls-reader-ui):has(.user-center) .syls-user-sidebar-shell.is-profile-compact .syls-user-profile-stats {
  max-height: 0;
  margin-top: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
}

body:not(.syls-reader-ui):has(.user-center) .syls-user-profile-stats span {
  padding: 12px 10px;
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  background: color-mix(in srgb, var(--bg-card) 90%, transparent);
}

body:not(.syls-reader-ui):has(.user-center) .syls-user-profile-stat {
  position: relative;
  box-sizing: border-box;
  display: block;
  padding: 12px 10px;
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  background: color-mix(in srgb, var(--bg-card) 90%, transparent);
  color: inherit !important;
  text-decoration: none !important;
  overflow: hidden;
  transform: none !important;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

body:not(.syls-reader-ui):has(.user-center) .syls-user-profile-stat::before,
body:not(.syls-reader-ui):has(.user-center) .syls-user-profile-stat::after {
  display: none !important;
  content: none !important;
}

body:not(.syls-reader-ui):has(.user-center) .syls-user-profile-stat:hover,
body:not(.syls-reader-ui):has(.user-center) .syls-user-profile-stat:focus-visible {
  border-color: color-mix(in srgb, var(--primary) 18%, var(--border-strong));
  background: color-mix(in srgb, var(--primary-soft) 70%, var(--bg-card));
  transform: none !important;
}

body:not(.syls-reader-ui):has(.user-center) .syls-user-profile-stat.is-active {
  border-color: color-mix(in srgb, var(--primary) 22%, var(--border-strong));
  background: color-mix(in srgb, var(--primary-soft) 78%, var(--bg-card));
}

body:not(.syls-reader-ui):has(.user-center) .syls-user-profile-stats b,
body:not(.syls-reader-ui):has(.user-center) .syls-user-profile-stats em {
  position: relative;
  z-index: 1;
  display: block;
}

body:not(.syls-reader-ui):has(.user-center) .syls-user-profile-stats b {
  color: var(--text-primary);
  font-size: 18px;
  font-style: normal;
  font-weight: 760;
}

body:not(.syls-reader-ui):has(.user-center) .syls-user-profile-stats em {
  margin-top: 4px;
  color: #667a9d;
  font-size: 12px;
  font-style: normal;
  font-weight: 650;
}

body:not(.syls-reader-ui):has(.user-center) .syls-user-nav {
  position: relative;
  padding: 28px 18px !important;
}

body:not(.syls-reader-ui):has(.user-center) .syls-user-nav-group.is-compact-stats {
  display: none;
}

body:not(.syls-reader-ui):has(.user-center) .syls-user-nav-group-actions {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

body:not(.syls-reader-ui):has(.user-center) .syls-user-nav-group + .syls-user-nav-group {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

body:not(.syls-reader-ui):has(.user-center) .syls-user-nav-group-title {
  padding: 0 12px 12px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.04em;
}

body:not(.syls-reader-ui):has(.user-center) .syls-user-nav-item {
  position: relative;
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 16px;
  color: var(--text-secondary) !important;
  text-decoration: none !important;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

body:not(.syls-reader-ui):has(.user-center) .syls-user-nav-item + .syls-user-nav-item {
  margin-top: 6px;
}

body:not(.syls-reader-ui):has(.user-center) .syls-user-nav-item:hover,
body:not(.syls-reader-ui):has(.user-center) .syls-user-nav-item:focus-visible {
  background: color-mix(in srgb, var(--primary-soft) 66%, var(--bg-card));
  color: var(--primary) !important;
}

body:not(.syls-reader-ui):has(.user-center) .syls-user-nav-item.is-active,
body:not(.syls-reader-ui):has(.user-center) .syls-user-nav-item.active {
  border-color: color-mix(in srgb, var(--primary) 22%, var(--border-subtle));
  background: color-mix(in srgb, var(--primary-soft) 82%, var(--bg-card));
  color: var(--primary) !important;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary) 8%, transparent);
}

body:not(.syls-reader-ui):has(.user-center) .syls-user-nav-item.is-active::before,
body:not(.syls-reader-ui):has(.user-center) .syls-user-nav-item.active::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 14px;
  bottom: 14px;
  width: 3px;
  border-radius: 99px;
  background: var(--primary);
}

body:not(.syls-reader-ui):has(.user-center) .syls-user-nav-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  background: color-mix(in srgb, var(--primary) 10%, transparent);
  color: var(--primary);
  font-size: 15px;
}

body:not(.syls-reader-ui):has(.user-center) .syls-user-nav-item.is-active .syls-user-nav-icon,
body:not(.syls-reader-ui):has(.user-center) .syls-user-nav-item.active .syls-user-nav-icon {
  background: color-mix(in srgb, var(--primary) 15%, transparent);
  color: var(--primary);
}

body:not(.syls-reader-ui):has(.user-center) .syls-user-nav-action {
  cursor: pointer;
}

body:not(.syls-reader-ui):has(.user-center) .syls-user-checkin-action {
  color: var(--text-primary) !important;
}

body:not(.syls-reader-ui):has(.user-center) .syls-user-checkin-action .syls-user-nav-icon {
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  color: var(--primary);
}

body:not(.syls-reader-ui):has(.user-center) .syls-user-checkin-action.checkin-details-link {
  border-color: color-mix(in srgb, var(--primary) 18%, var(--border-subtle));
  background: color-mix(in srgb, var(--primary-soft) 64%, var(--bg-card));
  color: var(--primary) !important;
}

body:not(.syls-reader-ui):has(.user-center) .syls-user-checkin-action.checkin-details-link .syls-user-nav-icon {
  background: color-mix(in srgb, var(--primary) 18%, transparent);
}

body:not(.syls-reader-ui):has(.user-center) .syls-user-logout-action {
  margin-top: 8px;
  color: #d15a66 !important;
}

body:not(.syls-reader-ui):has(.user-center) .syls-user-logout-action .syls-user-nav-icon {
  background: color-mix(in srgb, #ff6b76 12%, transparent);
  color: #d15a66;
}

body.syls-sidebar-collapsed:not(.syls-reader-ui):has(.user-center) .syls-user-sidebar-shell {
  gap: 14px;
  justify-items: center;
  width: 92px;
}

body.syls-sidebar-collapsed:not(.syls-reader-ui):has(.user-center) .syls-user-sidebar-head {
  justify-items: center;
  width: 72px;
  min-height: 0;
  padding: 0;
}

body.syls-sidebar-collapsed:not(.syls-reader-ui):has(.user-center) .syls-user-sidebar-head .syls-brand {
  display: flex;
  justify-content: center;
  width: 58px;
  min-width: 58px;
  min-height: 58px;
  height: 58px;
  padding: 0;
  overflow: hidden;
  border-radius: 999px;
  background: transparent;
}

body.syls-sidebar-collapsed:not(.syls-reader-ui):has(.user-center) .syls-user-sidebar-head .syls-logo-pair {
  width: 36px;
  overflow: hidden;
}

body.syls-sidebar-collapsed:not(.syls-reader-ui):has(.user-center) .syls-user-sidebar-head .syls-brand img {
  max-width: none;
  max-height: 36px;
  object-position: left center;
}

body.syls-sidebar-collapsed:not(.syls-reader-ui):has(.user-center) .syls-user-profile,
body.syls-sidebar-collapsed:not(.syls-reader-ui):has(.user-center) .syls-user-nav {
  justify-self: center;
  width: 72px;
  max-width: 72px;
  min-width: 0;
  overflow: hidden;
  border-radius: 24px !important;
}

body.syls-sidebar-collapsed:not(.syls-reader-ui):has(.user-center) .syls-user-profile {
  padding: 10px 6px !important;
}

body.syls-sidebar-collapsed:not(.syls-reader-ui):has(.user-center) .syls-user-profile-avatar {
  width: 58px;
  height: 58px;
  margin: 0 auto;
}

body.syls-sidebar-collapsed:not(.syls-reader-ui):has(.user-center) .syls-user-profile-avatar .avatar {
  width: 58px;
  height: 58px;
  border-radius: 20px;
}

body.syls-sidebar-collapsed:not(.syls-reader-ui):has(.user-center) .syls-user-profile-name,
body.syls-sidebar-collapsed:not(.syls-reader-ui):has(.user-center) .syls-user-profile-meta,
body.syls-sidebar-collapsed:not(.syls-reader-ui):has(.user-center) .syls-user-profile-desc,
body.syls-sidebar-collapsed:not(.syls-reader-ui):has(.user-center) .syls-user-profile-stats,
body.syls-sidebar-collapsed:not(.syls-reader-ui):has(.user-center) .syls-user-nav-group-title,
body.syls-sidebar-collapsed:not(.syls-reader-ui):has(.user-center) .syls-user-nav-item > span:not(.syls-user-nav-icon) {
  display: none !important;
}

body.syls-sidebar-collapsed:not(.syls-reader-ui):has(.user-center) .syls-user-nav {
  padding: 10px 8px !important;
}

body.syls-sidebar-collapsed:not(.syls-reader-ui):has(.user-center) .syls-user-nav-group.is-compact-stats {
  display: grid;
  gap: 10px;
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

body.syls-sidebar-collapsed:not(.syls-reader-ui):has(.user-center) .syls-user-nav-group + .syls-user-nav-group,
body.syls-sidebar-collapsed:not(.syls-reader-ui):has(.user-center) .syls-user-nav-group-actions {
  margin-top: 14px;
  padding-top: 14px;
}

body.syls-sidebar-collapsed:not(.syls-reader-ui):has(.user-center) .syls-user-nav-item {
  justify-content: center;
  width: 54px;
  min-height: 54px;
  padding: 0;
  margin-right: auto;
  margin-left: auto;
}

body.syls-sidebar-collapsed:not(.syls-reader-ui):has(.user-center) .syls-user-nav-item + .syls-user-nav-item {
  margin-top: 8px;
}

[data-syls-theme="dark"]:not(.syls-reader-ui):has(.user-center) .syls-user-logout-action {
  color: #ff9aa4 !important;
}

[data-syls-theme="dark"]:not(.syls-reader-ui):has(.user-center) .syls-user-logout-action .syls-user-nav-icon {
  background: color-mix(in srgb, #ff7d8b 14%, rgba(255, 255, 255, 0.04));
  color: #ffb0b8;
}

html[data-syls-theme="dark"] body.syls-user-center-page:not(.syls-reader-ui),
html[data-theme="dark"] body.syls-user-center-page:not(.syls-reader-ui),
html[data-syls-theme="dark"] body.syls-author-page:not(.syls-reader-ui),
html[data-theme="dark"] body.syls-author-page:not(.syls-reader-ui),
body[data-syls-theme="dark"].syls-user-center-page:not(.syls-reader-ui),
body[data-theme="dark"].syls-user-center-page:not(.syls-reader-ui),
body[data-syls-theme="dark"].syls-author-page:not(.syls-reader-ui),
body[data-theme="dark"].syls-author-page:not(.syls-reader-ui),
body.dark-theme.syls-user-center-page:not(.syls-reader-ui),
body.dark-theme.syls-author-page:not(.syls-reader-ui) {
  background:
    radial-gradient(circle at top left, rgba(67, 125, 214, 0.10), transparent 32%),
    linear-gradient(180deg, #0d1523 0%, #0b1320 100%) !important;
  color: #eaf2ff !important;
}

html[data-syls-theme="dark"] body.syls-user-center-page:not(.syls-reader-ui) main,
html[data-theme="dark"] body.syls-user-center-page:not(.syls-reader-ui) main,
html[data-syls-theme="dark"] body.syls-author-page:not(.syls-reader-ui) main,
html[data-theme="dark"] body.syls-author-page:not(.syls-reader-ui) main,
body[data-syls-theme="dark"].syls-user-center-page:not(.syls-reader-ui) main,
body[data-theme="dark"].syls-user-center-page:not(.syls-reader-ui) main,
body[data-syls-theme="dark"].syls-author-page:not(.syls-reader-ui) main,
body[data-theme="dark"].syls-author-page:not(.syls-reader-ui) main,
body.dark-theme.syls-user-center-page:not(.syls-reader-ui) main,
body.dark-theme.syls-author-page:not(.syls-reader-ui) main {
  background: transparent !important;
}

html[data-syls-theme="dark"] body.syls-user-center-page:not(.syls-reader-ui) .user-center-content,
html[data-theme="dark"] body.syls-user-center-page:not(.syls-reader-ui) .user-center-content,
html[data-syls-theme="dark"] body.syls-author-page:not(.syls-reader-ui) .author-tab,
html[data-theme="dark"] body.syls-author-page:not(.syls-reader-ui) .author-tab,
body[data-syls-theme="dark"].syls-user-center-page:not(.syls-reader-ui) .user-center-content,
body[data-theme="dark"].syls-user-center-page:not(.syls-reader-ui) .user-center-content,
body[data-syls-theme="dark"].syls-author-page:not(.syls-reader-ui) .author-tab,
body[data-theme="dark"].syls-author-page:not(.syls-reader-ui) .author-tab,
body.dark-theme.syls-user-center-page:not(.syls-reader-ui) .user-center-content,
body.dark-theme.syls-author-page:not(.syls-reader-ui) .author-tab,
html[data-syls-theme="dark"] body.syls-user-center-page:not(.syls-reader-ui) .syls-user-profile,
html[data-theme="dark"] body.syls-user-center-page:not(.syls-reader-ui) .syls-user-profile,
html[data-syls-theme="dark"] body.syls-user-center-page:not(.syls-reader-ui) .syls-user-nav,
html[data-theme="dark"] body.syls-user-center-page:not(.syls-reader-ui) .syls-user-nav,
html[data-syls-theme="dark"] body.syls-author-page:not(.syls-reader-ui) .syls-user-profile,
html[data-theme="dark"] body.syls-author-page:not(.syls-reader-ui) .syls-user-profile,
html[data-syls-theme="dark"] body.syls-author-page:not(.syls-reader-ui) .syls-user-nav,
html[data-theme="dark"] body.syls-author-page:not(.syls-reader-ui) .syls-user-nav,
body[data-syls-theme="dark"].syls-user-center-page:not(.syls-reader-ui) .syls-user-profile,
body[data-theme="dark"].syls-user-center-page:not(.syls-reader-ui) .syls-user-profile,
body[data-syls-theme="dark"].syls-user-center-page:not(.syls-reader-ui) .syls-user-nav,
body[data-theme="dark"].syls-user-center-page:not(.syls-reader-ui) .syls-user-nav,
body[data-syls-theme="dark"].syls-author-page:not(.syls-reader-ui) .syls-user-profile,
body[data-theme="dark"].syls-author-page:not(.syls-reader-ui) .syls-user-profile,
body[data-syls-theme="dark"].syls-author-page:not(.syls-reader-ui) .syls-user-nav,
body[data-theme="dark"].syls-author-page:not(.syls-reader-ui) .syls-user-nav,
body.dark-theme.syls-user-center-page:not(.syls-reader-ui) .syls-user-profile,
body.dark-theme.syls-user-center-page:not(.syls-reader-ui) .syls-user-nav,
body.dark-theme.syls-author-page:not(.syls-reader-ui) .syls-user-profile,
body.dark-theme.syls-author-page:not(.syls-reader-ui) .syls-user-nav {
  background:
    linear-gradient(180deg, rgba(28, 40, 58, 0.98), rgba(19, 28, 43, 0.98)) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 24px 54px rgba(5, 10, 20, 0.18) !important;
}

html[data-syls-theme="dark"] body.syls-user-center-page:not(.syls-reader-ui) .syls-user-profile-stats em,
html[data-theme="dark"] body.syls-user-center-page:not(.syls-reader-ui) .syls-user-profile-stats em,
html[data-syls-theme="dark"] body.syls-author-page:not(.syls-reader-ui) .syls-user-profile-stats em,
html[data-theme="dark"] body.syls-author-page:not(.syls-reader-ui) .syls-user-profile-stats em,
body[data-syls-theme="dark"].syls-user-center-page:not(.syls-reader-ui) .syls-user-profile-stats em,
body[data-theme="dark"].syls-user-center-page:not(.syls-reader-ui) .syls-user-profile-stats em,
body[data-syls-theme="dark"].syls-author-page:not(.syls-reader-ui) .syls-user-profile-stats em,
body[data-theme="dark"].syls-author-page:not(.syls-reader-ui) .syls-user-profile-stats em,
body.dark-theme.syls-user-center-page:not(.syls-reader-ui) .syls-user-profile-stats em,
body.dark-theme.syls-author-page:not(.syls-reader-ui) .syls-user-profile-stats em {
  color: #a9bddb !important;
}

body:not(.syls-reader-ui):has(.user-center) .user-center-content .tab-content {
  padding: 0 20px 22px;
  height: auto !important;
  min-height: 0 !important;
}

body:not(.syls-reader-ui):has(.user-center) .user-center-content .tab-pane {
  padding-top: 18px;
  height: auto !important;
  min-height: 0 !important;
}

body:not(.syls-reader-ui):has(.user-center) .user-center-content .user-order-tabs,
body:not(.syls-reader-ui):has(.user-center) .user-center-content .account-set,
body:not(.syls-reader-ui):has(.user-center) .user-center-content .userdata-set,
body:not(.syls-reader-ui):has(.user-center) .user-center-content .ajaxpager,
body:not(.syls-reader-ui):has(.user-center) .user-center-content .zib-widget {
  border-radius: 20px !important;
}

body:not(.syls-reader-ui):has(.user-center) .syls-history-panel {
  padding: 4px 0;
}

body:not(.syls-reader-ui):has(.user-center) .syls-history-empty {
  padding: 28px 22px;
  border: 1px dashed var(--border-subtle);
  border-radius: 20px;
  color: var(--text-muted);
  text-align: center;
  font-weight: 700;
}

body:not(.syls-reader-ui):has(.user-center) .syls-history-list {
  display: grid;
  gap: 14px;
}

body:not(.syls-reader-ui):has(.user-center) .syls-history-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--border-subtle);
  border-radius: 22px;
  background: color-mix(in srgb, var(--bg-card) 92%, transparent);
  text-decoration: none !important;
  color: inherit !important;
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

body:not(.syls-reader-ui):has(.user-center) .syls-history-card:hover,
body:not(.syls-reader-ui):has(.user-center) .syls-history-card:focus-visible {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--primary) 20%, var(--border-strong));
  background: color-mix(in srgb, var(--primary-soft) 36%, var(--bg-card));
}

body:not(.syls-reader-ui):has(.user-center) .syls-history-thumb {
  display: block;
  width: 132px;
  height: 88px;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--border-subtle);
  background: color-mix(in srgb, var(--primary) 8%, var(--bg-card));
}

body:not(.syls-reader-ui):has(.user-center) .syls-history-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body:not(.syls-reader-ui):has(.user-center) .syls-history-thumb.is-empty {
  display: inline-grid;
  place-items: center;
  color: var(--primary);
  font-size: 26px;
  font-weight: 800;
}

body:not(.syls-reader-ui):has(.user-center) .syls-history-body {
  min-width: 0;
  display: grid;
  gap: 8px;
}

body:not(.syls-reader-ui):has(.user-center) .syls-history-title {
  display: -webkit-box;
  overflow: hidden;
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 760;
  line-height: 1.45;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

body:not(.syls-reader-ui):has(.user-center) .syls-history-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 991px) {
  body:not(.syls-reader-ui):has(.user-center) .user-center > .col-sm-3,
  body:not(.syls-reader-ui):has(.user-center) .user-center > .col-sm-9,
  body:not(.syls-reader-ui):has(.user-center) .user-center > [class*="col-sm-3"],
  body:not(.syls-reader-ui):has(.user-center) .user-center > [class*="col-sm-9"] {
    width: 100%;
    float: none;
  }

  body:not(.syls-reader-ui):has(.user-center) .syls-user-profile,
  body:not(.syls-reader-ui):has(.user-center) .syls-user-nav,
  body:not(.syls-reader-ui):has(.user-center) .user-center-content {
    border-radius: 22px !important;
  }

  body:not(.syls-reader-ui):has(.user-center) .syls-user-sidebar-shell {
    gap: 12px;
  }

  body:not(.syls-reader-ui):has(.user-center) .syls-user-nav {
    padding: 16px !important;
    overflow: visible;
  }

  body:not(.syls-reader-ui):has(.user-center) .syls-user-nav-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  body:not(.syls-reader-ui):has(.user-center) .syls-user-nav-group + .syls-user-nav-group {
    margin-top: 16px;
    padding-top: 16px;
  }

  body:not(.syls-reader-ui):has(.user-center) .syls-user-nav-group-title {
    grid-column: 1 / -1;
    padding: 0 4px 2px;
  }

  body:not(.syls-reader-ui):has(.user-center) .syls-user-nav-item {
    min-height: 48px;
    gap: 8px;
    padding: 0 10px;
    font-size: 13px;
  }

  body:not(.syls-reader-ui):has(.user-center) .syls-user-nav-item + .syls-user-nav-item {
    margin-top: 0;
  }

  body:not(.syls-reader-ui):has(.user-center) .syls-user-nav-icon {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    border-radius: 10px;
    font-size: 13px;
  }
}

/* ------------------------------
   2026-06 author page custom layout
   Remove this block to roll back
------------------------------ */
body.author:not(.syls-reader-ui) .author-header,
body.author:not(.syls-reader-ui) .fluid-widget {
  display: none !important;
}

body.author:not(.syls-reader-ui) main > .container {
  display: block;
}

body.author:not(.syls-reader-ui) .syls-author-sidebar-shell {
  margin-bottom: 20px;
}

body.author:not(.syls-reader-ui) .syls-user-sidebar-head {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 8px 38px 14px 8px;
}

body.author:not(.syls-reader-ui) .syls-user-sidebar-head .syls-brand {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
}

body.author:not(.syls-reader-ui) .syls-user-sidebar-head .syls-logo-pair {
  width: min(210px, 100%);
  max-width: 100%;
}

body.author:not(.syls-reader-ui) .syls-user-sidebar-head .syls-brand img {
  width: auto;
  max-width: 210px;
  max-height: 52px;
  object-fit: contain;
  object-position: left center;
}

body.author:not(.syls-reader-ui) .syls-user-profile,
body.author:not(.syls-reader-ui) .syls-user-nav {
  border: 1px solid var(--border-subtle) !important;
  border-radius: 28px !important;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--bg-panel) 98%, transparent), color-mix(in srgb, var(--bg-card) 98%, transparent)) !important;
  box-shadow: var(--shadow-soft) !important;
}

body.author:not(.syls-reader-ui) .syls-user-profile {
  padding: 22px 20px 20px !important;
  text-align: center;
}

body.author:not(.syls-reader-ui) .syls-user-profile-avatar {
  width: 92px;
  height: 92px;
  margin: 0 auto 14px;
}

body.author:not(.syls-reader-ui) .syls-user-profile-avatar .avatar {
  width: 92px;
  height: 92px;
  border-radius: 24px;
  border: 1px solid var(--border-subtle);
  box-shadow: none;
}

body.author:not(.syls-reader-ui) .syls-user-profile-name {
  color: var(--text-primary);
  font-size: 24px;
  font-weight: 760;
  line-height: 1.16;
}

body.author:not(.syls-reader-ui) .syls-author-profile-actions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

body.author:not(.syls-reader-ui) .syls-author-profile-action {
  min-height: 34px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 780;
  line-height: 1;
  text-decoration: none !important;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

body.author:not(.syls-reader-ui) .syls-author-profile-action:hover,
body.author:not(.syls-reader-ui) .syls-author-profile-action:focus {
  transform: translateY(-1px);
  text-decoration: none !important;
}

body.author:not(.syls-reader-ui) .syls-author-profile-follow {
  background: color-mix(in srgb, #ff5b7f 12%, var(--bg-card));
  color: #ff4f76 !important;
}

body.author:not(.syls-reader-ui) .syls-author-profile-follow.actived {
  background: color-mix(in srgb, #ff5b7f 18%, var(--bg-card));
  color: #ff4f76 !important;
}

body.author:not(.syls-reader-ui) .syls-author-profile-private {
  background: color-mix(in srgb, var(--primary) 12%, var(--bg-card));
  color: var(--primary) !important;
}

body.author:not(.syls-reader-ui) .syls-user-profile-desc {
  margin-top: 8px;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.6;
  word-break: break-word;
}

body.author:not(.syls-reader-ui) .syls-author-profile-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

body.author:not(.syls-reader-ui) .syls-author-profile-stat {
  display: block;
  padding: 12px 10px;
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  background: color-mix(in srgb, var(--bg-card) 90%, transparent);
  color: inherit !important;
  text-decoration: none !important;
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

body.author:not(.syls-reader-ui) .syls-author-profile-stat:hover,
body.author:not(.syls-reader-ui) .syls-author-profile-stat:focus-visible,
body.author:not(.syls-reader-ui) .syls-author-nav-item:hover,
body.author:not(.syls-reader-ui) .syls-author-nav-item:focus-visible {
  border-color: color-mix(in srgb, var(--primary) 18%, var(--border-strong));
  background: color-mix(in srgb, var(--primary-soft) 70%, var(--bg-card));
  transform: translateY(-1px);
}

body.author:not(.syls-reader-ui) .syls-author-profile-stat.is-active,
body.author:not(.syls-reader-ui) .syls-author-nav-item.is-active,
body.author:not(.syls-reader-ui) .syls-author-nav-item.active {
  border-color: color-mix(in srgb, var(--primary) 22%, var(--border-strong));
  background: color-mix(in srgb, var(--primary-soft) 78%, var(--bg-card));
}

body.author:not(.syls-reader-ui) .syls-author-profile-stats b,
body.author:not(.syls-reader-ui) .syls-author-profile-stats em {
  display: block;
}

body.author:not(.syls-reader-ui) .syls-author-profile-stat-icon {
  width: 32px;
  height: 32px;
  margin: 0 auto 8px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  background: color-mix(in srgb, var(--primary) 10%, transparent);
  color: var(--primary);
  font-size: 14px;
}

body.author:not(.syls-reader-ui) .syls-author-profile-stats b {
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 760;
}

body.author:not(.syls-reader-ui) .syls-author-profile-stats em {
  margin-top: 6px;
  color: var(--text-muted);
  font-style: normal;
  font-size: 12px;
}

body.author:not(.syls-reader-ui) .syls-author-nav {
  margin-top: 16px;
  padding: 14px;
}

body.author:not(.syls-reader-ui) .syls-author-nav .syls-user-nav-group-title {
  padding: 0 10px 10px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

body.author:not(.syls-reader-ui) .syls-author-nav-item {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 16px;
  color: var(--text-secondary) !important;
  text-decoration: none !important;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

body.author:not(.syls-reader-ui) .syls-author-nav-item + .syls-author-nav-item {
  margin-top: 6px;
}

body.author:not(.syls-reader-ui) .syls-author-nav-item .syls-user-nav-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  background: color-mix(in srgb, var(--primary) 10%, transparent);
  color: var(--primary);
  font-size: 15px;
}

body.author:not(.syls-reader-ui) .syls-author-search-card,
body.author:not(.syls-reader-ui) .syls-author-quick-card {
  margin-top: 16px;
  padding: 16px;
}

body.author:not(.syls-reader-ui) .syls-author-search-title,
body.author:not(.syls-reader-ui) .syls-author-quick-title {
  margin: 0 0 12px;
  padding: 0 4px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.04em;
}

body.author:not(.syls-reader-ui) .syls-author-search-form {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 4px 5px 4px 14px;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  background: color-mix(in srgb, var(--bg-card) 82%, var(--primary-soft));
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

body.author:not(.syls-reader-ui) .syls-author-search-form:focus-within {
  border-color: color-mix(in srgb, var(--primary) 32%, var(--border-strong));
  box-shadow: 0 12px 28px color-mix(in srgb, var(--primary) 12%, transparent);
}

body.author:not(.syls-reader-ui) .syls-author-search-input {
  flex: 1 1 auto;
  min-width: 0;
  height: 38px;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 650;
}

body.author:not(.syls-reader-ui) .syls-author-search-input::placeholder {
  color: var(--text-muted);
  font-weight: 600;
}

body.author:not(.syls-reader-ui) .syls-author-search-button {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--primary), #2f7df6);
  color: #fff;
  box-shadow: 0 12px 24px color-mix(in srgb, var(--primary) 18%, transparent);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

body.author:not(.syls-reader-ui) .syls-author-search-button:hover,
body.author:not(.syls-reader-ui) .syls-author-search-button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px color-mix(in srgb, var(--primary) 24%, transparent);
}

body.author:not(.syls-reader-ui) .syls-author-quick-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

body.author:not(.syls-reader-ui) .syls-author-quick-item {
  position: relative;
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 16px;
  color: var(--text-secondary) !important;
  text-decoration: none !important;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

body.author:not(.syls-reader-ui) .syls-author-quick-item:hover,
body.author:not(.syls-reader-ui) .syls-author-quick-item:focus-visible {
  border-color: color-mix(in srgb, var(--primary) 18%, var(--border-strong));
  background: color-mix(in srgb, var(--primary-soft) 72%, var(--bg-card));
  color: var(--primary) !important;
  transform: translateY(-1px);
}

body.author:not(.syls-reader-ui) .syls-author-quick-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  background: color-mix(in srgb, var(--primary) 10%, transparent);
  color: var(--primary);
  font-size: 15px;
  font-weight: 760;
}

body.author:not(.syls-reader-ui) .syls-author-quick-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 720;
}

body.author:not(.syls-reader-ui) .author-tab {
  border: 1px solid var(--border-subtle) !important;
  border-radius: 28px !important;
  background: var(--bg-panel) !important;
  box-shadow: var(--shadow-soft) !important;
  overflow: hidden;
}

body.author:not(.syls-reader-ui) .author-tab .affix-header-sm {
  padding: 16px 18px 0;
  background: transparent;
}

body.author:not(.syls-reader-ui) .author-tab .affix-header-sm > .tab-nav-theme:first-child {
  display: none !important;
}

body.author:not(.syls-reader-ui) .author-tab .main-tab-content {
  padding: 0 18px 18px;
}

body.syls-author-page:not(.syls-reader-ui) .author-tab #author-tab-post {
  min-width: 0;
}

body.syls-author-page:not(.syls-reader-ui) .author-tab #author-tab-post > .row,
body.syls-author-page:not(.syls-reader-ui) .author-tab #author-tab-post .posts-row,
body.syls-author-page:not(.syls-reader-ui) .author-tab #author-tab-post .syls-author-post-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 20px !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

body.syls-author-page:not(.syls-reader-ui) .author-tab #author-tab-post [class*="col-"] {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

body.syls-author-page:not(.syls-reader-ui) .author-tab #author-tab-post .posts-item {
  display: grid !important;
  grid-template-columns: minmax(130px, 170px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  width: 100% !important;
  max-width: 100%;
  min-width: 0;
  height: 100%;
  margin: 0 !important;
  padding: 18px !important;
  overflow: hidden;
}

body.syls-author-page:not(.syls-reader-ui) .author-tab #author-tab-post .posts-item .post-graphic,
body.syls-author-page:not(.syls-reader-ui) .author-tab #author-tab-post .posts-item .mr10 {
  width: 100%;
  max-width: 170px;
  min-width: 0;
  margin-right: 0 !important;
}

body.syls-author-page:not(.syls-reader-ui) .author-tab #author-tab-post .posts-item .item-thumbnail {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

body.syls-author-page:not(.syls-reader-ui) .author-tab #author-tab-post .posts-item .item-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.syls-author-page:not(.syls-reader-ui) .author-tab #author-tab-post .posts-item .item-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 100%;
}

body.syls-author-page:not(.syls-reader-ui) .author-tab #author-tab-post .posts-item .item-heading,
body.syls-author-page:not(.syls-reader-ui) .author-tab #author-tab-post .posts-item .item-heading a {
  display: block !important;
  max-width: 100%;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  word-break: break-word;
  white-space: normal !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
}

body.syls-author-page:not(.syls-reader-ui) .author-tab #author-tab-post .posts-item .item-excerpt {
  display: -webkit-box !important;
  max-width: 100%;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  word-break: break-word;
  white-space: normal !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
}

body.syls-author-page:not(.syls-reader-ui) .author-tab #author-tab-post .posts-item .post-metas,
body.syls-author-page:not(.syls-reader-ui) .author-tab #author-tab-post .posts-item .meta,
body.syls-author-page:not(.syls-reader-ui) .author-tab #author-tab-post .posts-item .item-meta {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  max-width: 100%;
  min-width: 0;
  white-space: nowrap;
  font-size: 13px;
}

@media (max-width: 900px) {
  body.syls-author-page:not(.syls-reader-ui) .author-tab #author-tab-post > .row,
  body.syls-author-page:not(.syls-reader-ui) .author-tab #author-tab-post .posts-row,
  body.syls-author-page:not(.syls-reader-ui) .author-tab #author-tab-post .syls-author-post-grid {
    grid-template-columns: 1fr !important;
  }

  body.syls-author-page:not(.syls-reader-ui) .author-tab #author-tab-post .posts-item {
    grid-template-columns: minmax(170px, 240px) minmax(0, 1fr);
  }
}

@media (min-width: 992px) {
  body.author:not(.syls-reader-ui) main > .container {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    column-gap: 24px;
    row-gap: 0;
    align-items: start;
  }

  body.author:not(.syls-reader-ui) .syls-author-sidebar-shell {
    grid-column: 1;
    position: sticky;
    top: 18px;
    z-index: 3;
    margin-bottom: 0;
  }

  body.author:not(.syls-reader-ui) .author-tab {
    grid-column: 2;
    min-width: 0;
  }
}

@media (max-width: 991.98px) {
  body.author:not(.syls-reader-ui) .syls-author-profile-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

body.author.syls-sidebar-collapsed:not(.syls-reader-ui) main > .container {
  grid-template-columns: 108px minmax(0, 1fr);
}

body.author.syls-sidebar-collapsed:not(.syls-reader-ui) .syls-author-profile {
  padding: 16px 10px 12px !important;
}

body.author.syls-sidebar-collapsed:not(.syls-reader-ui) .syls-user-sidebar-head .syls-brand,
body.author.syls-sidebar-collapsed:not(.syls-reader-ui) .syls-user-profile-name,
body.author.syls-sidebar-collapsed:not(.syls-reader-ui) .syls-author-profile-actions,
body.author.syls-sidebar-collapsed:not(.syls-reader-ui) .syls-user-profile-desc,
body.author.syls-sidebar-collapsed:not(.syls-reader-ui) .syls-author-profile-stat em,
body.author.syls-sidebar-collapsed:not(.syls-reader-ui) .syls-author-search-card,
body.author.syls-sidebar-collapsed:not(.syls-reader-ui) .syls-author-quick-title,
body.author.syls-sidebar-collapsed:not(.syls-reader-ui) .syls-author-quick-label,
body.author.syls-sidebar-collapsed:not(.syls-reader-ui) .syls-author-nav .syls-user-nav-group-title,
body.author.syls-sidebar-collapsed:not(.syls-reader-ui) .syls-author-nav-item > span:not(.syls-user-nav-icon) {
  display: none !important;
}

body.author.syls-sidebar-collapsed:not(.syls-reader-ui) .syls-user-sidebar-head {
  justify-content: center;
  justify-items: center;
  width: 72px;
  min-height: 58px;
  margin-right: auto;
  margin-left: auto;
  padding: 0;
}

body.author.syls-sidebar-collapsed:not(.syls-reader-ui) .syls-user-sidebar-head .syls-sidebar-toggle {
  top: 0;
  right: auto;
  left: 50%;
  transform: translateX(-50%) rotate(180deg);
}

body.author.syls-sidebar-collapsed:not(.syls-reader-ui) .syls-user-sidebar-head .syls-sidebar-toggle:hover {
  transform: translateX(-50%) rotate(180deg);
}

body.author.syls-sidebar-collapsed:not(.syls-reader-ui) .syls-user-profile-avatar {
  width: 58px;
  height: 58px;
  margin: 0 auto;
}

body.author.syls-sidebar-collapsed:not(.syls-reader-ui) .syls-user-profile-avatar .avatar {
  width: 58px;
  height: 58px;
  border-radius: 20px;
}

body.author.syls-sidebar-collapsed:not(.syls-reader-ui) .syls-author-profile-stats {
  grid-template-columns: 1fr;
  gap: 12px;
}

body.author.syls-sidebar-collapsed:not(.syls-reader-ui) .syls-author-profile-stat,
body.author.syls-sidebar-collapsed:not(.syls-reader-ui) .syls-author-nav-item,
body.author.syls-sidebar-collapsed:not(.syls-reader-ui) .syls-author-quick-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  min-height: 58px;
  padding: 0;
  margin-left: auto;
  margin-right: auto;
}

body.author.syls-sidebar-collapsed:not(.syls-reader-ui) .syls-author-quick-card {
  padding: 12px 8px;
}

body.author.syls-sidebar-collapsed:not(.syls-reader-ui) .syls-author-quick-icon {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
  font-size: 16px;
}

body.author.syls-sidebar-collapsed:not(.syls-reader-ui) .syls-author-profile-stat {
  flex-direction: column;
}

body.author.syls-sidebar-collapsed:not(.syls-reader-ui) .syls-author-profile-stat b {
  font-size: 0;
  line-height: 0;
}

body.author.syls-sidebar-collapsed:not(.syls-reader-ui) .syls-author-profile-stat-icon {
  width: 36px;
  height: 36px;
  margin: 0;
  font-size: 16px;
}

body.dark-theme.author:not(.syls-reader-ui) .posts-item,
body.dark-theme.author:not(.syls-reader-ui) .ajax-item,
body.dark-theme.author:not(.syls-reader-ui) .post-list,
body.dark-theme:not(.syls-reader-ui):has(.user-center) .posts-item,
body.dark-theme:not(.syls-reader-ui):has(.user-center) .ajax-item,
body.dark-theme:not(.syls-reader-ui):has(.user-center) .post-list {
  color: #d8e3f3 !important;
}

body.dark-theme.author:not(.syls-reader-ui) .posts-item .item-heading,
body.dark-theme.author:not(.syls-reader-ui) .posts-item .item-heading *,
body.dark-theme.author:not(.syls-reader-ui) .posts-item h1,
body.dark-theme.author:not(.syls-reader-ui) .posts-item h2,
body.dark-theme.author:not(.syls-reader-ui) .posts-item h3,
body.dark-theme.author:not(.syls-reader-ui) .posts-item h4,
body.dark-theme.author:not(.syls-reader-ui) .posts-item h5,
body.dark-theme.author:not(.syls-reader-ui) .posts-item h6,
body.dark-theme.author:not(.syls-reader-ui) .posts-item h1 *,
body.dark-theme.author:not(.syls-reader-ui) .posts-item h2 *,
body.dark-theme.author:not(.syls-reader-ui) .posts-item h3 *,
body.dark-theme.author:not(.syls-reader-ui) .posts-item h4 *,
body.dark-theme.author:not(.syls-reader-ui) .posts-item h5 *,
body.dark-theme.author:not(.syls-reader-ui) .posts-item h6 *,
body.dark-theme.author:not(.syls-reader-ui) .posts-item .main-color,
body.dark-theme:not(.syls-reader-ui):has(.user-center) .posts-item .item-heading,
body.dark-theme:not(.syls-reader-ui):has(.user-center) .posts-item .item-heading *,
body.dark-theme:not(.syls-reader-ui):has(.user-center) .posts-item h1,
body.dark-theme:not(.syls-reader-ui):has(.user-center) .posts-item h2,
body.dark-theme:not(.syls-reader-ui):has(.user-center) .posts-item h3,
body.dark-theme:not(.syls-reader-ui):has(.user-center) .posts-item h4,
body.dark-theme:not(.syls-reader-ui):has(.user-center) .posts-item h5,
body.dark-theme:not(.syls-reader-ui):has(.user-center) .posts-item h6,
body.dark-theme:not(.syls-reader-ui):has(.user-center) .posts-item h1 *,
body.dark-theme:not(.syls-reader-ui):has(.user-center) .posts-item h2 *,
body.dark-theme:not(.syls-reader-ui):has(.user-center) .posts-item h3 *,
body.dark-theme:not(.syls-reader-ui):has(.user-center) .posts-item h4 *,
body.dark-theme:not(.syls-reader-ui):has(.user-center) .posts-item h5 *,
body.dark-theme:not(.syls-reader-ui):has(.user-center) .posts-item h6 *,
body.dark-theme:not(.syls-reader-ui):has(.user-center) .posts-item .main-color {
  color: #edf5ff !important;
}

body.dark-theme.author:not(.syls-reader-ui) .posts-item .item-excerpt,
body.dark-theme.author:not(.syls-reader-ui) .posts-item .muted-color,
body.dark-theme.author:not(.syls-reader-ui) .posts-item .muted-2-color,
body.dark-theme:not(.syls-reader-ui):has(.user-center) .posts-item .item-excerpt,
body.dark-theme:not(.syls-reader-ui):has(.user-center) .posts-item .muted-color,
body.dark-theme:not(.syls-reader-ui):has(.user-center) .posts-item .muted-2-color {
  color: #aebbd0 !important;
}

/* Profile pages dark-mode title fallback: remove this block to roll back. */
html[data-syls-theme="dark"] body.syls-user-center-page:not(.syls-reader-ui) .posts-item,
html[data-syls-theme="dark"] body.syls-author-page:not(.syls-reader-ui) .posts-item,
html[data-theme="dark"] body.syls-user-center-page:not(.syls-reader-ui) .posts-item,
html[data-theme="dark"] body.syls-author-page:not(.syls-reader-ui) .posts-item,
body[data-syls-theme="dark"].syls-user-center-page:not(.syls-reader-ui) .posts-item,
body[data-syls-theme="dark"].syls-author-page:not(.syls-reader-ui) .posts-item,
body[data-theme="dark"].syls-user-center-page:not(.syls-reader-ui) .posts-item,
body[data-theme="dark"].syls-author-page:not(.syls-reader-ui) .posts-item,
body.dark-theme.syls-user-center-page:not(.syls-reader-ui) .posts-item,
body.dark-theme.syls-author-page:not(.syls-reader-ui) .posts-item {
  color: #dce7f7 !important;
}

html[data-syls-theme="dark"] body.syls-user-center-page:not(.syls-reader-ui) .posts-item .item-heading,
html[data-syls-theme="dark"] body.syls-user-center-page:not(.syls-reader-ui) .posts-item .item-heading a,
html[data-syls-theme="dark"] body.syls-user-center-page:not(.syls-reader-ui) .posts-item .item-heading *,
html[data-syls-theme="dark"] body.syls-author-page:not(.syls-reader-ui) .posts-item .item-heading,
html[data-syls-theme="dark"] body.syls-author-page:not(.syls-reader-ui) .posts-item .item-heading a,
html[data-syls-theme="dark"] body.syls-author-page:not(.syls-reader-ui) .posts-item .item-heading *,
html[data-theme="dark"] body.syls-user-center-page:not(.syls-reader-ui) .posts-item .item-heading,
html[data-theme="dark"] body.syls-user-center-page:not(.syls-reader-ui) .posts-item .item-heading a,
html[data-theme="dark"] body.syls-user-center-page:not(.syls-reader-ui) .posts-item .item-heading *,
html[data-theme="dark"] body.syls-author-page:not(.syls-reader-ui) .posts-item .item-heading,
html[data-theme="dark"] body.syls-author-page:not(.syls-reader-ui) .posts-item .item-heading a,
html[data-theme="dark"] body.syls-author-page:not(.syls-reader-ui) .posts-item .item-heading *,
body[data-syls-theme="dark"].syls-user-center-page:not(.syls-reader-ui) .posts-item .item-heading,
body[data-syls-theme="dark"].syls-user-center-page:not(.syls-reader-ui) .posts-item .item-heading a,
body[data-syls-theme="dark"].syls-user-center-page:not(.syls-reader-ui) .posts-item .item-heading *,
body[data-syls-theme="dark"].syls-author-page:not(.syls-reader-ui) .posts-item .item-heading,
body[data-syls-theme="dark"].syls-author-page:not(.syls-reader-ui) .posts-item .item-heading a,
body[data-syls-theme="dark"].syls-author-page:not(.syls-reader-ui) .posts-item .item-heading *,
body[data-theme="dark"].syls-user-center-page:not(.syls-reader-ui) .posts-item .item-heading,
body[data-theme="dark"].syls-user-center-page:not(.syls-reader-ui) .posts-item .item-heading a,
body[data-theme="dark"].syls-user-center-page:not(.syls-reader-ui) .posts-item .item-heading *,
body[data-theme="dark"].syls-author-page:not(.syls-reader-ui) .posts-item .item-heading,
body[data-theme="dark"].syls-author-page:not(.syls-reader-ui) .posts-item .item-heading a,
body[data-theme="dark"].syls-author-page:not(.syls-reader-ui) .posts-item .item-heading *,
body.dark-theme.syls-user-center-page:not(.syls-reader-ui) .posts-item .item-heading,
body.dark-theme.syls-user-center-page:not(.syls-reader-ui) .posts-item .item-heading a,
body.dark-theme.syls-user-center-page:not(.syls-reader-ui) .posts-item .item-heading *,
body.dark-theme.syls-author-page:not(.syls-reader-ui) .posts-item .item-heading,
body.dark-theme.syls-author-page:not(.syls-reader-ui) .posts-item .item-heading a,
body.dark-theme.syls-author-page:not(.syls-reader-ui) .posts-item .item-heading * {
  color: #f4f8ff !important;
  -webkit-text-fill-color: #f4f8ff !important;
  opacity: 1 !important;
  filter: none !important;
}

html[data-syls-theme="dark"] body.syls-user-center-page:not(.syls-reader-ui) .posts-item .item-excerpt,
html[data-syls-theme="dark"] body.syls-user-center-page:not(.syls-reader-ui) .posts-item .muted-color,
html[data-syls-theme="dark"] body.syls-author-page:not(.syls-reader-ui) .posts-item .item-excerpt,
html[data-syls-theme="dark"] body.syls-author-page:not(.syls-reader-ui) .posts-item .muted-color,
html[data-theme="dark"] body.syls-user-center-page:not(.syls-reader-ui) .posts-item .item-excerpt,
html[data-theme="dark"] body.syls-user-center-page:not(.syls-reader-ui) .posts-item .muted-color,
html[data-theme="dark"] body.syls-author-page:not(.syls-reader-ui) .posts-item .item-excerpt,
html[data-theme="dark"] body.syls-author-page:not(.syls-reader-ui) .posts-item .muted-color,
body[data-syls-theme="dark"].syls-user-center-page:not(.syls-reader-ui) .posts-item .item-excerpt,
body[data-syls-theme="dark"].syls-user-center-page:not(.syls-reader-ui) .posts-item .muted-color,
body[data-syls-theme="dark"].syls-author-page:not(.syls-reader-ui) .posts-item .item-excerpt,
body[data-syls-theme="dark"].syls-author-page:not(.syls-reader-ui) .posts-item .muted-color,
body[data-theme="dark"].syls-user-center-page:not(.syls-reader-ui) .posts-item .item-excerpt,
body[data-theme="dark"].syls-user-center-page:not(.syls-reader-ui) .posts-item .muted-color,
body[data-theme="dark"].syls-author-page:not(.syls-reader-ui) .posts-item .item-excerpt,
body[data-theme="dark"].syls-author-page:not(.syls-reader-ui) .posts-item .muted-color,
body.dark-theme.syls-user-center-page:not(.syls-reader-ui) .posts-item .item-excerpt,
body.dark-theme.syls-user-center-page:not(.syls-reader-ui) .posts-item .muted-color,
body.dark-theme.syls-author-page:not(.syls-reader-ui) .posts-item .item-excerpt,
body.dark-theme.syls-author-page:not(.syls-reader-ui) .posts-item .muted-color {
  color: #bdc9dc !important;
  -webkit-text-fill-color: #bdc9dc !important;
}

/* Profile and author content rhythm: keeps parent-theme lists readable inside the custom shell. */
body.syls-user-center-page:not(.syls-reader-ui) .user-center-content,
body.syls-author-page:not(.syls-reader-ui) .author-tab {
  line-height: 1.68;
}

body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .main-tab-content,
body.syls-author-page:not(.syls-reader-ui) .author-tab .main-tab-content {
  display: block;
}

body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .tab-pane,
body.syls-author-page:not(.syls-reader-ui) .author-tab .tab-pane {
  line-height: 1.68;
}

body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .main-tab-content > .ajaxpager:not(.active),
body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .tab-pane:not(.active),
body.syls-author-page:not(.syls-reader-ui) .author-tab .main-tab-content > .ajaxpager:not(.active),
body.syls-author-page:not(.syls-reader-ui) .author-tab .tab-pane:not(.active) {
  display: none !important;
}

body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .main-tab-content > .ajaxpager.active,
body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .tab-pane.active,
body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .tab-pane.in.active,
body.syls-author-page:not(.syls-reader-ui) .author-tab .main-tab-content > .ajaxpager.active,
body.syls-author-page:not(.syls-reader-ui) .author-tab .tab-pane.active,
body.syls-author-page:not(.syls-reader-ui) .author-tab .tab-pane.in.active {
  display: block !important;
}

/* Profile pages light-mode guard: prevents parent dark classes from leaking into day mode. */
body[data-syls-theme="light"].syls-user-center-page:not(.syls-reader-ui),
body[data-theme="light"].syls-user-center-page:not(.syls-reader-ui),
body[data-syls-theme="light"].syls-author-page:not(.syls-reader-ui),
body[data-theme="light"].syls-author-page:not(.syls-reader-ui) {
  --bg-page: #f6f4ef;
  --bg-page-soft: #fcfbf8;
  --bg-panel: rgba(255, 252, 248, 0.9);
  --bg-card: rgba(255, 255, 255, 0.92);
  --bg-card-hover: rgba(250, 251, 253, 0.98);
  --text-primary: #20293a;
  --text-secondary: #627086;
  --text-muted: #8793a5;
  --border-subtle: rgba(89, 111, 148, 0.14);
  --border-strong: rgba(84, 112, 160, 0.22);
  --primary-soft: rgba(47, 120, 216, 0.1);
  --shadow-soft: 0 20px 54px rgba(52, 72, 105, 0.08);
  background:
    radial-gradient(circle at 16% 0%, rgba(47, 120, 216, 0.08), transparent 30%),
    linear-gradient(180deg, #fbfaf7, #f3f6fb) !important;
  color: var(--text-primary) !important;
}

body[data-syls-theme="light"].syls-user-center-page:not(.syls-reader-ui) main,
body[data-theme="light"].syls-user-center-page:not(.syls-reader-ui) main,
body[data-syls-theme="light"].syls-author-page:not(.syls-reader-ui) main,
body[data-theme="light"].syls-author-page:not(.syls-reader-ui) main {
  background: transparent !important;
  color: var(--text-primary) !important;
}

body[data-syls-theme="light"].syls-user-center-page:not(.syls-reader-ui) .user-center-content,
body[data-theme="light"].syls-user-center-page:not(.syls-reader-ui) .user-center-content,
body[data-syls-theme="light"].syls-author-page:not(.syls-reader-ui) .author-tab,
body[data-theme="light"].syls-author-page:not(.syls-reader-ui) .author-tab,
body[data-syls-theme="light"].syls-user-center-page:not(.syls-reader-ui) .syls-user-profile,
body[data-theme="light"].syls-user-center-page:not(.syls-reader-ui) .syls-user-profile,
body[data-syls-theme="light"].syls-user-center-page:not(.syls-reader-ui) .syls-user-nav,
body[data-theme="light"].syls-user-center-page:not(.syls-reader-ui) .syls-user-nav,
body[data-syls-theme="light"].syls-author-page:not(.syls-reader-ui) .syls-user-profile,
body[data-theme="light"].syls-author-page:not(.syls-reader-ui) .syls-user-profile,
body[data-syls-theme="light"].syls-author-page:not(.syls-reader-ui) .syls-user-nav,
body[data-theme="light"].syls-author-page:not(.syls-reader-ui) .syls-user-nav,
body[data-syls-theme="light"].syls-author-page:not(.syls-reader-ui) .syls-author-search-card,
body[data-theme="light"].syls-author-page:not(.syls-reader-ui) .syls-author-search-card,
body[data-syls-theme="light"].syls-author-page:not(.syls-reader-ui) .syls-author-quick-card,
body[data-theme="light"].syls-author-page:not(.syls-reader-ui) .syls-author-quick-card {
  border-color: var(--border-subtle) !important;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--bg-panel) 98%, transparent), color-mix(in srgb, var(--bg-card) 98%, transparent)) !important;
  color: var(--text-primary) !important;
  box-shadow: var(--shadow-soft) !important;
}

body[data-syls-theme="light"].syls-user-center-page:not(.syls-reader-ui) .posts-item,
body[data-theme="light"].syls-user-center-page:not(.syls-reader-ui) .posts-item,
body[data-syls-theme="light"].syls-author-page:not(.syls-reader-ui) .posts-item,
body[data-theme="light"].syls-author-page:not(.syls-reader-ui) .posts-item,
body[data-syls-theme="light"].syls-user-center-page:not(.syls-reader-ui) .ajax-item,
body[data-theme="light"].syls-user-center-page:not(.syls-reader-ui) .ajax-item,
body[data-syls-theme="light"].syls-author-page:not(.syls-reader-ui) .ajax-item,
body[data-theme="light"].syls-author-page:not(.syls-reader-ui) .ajax-item,
body[data-syls-theme="light"].syls-user-center-page:not(.syls-reader-ui) .post-list,
body[data-theme="light"].syls-user-center-page:not(.syls-reader-ui) .post-list,
body[data-syls-theme="light"].syls-author-page:not(.syls-reader-ui) .post-list,
body[data-theme="light"].syls-author-page:not(.syls-reader-ui) .post-list {
  border-color: var(--border-subtle) !important;
  background: #ffffff !important;
  color: var(--text-primary) !important;
  box-shadow: 0 14px 34px rgba(46, 64, 94, 0.06) !important;
}

body[data-syls-theme="light"].syls-user-center-page:not(.syls-reader-ui) .item-heading,
body[data-theme="light"].syls-user-center-page:not(.syls-reader-ui) .item-heading,
body[data-syls-theme="light"].syls-user-center-page:not(.syls-reader-ui) .item-heading a,
body[data-theme="light"].syls-user-center-page:not(.syls-reader-ui) .item-heading a,
body[data-syls-theme="light"].syls-author-page:not(.syls-reader-ui) .item-heading,
body[data-theme="light"].syls-author-page:not(.syls-reader-ui) .item-heading,
body[data-syls-theme="light"].syls-author-page:not(.syls-reader-ui) .item-heading a,
body[data-theme="light"].syls-author-page:not(.syls-reader-ui) .item-heading a,
body[data-syls-theme="light"].syls-user-center-page:not(.syls-reader-ui) .syls-user-profile-name,
body[data-theme="light"].syls-user-center-page:not(.syls-reader-ui) .syls-user-profile-name,
body[data-syls-theme="light"].syls-author-page:not(.syls-reader-ui) .syls-user-profile-name,
body[data-theme="light"].syls-author-page:not(.syls-reader-ui) .syls-user-profile-name {
  color: #20293a !important;
  -webkit-text-fill-color: #20293a !important;
}

body[data-syls-theme="light"].syls-user-center-page:not(.syls-reader-ui) .muted-color,
body[data-theme="light"].syls-user-center-page:not(.syls-reader-ui) .muted-color,
body[data-syls-theme="light"].syls-user-center-page:not(.syls-reader-ui) .muted-2-color,
body[data-theme="light"].syls-user-center-page:not(.syls-reader-ui) .muted-2-color,
body[data-syls-theme="light"].syls-author-page:not(.syls-reader-ui) .muted-color,
body[data-theme="light"].syls-author-page:not(.syls-reader-ui) .muted-color,
body[data-syls-theme="light"].syls-author-page:not(.syls-reader-ui) .muted-2-color,
body[data-theme="light"].syls-author-page:not(.syls-reader-ui) .muted-2-color,
body[data-syls-theme="light"].syls-user-center-page:not(.syls-reader-ui) .syls-user-profile-meta,
body[data-theme="light"].syls-user-center-page:not(.syls-reader-ui) .syls-user-profile-meta,
body[data-syls-theme="light"].syls-author-page:not(.syls-reader-ui) .syls-user-profile-desc,
body[data-theme="light"].syls-author-page:not(.syls-reader-ui) .syls-user-profile-desc {
  color: #627086 !important;
  -webkit-text-fill-color: #627086 !important;
}

body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .ajax-item,
body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .posts-item,
body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .post-list,
body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .msg-list,
body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .msg-list > li,
body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .border-bottom.box-body,
body.syls-author-page:not(.syls-reader-ui) .author-tab .ajax-item,
body.syls-author-page:not(.syls-reader-ui) .author-tab .posts-item,
body.syls-author-page:not(.syls-reader-ui) .author-tab .post-list,
body.syls-author-page:not(.syls-reader-ui) .author-tab .msg-list,
body.syls-author-page:not(.syls-reader-ui) .author-tab .msg-list > li,
body.syls-author-page:not(.syls-reader-ui) .author-tab .border-bottom.box-body {
  margin-bottom: 14px !important;
  padding: 18px 20px !important;
  line-height: 1.68 !important;
}

body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .item-heading,
body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .item-heading a,
body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .title,
body.syls-user-center-page:not(.syls-reader-ui) .user-center-content h1,
body.syls-user-center-page:not(.syls-reader-ui) .user-center-content h2,
body.syls-user-center-page:not(.syls-reader-ui) .user-center-content h3,
body.syls-author-page:not(.syls-reader-ui) .author-tab .item-heading,
body.syls-author-page:not(.syls-reader-ui) .author-tab .item-heading a,
body.syls-author-page:not(.syls-reader-ui) .author-tab .title,
body.syls-author-page:not(.syls-reader-ui) .author-tab h1,
body.syls-author-page:not(.syls-reader-ui) .author-tab h2,
body.syls-author-page:not(.syls-reader-ui) .author-tab h3 {
  line-height: 1.42 !important;
}

body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .item-excerpt,
body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .msg-content,
body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .comment-content,
body.syls-user-center-page:not(.syls-reader-ui) .user-center-content p,
body.syls-author-page:not(.syls-reader-ui) .author-tab .item-excerpt,
body.syls-author-page:not(.syls-reader-ui) .author-tab .msg-content,
body.syls-author-page:not(.syls-reader-ui) .author-tab .comment-content,
body.syls-author-page:not(.syls-reader-ui) .author-tab p {
  line-height: 1.78 !important;
}

body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .item-meta,
body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .muted-color,
body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .muted-2-color,
body.syls-author-page:not(.syls-reader-ui) .author-tab .item-meta,
body.syls-author-page:not(.syls-reader-ui) .author-tab .muted-color,
body.syls-author-page:not(.syls-reader-ui) .author-tab .muted-2-color {
  line-height: 1.62 !important;
}

body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .msg-list,
body.syls-author-page:not(.syls-reader-ui) .author-tab .msg-list {
  display: grid;
  gap: 14px;
}

body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .msg-list > li,
body.syls-author-page:not(.syls-reader-ui) .author-tab .msg-list > li {
  display: block !important;
}

body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .follow-user-box,
body.syls-author-page:not(.syls-reader-ui) .author-tab .follow-user-box {
  padding: 16px 18px !important;
}

body.syls-user-center-page:not(.syls-reader-ui) .syls-message-center-pane .msg-list,
body.syls-author-page:not(.syls-reader-ui) .syls-message-center-pane .msg-list {
  display: grid !important;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: center;
  column-gap: 14px;
  row-gap: 0;
  margin: 0 !important;
}

body.syls-user-center-page:not(.syls-reader-ui) .syls-message-center-pane .msg-list > li,
body.syls-author-page:not(.syls-reader-ui) .syls-message-center-pane .msg-list > li {
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.syls-user-center-page:not(.syls-reader-ui) .syls-message-center-pane .msg-list .item-body,
body.syls-user-center-page:not(.syls-reader-ui) .syls-message-center-pane .msg-list .item-main,
body.syls-user-center-page:not(.syls-reader-ui) .syls-message-center-pane .msg-list .msg-content,
body.syls-user-center-page:not(.syls-reader-ui) .syls-message-center-pane .msg-list .message-content,
body.syls-author-page:not(.syls-reader-ui) .syls-message-center-pane .msg-list .item-body,
body.syls-author-page:not(.syls-reader-ui) .syls-message-center-pane .msg-list .item-main,
body.syls-author-page:not(.syls-reader-ui) .syls-message-center-pane .msg-list .msg-content,
body.syls-author-page:not(.syls-reader-ui) .syls-message-center-pane .msg-list .message-content {
  gap: 4px;
}

body.syls-user-center-page:not(.syls-reader-ui) .syls-message-center-pane .border-bottom.box-body.ajax-item,
body.syls-user-center-page:not(.syls-reader-ui) .syls-message-center-pane .ajax-item.nopw-sm,
body.syls-author-page:not(.syls-reader-ui) .syls-message-center-pane .border-bottom.box-body.ajax-item,
body.syls-author-page:not(.syls-reader-ui) .syls-message-center-pane .ajax-item.nopw-sm {
  padding: 14px 18px !important;
  margin-bottom: 10px !important;
  border-radius: 20px;
}

body.syls-user-center-page:not(.syls-reader-ui) .syls-message-center-pane .border-bottom.box-body.ajax-item > a,
body.syls-user-center-page:not(.syls-reader-ui) .syls-message-center-pane .ajax-item.nopw-sm > a,
body.syls-author-page:not(.syls-reader-ui) .syls-message-center-pane .border-bottom.box-body.ajax-item > a,
body.syls-author-page:not(.syls-reader-ui) .syls-message-center-pane .ajax-item.nopw-sm > a {
  display: block;
}

body.syls-user-center-page:not(.syls-reader-ui) .syls-message-center-pane .msg-list .msg-img,
body.syls-author-page:not(.syls-reader-ui) .syls-message-center-pane .msg-list .msg-img {
  width: 56px;
  min-width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.syls-user-center-page:not(.syls-reader-ui) .syls-message-center-pane .msg-list dl,
body.syls-author-page:not(.syls-reader-ui) .syls-message-center-pane .msg-list dl {
  margin: 0;
  min-width: 0;
}

body.syls-user-center-page:not(.syls-reader-ui) .syls-message-center-pane .msg-list dt,
body.syls-author-page:not(.syls-reader-ui) .syls-message-center-pane .msg-list dt {
  margin: 0 0 4px !important;
  line-height: 1.45 !important;
  font-size: 16px;
  font-weight: 700;
}

body.syls-user-center-page:not(.syls-reader-ui) .syls-message-center-pane .msg-list dd,
body.syls-author-page:not(.syls-reader-ui) .syls-message-center-pane .msg-list dd {
  margin: 0 !important;
  font-size: 12px;
  line-height: 1.5 !important;
}

body.syls-user-center-page:not(.syls-reader-ui) .syls-message-center-pane .msg-list .item-heading,
body.syls-user-center-page:not(.syls-reader-ui) .syls-message-center-pane .msg-list .item-heading a,
body.syls-author-page:not(.syls-reader-ui) .syls-message-center-pane .msg-list .item-heading,
body.syls-author-page:not(.syls-reader-ui) .syls-message-center-pane .msg-list .item-heading a {
  margin-bottom: 2px !important;
  font-size: 16px;
  line-height: 1.45 !important;
}

body.syls-user-center-page:not(.syls-reader-ui) .syls-message-center-pane .msg-list .muted-color,
body.syls-user-center-page:not(.syls-reader-ui) .syls-message-center-pane .msg-list .muted-2-color,
body.syls-author-page:not(.syls-reader-ui) .syls-message-center-pane .msg-list .muted-color,
body.syls-author-page:not(.syls-reader-ui) .syls-message-center-pane .msg-list .muted-2-color {
  font-size: 12px;
  line-height: 1.5 !important;
}

body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .ajax-item:last-child,
body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .posts-item:last-child,
body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .post-list:last-child,
body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .msg-list:last-child,
body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .msg-list > li:last-child,
body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .border-bottom.box-body:last-child,
body.syls-author-page:not(.syls-reader-ui) .author-tab .ajax-item:last-child,
body.syls-author-page:not(.syls-reader-ui) .author-tab .posts-item:last-child,
body.syls-author-page:not(.syls-reader-ui) .author-tab .post-list:last-child,
body.syls-author-page:not(.syls-reader-ui) .author-tab .msg-list:last-child,
body.syls-author-page:not(.syls-reader-ui) .author-tab .msg-list > li:last-child,
body.syls-author-page:not(.syls-reader-ui) .author-tab .border-bottom.box-body:last-child {
  margin-bottom: 0 !important;
}

body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .item-body,
body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .item-main,
body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .comment-content,
body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .msg-content,
body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .message-content,
body.syls-author-page:not(.syls-reader-ui) .author-tab .item-body,
body.syls-author-page:not(.syls-reader-ui) .author-tab .item-main,
body.syls-author-page:not(.syls-reader-ui) .author-tab .comment-content,
body.syls-author-page:not(.syls-reader-ui) .author-tab .msg-content,
body.syls-author-page:not(.syls-reader-ui) .author-tab .message-content {
  display: grid;
  gap: 8px;
  min-width: 0;
}

body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .item-heading,
body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .item-heading a,
body.syls-author-page:not(.syls-reader-ui) .author-tab .item-heading,
body.syls-author-page:not(.syls-reader-ui) .author-tab .item-heading a {
  line-height: 1.42 !important;
}

body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .item-excerpt,
body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .muted-color,
body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .muted-2-color,
body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .meta,
body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .post-metas,
body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .comment-meta,
body.syls-author-page:not(.syls-reader-ui) .author-tab .item-excerpt,
body.syls-author-page:not(.syls-reader-ui) .author-tab .muted-color,
body.syls-author-page:not(.syls-reader-ui) .author-tab .muted-2-color,
body.syls-author-page:not(.syls-reader-ui) .author-tab .meta,
body.syls-author-page:not(.syls-reader-ui) .author-tab .post-metas,
body.syls-author-page:not(.syls-reader-ui) .author-tab .comment-meta {
  line-height: 1.7 !important;
}

body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .media,
body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .item-content,
body.syls-author-page:not(.syls-reader-ui) .author-tab .media,
body.syls-author-page:not(.syls-reader-ui) .author-tab .item-content {
  gap: 16px;
}

body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .posts-item,
body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .post-list,
body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .media,
body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .item-content {
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .ajaxpager,
body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .post_ajax_trigger {
  max-width: 100%;
  min-width: 0;
}

body.syls-user-center-page:not(.syls-reader-ui) .user-center-content #user-tab-post {
  min-width: 0;
}

body.syls-user-center-page:not(.syls-reader-ui) .user-center-content #user-tab-post.active,
body.syls-user-center-page:not(.syls-reader-ui) .user-center-content #user-tab-post.in.active {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

body.syls-user-center-page:not(.syls-reader-ui) .user-center-content #user-tab-post > .row,
body.syls-user-center-page:not(.syls-reader-ui) .user-center-content #user-tab-post .posts-row {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

body.syls-user-center-page:not(.syls-reader-ui) .user-center-content #user-tab-post [class*="col-"] {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

body.syls-user-center-page:not(.syls-reader-ui) .user-center-content #user-tab-post.active > .posts-item {
  width: 100% !important;
  margin: 0 !important;
}

body.syls-user-center-page:not(.syls-reader-ui) .user-center-content #user-tab-post .ajax-item-header,
body.syls-user-center-page:not(.syls-reader-ui) .user-center-content #user-tab-post .theme-pagination,
body.syls-user-center-page:not(.syls-reader-ui) .user-center-content #user-tab-post .pagenav,
body.syls-user-center-page:not(.syls-reader-ui) .user-center-content #user-tab-post .post_ajax_loader,
body.syls-user-center-page:not(.syls-reader-ui) .user-center-content #user-tab-post .ajax-pag,
body.syls-user-center-page:not(.syls-reader-ui) .user-center-content #user-tab-post .post_ajax_trigger,
body.syls-user-center-page:not(.syls-reader-ui) .user-center-content #user-tab-post > .text-center,
body.syls-user-center-page:not(.syls-reader-ui) .user-center-content #user-tab-post > .muted-box,
body.syls-user-center-page:not(.syls-reader-ui) .user-center-content #user-tab-post > .zib-widget:not(.posts-item) {
  grid-column: 1 / -1;
}

@media (max-width: 991.98px) {
  body.syls-user-center-page:not(.syls-reader-ui) .user-center-content #user-tab-post.active,
  body.syls-user-center-page:not(.syls-reader-ui) .user-center-content #user-tab-post.in.active,
  body.syls-user-center-page:not(.syls-reader-ui) .user-center-content #user-tab-post > .row,
  body.syls-user-center-page:not(.syls-reader-ui) .user-center-content #user-tab-post .posts-row {
    grid-template-columns: 1fr !important;
  }
}

body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .posts-item.list {
  display: grid !important;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  float: none !important;
  width: 100% !important;
  max-width: 100%;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .posts-item.list .post-graphic,
body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .posts-item.list .mr10 {
  width: 100%;
  max-width: 260px;
  min-width: 0;
  margin-right: 0 !important;
}

body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .posts-item.list .item-thumbnail {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .posts-item.list .item-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .posts-item .item-body {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .posts-item .item-heading,
body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .posts-item .item-heading a {
  display: block !important;
  max-width: 100%;
  overflow: visible !important;
  text-overflow: clip !important;
  word-break: break-word;
  white-space: normal !important;
  -webkit-line-clamp: unset !important;
  -webkit-box-orient: initial !important;
}

body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .posts-item .item-excerpt {
  display: block !important;
  max-width: 100%;
  overflow: visible !important;
  text-overflow: clip !important;
  word-break: break-word;
  white-space: normal !important;
  -webkit-line-clamp: unset !important;
  -webkit-box-orient: initial !important;
}

body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .posts-item .post-metas,
body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .posts-item .meta,
body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .posts-item .item-meta,
body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .posts-item .muted-color,
body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .posts-item .muted-2-color {
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .posts-item .post-metas,
body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .posts-item .meta,
body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .posts-item .item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  align-items: center;
}

body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .posts-item item,
body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .posts-item .post-metas a {
  max-width: 100%;
  white-space: nowrap;
}

body.syls-user-center-page:not(.syls-reader-ui) .user-center-content .tab-nav-theme,
body.syls-author-page:not(.syls-reader-ui) .author-tab .tab-nav-theme {
  margin-bottom: 16px;
}

body.dark-theme.syls-user-center-page:not(.syls-reader-ui) .user-center-content .ajax-item,
body.dark-theme.syls-user-center-page:not(.syls-reader-ui) .user-center-content .posts-item,
body.dark-theme.syls-user-center-page:not(.syls-reader-ui) .user-center-content .post-list,
body.dark-theme.syls-user-center-page:not(.syls-reader-ui) .user-center-content .msg-list,
body.dark-theme.syls-user-center-page:not(.syls-reader-ui) .user-center-content .msg-list > li,
body.dark-theme.syls-user-center-page:not(.syls-reader-ui) .user-center-content .border-bottom.box-body,
body.dark-theme.syls-author-page:not(.syls-reader-ui) .author-tab .ajax-item,
body.dark-theme.syls-author-page:not(.syls-reader-ui) .author-tab .posts-item,
body.dark-theme.syls-author-page:not(.syls-reader-ui) .author-tab .post-list,
body.dark-theme.syls-author-page:not(.syls-reader-ui) .author-tab .msg-list,
body.dark-theme.syls-author-page:not(.syls-reader-ui) .author-tab .msg-list > li,
body.dark-theme.syls-author-page:not(.syls-reader-ui) .author-tab .border-bottom.box-body {
  border-color: rgba(255, 255, 255, 0.08) !important;
  background:
    linear-gradient(180deg, rgba(22, 34, 52, 0.92), rgba(16, 25, 40, 0.92)) !important;
}

/* User center balance tab: keep parent points records compact inside the custom shell. */
body.syls-user-center-page:not(.syls-reader-ui) #user-tab-balance > .row {
  margin: 0 0 16px !important;
}

body.syls-user-center-page:not(.syls-reader-ui) #user-tab-balance > .row > [class*="col-"] {
  padding-right: 0 !important;
  padding-left: 0 !important;
}

body.syls-user-center-page:not(.syls-reader-ui) #user-tab-balance > .zib-widget {
  padding: 22px 24px !important;
  border: 1px solid var(--border-subtle) !important;
  border-radius: 24px !important;
  background: color-mix(in srgb, var(--bg-panel) 94%, transparent) !important;
  box-shadow: none !important;
}

body.syls-user-center-page:not(.syls-reader-ui) #user-tab-balance .padding-w10.nop-sm {
  padding: 0 !important;
}

body.syls-user-center-page:not(.syls-reader-ui) #user-tab-balance .tab-nav-theme {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px !important;
  padding: 0 0 12px !important;
  border-bottom: 1px solid var(--border-subtle);
}

body.syls-user-center-page:not(.syls-reader-ui) #user-tab-balance .tab-nav-theme > li {
  padding: 0 !important;
}

body.syls-user-center-page:not(.syls-reader-ui) #user-tab-balance .tab-nav-theme > li > a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--border-subtle);
  border-radius: 999px !important;
  background: var(--bg-card) !important;
  color: var(--text-secondary) !important;
  font-size: 14px;
  line-height: 1;
  box-shadow: none !important;
}

body.syls-user-center-page:not(.syls-reader-ui) #user-tab-balance .tab-nav-theme > li.active > a {
  border-color: color-mix(in srgb, var(--primary) 20%, var(--border-strong));
  background: var(--primary-gradient) !important;
  color: #fff !important;
}

body.syls-user-center-page:not(.syls-reader-ui) #user-tab-balance .tab-content,
body.syls-user-center-page:not(.syls-reader-ui) #user-tab-balance .tab-pane {
  padding: 0 !important;
}

body.syls-user-center-page:not(.syls-reader-ui) #user-tab-balance #record_tab_points > .border-bottom,
body.syls-user-center-page:not(.syls-reader-ui) #user-tab-balance #record_tab_balance > .border-bottom {
  min-height: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 16px 0 !important;
  border-bottom: 1px solid var(--border-subtle) !important;
  line-height: 1.55 !important;
}

body.syls-user-center-page:not(.syls-reader-ui) #user-tab-balance #record_tab_points > .border-bottom:first-child,
body.syls-user-center-page:not(.syls-reader-ui) #user-tab-balance #record_tab_balance > .border-bottom:first-child {
  padding-top: 4px !important;
}

body.syls-user-center-page:not(.syls-reader-ui) #user-tab-balance #record_tab_points > .border-bottom > .muted-2-color,
body.syls-user-center-page:not(.syls-reader-ui) #user-tab-balance #record_tab_balance > .border-bottom > .muted-2-color {
  min-width: 0;
  color: var(--text-secondary) !important;
  font-size: 13px;
}

body.syls-user-center-page:not(.syls-reader-ui) #user-tab-balance #record_tab_points > .border-bottom > .flex0,
body.syls-user-center-page:not(.syls-reader-ui) #user-tab-balance #record_tab_balance > .border-bottom > .flex0 {
  position: static !important;
  min-width: 96px;
  margin-left: 0 !important;
  display: grid !important;
  justify-items: end;
  gap: 4px;
  color: var(--text-secondary) !important;
  text-align: right;
}

body.syls-user-center-page:not(.syls-reader-ui) #user-tab-balance #record_tab_points .badg,
body.syls-user-center-page:not(.syls-reader-ui) #user-tab-balance #record_tab_balance .badg {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px !important;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
}

body.syls-user-center-page:not(.syls-reader-ui) #user-tab-balance #record_tab_points b,
body.syls-user-center-page:not(.syls-reader-ui) #user-tab-balance #record_tab_balance b {
  font-size: 20px !important;
  line-height: 1.1 !important;
}

.syls-service-modal .modal-dialog {
  max-width: 520px;
  width: calc(100% - 32px);
  margin: 16px auto;
  max-height: calc(var(--syls-vh, 100vh) - 32px);
}

.syls-service-modal.show,
.syls-service-modal.in {
  display: flex !important;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.syls-service-modal .modal-content {
  position: relative;
  max-height: calc(var(--syls-vh, 100vh) - 32px);
  border: 1px solid color-mix(in srgb, var(--border-subtle) 88%, transparent);
  border-radius: 26px;
  background: color-mix(in srgb, var(--bg-card) 96%, #fff 4%);
  box-shadow: 0 30px 90px rgba(13, 24, 44, 0.16);
  overflow: hidden;
}

.syls-service-modal .close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 1px solid color-mix(in srgb, var(--border-subtle) 88%, transparent);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--text-primary);
  opacity: 1;
  z-index: 3;
}

.syls-service-modal .modal-body {
  padding: 18px;
  max-height: calc(var(--syls-vh, 100vh) - 32px);
  overflow: hidden;
}

.syls-service-modal img {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(var(--syls-vh, 100vh) - 68px);
  object-fit: contain;
  border-radius: 18px;
}

[data-syls-theme="dark"] .syls-service-modal .modal-content {
  border-color: rgba(133, 159, 208, 0.16);
  background: rgba(14, 22, 37, 0.98);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
}

[data-syls-theme="dark"] .syls-service-modal .close {
  border-color: rgba(133, 159, 208, 0.16);
  background: rgba(27, 41, 63, 0.94);
  color: #edf4ff;
}

@keyframes sylsBreathGlow {
  0%, 100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 0 0 rgba(47, 123, 246, 0);
    filter: saturate(1);
  }
  50% {
    transform: translateY(-1px) scale(1.04);
    box-shadow: 0 0 22px color-mix(in srgb, currentColor 20%, transparent);
    filter: saturate(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .syls-home-metric-icon,
  .syls-home-vip-icon {
    animation: none;
  }
}

/* Personal center / author page popups: dark mode */
body.syls-user-center-page:not(.syls-reader-ui)[data-syls-theme="dark"] #modal_pay_uservip,
body.syls-user-center-page:not(.syls-reader-ui)[data-theme="dark"] #modal_pay_uservip,
body.syls-user-center-page.dark-theme:not(.syls-reader-ui) #modal_pay_uservip,
body.syls-author-page:not(.syls-reader-ui)[data-syls-theme="dark"] #modal_pay_uservip,
body.syls-author-page:not(.syls-reader-ui)[data-theme="dark"] #modal_pay_uservip,
body.syls-author-page.dark-theme:not(.syls-reader-ui) #modal_pay_uservip {
  z-index: 999999 !important;
}

body.syls-user-center-page:not(.syls-reader-ui)[data-syls-theme="dark"] #modal_pay_uservip .modal-dialog,
body.syls-user-center-page:not(.syls-reader-ui)[data-theme="dark"] #modal_pay_uservip .modal-dialog,
body.syls-user-center-page.dark-theme:not(.syls-reader-ui) #modal_pay_uservip .modal-dialog,
body.syls-author-page:not(.syls-reader-ui)[data-syls-theme="dark"] #modal_pay_uservip .modal-dialog,
body.syls-author-page:not(.syls-reader-ui)[data-theme="dark"] #modal_pay_uservip .modal-dialog,
body.syls-author-page.dark-theme:not(.syls-reader-ui) #modal_pay_uservip .modal-dialog {
  width: min(820px, calc(100vw - 44px)) !important;
  max-width: min(820px, calc(100vw - 44px)) !important;
  margin: 30px auto !important;
}

body.syls-user-center-page:not(.syls-reader-ui)[data-syls-theme="dark"] #modal_pay_uservip .modal-content,
body.syls-user-center-page:not(.syls-reader-ui)[data-theme="dark"] #modal_pay_uservip .modal-content,
body.syls-user-center-page.dark-theme:not(.syls-reader-ui) #modal_pay_uservip .modal-content,
body.syls-user-center-page:not(.syls-reader-ui)[data-syls-theme="dark"] .modal:has(.balance-charge-form) .modal-content,
body.syls-user-center-page:not(.syls-reader-ui)[data-theme="dark"] .modal:has(.balance-charge-form) .modal-content,
body.syls-user-center-page.dark-theme:not(.syls-reader-ui) .modal:has(.balance-charge-form) .modal-content,
body.syls-user-center-page:not(.syls-reader-ui)[data-syls-theme="dark"] .modal:has(.checkin-mini-box) .modal-content,
body.syls-user-center-page:not(.syls-reader-ui)[data-theme="dark"] .modal:has(.checkin-mini-box) .modal-content,
body.syls-user-center-page.dark-theme:not(.syls-reader-ui) .modal:has(.checkin-mini-box) .modal-content,
body.syls-author-page:not(.syls-reader-ui)[data-syls-theme="dark"] #modal_pay_uservip .modal-content,
body.syls-author-page:not(.syls-reader-ui)[data-theme="dark"] #modal_pay_uservip .modal-content,
body.syls-author-page.dark-theme:not(.syls-reader-ui) #modal_pay_uservip .modal-content,
body.syls-author-page:not(.syls-reader-ui)[data-syls-theme="dark"] .modal:has(.balance-charge-form) .modal-content,
body.syls-author-page:not(.syls-reader-ui)[data-theme="dark"] .modal:has(.balance-charge-form) .modal-content,
body.syls-author-page.dark-theme:not(.syls-reader-ui) .modal:has(.balance-charge-form) .modal-content,
body.syls-author-page:not(.syls-reader-ui)[data-syls-theme="dark"] .modal:has(.checkin-mini-box) .modal-content,
body.syls-author-page:not(.syls-reader-ui)[data-theme="dark"] .modal:has(.checkin-mini-box) .modal-content,
body.syls-author-page.dark-theme:not(.syls-reader-ui) .modal:has(.checkin-mini-box) .modal-content {
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  border-radius: 30px !important;
  background:
    radial-gradient(circle at 16% 0%, rgba(66, 153, 225, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(19, 28, 43, 0.98), rgba(13, 21, 34, 0.99)) !important;
  box-shadow: 0 28px 90px rgba(2, 8, 18, 0.48) !important;
  color: #eff5ff !important;
  overflow: hidden !important;
}

body.syls-user-center-page:not(.syls-reader-ui)[data-syls-theme="dark"] #modal_pay_uservip .modal-body,
body.syls-user-center-page:not(.syls-reader-ui)[data-theme="dark"] #modal_pay_uservip .modal-body,
body.syls-user-center-page.dark-theme:not(.syls-reader-ui) #modal_pay_uservip .modal-body,
body.syls-user-center-page:not(.syls-reader-ui)[data-syls-theme="dark"] .modal:has(.balance-charge-form) .modal-body,
body.syls-user-center-page:not(.syls-reader-ui)[data-theme="dark"] .modal:has(.balance-charge-form) .modal-body,
body.syls-user-center-page.dark-theme:not(.syls-reader-ui) .modal:has(.balance-charge-form) .modal-body,
body.syls-user-center-page:not(.syls-reader-ui)[data-syls-theme="dark"] .modal:has(.checkin-mini-box) .modal-body,
body.syls-user-center-page:not(.syls-reader-ui)[data-theme="dark"] .modal:has(.checkin-mini-box) .modal-body,
body.syls-user-center-page.dark-theme:not(.syls-reader-ui) .modal:has(.checkin-mini-box) .modal-body,
body.syls-author-page:not(.syls-reader-ui)[data-syls-theme="dark"] #modal_pay_uservip .modal-body,
body.syls-author-page:not(.syls-reader-ui)[data-theme="dark"] #modal_pay_uservip .modal-body,
body.syls-author-page.dark-theme:not(.syls-reader-ui) #modal_pay_uservip .modal-body,
body.syls-author-page:not(.syls-reader-ui)[data-syls-theme="dark"] .modal:has(.balance-charge-form) .modal-body,
body.syls-author-page:not(.syls-reader-ui)[data-theme="dark"] .modal:has(.balance-charge-form) .modal-body,
body.syls-author-page.dark-theme:not(.syls-reader-ui) .modal:has(.balance-charge-form) .modal-body,
body.syls-author-page:not(.syls-reader-ui)[data-syls-theme="dark"] .modal:has(.checkin-mini-box) .modal-body,
body.syls-author-page:not(.syls-reader-ui)[data-theme="dark"] .modal:has(.checkin-mini-box) .modal-body,
body.syls-author-page.dark-theme:not(.syls-reader-ui) .modal:has(.checkin-mini-box) .modal-body {
  background: transparent !important;
}

body.syls-user-center-page:not(.syls-reader-ui)[data-syls-theme="dark"] #modal_pay_uservip .close,
body.syls-user-center-page:not(.syls-reader-ui)[data-theme="dark"] #modal_pay_uservip .close,
body.syls-user-center-page.dark-theme:not(.syls-reader-ui) #modal_pay_uservip .close,
body.syls-user-center-page:not(.syls-reader-ui)[data-syls-theme="dark"] .modal:has(.balance-charge-form) .close,
body.syls-user-center-page:not(.syls-reader-ui)[data-theme="dark"] .modal:has(.balance-charge-form) .close,
body.syls-user-center-page.dark-theme:not(.syls-reader-ui) .modal:has(.balance-charge-form) .close,
body.syls-user-center-page:not(.syls-reader-ui)[data-syls-theme="dark"] .modal:has(.checkin-mini-box) .close,
body.syls-user-center-page:not(.syls-reader-ui)[data-theme="dark"] .modal:has(.checkin-mini-box) .close,
body.syls-user-center-page.dark-theme:not(.syls-reader-ui) .modal:has(.checkin-mini-box) .close,
body.syls-author-page:not(.syls-reader-ui)[data-syls-theme="dark"] #modal_pay_uservip .close,
body.syls-author-page:not(.syls-reader-ui)[data-theme="dark"] #modal_pay_uservip .close,
body.syls-author-page.dark-theme:not(.syls-reader-ui) #modal_pay_uservip .close,
body.syls-author-page:not(.syls-reader-ui)[data-syls-theme="dark"] .modal:has(.balance-charge-form) .close,
body.syls-author-page:not(.syls-reader-ui)[data-theme="dark"] .modal:has(.balance-charge-form) .close,
body.syls-author-page.dark-theme:not(.syls-reader-ui) .modal:has(.balance-charge-form) .close,
body.syls-author-page:not(.syls-reader-ui)[data-syls-theme="dark"] .modal:has(.checkin-mini-box) .close,
body.syls-author-page:not(.syls-reader-ui)[data-theme="dark"] .modal:has(.checkin-mini-box) .close,
body.syls-author-page.dark-theme:not(.syls-reader-ui) .modal:has(.checkin-mini-box) .close {
  background: rgba(65, 140, 255, 0.14) !important;
  color: #82b8ff !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

body.syls-user-center-page:not(.syls-reader-ui)[data-syls-theme="dark"] #modal_pay_uservip .modal-title,
body.syls-user-center-page:not(.syls-reader-ui)[data-theme="dark"] #modal_pay_uservip .modal-title,
body.syls-user-center-page.dark-theme:not(.syls-reader-ui) #modal_pay_uservip .modal-title,
body.syls-user-center-page:not(.syls-reader-ui)[data-syls-theme="dark"] .modal:has(.balance-charge-form) .modal-title,
body.syls-user-center-page:not(.syls-reader-ui)[data-theme="dark"] .modal:has(.balance-charge-form) .modal-title,
body.syls-user-center-page.dark-theme:not(.syls-reader-ui) .modal:has(.balance-charge-form) .modal-title,
body.syls-user-center-page:not(.syls-reader-ui)[data-syls-theme="dark"] .modal:has(.checkin-mini-box) .modal-title,
body.syls-user-center-page:not(.syls-reader-ui)[data-theme="dark"] .modal:has(.checkin-mini-box) .modal-title,
body.syls-user-center-page.dark-theme:not(.syls-reader-ui) .modal:has(.checkin-mini-box) .modal-title,
body.syls-author-page:not(.syls-reader-ui)[data-syls-theme="dark"] #modal_pay_uservip .modal-title,
body.syls-author-page:not(.syls-reader-ui)[data-theme="dark"] #modal_pay_uservip .modal-title,
body.syls-author-page.dark-theme:not(.syls-reader-ui) #modal_pay_uservip .modal-title,
body.syls-author-page:not(.syls-reader-ui)[data-syls-theme="dark"] .modal:has(.balance-charge-form) .modal-title,
body.syls-author-page:not(.syls-reader-ui)[data-theme="dark"] .modal:has(.balance-charge-form) .modal-title,
body.syls-author-page.dark-theme:not(.syls-reader-ui) .modal:has(.balance-charge-form) .modal-title,
body.syls-author-page:not(.syls-reader-ui)[data-syls-theme="dark"] .modal:has(.checkin-mini-box) .modal-title,
body.syls-author-page:not(.syls-reader-ui)[data-theme="dark"] .modal:has(.checkin-mini-box) .modal-title,
body.syls-author-page.dark-theme:not(.syls-reader-ui) .modal:has(.checkin-mini-box) .modal-title {
  color: #eff5ff !important;
}

body.syls-user-center-page:not(.syls-reader-ui)[data-syls-theme="dark"] #modal_pay_uservip .muted-color,
body.syls-user-center-page:not(.syls-reader-ui)[data-theme="dark"] #modal_pay_uservip .muted-color,
body.syls-user-center-page.dark-theme:not(.syls-reader-ui) #modal_pay_uservip .muted-color,
body.syls-user-center-page:not(.syls-reader-ui)[data-syls-theme="dark"] #modal_pay_uservip .muted-2-color,
body.syls-user-center-page:not(.syls-reader-ui)[data-theme="dark"] #modal_pay_uservip .muted-2-color,
body.syls-user-center-page.dark-theme:not(.syls-reader-ui) #modal_pay_uservip .muted-2-color,
body.syls-user-center-page:not(.syls-reader-ui)[data-syls-theme="dark"] .modal:has(.balance-charge-form) .muted-color,
body.syls-user-center-page:not(.syls-reader-ui)[data-theme="dark"] .modal:has(.balance-charge-form) .muted-color,
body.syls-user-center-page.dark-theme:not(.syls-reader-ui) .modal:has(.balance-charge-form) .muted-color,
body.syls-user-center-page:not(.syls-reader-ui)[data-syls-theme="dark"] .modal:has(.balance-charge-form) .muted-2-color,
body.syls-user-center-page:not(.syls-reader-ui)[data-theme="dark"] .modal:has(.balance-charge-form) .muted-2-color,
body.syls-user-center-page.dark-theme:not(.syls-reader-ui) .modal:has(.balance-charge-form) .muted-2-color,
body.syls-user-center-page:not(.syls-reader-ui)[data-syls-theme="dark"] .modal:has(.checkin-mini-box) .muted-color,
body.syls-user-center-page:not(.syls-reader-ui)[data-theme="dark"] .modal:has(.checkin-mini-box) .muted-color,
body.syls-user-center-page.dark-theme:not(.syls-reader-ui) .modal:has(.checkin-mini-box) .muted-color,
body.syls-user-center-page:not(.syls-reader-ui)[data-syls-theme="dark"] .modal:has(.checkin-mini-box) .muted-2-color,
body.syls-user-center-page:not(.syls-reader-ui)[data-theme="dark"] .modal:has(.checkin-mini-box) .muted-2-color,
body.syls-user-center-page.dark-theme:not(.syls-reader-ui) .modal:has(.checkin-mini-box) .muted-2-color,
body.syls-author-page:not(.syls-reader-ui)[data-syls-theme="dark"] #modal_pay_uservip .muted-color,
body.syls-author-page:not(.syls-reader-ui)[data-theme="dark"] #modal_pay_uservip .muted-color,
body.syls-author-page.dark-theme:not(.syls-reader-ui) #modal_pay_uservip .muted-color,
body.syls-author-page:not(.syls-reader-ui)[data-syls-theme="dark"] #modal_pay_uservip .muted-2-color,
body.syls-author-page:not(.syls-reader-ui)[data-theme="dark"] #modal_pay_uservip .muted-2-color,
body.syls-author-page.dark-theme:not(.syls-reader-ui) #modal_pay_uservip .muted-2-color,
body.syls-author-page:not(.syls-reader-ui)[data-syls-theme="dark"] .modal:has(.balance-charge-form) .muted-color,
body.syls-author-page:not(.syls-reader-ui)[data-theme="dark"] .modal:has(.balance-charge-form) .muted-color,
body.syls-author-page.dark-theme:not(.syls-reader-ui) .modal:has(.balance-charge-form) .muted-color,
body.syls-author-page:not(.syls-reader-ui)[data-syls-theme="dark"] .modal:has(.balance-charge-form) .muted-2-color,
body.syls-author-page:not(.syls-reader-ui)[data-theme="dark"] .modal:has(.balance-charge-form) .muted-2-color,
body.syls-author-page.dark-theme:not(.syls-reader-ui) .modal:has(.balance-charge-form) .muted-2-color,
body.syls-author-page:not(.syls-reader-ui)[data-syls-theme="dark"] .modal:has(.checkin-mini-box) .muted-color,
body.syls-author-page:not(.syls-reader-ui)[data-theme="dark"] .modal:has(.checkin-mini-box) .muted-color,
body.syls-author-page.dark-theme:not(.syls-reader-ui) .modal:has(.checkin-mini-box) .muted-color,
body.syls-author-page:not(.syls-reader-ui)[data-syls-theme="dark"] .modal:has(.checkin-mini-box) .muted-2-color,
body.syls-author-page:not(.syls-reader-ui)[data-theme="dark"] .modal:has(.checkin-mini-box) .muted-2-color,
body.syls-author-page.dark-theme:not(.syls-reader-ui) .modal:has(.checkin-mini-box) .muted-2-color {
  color: #a9b8d3 !important;
}

body.syls-user-center-page:not(.syls-reader-ui)[data-syls-theme="dark"] #modal_pay_uservip .vip-card,
body.syls-user-center-page:not(.syls-reader-ui)[data-theme="dark"] #modal_pay_uservip .vip-card,
body.syls-user-center-page.dark-theme:not(.syls-reader-ui) #modal_pay_uservip .vip-card,
body.syls-user-center-page:not(.syls-reader-ui)[data-syls-theme="dark"] #modal_pay_uservip .vip-product,
body.syls-user-center-page:not(.syls-reader-ui)[data-theme="dark"] #modal_pay_uservip .vip-product,
body.syls-user-center-page.dark-theme:not(.syls-reader-ui) #modal_pay_uservip .vip-product,
body.syls-user-center-page:not(.syls-reader-ui)[data-syls-theme="dark"] .modal:has(.balance-charge-form) .product-box,
body.syls-user-center-page:not(.syls-reader-ui)[data-theme="dark"] .modal:has(.balance-charge-form) .product-box,
body.syls-user-center-page.dark-theme:not(.syls-reader-ui) .modal:has(.balance-charge-form) .product-box,
body.syls-user-center-page:not(.syls-reader-ui)[data-syls-theme="dark"] .modal:has(.balance-charge-form) .vip-product,
body.syls-user-center-page:not(.syls-reader-ui)[data-theme="dark"] .modal:has(.balance-charge-form) .vip-product,
body.syls-user-center-page.dark-theme:not(.syls-reader-ui) .modal:has(.balance-charge-form) .vip-product,
body.syls-user-center-page:not(.syls-reader-ui)[data-syls-theme="dark"] .modal:has(.checkin-mini-box) .zib-widget,
body.syls-user-center-page:not(.syls-reader-ui)[data-theme="dark"] .modal:has(.checkin-mini-box) .zib-widget,
body.syls-user-center-page.dark-theme:not(.syls-reader-ui) .modal:has(.checkin-mini-box) .zib-widget,
body.syls-user-center-page:not(.syls-reader-ui)[data-syls-theme="dark"] .modal:has(.checkin-mini-box) .muted-box,
body.syls-user-center-page:not(.syls-reader-ui)[data-theme="dark"] .modal:has(.checkin-mini-box) .muted-box,
body.syls-user-center-page.dark-theme:not(.syls-reader-ui) .modal:has(.checkin-mini-box) .muted-box,
body.syls-author-page:not(.syls-reader-ui)[data-syls-theme="dark"] #modal_pay_uservip .vip-card,
body.syls-author-page:not(.syls-reader-ui)[data-theme="dark"] #modal_pay_uservip .vip-card,
body.syls-author-page.dark-theme:not(.syls-reader-ui) #modal_pay_uservip .vip-card,
body.syls-author-page:not(.syls-reader-ui)[data-syls-theme="dark"] #modal_pay_uservip .vip-product,
body.syls-author-page:not(.syls-reader-ui)[data-theme="dark"] #modal_pay_uservip .vip-product,
body.syls-author-page.dark-theme:not(.syls-reader-ui) #modal_pay_uservip .vip-product,
body.syls-author-page:not(.syls-reader-ui)[data-syls-theme="dark"] .modal:has(.balance-charge-form) .product-box,
body.syls-author-page:not(.syls-reader-ui)[data-theme="dark"] .modal:has(.balance-charge-form) .product-box,
body.syls-author-page.dark-theme:not(.syls-reader-ui) .modal:has(.balance-charge-form) .product-box,
body.syls-author-page:not(.syls-reader-ui)[data-syls-theme="dark"] .modal:has(.balance-charge-form) .vip-product,
body.syls-author-page:not(.syls-reader-ui)[data-theme="dark"] .modal:has(.balance-charge-form) .vip-product,
body.syls-author-page.dark-theme:not(.syls-reader-ui) .modal:has(.balance-charge-form) .vip-product,
body.syls-author-page:not(.syls-reader-ui)[data-syls-theme="dark"] .modal:has(.checkin-mini-box) .zib-widget,
body.syls-author-page:not(.syls-reader-ui)[data-theme="dark"] .modal:has(.checkin-mini-box) .zib-widget,
body.syls-author-page.dark-theme:not(.syls-reader-ui) .modal:has(.checkin-mini-box) .zib-widget,
body.syls-author-page:not(.syls-reader-ui)[data-syls-theme="dark"] .modal:has(.checkin-mini-box) .muted-box,
body.syls-author-page:not(.syls-reader-ui)[data-theme="dark"] .modal:has(.checkin-mini-box) .muted-box,
body.syls-author-page.dark-theme:not(.syls-reader-ui) .modal:has(.checkin-mini-box) .muted-box {
  border-color: rgba(255, 255, 255, 0.10) !important;
  background: linear-gradient(180deg, rgba(37, 48, 66, 0.96), rgba(23, 32, 48, 0.98)) !important;
  color: #eef5ff !important;
  box-shadow: none !important;
}

body.syls-user-center-page:not(.syls-reader-ui)[data-syls-theme="dark"] .modal:has(.balance-charge-form) .muted-box,
body.syls-user-center-page:not(.syls-reader-ui)[data-theme="dark"] .modal:has(.balance-charge-form) .muted-box,
body.syls-user-center-page.dark-theme:not(.syls-reader-ui) .modal:has(.balance-charge-form) .muted-box,
body.syls-author-page:not(.syls-reader-ui)[data-syls-theme="dark"] .modal:has(.balance-charge-form) .muted-box,
body.syls-author-page:not(.syls-reader-ui)[data-theme="dark"] .modal:has(.balance-charge-form) .muted-box,
body.syls-author-page.dark-theme:not(.syls-reader-ui) .modal:has(.balance-charge-form) .muted-box {
  border-color: rgba(255, 255, 255, 0.08) !important;
  background: rgba(255, 255, 255, 0.04) !important;
}

body.syls-user-center-page:not(.syls-reader-ui)[data-syls-theme="dark"] .modal:has(.balance-charge-form) .line-form-input,
body.syls-user-center-page:not(.syls-reader-ui)[data-theme="dark"] .modal:has(.balance-charge-form) .line-form-input,
body.syls-user-center-page.dark-theme:not(.syls-reader-ui) .modal:has(.balance-charge-form) .line-form-input,
body.syls-author-page:not(.syls-reader-ui)[data-syls-theme="dark"] .modal:has(.balance-charge-form) .line-form-input,
body.syls-author-page:not(.syls-reader-ui)[data-theme="dark"] .modal:has(.balance-charge-form) .line-form-input,
body.syls-author-page.dark-theme:not(.syls-reader-ui) .modal:has(.balance-charge-form) .line-form-input {
  color: #eef5ff !important;
  background: transparent !important;
}

body.syls-user-center-page:not(.syls-reader-ui)[data-syls-theme="dark"] .modal:has(.balance-charge-form) .line-form-line,
body.syls-user-center-page:not(.syls-reader-ui)[data-theme="dark"] .modal:has(.balance-charge-form) .line-form-line,
body.syls-user-center-page.dark-theme:not(.syls-reader-ui) .modal:has(.balance-charge-form) .line-form-line,
body.syls-author-page:not(.syls-reader-ui)[data-syls-theme="dark"] .modal:has(.balance-charge-form) .line-form-line,
body.syls-author-page:not(.syls-reader-ui)[data-theme="dark"] .modal:has(.balance-charge-form) .line-form-line,
body.syls-author-page.dark-theme:not(.syls-reader-ui) .modal:has(.balance-charge-form) .line-form-line {
  background: rgba(255, 255, 255, 0.10) !important;
}

body.syls-user-center-page:not(.syls-reader-ui)[data-syls-theme="dark"] .modal:has(.balance-charge-form) .pay-type-option,
body.syls-user-center-page:not(.syls-reader-ui)[data-theme="dark"] .modal:has(.balance-charge-form) .pay-type-option,
body.syls-user-center-page.dark-theme:not(.syls-reader-ui) .modal:has(.balance-charge-form) .pay-type-option,
body.syls-author-page:not(.syls-reader-ui)[data-syls-theme="dark"] .modal:has(.balance-charge-form) .pay-type-option,
body.syls-author-page:not(.syls-reader-ui)[data-theme="dark"] .modal:has(.balance-charge-form) .pay-type-option,
body.syls-author-page.dark-theme:not(.syls-reader-ui) .modal:has(.balance-charge-form) .pay-type-option {
  border-color: rgba(255, 255, 255, 0.10) !important;
  background: rgba(255, 255, 255, 0.03) !important;
}

body.syls-user-center-page:not(.syls-reader-ui)[data-syls-theme="dark"] .modal:has(.balance-charge-form) .pay-type-option.active,
body.syls-user-center-page:not(.syls-reader-ui)[data-theme="dark"] .modal:has(.balance-charge-form) .pay-type-option.active,
body.syls-user-center-page.dark-theme:not(.syls-reader-ui) .modal:has(.balance-charge-form) .pay-type-option.active,
body.syls-author-page:not(.syls-reader-ui)[data-syls-theme="dark"] .modal:has(.balance-charge-form) .pay-type-option.active,
body.syls-author-page:not(.syls-reader-ui)[data-theme="dark"] .modal:has(.balance-charge-form) .pay-type-option.active,
body.syls-author-page.dark-theme:not(.syls-reader-ui) .modal:has(.balance-charge-form) .pay-type-option.active {
  border-color: rgba(82, 163, 255, 0.56) !important;
  box-shadow: 0 0 0 3px rgba(82, 163, 255, 0.14) !important;
}

body.syls-user-center-page:not(.syls-reader-ui)[data-syls-theme="dark"] .modal:has(.checkin-mini-box) .modal-colorful-header,
body.syls-user-center-page:not(.syls-reader-ui)[data-theme="dark"] .modal:has(.checkin-mini-box) .modal-colorful-header,
body.syls-user-center-page.dark-theme:not(.syls-reader-ui) .modal:has(.checkin-mini-box) .modal-colorful-header,
body.syls-author-page:not(.syls-reader-ui)[data-syls-theme="dark"] .modal:has(.checkin-mini-box) .modal-colorful-header,
body.syls-author-page:not(.syls-reader-ui)[data-theme="dark"] .modal:has(.checkin-mini-box) .modal-colorful-header,
body.syls-author-page.dark-theme:not(.syls-reader-ui) .modal:has(.checkin-mini-box) .modal-colorful-header {
  background:
    radial-gradient(circle at 18% 0%, rgba(82, 163, 255, 0.28), transparent 38%),
    linear-gradient(180deg, rgba(30, 54, 86, 0.98), rgba(16, 28, 46, 0.98)) !important;
  color: #eff5ff !important;
}

body.syls-user-center-page:not(.syls-reader-ui)[data-syls-theme="dark"] .modal:has(.checkin-mini-box) .modal-colorful-header .mt10,
body.syls-user-center-page:not(.syls-reader-ui)[data-theme="dark"] .modal:has(.checkin-mini-box) .modal-colorful-header .mt10,
body.syls-user-center-page.dark-theme:not(.syls-reader-ui) .modal:has(.checkin-mini-box) .modal-colorful-header .mt10,
body.syls-user-center-page:not(.syls-reader-ui)[data-syls-theme="dark"] .modal:has(.checkin-mini-box) .modal-colorful-header .em2x,
body.syls-user-center-page:not(.syls-reader-ui)[data-theme="dark"] .modal:has(.checkin-mini-box) .modal-colorful-header .em2x,
body.syls-user-center-page.dark-theme:not(.syls-reader-ui) .modal:has(.checkin-mini-box) .modal-colorful-header .em2x,
body.syls-author-page:not(.syls-reader-ui)[data-syls-theme="dark"] .modal:has(.checkin-mini-box) .modal-colorful-header .mt10,
body.syls-author-page:not(.syls-reader-ui)[data-theme="dark"] .modal:has(.checkin-mini-box) .modal-colorful-header .mt10,
body.syls-author-page.dark-theme:not(.syls-reader-ui) .modal:has(.checkin-mini-box) .modal-colorful-header .mt10,
body.syls-author-page:not(.syls-reader-ui)[data-syls-theme="dark"] .modal:has(.checkin-mini-box) .modal-colorful-header .em2x,
body.syls-author-page:not(.syls-reader-ui)[data-theme="dark"] .modal:has(.checkin-mini-box) .modal-colorful-header .em2x,
body.syls-author-page.dark-theme:not(.syls-reader-ui) .modal:has(.checkin-mini-box) .modal-colorful-header .em2x {
  color: #8fc7ff !important;
}

body.syls-user-center-page:not(.syls-reader-ui)[data-syls-theme="dark"] .modal:has(.checkin-mini-box) .checkin-mini-box > div,
body.syls-user-center-page:not(.syls-reader-ui)[data-theme="dark"] .modal:has(.checkin-mini-box) .checkin-mini-box > div,
body.syls-user-center-page.dark-theme:not(.syls-reader-ui) .modal:has(.checkin-mini-box) .checkin-mini-box > div,
body.syls-author-page:not(.syls-reader-ui)[data-syls-theme="dark"] .modal:has(.checkin-mini-box) .checkin-mini-box > div,
body.syls-author-page:not(.syls-reader-ui)[data-theme="dark"] .modal:has(.checkin-mini-box) .checkin-mini-box > div,
body.syls-author-page.dark-theme:not(.syls-reader-ui) .modal:has(.checkin-mini-box) .checkin-mini-box > div {
  border-color: rgba(255, 255, 255, 0.08) !important;
  background: rgba(195, 255, 206, 0.06) !important;
  color: #d9fbe0 !important;
}

body.syls-user-center-page:not(.syls-reader-ui)[data-syls-theme="dark"] .modal:has(.checkin-mini-box) .checkin-mini-box .c-green,
body.syls-user-center-page:not(.syls-reader-ui)[data-theme="dark"] .modal:has(.checkin-mini-box) .checkin-mini-box .c-green,
body.syls-user-center-page.dark-theme:not(.syls-reader-ui) .modal:has(.checkin-mini-box) .checkin-mini-box .c-green,
body.syls-user-center-page:not(.syls-reader-ui)[data-syls-theme="dark"] .modal:has(.checkin-mini-box) .checkin-mini-box .c-blue,
body.syls-user-center-page:not(.syls-reader-ui)[data-theme="dark"] .modal:has(.checkin-mini-box) .checkin-mini-box .c-blue,
body.syls-user-center-page.dark-theme:not(.syls-reader-ui) .modal:has(.checkin-mini-box) .checkin-mini-box .c-blue,
body.syls-user-center-page:not(.syls-reader-ui)[data-syls-theme="dark"] .modal:has(.checkin-mini-box) .checkin-mini-box .c-purple,
body.syls-user-center-page:not(.syls-reader-ui)[data-theme="dark"] .modal:has(.checkin-mini-box) .checkin-mini-box .c-purple,
body.syls-user-center-page.dark-theme:not(.syls-reader-ui) .modal:has(.checkin-mini-box) .checkin-mini-box .c-purple,
body.syls-author-page:not(.syls-reader-ui)[data-syls-theme="dark"] .modal:has(.checkin-mini-box) .checkin-mini-box .c-green,
body.syls-author-page:not(.syls-reader-ui)[data-theme="dark"] .modal:has(.checkin-mini-box) .checkin-mini-box .c-green,
body.syls-author-page.dark-theme:not(.syls-reader-ui) .modal:has(.checkin-mini-box) .checkin-mini-box .c-green,
body.syls-author-page:not(.syls-reader-ui)[data-syls-theme="dark"] .modal:has(.checkin-mini-box) .checkin-mini-box .c-blue,
body.syls-author-page:not(.syls-reader-ui)[data-theme="dark"] .modal:has(.checkin-mini-box) .checkin-mini-box .c-blue,
body.syls-author-page.dark-theme:not(.syls-reader-ui) .modal:has(.checkin-mini-box) .checkin-mini-box .c-blue,
body.syls-author-page:not(.syls-reader-ui)[data-syls-theme="dark"] .modal:has(.checkin-mini-box) .checkin-mini-box .c-purple,
body.syls-author-page:not(.syls-reader-ui)[data-theme="dark"] .modal:has(.checkin-mini-box) .checkin-mini-box .c-purple,
body.syls-author-page.dark-theme:not(.syls-reader-ui) .modal:has(.checkin-mini-box) .checkin-mini-box .c-purple {
  color: inherit !important;
}

body.syls-user-center-page:not(.syls-reader-ui)[data-syls-theme="dark"] .modal:has(.checkin-mini-box) badge,
body.syls-user-center-page:not(.syls-reader-ui)[data-theme="dark"] .modal:has(.checkin-mini-box) badge,
body.syls-user-center-page.dark-theme:not(.syls-reader-ui) .modal:has(.checkin-mini-box) badge,
body.syls-author-page:not(.syls-reader-ui)[data-syls-theme="dark"] .modal:has(.checkin-mini-box) badge,
body.syls-author-page:not(.syls-reader-ui)[data-theme="dark"] .modal:has(.checkin-mini-box) badge,
body.syls-author-page.dark-theme:not(.syls-reader-ui) .modal:has(.checkin-mini-box) badge {
  background: rgba(82, 163, 255, 0.14) !important;
  color: #8fc7ff !important;
}

/* Personal center / author modal dark-mode fallback when theme flag lives on <html> */
html[data-syls-theme="dark"] body.syls-user-center-page:not(.syls-reader-ui) #modal_pay_uservip,
html[data-theme="dark"] body.syls-user-center-page:not(.syls-reader-ui) #modal_pay_uservip,
html[data-syls-theme="dark"] body.syls-author-page:not(.syls-reader-ui) #modal_pay_uservip,
html[data-theme="dark"] body.syls-author-page:not(.syls-reader-ui) #modal_pay_uservip {
  z-index: 999999 !important;
}

html[data-syls-theme="dark"] body.syls-user-center-page:not(.syls-reader-ui) #modal_pay_uservip .modal-content,
html[data-theme="dark"] body.syls-user-center-page:not(.syls-reader-ui) #modal_pay_uservip .modal-content,
html[data-syls-theme="dark"] body.syls-user-center-page:not(.syls-reader-ui) .modal:has(.balance-charge-form) .modal-content,
html[data-theme="dark"] body.syls-user-center-page:not(.syls-reader-ui) .modal:has(.balance-charge-form) .modal-content,
html[data-syls-theme="dark"] body.syls-user-center-page:not(.syls-reader-ui) .modal:has(.checkin-mini-box) .modal-content,
html[data-theme="dark"] body.syls-user-center-page:not(.syls-reader-ui) .modal:has(.checkin-mini-box) .modal-content,
html[data-syls-theme="dark"] body.syls-author-page:not(.syls-reader-ui) #modal_pay_uservip .modal-content,
html[data-theme="dark"] body.syls-author-page:not(.syls-reader-ui) #modal_pay_uservip .modal-content,
html[data-syls-theme="dark"] body.syls-author-page:not(.syls-reader-ui) .modal:has(.balance-charge-form) .modal-content,
html[data-theme="dark"] body.syls-author-page:not(.syls-reader-ui) .modal:has(.balance-charge-form) .modal-content,
html[data-syls-theme="dark"] body.syls-author-page:not(.syls-reader-ui) .modal:has(.checkin-mini-box) .modal-content,
html[data-theme="dark"] body.syls-author-page:not(.syls-reader-ui) .modal:has(.checkin-mini-box) .modal-content {
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  border-radius: 30px !important;
  background:
    radial-gradient(circle at 16% 0%, rgba(66, 153, 225, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(19, 28, 43, 0.98), rgba(13, 21, 34, 0.99)) !important;
  box-shadow: 0 28px 90px rgba(2, 8, 18, 0.48) !important;
  color: #eff5ff !important;
  overflow: hidden !important;
}

html[data-syls-theme="dark"] body.syls-user-center-page:not(.syls-reader-ui) #modal_pay_uservip .modal-body,
html[data-theme="dark"] body.syls-user-center-page:not(.syls-reader-ui) #modal_pay_uservip .modal-body,
html[data-syls-theme="dark"] body.syls-user-center-page:not(.syls-reader-ui) .modal:has(.balance-charge-form) .modal-body,
html[data-theme="dark"] body.syls-user-center-page:not(.syls-reader-ui) .modal:has(.balance-charge-form) .modal-body,
html[data-syls-theme="dark"] body.syls-user-center-page:not(.syls-reader-ui) .modal:has(.checkin-mini-box) .modal-body,
html[data-theme="dark"] body.syls-user-center-page:not(.syls-reader-ui) .modal:has(.checkin-mini-box) .modal-body,
html[data-syls-theme="dark"] body.syls-author-page:not(.syls-reader-ui) #modal_pay_uservip .modal-body,
html[data-theme="dark"] body.syls-author-page:not(.syls-reader-ui) #modal_pay_uservip .modal-body,
html[data-syls-theme="dark"] body.syls-author-page:not(.syls-reader-ui) .modal:has(.balance-charge-form) .modal-body,
html[data-theme="dark"] body.syls-author-page:not(.syls-reader-ui) .modal:has(.balance-charge-form) .modal-body,
html[data-syls-theme="dark"] body.syls-author-page:not(.syls-reader-ui) .modal:has(.checkin-mini-box) .modal-body,
html[data-theme="dark"] body.syls-author-page:not(.syls-reader-ui) .modal:has(.checkin-mini-box) .modal-body {
  background: transparent !important;
}

html[data-syls-theme="dark"] body.syls-user-center-page:not(.syls-reader-ui) #modal_pay_uservip .close,
html[data-theme="dark"] body.syls-user-center-page:not(.syls-reader-ui) #modal_pay_uservip .close,
html[data-syls-theme="dark"] body.syls-user-center-page:not(.syls-reader-ui) .modal:has(.balance-charge-form) .close,
html[data-theme="dark"] body.syls-user-center-page:not(.syls-reader-ui) .modal:has(.balance-charge-form) .close,
html[data-syls-theme="dark"] body.syls-user-center-page:not(.syls-reader-ui) .modal:has(.checkin-mini-box) .close,
html[data-theme="dark"] body.syls-user-center-page:not(.syls-reader-ui) .modal:has(.checkin-mini-box) .close,
html[data-syls-theme="dark"] body.syls-author-page:not(.syls-reader-ui) #modal_pay_uservip .close,
html[data-theme="dark"] body.syls-author-page:not(.syls-reader-ui) #modal_pay_uservip .close,
html[data-syls-theme="dark"] body.syls-author-page:not(.syls-reader-ui) .modal:has(.balance-charge-form) .close,
html[data-theme="dark"] body.syls-author-page:not(.syls-reader-ui) .modal:has(.balance-charge-form) .close,
html[data-syls-theme="dark"] body.syls-author-page:not(.syls-reader-ui) .modal:has(.checkin-mini-box) .close,
html[data-theme="dark"] body.syls-author-page:not(.syls-reader-ui) .modal:has(.checkin-mini-box) .close {
  background: rgba(65, 140, 255, 0.14) !important;
  color: #82b8ff !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

html[data-syls-theme="dark"] body.syls-user-center-page:not(.syls-reader-ui) #modal_pay_uservip .modal-title,
html[data-theme="dark"] body.syls-user-center-page:not(.syls-reader-ui) #modal_pay_uservip .modal-title,
html[data-syls-theme="dark"] body.syls-user-center-page:not(.syls-reader-ui) .modal:has(.balance-charge-form) .modal-title,
html[data-theme="dark"] body.syls-user-center-page:not(.syls-reader-ui) .modal:has(.balance-charge-form) .modal-title,
html[data-syls-theme="dark"] body.syls-user-center-page:not(.syls-reader-ui) .modal:has(.checkin-mini-box) .modal-title,
html[data-theme="dark"] body.syls-user-center-page:not(.syls-reader-ui) .modal:has(.checkin-mini-box) .modal-title,
html[data-syls-theme="dark"] body.syls-author-page:not(.syls-reader-ui) #modal_pay_uservip .modal-title,
html[data-theme="dark"] body.syls-author-page:not(.syls-reader-ui) #modal_pay_uservip .modal-title,
html[data-syls-theme="dark"] body.syls-author-page:not(.syls-reader-ui) .modal:has(.balance-charge-form) .modal-title,
html[data-theme="dark"] body.syls-author-page:not(.syls-reader-ui) .modal:has(.balance-charge-form) .modal-title,
html[data-syls-theme="dark"] body.syls-author-page:not(.syls-reader-ui) .modal:has(.checkin-mini-box) .modal-title,
html[data-theme="dark"] body.syls-author-page:not(.syls-reader-ui) .modal:has(.checkin-mini-box) .modal-title {
  color: #eff5ff !important;
}

html[data-syls-theme="dark"] body.syls-user-center-page:not(.syls-reader-ui) #modal_pay_uservip .muted-color,
html[data-theme="dark"] body.syls-user-center-page:not(.syls-reader-ui) #modal_pay_uservip .muted-color,
html[data-syls-theme="dark"] body.syls-user-center-page:not(.syls-reader-ui) #modal_pay_uservip .muted-2-color,
html[data-theme="dark"] body.syls-user-center-page:not(.syls-reader-ui) #modal_pay_uservip .muted-2-color,
html[data-syls-theme="dark"] body.syls-user-center-page:not(.syls-reader-ui) .modal:has(.balance-charge-form) .muted-color,
html[data-theme="dark"] body.syls-user-center-page:not(.syls-reader-ui) .modal:has(.balance-charge-form) .muted-color,
html[data-syls-theme="dark"] body.syls-user-center-page:not(.syls-reader-ui) .modal:has(.balance-charge-form) .muted-2-color,
html[data-theme="dark"] body.syls-user-center-page:not(.syls-reader-ui) .modal:has(.balance-charge-form) .muted-2-color,
html[data-syls-theme="dark"] body.syls-user-center-page:not(.syls-reader-ui) .modal:has(.checkin-mini-box) .muted-color,
html[data-theme="dark"] body.syls-user-center-page:not(.syls-reader-ui) .modal:has(.checkin-mini-box) .muted-color,
html[data-syls-theme="dark"] body.syls-user-center-page:not(.syls-reader-ui) .modal:has(.checkin-mini-box) .muted-2-color,
html[data-theme="dark"] body.syls-user-center-page:not(.syls-reader-ui) .modal:has(.checkin-mini-box) .muted-2-color,
html[data-syls-theme="dark"] body.syls-author-page:not(.syls-reader-ui) #modal_pay_uservip .muted-color,
html[data-theme="dark"] body.syls-author-page:not(.syls-reader-ui) #modal_pay_uservip .muted-color,
html[data-syls-theme="dark"] body.syls-author-page:not(.syls-reader-ui) #modal_pay_uservip .muted-2-color,
html[data-theme="dark"] body.syls-author-page:not(.syls-reader-ui) #modal_pay_uservip .muted-2-color,
html[data-syls-theme="dark"] body.syls-author-page:not(.syls-reader-ui) .modal:has(.balance-charge-form) .muted-color,
html[data-theme="dark"] body.syls-author-page:not(.syls-reader-ui) .modal:has(.balance-charge-form) .muted-color,
html[data-syls-theme="dark"] body.syls-author-page:not(.syls-reader-ui) .modal:has(.balance-charge-form) .muted-2-color,
html[data-theme="dark"] body.syls-author-page:not(.syls-reader-ui) .modal:has(.balance-charge-form) .muted-2-color,
html[data-syls-theme="dark"] body.syls-author-page:not(.syls-reader-ui) .modal:has(.checkin-mini-box) .muted-color,
html[data-theme="dark"] body.syls-author-page:not(.syls-reader-ui) .modal:has(.checkin-mini-box) .muted-color,
html[data-syls-theme="dark"] body.syls-author-page:not(.syls-reader-ui) .modal:has(.checkin-mini-box) .muted-2-color,
html[data-theme="dark"] body.syls-author-page:not(.syls-reader-ui) .modal:has(.checkin-mini-box) .muted-2-color {
  color: #a9b8d3 !important;
}

body.syls-home-portal-page #u_sign,
body.syls-home-portal-page .modal.sign {
  --syls-sign-bg: color-mix(in srgb, var(--bg-card) 96%, #fff 4%);
  --syls-sign-field: color-mix(in srgb, var(--bg-panel) 86%, #fff 14%);
  --syls-sign-line: color-mix(in srgb, var(--border-subtle) 82%, transparent);
  color: var(--text-primary);
}

body.syls-home-portal-page #u_sign .modal-dialog,
body.syls-home-portal-page .modal.sign .modal-dialog {
  width: min(620px, calc(100vw - 32px));
  max-width: min(620px, calc(100vw - 32px));
  margin: max(22px, 6vh) auto;
}

body.syls-home-portal-page #u_sign .modal-content,
body.syls-home-portal-page .modal.sign .modal-content {
  overflow: hidden;
  border: 1px solid var(--syls-sign-line);
  border-radius: 30px;
  background:
    radial-gradient(circle at 18% 0%, color-mix(in srgb, var(--primary-soft) 34%, transparent), transparent 34%),
    var(--syls-sign-bg);
  color: var(--text-primary);
  box-shadow: 0 28px 72px rgba(20, 36, 70, 0.18);
}

body.syls-home-portal-page #u_sign .modal-body,
body.syls-home-portal-page .modal.sign .modal-body {
  padding: 38px 44px 46px;
}

body.syls-home-portal-page #u_sign .close,
body.syls-home-portal-page .modal.sign .close {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 5;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: color-mix(in srgb, var(--primary-soft) 56%, var(--bg-card) 44%);
  color: var(--primary);
  font-size: 0;
  opacity: 1;
}

body.syls-home-portal-page #u_sign .close::before,
body.syls-home-portal-page .modal.sign .close::before {
  content: "×";
  font-size: 34px;
  line-height: 1;
  font-weight: 300;
}

body.syls-home-portal-page #u_sign img,
body.syls-home-portal-page .modal.sign img {
  max-width: min(280px, 72%);
  height: auto;
}

body.syls-home-portal-page #u_sign h1,
body.syls-home-portal-page #u_sign h2,
body.syls-home-portal-page #u_sign h3,
body.syls-home-portal-page .modal.sign h1,
body.syls-home-portal-page .modal.sign h2,
body.syls-home-portal-page .modal.sign h3 {
  color: var(--text-primary);
  line-height: 1.18;
}

body.syls-home-portal-page #u_sign input[type="text"],
body.syls-home-portal-page #u_sign input[type="tel"],
body.syls-home-portal-page #u_sign input[type="email"],
body.syls-home-portal-page #u_sign input[type="password"],
body.syls-home-portal-page .modal.sign input[type="text"],
body.syls-home-portal-page .modal.sign input[type="tel"],
body.syls-home-portal-page .modal.sign input[type="email"],
body.syls-home-portal-page .modal.sign input[type="password"] {
  width: 100%;
  height: 54px;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid var(--syls-sign-line);
  border-radius: 16px;
  background: var(--syls-sign-field);
  color: var(--text-primary);
  font-size: 16px;
  line-height: 54px;
  box-shadow: none;
}

body.syls-home-portal-page #u_sign input::placeholder,
body.syls-home-portal-page .modal.sign input::placeholder {
  color: var(--text-muted);
}

body.syls-home-portal-page #u_sign .form-group,
body.syls-home-portal-page .modal.sign .form-group {
  position: relative;
  margin-bottom: 16px;
}

body.syls-home-portal-page #u_sign .form-group:has([name*="captch"]) input,
body.syls-home-portal-page #u_sign .form-group:has([placeholder*="验证码"]) input,
body.syls-home-portal-page .modal.sign .form-group:has([name*="captch"]) input,
body.syls-home-portal-page .modal.sign .form-group:has([placeholder*="验证码"]) input {
  padding-right: 150px;
}

body.syls-home-portal-page #u_sign .form-group:has([name*="captch"]) .but,
body.syls-home-portal-page #u_sign .form-group:has([placeholder*="验证码"]) .but,
body.syls-home-portal-page .modal.sign .form-group:has([name*="captch"]) .but,
body.syls-home-portal-page .modal.sign .form-group:has([placeholder*="验证码"]) .but {
  position: absolute;
  top: 6px;
  right: 6px;
  width: auto;
  min-width: 124px;
  height: 42px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 74%, #69b8ff 26%));
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 42px;
  box-shadow: none;
}

body.syls-home-portal-page #u_sign .but[type="submit"],
body.syls-home-portal-page #u_sign button[type="submit"],
body.syls-home-portal-page .modal.sign .but[type="submit"],
body.syls-home-portal-page .modal.sign button[type="submit"] {
  width: 100%;
  min-height: 52px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 74%, #62b7ff 26%));
  color: #fff;
  font-size: 17px;
  font-weight: 850;
  box-shadow: 0 16px 34px color-mix(in srgb, var(--primary) 20%, transparent);
}

html[data-syls-theme="dark"] body.syls-home-portal-page #u_sign .modal-content,
html[data-theme="dark"] body.syls-home-portal-page #u_sign .modal-content,
html[data-syls-theme="dark"] body.syls-home-portal-page .modal.sign .modal-content,
html[data-theme="dark"] body.syls-home-portal-page .modal.sign .modal-content,
body.dark-theme.syls-home-portal-page #u_sign .modal-content,
body.dark-theme.syls-home-portal-page .modal.sign .modal-content {
  background:
    radial-gradient(circle at 18% 0%, color-mix(in srgb, var(--primary) 14%, transparent), transparent 36%),
    color-mix(in srgb, var(--bg-card) 96%, #0b1320 4%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.44);
}

@media (max-width: 640px) {
  body.syls-home-portal-page #u_sign .modal-body,
  body.syls-home-portal-page .modal.sign .modal-body {
    padding: 32px 20px 30px;
  }

  body.syls-home-portal-page #u_sign .form-group:has([name*="captch"]) input,
  body.syls-home-portal-page #u_sign .form-group:has([placeholder*="验证码"]) input,
  body.syls-home-portal-page .modal.sign .form-group:has([name*="captch"]) input,
  body.syls-home-portal-page .modal.sign .form-group:has([placeholder*="验证码"]) input {
    padding-right: 120px;
  }

  body.syls-home-portal-page #u_sign .form-group:has([name*="captch"]) .but,
  body.syls-home-portal-page #u_sign .form-group:has([placeholder*="验证码"]) .but,
  body.syls-home-portal-page .modal.sign .form-group:has([name*="captch"]) .but,
  body.syls-home-portal-page .modal.sign .form-group:has([placeholder*="验证码"]) .but {
    min-width: 104px;
    padding: 0 12px;
  }
}

/* Home sign modal final override: keep Zibll markup, fix inherited modal sizing. */
body.syls-home-portal-page #u_sign {
  padding: 18px !important;
}

body.syls-home-portal-page #u_sign .modal-dialog {
  width: min(520px, calc(100vw - 36px)) !important;
  max-width: min(520px, calc(100vw - 36px)) !important;
  margin: max(18px, 5vh) auto !important;
}

body.syls-home-portal-page #u_sign .sign-content {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.syls-home-portal-page #u_sign .sign {
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 42px 46px 46px !important;
  border: 1px solid var(--syls-sign-line) !important;
  border-radius: 30px !important;
  background:
    radial-gradient(circle at 18% 0%, color-mix(in srgb, var(--primary-soft) 34%, transparent), transparent 34%),
    var(--syls-sign-bg) !important;
  color: var(--text-primary) !important;
  box-shadow: 0 28px 72px rgba(20, 36, 70, 0.18) !important;
  overflow: hidden !important;
}

body.syls-home-portal-page #u_sign .modal-content,
body.syls-home-portal-page #u_sign .modal-body {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

body.syls-home-portal-page #u_sign .close {
  position: absolute !important;
  top: 18px !important;
  right: 18px !important;
  z-index: 5 !important;
  width: 42px !important;
  min-width: 42px !important;
  height: 42px !important;
  min-height: 42px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: color-mix(in srgb, var(--primary-soft) 56%, var(--bg-card) 44%) !important;
  color: var(--primary) !important;
  font-size: 0 !important;
  line-height: 1 !important;
  opacity: 1 !important;
  text-shadow: none !important;
  box-shadow: none !important;
}

body.syls-home-portal-page #u_sign .close::before {
  content: none !important;
}

body.syls-home-portal-page #u_sign .close .ic-close,
body.syls-home-portal-page #u_sign .close svg {
  width: 20px !important;
  height: 20px !important;
  display: block !important;
  color: currentColor !important;
}

body.syls-home-portal-page #u_sign .sign .logo,
body.syls-home-portal-page #u_sign .sign .sign-logo,
body.syls-home-portal-page #u_sign .sign > .text-center:first-child {
  max-width: calc(100% - 56px) !important;
  margin: 0 auto 34px !important;
  padding: 0 !important;
  text-align: center !important;
}

body.syls-home-portal-page #u_sign .sign img {
  max-width: min(260px, 100%) !important;
  max-height: 66px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}

body.syls-home-portal-page #u_sign .box-body {
  padding: 0 !important;
  margin-bottom: 22px !important;
}

body.syls-home-portal-page #u_sign .title-h-left {
  margin: 0 0 10px !important;
  color: var(--text-primary) !important;
  font-size: 34px !important;
  line-height: 1.16 !important;
  font-weight: 850 !important;
  letter-spacing: 0 !important;
}

body.syls-home-portal-page #u_sign form,
body.syls-home-portal-page #u_sign .tab-content {
  width: 100% !important;
  max-width: 100% !important;
}

body.syls-home-portal-page #u_sign .line-form {
  position: relative !important;
  width: 100% !important;
  margin: 0 0 18px !important;
  overflow: visible !important;
}

body.syls-home-portal-page #u_sign .line-form-line {
  display: none !important;
}

body.syls-home-portal-page #u_sign .scale-placeholder {
  position: absolute !important;
  top: 50% !important;
  left: 20px !important;
  z-index: 2 !important;
  max-width: calc(100% - 40px) !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: translateY(-50%) !important;
  transform-origin: left center !important;
  color: var(--text-muted) !important;
  font-size: 16px !important;
  line-height: 1 !important;
  opacity: 0.72 !important;
  pointer-events: none !important;
}

body.syls-home-portal-page #u_sign .line-form input:focus ~ .scale-placeholder,
body.syls-home-portal-page #u_sign .line-form input:not(:placeholder-shown) ~ .scale-placeholder {
  opacity: 0 !important;
  transform: translateY(-50%) !important;
}

body.syls-home-portal-page #u_sign input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
body.syls-home-portal-page #u_sign textarea,
body.syls-home-portal-page #u_sign select,
body.syls-home-portal-page #u_sign .form-control,
body.syls-home-portal-page #u_sign .line-form-input {
  width: 100% !important;
  max-width: 100% !important;
  height: 54px !important;
  min-height: 54px !important;
  padding: 0 20px !important;
  border: 1px solid var(--syls-sign-line) !important;
  border-radius: 999px !important;
  background: var(--syls-sign-field) !important;
  color: var(--text-primary) !important;
  font-size: 18px !important;
  line-height: 54px !important;
  box-shadow: none !important;
}

body.syls-home-portal-page #u_sign .line-form:has(.yztx) input.line-form-input,
body.syls-home-portal-page #u_sign .line-form:has(.captchsubmit) input.line-form-input {
  padding-right: 132px !important;
}

body.syls-home-portal-page #u_sign .line-form:has(.captchsubmit) {
  height: 54px !important;
  min-height: 54px !important;
}

body.syls-home-portal-page #u_sign .match-ok {
  display: none !important;
}

body.syls-home-portal-page #u_sign input[machine-verification="slider"],
body.syls-home-portal-page #u_sign input[machine-verification="tcaptcha"],
body.syls-home-portal-page #u_sign input[machine-verification="geetest"] {
  display: none !important;
}

body.syls-home-portal-page #u_sign [slider-id],
body.syls-home-portal-page #u_sign .slidercaptcha,
body.syls-home-portal-page #u_sign .slidercaptcha-card,
body.syls-home-portal-page #u_sign .slidercaptcha-button,
body.syls-home-portal-page #u_sign .captcha-button,
body.syls-home-portal-page #u_sign .captcha-open {
  position: static !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 42px !important;
  min-height: 42px !important;
  margin: 0 0 18px !important;
  transform: none !important;
}

body.syls-home-portal-page #u_sign input[type="checkbox"],
body.syls-home-portal-page #u_sign input[type="radio"] {
  width: 18px !important;
  min-width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  padding: 0 !important;
  margin: 0 8px 0 0 !important;
  border-radius: 6px !important;
  vertical-align: -3px !important;
  box-shadow: none !important;
}

body.syls-home-portal-page #u_sign label,
body.syls-home-portal-page #u_sign .checkbox,
body.syls-home-portal-page #u_sign .remember,
body.syls-home-portal-page #u_sign .form-check {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  color: var(--text-muted) !important;
  font-weight: 700 !important;
}

body.syls-home-portal-page #u_sign .but[type="submit"],
body.syls-home-portal-page #u_sign button[type="submit"],
body.syls-home-portal-page #u_sign .signsubmit-loader,
body.syls-home-portal-page #u_sign .sign-submit {
  width: 100% !important;
  max-width: 340px !important;
  min-height: 54px !important;
  margin: 26px auto 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #57c2f7, #278cff) !important;
  color: #fff !important;
  font-size: 18px !important;
  font-weight: 850 !important;
  line-height: 1.2 !important;
  box-shadow: 0 16px 32px rgba(39, 140, 255, 0.26) !important;
}

body.syls-home-portal-page #u_sign .yztx.abs-right,
body.syls-home-portal-page #u_sign .line-form .yztx {
  position: absolute !important;
  top: 8px !important;
  right: 6px !important;
  bottom: 8px !important;
  z-index: 3 !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  display: flex !important;
  align-items: center !important;
  transform: none !important;
}

body.syls-home-portal-page #u_sign .yztx .captchsubmit,
body.syls-home-portal-page #u_sign .captchsubmit {
  width: auto !important;
  max-width: none !important;
  min-width: 108px !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #57c2f7, #278cff) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  box-shadow: none !important;
  white-space: nowrap !important;
}

html[data-syls-theme="dark"] body.syls-home-portal-page #u_sign .sign,
html[data-theme="dark"] body.syls-home-portal-page #u_sign .sign,
body.dark-theme.syls-home-portal-page #u_sign .sign {
  background:
    radial-gradient(circle at 18% 0%, color-mix(in srgb, var(--primary) 14%, transparent), transparent 36%),
    color-mix(in srgb, var(--bg-card) 96%, #0b1320 4%) !important;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.44) !important;
}

@media (max-width: 640px) {
  body.syls-home-portal-page #u_sign {
    padding: 10px !important;
  }

  body.syls-home-portal-page #u_sign .modal-dialog {
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px) !important;
    margin: 10px auto !important;
  }

  body.syls-home-portal-page #u_sign .sign {
    max-height: calc(100vh - 20px) !important;
    padding: 34px 22px 30px !important;
    overflow-y: auto !important;
  }

  body.syls-home-portal-page #u_sign .close {
    top: 14px !important;
    right: 14px !important;
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
  }

  body.syls-home-portal-page #u_sign .sign .logo,
  body.syls-home-portal-page #u_sign .sign .sign-logo,
  body.syls-home-portal-page #u_sign .sign > .text-center:first-child {
    margin-bottom: 26px !important;
  }

  body.syls-home-portal-page #u_sign .title-h-left {
    font-size: 32px !important;
  }

  body.syls-home-portal-page #u_sign .line-form:has(.yztx) input.line-form-input,
  body.syls-home-portal-page #u_sign .line-form:has(.captchsubmit) input.line-form-input {
    padding-right: 110px !important;
  }

  body.syls-home-portal-page #u_sign .yztx .captchsubmit,
  body.syls-home-portal-page #u_sign .captchsubmit {
    min-width: 92px !important;
    padding: 0 10px !important;
    font-size: 13px !important;
  }

  body.syls-home-portal-page #u_sign .but[type="submit"],
  body.syls-home-portal-page #u_sign button[type="submit"],
  body.syls-home-portal-page #u_sign .signsubmit-loader,
  body.syls-home-portal-page #u_sign .sign-submit {
    max-width: none !important;
  }
}

/* Standalone auth pages use the same visual language as the home login modal. */
body.syls-auth-page {
  min-height: 100vh !important;
  margin: 0 !important;
  background:
    radial-gradient(circle at 24% 18%, color-mix(in srgb, var(--primary-soft) 34%, transparent), transparent 30%),
    linear-gradient(180deg, color-mix(in srgb, var(--bg-panel) 92%, #ffffff 8%), var(--bg-panel)) !important;
  overflow-x: hidden !important;
}

body.syls-auth-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background: rgba(238, 242, 247, 0.68);
  backdrop-filter: blur(12px) saturate(1.1);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  pointer-events: none;
}

body.syls-auth-page .syls-auth-stage {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100svh;
  width: 100%;
  display: grid;
  place-items: center;
  padding: 28px 18px;
}

body.syls-auth-page #u_sign.syls-auth-modal {
  position: relative !important;
  width: min(520px, calc(100vw - 36px)) !important;
  max-width: min(520px, calc(100vw - 36px)) !important;
  padding: 0 !important;
}

body.syls-auth-page #u_sign .sign {
  width: 100% !important;
  max-width: 100% !important;
}

body.syls-auth-page #u_sign .syls-auth-close {
  position: absolute !important;
  top: 18px !important;
  right: 18px !important;
  z-index: 8 !important;
  width: 42px !important;
  min-width: 42px !important;
  height: 42px !important;
  min-height: 42px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: color-mix(in srgb, var(--primary-soft) 56%, var(--bg-card) 44%) !important;
  color: var(--primary) !important;
  font-size: 30px !important;
  line-height: 1 !important;
  font-weight: 300 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

body.syls-auth-page #u_sign .syls-auth-close:hover,
body.syls-auth-page #u_sign .syls-auth-close:focus {
  background: color-mix(in srgb, var(--primary-soft) 72%, var(--bg-card) 28%) !important;
  color: var(--primary-hover) !important;
  text-decoration: none !important;
}

html[data-syls-theme="dark"] body.syls-auth-page,
html[data-theme="dark"] body.syls-auth-page,
body.dark-theme.syls-auth-page {
  background:
    radial-gradient(circle at 22% 12%, rgba(41, 151, 255, 0.16), transparent 34%),
    linear-gradient(180deg, #101827, #0b111d) !important;
}

html[data-syls-theme="dark"] body.syls-auth-page::before,
html[data-theme="dark"] body.syls-auth-page::before,
body.dark-theme.syls-auth-page::before {
  background: rgba(2, 8, 18, 0.72);
}

@media (max-width: 640px) {
  body.syls-auth-page .syls-auth-stage {
    align-items: start;
    padding: 12px 10px;
  }

  body.syls-auth-page #u_sign.syls-auth-modal {
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px) !important;
  }
}

/* Reader points purchase modal: keep parent payment logic, polish only the popup UI. */
body.syls-reader-ui .modal:has(.order-type-2) {
  z-index: 999999 !important;
}

body.syls-reader-ui .modal:has(.order-type-2) .modal-dialog {
  width: min(620px, calc(100vw - 34px)) !important;
  max-width: min(620px, calc(100vw - 34px)) !important;
  margin: 5vh auto !important;
}

body.syls-reader-ui .modal:has(.order-type-2) .modal-content {
  width: 100% !important;
  max-width: 620px !important;
  margin-right: auto !important;
  margin-left: auto !important;
  border: 1px solid rgba(116, 139, 178, 0.18) !important;
  border-radius: 28px !important;
  background: #f8fbff !important;
  color: #1f2937 !important;
  box-shadow: 0 30px 90px rgba(14, 28, 54, 0.26) !important;
  overflow: hidden !important;
}

body.syls-reader-ui .modal:has(.order-type-2) .modal-body {
  padding: 22px !important;
  background: #f8fbff !important;
}

body.syls-reader-ui .modal:has(.order-type-2) .modal-colorful-header {
  position: relative !important;
  inset: auto !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  display: flex !important;
  flex-direction: column;
  min-height: 132px !important;
  height: auto !important;
  margin: -22px -22px 22px !important;
  padding: 34px 56px 30px !important;
  border-radius: 0 !important;
  background:
    radial-gradient(circle at 14% -20%, rgba(86, 190, 255, 0.55), transparent 42%),
    radial-gradient(circle at 86% 10%, rgba(123, 92, 255, 0.24), transparent 38%),
    linear-gradient(135deg, #14386d 0%, #2f7df6 48%, #34b6ff 100%) !important;
  color: #ffffff !important;
  overflow: hidden !important;
}

body.syls-reader-ui .modal:has(.order-type-2) .modal-colorful-header + * {
  margin-top: 0 !important;
}

body.syls-reader-ui .modal:has(.order-type-2) .modal-colorful-header::after {
  content: "";
  position: absolute;
  inset: auto -18% -60% 18%;
  height: 120px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  transform: rotate(-10deg);
}

body.syls-reader-ui .modal:has(.order-type-2) .modal-colorful-header .em2x,
body.syls-reader-ui .modal:has(.order-type-2) .modal-colorful-header .mt10,
body.syls-reader-ui .modal:has(.order-type-2) .modal-title {
  position: relative;
  z-index: 1;
  color: #ffffff !important;
  text-shadow: none !important;
}

body.syls-reader-ui .modal:has(.order-type-2) .modal-colorful-header .em2x,
body.syls-reader-ui .modal:has(.order-type-2) .modal-colorful-header i.fa-cart-plus {
  font-size: 34px !important;
  line-height: 1 !important;
}

body.syls-reader-ui .modal:has(.order-type-2) .modal-colorful-header .mt10,
body.syls-reader-ui .modal:has(.order-type-2) .modal-title {
  margin-top: 14px !important;
  font-size: 26px !important;
  font-weight: 850 !important;
  letter-spacing: 0 !important;
}

body.syls-reader-ui .modal:has(.order-type-2) .modal-colorful-header > .close,
body.syls-reader-ui .modal:has(.order-type-2) .close {
  top: 16px !important;
  right: 16px !important;
  width: 42px !important;
  height: 42px !important;
  border: 1px solid rgba(255, 255, 255, 0.32) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.16) !important;
  color: #ffffff !important;
  opacity: 1 !important;
  text-shadow: none !important;
  z-index: 3 !important;
}

body.syls-reader-ui .modal:has(.order-type-2) .order-type-2 {
  margin-bottom: 18px !important;
  color: #1f2937 !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
}

body.syls-reader-ui .modal:has(.order-type-2) .order-type-2 .pay-tag {
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
  height: 28px;
  margin-right: 8px !important;
  padding: 0 10px !important;
  border-radius: 9px !important;
  background: linear-gradient(135deg, #ff6c8e, #ff8b5f) !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  vertical-align: 2px;
}

body.syls-reader-ui .modal:has(.order-type-2) .muted-box {
  margin-bottom: 14px !important;
  padding: 16px 18px !important;
  border: 1px solid rgba(116, 139, 178, 0.12) !important;
  border-radius: 16px !important;
  background: rgba(236, 242, 250, 0.72) !important;
  color: #1f2937 !important;
  box-shadow: none !important;
}

body.syls-reader-ui .modal:has(.order-type-2) .muted-box .muted-2-color {
  color: #8a97aa !important;
  font-size: 17px !important;
}

body.syls-reader-ui .modal:has(.order-type-2) .muted-box .em14 {
  color: #1f2937 !important;
  font-size: 24px !important;
  font-weight: 850 !important;
}

body.syls-reader-ui .modal:has(.order-type-2) .muted-box .c-green .em14 {
  color: #16a34a !important;
}

body.syls-reader-ui .modal:has(.order-type-2) .badg.c-red.btn-block {
  display: block !important;
  margin: 14px 0 18px !important;
  padding: 13px 16px !important;
  border-radius: 12px !important;
  background: #fff0f4 !important;
  color: #ff5570 !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
  text-align: center !important;
}

body.syls-reader-ui .modal:has(.order-type-2) .modal-buts.but-average {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px !important;
  margin: 18px 0 0 !important;
  padding-top: 12px !important;
  border-top: 1px solid rgba(116, 139, 178, 0.14) !important;
}

body.syls-reader-ui .modal:has(.order-type-2) .modal-buts.but-average > .but,
body.syls-reader-ui .modal:has(.order-type-2) .wp-ajax-submit {
  width: 100% !important;
  min-height: 52px !important;
  margin: 0 !important;
  border: 1px solid rgba(47, 125, 246, 0.18) !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  font-size: 17px !important;
  font-weight: 850 !important;
}

body.syls-reader-ui .modal:has(.order-type-2) .modal-buts.but-average > .but:first-child {
  background: #ffffff !important;
  color: #7b8798 !important;
}

body.syls-reader-ui .modal:has(.order-type-2) .modal-buts.but-average > .but.c-green,
body.syls-reader-ui .modal:has(.order-type-2) .wp-ajax-submit {
  background: linear-gradient(135deg, #52b7f2, #2f7df6) !important;
  color: #ffffff !important;
}

body.syls-reader-ui .modal:has(.order-type-2) .modal-buts.but-average > .but:hover,
body.syls-reader-ui .modal:has(.order-type-2) .wp-ajax-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(47, 125, 246, 0.16) !important;
}

html[data-syls-theme="dark"] body.syls-reader-ui .modal:has(.order-type-2) .modal-content,
html[data-theme="dark"] body.syls-reader-ui .modal:has(.order-type-2) .modal-content,
body.syls-reader-ui[data-syls-theme="dark"] .modal:has(.order-type-2) .modal-content,
body.syls-reader-ui[data-theme="dark"] .modal:has(.order-type-2) .modal-content,
body.syls-reader-ui.dark-theme .modal:has(.order-type-2) .modal-content {
  border-color: rgba(255, 255, 255, 0.10) !important;
  background: #111a2a !important;
  color: #eff5ff !important;
  box-shadow: 0 34px 96px rgba(0, 0, 0, 0.46) !important;
}

html[data-syls-theme="dark"] body.syls-reader-ui .modal:has(.order-type-2) .modal-body,
html[data-theme="dark"] body.syls-reader-ui .modal:has(.order-type-2) .modal-body,
body.syls-reader-ui[data-syls-theme="dark"] .modal:has(.order-type-2) .modal-body,
body.syls-reader-ui[data-theme="dark"] .modal:has(.order-type-2) .modal-body,
body.syls-reader-ui.dark-theme .modal:has(.order-type-2) .modal-body {
  background: #111a2a !important;
}

html[data-syls-theme="dark"] body.syls-reader-ui .modal:has(.order-type-2) .order-type-2,
html[data-theme="dark"] body.syls-reader-ui .modal:has(.order-type-2) .order-type-2,
body.syls-reader-ui[data-syls-theme="dark"] .modal:has(.order-type-2) .order-type-2,
body.syls-reader-ui[data-theme="dark"] .modal:has(.order-type-2) .order-type-2,
body.syls-reader-ui.dark-theme .modal:has(.order-type-2) .order-type-2 {
  color: #eff5ff !important;
}

html[data-syls-theme="dark"] body.syls-reader-ui .modal:has(.order-type-2) .muted-box,
html[data-theme="dark"] body.syls-reader-ui .modal:has(.order-type-2) .muted-box,
body.syls-reader-ui[data-syls-theme="dark"] .modal:has(.order-type-2) .muted-box,
body.syls-reader-ui[data-theme="dark"] .modal:has(.order-type-2) .muted-box,
body.syls-reader-ui.dark-theme .modal:has(.order-type-2) .muted-box {
  border-color: rgba(255, 255, 255, 0.10) !important;
  background: #172235 !important;
  color: #eff5ff !important;
}

html[data-syls-theme="dark"] body.syls-reader-ui .modal:has(.order-type-2) .muted-box .muted-2-color,
html[data-theme="dark"] body.syls-reader-ui .modal:has(.order-type-2) .muted-box .muted-2-color,
body.syls-reader-ui[data-syls-theme="dark"] .modal:has(.order-type-2) .muted-box .muted-2-color,
body.syls-reader-ui[data-theme="dark"] .modal:has(.order-type-2) .muted-box .muted-2-color,
body.syls-reader-ui.dark-theme .modal:has(.order-type-2) .muted-box .muted-2-color {
  color: #a9b8d3 !important;
}

html[data-syls-theme="dark"] body.syls-reader-ui .modal:has(.order-type-2) .muted-box .em14,
html[data-theme="dark"] body.syls-reader-ui .modal:has(.order-type-2) .muted-box .em14,
body.syls-reader-ui[data-syls-theme="dark"] .modal:has(.order-type-2) .muted-box .em14,
body.syls-reader-ui[data-theme="dark"] .modal:has(.order-type-2) .muted-box .em14,
body.syls-reader-ui.dark-theme .modal:has(.order-type-2) .muted-box .em14 {
  color: #eff5ff !important;
}

html[data-syls-theme="dark"] body.syls-reader-ui .modal:has(.order-type-2) .badg.c-red.btn-block,
html[data-theme="dark"] body.syls-reader-ui .modal:has(.order-type-2) .badg.c-red.btn-block,
body.syls-reader-ui[data-syls-theme="dark"] .modal:has(.order-type-2) .badg.c-red.btn-block,
body.syls-reader-ui[data-theme="dark"] .modal:has(.order-type-2) .badg.c-red.btn-block,
body.syls-reader-ui.dark-theme .modal:has(.order-type-2) .badg.c-red.btn-block {
  background: rgba(255, 85, 112, 0.13) !important;
  color: #ff7f96 !important;
}

html[data-syls-theme="dark"] body.syls-reader-ui .modal:has(.order-type-2) .modal-buts.but-average,
html[data-theme="dark"] body.syls-reader-ui .modal:has(.order-type-2) .modal-buts.but-average,
body.syls-reader-ui[data-syls-theme="dark"] .modal:has(.order-type-2) .modal-buts.but-average,
body.syls-reader-ui[data-theme="dark"] .modal:has(.order-type-2) .modal-buts.but-average,
body.syls-reader-ui.dark-theme .modal:has(.order-type-2) .modal-buts.but-average {
  border-top-color: rgba(255, 255, 255, 0.10) !important;
}

html[data-syls-theme="dark"] body.syls-reader-ui .modal:has(.order-type-2) .modal-buts.but-average > .but:first-child,
html[data-theme="dark"] body.syls-reader-ui .modal:has(.order-type-2) .modal-buts.but-average > .but:first-child,
body.syls-reader-ui[data-syls-theme="dark"] .modal:has(.order-type-2) .modal-buts.but-average > .but:first-child,
body.syls-reader-ui[data-theme="dark"] .modal:has(.order-type-2) .modal-buts.but-average > .but:first-child,
body.syls-reader-ui.dark-theme .modal:has(.order-type-2) .modal-buts.but-average > .but:first-child {
  border-color: rgba(255, 255, 255, 0.10) !important;
  background: #172235 !important;
  color: #d6e0f2 !important;
}

@media (max-width: 640px) {
  body.syls-reader-ui .modal:has(.order-type-2) .modal-dialog {
    margin: 18px auto !important;
  }

  body.syls-reader-ui .modal:has(.order-type-2) .modal-colorful-header {
    min-height: 118px !important;
    padding: 30px 48px 26px !important;
  }

  body.syls-reader-ui .modal:has(.order-type-2) .order-type-2 {
    font-size: 17px !important;
  }

  body.syls-reader-ui .modal:has(.order-type-2) .modal-buts.but-average {
    grid-template-columns: 1fr;
  }
}

/* Pending-payment float: keep parent order/payment logic, refresh the floating reminder UI. */
.float-right.float-right-wait-pay {
  top: 96px !important;
  right: 22px !important;
  z-index: 1088 !important;
}

.float-right.float-right-wait-pay .float-btn.wait-pay-btn {
  width: 64px !important;
  min-height: 88px !important;
  padding: 12px 8px !important;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.38) !important;
  border-radius: 18px !important;
  background: linear-gradient(155deg, #ff5f86 0%, #ef3f73 52%, #d93067 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 18px 42px rgba(239, 63, 115, 0.26), 0 8px 20px rgba(11, 22, 53, 0.12) !important;
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  overflow: visible !important;
}

.float-right.float-right-wait-pay .float-btn.wait-pay-btn > .icon {
  width: 26px;
  height: 26px;
  margin-bottom: 2px;
  color: #ffffff;
  opacity: 0.96;
}

.float-right.float-right-wait-pay .float-btn.wait-pay-btn > text:first-of-type {
  margin: 0 !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 850;
  line-height: 1.15;
  letter-spacing: 0;
}

.float-right.float-right-wait-pay .float-btn.wait-pay-btn > .countdown-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  margin-top: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.98) !important;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.1;
}

.float-right.float-right-wait-pay .float-btn.wait-pay-btn .hover-show-con {
  right: 74px !important;
  top: 50% !important;
  width: 430px !important;
  max-width: calc(100vw - 112px);
  margin: 0 14px 0 0 !important;
  padding: 14px !important;
  border: 1px solid rgba(205, 218, 238, 0.72) !important;
  border-radius: 22px !important;
  background: #ffffff !important;
  color: #1f2937 !important;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.18), 0 8px 22px rgba(47, 125, 246, 0.08) !important;
  transform: translateY(calc(-50% + 6px)) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.float-right.float-right-wait-pay .float-btn.wait-pay-btn:hover .hover-show-con {
  transform: translateY(-50%) !important;
}

.float-right.float-right-wait-pay .float-btn.wait-pay-btn .hover-show-con::before {
  top: 50% !important;
  right: -7px !important;
  width: 14px;
  height: 14px;
  border-top: 1px solid rgba(205, 218, 238, 0.72);
  border-right: 1px solid rgba(205, 218, 238, 0.72);
  background: #ffffff !important;
  transform: translateY(-50%) rotate(45deg) !important;
}

.float-right.float-right-wait-pay .order-item {
  position: relative;
  display: grid !important;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 76px;
  margin: 0 !important;
  padding: 10px !important;
  border: 1px solid rgba(205, 218, 238, 0.54);
  border-radius: 18px;
  background: rgba(247, 249, 253, 0.92);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.float-right.float-right-wait-pay .order-item + .order-item {
  margin-top: 10px !important;
}

.float-right.float-right-wait-pay .order-item:hover {
  border-color: rgba(47, 125, 246, 0.30);
  box-shadow: 0 16px 34px rgba(47, 125, 246, 0.10);
  transform: translateY(-1px);
}

.float-right.float-right-wait-pay .order-thumb {
  width: 58px !important;
  height: 58px !important;
  margin: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 16px !important;
  background: linear-gradient(145deg, #eef5ff, #dde8f7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78), 0 8px 18px rgba(15, 23, 42, 0.07);
  overflow: hidden;
}

.float-right.float-right-wait-pay .order-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.float-right.float-right-wait-pay .order-item .flex1 {
  min-width: 0;
}

.float-right.float-right-wait-pay .order-item .text-ellipsis {
  max-width: 190px;
  color: #1f2937 !important;
  font-size: 15px !important;
  font-weight: 850;
  line-height: 1.35;
}

.float-right.float-right-wait-pay .order-item .c-red {
  color: #ff4f78 !important;
  font-size: 18px;
  font-weight: 850;
  line-height: 1;
}

.float-right.float-right-wait-pay .order-item .pay-mark {
  margin-right: 2px;
  color: inherit !important;
  font-size: 12px !important;
  font-weight: 800;
}

.float-right.float-right-wait-pay .order-item .countdown-box {
  color: #ff7a1a !important;
  font-size: 14px !important;
  font-weight: 800;
  line-height: 1.2;
}

.float-right.float-right-wait-pay .order-item .but.c-red {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  height: 36px;
  margin-left: 12px !important;
  padding: 0 16px !important;
  border: none !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, rgba(255, 92, 128, 0.14), rgba(255, 92, 128, 0.22)) !important;
  color: #ff4f78 !important;
  box-shadow: none !important;
  font-size: 14px !important;
  font-weight: 850;
  white-space: nowrap;
}

.float-right.float-right-wait-pay .order-item:hover .but.c-red {
  background: linear-gradient(135deg, #55b9f2, #2f7df6) !important;
  color: #ffffff !important;
}

html[data-syls-theme="dark"] .float-right.float-right-wait-pay .float-btn.wait-pay-btn,
html[data-theme="dark"] .float-right.float-right-wait-pay .float-btn.wait-pay-btn,
body[data-syls-theme="dark"] .float-right.float-right-wait-pay .float-btn.wait-pay-btn,
body[data-theme="dark"] .float-right.float-right-wait-pay .float-btn.wait-pay-btn,
body.dark-theme .float-right.float-right-wait-pay .float-btn.wait-pay-btn {
  border-color: rgba(255, 255, 255, 0.16) !important;
  background: linear-gradient(150deg, #2f7df6 0%, #7b5cff 62%, #ec4a7f 100%) !important;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.34), 0 0 26px rgba(47, 125, 246, 0.16) !important;
}

html[data-syls-theme="dark"] .float-right.float-right-wait-pay .float-btn.wait-pay-btn .hover-show-con,
html[data-theme="dark"] .float-right.float-right-wait-pay .float-btn.wait-pay-btn .hover-show-con,
body[data-syls-theme="dark"] .float-right.float-right-wait-pay .float-btn.wait-pay-btn .hover-show-con,
body[data-theme="dark"] .float-right.float-right-wait-pay .float-btn.wait-pay-btn .hover-show-con,
body.dark-theme .float-right.float-right-wait-pay .float-btn.wait-pay-btn .hover-show-con {
  border-color: rgba(255, 255, 255, 0.10) !important;
  background: #111a2a !important;
  color: #eff5ff !important;
  box-shadow: 0 28px 84px rgba(0, 0, 0, 0.46), 0 0 22px rgba(47, 125, 246, 0.14) !important;
}

html[data-syls-theme="dark"] .float-right.float-right-wait-pay .float-btn.wait-pay-btn .hover-show-con::before,
html[data-theme="dark"] .float-right.float-right-wait-pay .float-btn.wait-pay-btn .hover-show-con::before,
body[data-syls-theme="dark"] .float-right.float-right-wait-pay .float-btn.wait-pay-btn .hover-show-con::before,
body[data-theme="dark"] .float-right.float-right-wait-pay .float-btn.wait-pay-btn .hover-show-con::before,
body.dark-theme .float-right.float-right-wait-pay .float-btn.wait-pay-btn .hover-show-con::before {
  border-color: rgba(255, 255, 255, 0.10);
  background: #111a2a !important;
}

html[data-syls-theme="dark"] .float-right.float-right-wait-pay .order-item,
html[data-theme="dark"] .float-right.float-right-wait-pay .order-item,
body[data-syls-theme="dark"] .float-right.float-right-wait-pay .order-item,
body[data-theme="dark"] .float-right.float-right-wait-pay .order-item,
body.dark-theme .float-right.float-right-wait-pay .order-item {
  border-color: rgba(255, 255, 255, 0.09);
  background: #172235;
}

html[data-syls-theme="dark"] .float-right.float-right-wait-pay .order-thumb,
html[data-theme="dark"] .float-right.float-right-wait-pay .order-thumb,
body[data-syls-theme="dark"] .float-right.float-right-wait-pay .order-thumb,
body[data-theme="dark"] .float-right.float-right-wait-pay .order-thumb,
body.dark-theme .float-right.float-right-wait-pay .order-thumb {
  border-color: rgba(255, 255, 255, 0.10);
  background: linear-gradient(145deg, #26344a, #1b2639);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 20px rgba(0, 0, 0, 0.18);
}

html[data-syls-theme="dark"] .float-right.float-right-wait-pay .order-item .text-ellipsis,
html[data-theme="dark"] .float-right.float-right-wait-pay .order-item .text-ellipsis,
body[data-syls-theme="dark"] .float-right.float-right-wait-pay .order-item .text-ellipsis,
body[data-theme="dark"] .float-right.float-right-wait-pay .order-item .text-ellipsis,
body.dark-theme .float-right.float-right-wait-pay .order-item .text-ellipsis {
  color: #eff5ff !important;
}

@media (max-width: 767px) {
  .float-right.float-right-wait-pay {
    top: auto !important;
    right: 14px !important;
    bottom: 92px !important;
  }

  .float-right.float-right-wait-pay .float-btn.wait-pay-btn {
    width: 58px !important;
    min-height: 78px !important;
    border-radius: 16px !important;
  }

  .float-right.float-right-wait-pay .float-btn.wait-pay-btn .hover-show-con {
    right: 64px !important;
    width: min(360px, calc(100vw - 96px)) !important;
    padding: 12px !important;
  }

  .float-right.float-right-wait-pay .order-item {
    grid-template-columns: 52px minmax(0, 1fr);
    min-height: 68px;
    gap: 10px;
  }

  .float-right.float-right-wait-pay .order-thumb {
    width: 50px !important;
    height: 50px !important;
    border-radius: 14px !important;
  }

  .float-right.float-right-wait-pay .order-item .text-ellipsis {
    max-width: 150px;
    font-size: 14px !important;
  }

  .float-right.float-right-wait-pay .order-item .but.c-red {
    min-width: 78px;
    height: 32px;
    padding: 0 12px !important;
    font-size: 13px !important;
  }
}

/* SYLS immersive homepage Hero refresh */
.syls-member-home .syls-member-hero {
  --syls-home-hero-height: clamp(286.995px, 30.685vh, 324.9px);
  isolation: isolate;
  border-radius: 30px;
  background:
    radial-gradient(circle at 78% 20%, rgba(123, 92, 255, 0.40), transparent 32%),
    linear-gradient(135deg, #071127 0%, #0b1635 48%, #1f1450 100%);
}

.syls-member-home .syls-member-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 36%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 10, 30, 0), rgba(5, 10, 30, 0.76));
}

.syls-member-home .syls-member-hero .syls-home-hero-copy {
  z-index: 3;
  width: min(58%, 860px);
  flex-basis: min(58%, 860px);
  padding: clamp(39.9px, 4.56vh, 55.1px) clamp(39.9px, 4.75vw, 68.4px) clamp(19px, 2.565vh, 28.5px);
  background: linear-gradient(90deg, rgba(5, 10, 30, 0.88) 0%, rgba(10, 12, 35, 0.65) 64%, rgba(20, 10, 45, 0.05) 100%);
}

.syls-member-home .syls-member-hero.is-guest-hero .syls-home-hero-copy {
  padding-bottom: clamp(32px, 4.2vh, 44px);
}

.syls-member-home .syls-member-hero.is-guest-hero .syls-hero-guest-actions {
  transform: translateY(10px);
}

.syls-member-home .syls-member-hero h1 {
  max-width: 650px;
  margin: 0 0 clamp(9.5px, 1.235vw, 15.2px);
  color: #fff;
  font-size: clamp(34.2px, 3.515vw, 45.6px);
  line-height: 1.12;
  font-weight: 860;
  text-shadow: 0 18px 42px rgba(0, 0, 0, 0.42);
}

.syls-member-home .syls-home-hero-title-accent {
  background: linear-gradient(135deg, #8b7cff 0%, #4f8cff 50%, #e7efff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}

.syls-member-home .syls-member-hero .syls-home-hero-subtitle {
  max-width: 620px;
  margin: 0 0 clamp(22.8px, 3.23vh, 34.2px);
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(17.1px, 1.4725vw, calc(var(--syls-home-grid-subtitle-size, 22px) * 0.95));
  line-height: 1.45;
}

.syls-member-home .syls-member-hero .syls-home-hero-excerpt {
  max-width: 640px;
  color: rgba(226, 235, 255, 0.78);
}

.syls-member-home .syls-member-hero .syls-home-hero-media::after {
  background:
    linear-gradient(90deg, rgba(5, 10, 30, 0.88) 0%, rgba(10, 12, 35, 0.65) 44%, rgba(20, 10, 45, 0.35) 100%),
    linear-gradient(180deg, rgba(6, 12, 32, 0.10) 0%, rgba(6, 12, 32, 0.22) 58%, rgba(5, 10, 30, 0.74) 100%);
}

.syls-member-home .syls-hero-stats {
  width: min(100%, 650px);
  margin-top: 3.8px;
}

.syls-member-home .syls-hero-stats strong {
  font-size: clamp(19px, 1.4725vw, 22.8px);
}

.syls-member-home .syls-member-hero .syls-hero-actions {
  gap: clamp(13.3px, 1.52vw, 19px);
  margin-top: clamp(11.4px, 1.33vw, 17.1px);
}

.syls-member-home .syls-member-hero .syls-hero-actions .syls-home-hero-secondary {
  min-width: clamp(119.7px, 8.265vw, 146.3px);
  min-height: 45.6px;
  border-color: rgba(255, 255, 255, 0.22);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.09));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 12px 28px rgba(0, 0, 0, 0.14);
}

.syls-member-home .syls-member-hero .syls-home-hero-ticker {
  z-index: 4;
  min-height: 45.6px;
  width: min(940px, calc(100vw - 500px));
  max-width: calc(100vw - 500px);
  margin-top: clamp(17.1px, 2.09vw, 24.7px);
  margin-bottom: clamp(9.5px, 1.14vw, 15.2px);
  border: 1px solid transparent;
  border-radius: 18px;
  background:
    linear-gradient(rgba(10, 18, 45, 0.78), rgba(10, 18, 45, 0.78)) padding-box,
    linear-gradient(90deg, rgba(120, 96, 210, 0.88), rgba(54, 148, 244, 0.76), rgba(162, 98, 255, 0.88)) border-box;
  box-shadow: none;
  backdrop-filter: blur(18px) saturate(1.18);
}

.syls-member-home .syls-member-hero.is-guest-hero .syls-home-hero-ticker {
  margin-top: auto;
  margin-bottom: 0;
  transform: none;
}

.syls-member-home .syls-member-hero .syls-home-hero-ticker-item {
  min-height: 45.6px;
  width: 100%;
  padding: 0 20.9px 0 15.2px;
  gap: 15.2px;
  font-size: clamp(12.35px, 0.95vw, 14.25px);
  font-weight: 760;
}

.syls-member-home .syls-home-hero-ticker-icon {
  flex: 0 0 30.4px;
  width: 30.4px;
  height: 30.4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(137, 104, 255, 0.62);
  border-radius: 11px;
  background: rgba(106, 72, 230, 0.92);
  box-shadow: none;
  color: #ffffff;
  font-size: 14.25px;
  font-weight: 800;
  line-height: 1;
  animation: sylsTickerIconGlow 2.8s ease-in-out infinite;
}

@keyframes sylsTickerIconGlow {
  0%, 100% {
    filter: brightness(1);
    opacity: 0.88;
  }
  50% {
    filter: brightness(1.22);
    opacity: 1;
  }
}

.syls-member-home .syls-home-hero-ticker-item.is-latest_publish .syls-home-hero-ticker-icon,
.syls-member-home .syls-home-hero-ticker-item.is-latest-publish .syls-home-hero-ticker-icon {
  border-color: rgba(137, 104, 255, 0.62);
  background: rgba(106, 72, 230, 0.92);
}

.syls-member-home .syls-home-hero-ticker-item.is-latest_dynamic .syls-home-hero-ticker-icon,
.syls-member-home .syls-home-hero-ticker-item.is-latest-dynamic .syls-home-hero-ticker-icon {
  border-color: rgba(74, 176, 255, 0.62);
  background: rgba(36, 122, 235, 0.92);
}

.syls-member-home .syls-home-hero-ticker-item.is-announcement .syls-home-hero-ticker-icon {
  border-color: rgba(255, 190, 94, 0.68);
  background: rgba(224, 132, 39, 0.92);
}

.syls-member-home .syls-home-hero-ticker-item > i {
  display: none;
}

.syls-member-home .syls-home-hero-ticker-item em {
  flex: 0 0 auto;
  padding: 5.7px 11.4px;
  border-radius: 999px;
  border: 1px solid rgba(126, 95, 230, 0.42);
  background: rgba(93, 66, 178, 0.58);
  color: rgba(224, 216, 255, 0.98);
  font-style: normal;
  font-size: 11.4px;
  font-weight: 840;
}

.syls-member-home .syls-home-hero-ticker-item.is-latest_dynamic em,
.syls-member-home .syls-home-hero-ticker-item.is-latest-dynamic em {
  border-color: rgba(74, 176, 255, 0.42);
  background: rgba(36, 102, 190, 0.52);
  color: rgba(213, 237, 255, 0.98);
}

.syls-member-home .syls-home-hero-ticker-item.is-announcement em {
  border-color: rgba(255, 190, 94, 0.46);
  background: rgba(177, 95, 31, 0.52);
  color: rgba(255, 229, 190, 0.98);
}

.syls-member-home .syls-home-hero-ticker-item span {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  color: rgba(247, 250, 255, 0.98);
}

.syls-member-home .syls-home-hero-ticker-item strong {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7.6px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 12.35px;
  font-weight: 760;
}

.syls-member-home .syls-home-hero-ticker-item strong i {
  width: auto;
  height: auto;
  flex: 0 0 auto;
  background: none;
  box-shadow: none;
  animation: none;
  font-style: normal;
}

@media (max-width: 1199px) {
  .syls-member-home .syls-member-hero .syls-home-hero-copy {
    width: min(70%, 780px);
    flex-basis: min(70%, 780px);
  }
}

@media (max-width: 991px) {
  .syls-member-home .syls-member-hero {
    --syls-home-hero-height: clamp(390px, 88vw, 430px);
    min-height: var(--syls-home-hero-height);
  }

  .syls-member-home .syls-member-hero .syls-home-hero-slide,
  .syls-member-home .syls-member-hero .syls-home-hero-copy,
  .syls-member-home .syls-member-hero .syls-home-hero-media {
    min-height: var(--syls-home-hero-height);
  }

  .syls-member-home .syls-member-hero .syls-home-hero-copy {
    width: 100%;
    flex-basis: 100%;
    padding: 88px 24px 28px;
    background: linear-gradient(180deg, rgba(5, 10, 30, 0.86), rgba(5, 10, 30, 0.70));
  }

  .syls-member-home .syls-member-hero.is-guest-hero .syls-home-hero-copy {
    padding-bottom: 30px;
  }

  .syls-member-home .syls-member-hero .syls-home-hero-ticker {
    width: 100%;
    max-width: 100%;
  }

  .syls-member-home .syls-member-hero.is-guest-hero .syls-home-hero-ticker {
    margin-top: auto;
    transform: none;
  }

  .syls-member-home .syls-member-hero h1 {
    font-size: clamp(30px, 8vw, 38px);
  }

  .syls-member-home .syls-member-hero .syls-home-hero-subtitle {
    margin-bottom: 28px;
    font-size: clamp(15px, 4vw, 17px);
  }

  .syls-member-home .syls-hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 16px;
  }

  .syls-member-home .syls-hero-stats span:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }

  .syls-member-home .syls-member-hero .syls-hero-actions,
  .syls-member-home .syls-hero-guest-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .syls-member-home .syls-home-hero-ticker-item strong {
    display: none;
  }
}

@media (max-width: 560px) {
  .syls-member-home .syls-home-hero-ticker-item em {
    display: none;
  }

  .syls-member-home .syls-home-hero-ticker-icon {
    flex-basis: 28px;
    width: 28px;
    height: 28px;
    font-size: 13px;
  }

  .syls-member-home .syls-member-hero .syls-home-hero-ticker {
    min-height: 44px;
    border-radius: 16px;
  }

  .syls-member-home .syls-member-hero .syls-home-hero-ticker-item {
    min-height: 44px;
    padding: 0 14px;
  }
}

/* Homepage stability guard: keep production content from being compressed into one viewport. */
@media (min-width: 992px) {
  .syls-app-shell.syls-home-grid-shell .syls-home-grid-panel {
    height: calc(100vh - (var(--syls-layout-padding, 26px) * 2));
    overflow-x: hidden !important;
    overflow-y: hidden !important;
  }

  .syls-app-shell.syls-home-grid-shell .syls-member-home {
    --syls-home-hero-height: clamp(360px, 38vh, 430px);
    height: 100%;
    min-height: 0;
    overflow: hidden;
    display: grid;
    grid-template-rows: max-content max-content minmax(clamp(118px, 13vh, 150px), 1fr);
    gap: 18px;
    padding-bottom: 0;
  }

  .syls-app-shell.syls-home-grid-shell .syls-member-hero {
    --syls-home-hero-height: inherit;
  }

  .syls-app-shell.syls-home-grid-shell .syls-member-hero .syls-home-hero-copy {
    padding-top: clamp(34px, 4.2vh, 54px);
    padding-bottom: clamp(22px, 2.8vh, 34px);
  }

  .syls-app-shell.syls-home-grid-shell .syls-member-hero .syls-home-hero-excerpt {
    display: none !important;
  }

  .syls-app-shell.syls-home-grid-shell .syls-member-hero h1,
  .syls-app-shell.syls-home-grid-shell .syls-member-hero .syls-home-hero-subtitle,
  .syls-app-shell.syls-home-grid-shell .syls-member-hero .syls-home-hero-excerpt {
    transform: none;
  }

  .syls-app-shell.syls-home-grid-shell .syls-hero-stats,
  .syls-app-shell.syls-home-grid-shell .syls-hero-actions,
  .syls-app-shell.syls-home-grid-shell .syls-hero-guest-actions,
  .syls-app-shell.syls-home-grid-shell .syls-member-hero .syls-home-hero-ticker {
    transform: translateY(clamp(10px, 1.4vh, 14px));
  }

  .syls-app-shell.syls-home-grid-shell .syls-member-hero .syls-home-hero-subtitle {
    margin-bottom: clamp(18px, 2.4vh, 30px);
  }

  .syls-app-shell.syls-home-grid-shell .syls-hero-stats {
    margin-top: 12px;
  }

  .syls-app-shell.syls-home-grid-shell .syls-member-hero .syls-home-hero-ticker {
    width: min(100%, 940px);
    max-width: 100%;
    margin-top: clamp(12px, 1.6vw, 22px);
  }

  .syls-app-shell.syls-home-grid-shell .syls-featured-section {
    z-index: 1;
    margin-top: 0;
    padding: 0;
    min-height: 0;
  }

  .syls-app-shell.syls-home-grid-shell .syls-featured-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }

  .syls-app-shell.syls-home-grid-shell .syls-resource-card {
    gap: 8px;
    padding: 10px 10px 12px;
  }

  .syls-app-shell.syls-home-grid-shell .syls-resource-card-cover {
    aspect-ratio: 16 / 7.2;
  }

  .syls-app-shell.syls-home-grid-shell .syls-category-map {
    height: 100%;
    min-height: 0;
    padding: 6px 0 0;
    display: grid;
    grid-template-rows: max-content minmax(64px, 1fr);
    align-content: stretch;
  }

  .syls-app-shell.syls-home-grid-shell .syls-category-map .syls-home-section-head {
    margin-bottom: 12px;
  }

  .syls-app-shell.syls-home-grid-shell .syls-category-map-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 16px;
    height: 100%;
    min-height: 64px;
  }

  .syls-app-shell.syls-home-grid-shell .syls-category-map-card {
    min-height: 0;
    height: 100%;
    gap: 8px;
    padding: 8px 12px;
  }

  .syls-app-shell.syls-home-grid-shell .syls-category-map-card span {
    width: 38px;
    height: 38px;
    font-size: 17px;
  }
}

@media (min-width: 992px) and (max-height: 850px) {
  .syls-app-shell.syls-home-grid-shell .syls-member-home {
    grid-template-rows: max-content max-content minmax(clamp(80px, 10.5vh, 86px), 1fr);
  }

  .syls-app-shell.syls-home-grid-shell .syls-category-map {
    grid-template-rows: max-content minmax(40px, 1fr);
  }

  .syls-app-shell.syls-home-grid-shell .syls-category-map .syls-home-section-head {
    margin-bottom: 8px;
  }

  .syls-app-shell.syls-home-grid-shell .syls-category-map-grid {
    min-height: 40px;
  }

  .syls-app-shell.syls-home-grid-shell .syls-category-map-card {
    gap: 4px;
    padding: 6px 8px;
  }

  .syls-app-shell.syls-home-grid-shell .syls-category-map-card span {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }

  .syls-app-shell.syls-home-grid-shell .syls-category-map-card strong {
    font-size: 13px;
    line-height: 1.15;
  }
}

/* ------------------------------
   2026-06 article detail refresh
   Scoped to single post pages; layout structure stays unchanged.
------------------------------ */
body.single-post.syls-reader-ui .syls-article-panel {
  position: relative;
  overflow-y: auto;
  padding: clamp(28px, 4.2vw, 58px) clamp(22px, 5vw, 72px) clamp(36px, 5vw, 76px);
  border-color: color-mix(in srgb, var(--border-subtle) 88%, transparent);
  background:
    radial-gradient(circle at 12% 0%, color-mix(in srgb, var(--primary-soft) 42%, transparent), transparent 30%),
    radial-gradient(circle at 92% 10%, color-mix(in srgb, var(--warning-soft) 42%, transparent), transparent 24%),
    linear-gradient(180deg, color-mix(in srgb, var(--bg-panel-strong) 96%, #fff 4%), var(--bg-panel-strong));
}

body.single-post.syls-reader-ui .syls-article-header,
body.single-post.syls-reader-ui .syls-featured-image,
body.single-post.syls-reader-ui .syls-article-content,
body.single-post.syls-reader-ui .syls-pay-box,
body.single-post.syls-reader-ui .syls-article-footer,
body.single-post.syls-reader-ui .syls-comments {
  max-width: min(920px, 100%);
}

body.single-post.syls-reader-ui .syls-article-header {
  position: relative;
  margin-bottom: clamp(26px, 4vw, 44px);
  padding: 0 0 clamp(22px, 3vw, 30px);
  border-bottom: 1px solid color-mix(in srgb, var(--border-subtle) 92%, transparent);
}

body.single-post.syls-reader-ui .syls-article-cats {
  gap: 9px;
  margin-bottom: clamp(16px, 2vw, 22px);
}

body.single-post.syls-reader-ui .syls-article-cats a {
  min-height: 32px;
  padding: 0 13px;
  border-color: color-mix(in srgb, var(--syls-item-color, var(--primary)) 18%, var(--border-subtle));
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--syls-item-color, var(--primary)) 8%, #fff 92%), color-mix(in srgb, var(--syls-item-color, var(--primary)) 12%, var(--bg-card)));
  color: color-mix(in srgb, var(--syls-item-color, var(--primary)) 78%, var(--text-primary));
  font-size: 12px;
  letter-spacing: 0;
}

body.single-post.syls-reader-ui .syls-article-header h2 {
  align-items: center;
  gap: clamp(12px, 1.6vw, 18px);
  color: var(--text-primary);
  font-size: var(--syls-article-title-font, 52px);
  line-height: 1.15;
  font-weight: 860;
}

body.single-post.syls-reader-ui .syls-article-header h2 > span:last-child {
  display: block;
  overflow: visible;
  -webkit-line-clamp: initial;
}

body.single-post.syls-reader-ui .syls-article-title-icon {
  align-self: center;
  width: 1.85em;
  height: 1.85em;
  flex-basis: 1.85em;
  margin-top: 0;
  border-radius: 16px;
  background:
    radial-gradient(circle at 30% 22%, color-mix(in srgb, var(--syls-item-color, var(--primary)) 22%, #fff 78%), transparent 56%),
    color-mix(in srgb, var(--syls-item-color, var(--primary)) 11%, var(--bg-card));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    0 12px 28px color-mix(in srgb, var(--syls-item-color, var(--primary)) 12%, transparent);
}

body.single-post.syls-reader-ui .syls-article-meta {
  justify-content: center;
  gap: 10px 12px;
  margin-top: clamp(18px, 2vw, 24px);
  text-align: center;
}

body.single-post.syls-reader-ui .syls-article-meta a,
body.single-post.syls-reader-ui .syls-article-meta-item,
body.single-post.syls-reader-ui .syls-article-author-action {
  min-height: 36px;
  border: 1px solid color-mix(in srgb, var(--border-subtle) 86%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg-card) 90%, transparent);
}

body.single-post.syls-reader-ui .syls-article-meta-author {
  padding: 0 12px 0 4px;
}

body.single-post.syls-reader-ui .syls-article-meta-item {
  padding: 0 12px 0 8px;
}

body.single-post.syls-reader-ui .syls-article-author-avatar {
  width: 28px;
  height: 28px;
  border: 1px solid color-mix(in srgb, var(--border-subtle) 80%, transparent);
}

body.single-post.syls-reader-ui .syls-article-meta-icon {
  background: color-mix(in srgb, var(--primary-soft) 82%, transparent);
}

body.single-post.syls-reader-ui .syls-featured-image {
  margin-bottom: clamp(28px, 4vw, 44px);
  border-radius: 24px;
  background: var(--bg-card);
  box-shadow: 0 18px 40px rgba(20, 36, 70, 0.06);
}

body.single-post.syls-reader-ui .syls-featured-image img,
body.single-post.syls-reader-ui .syls-article-content img,
body.single-post.syls-reader-ui .syls-article-content video,
body.single-post.syls-reader-ui .syls-article-content iframe {
  border-radius: 20px;
  border-color: color-mix(in srgb, var(--border-subtle) 88%, transparent);
  background: var(--bg-card);
}

body.single-post.syls-reader-ui .syls-article-content {
  color: color-mix(in srgb, var(--text-primary) 92%, var(--text-secondary));
  font-size: var(--syls-article-font, 18px);
  line-height: max(1.82, var(--syls-article-line-height, 1.9));
}

body.single-post.syls-reader-ui .syls-article-content p,
body.single-post.syls-reader-ui .syls-article-content ul,
body.single-post.syls-reader-ui .syls-article-content ol {
  margin-top: 0;
  margin-bottom: 1.18em;
}

body.single-post.syls-reader-ui .syls-article-content h1,
body.single-post.syls-reader-ui .syls-article-content h2,
body.single-post.syls-reader-ui .syls-article-content h3,
body.single-post.syls-reader-ui .syls-article-content h4 {
  color: var(--text-primary);
  line-height: 1.28;
  letter-spacing: 0;
}

body.single-post.syls-reader-ui .syls-article-content h2,
body.single-post.syls-reader-ui .syls-article-content h3 {
  margin-top: 1.7em;
}

body.single-post.syls-reader-ui .syls-article-content a {
  color: var(--primary);
  text-decoration-color: color-mix(in srgb, var(--primary) 32%, transparent);
  text-underline-offset: 4px;
}

body.single-post.syls-reader-ui .syls-article-content blockquote,
body.single-post.syls-reader-ui .syls-article-content .theme-box {
  margin: 1.4em 0;
  padding: 18px 20px;
  border-radius: 20px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--warning-soft) 72%, var(--bg-card)), var(--bg-card));
}

body.single-post.syls-reader-ui .syls-article-content pre {
  margin: 1.4em 0;
  padding: 18px 20px;
  border: 1px solid color-mix(in srgb, var(--border-subtle) 86%, transparent);
  border-radius: 18px;
  background: color-mix(in srgb, var(--bg-page-soft) 72%, var(--bg-card));
}

body.single-post.syls-reader-ui .syls-article-content code {
  padding: 0.16em 0.36em;
  background: color-mix(in srgb, var(--primary-soft) 56%, var(--bg-card));
  color: color-mix(in srgb, var(--primary) 72%, var(--text-primary));
}

body.single-post.syls-reader-ui .syls-article-content pre code {
  padding: 0;
  background: transparent;
  color: inherit;
}

body.single-post.syls-reader-ui .syls-article-footer,
body.single-post.syls-reader-ui .syls-comments {
  margin-top: clamp(34px, 4.4vw, 54px);
  border-top-color: color-mix(in srgb, var(--border-subtle) 92%, transparent);
}

body.single-post.syls-reader-ui .syls-article-footer {
  gap: 14px;
}

body.single-post.syls-reader-ui .syls-action,
body.single-post.syls-reader-ui .syls-article-footer .action {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px;
  min-height: 42px;
  padding-inline: 18px;
  border: 1px solid color-mix(in srgb, var(--primary) 14%, var(--border-subtle));
  background: color-mix(in srgb, var(--bg-card) 92%, transparent);
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1 !important;
  vertical-align: middle;
}

body.single-post.syls-reader-ui .syls-article-footer .action i,
body.single-post.syls-reader-ui .syls-article-footer .action svg,
body.single-post.syls-reader-ui .syls-article-footer .action .fa,
body.single-post.syls-reader-ui .syls-article-footer .action .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  line-height: 1 !important;
  vertical-align: middle;
}

body.single-post.syls-reader-ui .syls-article-footer .action span,
body.single-post.syls-reader-ui .syls-article-footer .action count,
body.single-post.syls-reader-ui .syls-article-footer .action em {
  display: inline-flex;
  align-items: center;
  line-height: 1 !important;
  vertical-align: middle;
}

body.single-post.syls-reader-ui .syls-action:hover,
body.single-post.syls-reader-ui .syls-action:focus,
body.single-post.syls-reader-ui .syls-article-footer .action:hover,
body.single-post.syls-reader-ui .syls-article-footer .action:focus {
  border-color: color-mix(in srgb, var(--primary) 34%, var(--border-subtle));
  background: var(--primary-gradient);
  color: #fff;
  transform: translateY(-1px);
}

body.single-post.syls-reader-ui .syls-pay-box .pay-box,
body.single-post.syls-reader-ui .syls-pay-box .hidden-box,
body.single-post.syls-reader-ui .syls-pay-box .theme-box,
body.single-post.syls-reader-ui .syls-comments .theme-box,
body.single-post.syls-reader-ui .syls-comments #comments,
body.single-post.syls-reader-ui .syls-comments #respond,
body.single-post.syls-reader-ui .syls-comments .comment-signarea,
body.single-post.syls-reader-ui .syls-comments .commentlist .comment,
body.single-post.syls-reader-ui .syls-comments .comment-body {
  border-radius: 20px !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.20), transparent 28%),
    var(--bg-card) !important;
}

body.single-post.syls-reader-ui[data-syls-theme="dark"] .syls-article-panel {
  border-color: rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 12% 0%, rgba(93, 152, 238, 0.08), transparent 30%),
    radial-gradient(circle at 92% 10%, rgba(208, 155, 88, 0.05), transparent 24%),
    linear-gradient(180deg, rgba(22, 33, 48, 0.96), rgba(17, 27, 41, 0.98));
}

body.single-post.syls-reader-ui[data-syls-theme="dark"] .syls-article-cats a,
body.single-post.syls-reader-ui[data-syls-theme="dark"] .syls-article-meta a,
body.single-post.syls-reader-ui[data-syls-theme="dark"] .syls-article-meta-item,
body.single-post.syls-reader-ui[data-syls-theme="dark"] .syls-article-author-action {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(21, 31, 45, 0.78);
}

body.single-post.syls-reader-ui[data-syls-theme="dark"] .syls-article-content {
  color: color-mix(in srgb, var(--text-primary) 88%, var(--text-secondary));
}

body.single-post.syls-reader-ui[data-syls-theme="dark"] .syls-featured-image,
body.single-post.syls-reader-ui[data-syls-theme="dark"] .syls-article-content pre,
body.single-post.syls-reader-ui[data-syls-theme="dark"] .syls-article-content code {
  background: rgba(10, 18, 29, 0.72);
}

body.single-post.syls-reader-ui[data-syls-theme="dark"] .syls-article-content pre code {
  background: transparent;
}

body.single-post.syls-reader-ui[data-syls-theme="dark"] .syls-article-content blockquote,
body.single-post.syls-reader-ui[data-syls-theme="dark"] .syls-article-content .theme-box {
  background:
    linear-gradient(135deg, rgba(208, 155, 88, 0.14), rgba(21, 31, 45, 0.88));
}

body.single-post.syls-reader-ui[data-syls-theme="dark"] .syls-pay-box .pay-box,
body.single-post.syls-reader-ui[data-syls-theme="dark"] .syls-pay-box .hidden-box,
body.single-post.syls-reader-ui[data-syls-theme="dark"] .syls-pay-box .theme-box,
body.single-post.syls-reader-ui[data-syls-theme="dark"] .syls-comments .theme-box,
body.single-post.syls-reader-ui[data-syls-theme="dark"] .syls-comments #comments,
body.single-post.syls-reader-ui[data-syls-theme="dark"] .syls-comments #respond,
body.single-post.syls-reader-ui[data-syls-theme="dark"] .syls-comments .comment-signarea,
body.single-post.syls-reader-ui[data-syls-theme="dark"] .syls-comments .commentlist .comment,
body.single-post.syls-reader-ui[data-syls-theme="dark"] .syls-comments .comment-body {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 28%),
    rgba(21, 31, 45, 0.88) !important;
}

@media (max-width: 880px) {
  body.single-post.syls-reader-ui .syls-article-panel {
    padding: 22px 18px 34px;
  }

  body.single-post.syls-reader-ui .syls-article-header h2 {
    font-size: var(--syls-article-title-font, 38px);
  }

  body.single-post.syls-reader-ui .syls-article-meta {
    gap: 8px;
  }
}

@media (max-width: 520px) {
  body.single-post.syls-reader-ui .syls-article-panel {
    padding: 18px 14px 30px;
  }

  body.single-post.syls-reader-ui .syls-article-header h2 {
    display: grid;
    align-items: center;
    grid-template-columns: 1.85em minmax(0, 1fr);
    gap: 12px;
    font-size: var(--syls-article-title-font, 32px);
  }

  body.single-post.syls-reader-ui .syls-article-title-icon {
    width: 1.85em;
    height: 1.85em;
    flex-basis: 1.85em;
    border-radius: 13px;
  }

  body.single-post.syls-reader-ui .syls-article-author-actions {
    justify-content: flex-start;
  }

  body.single-post.syls-reader-ui .syls-article-content {
    font-size: var(--syls-article-font, 16px);
  }
}

/* Article comments skin: align with the home portal style without changing markup or settings. */
body.single-post.syls-reader-ui .syls-comments #comments {
  border: 1px solid color-mix(in srgb, var(--border-subtle) 88%, transparent) !important;
  border-radius: 24px !important;
  background:
    radial-gradient(circle at 18% 0%, color-mix(in srgb, var(--primary-soft) 24%, transparent), transparent 34%),
    linear-gradient(135deg, color-mix(in srgb, var(--bg-card) 96%, #fff 4%) 0%, color-mix(in srgb, var(--bg-panel) 92%, #fff 8%) 100%) !important;
  box-shadow: var(--syls-home-soft-shadow, none) !important;
  overflow: hidden;
}

body.single-post.syls-reader-ui .syls-comments #comments > .box-body.notop:first-child {
  padding: 18px 24px 0 !important;
}

body.single-post.syls-reader-ui .syls-comments .title-theme {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text-primary);
  font-size: 21px;
  font-weight: 760;
  line-height: 1.25;
}

body.single-post.syls-reader-ui .syls-comments .title-theme small {
  margin-left: 0;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
}

body.single-post.syls-reader-ui .syls-comments .no_webshot.main-bg.theme-box {
  margin-top: 16px !important;
  padding: 24px !important;
  border: 0 !important;
  border-radius: 22px 22px 0 0 !important;
  background: color-mix(in srgb, var(--bg-card) 54%, var(--bg-page-soft)) !important;
  box-shadow: none !important;
}

body.single-post.syls-reader-ui .syls-comments #respond {
  margin: 0 0 18px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.single-post.syls-reader-ui .syls-comments #commentform > .flex.ac {
  align-items: stretch !important;
  gap: 0 !important;
  border: 1px solid color-mix(in srgb, var(--border-subtle) 84%, transparent);
  border-radius: 20px;
  background: color-mix(in srgb, var(--bg-card) 90%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
  overflow: hidden;
}

body.single-post.syls-reader-ui .syls-comments .comt-title {
  display: flex;
  width: 104px !important;
  margin: 0 !important;
  padding: 18px 14px;
  border-right: 1px solid color-mix(in srgb, var(--border-subtle) 76%, transparent);
  background: color-mix(in srgb, var(--bg-panel) 48%, transparent);
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

body.single-post.syls-reader-ui .syls-comments .comt-title .comt-avatar {
  margin: 0 0 9px !important;
}

body.single-post.syls-reader-ui .syls-comments .comt-title .avatar,
body.single-post.syls-reader-ui .syls-comments .comt-title .avatar-img {
  width: 54px !important;
  height: 54px !important;
  border-radius: 16px !important;
}

body.single-post.syls-reader-ui .syls-comments .comt-title .avatar {
  box-shadow: 0 10px 22px color-mix(in srgb, var(--shadow-soft) 70%, transparent);
}

body.single-post.syls-reader-ui .syls-comments .comt-title p {
  max-width: 78px;
  margin: 0 !important;
  color: var(--text-secondary) !important;
  font-size: 13px;
  font-weight: 680;
  line-height: 1.25;
}

body.single-post.syls-reader-ui .syls-comments .comt-box {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
  background: transparent !important;
}

body.single-post.syls-reader-ui .syls-comments .action-text {
  margin: 0 !important;
  padding: 12px 16px 0;
  color: var(--text-muted) !important;
}

body.single-post.syls-reader-ui .syls-comments #comment {
  min-height: 116px !important;
  margin: 0 !important;
  padding: 18px 20px 14px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--text-primary) !important;
  font-size: 16px !important;
  line-height: 1.68 !important;
  box-shadow: none !important;
  resize: vertical;
}

body.single-post.syls-reader-ui .syls-comments #comment:focus {
  background: color-mix(in srgb, var(--primary-soft) 12%, transparent) !important;
  box-shadow: inset 0 0 0 999px rgba(255, 255, 255, 0.18) !important;
}

body.single-post.syls-reader-ui .syls-comments #comment::placeholder {
  color: var(--text-muted);
}

body.single-post.syls-reader-ui .syls-comments .comt-ctrl {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding: 10px 12px;
  border-top: 1px solid color-mix(in srgb, var(--border-subtle) 72%, transparent);
  background: color-mix(in srgb, var(--bg-panel) 52%, transparent);
}

body.single-post.syls-reader-ui .syls-comments .comt-tips {
  display: none;
}

body.single-post.syls-reader-ui .syls-comments .comt-tips-left,
body.single-post.syls-reader-ui .syls-comments .comt-tips-right {
  display: flex;
  align-items: center;
  gap: 8px;
  float: none !important;
}

body.single-post.syls-reader-ui .syls-comments .comt-tips-left {
  min-width: 0;
  flex: 1 1 auto;
  flex-wrap: wrap;
}

body.single-post.syls-reader-ui .syls-comments .comt-tips-right {
  flex: 0 0 auto;
  order: 2;
}

body.single-post.syls-reader-ui .syls-comments .comt-tips-left .but,
body.single-post.syls-reader-ui .syls-comments .comt-tips-right .but {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px;
  min-height: 36px;
  margin: 0 !important;
  padding: 0 15px !important;
  border: 1px solid color-mix(in srgb, var(--border-subtle) 88%, transparent) !important;
  border-radius: 999px !important;
  background: color-mix(in srgb, var(--bg-card) 82%, var(--bg-panel)) !important;
  color: var(--text-secondary) !important;
  font-size: 14px;
  font-weight: 680;
  box-shadow: none !important;
}

body.single-post.syls-reader-ui .syls-comments .comt-tips-left .but i,
body.single-post.syls-reader-ui .syls-comments .comt-tips-left .but svg,
body.single-post.syls-reader-ui .syls-comments .comt-tips-right .but i,
body.single-post.syls-reader-ui .syls-comments .comt-tips-right .but svg {
  margin: 0 !important;
  width: 15px;
  height: 15px;
}

body.single-post.syls-reader-ui .syls-comments .comt-tips-left .but:hover,
body.single-post.syls-reader-ui .syls-comments .comt-tips-right .but:hover {
  border-color: color-mix(in srgb, var(--primary) 26%, var(--border-subtle)) !important;
  background: color-mix(in srgb, var(--primary) 10%, var(--bg-card)) !important;
  color: var(--primary) !important;
}

body.single-post.syls-reader-ui .syls-comments #submit.comment-send {
  min-height: 38px;
  min-width: 112px;
  margin: 0 !important;
  padding: 0 22px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--primary-gradient) !important;
  color: #fff !important;
  font-weight: 760 !important;
  box-shadow: 0 10px 22px color-mix(in srgb, var(--primary) 20%, transparent) !important;
}

body.single-post.syls-reader-ui .syls-comments #postcomments {
  margin-top: 18px;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.single-post.syls-reader-ui .syls-comments .comment-null,
body.single-post.syls-reader-ui .syls-comments .null-box,
body.single-post.syls-reader-ui .syls-comments .zib-widget-null {
  min-height: 210px;
  border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--border-subtle) 74%, transparent) !important;
  background: color-mix(in srgb, var(--bg-page-soft) 52%, transparent);
  box-shadow: none !important;
}

body.single-post.syls-reader-ui[data-syls-theme="dark"] .syls-comments #comments {
  border-color: rgba(255, 255, 255, 0.07) !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(93, 152, 238, 0.11), transparent 34%),
    linear-gradient(135deg, rgba(21, 31, 45, 0.92), rgba(18, 28, 42, 0.95)) !important;
}

body.single-post.syls-reader-ui[data-syls-theme="dark"] .syls-comments .no_webshot.main-bg.theme-box {
  background: transparent !important;
}

body.single-post.syls-reader-ui[data-syls-theme="dark"] .syls-comments #commentform > .flex.ac {
  border-color: rgba(255, 255, 255, 0.075);
  background: rgba(12, 21, 34, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

body.single-post.syls-reader-ui[data-syls-theme="dark"] .syls-comments .comt-title {
  border-right-color: rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.035);
}

body.single-post.syls-reader-ui[data-syls-theme="dark"] .syls-comments .comt-title p {
  color: rgba(237, 243, 251, 0.74) !important;
}

body.single-post.syls-reader-ui[data-syls-theme="dark"] .syls-comments #comment {
  background: transparent !important;
}

body.single-post.syls-reader-ui[data-syls-theme="dark"] .syls-comments #comment:focus {
  background: rgba(93, 152, 238, 0.075) !important;
  box-shadow: inset 0 0 0 999px rgba(6, 13, 24, 0.08) !important;
}

body.single-post.syls-reader-ui[data-syls-theme="dark"] .syls-comments .comt-ctrl {
  border-top-color: rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.035);
}

body.single-post.syls-reader-ui[data-syls-theme="dark"] .syls-comments .comt-tips-left .but,
body.single-post.syls-reader-ui[data-syls-theme="dark"] .syls-comments .comt-tips-right .but {
  border-color: rgba(255, 255, 255, 0.07) !important;
  background: rgba(255, 255, 255, 0.055) !important;
  color: rgba(237, 243, 251, 0.84) !important;
}

body.single-post.syls-reader-ui[data-syls-theme="dark"] .syls-comments #postcomments {
  background: transparent !important;
}

body.single-post.syls-reader-ui[data-syls-theme="dark"] .syls-comments .comment-null,
body.single-post.syls-reader-ui[data-syls-theme="dark"] .syls-comments .null-box,
body.single-post.syls-reader-ui[data-syls-theme="dark"] .syls-comments .zib-widget-null {
  border-color: rgba(255, 255, 255, 0.065) !important;
  background: rgba(8, 16, 28, 0.34);
}

@media (max-width: 640px) {
  body.single-post.syls-reader-ui .syls-comments #comments > .box-body.notop:first-child,
  body.single-post.syls-reader-ui .syls-comments .no_webshot.main-bg.theme-box {
    padding-inline: 16px !important;
  }

  body.single-post.syls-reader-ui .syls-comments #commentform > .flex.ac {
    display: block !important;
    border-radius: 18px;
  }

  body.single-post.syls-reader-ui .syls-comments .comt-title {
    width: auto !important;
    padding: 12px 14px;
    border-right: 0;
    border-bottom: 1px solid color-mix(in srgb, var(--border-subtle) 72%, transparent);
    flex-direction: row;
    justify-content: flex-start;
    gap: 10px;
  }

  body.single-post.syls-reader-ui .syls-comments .comt-title .comt-avatar {
    margin: 0 !important;
  }

  body.single-post.syls-reader-ui .syls-comments .comt-title .avatar,
  body.single-post.syls-reader-ui .syls-comments .comt-title .avatar-img {
    width: 40px !important;
    height: 40px !important;
    border-radius: 12px !important;
  }

  body.single-post.syls-reader-ui .syls-comments .comt-title p {
    max-width: none;
  }

  body.single-post.syls-reader-ui .syls-comments #comment {
    min-height: 112px !important;
    padding: 16px !important;
  }

  body.single-post.syls-reader-ui .syls-comments .comt-ctrl {
    align-items: stretch;
    flex-direction: column;
  }

  body.single-post.syls-reader-ui .syls-comments .comt-tips-left,
  body.single-post.syls-reader-ui .syls-comments .comt-tips-right {
    width: 100%;
  }

  body.single-post.syls-reader-ui .syls-comments .comt-tips-right {
    justify-content: flex-end;
  }
}

/* Reader login/register modal: match the optimized home auth popup everywhere. */
body.syls-reader-ui #u_sign {
  padding: 18px !important;
}

body.syls-reader-ui #u_sign.in,
body.syls-reader-ui #u_sign.show {
  display: block !important;
}

body.syls-reader-ui #u_sign .modal-dialog {
  width: min(520px, calc(100vw - 36px)) !important;
  max-width: min(520px, calc(100vw - 36px)) !important;
  margin: max(18px, 5vh) auto !important;
}

body.syls-reader-ui #u_sign .modal-content,
body.syls-reader-ui #u_sign .modal-body {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

body.syls-reader-ui #u_sign .sign-content {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.syls-reader-ui #u_sign .sign {
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 42px 46px 46px !important;
  border: 1px solid var(--syls-sign-line, var(--border-subtle)) !important;
  border-radius: 30px !important;
  background:
    radial-gradient(circle at 18% 0%, color-mix(in srgb, var(--primary-soft) 34%, transparent), transparent 34%),
    var(--syls-sign-bg, var(--bg-card)) !important;
  color: var(--text-primary) !important;
  box-shadow: 0 28px 72px rgba(20, 36, 70, 0.18) !important;
  overflow: hidden !important;
}

body.syls-reader-ui #u_sign .close {
  position: absolute !important;
  top: 18px !important;
  right: 18px !important;
  z-index: 5 !important;
  width: 42px !important;
  min-width: 42px !important;
  height: 42px !important;
  min-height: 42px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: color-mix(in srgb, var(--primary-soft) 56%, var(--bg-card) 44%) !important;
  color: var(--primary) !important;
  font-size: 0 !important;
  line-height: 1 !important;
  opacity: 1 !important;
  text-shadow: none !important;
  box-shadow: none !important;
}

body.syls-reader-ui #u_sign .close::before {
  content: none !important;
}

body.syls-reader-ui #u_sign .close .ic-close,
body.syls-reader-ui #u_sign .close svg {
  width: 20px !important;
  height: 20px !important;
  display: block !important;
  color: currentColor !important;
}

body.syls-reader-ui #u_sign .sign .logo,
body.syls-reader-ui #u_sign .sign .sign-logo,
body.syls-reader-ui #u_sign .sign > .text-center:first-child {
  max-width: calc(100% - 56px) !important;
  margin: 0 auto 34px !important;
  padding: 0 !important;
  text-align: center !important;
}

body.syls-reader-ui #u_sign .sign img {
  max-width: min(260px, 100%) !important;
  max-height: 66px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}

body.syls-reader-ui #u_sign .box-body {
  padding: 0 !important;
  margin-bottom: 22px !important;
}

body.syls-reader-ui #u_sign .title-h-left {
  margin: 0 0 10px !important;
  color: var(--text-primary) !important;
  font-size: 34px !important;
  line-height: 1.16 !important;
  font-weight: 850 !important;
  letter-spacing: 0 !important;
}

body.syls-reader-ui #u_sign form,
body.syls-reader-ui #u_sign .tab-content {
  width: 100% !important;
  max-width: 100% !important;
}

body.syls-reader-ui #u_sign .line-form {
  position: relative !important;
  width: 100% !important;
  margin: 0 0 18px !important;
  overflow: visible !important;
}

body.syls-reader-ui #u_sign .line-form-line,
body.syls-reader-ui #u_sign .match-ok,
body.syls-reader-ui #u_sign input[machine-verification="slider"],
body.syls-reader-ui #u_sign input[machine-verification="tcaptcha"],
body.syls-reader-ui #u_sign input[machine-verification="geetest"] {
  display: none !important;
}

body.syls-reader-ui #u_sign .scale-placeholder {
  position: absolute !important;
  top: 50% !important;
  left: 20px !important;
  z-index: 2 !important;
  max-width: calc(100% - 40px) !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: translateY(-50%) !important;
  transform-origin: left center !important;
  color: var(--text-muted) !important;
  font-size: 16px !important;
  line-height: 1 !important;
  opacity: 0.72 !important;
  pointer-events: none !important;
}

body.syls-reader-ui #u_sign .line-form input:focus ~ .scale-placeholder,
body.syls-reader-ui #u_sign .line-form input:not(:placeholder-shown) ~ .scale-placeholder {
  opacity: 0 !important;
  transform: translateY(-50%) !important;
}

body.syls-reader-ui #u_sign input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
body.syls-reader-ui #u_sign textarea,
body.syls-reader-ui #u_sign select,
body.syls-reader-ui #u_sign .form-control,
body.syls-reader-ui #u_sign .line-form-input {
  width: 100% !important;
  max-width: 100% !important;
  height: 54px !important;
  min-height: 54px !important;
  padding: 0 20px !important;
  border: 1px solid var(--syls-sign-line, var(--border-subtle)) !important;
  border-radius: 999px !important;
  background: var(--syls-sign-field, var(--bg-card)) !important;
  color: var(--text-primary) !important;
  font-size: 18px !important;
  line-height: 54px !important;
  box-shadow: none !important;
}

body.syls-reader-ui #u_sign .line-form:has(.yztx) input.line-form-input,
body.syls-reader-ui #u_sign .line-form:has(.captchsubmit) input.line-form-input {
  padding-right: 132px !important;
}

body.syls-reader-ui #u_sign .line-form:has(.captchsubmit) {
  height: 54px !important;
  min-height: 54px !important;
}

body.syls-reader-ui #u_sign [slider-id],
body.syls-reader-ui #u_sign .slidercaptcha,
body.syls-reader-ui #u_sign .slidercaptcha-card,
body.syls-reader-ui #u_sign .slidercaptcha-button,
body.syls-reader-ui #u_sign .captcha-button,
body.syls-reader-ui #u_sign .captcha-open {
  position: static !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 42px !important;
  min-height: 42px !important;
  margin: 0 0 18px !important;
  transform: none !important;
}

body.syls-reader-ui #u_sign input[type="checkbox"],
body.syls-reader-ui #u_sign input[type="radio"] {
  width: 18px !important;
  min-width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  padding: 0 !important;
  margin: 0 8px 0 0 !important;
  border-radius: 6px !important;
  vertical-align: -3px !important;
  box-shadow: none !important;
}

body.syls-reader-ui #u_sign label,
body.syls-reader-ui #u_sign .checkbox,
body.syls-reader-ui #u_sign .remember,
body.syls-reader-ui #u_sign .form-check {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  color: var(--text-muted) !important;
  font-weight: 700 !important;
}

body.syls-reader-ui #u_sign .but[type="submit"],
body.syls-reader-ui #u_sign button[type="submit"],
body.syls-reader-ui #u_sign .signsubmit-loader,
body.syls-reader-ui #u_sign .sign-submit {
  width: 100% !important;
  max-width: 340px !important;
  min-height: 54px !important;
  margin: 26px auto 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #57c2f7, #278cff) !important;
  color: #fff !important;
  font-size: 18px !important;
  font-weight: 850 !important;
  line-height: 1.2 !important;
  box-shadow: 0 16px 32px rgba(39, 140, 255, 0.26) !important;
}

body.syls-reader-ui #u_sign .yztx.abs-right,
body.syls-reader-ui #u_sign .line-form .yztx {
  position: absolute !important;
  top: 8px !important;
  right: 6px !important;
  bottom: 8px !important;
  z-index: 3 !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  display: flex !important;
  align-items: center !important;
  transform: none !important;
}

body.syls-reader-ui #u_sign .yztx .captchsubmit,
body.syls-reader-ui #u_sign .captchsubmit {
  width: auto !important;
  max-width: none !important;
  min-width: 108px !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #57c2f7, #278cff) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  box-shadow: none !important;
  white-space: nowrap !important;
}

body.syls-reader-ui[data-syls-theme="dark"] #u_sign .sign,
body.syls-reader-ui.dark-theme #u_sign .sign {
  background:
    radial-gradient(circle at 18% 0%, color-mix(in srgb, var(--primary) 14%, transparent), transparent 36%),
    color-mix(in srgb, var(--bg-card) 96%, #0b1320 4%) !important;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.44) !important;
}

@media (max-width: 640px) {
  body.syls-reader-ui #u_sign {
    padding: 10px !important;
  }

  body.syls-reader-ui #u_sign .modal-dialog {
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px) !important;
    margin: 10px auto !important;
  }

  body.syls-reader-ui #u_sign .sign {
    max-height: calc(100vh - 20px) !important;
    padding: 34px 22px 30px !important;
    overflow-y: auto !important;
  }

  body.syls-reader-ui #u_sign .close {
    top: 14px !important;
    right: 14px !important;
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
  }

  body.syls-reader-ui #u_sign .sign .logo,
  body.syls-reader-ui #u_sign .sign .sign-logo,
  body.syls-reader-ui #u_sign .sign > .text-center:first-child {
    margin-bottom: 26px !important;
  }

  body.syls-reader-ui #u_sign .title-h-left {
    font-size: 32px !important;
  }

  body.syls-reader-ui #u_sign .line-form:has(.yztx) input.line-form-input,
  body.syls-reader-ui #u_sign .line-form:has(.captchsubmit) input.line-form-input {
    padding-right: 110px !important;
  }

  body.syls-reader-ui #u_sign .yztx .captchsubmit,
  body.syls-reader-ui #u_sign .captchsubmit {
    min-width: 92px !important;
    padding: 0 10px !important;
    font-size: 13px !important;
  }

  body.syls-reader-ui #u_sign .but[type="submit"],
  body.syls-reader-ui #u_sign button[type="submit"],
  body.syls-reader-ui #u_sign .signsubmit-loader,
  body.syls-reader-ui #u_sign .sign-submit {
    max-width: none !important;
  }
}

/* Standard WordPress pages */
body.syls-wp-page:not(.syls-reader-ui) {
  min-height: 100vh;
  background:
    radial-gradient(circle at 14% 0%, rgba(47, 120, 216, 0.08), transparent 34%),
    radial-gradient(circle at 86% 8%, rgba(111, 143, 184, 0.08), transparent 28%),
    linear-gradient(135deg, var(--bg-page), var(--bg-page-soft) 58%, #eef4fb);
  color: var(--text-primary);
  font-family: var(--syls-ui-font);
}

body.syls-wp-page:not(.syls-reader-ui) .header,
body.syls-wp-page:not(.syls-reader-ui) .fixed-header,
body.syls-wp-page:not(.syls-reader-ui) .navbar,
body.syls-wp-page:not(.syls-reader-ui) .navbar-default {
  border-color: var(--border-subtle) !important;
  background: rgba(255, 255, 255, 0.78) !important;
  color: var(--text-primary) !important;
  box-shadow: 0 12px 34px rgba(52, 72, 105, 0.06) !important;
  backdrop-filter: blur(18px) saturate(1.12);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
}

body.syls-wp-page:not(.syls-reader-ui) .header a,
body.syls-wp-page:not(.syls-reader-ui) .navbar a,
body.syls-wp-page:not(.syls-reader-ui) .navbar-nav > li > a,
body.syls-wp-page:not(.syls-reader-ui) .navbar-form .form-control {
  color: var(--text-primary) !important;
}

body.syls-wp-page:not(.syls-reader-ui) .navbar-form .form-control,
body.syls-wp-page:not(.syls-reader-ui) .navbar-form .search-input,
body.syls-wp-page:not(.syls-reader-ui) .search-input {
  border: 1px solid var(--border-subtle) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.78) !important;
  box-shadow: none !important;
}

body.syls-wp-page:not(.syls-reader-ui) main.container {
  width: min(1360px, calc(100vw - 48px));
  max-width: none;
  padding-top: clamp(28px, 4vw, 52px);
  padding-bottom: clamp(44px, 6vw, 76px);
}

body.syls-wp-page:not(.syls-reader-ui) .content-wrap,
body.syls-wp-page:not(.syls-reader-ui) .content-layout {
  width: 100%;
}

body.syls-wp-page:not(.syls-reader-ui) .content-layout {
  display: block;
}

body.syls-wp-page:not(.syls-reader-ui) .page-article,
body.syls-wp-page:not(.syls-reader-ui) .article.page-article.main-bg.theme-box {
  max-width: 100%;
  margin: 0 auto;
  padding: clamp(30px, 4vw, 56px) clamp(26px, 5vw, 70px) !important;
  border: 1px solid var(--border-subtle) !important;
  border-radius: 28px !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.48)),
    var(--bg-panel-strong) !important;
  color: var(--text-primary) !important;
  box-shadow: var(--shadow-soft) !important;
}

body.syls-wp-page:not(.syls-reader-ui) .wp-posts-content {
  max-width: 1120px;
  margin: 0 auto;
  color: var(--text-primary);
  font-size: 17px;
  font-weight: 650;
  line-height: 1.9;
}

body.syls-wp-page:not(.syls-reader-ui) .wp-posts-content h1,
body.syls-wp-page:not(.syls-reader-ui) .wp-posts-content h2,
body.syls-wp-page:not(.syls-reader-ui) .wp-posts-content h3,
body.syls-wp-page:not(.syls-reader-ui) .article-title {
  color: var(--text-primary) !important;
  font-family: var(--syls-title-font);
  font-weight: 850;
  letter-spacing: 0;
}

body.syls-wp-page:not(.syls-reader-ui) .article-title,
body.syls-wp-page:not(.syls-reader-ui) .wp-posts-content h1:first-child,
body.syls-wp-page:not(.syls-reader-ui) .wp-posts-content h2:first-child {
  position: relative;
  margin: 0 0 clamp(26px, 3vw, 38px);
  padding-bottom: 16px;
  text-align: center;
  font-size: clamp(26px, 3vw, 36px);
}

body.syls-wp-page:not(.syls-reader-ui) .article-title::after,
body.syls-wp-page:not(.syls-reader-ui) .wp-posts-content h1:first-child::after,
body.syls-wp-page:not(.syls-reader-ui) .wp-posts-content h2:first-child::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 54px;
  height: 4px;
  border-radius: 999px;
  background: var(--primary-gradient);
  transform: translateX(-50%);
}

body.syls-wp-page:not(.syls-reader-ui) .wp-posts-content p,
body.syls-wp-page:not(.syls-reader-ui) .wp-posts-content li {
  color: var(--text-primary);
}

body.syls-wp-page:not(.syls-reader-ui) .wp-posts-content a {
  color: var(--primary);
  font-weight: 800;
}

body.syls-wp-page:not(.syls-reader-ui) .wp-posts-content blockquote,
body.syls-wp-page:not(.syls-reader-ui) .wp-posts-content pre,
body.syls-wp-page:not(.syls-reader-ui) .wp-posts-content table {
  border: 1px solid var(--border-subtle) !important;
  border-radius: 18px !important;
  background: var(--bg-card) !important;
  color: var(--text-primary) !important;
  box-shadow: var(--shadow-card) !important;
}

body.syls-wp-page:not(.syls-reader-ui) .footer,
body.syls-wp-page:not(.syls-reader-ui) footer.footer {
  border-top: 1px solid var(--border-subtle) !important;
  background: rgba(255, 255, 255, 0.72) !important;
  color: var(--text-secondary) !important;
}

body.syls-wp-page:not(.syls-reader-ui) .footer a,
body.syls-wp-page:not(.syls-reader-ui) footer.footer a {
  color: var(--text-secondary) !important;
}

body.syls-wp-page:not(.syls-reader-ui) .footer a:hover,
body.syls-wp-page:not(.syls-reader-ui) footer.footer a:hover {
  color: var(--primary) !important;
}

body.syls-wp-page[data-syls-theme="dark"]:not(.syls-reader-ui),
body.syls-wp-page[data-theme="dark"]:not(.syls-reader-ui),
body.syls-wp-page.dark-theme:not(.syls-reader-ui) {
  background:
    radial-gradient(circle at 14% 0%, rgba(93, 152, 238, 0.1), transparent 34%),
    radial-gradient(circle at 84% 10%, rgba(111, 143, 184, 0.07), transparent 30%),
    linear-gradient(135deg, #09111c, #0d1724 56%, #08101a);
  color: var(--text-primary);
}

body.syls-wp-page[data-syls-theme="dark"]:not(.syls-reader-ui) .header,
body.syls-wp-page[data-syls-theme="dark"]:not(.syls-reader-ui) .fixed-header,
body.syls-wp-page[data-syls-theme="dark"]:not(.syls-reader-ui) .navbar,
body.syls-wp-page[data-syls-theme="dark"]:not(.syls-reader-ui) .navbar-default,
body.syls-wp-page.dark-theme:not(.syls-reader-ui) .header,
body.syls-wp-page.dark-theme:not(.syls-reader-ui) .fixed-header,
body.syls-wp-page.dark-theme:not(.syls-reader-ui) .navbar,
body.syls-wp-page.dark-theme:not(.syls-reader-ui) .navbar-default {
  background: rgba(13, 21, 32, 0.84) !important;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18) !important;
}

body.syls-wp-page[data-syls-theme="dark"]:not(.syls-reader-ui) .page-article,
body.syls-wp-page.dark-theme:not(.syls-reader-ui) .page-article {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
    var(--bg-panel-strong) !important;
}

body.syls-wp-page[data-syls-theme="dark"]:not(.syls-reader-ui) .footer,
body.syls-wp-page[data-syls-theme="dark"]:not(.syls-reader-ui) footer.footer,
body.syls-wp-page.dark-theme:not(.syls-reader-ui) .footer,
body.syls-wp-page.dark-theme:not(.syls-reader-ui) footer.footer {
  background: rgba(13, 21, 32, 0.78) !important;
}

@media (max-width: 768px) {
  body.syls-wp-page:not(.syls-reader-ui) main.container {
    width: min(100% - 24px, 1360px);
    padding-top: 18px;
    padding-bottom: 34px;
  }

  body.syls-wp-page:not(.syls-reader-ui) .page-article,
  body.syls-wp-page:not(.syls-reader-ui) .article.page-article.main-bg.theme-box {
    padding: 28px 20px !important;
    border-radius: 22px !important;
  }

  body.syls-wp-page:not(.syls-reader-ui) .wp-posts-content {
    font-size: 15px;
    line-height: 1.85;
  }
}

/* User center sidebar visual unification */
body.syls-user-center-page:not(.syls-reader-ui) .syls-user-nav {
  display: grid !important;
  gap: 16px !important;
  width: 100% !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.syls-user-center-page:not(.syls-reader-ui) .syls-user-sidebar-shell,
body.syls-user-center-page:not(.syls-reader-ui) .syls-user-profile,
body.syls-user-center-page:not(.syls-reader-ui) .syls-user-nav,
body.syls-user-center-page:not(.syls-reader-ui) .syls-user-nav-group {
  width: 100% !important;
  max-width: none !important;
  justify-self: stretch !important;
  box-shadow: none !important;
}

body.syls-user-center-page:not(.syls-reader-ui) .syls-user-sidebar-shell *,
body.syls-user-center-page:not(.syls-reader-ui) .syls-user-sidebar-shell *::before,
body.syls-user-center-page:not(.syls-reader-ui) .syls-user-sidebar-shell *::after {
  box-shadow: none !important;
}

body.syls-user-center-page:not(.syls-reader-ui) .syls-user-nav-group {
  margin: 0 !important;
  padding: 18px !important;
  border: 1px solid var(--border-subtle) !important;
  border-radius: 24px !important;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--bg-panel) 98%, transparent), color-mix(in srgb, var(--bg-card) 98%, transparent)) !important;
  box-shadow: none !important;
}

body.syls-user-center-page:not(.syls-reader-ui) .syls-user-nav-group + .syls-user-nav-group,
body.syls-user-center-page:not(.syls-reader-ui) .syls-user-nav-group-actions {
  margin-top: 0 !important;
  padding-top: 18px !important;
  border-top: 0 !important;
}

body.syls-user-center-page:not(.syls-reader-ui) .syls-user-nav-group-title {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  padding: 0 6px 12px !important;
  color: var(--text-muted) !important;
  font-size: 12px !important;
  font-weight: 760 !important;
  letter-spacing: 0 !important;
}

body.syls-user-center-page:not(.syls-reader-ui) .syls-user-nav-group-badge {
  min-width: 0;
  padding: 3px 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 12%, var(--bg-card));
  color: var(--primary);
  font-size: 11px;
  font-weight: 760;
  line-height: 1.2;
  white-space: nowrap;
}

body.syls-user-center-page:not(.syls-reader-ui) .syls-user-nav-item {
  min-height: 48px !important;
  gap: 10px !important;
  padding: 0 12px !important;
  border-radius: 14px !important;
  font-size: 15px !important;
  font-weight: 680 !important;
}

body.syls-user-center-page:not(.syls-reader-ui) .syls-user-nav-count {
  min-width: 22px;
  height: 22px;
  margin-left: auto;
  padding: 0 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), #5e9dff);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  box-shadow: none !important;
}

body.syls-user-center-page:not(.syls-reader-ui) .syls-user-nav-item + .syls-user-nav-item {
  margin-top: 6px !important;
}

body.syls-user-center-page:not(.syls-reader-ui) .syls-user-nav-icon {
  width: 36px !important;
  height: 36px !important;
  flex-basis: 36px !important;
  border-radius: 12px !important;
  background: color-mix(in srgb, var(--primary) 10%, var(--bg-card)) !important;
  color: var(--primary) !important;
  font-size: 15px !important;
}

body.syls-user-center-page:not(.syls-reader-ui) .syls-user-nav-item:hover,
body.syls-user-center-page:not(.syls-reader-ui) .syls-user-nav-item:focus-visible {
  border-color: color-mix(in srgb, var(--primary) 18%, var(--border-subtle)) !important;
  background: color-mix(in srgb, var(--primary-soft) 62%, var(--bg-card)) !important;
}

body.syls-user-center-page:not(.syls-reader-ui) .syls-user-nav-item.is-active,
body.syls-user-center-page:not(.syls-reader-ui) .syls-user-nav-item.active {
  border-color: color-mix(in srgb, var(--primary) 32%, var(--border-subtle)) !important;
  background: color-mix(in srgb, var(--primary-soft) 76%, var(--bg-card)) !important;
  box-shadow: none !important;
}

body.syls-user-center-page:not(.syls-reader-ui) .syls-user-nav-item.is-active::before,
body.syls-user-center-page:not(.syls-reader-ui) .syls-user-nav-item.active::before {
  left: 7px !important;
  top: 12px !important;
  bottom: 12px !important;
}

body.syls-user-center-page:not(.syls-reader-ui) .syls-user-nav-item.is-active .syls-user-nav-icon,
body.syls-user-center-page:not(.syls-reader-ui) .syls-user-nav-item.active .syls-user-nav-icon {
  background: color-mix(in srgb, var(--primary) 14%, var(--bg-card)) !important;
}

body.syls-user-center-page.syls-sidebar-collapsed:not(.syls-reader-ui) .syls-user-profile,
body.syls-user-center-page.syls-sidebar-collapsed:not(.syls-reader-ui) .syls-user-nav {
  width: 72px !important;
  max-width: 72px !important;
  justify-self: center !important;
}

body.syls-user-center-page.syls-sidebar-collapsed:not(.syls-reader-ui) .syls-user-nav-group {
  padding: 8px !important;
  border-radius: 22px !important;
}

body.syls-user-center-page.syls-sidebar-collapsed:not(.syls-reader-ui) .syls-user-nav-count {
  position: absolute !important;
  top: 5px !important;
  right: 5px !important;
  min-width: 18px !important;
  height: 18px !important;
  margin-left: 0 !important;
  padding: 0 5px !important;
  display: inline-flex !important;
  font-size: 10px !important;
}

body.syls-user-center-page:not(.syls-reader-ui) .user-center .syls-user-nav.zib-widget,
body.syls-user-center-page:not(.syls-reader-ui):has(.user-center) .syls-user-nav.zib-widget,
body[data-syls-theme].syls-user-center-page:not(.syls-reader-ui) .syls-user-nav.zib-widget,
body[data-theme].syls-user-center-page:not(.syls-reader-ui) .syls-user-nav.zib-widget,
body.dark-theme.syls-user-center-page:not(.syls-reader-ui) .syls-user-nav.zib-widget {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.syls-home-hero .syls-home-hero-dots {
  left: auto !important;
  right: clamp(30px, 3.5vw, 48px) !important;
  bottom: 22px !important;
  transform: none !important;
}

.syls-member-home .syls-home-hero-title-accent {
  display: block;
}


.syls-home-hero-title-link {
  display: inline-block;
  color: inherit;
  text-decoration: none;
}

.syls-home-hero-title-link:hover,
.syls-home-hero-title-link:focus {
  color: inherit;
  text-decoration: none;
}

.syls-home-hero-media-link {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
  cursor: pointer;
}

.syls-home-hero-media-link img,
.syls-home-hero-media-link video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* =========================================================
   SYLS 手机端首页 Hero + 全局抽屉菜单优化
   只影响 768px 以下，不影响电脑端
========================================================= */

/* 电脑端隐藏手机菜单按钮 */
.syls-mobile-menu-toggle,
.syls-mobile-menu-mask {
  display: none;
}

@media (max-width: 768px) {

  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body.syls-reader-ui {
    background: var(--syls-bg);
  }

  /* 手机端整体改成单栏 */
  .syls-app-shell,
  .syls-app-shell.syls-home-grid-shell {
    width: 100%;
    min-height: 100vh;
    height: auto;
    display: block;
    padding: 18px 14px 28px;
    overflow: visible;
  }

  /* 左侧第一栏变成抽屉 */
  .syls-sidebar {
    position: fixed !important;
    top: 0;
    left: 0;
    z-index: 99991;
    width: min(82vw, 320px) !important;
    height: 100vh !important;
    max-height: 100vh !important;
    padding: 22px 16px;
    border-radius: 0 28px 28px 0;
    transform: translateX(-105%);
    transition: transform .32s cubic-bezier(.22, 1, .36, 1);
    box-shadow: 28px 0 80px rgba(15, 23, 42, .24);
    overflow-y: auto;
  }

  body.syls-mobile-menu-open .syls-sidebar {
    transform: translateX(0);
  }

  body.syls-mobile-menu-open {
    overflow: hidden;
  }

  .syls-mobile-menu-mask {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 99990;
    background: rgba(8, 12, 20, .42);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
  }

  body.syls-mobile-menu-open .syls-mobile-menu-mask {
    opacity: 1;
    pointer-events: auto;
  }

  /* 左上角“三”按钮 */
  .syls-mobile-menu-toggle {
    display: inline-flex;
    position: fixed;
    top: max(14px, env(safe-area-inset-top));
    left: 14px;
    z-index: 99992;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid rgba(120, 135, 160, .22);
    border-radius: 999px;
    background: rgba(255, 255, 255, .78);
    color: var(--syls-text);
    box-shadow: 0 12px 34px rgba(20, 30, 50, .14);
    backdrop-filter: blur(18px) saturate(1.2);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
  }

  .syls-mobile-menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform .24s ease, opacity .2s ease;
  }

  body.syls-mobile-menu-open .syls-mobile-menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.syls-mobile-menu-open .syls-mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.syls-mobile-menu-open .syls-mobile-menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  [data-syls-theme="dark"] .syls-mobile-menu-toggle,
  body.dark-theme .syls-mobile-menu-toggle {
    background: rgba(20, 28, 42, .78);
    border-color: rgba(255, 255, 255, .1);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .36);
  }

  /* 首页内容区域 */
  .syls-home-grid-panel {
    width: 100%;
    max-width: 100%;
    padding-top: 54px;
    overflow: visible;
  }

  /* Hero 手机端重新排版，解决拥挤 */
  .syls-home-hero {
    width: 100%;
    min-height: auto !important;
    height: auto !important;
    border-radius: 32px !important;
    padding: 26px 22px 24px !important;
    overflow: hidden;
  }

  .syls-home-hero-slide {
    position: relative !important;
    min-height: auto !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    gap: 18px !important;
    padding: 0 !important;
  }

  .syls-home-hero-copy {
    width: 100% !important;
    max-width: 100% !important;
    position: relative;
    z-index: 3;
  }

  /* 搜索框不要太高太挤 */
  .syls-home-hero .syls-hero-search,
  .syls-home-hero .syls-home-search,
  .syls-home-hero .syls-search {
    width: 100% !important;
    margin: 0 0 22px !important;
  }

  .syls-home-hero input[type="search"],
  .syls-home-hero .syls-search input {
    height: 54px !important;
    border-radius: 999px !important;
    font-size: 15px !important;
    padding-left: 22px !important;
    padding-right: 48px !important;
  }

  /* Hero 标题缩小，避免顶满屏幕 */
  .syls-home-hero h1,
  .syls-home-hero-title,
  .syls-home-hero-title-link {
    font-size: clamp(36px, 11vw, 52px) !important;
    line-height: .98 !important;
    letter-spacing: -0.06em !important;
    margin: 0 0 14px !important;
    max-width: 100% !important;
    word-break: keep-all;
  }

  .syls-home-hero-title-accent {
    display: block;
    margin-top: 4px;
  }

  .syls-home-hero-subtitle {
    font-size: 18px !important;
    line-height: 1.35 !important;
    margin: 0 0 24px !important;
    max-width: 92%;
  }

  .syls-home-hero-excerpt {
    font-size: 14px !important;
    line-height: 1.55 !important;
    margin: 0 0 20px !important;
  }

  /* 两个按钮手机端并排但不挤 */
  .syls-hero-guest-actions,
  .syls-home-hero-actions,
  .syls-hero-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 12px !important;
    width: 100%;
    margin-top: 20px !important;
  }

  .syls-hero-guest-action,
  .syls-home-hero-primary,
  .syls-home-hero-secondary,
  .syls-hero-actions a {
    min-width: 0 !important;
    width: 100% !important;
    height: 56px !important;
    border-radius: 18px !important;
    padding: 0 12px !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
  }

  /* 热点条不要压住按钮 */
  .syls-home-hero-ticker {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    margin-top: 14px !important;
    height: auto !important;
    min-height: 54px !important;
    border-radius: 18px !important;
    padding: 10px 14px !important;
    overflow: hidden;
  }

  .syls-home-hero-ticker-item {
    width: 100% !important;
    min-height: 34px !important;
    display: flex !important;
    align-items: center;
    gap: 8px !important;
  }

  .syls-home-hero-ticker-item em {
    display: none !important;
  }

  .syls-home-hero-ticker-item span {
    font-size: 13px !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .syls-home-hero-ticker-item strong {
    display: none !important;
  }

  /* 右侧背景图变成弱背景，不再挤占内容 */
  .syls-home-hero-media {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1;
    opacity: .22;
    pointer-events: none;
  }

  .syls-home-hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(90deg, rgba(8, 12, 25, .72), rgba(8, 12, 25, .42)),
      linear-gradient(180deg, transparent 0%, rgba(8, 12, 25, .5) 100%);
  }

  .syls-home-hero-media img,
  .syls-home-hero-media video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  /* Hero 小圆点放到底部右侧 */
  .syls-home-hero-dots {
    position: relative !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    width: fit-content;
    margin: 14px 0 0 auto !important;
    z-index: 4;
  }

  /* 精选资源区域别贴太近 */
  .syls-featured-section,
  .syls-home-section-card {
    margin-top: 28px !important;
  }

  .syls-home-section-head,
  .syls-featured-header {
    padding: 0 2px;
    margin-bottom: 18px !important;
  }

  .syls-home-section-head h2,
  .syls-featured-header h2 {
    font-size: 28px !important;
    line-height: 1.15 !important;
    letter-spacing: -0.04em;
  }
}


/* =========================================================
 * SYLS Reader Mobile Fix
 * 只在手机端生效，不影响电脑端：<= 760px
 * 建议粘贴到 assets/css/syls-reader.css 最底部
 * ========================================================= */
@media (max-width: 760px) {
  html,
  body.syls-reader-ui {
    width: 100%;
    min-width: 0;
    overflow-x: hidden;
    height: auto;
  }

  body.syls-reader-ui {
    --syls-mobile-safe-top: env(safe-area-inset-top, 0px);
    --syls-mobile-safe-bottom: env(safe-area-inset-bottom, 0px);
    --syls-mobile-header-height: 58px;
  }

  /* 桌面三栏在手机端改成单列滚动 */
  .syls-app-shell,
  .syls-app-shell.syls-home-grid-shell,
  body.syls-sidebar-collapsed .syls-app-shell,
  body.syls-sidebar-collapsed .syls-app-shell.syls-home-grid-shell,
  body.syls-list-collapsed .syls-app-shell,
  body.syls-sidebar-collapsed.syls-list-collapsed .syls-app-shell {
    width: 100%;
    height: auto;
    min-height: 100svh;
    display: block;
    padding: calc(var(--syls-mobile-header-height) + var(--syls-mobile-safe-top) + 12px) 12px calc(18px + var(--syls-mobile-safe-bottom));
    overflow: visible;
  }

  .syls-home-grid-panel,
  .syls-list-panel,
  .syls-article-panel {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  /* 手机顶部浮动菜单按钮 */
  .syls-sidebar-toggle,
  body.syls-sidebar-collapsed .syls-sidebar-toggle {
    position: fixed;
    z-index: 10010;
    top: calc(12px + var(--syls-mobile-safe-top));
    left: 14px;
    right: auto;
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
    margin: 0;
    display: inline-grid;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--syls-accent) 22%, var(--syls-line));
    border-radius: 999px;
    background: color-mix(in srgb, var(--syls-surface-strong) 88%, transparent) !important;
    box-shadow: 0 12px 36px rgba(20, 35, 60, .14);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transform: none;
    translate: 0;
  }

  .syls-sidebar-toggle span,
  body.syls-sidebar-collapsed .syls-sidebar-toggle span {
    width: 18px;
    height: 14px;
    translate: 0;
    color: var(--syls-accent);
  }

  .syls-sidebar-toggle span::before,
  .syls-sidebar-toggle span::after,
  body.syls-sidebar-collapsed .syls-sidebar-toggle span::before,
  body.syls-sidebar-collapsed .syls-sidebar-toggle span::after {
    left: 0;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    transform: none;
  }

  .syls-sidebar-toggle span::before,
  body.syls-sidebar-collapsed .syls-sidebar-toggle span::before {
    top: 3px;
  }

  .syls-sidebar-toggle span::after,
  body.syls-sidebar-collapsed .syls-sidebar-toggle span::after {
    bottom: 3px;
  }

  /* 侧栏改成抽屉：折叠=关闭，展开=打开 */
  .syls-sidebar,
  body.syls-sidebar-collapsed .syls-sidebar {
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    width: min(86vw, 330px);
    height: 100svh;
    padding: calc(68px + var(--syls-mobile-safe-top)) 14px calc(18px + var(--syls-mobile-safe-bottom));
    border-radius: 0 28px 28px 0;
    overflow-y: auto !important;
    transform: translateX(-105%);
    transition: transform .28s cubic-bezier(.22, 1, .36, 1), box-shadow .28s ease;
    align-items: stretch;
  }

  body:not(.syls-sidebar-collapsed) .syls-sidebar {
    transform: translateX(0);
    box-shadow: 28px 0 70px rgba(15, 23, 42, .22);
  }

  body:not(.syls-sidebar-collapsed)::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 9990;
    background: rgba(15, 23, 42, .24);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  body:not(.syls-sidebar-collapsed) .syls-sidebar-toggle {
    left: min(calc(86vw - 56px), 274px);
  }

  .syls-sidebar-head,
  body.syls-sidebar-collapsed .syls-sidebar-head {
    padding: 0 10px 18px;
    justify-items: start;
    width: 100%;
  }

  .syls-main-nav,
  body.syls-sidebar-collapsed .syls-main-nav {
    overflow: visible;
    padding-top: 0;
  }

  body.syls-sidebar-collapsed .syls-brand,
  body.syls-sidebar-collapsed .syls-logo-pair,
  body.syls-sidebar-collapsed .syls-main-nav,
  body.syls-sidebar-collapsed .syls-sidebar-bottom,
  body.syls-sidebar-collapsed .syls-nav-item > span:not(.syls-nav-icon),
  body.syls-sidebar-collapsed .syls-nav-children .syls-nav-item > span:not(.syls-nav-icon) {
    opacity: 1;
    visibility: visible;
    width: auto;
    max-width: none;
    pointer-events: auto;
  }

  body.syls-sidebar-collapsed .syls-nav-item,
  body.syls-sidebar-collapsed .syls-nav-children .syls-nav-item {
    justify-content: flex-start;
    width: 100%;
  }

  /* 首页 hero：手机端做紧凑卡片，不被 JS 同步高度拉长 */
  .syls-member-home {
    gap: 14px;
    padding-bottom: 18px;
  }

  .syls-member-hero,
  .syls-home-hero {
    --syls-home-hero-height: auto !important;
    min-height: 0 !important;
    height: auto !important;
    border-radius: 24px;
    overflow: hidden;
  }

  .syls-member-hero .syls-home-hero-slide,
  .syls-home-hero-slide,
  .syls-member-hero .syls-home-hero-copy,
  .syls-home-hero-copy,
  .syls-member-hero .syls-home-hero-media,
  .syls-home-hero-media {
    min-height: 0 !important;
    height: auto !important;
  }

  .syls-member-hero .syls-home-hero-copy,
  .syls-home-hero-copy {
    width: 100%;
    flex-basis: 100%;
    padding: 76px 20px 24px;
    min-height: 360px !important;
    justify-content: flex-end;
    background: linear-gradient(180deg, rgba(7, 14, 34, .42), rgba(7, 14, 34, .88));
  }

  .syls-member-hero h1,
  .syls-home-hero h1 {
    font-size: clamp(28px, 8.5vw, 38px) !important;
    line-height: 1.06;
    letter-spacing: -0.04em;
    margin-bottom: 10px;
  }

  .syls-home-hero-subtitle {
    font-size: clamp(15px, 4.1vw, 18px) !important;
    line-height: 1.45;
    margin-bottom: 14px !important;
  }

  .syls-home-hero-excerpt {
    display: none;
  }

  .syls-member-hero .syls-home-hero-ticker,
  .syls-home-hero-ticker {
    position: relative;
    top: auto;
    left: auto;
    max-width: 100%;
    margin: 14px 0 0 !important;
    padding: 8px 10px;
    border-radius: 14px;
  }

  .syls-home-hero-ticker-item,
  .syls-home-hero-ticker-item span {
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .syls-hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 14px 0 0;
  }

  .syls-hero-stats span {
    padding: 10px 8px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 14px;
    background: rgba(255,255,255,.08);
  }

  .syls-hero-actions,
  .syls-hero-guest-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
  }

  .syls-hero-actions .syls-home-hero-secondary,
  .syls-home-hero-primary,
  .syls-home-hero-secondary,
  .syls-hero-guest-action {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 0 12px;
    font-size: 13px;
    border-radius: 999px;
  }

  .syls-home-hero-media {
    position: absolute !important;
    inset: 0;
    min-height: 100% !important;
  }

  .syls-home-hero-media img,
  .syls-home-hero-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .syls-home-hero-dots {
    right: 18px !important;
    left: auto !important;
    bottom: 14px !important;
    transform: none !important;
  }

  /* 首页下方模块手机端 */
  .syls-featured-section,
  .syls-category-map {
    padding: 18px;
    border-radius: 22px;
  }

  .syls-featured-grid,
  .syls-compact-resource-grid {
    grid-template-columns: 1fr;
  }

  .syls-category-map-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .syls-hero-actions,
  .syls-hero-guest-actions {
    grid-template-columns: 1fr;
  }
}




