/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[15].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[15].oneOf[10].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
@import url("https://unpkg.com/leaflet@1.9.4/dist/leaflet.css");

:root {
  font-family: "Inter", "Space Grotesk", system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #040308;
  color: #f5f7fb;
  color-scheme: dark light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 20% -10%, #3551ff 0%, #07101c 47%),
    radial-gradient(circle at 80% -20%, rgba(67, 198, 229, 0.78) 0%, transparent 47%),
    linear-gradient(180deg, #091327 0%, #03070d 72%);
  color: #eef2ff;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px 64px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  font-feature-settings: "liga" on, "calt" on;
}

.legal-page {
  max-width: 860px;
  gap: 24px;
}

.legal-lede {
  max-width: 720px;
  margin: 0 auto;
  color: #cdd7ff;
}

.legal-section {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 20px 24px;
  line-height: 1.7;
}

.legal-section h2 {
  margin-top: 0;
  color: #9ac8ff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.legal-section ul {
  margin: 0;
  padding-left: 1.2rem;
  color: #dde4ff;
}

.legal-section a {
  color: #72f5a0;
}

.legal-back {
  text-align: center;
  margin-top: 12px;
}

.legal-back-top {
  margin-top: 18px;
  margin-bottom: 0;
}

.legal-back a {
  color: #72f5a0;
  font-weight: 600;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 12px;
  padding: 32px 0 48px;
  text-align: center;
  color: #a5b4ff;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-footer nav {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.site-footer a {
  color: #72f5a0;
  font-weight: 600;
}


.hero {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin: 0;
  letter-spacing: -0.04em;
  text-transform: none;
}

.hero-title {
  font-size: clamp(2.55rem, 6vw, 4.2rem);
  letter-spacing: 0;
  display: inline-flex;
  justify-content: center;
}

.hero-title-link {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 16px;
}

.hero-title-link:focus-visible {
  outline: 2px solid #72f5a0;
  outline-offset: 6px;
}

.brand-logo-link {
  padding: 0;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.68rem;
  color: inherit;
}

.brand-logo-wordmark {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  font-size: clamp(2.7rem, 5.1vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.99;
  text-rendering: optimizeLegibility;
  overflow: visible;
  white-space: nowrap;
  padding: 0 0.18em 0.06em 0.03em;
}

.brand-logo-word {
  display: inline-block;
}

.brand-logo-word-urlaubs {
  color: #eff5ff;
  padding-right: 0;
  text-shadow: 0 10px 30px rgba(5, 9, 24, 0.28);
}

html[data-theme="light"] .brand-logo-word-urlaubs {
  color: #355b86;
  text-shadow: 0 10px 26px rgba(255, 255, 255, 0.42);
}

.brand-logo-word-map {
  margin-left: 0.08em;
  padding-right: 0.12em;
  background: linear-gradient(135deg, #cc112d 0%, #ff4f68 42%, #ff96a5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: none;
}

.brand-logo-suffix {
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--soft-text);
}

.brand-logo.compact {
  gap: 0.54rem;
}

.brand-logo.compact .brand-logo-wordmark {
  font-size: clamp(2rem, 3.4vw, 2.85rem);
  letter-spacing: -0.05em;
}

.brand-logo.compact .brand-logo-suffix {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
}

.blog-brand-heading {
  margin: 0;
}

@media (max-width: 640px) {
  .brand-logo-wordmark {
    font-size: clamp(2.3rem, 10vw, 3rem);
  }

  .brand-logo.compact .brand-logo-wordmark {
    font-size: clamp(1.8rem, 7.8vw, 2.3rem);
  }

  .brand-logo-suffix {
    font-size: 0.7rem;
  }
}

@media (max-width: 460px) {
  .brand-logo {
    gap: 0.4rem;
  }

  .brand-logo-wordmark {
    font-size: clamp(2.1rem, 9vw, 2.6rem);
  }

  .brand-logo.compact .brand-logo-wordmark {
    font-size: clamp(1.65rem, 7.2vw, 2.05rem);
  }

  .brand-logo-suffix {
    display: none;
  }
}

.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: #8cb4ff;
  margin: 0;
}

.hero .lede {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

.hero .support {
  margin: 0 auto;
  max-width: 680px;
  font-size: 1.05rem;
  color: #d1dbff;
  line-height: 1.6;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}

.filters-secondary {
  margin-top: 0;
  gap: 10px;
}

.filter-chip {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: #f6f9ff;
  border-radius: 999px;
  padding: 12px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  cursor: pointer;
  transition: border 0.2s, transform 0.2s, background 0.2s, box-shadow 0.2s, color 0.2s;
}

.filter-chip small {
  font-size: 0.7rem;
  color: #9fb7ff;
}

.filter-chip.active,
.filter-chip[aria-pressed="true"] {
  border-color: rgba(255, 255, 255, 0.9);
  background: linear-gradient(135deg, #ffffff, #ffe8ed 45%, #ff6b84);
  color: #172033;
  transform: translateY(-2px) scale(1.035);
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.18),
    0 12px 28px rgba(201, 31, 55, 0.38);
}

.filter-chip.active small,
.filter-chip[aria-pressed="true"] small {
  color: #7b1427;
  font-weight: 850;
}

.filter-chip.filter-chip-compact {
  padding: 10px 18px;
}

.filter-chip:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.map-panel {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 7, 20, 0.9);
  z-index: 0;
}

.map-shell {
  width: 100%;
  height: min(70vh, 640px);
  position: relative;
  z-index: 0;
}

.map-shell-canvas {
  width: 100%;
  height: 100%;
}

.map-outside-mask {
  position: absolute;
  background: rgba(255, 252, 252, 0.18);
  backdrop-filter: blur(6px) saturate(0.74) brightness(0.95);
  -webkit-backdrop-filter: blur(6px) saturate(0.74) brightness(0.95);
  pointer-events: none;
  z-index: 650;
}

.map-allowed-frame {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: inset 0 0 0 1px rgba(201, 31, 55, 0.08);
  border-radius: 18px;
  pointer-events: none;
  z-index: 651;
}

.map-allowed-frame-compact {
  border-radius: 14px;
}

.map-spotlight-overlay-anchor {
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
  z-index: 1250;
  cursor: pointer;
}

.map-spotlight-overlay-anchor.is-hovered,
.map-spotlight-overlay-anchor.is-hovered .map-spotlight-card {
  pointer-events: none;
  cursor: default;
}

.floating-add {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #ff6fd8, #7850ff);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 15px 35px rgba(120, 80, 255, 0.5);
  cursor: pointer;
}

.floating-add:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

.map-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #8cb4ff;
}

.map-pins-loading-card {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 45;
  width: min(360px, calc(100% - 44px));
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 18px 20px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(7, 11, 28, 0.86);
  color: #f7fbff;
  text-align: center;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.34);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  pointer-events: none;
}

.map-pins-loading-card strong {
  font-size: 1rem;
}

.map-pins-loading-card span {
  font-size: 0.88rem;
  line-height: 1.35;
  color: #d9e5ff;
}

.error-banner {
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255, 138, 138, 0.12);
  border: 1px solid rgba(255, 138, 138, 0.35);
  color: #ffbdbd;
  text-align: center;
  font-weight: 600;
}

.success-banner,
.warning-banner,
.pending-banner {
  padding: 14px 18px;
  border-radius: 18px;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.45;
  text-shadow: none;
}

.success-banner {
  background: linear-gradient(180deg, rgba(29, 94, 62, 0.97), rgba(21, 74, 48, 0.97));
  border: 1px solid rgba(166, 247, 198, 0.42);
  color: #f6fff9;
  box-shadow: 0 12px 26px rgba(10, 32, 20, 0.28);
}

.warning-banner {
  background: rgba(255, 166, 58, 0.16);
  border: 1px solid rgba(255, 166, 58, 0.46);
  color: #ffd39a;
}

.pending-banner {
  background: rgba(120, 145, 255, 0.12);
  border: 1px solid rgba(120, 145, 255, 0.38);
  color: #d7e2ff;
}

.map-density-banner {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  margin: 0;
  padding: 8px 14px;
  max-width: calc(100% - 240px);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(12, 17, 38, 0.76);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  font-size: 0.82rem;
  line-height: 1.25;
  color: #dce7ff;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
}

.map-location-search-stage {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 9px;
  width: 100%;
  margin: -14px 0;
}

.map-location-search-stage .pin-search-shell {
  margin-top: 0;
}

.pin-search-shell {
  position: relative;
  display: flex;
  align-items: center;
  width: min(846px, calc(100vw - 36px));
  min-height: 56px;
  margin: 4px auto 0;
  padding: 0 52px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #0f172a;
  box-shadow:
    0 16px 34px rgba(15, 23, 42, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.pin-search-shell:focus-within {
  border-color: rgba(37, 99, 235, 0.5);
  background: rgba(255, 255, 255, 0.99);
  box-shadow:
    0 18px 38px rgba(37, 99, 235, 0.15),
    0 0 0 4px rgba(37, 99, 235, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.pin-search-icon {
  position: absolute;
  left: 22px;
  color: #64748b;
  pointer-events: none;
}

.pin-search-input {
  width: 100%;
  height: 54px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: -0.015em;
  appearance: none;
}

.pin-search-input::placeholder {
  color: #64748b;
  font-weight: 650;
}

.pin-search-input::-webkit-search-cancel-button {
  display: none;
}

.pin-search-clear {
  position: absolute;
  right: 9px;
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: rgba(226, 232, 240, 0.86);
  color: #334155;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.pin-search-clear:hover {
  background: rgba(37, 99, 235, 0.13);
  color: #1d4ed8;
  transform: translateY(-1px);
}

.map-location-search-message {
  margin: 0 auto;
  max-width: min(760px, calc(100vw - 42px));
  color: rgba(222, 235, 255, 0.88);
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.35;
  text-align: center;
}

.map-location-search-message.error {
  color: #ffd0d0;
}

.map-location-search-results {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  width: min(846px, calc(100vw - 36px));
  margin: 0 auto;
}

.map-location-search-result {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(12, 17, 38, 0.7);
  color: #edf5ff;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.map-location-search-result:hover,
.map-location-search-result:focus-visible {
  outline: none;
  transform: translateY(-1px);
  border-color: rgba(126, 234, 204, 0.56);
  background: rgba(23, 42, 72, 0.86);
}

.map-style-toggle {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 32;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(12, 17, 38, 0.78);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.map-style-chip {
  border: none;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #dce7ff;
  background: transparent;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.map-style-chip:hover {
  transform: translateY(-1px);
}

.map-style-chip.active {
  color: #0c2a3e;
  background: linear-gradient(180deg, #7eeacc, #41d9c9);
  box-shadow: 0 10px 20px rgba(55, 189, 173, 0.22);
}

.cta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-copy {
  margin: 4px 0 0;
  font-weight: 600;
}

.submission-guidance {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: -12px;
}

.blog-teaser-card {
  display: grid;
  gap: 18px;
  padding: 18px 22px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(96, 168, 255, 0.12), rgba(45, 212, 191, 0.08));
  border: 1px solid rgba(143, 196, 255, 0.22);
}

.blog-teaser-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.blog-teaser-card h3 {
  margin: 0 0 6px;
  font-size: 1.08rem;
}

.blog-teaser-copy {
  margin: 0;
  max-width: 760px;
  color: var(--soft-text);
  line-height: 1.55;
}

.blog-teaser-link {
  white-space: nowrap;
  flex-shrink: 0;
}

.blog-teaser-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.blog-teaser-mini-card {
  display: grid;
  gap: 10px;
  padding: 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(143, 196, 255, 0.22);
  box-shadow: 0 10px 26px rgba(99, 145, 204, 0.1);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.blog-teaser-mini-card:hover {
  transform: translateY(-2px);
  border-color: rgba(114, 245, 160, 0.34);
  box-shadow: 0 14px 32px rgba(99, 145, 204, 0.14);
}

.blog-teaser-mini-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 16 / 10;
  background: rgba(255, 255, 255, 0.55);
}

.blog-teaser-mini-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-teaser-mini-title {
  margin: 0;
  color: var(--app-text);
  font-weight: 700;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.submission-disclaimer {
  margin: 0;
  text-align: left;
}

.siepomaga-autofill-card {
  border: 1px solid rgba(217, 119, 6, 0.34);
  border-radius: 18px;
  padding: 15px 16px;
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 218, 92, 0.52), transparent 38%),
    linear-gradient(180deg, #fff9df 0%, #fff1bd 100%);
  color: #70380a;
  box-shadow: 0 16px 36px rgba(132, 77, 0, 0.12);
}

.siepomaga-autofill-card strong {
  display: block;
  margin-bottom: 6px;
  color: #7a2e0e;
  font-size: 0.94rem;
}

.siepomaga-autofill-card p {
  margin: 0;
  color: #74430d;
  line-height: 1.48;
  font-size: 0.9rem;
  font-weight: 500;
}

.jobs-autofill-card {
  border-color: rgba(124, 58, 237, 0.28);
  background:
    radial-gradient(circle at 12% 0%, rgba(236, 72, 153, 0.18), transparent 42%),
    linear-gradient(180deg, #f7f2ff 0%, #efe7ff 100%);
  color: #3b246c;
  box-shadow: 0 16px 36px rgba(76, 29, 149, 0.12);
}

.jobs-autofill-card strong,
.jobs-autofill-card p {
  color: #3b246c;
}

.medics-autofill-card {
  border-color: rgba(20, 184, 166, 0.30);
  background:
    radial-gradient(circle at 12% 0%, rgba(45, 212, 191, 0.20), transparent 42%),
    linear-gradient(180deg, #ecfffb 0%, #d9fbf2 100%);
  color: #134e4a;
  box-shadow: 0 16px 36px rgba(13, 148, 136, 0.12);
}

.medics-autofill-card strong,
.medics-autofill-card p {
  color: #134e4a;
}

.siepomaga-autofill-message {
  margin: 0;
  border: 1px solid rgba(180, 83, 9, 0.24);
  border-radius: 14px;
  padding: 10px 12px;
  background: #fff8df;
  color: #65370c;
  font-size: 0.86rem;
  line-height: 1.45;
  font-weight: 500;
}

.siepomaga-autofill-message.loading {
  border-color: rgba(37, 99, 235, 0.3);
  background: #eef6ff;
  color: #1d4f91;
}

.siepomaga-autofill-message.applied {
  border-color: rgba(22, 163, 74, 0.32);
  background: #ecfdf3;
  color: #136c36;
}

.siepomaga-autofill-message.missing,
.siepomaga-autofill-message.error {
  border-color: rgba(180, 83, 9, 0.3);
  background: #fff4d6;
  color: #74430d;
}

.motivation {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 18px 22px;
}

.motivation-card h3 {
  margin: 4px 12px 12px 0;
  padding-left: 12px;
  overflow: visible;
}

.motivation-card ul {
  margin: 0 0 12px 18px;
  padding: 0;
}

.motivation-card li {
  margin-bottom: 6px;
  color: #c8dafe;
}

.motivation-note {
  margin: 0;
  color: #72f5a0;
  font-weight: 600;
}

.list-panel {
  background: rgba(4, 6, 18, 0.8);
  border-radius: 32px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(24px);
          backdrop-filter: blur(24px);
}

.list-panel header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
}

.overline {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  margin: 0 0 6px;
  color: #a6b1ff;
}

.disclaimer {
  margin: 0 0 18px;
  font-size: 0.85rem;
  color: #9fb2ff;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 20px;
  padding: 12px 16px;
}

.hero-disclaimer {
  max-width: 720px;
  margin-top: 20px;
}

.map-disclaimer {
  text-align: center;
  margin: 16px auto 40px;
  max-width: 760px;
}

.list-panel h2 {
  margin: 0;
  font-size: 1.8rem;
}

.top-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.post-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 18px;
  padding: 18px 22px;
  border-radius: 22px;
  background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.15),
      rgba(255, 255, 255, 0.05)
    ),
    rgba(12, 14, 28, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 18px 40px rgba(5, 7, 17, 0.7);
  transition: border 0.2s ease, transform 0.2s ease;
}

.post-card:hover {
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.post-thumb-button {
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  align-self: flex-start;
  text-align: left;
  display: block;
  width: 100%;
  max-width: 160px;
}

.post-thumb-button:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.7);
  outline-offset: 4px;
  border-radius: 18px;
}

.post-thumb {
  width: 100%;
  max-width: 160px;
  height: auto;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  align-self: flex-start;
}

.post-thumb.mini {
  padding: 0;
}

.post-thumb.thumb-aspect-16-9 {
  aspect-ratio: 16 / 9;
}

.post-thumb.thumb-aspect-1-1 {
  aspect-ratio: 1 / 1;
}

.post-thumb.thumb-aspect-9-16 {
  aspect-ratio: 9 / 16;
}

.mini-preview {
  width: 100%;
  height: 100%;
  max-width: none;
  min-height: 0;
  margin: 0;
  display: block;
  overflow: hidden;
  position: relative;
}

.post-thumb.mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.post-thumb.platform-instagram .mini-preview {
  background: #000;
}

.post-thumb.platform-instagram img {
  object-fit: contain;
}

.thumb-fallback {
  font-size: 0.8rem;
  text-align: center;
  padding: 8px;
  color: #f3f3f3;
}

.platform-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  border: 1px solid rgba(255, 255, 255, 0.18);
  margin-bottom: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.post-info {
  min-width: 0;
}

.post-title {
  margin: 0 0 6px;
  font-weight: 700;
  font-size: 1.05rem;
  color: #f6f8ff;
  line-height: 1.4;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.post-meta {
  margin: 0;
  color: #95a3d9;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.post-meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.post-liked-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(40, 199, 111, 0.16);
  border: 1px solid rgba(40, 199, 111, 0.34);
  color: #6ef0a5;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.post-liked-badge svg {
  width: 14px;
  height: 14px;
}

.post-author {
  margin: 0 0 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  text-decoration: none;
  color: #c9d8ff;
}

.post-author:hover {
  color: #ffffff;
}

.post-author-avatar,
.post-author-avatar-fallback {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.28);
  flex: 0 0 auto;
}

.post-author-avatar-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 700;
}

.popup-author-avatar-fallback svg,
.post-author-avatar-fallback svg {
  width: 14px;
  height: 14px;
}

.post-author-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.9rem;
  line-height: 1.2;
  font-weight: 600;
}

.event-meta {
  margin-top: 8px;
}

.event-detail-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  margin: 6px 0 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.event-detail-chip {
  width: 42px;
  height: 42px;
  font-size: 1.1rem;
}

.event-detail-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.event-detail-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.event-detail-label,
.event-detail-line {
  margin: 0;
}

.event-detail-label {
  font-weight: 800;
  text-transform: capitalize;
}

.event-detail-line {
  color: #c4d2ff;
  font-size: 0.92rem;
}

.event-detail-date-time {
  color: #ffd38a;
  font-size: 0.98rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 8px rgba(5, 12, 28, 0.35), 0 0 14px rgba(255, 185, 92, 0.18);
}

.event-detail-line:last-child {
  color: #edf3ff;
  font-weight: 700;
}

.event-detail-price {
  width: fit-content;
  margin: 3px 0 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 224, 138, 0.98), rgba(255, 178, 89, 0.96));
  color: #4a2c00;
  font-size: 0.86rem;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(255, 169, 68, 0.18);
}

.post-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.ghost,
.like-button,
.primary {
  border-radius: 999px;
  padding: 10px 18px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.2);
}

.ghost.reported {
  border-color: rgba(255, 128, 128, 0.6);
  color: #ffb3b3;
}

.like-button {
  background: rgba(255, 255, 255, 0.15);
}

.like-button:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

