/*
 * SSS69 Global WordPress Theme Layer v1.7.0
 *
 * A deliberately scoped fallback for ordinary WordPress pages, posts,
 * archives, search and 404 templates. The directory, map and profile
 * renderers keep their dedicated stylesheets.
 */

body.sss69-v170-global:not(.sss69-v160):not(.sss69-site) {
  --sss69-global-bg: #030107;
  --sss69-global-bg-soft: #08030e;
  --sss69-global-panel: #100817;
  --sss69-global-panel-strong: #170a24;
  --sss69-global-text: #faf7ff;
  --sss69-global-muted: #b9afc5;
  --sss69-global-subtle: #91849f;
  --sss69-global-purple: #8b24ff;
  --sss69-global-purple-soft: #b467ff;
  --sss69-global-pink: #f20a8f;
  --sss69-global-pink-accessible: #d4007a;
  --sss69-global-line: rgba(210, 120, 255, 0.18);
  --sss69-global-line-hot: rgba(231, 23, 150, 0.58);
  --sss69-global-shadow: 0 22px 60px rgba(0, 0, 0, 0.42);
  color-scheme: dark;
  margin: 0;
  background:
    radial-gradient(circle at 16% 0%, rgba(139, 36, 255, 0.16), transparent 32rem),
    radial-gradient(circle at 92% 18%, rgba(242, 10, 143, 0.1), transparent 28rem),
    var(--sss69-global-bg);
  color: var(--sss69-global-text);
  font-family: Inter, Montserrat, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

body.sss69-v170-global:not(.sss69-v160):not(.sss69-site) *,
body.sss69-v170-global:not(.sss69-v160):not(.sss69-site) *::before,
body.sss69-v170-global:not(.sss69-v160):not(.sss69-site) *::after {
  box-sizing: border-box;
}

body.sss69-v170-global:not(.sss69-v160):not(.sss69-site) ::selection {
  background: rgba(139, 36, 255, 0.52);
  color: #fff;
}

body.sss69-v170-global:not(.sss69-v160):not(.sss69-site) :is(.wp-site-blocks, #page, .site, .site-content) {
  min-height: 100vh;
  background: transparent;
  color: inherit;
}

body.sss69-v170-global:not(.sss69-v160):not(.sss69-site) :is(header.wp-block-template-part, .site-header, #masthead) {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--sss69-global-line);
  background: rgba(3, 1, 7, 0.9);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(18px);
}

body.sss69-v170-global:not(.sss69-v160):not(.sss69-site) :is(.wp-block-site-title, .site-title, .custom-logo-link) a,
body.sss69-v170-global:not(.sss69-v160):not(.sss69-site) :is(.wp-block-site-title, .site-title) {
  color: var(--sss69-global-text);
  font-weight: 850;
  letter-spacing: -0.035em;
  text-decoration: none;
}

body.sss69-v170-global:not(.sss69-v160):not(.sss69-site) :is(.wp-block-site-title, .site-title)::first-letter {
  color: var(--sss69-global-purple-soft);
}

body.sss69-v170-global:not(.sss69-v160):not(.sss69-site) :is(.wp-block-navigation, .main-navigation, .site-navigation) a {
  color: var(--sss69-global-muted);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color 160ms ease, text-shadow 160ms ease;
}

body.sss69-v170-global:not(.sss69-v160):not(.sss69-site) :is(.wp-block-navigation, .main-navigation, .site-navigation) a:hover,
body.sss69-v170-global:not(.sss69-v160):not(.sss69-site) :is(.wp-block-navigation, .main-navigation, .site-navigation) .current-menu-item > a,
body.sss69-v170-global:not(.sss69-v160):not(.sss69-site) :is(.wp-block-navigation, .main-navigation, .site-navigation) [aria-current="page"] {
  color: #fff;
  text-shadow: 0 0 18px rgba(180, 103, 255, 0.58);
}

body.sss69-v170-global:not(.sss69-v160):not(.sss69-site) :is(main, #primary, .site-main) {
  width: min(100% - 32px, 1180px);
  margin-inline: auto;
  padding-block: clamp(38px, 7vw, 86px);
}

body.sss69-v170-global:not(.sss69-v160):not(.sss69-site) :is(h1, h2, h3, h4, h5, h6) {
  color: var(--sss69-global-text);
  font-family: Montserrat, Inter, ui-sans-serif, system-ui, sans-serif;
  line-height: 1.14;
  letter-spacing: -0.035em;
}

body.sss69-v170-global:not(.sss69-v160):not(.sss69-site) h1 {
  margin-block: 0 0.6em;
  font-size: clamp(2.25rem, 6vw, 5.3rem);
  background: linear-gradient(110deg, #fff 4%, #dcbcff 40%, #8b24ff 66%, #f20a8f 96%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

body.sss69-v170-global:not(.sss69-v160):not(.sss69-site) :is(p, li, figcaption, .wp-block-post-excerpt, .entry-summary) {
  color: var(--sss69-global-muted);
}

body.sss69-v170-global:not(.sss69-v160):not(.sss69-site) a {
  color: var(--sss69-global-purple-soft);
  text-underline-offset: 0.22em;
  text-decoration-color: rgba(180, 103, 255, 0.5);
}

body.sss69-v170-global:not(.sss69-v160):not(.sss69-site) a:hover {
  color: #ff69b5;
  text-decoration-color: currentColor;
}

body.sss69-v170-global:not(.sss69-v160):not(.sss69-site) :is(.wp-block-post, article.post, article.page, .type-post, .search-result, .error-404, .not-found) {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid var(--sss69-global-line);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(23, 10, 36, 0.94), rgba(7, 3, 13, 0.97)),
    var(--sss69-global-panel);
  box-shadow: var(--sss69-global-shadow);
}

body.sss69-v170-global:not(.sss69-v160):not(.sss69-site) :is(.wp-block-post, article.post, .search-result) + :is(.wp-block-post, article.post, .search-result) {
  margin-top: 24px;
}

body.sss69-v170-global:not(.sss69-v160):not(.sss69-site) :is(.wp-block-post, article.post, .search-result)::before {
  position: absolute;
  inset: 0 auto auto 0;
  width: 44%;
  height: 1px;
  background: linear-gradient(90deg, var(--sss69-global-purple), var(--sss69-global-pink), transparent);
  content: "";
}

body.sss69-v170-global:not(.sss69-v160):not(.sss69-site) :is(.wp-block-post-title, .entry-title) a {
  color: var(--sss69-global-text);
  text-decoration: none;
}

body.sss69-v170-global:not(.sss69-v160):not(.sss69-site) :is(.wp-block-post-date, .wp-block-post-author, .entry-meta, .posted-on, .byline) {
  color: var(--sss69-global-subtle);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

body.sss69-v170-global:not(.sss69-v160):not(.sss69-site) :is(.wp-block-post-featured-image, .post-thumbnail, figure.wp-block-image) img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--sss69-global-line);
  border-radius: 16px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.3);
}

