/* SUNDUQ v250 — common visual and UX components */
:root{
  --su250-panel:#0d1c2b;
  --su250-panel-2:#10283b;
  --su250-border:rgba(255,255,255,.11);
  --su250-muted:#9eb2c6;
  --su250-accent:#f0184f;
}

.suMetric{
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-width:0;
  color:inherit;
  white-space:nowrap;
}
.suMetricView::before{
  content:"";
  width:16px;
  height:16px;
  flex:0 0 16px;
  opacity:.82;
  background:center/16px 16px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a9bfd1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
}

.suMediaPlaceholder{
  width:100%;
  height:100%;
  min-height:96px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:14px;
  text-align:center;
  color:#9fb4c7;
  background:
    radial-gradient(circle at 25% 18%,rgba(96,165,250,.14),transparent 34%),
    linear-gradient(145deg,#0b2233,#071823);
}
.suMediaPlaceholder b{font-size:34px;line-height:1;color:#c9d9e6;font-family:Inter,Arial,sans-serif}
.suMediaPlaceholder small{font-size:12px;font-weight:850;letter-spacing:.01em;color:#8fa6b8}
.suMediaPlaceholder--video b{font-size:25px;width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.08);padding-left:3px}
.suMediaPlaceholder--dating b{font-size:36px}
.suMediaFailed{background:#071823!important}

/* One dark surface on pages that previously looked detached from the site. */
body:has(.searchPage),
body:has(.datingPage),
body:has(.datingProfilePage),
body.tp106SavedPage{
  background:
    radial-gradient(circle at 18% 0,rgba(96,165,250,.12),transparent 30%),
    radial-gradient(circle at 84% 12%,rgba(240,24,79,.10),transparent 28%),
    #06111b!important;
}
.searchPage,.datingPage,.datingProfilePage,.tp106SavedLayout{color:#edf6ff!important}
.searchBox,.resultGroup,.resultItem,.datingCard,.datingSide,.datingForm,.datingFull,.tp106SavedCard{
  background:rgba(13,28,43,.92)!important;
  border-color:var(--su250-border)!important;
  color:#edf6ff!important;
  box-shadow:0 18px 46px rgba(0,0,0,.20)!important;
}
.resultItem:hover{background:#132b3e!important}
.resultItem p,.datingBody p,.datingMeta,.tp106SavedCard p{color:var(--su250-muted)!important}
.resultIcon{background:#122d42!important;color:#dbeafe!important}
.resultTag{background:#17344a!important;color:#cfe7f8!important}
.searchFilters button,.datingFilters button{background:#10283b!important;color:#dbeafe!important;border:1px solid var(--su250-border)!important}
.searchFilters button.active,.datingFilters button.active{background:var(--su250-accent)!important;border-color:var(--su250-accent)!important;color:#fff!important}
.searchBox button{background:var(--su250-accent)!important;border-color:var(--su250-accent)!important;color:#fff!important}

/* Primary add/create CTA must look the same in all section heroes. */
.suPrimaryCta,
.marketHero>button,.videosHero>button,.socialHero>button,.datingHero .heroButtons button:first-child{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:44px;
  padding:11px 17px!important;
  border:0!important;
  border-radius:14px!important;
  background:var(--su250-accent)!important;
  color:#fff!important;
  font-weight:950!important;
  box-shadow:0 10px 25px rgba(240,24,79,.20)!important;
  text-decoration:none!important;
}

/* Radio genres: clear horizontal-scroll affordance and room after the final item. */
.radioFilters{
  overflow-x:auto!important;
  overflow-y:hidden!important;
  flex-wrap:nowrap!important;
  padding:3px 52px 9px 4px!important;
  scroll-padding-inline:12px 52px;
  overscroll-behavior-inline:contain;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:thin;
  -webkit-mask-image:linear-gradient(to right,transparent 0,#000 14px,#000 calc(100% - 44px),transparent 100%);
  mask-image:linear-gradient(to right,transparent 0,#000 14px,#000 calc(100% - 44px),transparent 100%);
}
.radioFilters button{flex:0 0 auto!important;scroll-snap-align:start}

/* Keep image shells useful but compact when media is absent. */
.marketPhoto,.marketFullPhoto,.datingPhoto,.datingFullPhoto,.videoThumb,.events92CardImage,.realty94CardImage{
  overflow:hidden;
}
.marketPhoto>.suMediaPlaceholder,.datingPhoto>.suMediaPlaceholder,.videoThumb>.suMediaPlaceholder,.events92CardImage>.suMediaPlaceholder,.realty94CardImage>.suMediaPlaceholder{min-height:100%}

@media(max-width:720px){
  .suMediaPlaceholder{min-height:78px;padding:10px}
  .suMediaPlaceholder b{font-size:28px}
  .marketPhoto{height:132px!important}
  .videoThumb{min-height:140px}
  .radioFilters{margin-inline:-2px!important;padding-right:56px!important}
  .socialHero>button,.marketHero>button,.videosHero>button{width:100%;margin-top:14px}
}


.datingEmptyState{
  min-height:360px;
  display:grid;
  place-items:center;
  align-content:center;
  gap:12px;
  padding:34px;
  text-align:center;
  background:rgba(13,28,43,.92)!important;
  border:1px solid var(--su250-border)!important;
  border-radius:22px;
  box-shadow:0 18px 46px rgba(0,0,0,.2);
}
.datingEmptyState h1{margin:0;font-size:clamp(28px,5vw,42px)}
.datingEmptyState p{max-width:560px;margin:0 0 8px;color:var(--su250-muted);line-height:1.55}
.datingEmptyIcon{width:76px;height:76px;border-radius:50%;display:grid;place-items:center;background:#122d42;color:#f58aa9;font-size:42px}

/* SUNDUQ v253 — final public-section consistency pass. */
:where(
  .marketHero,.ridesHero,.eventsHero,.tourismHero,.directoryHero,
  .musicHero,.videosHero,.datingHero,.communitiesHero,.searchHero,
  .systemHero,.roadmapHero,.realtyHero,.socialHero,.autoHero
){
  background:
    radial-gradient(circle at 14% 0,rgba(96,165,250,.14),transparent 34%),
    radial-gradient(circle at 88% 18%,rgba(240,24,79,.10),transparent 32%),
    linear-gradient(180deg,#10283b,#0d1f30)!important;
  border:1px solid var(--su250-border)!important;
  color:#f4f8ff!important;
  box-shadow:0 18px 46px rgba(0,0,0,.24)!important;
}
:where(
  .marketHero,.ridesHero,.eventsHero,.tourismHero,.directoryHero,
  .musicHero,.videosHero,.datingHero,.communitiesHero,.searchHero,
  .systemHero,.roadmapHero,.realtyHero,.socialHero,.autoHero
) :where(h1,h2,h3){color:#f6f9ff!important;text-shadow:none!important}
:where(
  .marketHero,.ridesHero,.eventsHero,.tourismHero,.directoryHero,
  .musicHero,.videosHero,.datingHero,.communitiesHero,.searchHero,
  .systemHero,.roadmapHero,.realtyHero,.socialHero,.autoHero
) p{color:#afc1d2!important}
:where(
  .marketHero,.ridesHero,.eventsHero,.tourismHero,.directoryHero,
  .musicHero,.videosHero,.datingHero,.communitiesHero,.searchHero,
  .systemHero,.roadmapHero,.realtyHero,.socialHero,.autoHero
) :where(.kicker,.heroKicker,small){color:#82bfff!important}

:where(
  .marketHero>button,.ridesHero>button,.eventsHero>button,.tourismHero>button,
  .directoryHero>button,.musicHero>button,.videosHero>button,
  .communitiesHero>button,.systemHero>button,.autoHero>button,.socialHero>button,
  .datingHero .heroButtons>button:first-child
){
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:44px!important;
  padding:11px 17px!important;
  border:0!important;
  border-radius:14px!important;
  background:var(--su250-accent)!important;
  color:#fff!important;
  font-weight:950!important;
  box-shadow:0 10px 25px rgba(240,24,79,.20)!important;
  text-decoration:none!important;
}

.suFormattedText{
  white-space:break-spaces!important;
  overflow-wrap:anywhere;
  word-break:normal;
}

.suEmptyState{
  min-height:126px;
  display:grid;
  place-content:center;
  gap:6px;
  padding:24px;
  border:1px dashed rgba(255,255,255,.16)!important;
  border-radius:18px;
  background:rgba(13,31,48,.78)!important;
  color:#aebfd0!important;
  text-align:center;
  grid-column:1/-1;
}
.suEmptyState strong{color:#eff6ff;font-size:17px}
.suEmptyState.is-error{border-color:rgba(255,112,137,.35)!important;color:#ffb0bd!important}

.directoryCard[href]{display:block;color:inherit;text-decoration:none}
.directoryCard:focus-visible,.rideCard:focus-visible{
  outline:3px solid rgba(96,165,250,.72);
  outline-offset:3px;
}
.directoryFull>p,.rideFull>p,.trackFull .suFormattedText,.tourismFull .suFormattedText,
.communityHero .suFormattedText,.event179Description{
  line-height:1.65!important;
}

@media(max-width:720px){
  :where(
    .marketHero>button,.ridesHero>button,.eventsHero>button,.tourismHero>button,
    .directoryHero>button,.musicHero>button,.videosHero>button,
    .communitiesHero>button,.systemHero>button,.autoHero>button,.socialHero>button
  ){width:100%!important;margin-top:12px!important}
  .suEmptyState{min-height:104px;padding:18px}
}