.like-button.liked {
  background: linear-gradient(135deg, #ffa9fb, #ffdd73);
  color: #0a0b14;
  opacity: 1;
  box-shadow: 0 10px 25px rgba(255, 169, 251, 0.35);
  cursor: not-allowed;
}

.like-button.liked svg {
  color: #0a0b14;
}

.primary {
  background: linear-gradient(135deg, #00ffc6, #5a68ff);
  border: none;
}

.primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.empty {
  text-align: center;
  color: #97a0c9;
  margin: 0;
  padding: 32px 0;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 4, 10, 0.75);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow-y: auto;
  padding: max(12px, env(safe-area-inset-top)) 20px 20px;
  z-index: 2000;
}

.modal-card {
  background: #040611;
  border-radius: 28px;
  width: min(720px, 100%);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 8px;
  max-height: calc(100dvh - 28px);
  overflow: auto;
}

.modal-card.instagram-modal {
  max-height: calc(100dvh - 24px);
  overflow: hidden;
  overflow-x: hidden;
}

.modal-card.facebook-page-modal {
  width: min(860px, 100%);
  max-height: calc(100dvh - 24px);
  overflow: hidden;
  overflow-x: hidden;
}

.modal-header.facebook-page-header {
  justify-content: flex-end;
  gap: 0;
  padding-top: 0;
}

.share-card {
  max-width: 520px;
}

.share-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.share-media {
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}

.share-body code {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 14px;
  font-size: 0.9rem;
  word-break: break-all;
}

.share-actions {
  display: flex;
  gap: 10px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 5;
  background: #040611;
  padding-top: 2px;
}

.modal-header > div {
  flex: 1 1 auto;
  min-width: 0;
  max-width: calc(100% - 56px);
}

.modal-close-inline {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  padding: 0;
  justify-content: center;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  flex: 0 0 auto;
  margin-left: auto;
}

.modal-close-floating {
  position: fixed;
  top: max(10px, env(safe-area-inset-top));
  right: max(10px, env(safe-area-inset-right));
  z-index: 2200;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(4, 6, 17, 0.94);
  color: #f4f7ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.popup-title-clamped {
  margin: 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.popup-title-clamped-2 {
  margin: 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.popup-title-mobile-compact {
  white-space: pre-line;
}

.popup-author {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #c9d8ff;
  max-width: 100%;
}

.popup-author:hover {
  color: #ffffff;
}

.popup-author-avatar,
.popup-author-avatar-fallback {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.3);
  flex: 0 0 auto;
}

.popup-author-avatar-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
}

.popup-author-name {
  font-size: 0.88rem;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.modal-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.modal-body.video-scroll-body {
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding-right: 4px;
  padding-bottom: 6px;
}

.modal-body.instagram-body {
  height: auto;
  max-height: calc(100dvh - 130px);
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1 1;
  min-height: 0;
  padding-right: 0;
  scrollbar-gutter: stable;
  -webkit-overflow-scrolling: touch;
}

.modal-card.tiktok-modal {
  max-height: 94vh;
  overflow: hidden;
  overflow-x: hidden;
}

.modal-body.tiktok-body {
  height: auto;
  max-height: calc(94vh - 170px);
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1 1;
  min-height: 0;
  padding-right: 0;
  -webkit-overflow-scrolling: touch;
}

.modal-body.facebook-page-body {
  flex: 1 1;
  min-height: 0;
  overflow: hidden;
  gap: 0;
}

.pin-attached-article-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.pin-attached-article-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.pin-attached-article-header h4 {
  margin: 4px 0 0;
  font-size: 1rem;
  line-height: 1.35;
}

.pin-attached-article-body {
  display: grid;
  grid-template-columns: minmax(132px, 176px) minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.pin-attached-article-thumb {
  overflow: hidden;
  border-radius: 16px;
  background: var(--thumb-bg);
  aspect-ratio: 16 / 9;
  min-width: 0;
}

.pin-attached-article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pin-attached-article-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.pin-attached-article-meta {
  margin: 0;
}

.pin-attached-article-excerpt {
  margin: 0;
  line-height: 1.5;
  color: #eef3ff;
}

.pin-attached-article-excerpt-muted {
  color: #b8caef;
}

html[data-theme="light"] .pin-attached-article-card {
  border-color: rgba(188, 211, 236, 0.9);
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.98), rgba(241, 247, 255, 0.98));
}

html[data-theme="light"] .pin-attached-article-meta {
  color: rgba(69, 86, 112, 0.82);
}

html[data-theme="light"] .pin-attached-article-excerpt {
  color: #1b2c46;
}

html[data-theme="light"] .pin-attached-article-excerpt-muted {
  color: rgba(85, 104, 132, 0.86);
}

.modal-card.instagram-modal .viewer.instagram-embed.aspect-9-16,
.modal-card.instagram-modal .viewer.instagram-preview.aspect-9-16 {
  width: 100%;
  max-width: min(100%, 520px);
  aspect-ratio: 9 / 16;
  height: auto;
  margin: 0 auto;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.9rem;
}

.field input,
.field select {
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(5, 8, 20, 0.9);
  color: #f9fbff;
}

.field-hint {
  color: var(--soft-text);
  font-size: 0.78rem;
  line-height: 1.35;
}

.add-category-field select {
  cursor: pointer;
}

.field.checkbox-field {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
}

.field.checkbox-field input[type="checkbox"] {
  width: 18px;
  height: 18px;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.date-picker-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.date-picker-row input {
  flex: 1 1 auto;
  min-width: 0;
  cursor: pointer;
}

.time-picker-row select {
  flex: 1 1;
  min-width: 0;
}

.time-picker-separator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 12px;
  font-weight: 700;
  color: var(--soft-text);
}

.date-picker-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
}

.inline-search-field {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.inline-search-field input {
  flex: 1 1 auto;
  min-width: 0;
}

.search-place-button {
  justify-content: center;
  white-space: nowrap;
}

.place-search-results {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 180px;
  overflow: auto;
  padding-right: 4px;
}

.place-search-result {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: #edf2ff;
  border-radius: 14px;
  text-align: left;
  padding: 10px 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.place-search-result:hover {
  border-color: rgba(90, 136, 255, 0.75);
  background: rgba(90, 136, 255, 0.16);
}

.place-search-result.active {
  border-color: rgba(114, 245, 160, 0.8);
  background: rgba(114, 245, 160, 0.18);
}

.place-search-result span {
  font-size: 0.85rem;
  line-height: 1.35;
  color: #d9e6ff;
}

.place-search-result strong {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a9bcff;
}

.location-picked {
  margin: 0;
  color: #a9bcff;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mini-map .map-shell {
  height: 320px;
  border-radius: 24px;
}

.form-message {
  color: #ff8a8a;
  margin: 0;
  font-size: 0.85rem;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
}

.modal-footer.actions {
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: wrap;
}

.viewer {
  width: min(100%, 720px);
  border-radius: 24px;
  overflow: hidden;
  background: #000;
  position: relative;
  display: flex;
  margin: 0 auto;
  justify-content: center;
}

.instagram-media {
  width: 100% !important;
  border: 0 !important;
  background: transparent !important;
}

.viewer.external {
  display: flex;
  text-decoration: none;
  color: inherit;
}

.post-thumb .viewer,
.post-thumb .viewer * {
  pointer-events: none;
}

.post-thumb .viewer {
  width: 100%;
  max-width: none;
  border-radius: 12px;
  min-height: auto;
}

.post-thumb.mini .viewer {
  width: 100%;
  height: 100%;
}

.post-thumb .viewer iframe,
.post-thumb .viewer img {
  object-fit: cover;
}

.viewer.external img {
  object-fit: cover;
}

.viewer .viewer-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.viewer.instagram-embed .viewer-media {
  object-fit: contain;
  background: #000;
}

.external-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.external-thumb.platform-website,
.viewer-media.platform-website,
.post-thumb.platform-website img {
  object-position: center 84%;
}

.external-thumb.platform-article,
.viewer-media.platform-article,
.post-thumb.platform-article img {
  object-position: center top;
}

.external-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
}

.linkedin-profile-fallback {
  flex-direction: column;
  gap: 0.45rem;
  padding: 1rem;
  background:
    linear-gradient(135deg, rgba(236, 249, 255, 0.96), rgba(199, 234, 255, 0.96)),
    #e8f6ff;
  color: #12304a;
  text-align: center;
}

.linkedin-profile-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  background: #0a66c2;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 800;
}

.linkedin-profile-fallback strong {
  display: -webkit-box;
  max-width: 100%;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: clamp(0.84rem, 2.2vw, 1rem);
  line-height: 1.15;
}

.linkedin-profile-fallback span:last-child {
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  color: #38627f;
  text-transform: uppercase;
}

.linkedin-profile-fallback.compact {
  gap: 0.32rem;
  padding: 0.65rem;
}

.linkedin-profile-fallback.compact .linkedin-profile-mark {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  font-size: 1.1rem;
}

.linkedin-profile-fallback.compact strong {
  font-size: 0.74rem;
}

.linkedin-profile-fallback.compact span:last-child {
  display: none;
}

.adzuna-job-fallback {
  flex-direction: column;
  gap: 0.25rem;
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.28), transparent 44%),
    radial-gradient(circle at 82% 82%, rgba(34, 211, 238, 0.44), transparent 50%),
    linear-gradient(135deg, #4f46e5 0%, #7c3aed 52%, #06b6d4 100%);
  text-align: center;
}

.adzuna-job-fallback strong {
  font-size: clamp(2.9rem, 12vw, 8.8rem);
  line-height: 0.92;
  letter-spacing: -0.08em;
  text-shadow: 0 12px 34px rgba(15, 23, 42, 0.32);
}

.adzuna-job-fallback span {
  font-size: clamp(1.05rem, 4vw, 3.2rem);
  font-weight: 850;
  letter-spacing: 0.06em;
  color: #dbeafe;
  text-shadow: 0 6px 18px rgba(15, 23, 42, 0.24);
}

.external-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

.viewer iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.viewer.facebook-post-embed {
  background: #f8f9fb;
}

.viewer.facebook-post-embed.aspect-9-16 {
  max-width: min(100%, 460px);
}

.viewer.facebook-post-embed iframe {
  background: #fff;
}

.aspect-facebook-page {
  aspect-ratio: auto;
  max-width: none;
}

.viewer.facebook-page-embed {
  width: 100%;
  max-width: min(100%, 520px);
  height: clamp(420px, 72dvh, 780px);
  margin: 8px auto 0;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
}

.viewer.facebook-page-embed-polished {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(59, 89, 152, 0.12);
  box-shadow: 0 18px 48px rgba(24, 36, 64, 0.12);
}

.facebook-timeline-chrome {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background:
    radial-gradient(circle at 18% 0%, rgba(37, 99, 235, 0.16), transparent 38%),
    linear-gradient(135deg, #ffffff 0%, #f6f8ff 55%, #eef4ff 100%);
}

.facebook-timeline-avatar {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  overflow: hidden;
  border: 3px solid #fff;
  border-radius: 16px;
  background: #e9eefc;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
}

.facebook-timeline-avatar img,
.facebook-timeline-avatar-image,
.facebook-timeline-avatar-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.facebook-timeline-avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1877f2, #3b82f6);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 900;
}

.facebook-timeline-copy {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 3px;
}

.facebook-timeline-copy span {
  color: #2563eb;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.facebook-timeline-copy strong {
  overflow: hidden;
  color: #111827;
  font-size: clamp(1rem, 2.2vw, 1.18rem);
  font-weight: 950;
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.facebook-timeline-open {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 999px;
  background: #1877f2;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(24, 119, 242, 0.22);
}

.facebook-page-frame {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  background: #fff;
}

.viewer.facebook-page-embed iframe {
  display: block;
  background: #fff;
}

.viewer.facebook-page-embed-polished iframe {
  height: calc(100% + 82px);
  transform: translateY(-82px);
}

.viewer.instagram-embed {
  width: 100%;
  margin: 0 auto;
  display: block;
  background: #000;
  position: relative;
  overflow: hidden;
}

.viewer.instagram-embed .video-frame,
.viewer.tiktok-local-video .video-frame {
  position: relative;
  width: 100%;
  height: 100%;
}

.viewer.instagram-embed video,
.viewer.tiktok-local-video video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000;
}

.viewer.instagram-embed .instagram-media {
  margin: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  max-width: none !important;
  display: block !important;
  background: #000;
}

.viewer.instagram-embed .instagram-media iframe {
  width: 100% !important;
  height: 100% !important;
  border: 0;
  display: block;
}

.viewer.tiktok-embed-viewer {
  background: #000;
  position: relative;
  overflow: hidden;
}

.viewer.tiktok-embed-viewer iframe {
  width: 100% !important;
  height: 100% !important;
  border: 0;
  display: block;
}

.viewer.instagram-preview .viewer-media {
  object-fit: contain;
  background: #000;
}

.aspect-16-9 {
  aspect-ratio: 16 / 9;
}

.aspect-1-1 {
  aspect-ratio: 1 / 1;
  max-width: 520px;
  margin: 0 auto;
}

.aspect-9-16 {
  aspect-ratio: 9 / 16;
  max-width: 360px;
  margin: 0 auto;
}

.aspect-1-1 iframe,
.aspect-9-16 iframe {
  height: 100%;
}

.aspect-instagram-post {
  aspect-ratio: 646 / 867;
  width: min(100%, 420px);
  height: auto;
  margin: 0 auto;
}

.like-tooltip {
  display: none;
}

.pin-icon-wrapper {
  display: block;
}

.pin-cluster-wrapper {
  display: block;
}

.pin-spotlight-wrapper {
  display: block;
  background: transparent !important;
  border: 0 !important;
}

.pin-cluster {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 35% 30%, rgba(160, 198, 255, 0.96), rgba(66, 98, 226, 0.88) 72%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.58);
  box-shadow: 0 8px 15px rgba(30, 48, 120, 0.32);
  font-weight: 800;
  font-size: 0.72rem;
}

.pin-icon {
  width: 46px;
  height: 50px;
  border-radius: 50% 50% 44% 44%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.pin-letter {
  letter-spacing: 0.08em;
}

.pin-icon.pending {
  background: linear-gradient(135deg, #6e7588, #535a6e) !important;
}

@keyframes spotlight-pin-glow {
  0% {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 18px 34px rgba(61, 122, 255, 0.46);
  }
  50% {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 24px 42px rgba(114, 245, 160, 0.54);
  }
  100% {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 18px 34px rgba(61, 122, 255, 0.46);
  }
}

.pin-icon.spotlight {
  animation: spotlight-pin-glow 1.8s ease-in-out infinite;
  will-change: transform, box-shadow;
}

.pin-icon-highlight .pin-icon,
.pin-icon-highlight .pin-cluster {
  box-shadow:
    0 0 0 4px rgba(114, 245, 160, 0.45),
    0 0 0 9px rgba(114, 245, 160, 0.2),
    0 16px 28px rgba(0, 0, 0, 0.45);
  animation: pin-highlight-pulse 1.45s ease-in-out infinite;
}

@keyframes pin-highlight-pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes validating-pin-pulse {
  0% {
    transform: translateZ(0) scale(1);
    box-shadow: 0 16px 28px rgba(216, 120, 32, 0.42);
  }
  50% {
    transform: translateZ(0) scale(1.08);
    box-shadow: 0 20px 32px rgba(246, 165, 58, 0.58);
  }
  100% {
    transform: translateZ(0) scale(1);
    box-shadow: 0 16px 28px rgba(216, 120, 32, 0.42);
  }
}

.pin-icon.pending.validating {
  background: linear-gradient(135deg, #f6a53a, #d87820) !important;
  animation: validating-pin-pulse 1.1s ease-in-out infinite;
  transform-origin: center;
  will-change: transform, box-shadow;
}

.pin-status-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #d5d9e7;
  color: #2d3346;
  border-radius: 999px;
  padding: 2px 7px;
  font-size: 0.57rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.35);
  font-weight: 700;
}

.pin-icon.pending.validating .pin-status-badge {
  background: #ffe0b3;
  color: #713f10;
}

@media (prefers-reduced-motion: reduce) {
  .pin-icon.pending.validating,
  .pin-icon.spotlight {
    animation: none;
  }
}

.pin-icon.event-pin {
  height: 60px;
}

.pin-like {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #fff;
  color: #0a0b14;
  border-radius: 999px;
  padding: 2px 6px;
  font-size: 0.65rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.35);
  font-weight: 600;
}

.pin-like::before {
  content: "❤️";
  font-size: 0.7rem;
  margin-right: 4px;
}

.pin-event-date,
.pin-event-time {
  position: absolute;
  left: -10px;
  border-radius: 999px;
  padding: 2px 7px;
  font-size: 0.54rem;
  line-height: 1;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.35);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pin-event-date {
  top: auto;
  left: 50%;
  bottom: 17px;
  transform: translateX(-50%);
  background: rgba(255, 233, 138, 0.98);
  color: #5a3b00;
  padding: 1px 6px;
  font-size: 0.5rem;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.18);
}

.pin-event-time {
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(8, 12, 24, 0.92);
  color: #f4f7ff;
  padding-inline: 8px;
}

.pin-icon.event-pin .pin-letter {
  display: none;
}

.pin-icon::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 20px;
  background: inherit;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-top: none;
  box-shadow: 0 16px 22px rgba(0, 0, 0, 0.35);
}