body.sss69-v170-global:not(.sss69-v160):not(.sss69-site) :is(blockquote, .wp-block-quote) {
  margin-inline: 0;
  padding: 18px 22px;
  border: 1px solid var(--sss69-global-line-hot);
  border-left: 4px solid var(--sss69-global-purple);
  border-radius: 12px;
  background: rgba(139, 36, 255, 0.08);
}

body.sss69-v170-global:not(.sss69-v160):not(.sss69-site) :is(hr, .wp-block-separator) {
  border: 0;
  border-top: 1px solid var(--sss69-global-line);
}

body.sss69-v170-global:not(.sss69-v160):not(.sss69-site) :is(table, .wp-block-table table) {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--sss69-global-line);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  background: rgba(10, 4, 16, 0.84);
  color: var(--sss69-global-muted);
}

body.sss69-v170-global:not(.sss69-v160):not(.sss69-site) :is(th, td) {
  padding: 12px 14px;
  border: 0;
  border-bottom: 1px solid var(--sss69-global-line);
}

body.sss69-v170-global:not(.sss69-v160):not(.sss69-site) th {
  background: rgba(139, 36, 255, 0.12);
  color: var(--sss69-global-text);
}

body.sss69-v170-global:not(.sss69-v160):not(.sss69-site) :is(button, input[type="button"], input[type="submit"], .wp-element-button, .wp-block-button__link, .button) {
  min-height: 44px;
  padding: 0.75rem 1.2rem;
  border: 1px solid rgba(231, 23, 150, 0.72);
  border-radius: 10px;
  background: linear-gradient(115deg, #7c19ff 0%, #a51fff 44%, var(--sss69-global-pink-accessible) 100%);
  box-shadow: 0 11px 28px rgba(139, 36, 255, 0.2), 0 0 22px rgba(242, 10, 143, 0.12);
  color: #fff;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

body.sss69-v170-global:not(.sss69-v160):not(.sss69-site) :is(button, input[type="button"], input[type="submit"], .wp-element-button, .wp-block-button__link, .button):hover {
  color: #fff;
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 15px 34px rgba(139, 36, 255, 0.28), 0 0 26px rgba(242, 10, 143, 0.18);
}

body.sss69-v170-global:not(.sss69-v160):not(.sss69-site) :is(input:not([type="button"]):not([type="submit"]):not([type="checkbox"]):not([type="radio"]), textarea, select) {
  width: 100%;
  min-height: 44px;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(231, 23, 150, 0.45);
  border-radius: 10px;
  background: rgba(3, 1, 7, 0.92);
  color: var(--sss69-global-text);
  font: inherit;
  outline: none;
}

body.sss69-v170-global:not(.sss69-v160):not(.sss69-site) textarea {
  min-height: 140px;
  resize: vertical;
}

body.sss69-v170-global:not(.sss69-v160):not(.sss69-site) :is(input, textarea, select, button, a):focus-visible {
  outline: 2px solid var(--sss69-global-purple-soft);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px rgba(139, 36, 255, 0.18);
}

body.sss69-v170-global:not(.sss69-v160):not(.sss69-site) :is(.wp-block-search, .search-form) {
  display: flex;
  align-items: stretch;
  gap: 9px;
  padding: 10px;
  border: 1px solid var(--sss69-global-line);
  border-radius: 14px;
  background: rgba(16, 8, 23, 0.92);
}

body.sss69-v170-global:not(.sss69-v160):not(.sss69-site) :is(.wp-block-search__input, .search-field) {
  flex: 1 1 auto;
}

body.sss69-v170-global:not(.sss69-v160):not(.sss69-site) :is(.wp-block-query-pagination, .navigation.pagination, .posts-navigation, .post-navigation) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

body.sss69-v170-global:not(.sss69-v160):not(.sss69-site) :is(.page-numbers, .wp-block-query-pagination a, .nav-links a, .nav-links span) {
  display: inline-grid;
  min-width: 42px;
  min-height: 42px;
  place-items: center;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--sss69-global-line);
  border-radius: 10px;
  background: var(--sss69-global-panel);
  color: var(--sss69-global-muted);
  text-decoration: none;
}

body.sss69-v170-global:not(.sss69-v160):not(.sss69-site) :is(.page-numbers.current, .wp-block-query-pagination .current, .nav-links [aria-current="page"]) {
  border-color: var(--sss69-global-line-hot);
  background: linear-gradient(135deg, rgba(139, 36, 255, 0.34), rgba(212, 0, 122, 0.3));
  color: #fff;
}

body.sss69-v170-global:not(.sss69-v160):not(.sss69-site).error404 :is(.error-404, .not-found),
body.sss69-v170-global:not(.sss69-v160):not(.sss69-site).search-no-results :is(.no-results, .not-found) {
  max-width: 800px;
  margin-inline: auto;
  padding-block: clamp(48px, 9vw, 100px);
  text-align: center;
}

body.sss69-v170-global:not(.sss69-v160):not(.sss69-site).error404 :is(.error-404, .not-found)::after {
  display: block;
  margin-top: 14px;
  color: var(--sss69-global-pink);
  font-size: clamp(4rem, 17vw, 10rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.08em;
  opacity: 0.13;
  content: "404";
}

body.sss69-v170-global:not(.sss69-v160):not(.sss69-site) :is(footer.wp-block-template-part, .site-footer, #colophon) {
  margin-top: clamp(42px, 7vw, 90px);
  padding-block: clamp(28px, 5vw, 56px);
  border-top: 1px solid var(--sss69-global-line);
  background: linear-gradient(180deg, rgba(16, 8, 23, 0.5), rgba(3, 1, 7, 0.96));
  color: var(--sss69-global-subtle);
}

@media (max-width: 782px) {
  body.sss69-v170-global:not(.sss69-v160):not(.sss69-site) :is(main, #primary, .site-main) {
    width: min(100% - 22px, 1180px);
    padding-block: 28px 56px;
  }

  body.sss69-v170-global:not(.sss69-v160):not(.sss69-site) :is(.wp-block-post, article.post, article.page, .type-post, .search-result, .error-404, .not-found) {
    padding: 20px 16px;
    border-radius: 16px;
  }

  body.sss69-v170-global:not(.sss69-v160):not(.sss69-site) :is(.wp-block-search, .search-form) {
    display: grid;
  }

  body.sss69-v170-global:not(.sss69-v160):not(.sss69-site) :is(.wp-block-search__button, .search-submit) {
    width: 100%;
  }

  body.sss69-v170-global:not(.sss69-v160):not(.sss69-site) .wp-block-table {
    overflow-x: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.sss69-v170-global:not(.sss69-v160):not(.sss69-site) *,
  body.sss69-v170-global:not(.sss69-v160):not(.sss69-site) *::before,
  body.sss69-v170-global:not(.sss69-v160):not(.sss69-site) *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
