:root { --sws-max: 1180px; }
html.sws-lock, html.sws-lock body { overflow: hidden !important; }
.sws-section { box-sizing: border-box; width: 100%; padding: 38px 20px; font-family: inherit; }
.sws-section *, .sws-section *::before, .sws-section *::after { box-sizing: border-box; }
.sws-section__inner { max-width: var(--sws-max); margin: 0 auto; }
.sws-section__header { margin: 0 0 24px; }
.sws-section__title { margin: 0; font: inherit; font-size: clamp(22px, 2.4vw, 34px); font-weight: 700; line-height: 1.15; }
.sws-section__title::before { content: ''; display: inline-block; width: 46px; height: 4px; margin: 0 14px 7px 0; border-radius: 99px; background: linear-gradient(90deg,#ff2e68,#ff6f61); }
.sws-section__subtitle { margin: 8px 0 0; opacity: .72; font-size: 15px; }
.sws-bubbles { display: flex; gap: clamp(18px, 3vw, 42px); overflow-x: auto; padding: 6px 2px 10px; scrollbar-width: thin; overscroll-behavior-inline: contain; }
.sws-bubble { width: 150px; min-width: 150px; padding: 0; border: 0; background: transparent; color: inherit; text-align: center; cursor: pointer; appearance: none; }
.sws-bubble__ring { display: block; width: 132px; height: 132px; margin: 0 auto 12px; padding: 6px; border-radius: 50%; background: conic-gradient(#ff2e68,#ff623d,#ffd12f,#ff2e68); transition: transform .18s ease; }
.sws-bubble:hover .sws-bubble__ring, .sws-bubble:focus-visible .sws-bubble__ring { transform: scale(1.04); }
.sws-bubble__image-wrap { display: block; width: 100%; height: 100%; padding: 4px; border-radius: 50%; background: #fff; }
.sws-bubble__image { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; background: #ddd; }
.sws-bubble__title { display: block; font-size: 15px; line-height: 1.25; font-weight: 700; text-transform: uppercase; }
.sws-bubble:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; border-radius: 12px; }
.sws-modal[hidden] { display: none !important; }
.sws-modal { position: fixed; z-index: 999999; inset: 0; display: grid; place-items: center; padding: 22px; }
.sws-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.86); backdrop-filter: blur(10px); }
.sws-viewer { position: relative; z-index: 1; height: min(92vh, 840px); aspect-ratio: 9/16; max-width: calc(100vw - 44px); overflow: hidden; border-radius: 18px; background: #080808; box-shadow: 0 30px 100px rgba(0,0,0,.5); color: #fff; }
.sws-progress { position: absolute; z-index: 9; top: 10px; left: 12px; right: 48px; display: flex; gap: 4px; height: 3px; }
.sws-progress__track { flex: 1; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.35); }
.sws-progress__fill { display: block; width: 100%; height: 100%; transform: scaleX(0); transform-origin: left center; background: #fff; }
.sws-close { position: absolute; z-index: 12; top: 18px; right: 12px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(0,0,0,.34); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.sws-nav { position: absolute; z-index: 6; top: 0; bottom: 0; width: 38%; border: 0; background: transparent; color: transparent; cursor: pointer; padding: 0; }
.sws-nav--prev { left: 0; }
.sws-nav--next { right: 0; }
.sws-nav span { opacity: 0; }
.sws-media { position: absolute; inset: 0; }
.sws-media__image { width: 100%; height: 100%; display: block; object-fit: cover; background: #111; }
.sws-media__shade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.15) 0%, rgba(0,0,0,.02) 38%, rgba(0,0,0,.68) 100%); pointer-events: none; }
.sws-media__content { position: absolute; z-index: 7; left: 0; right: 0; bottom: 95px; padding: 0 28px; pointer-events: none; }
.sws-media__text { color: #fff; font-size: clamp(20px, 2.1vw, 27px); line-height: 1.18; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.sws-media__text p { margin: 0 0 .55em; }
.sws-media__cta { pointer-events: auto; display: inline-flex; margin-top: 18px; padding: 11px 16px; border-radius: 999px; background: #fff; color: #111 !important; text-decoration: none; font-size: 14px; font-weight: 700; box-shadow: 0 8px 30px rgba(0,0,0,.25); }
.sws-media__cta[hidden] { display: none !important; }
.sws-reactions { position: absolute; z-index: 11; left: 16px; right: 16px; bottom: 14px; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.92); color: #121212; backdrop-filter: blur(8px); }
.sws-reactions__question { margin: 0 0 7px; font-size: 12px; font-weight: 700; }
.sws-reactions__items { display: flex; justify-content: space-between; gap: 8px; }
.sws-reaction { min-width: 0; flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 6px 8px; border: 0; border-radius: 10px; background: transparent; color: #991d3d; cursor: pointer; font: inherit; }
.sws-reaction:hover:not(:disabled), .sws-reaction:focus-visible:not(:disabled) { background: rgba(153,29,61,.09); }
.sws-reaction__emoji { font-size: 25px; line-height: 1; }
.sws-reaction__count { font-weight: 700; font-size: 14px; }
.sws-reaction.is-selected { background: rgba(153,29,61,.12); }
.sws-reaction.is-disabled { opacity: .55; }
.sws-reaction.is-sending { opacity: .55; }
@media (max-width: 700px) {
  .sws-section { padding: 28px 16px; }
  .sws-bubble { width: 112px; min-width: 112px; }
  .sws-bubble__ring { width: 104px; height: 104px; padding: 5px; }
  .sws-bubble__title { font-size: 12px; }
  .sws-modal { padding: 0; background: #000; }
  .sws-viewer { width: 100vw; height: 100dvh; max-width: none; aspect-ratio: auto; border-radius: 0; }
  .sws-media__content { bottom: 105px; padding: 0 22px; }
  .sws-media__text { font-size: clamp(21px, 6vw, 29px); }
  .sws-reactions { bottom: max(12px, env(safe-area-inset-bottom)); }
  .sws-close { top: max(18px, env(safe-area-inset-top)); }
  .sws-progress { top: max(10px, env(safe-area-inset-top)); }
}
@media (prefers-reduced-motion: reduce) {
  .sws-bubble__ring { transition: none; }
}