.pin-icon.platform-youtube,
.pin-icon.platform-youtubeShort {
  background: linear-gradient(135deg, #ff416c, #ff4b2b);
}

.pin-icon.platform-tiktok {
  background: linear-gradient(135deg, #00f5a0, #00d9f5);
}

.pin-icon.platform-instagram {
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af, #515bd4);
}

.pin-icon.platform-twitter {
  background: linear-gradient(135deg, #0f1419, #2f3644);
}

.pin-icon.platform-facebook {
  background: linear-gradient(135deg, #1877f2, #21a1ff);
}

.pin-icon.platform-linkedin {
  background: linear-gradient(135deg, #0a66c2, #74c0ff);
}

.pin-icon.platform-website {
  background: linear-gradient(135deg, #0f766e, #22c55e);
}

.pin-icon.platform-news {
  background: linear-gradient(135deg, #6f1022, #a61f3d);
}

.pin-icon.platform-sport {
  background: linear-gradient(135deg, #16803c, #22c55e);
}

.pin-icon.platform-promotions,
.platform-chip.platform-promotions,
.external-fallback.platform-promotions,
.viewer.external.platform-promotions .external-pill {
  background: linear-gradient(135deg, #d946ef, #84cc16);
  color: #fff;
}

.pin-icon.platform-help {
  background: linear-gradient(135deg, #f4c542, #d4a017);
}

.pin-icon.platform-celebrities {
  background: linear-gradient(135deg, #fff200, #ffd400);
  color: #4a3200;
}

.pin-icon.platform-celebrities-youtube,
.pin-icon.platform-celebrities-facebook,
.pin-icon.platform-celebrities-instagram,
.pin-icon.platform-celebrities-tiktok,
.pin-icon.platform-celebrities-linkedin,
.pin-icon.platform-celebrities-twitter {
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.68);
}

.pin-icon.platform-celebrities-youtube,
.external-fallback.platform-celebrities-youtube,
.viewer.external.platform-celebrities-youtube .external-pill {
  background: linear-gradient(90deg, #fff200 0 50%, #ff2d2d 50% 100%);
}

.pin-icon.platform-celebrities-facebook,
.external-fallback.platform-celebrities-facebook,
.viewer.external.platform-celebrities-facebook .external-pill {
  background: linear-gradient(90deg, #fff200 0 50%, #1877f2 50% 100%);
}

.pin-icon.platform-celebrities-instagram,
.external-fallback.platform-celebrities-instagram,
.viewer.external.platform-celebrities-instagram .external-pill {
  background: linear-gradient(90deg, #fff200 0 50%, #dd2a7b 50% 74%, #8134af 74% 100%);
}

.pin-icon.platform-celebrities-tiktok,
.external-fallback.platform-celebrities-tiktok,
.viewer.external.platform-celebrities-tiktok .external-pill {
  background: linear-gradient(90deg, #fff200 0 50%, #00d9f5 50% 76%, #111827 76% 100%);
}

.pin-icon.platform-celebrities-linkedin,
.external-fallback.platform-celebrities-linkedin,
.viewer.external.platform-celebrities-linkedin .external-pill {
  background: linear-gradient(90deg, #fff200 0 50%, #0a66c2 50% 100%);
}

.pin-icon.platform-celebrities-twitter,
.external-fallback.platform-celebrities-twitter,
.viewer.external.platform-celebrities-twitter .external-pill {
  background: linear-gradient(90deg, #fff200 0 50%, #0f1419 50% 100%);
}

.pin-icon.platform-books {
  background: linear-gradient(135deg, #8b5e34, #5c3b1e);
}

.pin-icon.platform-hotels {
  background: linear-gradient(135deg, #7dd3fc, #38bdf8);
  color: #083344;
}

.pin-icon.platform-fishing,
.external-fallback.platform-fishing {
  background: linear-gradient(135deg, #0f766e, #38bdf8);
  color: #ffffff;
}

.pin-icon.fishing-pike-pin {
  width: 52px;
  height: 76px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.pin-icon.fishing-pike-pin::after {
  content: none;
}

.fishing-pike-pin-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 13px 16px rgba(0, 0, 0, 0.38));
}

.pin-icon.fishing-pike-pin .pin-like {
  top: -11px;
  right: -4px;
  z-index: 2;
  transform: scale(0.84);
  transform-origin: top right;
}

.pin-icon-highlight .pin-icon.fishing-pike-pin {
  box-shadow: none;
  animation: fishing-pike-highlight-pulse 1.45s ease-in-out infinite;
}

@keyframes fishing-pike-highlight-pulse {
  0% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(114, 245, 160, 0));
  }
  50% {
    transform: scale(1.08);
    filter: drop-shadow(0 0 14px rgba(114, 245, 160, 0.72));
  }
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(114, 245, 160, 0));
  }
}

.pin-icon.platform-gastronomy,
.external-fallback.platform-gastronomy {
  background: linear-gradient(135deg, #ef4444, #f59e0b);
  color: #ffffff;
}

.pin-icon.platform-business,
.external-fallback.platform-business {
  background: linear-gradient(135deg, #334155, #0ea5e9);
  color: #ffffff;
}

.pin-icon.platform-jobs,
.external-fallback.platform-jobs {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #ffffff;
}

.pin-icon.platform-medics,
.external-fallback.platform-medics {
  background: linear-gradient(135deg, #14b8a6, #0ea5e9);
  color: #ffffff;
}

.platform-chip.platform-jobs {
  background: rgba(99, 102, 241, 0.20);
  color: #a5b4fc;
}

.platform-chip.platform-medics {
  background: rgba(20, 184, 166, 0.20);
  color: #5eead4;
}

.platform-chip.platform-fishing {
  background: rgba(20, 184, 166, 0.20);
  color: #5eead4;
}

.platform-chip.platform-gastronomy {
  background: rgba(245, 158, 11, 0.20);
  color: #fbbf24;
}

.platform-chip.platform-business {
  background: rgba(14, 165, 233, 0.20);
  color: #7dd3fc;
}

.viewer.external.platform-jobs .external-pill {
  background: rgba(99, 102, 241, 0.92);
  color: #ffffff;
}

.viewer.external.platform-medics .external-pill {
  background: rgba(13, 148, 136, 0.92);
  color: #ffffff;
}

.viewer.external.platform-fishing .external-pill {
  background: rgba(15, 118, 110, 0.92);
  color: #ffffff;
}

.viewer.external.platform-gastronomy .external-pill {
  background: rgba(234, 88, 12, 0.92);
  color: #ffffff;
}

.viewer.external.platform-business .external-pill {
  background: rgba(14, 116, 144, 0.92);
  color: #ffffff;
}

.job-cluster-pin {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #ffffff;
}

.pin-job-icon {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.viewer.external.platform-website .external-pill {
  background: rgba(15, 118, 110, 0.92);
}

.viewer.external.platform-article .external-pill {
  background: rgba(245, 158, 11, 0.94);
}

.viewer.external.platform-news .external-pill {
  background: rgba(111, 16, 34, 0.92);
}

.viewer.external.platform-sport .external-pill {
  background: rgba(22, 128, 60, 0.92);
}

.viewer.external.platform-help .external-pill {
  background: rgba(212, 160, 23, 0.94);
  color: #4a3208;
}

.viewer.external.platform-celebrities .external-pill {
  background: rgba(255, 221, 0, 0.96);
  color: #4a3200;
}

.viewer.external.platform-books .external-pill {
  background: rgba(92, 59, 30, 0.92);
}

.viewer.external.platform-hotels .external-pill {
  background: rgba(125, 211, 252, 0.96);
  color: #083344;
}

.map-spotlight-card {
  position: relative;
  width: var(--spotlight-width, 196px);
  pointer-events: auto;
  cursor: pointer;
  transform: translate(var(--spotlight-shift-x, -50%), var(--spotlight-shift-y, calc(-100% - 18px)));
}

.map-spotlight-shell {
  position: relative;
  height: var(--spotlight-shell-height, 166px);
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 14, 28, 0.96);
  box-shadow: 0 26px 52px rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
}

.map-spotlight-stem {
  position: absolute;
  background: rgba(10, 14, 28, 0.96);
}

.map-spotlight-card.placement-top .map-spotlight-stem {
  left: calc(var(--spotlight-anchor-x, 98px) - 13px);
  bottom: -19px;
  width: 26px;
  height: 20px;
  clip-path: polygon(50% 100%, 0 0, 100% 0);
}

.map-spotlight-card.placement-bottom .map-spotlight-stem {
  left: calc(var(--spotlight-anchor-x, 98px) - 13px);
  top: -19px;
  width: 26px;
  height: 20px;
  clip-path: polygon(50% 0, 0 100%, 100% 100%);
}

.map-spotlight-card.placement-left .map-spotlight-stem {
  top: calc(var(--spotlight-anchor-y, 83px) - 13px);
  right: -19px;
  width: 20px;
  height: 26px;
  clip-path: polygon(100% 50%, 0 0, 0 100%);
}

.map-spotlight-card.placement-right .map-spotlight-stem {
  top: calc(var(--spotlight-anchor-y, 83px) - 13px);
  left: -19px;
  width: 20px;
  height: 26px;
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
}

.map-spotlight-media {
  position: relative;
  width: 100%;
  height: 96px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}

.map-spotlight-card.topic-books .map-spotlight-media {
  width: 96px;
  height: 96px;
  margin: 10px auto 0;
  border-radius: 18px;
}

.map-spotlight-media-backdrop {
  position: absolute;
  inset: 0;
  background-position: center center;
  background-size: cover;
  filter: blur(14px) brightness(0.72);
  transform: scale(1.14);
}

.map-spotlight-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 10, 18, 0.12), rgba(8, 10, 18, 0.22));
}

.map-spotlight-thumb {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
  object-position: center center;
  background: transparent;
  pointer-events: none;
}

.map-spotlight-thumb.fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
}

.map-spotlight-thumb.fallback.platform-youtube,
.map-spotlight-thumb.fallback.platform-youtubeShort {
  background: linear-gradient(135deg, #ff416c, #ff4b2b);
}

.map-spotlight-thumb.fallback.platform-instagram {
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af, #515bd4);
}

.map-spotlight-thumb.fallback.platform-tiktok {
  background: linear-gradient(135deg, #00f5a0, #00d9f5);
}

.map-spotlight-thumb.fallback.platform-facebook {
  background: linear-gradient(135deg, #1877f2, #21a1ff);
}

.map-spotlight-thumb.fallback.platform-jobs {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.map-spotlight-thumb.fallback.platform-medics {
  background: linear-gradient(135deg, #14b8a6, #0ea5e9);
}

.map-spotlight-content {
  padding: 10px 12px 12px;
  pointer-events: none;
}

.map-spotlight-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.map-spotlight-platform,
.map-spotlight-likes,
.map-spotlight-article {
  font-size: 0.72rem;
  font-weight: 700;
  color: #cfe0ff;
}

.map-spotlight-article {
  color: #ffd59a;
}

.map-spotlight-title {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.3;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


.map-spotlight-specialization {
  margin: 6px 0 0;
  padding: 6px 10px;
  width: max-content;
  max-width: 100%;
  border: 1px solid rgba(94, 234, 212, 0.58);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.34), rgba(14, 165, 233, 0.26));
  color: #5eead4;
  box-shadow: 0 10px 22px rgba(20, 184, 166, 0.2);
  font-size: 0.76rem;
  line-height: 1.12;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
}

.map-spotlight-event {
  margin: 6px 0 0;
  font-size: 0.72rem;
  color: #b9cbff;
  line-height: 1.25;
}

@media (max-width: 768px) {
  .map-spotlight-card {
    width: var(--spotlight-width, 168px);
  }

  .map-spotlight-shell {
    height: var(--spotlight-shell-height, 148px);
  }

  .map-spotlight-media {
    height: 84px;
  }

  .map-spotlight-media-backdrop {
    filter: blur(12px) brightness(0.74);
  }

  .map-spotlight-content {
    padding: 9px 10px 10px;
  }

  .map-spotlight-title {
    font-size: 0.78rem;
  }
  .page-shell {
    padding: 20px 16px 80px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .post-card {
    grid-template-columns: 1fr;
  }

  .floating-add {
    top: 16px;
    right: 16px;
  }

  .post-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .post-card .post-actions > * {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: calc(50% - 4px);
    justify-content: center;
    min-width: 0;
  }

  .modal-overlay {
    align-items: flex-start;
    overflow-y: auto;
    padding: max(8px, env(safe-area-inset-top)) 12px 14px;
  }

  .modal-card {
    padding: 18px;
    border-radius: 22px;
    margin-top: 8px;
    max-height: calc(100dvh - 22px);
  }

  .modal-card.instagram-modal,
  .modal-card.tiktok-modal,
  .modal-card.facebook-page-modal {
    max-height: calc(100dvh - 20px);
  }

  .modal-card.facebook-page-modal {
    padding: 14px;
  }

  .modal-card.compact-mobile-post-modal {
    position: relative;
  }

  .modal-card.compact-mobile-post-modal .modal-header {
    position: absolute;
    top: 10px;
    right: 10px;
    left: auto;
    z-index: 12;
    padding: 0;
    background: transparent;
    justify-content: flex-end;
    pointer-events: none;
  }

  .modal-card.compact-mobile-post-modal .modal-header > div {
    display: none;
  }

  .modal-card.compact-mobile-post-modal .modal-close-inline {
    width: 40px;
    height: 40px;
    pointer-events: auto;
    background: rgba(4, 6, 17, 0.78);
    border-color: rgba(255, 255, 255, 0.32);
    color: #ffffff;
    -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.38);
  }

  .modal-card.compact-mobile-post-modal .modal-close-inline svg {
    color: #ffffff;
    stroke: currentColor;
  }

  .modal-card.compact-mobile-post-modal .modal-body {
    padding-top: 0;
  }

  .modal-close-floating {
    display: none !important;
  }

  .floating-add {
    width: 56px;
    height: 56px;
    bottom: 16px;
    right: 16px;
  }

  .cta-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .map-density-banner {
    max-width: calc(100% - 24px);
    white-space: normal;
  }

  .map-pins-loading-card {
    width: min(320px, calc(100% - 32px));
    padding: 16px 18px;
  }

  .event-grid {
    grid-template-columns: 1fr;
  }

  .date-picker-row {
    flex-direction: row;
  }

  .inline-search-field {
    flex-direction: column;
  }

  .inline-search-field .search-place-button {
    width: 100%;
  }

  .modal-card.instagram-modal .viewer.instagram-embed,
  .modal-card.instagram-modal .viewer.instagram-preview {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 9 / 16;
    margin-left: auto;
    margin-right: auto;
  }

  .modal-card.tiktok-modal .viewer.aspect-9-16 {
    max-width: 100%;
  }

  .viewer.facebook-page-embed {
    max-width: 100%;
    height: clamp(360px, 62dvh, 680px);
  }

  .facebook-timeline-chrome {
    min-height: 64px;
    gap: 10px;
    padding: 10px 12px;
  }

  .facebook-timeline-avatar {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    border-radius: 14px;
  }

  .facebook-timeline-open {
    padding: 7px 10px;
    font-size: 0.72rem;
  }

  .viewer.facebook-page-embed-polished iframe {
    height: calc(100% + 72px);
    transform: translateY(-72px);
  }

  .modal-card.instagram-modal .viewer.instagram-embed .instagram-media,
  .modal-card.instagram-modal .viewer.instagram-embed iframe,
  .modal-card.instagram-modal .viewer.instagram-embed video,
  .modal-card.instagram-modal .viewer.instagram-embed .video-frame,
  .modal-card.instagram-modal .viewer.instagram-preview .viewer-media {
    width: 100% !important;
    height: 100% !important;
  }
}
.viewer.instagram-photo img {
  object-fit: contain;
  background: #000;
}

.viewer.instagram-photo blockquote {
  margin: 0;
}

.admin-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 20px 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.admin-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-filter {
  border-radius: 999px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #e5ecff;
  background: transparent;
  font-weight: 700;
  font-size: 0.92rem;
}

.admin-filter.active {
  border-color: rgba(114, 245, 160, 0.85);
  background: rgba(114, 245, 160, 0.15);
  color: #a5ffc5;
}

html[data-theme="light"] .admin-filter {
  border-color: rgba(110, 157, 220, 0.3) !important;
  background: rgba(255, 255, 255, 0.92) !important;
  color: #204b78 !important;
}

html[data-theme="light"] .admin-filter.active {
  border-color: rgba(46, 111, 188, 0.65) !important;
  background: rgba(191, 224, 255, 0.9) !important;
  color: #123a64 !important;
}

html[data-theme="dark"] .admin-filter {
  border-color: rgba(151, 181, 237, 0.24) !important;
  background: rgba(19, 28, 56, 0.9) !important;
  color: #e8f0ff !important;
}

html[data-theme="dark"] .admin-filter.active {
  border-color: rgba(114, 245, 160, 0.85) !important;
  background: rgba(114, 245, 160, 0.2) !important;
  color: #d8ffe8 !important;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 16px;
}

.admin-card {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 9, 24, 0.9);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-card iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 14px;
  background: #000;
}

.admin-pin-preview {
  display: grid;
  grid-template-columns: minmax(120px, 0.42fr) minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
}

.admin-pin-preview-media {
  min-height: 138px;
  background: linear-gradient(135deg, rgba(114, 245, 160, 0.18), rgba(74, 144, 226, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f5f7fb;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.admin-pin-preview-media img {
  width: 100%;
  height: 100%;
  min-height: 138px;
  object-fit: cover;
  display: block;
}

.admin-pin-preview-media span {
  padding: 10px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.22);
}

.admin-pin-preview-copy {
  min-width: 0;
  padding: 12px 12px 12px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
}

.admin-pin-preview-copy strong {
  line-height: 1.25;
  color: var(--app-text, #f5f7fb);
}

.admin-pin-preview-copy p {
  margin: 0;
  color: var(--soft-text, #aebdf4);
  font-size: 0.84rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.admin-pin-preview-empty {
  color: #8190c5 !important;
}

.admin-category-badge {
  align-self: flex-start;
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(114, 245, 160, 0.14);
  color: #a5ffc5;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.55em;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  font-size: 0.78em;
}

.admin-meta {
  font-size: 0.86rem;
  line-height: 1.6;
  color: #cbdaff;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.admin-location-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.admin-location-block .post-meta {
  margin: 0;
}

.admin-location-map {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 14px;
  background: #0d1024;
}

.admin-edit-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(12, 15, 34, 0.68);
  min-width: 0;
}

.admin-edit-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  min-width: 0;
}

.admin-edit-header-row strong {
  display: block;
  margin-top: 2px;
}

.admin-edit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
}

.admin-inline-field {
  margin: 0;
  min-width: 0;
}

.admin-inline-field input,
.admin-inline-field select {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.admin-edit-map-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.admin-location-map-editor,
.admin-location-map-placeholder {
  min-height: 240px;
}

.admin-location-map-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cfe0ff;
  background: rgba(13, 16, 36, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.admin-edit-map-hint {
  margin: 0;
}

.admin-edit-title {
  grid-column: span 2;
}

@media (max-width: 720px) {
  .admin-edit-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-edit-title {
    grid-column: span 1;
  }
}

.admin-edit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-article-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(12, 15, 34, 0.68);
}

.admin-article-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.admin-article-header-row strong {
  display: block;
  margin-top: 2px;
}

.admin-article-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.admin-article-badge.linked {
  background: rgba(68, 211, 141, 0.16);
  color: #baf7d1;
}

.admin-article-badge.empty {
  background: rgba(255, 255, 255, 0.06);
  color: #d6e4ff;
}

.admin-article-badge.muted {
  background: rgba(255, 184, 0, 0.12);
  color: #ffe09d;
}

.admin-article-summary,
.admin-article-empty-state {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.admin-article-copy,
.admin-article-summary-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.admin-article-copy {
  flex: 1 1 280px;
  min-width: 0;
  color: #dbe7ff;
  font-size: 0.86rem;
}

.admin-article-copy strong {
  font-size: 0.96rem;
}

.admin-article-summary-actions {
  flex: 0 0 auto;
  align-items: flex-end;
}

.admin-article-summary-actions .ghost,
.admin-article-empty-state .ghost {
  min-width: 156px;
}

.admin-article-picker {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-attachable-articles {
  display: grid;
  gap: 10px;
}

.admin-attachable-article {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: stretch;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.admin-attachable-article.current {
  border-color: rgba(68, 211, 141, 0.35);
  background: rgba(68, 211, 141, 0.08);
}

.admin-attachable-article-thumb {
  width: 96px;
  min-height: 80px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}

.admin-attachable-article-thumb img,
.admin-attachable-article-thumb-fallback {
  width: 100%;
  height: 100%;
}

.admin-attachable-article-thumb img {
  object-fit: cover;
  display: block;
}

.admin-attachable-article-thumb-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, #1e2d55, #33508f);
}

.admin-attachable-article-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  color: #dbe7ff;
  font-size: 0.85rem;
}

.admin-attachable-article-copy strong {
  font-size: 0.94rem;
  line-height: 1.35;
}

.admin-attachable-article-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
  justify-content: space-between;
}

.admin-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-form {
  max-width: 420px;
  margin: 70px auto;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 24px;
  background: rgba(4, 6, 18, 0.9);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.admin-reviewers {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 9, 24, 0.85);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.admin-reviewers-header h2 {
  margin: 2px 0 4px;
}

.admin-reviewer-create {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  align-items: end;
}

.admin-reviewer-create button {
  min-height: 42px;
}

.admin-reviewer-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}

.admin-reviewer-card {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(12, 15, 34, 0.92);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.admin-reviewer-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.85rem;
  color: #cbdaff;
}

.admin-reviewer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-reviewer-reset {
  display: flex;
  gap: 8px;
  align-items: end;
}

.admin-reviewer-reset .field {
  flex: 1 1;
}

.admin-pagination-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-pagination-summary {
  margin: 0;
}

.admin-pagination {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.admin-pagination.bottom {
  justify-content: center;
}

.admin-page-link {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 10px;
  text-decoration: none;
  color: #dce7ff;
  font-size: 0.85rem;
  min-width: 34px;
  text-align: center;
  background: transparent;
}

.admin-page-link:hover {
  border-color: rgba(114, 245, 160, 0.65);
}

.admin-page-link.active {
  border-color: rgba(114, 245, 160, 0.85);
  background: rgba(114, 245, 160, 0.18);
  color: #b8ffcf;
}

.admin-page-link.disabled {
  opacity: 0.45;
  pointer-events: none;
}

.admin-synthetic {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 9, 24, 0.85);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.admin-synthetic-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.admin-synthetic-header-row h2 {
  margin: 2px 0 4px;
}

.admin-synthetic-enabled-form {
  margin-top: 4px;
}

.admin-synthetic-enabled-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.02rem;
  font-weight: 600;
  color: #e9f0ff;
  letter-spacing: 0.03em;
  -webkit-user-select: none;
          user-select: none;
}

.admin-synthetic-enabled-toggle input {
  width: 22px;
  height: 22px;
}

.admin-synthetic-settings-shell {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(9, 12, 27, 0.82);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-synthetic-settings-shell h3 {
  margin: 0;
  font-size: 0.96rem;
  color: #e6ecff;
  letter-spacing: 0.03em;
}

.admin-synthetic-settings {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.admin-synthetic-settings .field {
  gap: 6px;
}

.admin-synthetic-setting-row {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 12px;
  align-items: end;
}

.admin-synthetic-setting-side {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.admin-synthetic-setting-side-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.admin-synthetic-settings input,
.admin-synthetic-settings select {
  min-height: 42px;
}

.admin-synthetic-settings select {
  appearance: none;
  background-color: rgba(8, 10, 28, 0.96);
  color: #ecf2ff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23d9e4ff' d='M4.2 6.1 8 9.9l3.8-3.8 1.2 1.2L8 12.3 3 7.3z'/%3E%3C/svg%3E");
  background-position: calc(100% - 12px) 50%;
  background-size: 14px 14px;
  background-repeat: no-repeat;
  padding-left: 14px;
  padding-right: 38px;
}

.admin-synthetic-settings input:disabled,
.admin-synthetic-settings select:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  border-color: rgba(255, 255, 255, 0.12);
}

.admin-synthetic-hints {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.admin-synthetic-settings-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-synthetic-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-synthetic-summary {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.84rem;
  color: #c8d6fb;
}

.admin-synthetic-summary span {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 5px 10px;
  background: rgba(12, 15, 34, 0.92);
}

.admin-synthetic-entry {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-window-separator {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #a8bbdf;
  margin: 2px 0;
}

.admin-window-separator-line {
  flex: 1 1;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(145, 183, 248, 0.08), rgba(145, 183, 248, 0.8), rgba(145, 183, 248, 0.08));
}

.admin-window-separator-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
  min-width: min(640px, calc(100vw - 160px));
}

.admin-window-separator-content strong {
  font-size: 0.73rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #d9e5ff;
}

.admin-window-separator-content span {
  font-size: 0.74rem;
  color: #b5c8ea;
}

.admin-synthetic-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-pagination-row-bottom {
  margin-top: 8px;
}

.admin-synthetic-row {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(12, 15, 34, 0.92);
  padding: 10px 12px;
  display: grid;
  grid-template-columns: minmax(172px, auto) 172px 1fr;
  gap: 12px;
  align-items: center;
}

.admin-synthetic-time {
  font-size: 0.79rem;
  color: #95aacb;
  white-space: nowrap;
}

.admin-synthetic-state {
  border-radius: 999px;
  padding: 4px 8px;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  font-weight: 700;
  border: 1px solid transparent;
}

.admin-synthetic-state.state-pending {
  color: #dce7ff;
  border-color: rgba(220, 231, 255, 0.4);
  background: rgba(220, 231, 255, 0.1);
}

.admin-synthetic-state.state-executed {
  color: #a7ffca;
  border-color: rgba(114, 245, 160, 0.5);
  background: rgba(114, 245, 160, 0.14);
}

.admin-synthetic-state.state-missed {
  color: #ffd57a;
  border-color: rgba(255, 213, 122, 0.5);
  background: rgba(255, 213, 122, 0.14);
}

.admin-synthetic-state.state-skipped {
  color: #ffb3d5;
  border-color: rgba(255, 179, 213, 0.5);
  background: rgba(255, 179, 213, 0.14);
}

.admin-synthetic-state.state-canceled {
  color: #ffb0b0;
  border-color: rgba(255, 176, 176, 0.5);
  background: rgba(255, 176, 176, 0.15);
}

.admin-synthetic-pin-link {
  color: #dce7ff;
  text-decoration: none;
  font-size: 0.84rem;
}

.admin-synthetic-pin-link:hover {
  color: #a6ffc6;
}

@media (max-width: 768px) {
  .admin-shell {
    padding: 20px 16px 80px;
  }

  .admin-grid {
    grid-template-columns: 1fr;
  }

  .admin-reviewer-create,
  .admin-reviewer-list {
    grid-template-columns: 1fr;
  }

  .admin-reviewer-reset {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-synthetic {
    padding: 14px;
  }

  .admin-synthetic-header-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-synthetic-enabled-form {
    width: 100%;
  }

  .admin-synthetic-enabled-toggle {
    width: 100%;
    justify-content: space-between;
  }

  .admin-synthetic-setting-row {
    grid-template-columns: 1fr;
  }

  .admin-synthetic-setting-side-grid {
    grid-template-columns: 1fr;
  }

  .admin-synthetic-settings-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-pagination-row,
  .admin-pagination-row-bottom {
    justify-content: center;
  }

  .admin-pagination-row {
    flex-direction: column;
    align-items: center;
  }

  .admin-window-separator-content {
    min-width: 0;
    width: 100%;
  }

  .admin-synthetic-row {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

.cookie-consent {
  position: fixed;
  inset: auto 16px 16px 16px;
  display: flex;
  justify-content: center;
  z-index: 1200;
}

.cookie-consent-panel {
  width: min(740px, 100%);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 10, 22, 0.96);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  padding: 14px 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.cookie-consent-panel h2 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.cookie-consent-panel p {
  margin: 0;
  color: #d6e0ff;
  font-size: 0.92rem;
  line-height: 1.45;
}

.cookie-consent-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px !important;
}

.cookie-consent-links a {
  color: #9bc8ff;
  text-decoration: underline;
}

.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.turnstile-submit-wrap {
  margin-top: 10px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(9, 12, 28, 0.62);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.turnstile-widget {
  min-height: 65px;
}

.turnstile-submit-hidden,
.turnstile-vote-hidden {
  position: fixed;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  left: -9999px;
  top: -9999px;
}

.modal-card .search-results,
.modal-card .search-results * {
  color: #0f172a;
}

.modal-card .search-results button,
.modal-card .search-results [role="option"],
.modal-card .search-results .search-result {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.modal-card .search-results button:hover,
.modal-card .search-results button:focus-visible,
.modal-card .search-results [role="option"]:hover,
.modal-card .search-results [role="option"]:focus-visible,
.modal-card .search-results .search-result:hover {
  background: rgba(239, 246, 255, 0.98);
  border-color: rgba(59, 130, 246, 0.22);
}

.modal-card .search-results button[aria-selected="true"],
.modal-card .search-results [role="option"][aria-selected="true"],
.modal-card .search-results .search-result[aria-selected="true"],
.modal-card .search-results .search-result.selected,
.modal-card .search-results .search-result.is-active {
  background: linear-gradient(180deg, rgba(219, 234, 254, 0.98), rgba(191, 219, 254, 0.98));
  border-color: rgba(59, 130, 246, 0.32);
  box-shadow: 0 10px 24px rgba(59, 130, 246, 0.14);
}

.modal-card .search-results .search-result-title,
.modal-card .search-results strong,
.modal-card .search-results b {
  color: #0b1220 !important;
  font-weight: 700;
}

.modal-card .search-results .search-result-meta,
.modal-card .search-results .post-meta,
.modal-card .search-results small,
.modal-card .search-results .muted {
  color: rgba(15, 23, 42, 0.76) !important;
  font-weight: 600;
  opacity: 1;
}

html[data-theme="dark"] .modal-card .search-results,
html[data-theme="dark"] .modal-card .search-results * {
  color: #e5eefc;
}

html[data-theme="dark"] .modal-card .search-results button,
html[data-theme="dark"] .modal-card .search-results [role="option"],
html[data-theme="dark"] .modal-card .search-results .search-result {
  background: rgba(17, 24, 39, 0.96);
  border-color: rgba(148, 163, 184, 0.18);
  box-shadow: 0 10px 28px rgba(2, 6, 23, 0.34);
}

html[data-theme="dark"] .modal-card .search-results button[aria-selected="true"],
html[data-theme="dark"] .modal-card .search-results [role="option"][aria-selected="true"],
html[data-theme="dark"] .modal-card .search-results .search-result[aria-selected="true"],
html[data-theme="dark"] .modal-card .search-results .search-result.selected,
html[data-theme="dark"] .modal-card .search-results .search-result.is-active {
  background: linear-gradient(180deg, rgba(30, 58, 138, 0.92), rgba(30, 41, 59, 0.96));
  border-color: rgba(96, 165, 250, 0.34);
}

html[data-theme="dark"] .modal-card .search-results .search-result-title,
html[data-theme="dark"] .modal-card .search-results strong,
html[data-theme="dark"] .modal-card .search-results b {
  color: #f8fbff !important;
}

html[data-theme="dark"] .modal-card .search-results .search-result-meta,
html[data-theme="dark"] .modal-card .search-results .post-meta,
html[data-theme="dark"] .modal-card .search-results small,
html[data-theme="dark"] .modal-card .search-results .muted {
  color: rgba(226, 232, 240, 0.82) !important;
}

.turnstile-vote-hidden {
  position: fixed;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  left: -9999px;
  top: -9999px;
}

.youtube-embed-viewer {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.caption-hint-banner {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.35;
  color: #fff4c5;
  background: rgba(255, 192, 67, 0.16);
  border: 1px solid rgba(255, 192, 67, 0.45);
  border-radius: 10px;
  padding: 8px 10px;
}

@media (prefers-color-scheme: light) {
  /* Krakow light theme: white + błękit */
  :root {
    background-color: #f7fbff;
    color: #18365b;
    color-scheme: light;
  }

  body {
    background:
      radial-gradient(circle at 14% -10%, rgba(126, 181, 255, 0.42) 0%, transparent 40%),
      radial-gradient(circle at 88% 0%, rgba(189, 224, 255, 0.72) 0%, transparent 34%),
      linear-gradient(180deg, #ffffff 0%, #eef6ff 56%, #e3efff 100%);
    color: #18365b;
  }

  .page-shell,
  .legal-page {
    color: #18365b;
  }

  .hero .eyebrow,
  .overline {
    color: #5e8fcb;
  }

  .hero .lede,
  .hero .support,
  .legal-lede,
  .empty,
  .post-meta,
  .disclaimer,
  .submission-disclaimer,
  .motivation-card li,
  .site-footer,
  .map-loader {
    color: #4b6e99;
  }

  .hero-title-link:focus-visible,
  .post-thumb-button:focus-visible {
    outline-color: #7fb4ff;
  }

  .filter-chip,
  .cta-row,
  .motivation,
  .list-panel,
  .legal-section,
  .disclaimer,
  .map-panel,
  .modal-card,
  .place-search-result,
  .post-card {
    border-color: rgba(110, 157, 220, 0.18) !important;
  }

  .filter-chip {
    background: rgba(255, 255, 255, 0.88);
    color: #18365b;
    box-shadow: 0 8px 24px rgba(84, 124, 184, 0.08);
  }

  .filter-chip small {
    color: #6c8ebb;
  }

  .filter-chip.active,
  .filter-chip[aria-pressed="true"] {
    border-color: #216fd8;
    background: linear-gradient(135deg, #ffffff, #dcecff 48%, #7fb4ff);
    color: #0e2544;
    box-shadow:
      0 0 0 3px rgba(61, 132, 224, 0.16),
      0 14px 30px rgba(65, 124, 201, 0.26);
  }

  .filter-chip.active small,
  .filter-chip[aria-pressed="true"] small {
    color: #1b5ca9;
  }

  .map-panel {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 25px 70px rgba(106, 148, 204, 0.18);
  }

  .list-panel,
  .cta-row,
  .motivation,
  .legal-section,
  .modal-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(240, 247, 255, 0.96));
    box-shadow: 0 18px 44px rgba(106, 148, 204, 0.12);
  }

  .disclaimer {
    background: rgba(240, 247, 255, 0.88);
  }

  .post-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.98));
    box-shadow: 0 16px 36px rgba(106, 148, 204, 0.12);
  }

  .post-card:hover {
    border-color: rgba(110, 157, 220, 0.28);
  }

  .post-thumb {
    background: rgba(224, 238, 255, 0.8);
  }

  .event-detail-card {
    background: linear-gradient(180deg, rgba(230, 241, 255, 0.94), rgba(244, 249, 255, 0.98));
    border-color: rgba(110, 157, 220, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  }

  .event-detail-label {
    color: #15395f;
  }

  .event-detail-line {
    color: #59799f;
  }

  .event-detail-date-time {
    color: #a35612;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65), 0 0 12px rgba(255, 181, 84, 0.18);
  }

  .event-detail-line:last-child {
    color: #173b63;
    font-weight: 800;
  }

  .event-detail-price {
    color: #563100;
    box-shadow: 0 8px 18px rgba(191, 112, 20, 0.14);
  }

  .site-footer {
    border-top: 1px solid rgba(110, 157, 220, 0.18);
  }

  .site-footer a,
  .legal-section a {
    color: #2e6fbc;
  }

  .ghost,
  .like-button,
  .primary {
    color: #18365b;
  }

  .ghost {
    border-color: rgba(110, 157, 220, 0.22);
    background: rgba(255, 255, 255, 0.72);
  }

  .like-button {
    background: rgba(224, 238, 255, 0.92);
  }

  .primary {
    background: linear-gradient(135deg, #bfe0ff, #7fb4ff);
    color: #18365b;
    box-shadow: 0 12px 28px rgba(127, 180, 255, 0.28);
  }

  .floating-add {
    background: linear-gradient(135deg, #ffffff, #bfe0ff);
    color: #18365b;
    box-shadow: 0 15px 35px rgba(127, 180, 255, 0.28);
  }

  .field input,
  .field select,
  .inline-search-field input {
    background: #f8fbff;
    color: #18365b;
    border-color: rgba(110, 157, 220, 0.22);
  }

  .field input::placeholder,
  .inline-search-field input::placeholder {
    color: #7e96b6;
  }

  .success-banner {
    background: linear-gradient(180deg, rgba(244, 255, 248, 0.99), rgba(226, 247, 234, 0.99));
    border: 2px solid rgba(31, 111, 67, 0.72);
    color: #0a2f1d !important;
    text-shadow: none;
    box-shadow:
      0 12px 24px rgba(63, 133, 92, 0.18),
      inset 0 1px 0 rgba(255, 255, 255, 0.92);
  }

  .warning-banner {
    background: rgba(255, 230, 187, 0.78);
    border: 1px solid rgba(217, 150, 30, 0.34);
    color: #8b5f13;
  }

  .pending-banner,
  .map-density-banner {
    background: rgba(239, 246, 255, 0.92);
    border: 1px solid rgba(110, 157, 220, 0.22);
    color: #35598a;
  }

  .error-banner {
    background: rgba(255, 228, 228, 0.86);
    border: 1px solid rgba(224, 132, 132, 0.32);
    color: #9a3d3d;
  }

  .place-search-result {
    background: rgba(248, 251, 255, 0.95);
    color: #18365b;
  }

  .place-search-result.active {
    background: rgba(225, 239, 255, 0.98);
  }
}

html[data-theme="dark"] {
  --app-bg:
    radial-gradient(circle at 18% -10%, rgba(58, 75, 126, 0.28) 0%, transparent 36%),
    radial-gradient(circle at 85% 0%, rgba(28, 40, 86, 0.42) 0%, transparent 34%),
    linear-gradient(180deg, #040308 0%, #070b16 58%, #0a1020 100%);
  --app-text: #f5f7fb;
  --soft-text: #cbdaff;
  --muted-text: #95a3d9;
  --panel-bg: linear-gradient(180deg, rgba(7, 9, 24, 0.96), rgba(11, 15, 33, 0.96));
  --panel-header-bg: rgba(7, 9, 24, 0.96);
  --panel-border: rgba(255, 255, 255, 0.1);
  --panel-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
  --map-panel-bg: rgba(7, 9, 24, 0.9);
  --map-panel-shadow: 0 25px 70px rgba(0, 0, 0, 0.35);
  --chip-bg: rgba(7, 9, 24, 0.88);
  --chip-active-bg: linear-gradient(180deg, rgba(12, 16, 36, 0.96), rgba(20, 30, 58, 0.96));
  --chip-small: #95a3d9;
  --control-bg: rgba(16, 20, 42, 0.85);
  --control-border: rgba(255, 255, 255, 0.12);
  --link-color: #7fb4ff;
  --thumb-bg: rgba(255, 255, 255, 0.05);
  --code-bg: rgba(255, 255, 255, 0.08);
  --overlay-bg: rgba(3, 5, 13, 0.86);
  --primary-bg: linear-gradient(135deg, #bfe0ff, #7fb4ff);
  --primary-color: #18365b;
  --ghost-bg: rgba(255, 255, 255, 0.04);
  --ghost-color: #f5f7fb;
  --like-bg: rgba(255, 255, 255, 0.06);
  --theme-toggle-bg: rgba(255, 255, 255, 0.08);
  --theme-toggle-border: rgba(255, 255, 255, 0.12);
  --theme-toggle-color: #f5f7fb;
}

html[data-theme="light"] {
  --app-bg:
    radial-gradient(circle at 14% -10%, rgba(255, 96, 96, 0.22) 0%, transparent 40%),
    radial-gradient(circle at 88% 0%, rgba(255, 214, 214, 0.78) 0%, transparent 34%),
    linear-gradient(180deg, #fffefe 0%, #fff4f4 56%, #ffeaea 100%);
  --app-text: #4b0f18;
  --soft-text: #7a3a46;
  --muted-text: #a05461;
  --panel-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(255, 244, 244, 0.96));
  --panel-header-bg: rgba(255, 248, 248, 0.98);
  --panel-border: rgba(210, 82, 98, 0.2);
  --panel-shadow: 0 18px 44px rgba(195, 74, 89, 0.12);
  --map-panel-bg: rgba(255, 255, 255, 0.92);
  --map-panel-shadow: 0 25px 70px rgba(195, 74, 89, 0.18);
  --chip-bg: rgba(255, 255, 255, 0.92);
  --chip-active-bg: linear-gradient(135deg, #ffffff, #ffdede);
  --chip-small: #a05461;
  --control-bg: #fff8f8;
  --control-border: rgba(210, 82, 98, 0.24);
  --link-color: #b91c2d;
  --thumb-bg: rgba(255, 232, 232, 0.82);
  --code-bg: rgba(255, 239, 239, 0.95);
  --overlay-bg: rgba(255, 233, 236, 0.76);
  --primary-bg: linear-gradient(135deg, #ff6b7d, #c91f37);
  --primary-color: #fffdfd;
  --ghost-bg: rgba(255, 255, 255, 0.82);
  --ghost-color: #4b0f18;
  --like-bg: rgba(255, 232, 232, 0.95);
  --theme-toggle-bg: rgba(255, 255, 255, 0.92);
  --theme-toggle-border: rgba(210, 82, 98, 0.24);
  --theme-toggle-color: #4b0f18;
}

body {
  background: var(--app-bg);
  color: var(--app-text);
}

.page-shell,
.legal-page,
.hero-title-link,
.modal-header,
.modal-header button,
.site-footer,
.admin-meta,
.admin-reviewer-meta,
.admin-pagination-summary,
.admin-synthetic-summary,
.admin-synthetic-time,
.admin-synthetic-entry,
.admin-synthetic-hints,
.admin-location-block,
.admin-location-block .post-meta,
.admin-location-map,
.form-message,
.share-body,
.share-body code {
  color: var(--app-text);
}

.hero .eyebrow,
.overline,
.post-meta,
.disclaimer,
.submission-disclaimer,
.motivation-card li,
.map-loader,
.empty,
.cta-copy,
.hero .support,
.hero .lede,
.legal-lede,
.admin-meta .post-meta,
.admin-reviewer-meta .post-meta {
  color: var(--soft-text);
}

.filter-chip,
.cta-row,
.motivation,
.list-panel,
.legal-section,
.disclaimer,
.map-panel,
.modal-card,
.place-search-result,
.post-card,
.admin-card,
.admin-form,
.admin-reviewers,
.admin-reviewer-card,
.admin-synthetic,
.admin-page-link,
.admin-location-map {
  border-color: var(--panel-border) !important;
}

.filter-chip {
  background: var(--chip-bg);
  color: var(--app-text);
  box-shadow: 0 8px 24px rgba(84, 124, 184, 0.08);
}

.filter-chip small {
  color: var(--chip-small);
}

.filter-chip.active {
  border-color: rgba(201, 31, 55, 0.32);
  background: var(--chip-active-bg);
}

.map-panel {
  background: var(--map-panel-bg);
  box-shadow: var(--map-panel-shadow);
}

.list-panel,
.cta-row,
.motivation,
.legal-section,
.modal-card,
.admin-card,
.admin-form,
.admin-reviewers,
.admin-reviewer-card,
.admin-synthetic {
  background: var(--panel-bg);
  box-shadow: var(--panel-shadow);
}

.modal-header {
  background: var(--panel-header-bg);
}

.share-media,
.post-thumb,
.admin-location-map {
  background: var(--thumb-bg);
}

.share-body code {
  background: var(--code-bg);
}

.modal-overlay {
  background: var(--overlay-bg);
}

.site-footer {
  border-top: 1px solid var(--panel-border);
}

.site-footer a,
.legal-section a,
.admin-page-link,
.admin-synthetic-pin-link {
  color: var(--link-color);
}

.primary,
.floating-add {
  background: var(--primary-bg);
  color: var(--primary-color);
}

.ghost,
.like-button,
.date-picker-trigger,
.search-place-button {
  color: var(--ghost-color);
}

.ghost,
.date-picker-trigger,
.search-place-button {
  background: var(--ghost-bg);
  border-color: var(--control-border);
}

.like-button {
  background: var(--like-bg);
}

.field input,
.field select,
.inline-search-field input,
.share-body code,
.admin-synthetic-settings input,
.admin-synthetic-settings select {
  background: var(--control-bg);
  color: var(--app-text);
  border-color: var(--control-border);
}

.field input::placeholder,
.inline-search-field input::placeholder,
.admin-synthetic-settings input::placeholder {
  color: var(--soft-text);
}

.theme-toggle {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 2500;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--theme-toggle-border);
  background: var(--theme-toggle-bg);
  color: var(--theme-toggle-color);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
}

.theme-toggle:hover {
  transform: translateY(-1px);
}

.theme-toggle:focus-visible {
  outline: 2px solid #7fb4ff;
  outline-offset: 2px;
}

body:has(.modal-overlay) .theme-toggle {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Final readability pass for legal/footer text in both themes */
html[data-theme="light"] .legal-page,
html[data-theme="light"] .legal-section,
html[data-theme="light"] .legal-section p,
html[data-theme="light"] .legal-section li,
html[data-theme="light"] .legal-back,
html[data-theme="light"] .site-footer,
html[data-theme="light"] .site-footer p,
html[data-theme="light"] .site-footer nav {
  color: #294b72 !important;
}

html[data-theme="light"] .legal-lede {
  color: #426b99 !important;
}

html[data-theme="light"] .legal-section h2 {
  color: #1f5ea8 !important;
}

html[data-theme="light"] .legal-section a,
html[data-theme="light"] .legal-back a,
html[data-theme="light"] .site-footer a {
  color: #145aa8 !important;
  text-decoration-color: rgba(20, 90, 168, 0.32);
}

html[data-theme="dark"] .legal-page,
html[data-theme="dark"] .legal-section,
html[data-theme="dark"] .legal-section p,
html[data-theme="dark"] .legal-section li,
html[data-theme="dark"] .legal-back,
html[data-theme="dark"] .site-footer,
html[data-theme="dark"] .site-footer p,
html[data-theme="dark"] .site-footer nav {
  color: #d7e4ff !important;
}

html[data-theme="dark"] .legal-lede {
  color: #c9d8ff !important;
}

html[data-theme="dark"] .legal-section h2 {
  color: #9cc8ff !important;
}

html[data-theme="dark"] .legal-section a,
html[data-theme="dark"] .legal-back a,
html[data-theme="dark"] .site-footer a {
  color: #97ffd2 !important;
}


/* Stronger readability for top list cards in both themes */
html[data-theme="light"] {
  --card-title: #15395f;
  --card-meta: #456b98;
  --card-button-text: #15395f;
  --card-button-bg: rgba(255, 255, 255, 0.98);
  --card-button-border: rgba(114, 156, 214, 0.34);
  --card-like-bg: rgba(226, 239, 255, 0.98);
  --card-chip-text: #255383;
  --card-chip-bg: rgba(230, 241, 255, 0.96);
  --card-chip-border: rgba(114, 156, 214, 0.3);
}

html[data-theme="dark"] {
  --card-title: #eef4ff;
  --card-meta: #bdd0f4;
  --card-button-text: #eef4ff;
  --card-button-bg: rgba(20, 28, 56, 0.96);
  --card-button-border: rgba(151, 181, 237, 0.26);
  --card-like-bg: rgba(33, 44, 83, 0.96);
  --card-chip-text: #d6e4ff;
  --card-chip-bg: rgba(30, 40, 74, 0.96);
  --card-chip-border: rgba(151, 181, 237, 0.24);
}

.post-title {
  color: var(--card-title) !important;
}

.post-meta {
  color: var(--card-meta) !important;
}

.post-card .ghost,
.post-card .search-place-button,
.post-card .date-picker-trigger {
  color: var(--card-button-text) !important;
  background: var(--card-button-bg) !important;
  border-color: var(--card-button-border) !important;
}

.post-card .like-button {
  color: var(--card-button-text) !important;
  background: var(--card-like-bg) !important;
  border-color: var(--card-button-border) !important;
}

.post-card .like-button.liked {
  color: #0a0b14 !important;
}

.platform-chip {
  color: var(--card-chip-text) !important;
  background: var(--card-chip-bg) !important;
  border-color: var(--card-chip-border) !important;
}

.thumb-fallback {
  color: var(--card-title) !important;
}

html[data-theme="light"] .post-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.98)) !important;
  border-color: rgba(110, 157, 220, 0.18) !important;
  box-shadow: 0 16px 36px rgba(106, 148, 204, 0.12) !important;
}

html[data-theme="light"] .post-card:hover {
  border-color: rgba(110, 157, 220, 0.28) !important;
}

html[data-theme="light"] .post-thumb {
  background: rgba(224, 238, 255, 0.8) !important;
}

/* Dark mode fix: force dark cards and readable controls even when system prefers light */
html[data-theme="dark"] .post-card {
  background: linear-gradient(180deg, rgba(8, 12, 24, 0.98), rgba(15, 22, 44, 0.98)) !important;
  border-color: rgba(151, 181, 237, 0.18) !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.42) !important;
}

html[data-theme="dark"] .post-card:hover {
  border-color: rgba(151, 181, 237, 0.34) !important;
}

html[data-theme="dark"] .post-card .like-button {
  background: rgba(78, 104, 173, 0.34) !important;
  color: #eef4ff !important;
  border-color: rgba(151, 181, 237, 0.34) !important;
}

html[data-theme="dark"] .post-card .ghost,
html[data-theme="dark"] .post-card .search-place-button,
html[data-theme="light"] .place-search-result {
  background: rgba(248, 251, 255, 0.98) !important;
  color: #18365b !important;
  border-color: rgba(110, 157, 220, 0.24) !important;
}

html[data-theme="light"] .place-search-result:hover {
  background: rgba(229, 239, 255, 0.98) !important;
  border-color: rgba(90, 136, 255, 0.42) !important;
}

html[data-theme="light"] .place-search-result.active {
  background: rgba(220, 236, 255, 1) !important;
  border-color: rgba(79, 140, 228, 0.5) !important;
}

html[data-theme="light"] .place-search-result span {
  color: #18365b !important;
}

html[data-theme="light"] .place-search-result strong {
  color: #4d6fa2 !important;
}

html[data-theme="dark"] .place-search-result {
  background: rgba(255, 255, 255, 0.05) !important;
  color: #edf2ff !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
}

html[data-theme="dark"] .place-search-result:hover {
  background: rgba(90, 136, 255, 0.16) !important;
  border-color: rgba(90, 136, 255, 0.75) !important;
}

html[data-theme="dark"] .place-search-result.active {
  background: rgba(114, 245, 160, 0.18) !important;
  border-color: rgba(114, 245, 160, 0.8) !important;
}

html[data-theme="dark"] .place-search-result span {
  color: #d9e6ff !important;
}

html[data-theme="dark"] .place-search-result strong {
  color: #a9bcff !important;
}

html[data-theme="dark"] .platform-chip {
  background: rgba(38, 50, 92, 0.95) !important;
  color: #eef4ff !important;
  border-color: rgba(151, 181, 237, 0.24) !important;
}

/* Combined info section above footer */
.submission-guidance-card {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  margin: 16px 0 40px;
  padding: 16px 18px;
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.submission-guidance-card .submission-disclaimer {
  margin: 0;
  text-align: left;
  line-height: 1.65;
}

.submission-guidance-card .submission-disclaimer + .submission-disclaimer {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(127, 180, 255, 0.16);
}

html[data-theme="light"] .submission-guidance-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 247, 255, 0.96)) !important;
  border: 1px solid rgba(110, 157, 220, 0.2) !important;
  box-shadow: 0 16px 36px rgba(106, 148, 204, 0.12);
}

html[data-theme="light"] .submission-guidance-card .submission-disclaimer {
  color: #426b99 !important;
}

html[data-theme="dark"] .submission-guidance-card {
  background: linear-gradient(180deg, rgba(8, 12, 24, 0.98), rgba(15, 22, 44, 0.98)) !important;
  border: 1px solid rgba(151, 181, 237, 0.18) !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.38);
}

html[data-theme="dark"] .submission-guidance-card .submission-disclaimer {
  color: #dbe7ff !important;
}

html[data-theme="dark"] .submission-guidance-card .submission-disclaimer + .submission-disclaimer {
  border-top-color: rgba(151, 181, 237, 0.18);
}

/* Modern home layout stage */
.home-shell {
  max-width: 1280px;
  gap: clamp(22px, 3vw, 36px);
}

.home-hero-stage,
.home-map-stage,
.home-content-stage,
.home-secondary-surface {
  position: relative;
  isolation: isolate;
}

.home-hero-stage {
  overflow: hidden;
  padding: clamp(24px, 4vw, 40px);
  border-radius: 34px;
  border: 1px solid var(--panel-border);
  background:
    radial-gradient(circle at 12% 0%, rgba(143, 232, 255, 0.18) 0%, transparent 36%),
    radial-gradient(circle at 88% 8%, rgba(90, 104, 255, 0.16) 0%, transparent 38%),
    var(--panel-bg);
  box-shadow: var(--panel-shadow);
}

.home-hero-stage::after {
  content: "";
  position: absolute;
  left: 16%;
  right: 16%;
  bottom: -54px;
  height: 120px;
  background: radial-gradient(circle, rgba(63, 209, 255, 0.18) 0%, transparent 72%);
  filter: blur(28px);
  pointer-events: none;
}

.home-hero-stage .support {
  max-width: 820px;
  margin: 0 auto;
  font-size: clamp(1rem, 1.28vw, 1.12rem);
  line-height: 1.75;
}

.hero-submit-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px auto 0;
}

.hero-submit-button {
  display: inline-flex;
  min-height: 54px;
  max-width: 260px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 19px;
  background: linear-gradient(180deg, #ff7a88, #c91f37);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(180, 26, 52, 0.28);
  cursor: pointer;
  font-weight: 900;
  line-height: 1.08;
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.hero-submit-button:hover,
.hero-submit-button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(180, 26, 52, 0.34);
  filter: saturate(1.04);
}

.hero-submit-button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  transform: none;
  filter: grayscale(0.18);
}

.home-map-stage {
  border-radius: 36px;
  overflow: hidden;
}

.home-map-stage::before,
.home-content-stage::before,
.home-secondary-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(143, 232, 255, 0.2), rgba(127, 180, 255, 0.08), rgba(45, 212, 191, 0.16));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.home-content-stage {
  border-radius: 34px;
  padding: clamp(24px, 3vw, 34px);
}

.home-content-stage .content-panel-header {
  margin-bottom: 24px;
}

.home-content-stage .content-tabs {
  padding: 8px;
  border-radius: 28px;
  border: 1px solid var(--panel-border);
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.home-content-stage .content-tab {
  min-height: 42px;
  border-color: transparent;
}

.home-content-stage .content-tab.active {
  box-shadow: 0 10px 24px rgba(99, 145, 204, 0.18);
}

.home-secondary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.92fr);
  gap: 22px;
  align-items: start;
}

.home-secondary-main,
.home-secondary-rail {
  display: grid;
  gap: 22px;
}

.home-cta-surface {
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.home-cta-surface .primary {
  align-self: flex-start;
}

.home-secondary-surface {
  overflow: hidden;
}

.home-secondary-surface .overline {
  margin-bottom: 8px;
}

.home-secondary-main .motivation-card ul {
  margin: 0;
  padding: 0 0 0 4px;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
}

.home-secondary-main .motivation-card li {
  margin: 0;
  padding-left: 20px;
  position: relative;
  line-height: 1.55;
}

.home-secondary-main .motivation-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #7fb4ff, #2dd4bf);
  box-shadow: 0 0 0 4px rgba(127, 180, 255, 0.12);
}

.blog-teaser-mini-card {
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
}

html[data-theme="light"] .home-content-stage .content-tabs {
  background: rgba(232, 242, 255, 0.78);
}

html[data-theme="light"] .blog-teaser-mini-card {
  background: rgba(255, 255, 255, 0.78);
}

html[data-theme="dark"] .blog-teaser-mini-card {
  background: rgba(13, 20, 40, 0.64);
}

html[data-theme="dark"] .home-content-stage .content-tabs {
  background: rgba(255, 255, 255, 0.03);
}

@media (max-width: 960px) {
  .home-secondary-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .home-hero-stage,
  .home-content-stage {
    border-radius: 28px;
    padding: 20px 18px;
  }

  .home-map-stage {
    border-radius: 28px;
  }

  .home-content-stage .content-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    justify-content: stretch;
    border-radius: 26px;
  }

  .home-content-stage .content-tab {
    width: 100%;
    min-height: 52px;
    justify-content: center;
    text-align: center;
    white-space: normal;
    border-radius: 18px;
    padding: 12px 14px;
  }

  .home-content-stage .content-tab:last-child {
    grid-column: 1 / -1;
  }

  .home-secondary-main .motivation-card ul,
  .blog-teaser-grid,
  .category-story-grid {
    grid-template-columns: 1fr;
  }

  .category-story-card {
    min-height: auto;
  }
}

/* Better visibility for account names/handles in popup cards */
.popup-author-name {
  font-weight: 600;
}

html[data-theme="light"] .popup-author,
html[data-theme="light"] .post-author {
  color: #426b99 !important;
}

html[data-theme="light"] .post-liked-badge {
  background: rgba(41, 163, 98, 0.14) !important;
  border-color: rgba(41, 163, 98, 0.28) !important;
  color: #20724a !important;
}

html[data-theme="light"] .popup-author:hover,
html[data-theme="light"] .post-author:hover {
  color: #15395f !important;
}

html[data-theme="light"] .popup-author-name,
html[data-theme="light"] .post-author-name {
  color: #426b99 !important;
}

html[data-theme="light"] .popup-author-avatar,
html[data-theme="light"] .popup-author-avatar-fallback,
html[data-theme="light"] .post-author-avatar,
html[data-theme="light"] .post-author-avatar-fallback {
  border-color: rgba(66, 107, 153, 0.24) !important;
}

html[data-theme="light"] .popup-author-avatar-fallback,
html[data-theme="light"] .post-author-avatar-fallback {
  background: rgba(191, 224, 255, 0.82) !important;
  color: #15395f !important;
}

html[data-theme="dark"] .popup-author,
html[data-theme="dark"] .post-author {
  color: #dbe7ff !important;
}

html[data-theme="dark"] .popup-author:hover,
html[data-theme="dark"] .post-author:hover {
  color: #ffffff !important;
}

html[data-theme="dark"] .popup-author-name,
html[data-theme="dark"] .post-author-name {
  color: #dbe7ff !important;
}

/* Stronger admin/backend readability */
html[data-theme="light"] .admin-card,
html[data-theme="light"] .admin-form,
html[data-theme="light"] .admin-reviewers,
html[data-theme="light"] .admin-reviewer-card,
html[data-theme="light"] .admin-synthetic {
  color: #1f426a !important;
}

html[data-theme="light"] .admin-card h1,
html[data-theme="light"] .admin-card h2,
html[data-theme="light"] .admin-card h3,
html[data-theme="light"] .admin-form h1,
html[data-theme="light"] .admin-form h2,
html[data-theme="light"] .admin-form h3,
html[data-theme="light"] .admin-reviewers h2,
html[data-theme="light"] .admin-synthetic h2,
html[data-theme="light"] .admin-synthetic h3 {
  color: #123a64 !important;
}

html[data-theme="light"] .admin-card .overline,
html[data-theme="light"] .admin-form .overline,
html[data-theme="light"] .admin-reviewers .overline,
html[data-theme="light"] .admin-synthetic .overline,
html[data-theme="light"] .admin-meta,
html[data-theme="light"] .admin-reviewer-meta,
html[data-theme="light"] .admin-pagination-summary,
html[data-theme="light"] .admin-synthetic-summary,
html[data-theme="light"] .admin-synthetic-time,
html[data-theme="light"] .admin-synthetic-entry,
html[data-theme="light"] .admin-synthetic-hints,
html[data-theme="light"] .admin-location-block,
html[data-theme="light"] .admin-location-block .post-meta,
html[data-theme="light"] .admin-card .post-meta,
html[data-theme="light"] .admin-form .post-meta,
html[data-theme="light"] .admin-reviewers .post-meta,
html[data-theme="light"] .admin-synthetic .post-meta,
html[data-theme="light"] .admin-synthetic label,
html[data-theme="light"] .admin-form label,
html[data-theme="light"] .admin-article-copy,
html[data-theme="light"] .admin-attachable-article-copy {
  color: #476f9c !important;
}

html[data-theme="light"] .admin-synthetic-settings input,
html[data-theme="light"] .admin-synthetic-settings select,
html[data-theme="light"] .admin-form input,
html[data-theme="light"] .admin-form select,
html[data-theme="light"] .admin-form textarea {
  color: #163b63 !important;
  background: #ffffff !important;
  border-color: rgba(110, 157, 220, 0.26) !important;
}

html[data-theme="dark"] .admin-card,
html[data-theme="dark"] .admin-form,
html[data-theme="dark"] .admin-reviewers,
html[data-theme="dark"] .admin-reviewer-card,
html[data-theme="dark"] .admin-synthetic,
html[data-theme="dark"] .admin-article-block,
html[data-theme="dark"] .admin-attachable-article,
html[data-theme="dark"] .pin-attached-article-card {
  color: #e8f0ff !important;
}

html[data-theme="dark"] .admin-card h1,
html[data-theme="dark"] .admin-card h2,
html[data-theme="dark"] .admin-card h3,
html[data-theme="dark"] .admin-form h1,
html[data-theme="dark"] .admin-form h2,
html[data-theme="dark"] .admin-form h3,
html[data-theme="dark"] .admin-reviewers h2,
html[data-theme="dark"] .admin-synthetic h2,
html[data-theme="dark"] .admin-synthetic h3 {
  color: #ffffff !important;
}

html[data-theme="dark"] .admin-card .overline,
html[data-theme="dark"] .admin-form .overline,
html[data-theme="dark"] .admin-reviewers .overline,
html[data-theme="dark"] .admin-synthetic .overline,
html[data-theme="dark"] .admin-meta,
html[data-theme="dark"] .admin-reviewer-meta,
html[data-theme="dark"] .admin-pagination-summary,
html[data-theme="dark"] .admin-synthetic-summary,
html[data-theme="dark"] .admin-synthetic-time,
html[data-theme="dark"] .admin-synthetic-entry,
html[data-theme="dark"] .admin-synthetic-hints,
html[data-theme="dark"] .admin-location-block,
html[data-theme="dark"] .admin-location-block .post-meta,
html[data-theme="dark"] .admin-card .post-meta,
html[data-theme="dark"] .admin-form .post-meta,
html[data-theme="dark"] .admin-reviewers .post-meta,
html[data-theme="dark"] .admin-synthetic .post-meta,
html[data-theme="dark"] .admin-synthetic label,
html[data-theme="dark"] .admin-form label,
html[data-theme="dark"] .admin-article-copy,
html[data-theme="dark"] .admin-attachable-article-copy {
  color: #cfe0ff !important;
}

.hero .support {
  white-space: pre-line;
}

.filter-chip small {
  display: none !important;
}

.article-section {
  display: grid;
  gap: 1rem;
  margin: 1.2rem 0 0;
}

.article-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.article-section-copy {
  margin: 0.35rem 0 0;
  color: var(--soft-text);
  max-width: 720px;
}

.article-grid,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.article-card,
.blog-card,
.article-page-card {
  border: 1px solid var(--panel-border);
  border-radius: 24px;
  overflow: hidden;
  background: var(--panel-bg);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

.article-card-image,
.blog-card-media,
.article-page-cover,
.article-modal-image {
  width: 100%;
  display: block;
  object-fit: cover;
}

.article-card-image,
.blog-card-media {
  object-position: left center;
}

.article-card-image,
.blog-card-media {
  height: 190px;
}

.article-page-cover,
.article-modal-image {
  aspect-ratio: 16 / 9;
}

.article-card-body,
.blog-card-body,
.article-page-body {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
}

.article-card-body > *,
.blog-card-body > *,
.article-page-body > * {
  min-width: 0;
}

.article-card-topline {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  gap: 0.6rem;
}

.article-card-location,
.blog-card-meta,
.article-card-meta,
.article-page-meta,
.article-page-excerpt,
.article-modal-excerpt {
  color: var(--soft-text);
}

.article-card-location {
  min-width: 0;
}

.article-card-title,
.blog-card h2,
.article-page-body h1 {
  margin: 0;
}

.article-card-title a,
.blog-card h2 a {
  color: inherit;
  text-decoration: none;
}

.article-card-title a:hover,
.blog-card h2 a:hover,
.blog-backlink a:hover {
  text-decoration: underline;
}

.article-card-excerpt,
.blog-card-body p,
.article-rich-text p {
  margin: 0;
  line-height: 1.65;
}

.article-page-body h1,
.article-page-excerpt,
.article-rich-text,
.article-rich-text h2,
.article-rich-text p,
.article-rich-text li,
.article-rich-text a {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.article-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-size: 0.92rem;
}

.article-card-actions,
.blog-card-actions,
.article-page-actions,
.article-modal-actions,
.article-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.article-chip {
  width: auto;
  min-width: max-content;
  max-width: 100%;
  padding-inline: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  flex: 0 0 auto;
}

.article-section-link {
  white-space: nowrap;
}

.article-marker-wrapper {
  background: transparent !important;
  border: 0 !important;
}

.pin-icon.platform-article {
  background: linear-gradient(135deg, #f59e0b, #f97316);
}

.pin-icon.article-pin {
  font-size: 0.72rem;
}

.pin-icon.article-pin .pin-letter {
  letter-spacing: 0.04em;
  font-size: 0.72rem;
}

.article-marker-highlight .pin-icon.article-pin {
  box-shadow:
    0 0 0 4px rgba(125, 211, 252, 0.3),
    0 0 0 9px rgba(125, 211, 252, 0.16),
    0 16px 28px rgba(15, 23, 42, 0.5);
  animation: pin-highlight-pulse 1.45s ease-in-out infinite;
}

.article-post-card .post-meta-row {
  margin-bottom: 8px;
}

.article-post-thumb {
  background: var(--thumb-bg);
}

.article-list-badge {
  width: auto;
  min-width: 46px;
  padding: 0 10px;
  margin-bottom: 0;
  background: linear-gradient(135deg, #f59e0b, #f97316);
}

.article-list-excerpt {
  margin: 0 0 10px;
  color: var(--card-title);
  opacity: 0.78;
  line-height: 1.55;
}

.article-post-card .post-actions {
  margin-top: 2px;
}

.article-post-card .post-thumb-button,
.article-post-card .post-thumb {
  max-width: 160px;
}

.article-post-card .post-thumb {
  height: 160px;
}

.article-post-card .post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-post-card .ghost {
  white-space: nowrap;
}

.article-post-card .post-title {
  margin-bottom: 8px;
}

.article-post-card .post-meta {
  text-transform: none;
}

.article-post-card .post-info {
  min-width: 0;
}

.article-post-card .post-title,
.article-post-card .article-list-excerpt {
  overflow-wrap: anywhere;
}

.article-post-card .post-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-post-card .article-list-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 768px) {
  .article-post-card .post-thumb {
    height: auto;
  }
}

.article-modal-card {
  width: min(720px, calc(100vw - 24px));
}

.article-modal-body {
  display: grid;
  gap: 1rem;
}

.blog-shell,
.article-shell {
  padding-top: 1rem;
  padding-bottom: 3rem;
}

.blog-hero {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.blog-hero-copy {
  max-width: 760px;
}

.blog-card-media-link,
.article-card-image-link,
.blog-card-media-button,
.article-card-image-button,
.blog-card-content-link {
  display: block;
}

.blog-card-content-link {
  display: grid;
  gap: 0.85rem;
  color: inherit;
  text-decoration: none;
}

.blog-card-media-button,
.article-card-image-button,
.blog-card-title-button,
.article-card-title-button {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.blog-card-title-button:hover,
.article-card-title-button:hover {
  text-decoration: underline;
}

.article-page-excerpt {
  font-size: 1.02rem;
  line-height: 1.7;
}

.article-rich-text {
  display: grid;
  gap: 1rem;
}

.article-rich-text h2 {
  margin: 0.5rem 0 0;
  font-size: 1.15rem;
}

.blog-backlinks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0.35rem 0 1rem;
}

.blog-backlink {
  margin: 0.35rem 0 1rem;
}

.blog-backlinks a,
.blog-backlink a {
  color: var(--link-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: 0 10px 24px rgba(14, 30, 48, 0.12);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.blog-backlinks a:hover,
.blog-backlink a:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(14, 30, 48, 0.16);
}

@media (max-width: 720px) {
  .article-section-header {
    align-items: stretch;
    flex-direction: column;
  }

  .article-card-image,
  .blog-card-media {
    height: 172px;
  }

  .blog-teaser-header {
    flex-direction: column;
    align-items: stretch;
  }

  .blog-teaser-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-teaser-link {
    align-self: flex-start;
  }
}

.content-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  margin-bottom: 18px;
}

.content-panel-copy {
  margin: 6px 0 0;
  color: var(--soft-text);
  max-width: 720px;
}

.content-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.content-tab {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: inherit;
  border-radius: 999px;
  padding: 11px 16px;
  cursor: pointer;
  font-weight: 700;
  transition: border 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.content-tab.active {
  border-color: #72f5a0;
  background: rgba(114, 245, 160, 0.12);
  transform: translateY(-1px);
}

.content-panel-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 14px;
}

.article-section-compact {
  margin-top: 0;
}

.hotel-empty {
  padding: 28px 0 10px;
}

@media (max-width: 720px) {
  .content-panel-header {
    align-items: stretch;
    flex-direction: column;
  }

  .content-tabs {
    justify-content: flex-start;
  }
}

/* === v10 design implementation: conservative home/blog/article surface pass === */
html[data-theme="light"] body {
  position: relative;
  background:
    radial-gradient(circle at 10% 2%, rgba(255, 92, 120, 0.28) 0%, rgba(255, 92, 120, 0.18) 16%, transparent 36%),
    radial-gradient(circle at 52% 0%, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.3) 18%, transparent 42%),
    radial-gradient(circle at 92% 3%, rgba(210, 29, 54, 0.22) 0%, rgba(210, 29, 54, 0.14) 18%, transparent 38%),
    linear-gradient(180deg, #fff8f8 0%, #fff3f3 46%, #ffecec 100%);
}

html[data-theme="light"] body::before {
  content: "";
  position: fixed;
  inset: 280px auto auto -8vw;
  width: 68vw;
  height: 420px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 235, 238, 0.78));
  clip-path: polygon(0 22%, 100% 0, 86% 100%, 0 100%);
  filter: blur(2px);
  pointer-events: none;
  z-index: -2;
}

html[data-theme="light"] body::after {
  content: "";
  position: fixed;
  inset: 118px 58px auto auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 47, 76, 0.16) 0%, transparent 66%);
  filter: blur(16px);
  pointer-events: none;
  z-index: -2;
}

.home-shell {
  position: relative;
  max-width: 1284px;
  padding-top: 10px;
  padding-bottom: 44px;
  gap: 24px;
}

.banner-anchor {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

html[data-theme="light"] .home-hero-stage {
  padding: 22px 34px 24px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  background:
    linear-gradient(135deg, rgba(255, 130, 130, 0.28), rgba(255, 255, 255, 0.88) 42%, rgba(215, 28, 58, 0.22)),
    rgba(255, 255, 255, 0.82);
  box-shadow:
    0 20px 55px rgba(190, 62, 80, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.64);
  -webkit-backdrop-filter: blur(16px) saturate(1.05);
          backdrop-filter: blur(16px) saturate(1.05);
}

html[data-theme="light"] .home-hero-stage::after {
  left: 22%;
  right: 22%;
  bottom: -34px;
  height: 82px;
  background: radial-gradient(circle, rgba(214, 35, 63, 0.18) 0%, transparent 72%);
  filter: blur(22px);
}

.home-hero-stage .hero-title {
  margin: 0;
}

html[data-theme="light"] .home-hero-stage .support,
html[data-theme="dark"] .home-hero-stage .support {
  max-width: 920px;
  font-size: 0.98rem;
  line-height: 1.42;
  font-weight: 500;
  text-wrap: balance;
}

html[data-theme="light"] .home-hero-stage .support {
  color: #173756;
}

html[data-theme="dark"] .home-hero-stage {
  padding: 22px 34px 24px;
  border-radius: 30px;
}

html[data-theme="dark"] .home-hero-stage::after {
  left: 22%;
  right: 22%;
  bottom: -34px;
  height: 82px;
}

html[data-theme="light"] .brand-logo-wordmark,
html[data-theme="dark"] .brand-logo-wordmark {
  font-family: "Inter", "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(3.2rem, 5.5vw, 4.1rem);
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 0.92;
}

html[data-theme="light"] .brand-logo-word-urlaubs {
  background: linear-gradient(135deg, #cc112d 0%, #ff586d 48%, #ff8d8d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: none;
}

html[data-theme="light"] .brand-logo-word-map {
  margin-left: 0.08em;
  padding-right: 0.16em;
  background: linear-gradient(135deg, #cc112d 0%, #ff4f68 44%, #ff9dab 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: 0 1px 10px rgba(201, 31, 55, 0.08);
}

html[data-theme="light"] .brand-logo-suffix {
  color: #7a1c2c;
}

.theme-toggle {
  top: 22px;
  right: 22px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(160, 181, 204, 0.28);
  background: rgba(255, 255, 255, 0.96);
  color: #102740;
  box-shadow: 0 10px 22px rgba(69, 102, 141, 0.18);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
}

html[data-theme="light"] .home-map-stage {
  padding: 2px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 240, 242, 0.94));
  box-shadow: 0 16px 36px rgba(190, 62, 80, 0.12);
  overflow: hidden;
}

html[data-theme="light"] .home-map-stage::before {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(255, 125, 139, 0.12), rgba(210, 29, 54, 0.14));
}

html[data-theme="dark"] .home-map-stage {
  padding: 2px;
  border-radius: 20px;
  border: 1px solid rgba(151, 181, 237, 0.16);
  background: linear-gradient(180deg, rgba(8, 12, 24, 0.96), rgba(15, 22, 44, 0.96));
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

html[data-theme="dark"] .home-map-stage::before {
  background: linear-gradient(135deg, rgba(151, 181, 237, 0.26), rgba(103, 226, 201, 0.12), rgba(90, 104, 255, 0.12));
}

.home-map-stage .map-shell {
  height: clamp(940px, 94vh, 1120px);
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, #dcf0fb, #ecf8ff);
  border: 1px solid rgba(131, 180, 218, 0.34);
}

.home-map-stage .leaflet-container {
  border-radius: 18px;
}

html[data-theme="dark"] .home-map-stage .map-shell {
  background: linear-gradient(180deg, #0d1730, #101f3d);
  border-color: rgba(151, 181, 237, 0.18);
}

.map-scroll-list-cta {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 785;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: calc(100% - 120px);
  min-height: 36px;
  padding: 8px 15px 8px 17px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(10, 18, 34, 0.62);
  color: #f8fbff;
  box-shadow: 0 12px 28px rgba(6, 15, 30, 0.22);
  backdrop-filter: blur(12px) saturate(1.1);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  transform: translateX(-50%);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.map-scroll-list-cta:hover,
.map-scroll-list-cta:focus-visible {
  outline: none;
  background: rgba(23, 42, 72, 0.76);
  box-shadow: 0 16px 34px rgba(6, 15, 30, 0.28);
  transform: translate(-50%, -2px);
}

.map-scroll-list-cta svg {
  flex: 0 0 auto;
  opacity: 0.9;
  transform: translateY(1px);
}

html[data-theme="light"] .map-scroll-list-cta {
  border-color: rgba(110, 157, 220, 0.42);
  background: rgba(255, 255, 255, 0.88);
  color: #24405c;
  box-shadow: 0 12px 28px rgba(106, 148, 204, 0.2);
}

html[data-theme="light"] .map-scroll-list-cta:hover,
html[data-theme="light"] .map-scroll-list-cta:focus-visible {
  background: rgba(247, 251, 255, 0.97);
  box-shadow: 0 16px 34px rgba(106, 148, 204, 0.26);
}

html[data-theme="light"] .map-location-search-message {
  color: #486985;
}

html[data-theme="light"] .map-location-search-message.error {
  color: #b91c1c;
}

html[data-theme="light"] .map-pins-loading-card {
  border-color: rgba(122, 16, 36, 0.18);
  background: rgba(255, 247, 249, 0.92);
  color: #5a0717;
  box-shadow: 0 18px 44px rgba(122, 16, 36, 0.18);
}

html[data-theme="light"] .map-pins-loading-card span {
  color: #7b4050;
}

html[data-theme="light"] .map-location-search-result {
  border-color: rgba(110, 157, 220, 0.28);
  background: rgba(255, 255, 255, 0.88);
  color: #24405c;
}

html[data-theme="light"] .map-location-search-result:hover,
html[data-theme="light"] .map-location-search-result:focus-visible {
  border-color: rgba(65, 217, 201, 0.58);
  background: rgba(247, 251, 255, 0.96);
}

html[data-theme="light"] .map-style-toggle {
  border-color: rgba(233, 145, 112, 0.38);
  background: rgba(255, 255, 255, 0.88);
}

html[data-theme="light"] .map-style-chip {
  color: #3b5979;
}

.floating-add {
  top: 18px;
  right: 18px;
  width: 54px;
  height: 54px;
  background: linear-gradient(180deg, #ff6e81, #c91f37);
  color: #ffffff;
  border: 5px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 30px rgba(190, 62, 80, 0.26);
}

html[data-theme="light"] .list-panel.home-content-stage {
  padding: 20px 20px 22px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(240, 247, 255, 0.98));
  border: 1px solid rgba(110, 157, 220, 0.24);
  box-shadow: 0 24px 54px rgba(106, 148, 204, 0.12);
}

html[data-theme="light"] .home-content-stage::before {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(191, 224, 255, 0.16), rgba(127, 180, 255, 0.08));
}

.home-content-stage .content-panel-header {
  align-items: flex-start;
  gap: 14px;
}

html[data-theme="light"] .home-content-stage h2,
html[data-theme="light"] .home-secondary-surface h3,
html[data-theme="light"] .blog-card h2,
html[data-theme="light"] .article-page-body h1 {
  color: #0f2336;
}

html[data-theme="light"] .home-content-stage .content-panel-copy,
html[data-theme="light"] .blog-teaser-copy,
html[data-theme="light"] .article-card-excerpt,
html[data-theme="light"] .blog-card-body p,
html[data-theme="light"] .article-page-excerpt,
html[data-theme="light"] .article-modal-excerpt,
html[data-theme="light"] .submission-guidance-card .submission-disclaimer,
html[data-theme="light"] .content-panel-copy {
  color: #4b6988;
}

.home-content-stage .content-tabs {
  flex-wrap: nowrap;
  gap: 6px;
}

html[data-theme="light"] .home-content-stage .content-tabs {
  padding: 6px;
  border-radius: 999px;
  border: 1px solid rgba(74, 130, 205, 0.34);
  background: linear-gradient(135deg, #7fb4ff, #2e6fbc);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

html[data-theme="light"] .home-content-stage .content-tab {
  min-height: 42px;
  padding: 10px 16px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

html[data-theme="light"] .home-content-stage .content-tab.active {
  background: linear-gradient(180deg, #ffffff, #eef6ff);
  color: #173756;
  box-shadow: 0 10px 20px rgba(106, 148, 204, 0.18);
  transform: none;
}

.top-list-sort {
  flex-wrap: nowrap;
  gap: 8px;
}

.top-list-sort .content-tab {
  min-width: 148px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.top-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  align-items: stretch;
  gap: 12px;
  overflow: visible;
  padding-bottom: 0;
}

.top-list .post-card {
  min-width: 0;
  max-width: none;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(240, 247, 255, 0.99));
  border: 1px solid rgba(110, 157, 220, 0.22);
  box-shadow: 0 10px 24px rgba(106, 148, 204, 0.11);
}

.top-list .post-card:hover {
  transform: translateY(-1px);
  border-color: rgba(46, 111, 188, 0.34);
}

.top-list .post-thumb-button {
  max-width: none;
}

.top-list .post-thumb {
  max-width: none;
  min-height: 104px;
  aspect-ratio: 16 / 9.2;
  border-radius: 0;
  background: linear-gradient(180deg, #eef6ff, #dbeeff);
}

.top-list .post-thumb.thumb-aspect-1-1,
.top-list .post-thumb.thumb-aspect-9-16,
.top-list .post-thumb.thumb-aspect-16-9 {
  aspect-ratio: 16 / 9.2;
}

.top-list .post-thumb.platform-books {
  min-height: 0;
  aspect-ratio: 1 / 1;
}

.top-list .post-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 0;
  height: 100%;
  padding: 10px 10px 11px;
}

html[data-theme="light"] .top-list .post-title,
html[data-theme="light"] .top-list .article-list-excerpt,
html[data-theme="light"] .top-list .post-author,
html[data-theme="light"] .top-list .post-author-name {
  color: #10253c;
}

.top-list .article-list-excerpt {
  display: none;
}

.top-list .post-title {
  margin-bottom: 0;
  font-size: 0.88rem;
  line-height: 1.24;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 2.48em;
}

.top-list .promotion-post-card .post-title {
  -webkit-line-clamp: 3;
  min-height: 3.72em;
}

html[data-theme="light"] .top-list .post-meta,
html[data-theme="light"] .top-list .article-list-badge {
  color: #6284aa;
  font-size: 0.69rem;
  letter-spacing: 0.05em;
}

.top-list .post-meta.fundraiser-meta {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  width: fit-content;
  gap: 5px 7px;
  padding: 5px 8px;
  border-radius: 999px;
  border: 1px solid rgba(239, 68, 68, 0.22);
  background: linear-gradient(135deg, rgba(255, 247, 237, 0.98), rgba(255, 228, 230, 0.96));
  color: #8f1128 !important;
  font-size: 0.7rem;
  line-height: 1.12;
  letter-spacing: 0.04em;
  box-shadow: 0 7px 18px rgba(239, 68, 68, 0.12);
}

.top-list .post-meta.fundraiser-meta span {
  font-weight: 800;
}

.top-list .post-meta.fundraiser-meta strong {
  color: #c91f37;
  font-weight: 950;
}

.top-list .post-author {
  display: none;
}

.top-list .post-meta-row {
  gap: 6px;
  margin-bottom: 0;
}

.top-list .article-post-card .post-thumb {
  height: auto;
  min-height: 104px;
  aspect-ratio: 16 / 9.2;
}

.top-list .event-detail-card {
  align-items: start;
  margin: 4px 0 10px;
  padding: 12px 12px;
  min-height: 148px;
}

.top-list .event-detail-chip {
  align-self: center;
  width: 38px;
  height: 38px;
  font-size: 1rem;
}

.top-list .event-detail-heading {
  align-items: center;
  gap: 8px;
}

.top-list .event-detail-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top-list .event-detail-price {
  flex: 0 0 auto;
  margin: 0;
  padding: 3px 8px;
  font-size: 0.66rem;
  line-height: 1.15;
  box-shadow: 0 5px 12px rgba(244, 190, 49, 0.16);
}

.top-list .event-detail-line {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  line-height: 1.33;
}

.top-list .event-detail-date-time {
  -webkit-line-clamp: 1;
}


.top-list .medic-detail-card {
  min-height: 160px;
}

.top-list .medic-specialization-badge {
  max-width: 52%;
  font-size: 0.68rem;
}

.top-list .medic-source-line {
  -webkit-line-clamp: 1;
}

.event-detail-chip[class*="platform-event-"] {
  background: var(--event-pin-fill) !important;
  color: #ffffff !important;
}

.event-detail-chip.platform-event-standup {
  color: #4a3200 !important;
}

.top-list .post-liked-badge {
  display: none;
}

.top-list .post-actions {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  align-items: stretch;
}

.top-list .post-actions .ghost,
.top-list .post-actions .like-button {
  min-height: 32px;
  width: 100%;
  min-width: 0;
  padding: 6px 9px;
  font-size: 0.69rem;
  line-height: 1.1;
  white-space: nowrap;
  border-radius: 999px;
  justify-content: center;
  text-align: center;
}

.top-list .post-actions .ghost {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(110, 157, 220, 0.34);
  color: #173756;
  box-shadow: 0 5px 12px rgba(46, 111, 188, 0.08);
}

.top-list .post-actions .like-button {
  background: #f2f8ff;
  color: #173756;
  border: 1px solid rgba(110, 157, 220, 0.22);
  box-shadow: none;
}

.top-list .post-actions .ticket-action {
  border-color: rgba(22, 163, 74, 0.45) !important;
  background: linear-gradient(135deg, #16a34a, #0f766e) !important;
  color: #ffffff !important;
  box-shadow: 0 7px 16px rgba(20, 184, 166, 0.18);
}

.top-list .post-actions .help-action {
  border-color: rgba(217, 119, 6, 0.45) !important;
  background: linear-gradient(135deg, #f59e0b, #dc2626) !important;
  color: #ffffff !important;
  box-shadow: 0 8px 18px rgba(239, 68, 68, 0.22) !important;
  font-weight: 900;
}

.top-list .post-actions .help-action:hover {
  box-shadow: 0 10px 22px rgba(239, 68, 68, 0.3) !important;
}

.top-list .post-actions .like-button.liked {
  background: linear-gradient(135deg, #ffef99, #ffd56b);
  color: #0f2438;
  border-color: transparent;
}

.home-secondary-grid {
  grid-template-columns: minmax(0, 1.3fr) minmax(342px, 0.84fr);
  gap: 16px;
}

.home-secondary-main,
.home-secondary-rail {
  gap: 16px;
}

html[data-theme="light"] .home-secondary-surface {
  padding: 18px 20px;
  border-radius: 26px;
  border: 1px solid rgba(214, 78, 97, 0.24);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(255, 243, 245, 0.99));
  box-shadow: 0 16px 38px rgba(176, 43, 67, 0.1);
}

html[data-theme="light"] .home-secondary-surface::before {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 146, 158, 0.12), rgba(210, 29, 54, 0.08));
}

.story-panel {
  padding: clamp(22px, 3vw, 34px);
}

.story-panel-inner {
  display: grid;
  gap: 14px;
}

.story-panel-copy {
  display: grid;
  gap: 14px;
  max-width: 980px;
}

.story-panel-copy p {
  margin: 0;
  color: #17324b;
  font-size: clamp(1rem, 1.2vw, 1.08rem);
  line-height: 1.78;
}

.story-panel-copy .story-panel-closing {
  font-weight: 800;
  color: #8f1128;
}

.category-story {
  display: grid;
  gap: 18px;
  margin-top: clamp(18px, 2.6vw, 28px);
}

.category-story-header {
  display: grid;
  gap: 8px;
  max-width: 780px;
}

.category-story-header h3 {
  margin: 0;
  color: #132c43;
  font-size: clamp(1.35rem, 2vw, 2rem);
  letter-spacing: -0.03em;
}

.category-story-header p {
  margin: 0;
  color: #42617b;
  line-height: 1.65;
}

.category-story-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.category-story-card {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(190, 46, 70, 0.16);
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 184, 193, 0.28), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 246, 248, 0.88));
  box-shadow: 0 12px 30px rgba(176, 43, 67, 0.08);
}

.category-story-card span {
  width: fit-content;
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(201, 31, 55, 0.1);
  color: #9c1831;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.category-story-card h4 {
  margin: 0;
  color: #132c43;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.category-story-card p {
  margin: 0;
  color: #435f78;
  font-size: 0.9rem;
  line-height: 1.5;
}

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

@media (max-width: 1060px) {
  .category-story-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .category-story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 540px) {
  .category-story-grid {
    grid-template-columns: 1fr;
  }
}

html[data-theme="light"] .story-panel {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.99), rgba(255, 244, 246, 0.99) 46%, rgba(255, 232, 236, 0.99));
}

html[data-theme="light"] .story-panel .overline,
html[data-theme="light"] .story-panel-copy p {
  color: #17324b;
}

html[data-theme="light"] .story-panel .overline {
  color: #9c1831;
}

html[data-theme="light"] .motivation {
  padding: 0;
  border: none;
  background: transparent;
}

html[data-theme="light"] .motivation-card h3,
html[data-theme="light"] .motivation-card li,
html[data-theme="light"] .blog-teaser-mini-title {
  color: #132c43;
}

html[data-theme="light"] .home-secondary-main .motivation-card li::before {
  background: linear-gradient(135deg, #ff7a88, #c91f37);
  box-shadow: 0 0 0 4px rgba(201, 31, 55, 0.12);
}

html[data-theme="light"] .home-cta-surface {
  background: linear-gradient(135deg, #fff4f5, #ffe2e6 55%, #ffd4db);
  border-color: rgba(214, 78, 97, 0.28);
}

html[data-theme="light"] .home-cta-surface .overline,
html[data-theme="light"] .home-cta-surface .cta-copy {
  color: #6f2030;
}

html[data-theme="light"] .home-cta-surface .primary {
  align-self: center;
  min-height: 44px;
  padding-inline: 16px;
  background: linear-gradient(180deg, #d62b45, #ab1027);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(185, 28, 45, 0.22);
}

html[data-theme="light"] .submission-guidance-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 244, 246, 0.98));
}

html[data-theme="light"] .blog-teaser-card {
  gap: 10px;
  padding-top: 14px;
  padding-bottom: 14px;
  background: linear-gradient(135deg, #fff5f6 0%, #ffe3e7 42%, #ffd5dc 100%);
  border-color: rgba(214, 78, 97, 0.24);
}

.blog-teaser-header {
  gap: 10px;
  align-items: flex-start;
}

.blog-teaser-card h3 {
  margin-bottom: 2px;
  font-size: 0.94rem;
}

.blog-teaser-copy {
  font-size: 0.86rem;
  line-height: 1.34;
}

.blog-teaser-grid {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.blog-teaser-mini-card {
  flex: 1 1;
  gap: 6px;
  padding: 6px;
  border-radius: 14px;
}

.blog-teaser-mini-thumb {
  aspect-ratio: 16 / 6.6;
  border-radius: 10px;
}

.blog-teaser-mini-title {
  font-size: 0.76rem;
  line-height: 1.18;
  -webkit-line-clamp: 1;
}

html[data-theme="light"] .blog-teaser-card h3,
html[data-theme="light"] .blog-teaser-card .blog-teaser-copy,
html[data-theme="light"] .blog-teaser-card .overline {
  color: #13273d;
}

html[data-theme="light"] .blog-teaser-link {
  border-radius: 999px;
  padding: 10px 18px;
  background: linear-gradient(180deg, #102844, #091a2f);
  border: 1px solid rgba(8, 27, 47, 0.12);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(16, 40, 68, 0.2);
}

html[data-theme="light"] .blog-teaser-mini-card,
html[data-theme="light"] .article-card,
html[data-theme="light"] .blog-card,
html[data-theme="light"] .article-page-card {
  border-radius: 24px;
  border: 1px solid rgba(200, 221, 244, 0.78);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.98));
  box-shadow: 0 16px 36px rgba(103, 144, 191, 0.12);
}

html[data-theme="light"] .article-card-body,
html[data-theme="light"] .blog-card-body,
html[data-theme="light"] .article-page-body {
  padding: 18px 18px 20px;
}

html[data-theme="light"] .article-card-location,
html[data-theme="light"] .blog-card-meta,
html[data-theme="light"] .article-card-meta,
html[data-theme="light"] .article-page-meta,
html[data-theme="light"] .article-page-excerpt,
html[data-theme="light"] .article-modal-excerpt {
  color: #5a7594;
}

html[data-theme="light"] .article-card-actions .ghost,
html[data-theme="light"] .blog-card-actions .ghost,
html[data-theme="light"] .article-page-actions .ghost,
html[data-theme="light"] .article-modal-actions .ghost,
html[data-theme="light"] .article-section-link,
html[data-theme="light"] .blog-backlinks a,
html[data-theme="light"] .blog-backlink a {
  background: #f1f6fc;
  color: #113251;
  border: 1px solid rgba(178, 203, 229, 0.86);
}

html[data-theme="light"] .blog-shell,
html[data-theme="light"] .article-shell {
  max-width: 1200px;
  padding-top: 40px;
}

html[data-theme="light"] .blog-hero {
  padding: 22px 24px;
  border-radius: 28px;
  border: 1px solid rgba(200, 221, 244, 0.72);
  background: linear-gradient(135deg, rgba(86, 211, 222, 0.16), rgba(255, 255, 255, 0.94) 48%, rgba(243, 173, 142, 0.24));
  box-shadow: 0 18px 40px rgba(100, 142, 188, 0.1);
}

html[data-theme="light"] .blog-grid {
  gap: 18px;
}

html[data-theme="light"] .modal-overlay {
  background: rgba(226, 237, 250, 0.74);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

html[data-theme="light"] .modal-card.article-modal-card {
  border-radius: 28px;
  border: 1px solid rgba(200, 221, 244, 0.82);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.98));
  box-shadow: 0 24px 56px rgba(80, 120, 166, 0.18);
}

html[data-theme="light"] .modal-header {
  position: static;
  background: transparent;
}

html[data-theme="light"] .modal-close-inline {
  background: #eff6fd;
  color: #0f2944;
  border-color: rgba(176, 201, 229, 0.84);
}

html[data-theme="light"] .cookie-consent {
  inset: auto 22px 22px auto;
  justify-content: flex-end;
  padding-left: 22px;
}

html[data-theme="light"] .cookie-consent-panel {
  width: min(430px, 100%);
  border-radius: 24px;
  border: 1px solid rgba(198, 219, 242, 0.84);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 50px rgba(101, 142, 190, 0.18);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  padding: 18px 18px 16px;
}

html[data-theme="light"] .cookie-consent-panel h2,
html[data-theme="light"] .cookie-consent-panel p,
html[data-theme="light"] .cookie-consent-links,
html[data-theme="light"] .cookie-consent-links a {
  color: #153553;
}

html[data-theme="light"] .cookie-consent-actions .primary {
  background: linear-gradient(180deg, #132842, #0a1a2d);
  color: #ffffff;
}

html[data-theme="light"] .cookie-consent-actions .ghost {
  background: #eff5fb;
  color: #123250;
  border: 1px solid rgba(180, 203, 227, 0.86);
}

html[data-theme="light"] .legal-section {
  border-radius: 24px;
  border: 1px solid rgba(198, 219, 242, 0.84);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(245, 249, 255, 0.98));
  box-shadow: 0 18px 42px rgba(106, 147, 194, 0.1);
}

html[data-theme="light"] .site-footer {
  position: relative;
  margin-top: 8px;
  padding: 24px 0 34px;
  border-top: none;
  color: #5b7391;
}

html[data-theme="light"] .site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(223, 235, 248, 0), rgba(224, 239, 252, 0.95) 20%, rgba(224, 239, 252, 0.95) 80%, rgba(223, 235, 248, 0));
}

html[data-theme="light"] .site-footer a {
  color: #173552;
}

@media (max-width: 980px) {
  .home-secondary-grid {
    grid-template-columns: 1fr;
  }

  .home-secondary-main,
  .home-secondary-rail {
    gap: 18px;
  }

  .top-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .top-list .post-card {
    max-width: none;
  }

  .blog-teaser-grid {
    flex-wrap: wrap;
  }

  .blog-teaser-mini-card {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: calc(50% - 4px);
  }
}

@media (max-width: 720px) {
  .home-shell {
    padding-top: 10px;
    gap: 18px;
  }

  .map-location-search-stage {
    margin: -8px 0;
  }

  .home-hero-stage {
    padding: 18px 18px 20px;
    border-radius: 24px;
  }

  html[data-theme="light"] .brand-logo-wordmark,
  html[data-theme="dark"] .brand-logo-wordmark {
    font-size: clamp(2.4rem, 12vw, 3.15rem);
  }

  .theme-toggle {
    top: 12px;
    right: 12px;
  }

  .home-map-stage {
    padding: 2px;
    border-radius: 16px;
  }

  .home-map-stage .map-shell {
    height: min(68vh, 430px);
    border-radius: 14px;
  }

  .map-style-toggle {
    top: 10px;
    left: 10px;
    padding: 5px;
    gap: 4px;
  }

  .map-style-chip {
    padding: 7px 10px;
    font-size: 0.74rem;
  }

  .map-density-banner {
    max-width: calc(100% - 168px);
  }

  .pin-search-shell {
    width: 100%;
    min-height: 52px;
    margin-top: 0;
    padding: 0 48px;
  }

  .pin-search-icon {
    left: 19px;
  }

  .pin-search-input {
    height: 50px;
    font-size: 0.96rem;
  }

  .pin-search-clear {
    right: 8px;
    width: 36px;
    height: 36px;
  }

  .map-location-search-results {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
  }

  .map-location-search-result {
    flex: 0 0 auto;
    max-width: 82vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .floating-add {
    top: 12px;
    right: 12px;
    width: 48px;
    height: 48px;
    border-width: 4px;
  }

  .map-scroll-list-cta {
    bottom: 10px;
    max-width: calc(100% - 28px);
    min-height: 34px;
    padding: 7px 12px 7px 14px;
    gap: 7px;
    font-size: 0.72rem;
    box-shadow: 0 10px 22px rgba(6, 15, 30, 0.2);
  }

  .map-scroll-list-cta svg {
    width: 14px;
    height: 14px;
  }

  .home-content-stage,
  .home-secondary-surface,
  .blog-hero,
  .article-page-card,
  .cookie-consent-panel {
    padding-left: 16px;
    padding-right: 16px;
  }

  .home-content-stage .content-panel-header {
    align-items: stretch;
  }

  .home-content-stage .content-tabs {
    width: 100%;
    justify-content: space-between;
  }

  .home-content-stage .content-tab {
    flex: 1 1;
    justify-content: center;
  }

  .top-list {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .top-list .post-card {
    max-width: none;
  }

  .top-list .event-post-card {
    border-color: rgba(22, 163, 74, 0.4) !important;
    border-top-width: 4px;
    box-shadow:
      0 16px 34px rgba(20, 83, 45, 0.14),
      0 0 0 1px rgba(255, 255, 255, 0.62) inset !important;
  }

  html[data-theme="light"] .top-list .event-post-card,
  :root:not([data-theme]) .top-list .event-post-card {
    border-color: rgba(22, 163, 74, 0.4) !important;
  }

  .top-list .event-post-card .event-detail-card {
    margin-bottom: 0;
  }

  .top-list .event-post-card .post-actions {
    margin-top: 5px;
    padding-top: 10px;
    border-top: 1px solid rgba(22, 163, 74, 0.24);
  }

  html[data-theme="dark"] .top-list .event-post-card {
    border-color: rgba(94, 234, 212, 0.34) !important;
    box-shadow:
      0 16px 34px rgba(0, 0, 0, 0.34),
      0 0 0 1px rgba(94, 234, 212, 0.12) inset !important;
  }

  html[data-theme="dark"] .top-list .event-post-card .post-actions {
    border-top-color: rgba(94, 234, 212, 0.2);
  }

  .top-list .post-thumb {
    min-height: 148px;
  }

  .top-list .post-actions {
    grid-template-columns: 1fr;
  }

  .top-list .post-actions .ghost,
  .top-list .post-actions .like-button {
    flex: 1 1 100%;
    width: 100%;
  }

  .cookie-consent {
    inset: auto 12px 12px 12px;
    justify-content: center;
    padding-left: 0;
  }
}
@media (max-width: 900px) {
  .admin-attachable-article {
    grid-template-columns: 84px minmax(0, 1fr);
  }

  .admin-attachable-article-actions {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .pin-attached-article-body {
    display: block;
  }
}

@media (max-width: 640px) {
  .admin-article-summary-actions .ghost,
  .admin-article-empty-state .ghost,
  .admin-attachable-article-actions .ghost,
  .admin-attachable-article-actions .primary {
    width: 100%;
  }

  .admin-article-header-row,
  .admin-article-summary,
  .admin-article-empty-state,
  .pin-attached-article-header {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-attachable-article {
    grid-template-columns: 1fr;
  }

  .admin-attachable-article-thumb {
    width: 100%;
    min-height: 168px;
  }
}

/* Biletomat-style event + region map layer */
.map-region-loading-pill {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 540;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(9, 13, 26, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #eef3ff;
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.28);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  pointer-events: none;
}

.map-region-toolbar {
  position: absolute;
  right: 14px;
  top: 142px;
  z-index: 770;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: min(520px, calc(100% - 28px));
  pointer-events: none;
}

.map-region-toolbar > * {
  pointer-events: auto;
}

.map-region-reset {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(12, 17, 38, 0.82);
  color: #eff6ff;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.26);
  cursor: pointer;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.map-region-loading {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(12, 17, 38, 0.72);
  color: #cfe1ff;
  font-size: 0.78rem;
  font-weight: 800;
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
}

.map-region-status {
  position: absolute;
  z-index: 770;
  left: 14px;
  right: 14px;
  bottom: 14px;
  width: fit-content;
  max-width: calc(100% - 28px);
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(12, 17, 38, 0.82);
  color: #eaf2ff;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

.map-region-status span {
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9fc1ff;
}

.map-region-status strong {
  font-size: 1rem;
}

.map-region-status em {
  color: #cfe1ff;
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 700;
}

.region-cluster-wrapper,
.pin-event-group-wrapper {
  background: transparent;
  border: 0;
}

.region-cluster-wrapper-neighbor {
  opacity: 0.92;
  filter: saturate(0.95);
}

.region-cluster {
  min-width: 154px;
  min-height: 48px;
  border-radius: 999px;
  padding: 7px 8px 7px 15px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 11px;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(33, 37, 91, 0.96), rgba(58, 51, 128, 0.94));
  border: 1px solid rgba(102, 94, 207, 0.78);
  box-shadow:
    0 9px 20px rgba(20, 18, 64, 0.44),
    0 2px 0 rgba(255, 255, 255, 0.12) inset;
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.region-cluster:hover {
  transform: translateY(-1px) scale(1.025);
  box-shadow:
    0 13px 26px rgba(20, 18, 64, 0.52),
    0 2px 0 rgba(255, 255, 255, 0.14) inset;
}

.region-cluster-name {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  color: #ffffff;
  font-size: 0.83rem;
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: -0.035em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.region-cluster-name span {
  display: block;
}

.region-cluster-count {
  min-width: 45px;
  height: 35px;
  border-radius: 999px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111a46;
  background: linear-gradient(135deg, #58efd7, #45d5ff);
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow:
    0 8px 14px rgba(21, 214, 221, 0.3),
    0 1px 0 rgba(255, 255, 255, 0.5) inset;
  font-size: 0.79rem;
  font-weight: 950;
}

.region-cluster-wrapper-compact {
  pointer-events: auto;
}

.region-cluster-compact {
  width: 78px;
  min-width: 78px;
  height: 46px;
  min-height: 46px;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  padding: 6px 6px 5px;
  border-radius: 18px;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(17, 28, 62, 0.88);
  text-align: center;
  box-shadow:
    0 8px 18px rgba(8, 16, 36, 0.24),
    0 0 0 2px rgba(126, 234, 204, 0.12);
}

.region-cluster-compact:hover {
  transform: translateY(-1px) scale(1.03);
  box-shadow:
    0 12px 24px rgba(8, 16, 36, 0.34),
    0 0 0 4px rgba(126, 234, 204, 0.14);
}

.region-cluster-compact .region-cluster-name {
  display: block;
  width: 100%;
  font-size: 0.67rem;
  line-height: 1;
  letter-spacing: -0.045em;
  text-align: center;
  white-space: nowrap;
}

.region-cluster-compact .region-cluster-name span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.region-cluster-compact .region-cluster-count {
  min-width: 0;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #7eeacc;
  box-shadow: none;
  font-size: 0.86rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

@media (max-width: 720px) {
  .map-region-toolbar {
    top: 66px;
    right: 12px;
    max-width: calc(100% - 24px);
    justify-content: flex-end;
  }

  .map-region-reset {
    padding: 8px 11px;
    font-size: 0.72rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.22);
  }

  .map-region-status {
    padding: 10px 12px;
    gap: 1px;
  }

  .map-region-status em {
    display: none;
  }
}

.pin-event-cluster-wrapper,
.pin-event-group-wrapper,
.pin-job-group-wrapper {
  display: block;
  overflow: visible !important;
}

.pin-icon.event-pin {
  width: 36px;
  height: 47px;
  font-size: 0.74rem;
  line-height: 1;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.24);
}

.pin-icon.event-cluster-pin {
  width: 42px;
  height: 52px;
  font-size: 0.72rem;
}

.pin-icon.event-pin::before {
  content: none;
}

.pin-icon.event-pin::after {
  width: 11px;
  height: 12px;
  bottom: -10px;
  background: inherit;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-top: none;
  box-shadow: 0 5px 8px rgba(0, 0, 0, 0.16);
}

.pin-event-icon {
  position: absolute;
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 23px;
  height: 21px;
  color: inherit;
  font-size: 1.02rem;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.22);
  pointer-events: none;
}

.pin-icon.event-cluster-pin .pin-event-icon {
  top: -4px;
  width: 25px;
  height: 23px;
}

.pin-event-icon-aggregate img {
  width: 17px;
  height: 17px;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.pin-event-count,
.pin-event-date,
.pin-event-time {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 2px 7px;
  line-height: 1.05;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  font-weight: 950;
  white-space: nowrap;
  z-index: 3;
  pointer-events: none;
}

.pin-event-count {
  bottom: 27px;
  min-width: 70px;
  background: rgba(255, 255, 255, 0.96);
  color: #102040;
  border: 1px solid rgba(255, 255, 255, 0.7);
  font-size: 0.48rem;
  letter-spacing: 0.005em;
  text-transform: none;
}

.pin-event-date {
  bottom: 17px;
  min-width: 44px;
  background: rgba(255, 239, 164, 0.98);
  color: #4b3100;
  border: 1px solid rgba(255, 255, 255, 0.62);
  font-size: 0.47rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pin-event-time {
  bottom: 2px;
  min-width: 38px;
  background: rgba(8, 12, 24, 0.88);
  color: #f7faff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding-inline: 7px;
  font-size: 0.52rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pin-icon.event-cluster-pin .pin-event-meta-stack {
  position: absolute;
  left: 50%;
  bottom: 2px;
  z-index: 3;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  transform: translateX(-50%);
  pointer-events: none;
}

.pin-icon.event-cluster-pin .pin-event-meta-stack .pin-event-count,
.pin-icon.event-cluster-pin .pin-event-meta-stack .pin-event-date,
.pin-icon.event-cluster-pin .pin-event-meta-stack .pin-event-time {
  position: relative;
  inset: auto;
  transform: none;
  margin: 0;
}

.pin-icon.event-cluster-pin .pin-event-meta-stack .pin-event-date,
.pin-icon.event-cluster-pin .pin-event-meta-stack .pin-event-count {
  margin-bottom: -3px;
}

.pin-icon.event-cluster-pin .pin-event-meta-stack .pin-event-date {
  z-index: 5;
  min-width: 56px;
  font-size: 0.45rem;
  padding-inline: 7px;
}

.pin-icon.event-cluster-pin .pin-event-meta-stack .pin-event-count {
  z-index: 4;
  min-width: 70px;
}

.pin-icon.event-cluster-pin .pin-event-meta-stack .pin-event-time {
  top: 1px;
  z-index: 3;
  min-width: 38px;
  font-size: 0.48rem;
  padding-inline: 6px;
}

.pin-icon.event-pin-priced .pin-like {
  right: auto;
  left: -7px;
}

.pin-event-price {
  position: absolute;
  top: -8px;
  right: -23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  min-width: 34px;
  padding: 2px 6px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  font-size: 0.49rem;
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: 0.005em;
  text-transform: none;
  box-shadow:
    0 5px 11px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  z-index: 3;
  pointer-events: none;
}

.pin-icon.event-cluster-pin .pin-event-price-stack {
  position: absolute;
  top: -10px;
  right: -34px;
  z-index: 4;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
  pointer-events: none;
}

.pin-icon.event-cluster-pin .pin-event-price-stack .pin-event-price {
  position: relative;
  top: auto;
  right: auto;
  min-width: 48px;
  margin: 0;
  font-size: 0.46rem;
  padding-inline: 6px;
}

.pin-icon.event-cluster-pin .pin-event-price-stack.range .pin-event-price + .pin-event-price {
  margin-top: -3px;
}

.pin-icon.event-cluster-pin .pin-event-price-stack.single {
  top: -9px;
}

.pin-event-price.price-low {
  background: linear-gradient(135deg, rgba(122, 239, 145, 0.98), rgba(38, 190, 86, 0.98));
  color: #06260f;
}

.pin-event-price.price-mid {
  background: linear-gradient(135deg, rgba(255, 232, 128, 0.98), rgba(244, 190, 49, 0.98));
  color: #432c00;
}

.pin-event-price.price-high {
  background: linear-gradient(135deg, rgba(255, 184, 96, 0.98), rgba(248, 119, 37, 0.98));
  color: #3b1800;
}

.pin-event-price.price-premium {
  background: linear-gradient(135deg, rgba(255, 112, 112, 0.98), rgba(220, 38, 38, 0.98));
  color: #fff7f7;
}

.pin-icon.platform-event-concerts,
.platform-chip.platform-event-concerts,
.external-fallback.platform-event-concerts,
.viewer.external.platform-event-concerts .external-pill {
  --event-pin-fill: linear-gradient(135deg, #ff7d98, #c93663);
  background: var(--event-pin-fill);
}

.pin-icon.platform-event-theatre,
.platform-chip.platform-event-theatre,
.external-fallback.platform-event-theatre,
.viewer.external.platform-event-theatre .external-pill {
  --event-pin-fill: linear-gradient(135deg, #aa83ff, #7048d7);
  background: var(--event-pin-fill);
}

.pin-icon.platform-event-cabaret,
.platform-chip.platform-event-cabaret,
.external-fallback.platform-event-cabaret,
.viewer.external.platform-event-cabaret .external-pill {
  --event-pin-fill: linear-gradient(135deg, #ffc27a, #e97927);
  background: var(--event-pin-fill);
}

.pin-icon.platform-event-standup,
.platform-chip.platform-event-standup,
.external-fallback.platform-event-standup,
.viewer.external.platform-event-standup .external-pill {
  --event-pin-fill: linear-gradient(135deg, #ffdc67, #e4a51d);
  background: var(--event-pin-fill);
  color: #4a3200;
}

.pin-icon.platform-event-sports,
.platform-chip.platform-event-sports,
.external-fallback.platform-event-sports,
.viewer.external.platform-event-sports .external-pill {
  --event-pin-fill: linear-gradient(135deg, #22c55e, #0f766e);
  background: var(--event-pin-fill);
}

.pin-icon.platform-event-kids,
.platform-chip.platform-event-kids,
.external-fallback.platform-event-kids,
.viewer.external.platform-event-kids .external-pill {
  --event-pin-fill: linear-gradient(135deg, #6fda98, #23afa1);
  background: var(--event-pin-fill);
}

.pin-icon.platform-event-festivals,
.platform-chip.platform-event-festivals,
.external-fallback.platform-event-festivals,
.viewer.external.platform-event-festivals .external-pill {
  --event-pin-fill: linear-gradient(135deg, #6db7ff, #3d74df);
  background: var(--event-pin-fill);
}

.pin-icon.platform-event-other,
.platform-chip.platform-event-other,
.external-fallback.platform-event-other,
.viewer.external.platform-event-other .external-pill {
  --event-pin-fill: linear-gradient(135deg, #5eead4, #2563eb);
  background: var(--event-pin-fill);
}

.pin-icon.platform-event-aggregate {
  --event-pin-fill: linear-gradient(135deg, #7dd3fc, #2563eb 58%, #1d4ed8);
  background: var(--event-pin-fill);
}

.pin-icon.job-cluster-pin {
  --event-pin-fill: linear-gradient(135deg, #6366f1, #8b5cf6);
  background: var(--event-pin-fill);
}

.pin-icon.job-cluster-pin .pin-job-icon {
  top: -2px;
  width: 28px;
  font-size: 0.72rem;
  letter-spacing: -0.02em;
}

.pin-icon.job-cluster-pin .pin-event-count {
  min-width: 66px;
  color: #24133f;
}


.viewer.external.platform-event-concerts .external-pill {
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
}

.viewer.external.platform-event-theatre .external-pill {
  background: linear-gradient(135deg, #7c2d12, #f97316);
}

.viewer.external.platform-event-cabaret .external-pill {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.viewer.external.platform-event-standup .external-pill {
  background: linear-gradient(135deg, #111827, #6366f1);
}

.viewer.external.platform-event-sports .external-pill {
  background: linear-gradient(135deg, #15803d, #22c55e);
}

.viewer.external.platform-event-kids .external-pill {
  background: linear-gradient(135deg, #06b6d4, #f472b6);
}

.viewer.external.platform-event-festivals .external-pill {
  background: linear-gradient(135deg, #eab308, #a855f7);
}

.viewer.external.platform-event-other .external-pill {
  background: linear-gradient(135deg, #334155, #14b8a6);
}

.pin-event-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 14px;
  color: var(--pin-summary-text, #dbe6ff);
  font-size: 0.82rem;
  font-weight: 800;
}

.pin-event-summary span {
  border-radius: 999px;
  padding: 5px 9px;
  background: var(--pin-summary-pill-bg, rgba(255, 255, 255, 0.08));
  border: 1px solid var(--pin-summary-pill-border, rgba(255, 255, 255, 0.12));
}

.pin-event-summary .pin-event-summary-chip {
  background: var(--pin-summary-chip-bg, rgba(245, 158, 11, 0.2));
  border-color: var(--pin-summary-chip-border, rgba(245, 158, 11, 0.34));
  color: var(--pin-summary-chip-text, #fde68a);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}


.medic-popup-specialization,
.medic-summary-specialization,
.medic-profile-specialization,
.medic-specialization-badge,
.map-spotlight-specialization {
  font-weight: 950;
  letter-spacing: -0.01em;
  text-shadow: 0 0 10px rgba(45, 212, 191, 0.34);
}

.medic-popup-specialization {
  display: inline-flex;
  width: fit-content;
  margin-top: 9px;
  padding: 6px 10px;
  border: 1px solid rgba(45, 212, 191, 0.34);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.22), rgba(14, 165, 233, 0.18));
  color: #a7ffef;
  box-shadow: 0 10px 22px rgba(20, 184, 166, 0.14);
}

.medic-profile-summary {
  border-color: rgba(45, 212, 191, 0.22);
}

.medic-summary-specialization {
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(45, 212, 191, 0.16);
  color: #99f6e4;
}

.medic-profile-card {
  display: grid;
  gap: 5px;
  margin: 0 0 14px;
  border: 1px solid rgba(45, 212, 191, 0.22);
  border-radius: 18px;
  padding: 13px 14px;
  background:
    radial-gradient(circle at 8% 0%, rgba(45, 212, 191, 0.12), transparent 36%),
    rgba(20, 184, 166, 0.08);
  color: #d9fffb;
}

.medic-profile-card strong {
  font-size: 1rem;
  color: #f0fdfa;
}

.medic-profile-card em {
  color: #67e8f9;
  font-style: normal;
  font-weight: 800;
}

.medic-profile-card p {
  margin: 0;
  color: #c7f9ef;
  font-size: 0.9rem;
  line-height: 1.42;
}

.pyszne-popup-summary {
  display: grid;
  gap: 5px;
  margin: 0 0 14px;
  border: 1px solid rgba(249, 115, 22, 0.24);
  border-radius: 18px;
  padding: 12px 14px;
  background:
    radial-gradient(circle at 8% 0%, rgba(251, 146, 60, 0.18), transparent 36%),
    rgba(249, 115, 22, 0.08);
  color: #ffedd5;
}

.pyszne-popup-summary strong {
  color: #fff7ed;
  font-size: 0.98rem;
}

.pyszne-popup-summary p {
  margin: 0;
  color: #fed7aa;
  font-size: 0.9rem;
  line-height: 1.42;
}


.medic-detail-card {
  border-color: rgba(45, 212, 191, 0.18);
  background:
    linear-gradient(135deg, rgba(20, 184, 166, 0.13), rgba(14, 165, 233, 0.07)),
    rgba(255, 255, 255, 0.06);
}

.medic-detail-card .event-detail-heading {
  align-items: center;
}

.medic-specialization-badge {
  max-width: 48%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.98), rgba(14, 165, 233, 0.96)) !important;
  color: #ecfeff !important;
  box-shadow: 0 8px 18px rgba(20, 184, 166, 0.2) !important;
}

.medic-source-line {
  color: #67e8f9;
  font-weight: 800;
}

.medic-detail-description {
  color: rgba(219, 234, 254, 0.78);
}

html[data-theme="light"] .pin-event-summary {
  --pin-summary-text: #174579;
  --pin-summary-pill-bg: rgba(36, 94, 150, 0.11);
  --pin-summary-pill-border: rgba(36, 94, 150, 0.24);
  --pin-summary-chip-bg: rgba(255, 222, 137, 0.72);
  --pin-summary-chip-border: rgba(222, 142, 22, 0.48);
  --pin-summary-chip-text: #8a4a00;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme]) .pin-event-summary {
    --pin-summary-text: #174579;
    --pin-summary-pill-bg: rgba(36, 94, 150, 0.11);
    --pin-summary-pill-border: rgba(36, 94, 150, 0.24);
    --pin-summary-chip-bg: rgba(255, 222, 137, 0.72);
    --pin-summary-chip-border: rgba(222, 142, 22, 0.48);
    --pin-summary-chip-text: #8a4a00;
  }
}

.modal-cluster.same-place {
  margin: 0 0 16px;
  padding: 13px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.modal-cluster-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.modal-cluster-header .overline {
  margin: 0;
}

.modal-cluster-header strong {
  color: #f7fbff;
  font-size: 0.85rem;
}

.modal-cluster-list {
  display: grid;
  gap: 8px;
  max-height: 220px;
  overflow: auto;
  padding-right: 2px;
}

.modal-cluster-item {
  width: 100%;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 9px 10px;
  background: rgba(255, 255, 255, 0.055);
  color: #eef4ff;
  text-align: left;
  cursor: pointer;
}

.modal-cluster-item.active {
  border-color: rgba(114, 245, 160, 0.62);
  background: rgba(114, 245, 160, 0.12);
}

.modal-cluster-item-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.14);
  font-weight: 900;
}

.modal-cluster-item strong,
.modal-cluster-item em {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.modal-cluster-item strong {
  font-size: 0.86rem;
}

.modal-cluster-item em {
  margin-top: 2px;
  color: rgba(226, 232, 240, 0.74);
  font-size: 0.72rem;
  font-style: normal;
}

.ticket-action {
  border-color: rgba(52, 211, 153, 0.55);
  background: linear-gradient(135deg, #16a34a, #14b8a6);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(20, 184, 166, 0.22);
}

.help-action {
  border-color: rgba(251, 191, 36, 0.65);
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(239, 68, 68, 0.24);
}

.hotel-action {
  border-color: rgba(59, 130, 246, 0.62);
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 58%, #f59e0b 100%);
  color: #fff;
  text-decoration: none;
  box-shadow:
    0 15px 34px rgba(37, 99, 235, 0.28),
    0 0 0 3px rgba(125, 211, 252, 0.16);
}

.job-action {
  border-color: rgba(139, 92, 246, 0.68);
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: #fff;
  text-decoration: none;
  box-shadow:
    0 15px 34px rgba(99, 102, 241, 0.30),
    0 0 0 3px rgba(139, 92, 246, 0.14);
}

.medic-action {
  border-color: rgba(20, 184, 166, 0.68);
  background: linear-gradient(135deg, #0d9488 0%, #06b6d4 100%);
  color: #fff;
  text-decoration: none;
  box-shadow:
    0 15px 34px rgba(13, 148, 136, 0.28),
    0 0 0 3px rgba(45, 212, 191, 0.14);
}

.source-action {
  color: #fff;
  text-decoration: none;
}

.gastronomy-action {
  border-color: rgba(249, 115, 22, 0.72);
  background: linear-gradient(135deg, #f97316 0%, #ef4444 100%);
  color: #fff;
  text-decoration: none;
  box-shadow:
    0 15px 34px rgba(249, 115, 22, 0.30),
    0 0 0 3px rgba(254, 215, 170, 0.16);
}

.news-action {
  border-color: rgba(166, 31, 61, 0.68);
  background: linear-gradient(135deg, #6f1022, #a61f3d);
  box-shadow: 0 14px 30px rgba(166, 31, 61, 0.25);
}

.sport-action {
  border-color: rgba(34, 197, 94, 0.58);
  background: linear-gradient(135deg, #16803c, #22c55e);
  box-shadow: 0 14px 30px rgba(34, 197, 94, 0.22);
}

.celebrity-action {
  border-color: rgba(255, 242, 0, 0.7);
  background: linear-gradient(135deg, #fff200, #ffd400);
  color: #4a3200;
  box-shadow: 0 14px 30px rgba(255, 212, 0, 0.24);
}

.linkedin-action {
  border-color: rgba(10, 102, 194, 0.68);
  background: linear-gradient(135deg, #064b91, #0a66c2);
  box-shadow: 0 14px 30px rgba(10, 102, 194, 0.25);
}

.twitter-action {
  border-color: rgba(15, 20, 25, 0.72);
  background: linear-gradient(135deg, #0f1419, #2f3644);
  box-shadow: 0 14px 30px rgba(15, 20, 25, 0.22);
}

.book-action {
  border-color: rgba(139, 94, 52, 0.68);
  background: linear-gradient(135deg, #8b5e34, #5c3b1e);
  box-shadow: 0 14px 30px rgba(92, 59, 30, 0.25);
}

.promotion-action {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-color: rgba(244, 114, 182, 0.7);
  background: linear-gradient(135deg, #ff4fa3 0%, #f97316 52%, #facc15 100%);
  color: #fff;
  text-decoration: none;
  box-shadow:
    0 15px 34px rgba(244, 114, 182, 0.32),
    0 0 0 3px rgba(251, 207, 232, 0.18);
}

.promotion-action::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
}

.ticket-action:hover,
.help-action:hover,
.hotel-action:hover,
.job-action:hover,
.medic-action:hover,
.source-action:hover,
.promotion-action:hover {
  transform: translateY(-1px);
}

.ticket-action:hover {
  box-shadow: 0 18px 36px rgba(20, 184, 166, 0.3);
}

.help-action:hover {
  box-shadow: 0 18px 36px rgba(239, 68, 68, 0.32);
}

.hotel-action:hover {
  box-shadow:
    0 18px 40px rgba(37, 99, 235, 0.36),
    0 0 0 4px rgba(125, 211, 252, 0.22);
}

.job-action:hover {
  box-shadow:
    0 18px 40px rgba(99, 102, 241, 0.40),
    0 0 0 4px rgba(139, 92, 246, 0.20);
}

.medic-action:hover {
  box-shadow:
    0 18px 40px rgba(13, 148, 136, 0.38),
    0 0 0 4px rgba(45, 212, 191, 0.20);
}

.news-action:hover {
  box-shadow: 0 18px 36px rgba(166, 31, 61, 0.34);
}

.sport-action:hover {
  box-shadow: 0 18px 36px rgba(34, 197, 94, 0.3);
}

.celebrity-action:hover {
  box-shadow: 0 18px 36px rgba(255, 212, 0, 0.32);
}

.book-action:hover {
  box-shadow: 0 18px 36px rgba(92, 59, 30, 0.34);
}

.promotion-action:hover {
  box-shadow:
    0 18px 40px rgba(244, 114, 182, 0.42),
    0 0 0 4px rgba(251, 207, 232, 0.24);
}

html[data-theme="light"] .ticket-action {
  border-color: rgba(22, 163, 74, 0.45);
  background: linear-gradient(135deg, #16a34a, #0f766e);
  color: #fff;
}

html[data-theme="light"] .help-action {
  border-color: rgba(217, 119, 6, 0.48);
  background: linear-gradient(135deg, #f59e0b, #dc2626);
  color: #fff;
}

html[data-theme="light"] .hotel-action {
  border-color: rgba(29, 78, 216, 0.42);
  background: linear-gradient(135deg, #1d4ed8 0%, #0891b2 58%, #d97706 100%);
  color: #fff;
  box-shadow:
    0 14px 30px rgba(29, 78, 216, 0.24),
    0 0 0 3px rgba(14, 165, 233, 0.18);
}

html[data-theme="light"] .job-action {
  border-color: rgba(99, 102, 241, 0.34);
  background: linear-gradient(135deg, #4f46e5 0%, #8b5cf6 100%);
  color: #fff;
  box-shadow:
    0 14px 30px rgba(99, 102, 241, 0.24),
    0 0 0 3px rgba(139, 92, 246, 0.18);
}

html[data-theme="light"] .medic-action {
  border-color: rgba(13, 148, 136, 0.34);
  background: linear-gradient(135deg, #0f766e 0%, #0891b2 100%);
  color: #fff;
  box-shadow:
    0 14px 30px rgba(13, 148, 136, 0.22),
    0 0 0 3px rgba(45, 212, 191, 0.18);
}

html[data-theme="light"] .news-action {
  border-color: rgba(111, 16, 34, 0.38);
  background: linear-gradient(135deg, #6f1022, #a61f3d);
}

html[data-theme="light"] .sport-action {
  border-color: rgba(22, 128, 60, 0.36);
  background: linear-gradient(135deg, #16803c, #22c55e);
}

html[data-theme="light"] .celebrity-action {
  border-color: rgba(202, 138, 4, 0.42);
  background: linear-gradient(135deg, #fff200, #ffd400);
  color: #4a3200;
}

html[data-theme="light"] .book-action {
  border-color: rgba(92, 59, 30, 0.36);
  background: linear-gradient(135deg, #8b5e34, #5c3b1e);
}

html[data-theme="light"] .promotion-action {
  border-color: rgba(219, 39, 119, 0.34);
  background: linear-gradient(135deg, #e11d48 0%, #f97316 54%, #facc15 100%);
  color: #fff;
  box-shadow:
    0 14px 30px rgba(225, 29, 72, 0.22),
    0 0 0 3px rgba(253, 186, 116, 0.22);
}

html[data-theme] .event-detail-price.price-low {
  background: linear-gradient(135deg, rgba(122, 239, 145, 0.98), rgba(38, 190, 86, 0.98));
  color: #06260f;
  box-shadow: 0 8px 18px rgba(38, 190, 86, 0.16);
}

html[data-theme] .event-detail-price.price-mid {
  background: linear-gradient(135deg, rgba(255, 232, 128, 0.98), rgba(244, 190, 49, 0.98));
  color: #432c00;
  box-shadow: 0 8px 18px rgba(244, 190, 49, 0.16);
}

html[data-theme] .event-detail-price.price-high {
  background: linear-gradient(135deg, rgba(255, 184, 96, 0.98), rgba(248, 119, 37, 0.98));
  color: #3b1800;
  box-shadow: 0 8px 18px rgba(248, 119, 37, 0.16);
}

html[data-theme] .event-detail-price.price-premium {
  background: linear-gradient(135deg, rgba(255, 112, 112, 0.98), rgba(220, 38, 38, 0.98));
  color: #fff7f7;
  box-shadow: 0 8px 18px rgba(220, 38, 38, 0.16);
}


html[data-theme="light"] .medic-popup-specialization,
html[data-theme="light"] .medic-summary-specialization,
html[data-theme="light"] .map-spotlight-specialization {
  background: rgba(20, 184, 166, 0.16);
  border-color: rgba(13, 148, 136, 0.24);
  color: #0f766e;
  text-shadow: none;
}

html[data-theme="light"] .map-spotlight-specialization {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.18), rgba(14, 165, 233, 0.12));
  border-color: rgba(13, 148, 136, 0.32);
  color: #0f766e;
}

html[data-theme="light"] .modal-cluster.same-place {
  background: linear-gradient(180deg, rgba(247, 251, 255, 0.94), rgba(238, 246, 255, 0.98));
  border-color: rgba(110, 157, 220, 0.24);
}

html[data-theme="light"] .modal-cluster-header strong {
  color: #173b63;
}

html[data-theme="light"] .modal-cluster-item {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(110, 157, 220, 0.24);
  color: #173b63;
}

html[data-theme="light"] .modal-cluster-item.active {
  background: linear-gradient(135deg, rgba(220, 252, 231, 0.96), rgba(236, 253, 245, 0.98));
  border-color: rgba(34, 197, 94, 0.48);
  color: #14532d;
}

html[data-theme="light"] .modal-cluster-item-icon {
  background: rgba(219, 234, 254, 0.9);
  color: #174579;
}

html[data-theme="light"] .modal-cluster-item.active .modal-cluster-item-icon {
  background: rgba(167, 243, 208, 0.9);
  color: #047857;
}

html[data-theme="light"] .modal-cluster-item strong {
  color: inherit;
}

html[data-theme="light"] .modal-cluster-item em {
  color: #59799f;
}

html[data-theme="light"] .modal-cluster-item.active em {
  color: #166534;
}

html[data-theme="light"] .medic-detail-card {
  background: linear-gradient(180deg, rgba(224, 252, 247, 0.92), rgba(241, 253, 250, 0.98));
  border-color: rgba(20, 184, 166, 0.22);
}

html[data-theme="light"] .medic-profile-card {
  border-color: rgba(20, 184, 166, 0.34);
  background:
    radial-gradient(circle at 8% 0%, rgba(45, 212, 191, 0.2), transparent 34%),
    linear-gradient(135deg, rgba(236, 253, 245, 0.98), rgba(240, 249, 255, 0.98));
  color: #134e4a;
}

html[data-theme="light"] .medic-profile-card strong {
  color: #164e63;
}

html[data-theme="light"] .medic-profile-card em {
  color: #0f766e;
  text-shadow: none;
}

html[data-theme="light"] .medic-profile-card p {
  color: #155e63;
}

html[data-theme="light"] .pyszne-popup-summary {
  border-color: rgba(249, 115, 22, 0.30);
  background:
    radial-gradient(circle at 8% 0%, rgba(251, 146, 60, 0.22), transparent 34%),
    linear-gradient(135deg, rgba(255, 247, 237, 0.98), rgba(255, 241, 242, 0.98));
  color: #7c2d12;
}

html[data-theme="light"] .pyszne-popup-summary strong {
  color: #9a3412;
}

html[data-theme="light"] .pyszne-popup-summary p {
  color: #7c2d12;
}

html[data-theme="light"] .medic-source-line {
  color: #0f766e;
}

html[data-theme="light"] .event-detail-card {
  background: linear-gradient(180deg, rgba(230, 241, 255, 0.94), rgba(244, 249, 255, 0.98));
  border-color: rgba(110, 157, 220, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

html[data-theme="light"] .event-detail-label {
  color: #15395f;
}

html[data-theme="light"] .event-detail-line {
  color: #59799f;
}

html[data-theme="light"] .event-detail-date-time {
  color: #a35612;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65), 0 0 12px rgba(255, 181, 84, 0.18);
}

html[data-theme="light"] .event-detail-line:last-child {
  color: #173b63;
  font-weight: 800;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme]) .modal-cluster.same-place {
    background: linear-gradient(180deg, rgba(247, 251, 255, 0.94), rgba(238, 246, 255, 0.98));
    border-color: rgba(110, 157, 220, 0.24);
  }

  :root:not([data-theme]) .modal-cluster-header strong {
    color: #173b63;
  }

  :root:not([data-theme]) .modal-cluster-item {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(110, 157, 220, 0.24);
    color: #173b63;
  }

  :root:not([data-theme]) .modal-cluster-item.active {
    background: linear-gradient(135deg, rgba(220, 252, 231, 0.96), rgba(236, 253, 245, 0.98));
    border-color: rgba(34, 197, 94, 0.48);
    color: #14532d;
  }

  :root:not([data-theme]) .modal-cluster-item-icon {
    background: rgba(219, 234, 254, 0.9);
    color: #174579;
  }

  :root:not([data-theme]) .modal-cluster-item.active .modal-cluster-item-icon {
    background: rgba(167, 243, 208, 0.9);
    color: #047857;
  }

  :root:not([data-theme]) .modal-cluster-item strong {
    color: inherit;
  }

  :root:not([data-theme]) .modal-cluster-item em {
    color: #59799f;
  }

  :root:not([data-theme]) .modal-cluster-item.active em {
    color: #166534;
  }

  :root:not([data-theme]) .medic-profile-card {
    border-color: rgba(20, 184, 166, 0.34);
    background:
      radial-gradient(circle at 8% 0%, rgba(45, 212, 191, 0.2), transparent 34%),
      linear-gradient(135deg, rgba(236, 253, 245, 0.98), rgba(240, 249, 255, 0.98));
    color: #134e4a;
  }

  :root:not([data-theme]) .medic-profile-card strong {
    color: #164e63;
  }

  :root:not([data-theme]) .medic-profile-card em {
    color: #0f766e;
    text-shadow: none;
  }

  :root:not([data-theme]) .medic-profile-card p {
    color: #155e63;
  }
}

/* Compact dropdown filters for the home hero */
.home-hero-stage {
  overflow: visible;
  z-index: 30;
}

.home-map-stage,
.home-content-stage,
.home-secondary-surface {
  z-index: 0;
}

.polska-filter-bar {
  --smart-filter-panel: rgba(255, 255, 255, 0.98);
  --smart-filter-border: rgba(148, 163, 184, 0.28);
  --smart-filter-text: #111827;
  --smart-filter-muted: #64748b;
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  align-items: start;
  gap: 10px;
  position: relative;
  z-index: 50;
  width: min(640px, 100%);
  margin: 16px auto 0;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(238, 245, 255, 0.08));
  box-shadow:
    0 18px 44px rgba(3, 7, 18, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.polska-filter-bar.events-date-active {
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  width: min(640px, 100%);
}

.smart-filter-dropdown {
  position: relative;
  min-width: 0;
}

.smart-filter-trigger,
.smart-filter-admin-toggle {
  width: 100%;
  min-height: 66px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.08);
  color: #f6f9ff;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.smart-filter-trigger {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  text-align: left;
}

.smart-filter-trigger:hover,
.smart-filter-dropdown.open .smart-filter-trigger,
.smart-filter-trigger.active {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.16);
  box-shadow:
    0 16px 32px rgba(15, 23, 42, 0.18),
    0 0 0 3px rgba(255, 255, 255, 0.08);
}

.smart-filter-trigger.active {
  background: linear-gradient(135deg, #ffffff, #ffe8ed 45%, #ff6b84);
  color: #172033;
  border-color: rgba(255, 255, 255, 0.9);
}

.smart-filter-trigger-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.13);
  color: currentColor;
  font-size: 1.45rem;
  font-weight: 900;
}

.smart-filter-trigger.active .smart-filter-trigger-icon {
  background: rgba(255, 255, 255, 0.48);
}

.smart-filter-trigger-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.smart-filter-trigger-copy strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: currentColor;
  font-size: clamp(0.96rem, 1.2vw, 1.1rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.smart-filter-caret {
  justify-self: end;
  transition: transform 0.18s ease;
}

.smart-filter-dropdown.open .smart-filter-caret {
  transform: rotate(180deg);
}

.smart-filter-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  display: grid;
  gap: 5px;
  min-width: 260px;
  width: max(100%, 280px);
  padding: 8px;
  border: 1px solid var(--smart-filter-border);
  border-radius: 19px;
  background: var(--smart-filter-panel);
  color: var(--smart-filter-text);
  box-shadow: 0 26px 54px rgba(15, 23, 42, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  z-index: 100;
}

.smart-filter-dropdown:last-of-type .smart-filter-menu,
.smart-filter-date-menu {
  left: auto;
  right: 0;
}

.smart-filter-menu-wide {
  width: min(420px, calc(100vw - 44px));
}

.smart-filter-option {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-height: 42px;
  padding: 9px 40px 9px 13px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: #111827;
  cursor: pointer;
  font-weight: 850;
  text-align: left;
  transition: background 0.16s ease, color 0.16s ease;
}

.smart-filter-option:hover {
  background: rgba(37, 99, 235, 0.08);
}

.smart-filter-option.active {
  background: rgba(37, 99, 235, 0.13);
  color: #0f172a;
}

.smart-filter-option.active::after {
  content: "✓";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #2563eb;
  font-weight: 950;
}

.smart-filter-option small {
  color: var(--smart-filter-muted);
  font-size: 0.72rem;
  font-weight: 750;
}

.smart-filter-option:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.smart-filter-calendar {
  display: grid;
  gap: 8px;
  margin-top: 4px;
  padding: 10px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 14px;
  background: rgba(248, 250, 252, 0.92);
}

.smart-filter-calendar strong {
  color: #111827;
  font-size: 0.94rem;
  font-weight: 900;
}

.smart-filter-calendar label {
  display: grid;
  gap: 5px;
}

.smart-filter-calendar label span {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.smart-filter-calendar input {
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid rgba(148, 163, 184, 0.32);
  border-radius: 11px;
  background: #fff;
  color: #111827;
  color-scheme: light;
  font: inherit;
}

.smart-filter-calendar-actions {
  display: flex;
  gap: 8px;
  justify-content: space-between;
  padding-top: 2px;
}

.smart-filter-mini-action,
.smart-filter-apply {
  min-height: 36px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 900;
}

.smart-filter-mini-action {
  border-color: rgba(148, 163, 184, 0.42);
  color: #334155;
}

.smart-filter-apply {
  border: 0;
  background: #2563eb;
  color: #fff;
  cursor: pointer;
}

.smart-filter-option-compact {
  align-items: center;
  min-height: 40px;
  text-align: center;
}

.smart-filter-option-compact span {
  width: 100%;
  text-align: center;
}

.smart-filter-admin-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  font-weight: 850;
}

.smart-filter-admin-toggle small {
  color: #aebdff;
  font-size: 0.68rem;
}

.smart-filter-admin-toggle.active {
  background: linear-gradient(135deg, #ffffff, #ffe8ed 45%, #ff6b84);
  color: #172033;
}

.smart-filter-admin-toggle.active small {
  color: #7b1427;
}

html[data-theme="light"] .polska-filter-bar {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(238, 245, 255, 0.58));
  border-color: rgba(255, 255, 255, 0.86);
  box-shadow:
    0 18px 42px rgba(71, 85, 105, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

html[data-theme="light"] .smart-filter-trigger,
html[data-theme="light"] .smart-filter-admin-toggle {
  border-color: rgba(148, 163, 184, 0.28);
  background: rgba(255, 255, 255, 0.72);
  color: #111827;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

html[data-theme="light"] .smart-filter-trigger:hover,
html[data-theme="light"] .smart-filter-dropdown.open .smart-filter-trigger,
html[data-theme="light"] .smart-filter-trigger.active {
  border-color: rgba(37, 99, 235, 0.38);
  background: rgba(255, 255, 255, 0.94);
  box-shadow:
    0 16px 30px rgba(37, 99, 235, 0.12),
    0 0 0 3px rgba(37, 99, 235, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

html[data-theme="light"] .smart-filter-trigger.active,
html[data-theme="light"] .smart-filter-admin-toggle.active {
  background: linear-gradient(135deg, #ffffff, #dcecff 48%, #7fb4ff);
  color: #0e2544;
}

html[data-theme="light"] .smart-filter-admin-toggle small {
  color: #6c8ebb;
}

html[data-theme="light"] .smart-filter-admin-toggle.active small {
  color: #1b5ca9;
}

@media (max-width: 720px) {
  .home-hero-stage .support {
    font-size: 0.88rem;
    line-height: 1.42;
  }

  .hero-submit-strip {
    margin-top: 14px;
  }

  .hero-submit-button {
    width: 100%;
    max-width: none;
    min-height: 50px;
    border-radius: 17px;
  }

  .polska-filter-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    margin-top: 12px;
    padding: 7px;
    border-radius: 22px;
  }

  .polska-filter-bar.events-date-active {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .smart-filter-dropdown {
    position: static;
  }

  .smart-filter-trigger {
    grid-template-columns: 32px minmax(0, 1fr) 18px;
    gap: 7px;
    min-height: 54px;
    padding: 8px 10px;
    border-radius: 16px;
  }

  .smart-filter-trigger-icon {
    width: 32px;
    height: 32px;
    border-radius: 11px;
    font-size: 1.08rem;
  }

  .smart-filter-trigger-copy strong {
    font-size: 0.98rem;
  }

  .smart-filter-menu {
    left: 7px;
    right: 7px;
    top: calc(100% + 8px);
    width: auto;
    min-width: 0;
    max-height: min(64vh, 430px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .smart-filter-menu-wide {
    width: auto;
  }

  .smart-filter-option {
    min-height: 38px;
    padding-block: 8px;
  }

  .smart-filter-admin-toggle {
    grid-column: 1 / -1;
    min-height: 44px;
  }
}

