/* Store pages, fullscreen viewer, profiles and galleries. */

.sc-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 12px 12px 36px;
  color: var(--text,#202329);
}
.sc-page * {
  box-sizing: border-box;
}
.sc-content-error {
  max-width: 650px;
  margin-block: clamp(32px, 10vh, 80px);
  text-align: center;
}
.sc-content-error h1 { font-size: clamp(24px, 5vw, 32px); }
.sc-content-error p { color: var(--text-muted,#666); line-height: 1.8; }
.sc-content-error nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.sc-content-error nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid var(--border,#ddd); border-radius: 12px; }
.sc-page button,
.sc-viewer button {
  font: inherit;
  cursor: pointer;
  min-height: 44px;
  border: 1px solid var(--border,#ddd);
  border-radius: 12px;
  background: var(--card-bg,#fff);
  color: var(--text,#202329);
  padding: 8px 14px;
}
.sc-page :is(a, button, summary, [tabindex="0"]):focus-visible,
.sc-viewer :is(a, button, summary, [tabindex="0"]):focus-visible,
.sc-status :is(a, button):focus-visible {
  outline: 3px solid #c99a29;
  outline-offset: 4px;
}
.sc-breadcrumb {
  color: var(--text-muted,#666);
}
.sc-page-header {
  margin-block: 12px 24px;
}
.sc-page-header h1 {
  font-size: clamp(24px, 5vw, 36px);
  line-height: 1.45;
  margin: 0;
  overflow-wrap: anywhere;
}
.sc-page-header p {
  line-height: 1.8;
  color: var(--text-muted,#646464);
}
.sc-profile-identity {
  display: flex;
  align-items: center;
  gap: 16px;
}
.sc-profile-identity img,
.sc-publisher img,
.sc-store-tile img {
  object-fit: contain;
  border-radius: 50%;
  flex-shrink: 0;
}
.sc-bio {
  max-width: 680px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.sc-social-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.sc-social-links a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--card-bg,#fff);
  border: 1px solid var(--border,#ddd);
}
.sc-social-links img {
  object-fit: contain;
}
.sc-page-tabs,
.sc-official-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.sc-page-tabs a,
.sc-official-links a {
  padding: 10px 16px;
  min-height: 44px;
  border-radius: 10px;
}
.sc-page-tabs [aria-current=page] {
  background: #f9efcf;
  color: #654b14;
  font-weight: 800;
}
.sc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.sc-post-tile {
  display: block;
  position: relative;
  aspect-ratio: 4/5;
  min-width: 0;
  overflow: hidden;
  border-radius: 16px;
  background: var(--border,#eee);
  color: #fff;
  text-decoration: none;
}
.sc-post-tile > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sc-tile-kind {
  position: absolute;
  left: 8px;
  bottom: 10px;
  background: #151820c9;
  border-radius: 8px;
  padding: 4px 7px;
  font: 600 12px/1.5 system-ui, sans-serif;
}
.sc-stores {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.sc-store-tile {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 16px 0;
  border-bottom: 1px solid var(--border,#ddd);
  text-decoration: none;
  color: inherit;
}
.sc-store-tile > span {
  min-width: 0;
}
.sc-store-tile strong {
  display: block;
  overflow-wrap: anywhere;
}
.sc-store-action {
  display: block;
  color: var(--text-muted,#666);
  font-size: 12px;
  padding-top: 6px;
}
.sc-logo-fallback {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 50%;
  font-size: 30px;
  background: #f8efdc;
  color: #8c6721;
}
.sc-list-status,
.sc-pagination {
  margin-block: 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.sc-pagination a {
  padding: 10px 16px;
  min-height: 44px;
  border: 1px solid var(--border,#ddd);
  border-radius: 12px;
}
.sc-empty {
  text-align: center;
  padding: 40px 12px;
}
.sc-feedback {
  min-height: 28px;
  text-align: center;
  padding-block: 12px;
  color: var(--text-muted,#666);
}
.sc-post-detail {
  max-width: 620px;
  margin-inline: auto;
}
.sc-publisher {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-block: 8px 12px;
  min-height: 44px;
  color: inherit;
  text-decoration: none;
}
.sc-publisher strong {
  overflow-wrap: anywhere;
}
.sc-gallery {
  display: flex;
  direction: inherit;
  overflow-x: auto;
  overscroll-behavior: contain;
  scroll-snap-type: x mandatory;
  max-height: 70dvh;
  background: #111;
  border-radius: 16px;
  touch-action: pan-x pinch-zoom;
}
.sc-media-slide {
  flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: start;
  display: grid;
  place-items: center;
}
.sc-media-slide :is(img, video) {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 70dvh;
  object-fit: contain;
}
.sc-post-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-block: 12px;
}
.sc-post-actions button {
  display: flex;
  align-items: center;
  gap: 6px;
}
.sc-post-actions [aria-pressed=true] {
  background: #fff0f3;
  color: #aa2147;
  border-color: #dd7994;
}
.sc-post-actions button:disabled {
  opacity: .65;
  cursor: wait;
}
.sc-caption {
  line-height: 1.8;
  margin-bottom: 12px;
  overflow-wrap: anywhere;
}
.sc-caption summary {
  cursor: pointer;
  min-height: 44px;
  padding: 8px 0;
}
.sc-caption p {
  white-space: pre-wrap;
}
.sc-viewer::backdrop {
  background: #0009;
}
.sc-viewer-header {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sc-viewer-message {
  padding: 24px;
  text-align: center;
}
.sc-viewer-loading {
  display: block;
  width: 100%;
  object-fit: contain;
  background: #111;
}
.sc-viewer-status {
  text-align: center;
}
html.sc-viewer-open {
  overflow: hidden;
}
html.sc-viewer-open :is(.mobile-tools-bar, [data-scroll-to-top], .floating-tools) {
  display: none !important;
}
html[data-theme=night] :is(.sc-page, .sc-viewer) {
  --card-bg:#21252a;
  --bg:#161a1f;
  --border:#39404a;
  --text:#f1f2f3;
  --text-muted:#aeb4bf;
}
html[data-theme=night] .sc-page-tabs [aria-current=page] {
  background: #3b301b;
  color: #e5c976;
}
@media (min-width: 700px) {
  .sc-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }
  .sc-stores {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .sc-stores {
    grid-template-columns: 1fr;
  }
  .sc-post-actions {
    gap: 6px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sc-page *,
  .sc-viewer * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
/* Page navigation and content controls. */
.sc-page nav[class] {
  position: static;
  z-index: auto;
  height: auto;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  justify-content: flex-start;
}
.sc-page .sc-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  margin-block: 0 20px;
  font-size: clamp(12px, 2.8vw, 13px);
  line-height: 1.5;
}
.sc-breadcrumb a {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
  padding-block: 8px;
  min-height: 44px;
  color: inherit;
  text-decoration: none;
}
.sc-breadcrumb-separator {
  flex-shrink: 0;
}
.sc-breadcrumb [aria-current=page] {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sc-page-tabs a,
.sc-official-links a {
  color: inherit;
  text-decoration: none;
}
.sc-publisher h1 {
  margin: 0;
  font-size: clamp(20px, 4vw, 26px);
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.sc-content-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-block: 0 16px;
}
.sc-empty p {
  margin: 0 0 12px;
}
.sc-empty a {
  display: inline-block;
  min-height: 44px;
  padding: 8px 12px;
  color: var(--text,#202329);
}
.sc-media-slide {
  position: relative;
}
.sc-page .sc-play-button,
.sc-viewer .sc-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  justify-items: center;
  gap: 8px;
  min-width: 108px;
  border: 1px solid #ffffff80;
  background: #151820e6;
  color: #fff;
  border-radius: 16px;
  padding: 12px 16px;
  z-index: 1;
}
.sc-play-button .sc-icon {
  width: 24px;
  height: 24px;
}
.sc-play-button[hidden] {
  display: none !important;
}
.sc-play-button:disabled {
  cursor: wait;
}
.sc-browse-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.sc-browse-options button {
  font-size: 12px;
  padding: 8px 10px;
  background: transparent;
}
.sc-browse-options [aria-pressed=true] {
  border-color: #b98920;
  background: #f9efcf;
  color: #654b14;
}
.sc-browse-options button:disabled {
  opacity: .65;
  cursor: default;
}
html[data-theme=night] .sc-browse-options [aria-pressed=true] {
  background: #3b301b;
  color: #e5c976;
}
.sc-page .sc-gallery {
  touch-action: auto;
  overscroll-behavior: contain auto;
}
.sc-viewer .sc-gallery {
  touch-action: pan-x pinch-zoom;
  overscroll-behavior: contain;
}
.sc-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  vertical-align: middle;
}
.sc-tile-kind {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.sc-tile-kind .sc-icon {
  width: 13px;
  height: 13px;
}
/* Fullscreen post viewer. */
.sc-viewer {
  --sc-caption-height: min(56px, 12dvh);
  --sc-publisher-bottom: calc(env(safe-area-inset-bottom) + 24px + var(--sc-caption-height) + 8px);
  position: fixed;
  inset: 0;
  margin: 0;
  width: 100vw;
  height: 100dvh;
  max-width: 100vw;
  max-height: 100dvh;
  border: 0;
  border-radius: 0;
  padding: 0;
  overflow: hidden;
  overscroll-behavior: contain;
  background: #090909;
  color: #fff;
  box-sizing: border-box;
}
.sc-viewer[open]::backdrop {
  animation: sc-viewer-backdrop-in .22s ease-out;
}
@keyframes sc-viewer-backdrop-in {
  from {
    background-color: transparent;
  }
  to {
    background-color: #0009;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sc-viewer[open]::backdrop {
    animation: none;
  }
}
.sc-viewer *,
.sc-viewer *::before,
.sc-viewer *::after {
  box-sizing: border-box;
}
.sc-viewer .sc-viewer-body,
.sc-viewer .sc-post-detail {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: none;
  min-height: 0;
  margin: 0;
  padding: 0;
}
.sc-viewer .sc-gallery {
  width: 100%;
  height: 100%;
  max-height: none;
  border-radius: 0;
  scrollbar-width: none;
}
.sc-viewer .sc-media-slide {
  height: 100%;
  overflow: hidden;
}
.sc-viewer .sc-media-slide :is(img, video) {
  width: 100%;
  height: 100%;
  max-height: 100dvh;
  object-fit: contain;
}
.sc-viewer .sc-viewer-header {
  position: absolute;
  inset: calc(env(safe-area-inset-top) + 12px) 12px auto;
  z-index: 4;
  background: transparent;
  pointer-events: none;
  justify-content: flex-start;
  direction: ltr;
}
.sc-viewer .sc-viewer-header > button {
  pointer-events: auto;
}
.sc-viewer .sc-viewer-header button {
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: transparent;
  font-size: 24px;
  text-shadow: 0 1px 4px #000, 0 0 2px #000;
}
.sc-viewer .sc-viewer-header > button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.sc-viewer .sc-viewer-header button:disabled {
  opacity: .35;
}
.sc-publisher {
  position: relative;
  min-width: 54px;
  min-height: 54px;
  padding: 3px;
  flex-direction: row;
  direction: rtl;
  justify-content: flex-start;
  text-align: right;
}
.sc-publisher > img {
  outline: 2px solid #e9bf46;
  outline-offset: 1px;
}
.sc-publisher:has(> img)::before {
  content: "";
  position: absolute;
  right: 0;
  top: calc(50% - 27px);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  pointer-events: none;
  background:
    conic-gradient(
      from 0deg,
      #d5a72f 0deg,
      #e9bf46 250deg,
      #fff0a6 290deg,
      #f7d870 320deg,
      #d5a72f 360deg);
  -webkit-mask:
    radial-gradient(
      farthest-side,
      transparent calc(100% - 3px),
      #000 calc(100% - 2.5px));
  mask:
    radial-gradient(
      farthest-side,
      transparent calc(100% - 3px),
      #000 calc(100% - 2.5px));
  animation: sc-publisher-gold-turn 4.8s linear 1;
}
@keyframes sc-publisher-gold-turn {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .sc-publisher:has(> img)::before {
    animation: none;
  }
}
.sc-page .sc-post-detail > .sc-publisher {
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: 0;
}
.sc-viewer .sc-publisher {
  position: absolute;
  inset: auto auto var(--sc-publisher-bottom) calc(env(safe-area-inset-left) + 9px);
  z-index: 4;
  color: #fff;
  text-shadow: 0 1px 4px #000;
  margin: 0;
  width: fit-content;
  max-width: calc(100% - env(safe-area-inset-left) - env(safe-area-inset-right) - 84px);
  direction: ltr;
  text-align: left;
  gap: 8px;
  padding: 3px;
  background: transparent;
}
.sc-viewer .sc-publisher:has(> img)::before {
  left: 0;
  right: auto;
}
.sc-viewer .sc-publisher[hidden] {
  display: none;
}
.sc-viewer .sc-publisher img {
  width: 48px;
  height: 48px;
  background: #fff;
}
.sc-viewer .sc-publisher :is(strong, h1) {
  unicode-bidi: plaintext;
  min-width: 0;
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  max-width: 100%;
  padding: 6px 8px;
  background: #0009;
  border-radius: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sc-verified-badge {
  display: inline-flex;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  color: #2196f3;
  vertical-align: middle;
  line-height: 1;
}
.sc-verified-badge svg {
  width: 100%;
  height: 100%;
}
.sc-profile-identity .sc-verified-badge {
  margin: 0;
}
.sc-profile-identity h1 {
  display: flex;
  direction: ltr;
  align-items: center;
  justify-content: center;
  gap: 6px;
  max-width: 100%;
}
.sc-profile-identity h1 bdi {
  min-width: 0;
}
.sc-viewer .sc-post-actions {
  position: absolute;
  right: 12px;
  bottom: calc(env(safe-area-inset-bottom) + 36px + 10dvh);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  flex-wrap: nowrap;
}
.sc-viewer .sc-post-actions button {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 48px;
  height: 48px;
  min-height: 48px;
  padding: 10px;
  color: #fff;
  border: 0;
  background: #151515b8;
  border-radius: 50%;
  font: 600 13px/1.3 system-ui;
}
.sc-viewer .sc-post-actions .sc-icon {
  width: 26px;
  height: 26px;
}
.sc-viewer .sc-post-actions [aria-pressed=true] {
  color: #ff6487;
}
.sc-viewer .sc-post-actions [data-clean-view] .sc-icon { width: 23px; height: 23px; }
.sc-post-actions [data-clean-view][hidden] { display: none; }
.sc-viewer .sc-caption {
  position: absolute;
  inset: auto 84px calc(env(safe-area-inset-bottom) + 24px) calc(env(safe-area-inset-left) + 12px);
  z-index: 2;
  margin: 0;
  height: var(--sc-caption-height);
  max-height: var(--sc-caption-height);
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  color: #fff;
  background: #151515c9;
  border-radius: 12px;
  padding: 0 12px;
  font-size: 14px;
}
.sc-viewer .sc-viewer-loading {
  height: 100dvh;
  border-radius: 0;
}
.sc-viewer .sc-viewer-status {
  position: absolute;
  inset: calc(env(safe-area-inset-top) + 68px) 12px auto;
  z-index: 4;
  color: #fff;
  background: #151515d9;
  border-radius: 12px;
  min-height: 0;
  padding: 4px;
  font-size: 12px;
  pointer-events: none;
}
.sc-viewer .sc-viewer-status:empty {
  display: none;
}
.sc-viewer .sc-viewer-message {
  padding-top: 35dvh;
}
.sc-post-actions button {
  width: 48px;
  min-height: 48px;
  justify-content: center;
  border-radius: 50%;
  padding: 10px;
}
.sc-post-actions button .sc-icon {
  width: 26px;
  height: 26px;
}
/* Vertical post navigation. */
.sc-viewer .sc-feed {
  direction: ltr;
  overflow: hidden;
  /* Swiper owns vertical movement; focus must not scroll this viewport. */
  overflow: clip;
  touch-action: pan-x pinch-zoom;
}
.sc-viewer .sc-feed > .swiper-wrapper {
  height: 100%;
}
.sc-viewer .sc-post-frame {
  position: relative;
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  overflow: clip;
  direction: rtl;
}
.sc-viewer .sc-post-frame[aria-hidden=true] {
  pointer-events: none;
}
.sc-viewer .sc-caption {
  touch-action: pan-y pinch-zoom;
}
.sc-viewer .sc-feed-controls {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  z-index: 5;
}
.sc-viewer .sc-feed-controls:focus-within,
.sc-viewer .sc-feed-controls-fallback {
  inset: calc(env(safe-area-inset-top) + 76px) auto auto 12px;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip-path: none;
  display: flex;
  gap: 8px;
}
.sc-viewer .sc-feed-controls button {
  background: #181818e6;
  color: #fff;
  border: 0;
}
.swiper-notification {
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: none;
  opacity: 0;
  z-index: -1000;
}
.sc-viewer .sc-media-loading {
  display: grid;
  place-items: center;
  height: 100%;
  padding: 24px;
  background: #090909;
  color: #ccc;
  font-size: 14px;
}
/* Caption and interaction states. */
.sc-caption-collapsible:not(.sc-caption-expanded) p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.sc-caption p {
  margin: 0;
}
.sc-caption [hidden] {
  display: none !important;
}
.sc-page .sc-caption-toggle,
.sc-viewer .sc-caption-toggle {
  border: 0;
  background: transparent;
  padding: 4px 0;
  color: inherit;
  font-weight: 600;
  border-radius: 4px;
  min-height: 44px;
}
.sc-viewer .sc-caption {
  background: transparent;
  padding: 0;
  border-radius: 0;
  text-shadow: 0 1px 4px #000;
  line-height: 1.6;
}
.sc-viewer .sc-caption-collapsible p {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}
.sc-viewer .sc-caption-toggle { display: none; }
.sc-viewer .sc-caption:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.sc-viewer.sc-clean-view :is(.sc-viewer-header, .sc-publisher, .sc-post-actions, .sc-caption, .sc-feed-controls, .sc-viewer-status, .sc-photo-pagination, .sc-photo-count, .sc-swipe-guidance, button) {
  display: none;
}
.sc-viewer.sc-clean-view .sc-post-detail::after { display: none; }
.sc-viewer.sc-clean-view .sc-viewer-body { cursor: zoom-out; }
.sc-viewer .sc-post-detail::after {
  content: "";
  position: absolute;
  inset: 55% 0 0;
  background: linear-gradient(transparent, #0009);
  pointer-events: none;
}
.sc-viewer .sc-media-slide :is(img, video) {
  position: relative;
  z-index: 1;
}
.sc-post-actions button .sc-icon {
  transition: transform .15s ease, color .15s ease;
}
.sc-icon-share {
  fill: currentColor;
  stroke: none;
}
.sc-post-actions button[aria-pressed=true] .sc-icon {
  fill: currentColor;
  transform: scale(1.08);
}
.sc-post-actions button[data-like][aria-busy=true] {
  opacity: 1;
  cursor: pointer;
}
/* Store profile. */
.sc-profile-layout > main,
.english-site.sc-profile-layout > .urdu-main {
  padding-block-start: 0;
}
.sc-page.sc-profile-page {
  max-width: 780px;
  padding-block-start: 8px;
  --sc-profile-avatar-bg:var(--card-bg,#fff);
  background:
    radial-gradient(
      ellipse at 50% 100px,
      rgba(218, 181, 93, .14),
      rgba(218, 181, 93, .035) 48%,
      transparent 72%) center top/100% 360px no-repeat;
}
.sc-profile-header {
  position: relative;
  text-align: center;
  margin-block: 0 24px;
}
.sc-profile-header::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: min(200px, 45%);
  height: 1px;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(177, 133, 43, .55),
      transparent);
  pointer-events: none;
}
.sc-profile-header .sc-profile-identity {
  flex-direction: column;
  gap: 12px;
}
.sc-profile-header .sc-profile-identity :is(img, .sc-logo-fallback) {
  width: 96px;
  height: 96px;
}
.sc-profile-header h1 {
  font-size: clamp(22px, 5vw, 30px);
}
.sc-page .sc-profile-header .sc-social-links {
  justify-content: center;
  margin-block: 12px 0;
  gap: 8px;
}
.sc-profile-header .sc-social-links a {
  border: 0;
  background: transparent;
}
.sc-profile-header .sc-social-links img {
  width: 28px;
  height: 28px;
}
html[data-theme=night] .sc-social-links img[src$="/tiktok.svg"] {
  filter: invert(1);
}
.sc-profile-header .sc-bio {
  margin: 12px auto 0;
  font-size: 14px;
  line-height: 1.7;
}
.sc-page .sc-profile-share {
  position: absolute;
  inset-block-start: 0;
  inset-inline-end: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(184, 143, 53, .2);
  border-radius: 50%;
  padding: 0;
  background:
    linear-gradient(
      135deg,
      #fffaf0,
      #f6e7c3);
  color: #806021;
}
.sc-page .sc-profile-share:hover {
  border-color: #b88f35;
  background:
    linear-gradient(
      135deg,
      #fff5dd,
      #efdaa3);
}
.sc-profile-share .sc-icon {
  width: 24px;
  height: 24px;
}
.sc-profile-share[aria-busy=true] {
  opacity: .6;
}
.sc-profile-page .sc-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3px;
}
.sc-profile-page .sc-post-tile {
  aspect-ratio: 3/4;
  border-radius: 2px;
}
.sc-profile-page .sc-tile-kind {
  left: 6px;
  bottom: 6px;
  padding: 3px 5px;
}
.sc-profile-page .sc-post-tile:focus-visible {
  outline-offset: -3px;
  outline-width: 3px;
}
.sc-categories {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  max-width: 100%;
  padding-block: 4px 12px;
  margin-block: 0 8px;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
}
.sc-page .sc-categories button {
  flex: 0 0 auto;
  white-space: nowrap;
  border-radius: 24px;
  background: transparent;
  padding: 8px 16px;
  font-size: 14px;
}
.sc-page .sc-categories [aria-pressed=true] {
  background: var(--text,#202329);
  border-color: var(--text,#202329);
  color: var(--bg,#fff);
  font-weight: 700;
}
.sc-profile-page .sc-categories [aria-pressed=true] {
  background:
    linear-gradient(
      135deg,
      #fff2c9,
      #e4bf67);
  border-color: #c4a056;
  color: #493711;
}
.sc-categories button:focus-visible {
  outline-offset: -3px;
}
.sc-profile-page .sc-grid[aria-busy=true] {
  opacity: .5;
}
.sc-content-tools[hidden] {
  display: none;
}
.sc-feedback,
.sc-viewer-status {
  overflow-wrap: anywhere;
}
@media (min-width: 700px) {
  .sc-profile-header .sc-profile-identity :is(img, .sc-logo-fallback) {
    width: 112px;
    height: 112px;
  }
}
/* Horizontal photo gallery. */
.sc-gallery-shell {
  position: relative;
  min-width: 0;
}
.sc-gallery-shell .sc-gallery {
  direction: ltr;
  scrollbar-width: none;
}
.sc-gallery-shell .sc-gallery::-webkit-scrollbar {
  display: none;
}
.sc-photo-pagination {
  position: relative;
  display: flex;
  width: max-content;
  max-width: 100%;
  margin-inline: auto;
  padding-inline: 6px;
  border: 1px solid #ffffff36;
  border-radius: 999px;
  background: #161a22de;
  box-shadow: 0 2px 12px #0003;
  justify-content: center;
  direction: ltr;
  align-items: center;
  height: 44px;
  gap: 0;
  color: #fff;
}
.sc-photo-pagination::after {
  content: "";
  position: absolute;
  top: 50%;
  /* Centre one marker on the first 44px target, then move it by whole targets. */
  left: calc(6px + (44px - 22px) / 2);
  width: 22px;
  height: 8px;
  border-radius: 999px;
  background: #ffe1a0;
  transform: translateX(calc(var(--sc-photo-active, 0) * 44px)) translateY(-50%);
  transition: transform .18s ease-out;
  pointer-events: none;
  z-index: 1;
}
.sc-page .sc-photo-pagination button,
.sc-viewer .sc-photo-pagination button {
  display: grid;
  place-items: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  padding: 0;
  color: inherit;
}
.sc-photo-pagination button::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  opacity: .8;
  transition: opacity .15s ease;
}
.sc-photo-pagination button[aria-current=true]::before {
  opacity: 0;
}
@media (hover: hover) {
  .sc-photo-pagination button:not([aria-current=true]):hover::before {
    opacity: 1;
  }
}
.sc-photo-count {
  position: absolute;
  inset: 12px auto auto 50%;
  transform: translateX(-50%);
  z-index: 2;
  border-radius: 16px;
  padding: 5px 10px;
  color: white;
  background: #151515b8;
  font: 600 12px/1.4 system-ui, sans-serif;
  pointer-events: none;
}
.sc-viewer .sc-gallery-shell {
  width: 100%;
  height: 100%;
}
.sc-viewer .sc-photo-count {
  top: calc(env(safe-area-inset-top) + 100px);
}
.sc-viewer .sc-photo-pagination {
  position: absolute;
  bottom: calc(var(--sc-publisher-bottom) + 62px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: #fff;
  filter: drop-shadow(0 1px 2px #0009);
}
@media (prefers-reduced-motion: reduce) {
  .sc-photo-pagination::after,
  .sc-photo-pagination button::before {
    transition: none;
  }
}
/* First-time gesture guidance; it never intercepts touch or pointer events. */
.sc-swipe-guidance {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: calc(100% - 64px);
  box-sizing: border-box;
  padding: 12px 16px;
  border: 1px solid #ffffff40;
  border-radius: 18px;
  background: #161a22ed;
  box-shadow: 0 4px 24px #0004;
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.7;
  text-align: center;
  pointer-events: none;
}
.sc-swipe-guidance svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: #ffe1a0;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: sc-swipe-up 1.1s ease-in-out 3;
}
.sc-swipe-guidance-photos svg { animation-name: sc-swipe-left; }
@keyframes sc-swipe-up {
  0%, 100% { transform: translateY(4px); }
  50% { transform: translateY(-4px); }
}
@keyframes sc-swipe-left {
  0%, 100% { transform: translateX(4px); }
  50% { transform: translateX(-4px); }
}
@media (prefers-reduced-motion: reduce) {
  .sc-swipe-guidance svg { animation: none; }
}
.sc-media-loading {
  position: relative;
}
.sc-loading-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.sc-profile-avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  border: 2px solid transparent;
  background:
    linear-gradient(var(--sc-profile-avatar-bg), var(--sc-profile-avatar-bg)) padding-box,
    linear-gradient(
      135deg,
      #94702b,
      #e6c67a 25%,
      #fff1c4 45%,
      #b58a34 70%,
      #e6cb8b) border-box;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, .05), 0 6px 20px rgba(132, 93, 21, .1);
  overflow: hidden;
  box-sizing: border-box;
  padding: 10px;
}
.sc-profile-header .sc-profile-identity .sc-profile-avatar :is(img, .sc-logo-fallback) {
  position: absolute;
  inset: 10px;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  border-radius: 0;
  object-fit: contain;
}
@media (min-width: 700px) {
  .sc-profile-avatar {
    width: 120px;
    height: 120px;
  }
}
html[data-theme=night] .sc-profile-page {
  background-image:
    radial-gradient(
      ellipse at 50% 100px,
      rgba(218, 181, 93, .1),
      rgba(218, 181, 93, .025) 48%,
      transparent 72%);
}
html[data-theme=night] .sc-profile-avatar {
  box-shadow: 0 0 0 4px rgba(212, 175, 55, .06), 0 6px 20px rgba(0, 0, 0, .2);
}
html[data-theme=night] .sc-page .sc-profile-share {
  background:
    linear-gradient(
      135deg,
      #302b20,
      #25211a);
  border-color: rgba(212, 175, 55, .3);
  color: #edce88;
}
html[data-theme=night] .sc-page .sc-profile-share:hover {
  background:
    linear-gradient(
      135deg,
      #413720,
      #302819);
  border-color: #b88f35;
}
/* The hero retains its space while its existing identity becomes a contact bar. */
.sc-profile-header-slot { display: flow-root; }
.sc-profile-header.is-compact {
  position: fixed;
  top: 0;
  left: var(--sc-profile-bar-left);
  width: var(--sc-profile-bar-width);
  z-index: 110;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 44px;
  grid-template-rows: auto auto;
  direction: rtl;
  align-items: center;
  column-gap: 10px;
  padding: calc(8px + env(safe-area-inset-top)) 10px 6px;
  margin: 0;
  text-align: right;
  background: var(--bg, #fff);
  border-bottom: 1px solid var(--border-gold, #e2d9c8);
  border-radius: 0 0 14px 14px;
  box-shadow: 0 4px 14px #0000000a;
}
.sc-profile-header.is-compact::after { display: none; }
.sc-profile-header.is-compact .sc-profile-identity { display: contents; }
.sc-profile-header.is-compact .sc-profile-avatar {
  grid-column: 1;
  grid-row: 1 / 3;
  width: 52px;
  height: 52px;
  box-shadow: none;
}
.sc-profile-header.is-compact .sc-profile-avatar :is(img, .sc-logo-fallback) {
  inset: 5px;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
}
.sc-profile-header.is-compact h1 {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
}
.sc-profile-header.is-compact h1 bdi {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.sc-profile-header.is-compact .sc-bio { display: none; }
.sc-page .sc-profile-header.is-compact .sc-social-links {
  grid-column: 2 / 4;
  grid-row: 2;
  min-width: 0;
  margin: 0;
  justify-content: start;
  flex-wrap: nowrap;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  gap: 4px;
  padding: 3px;
}
.sc-profile-header.is-compact .sc-social-links a { flex: 0 0 44px; }
.sc-page .sc-profile-header.is-compact .sc-profile-share {
  position: static;
  grid-column: 3;
  grid-row: 1;
  background: transparent;
  border-color: transparent;
}
.sc-profile-page .sc-post-tile { scroll-margin-block-start: 116px; }
.sc-profile-footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 10px 12px;
  border-top: 1px solid var(--border, #e2d9c8);
  color: var(--text-muted, #626270);
  font-size: 12px;
  line-height: 1.6;
}
.sc-profile-footer a {
  display: inline-flex;
  direction: ltr;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  text-decoration: none;
  color: var(--text, #202329);
  font-size: 14px;
  font-weight: 700;
}
.sc-profile-footer a bdi span { color: var(--gold, #8c6c1f); }
.sc-profile-footer .ayg-logo {
  --logo-width: 32px;
  position: relative;
  display: inline-flex;
  flex: 0 0 32px;
  width: 32px;
  height: 22px;
}
.sc-profile-footer .ayg-logo__layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.sc-profile-footer p { margin: 0; max-width: 520px; text-align: center; }
.sc-placement-end{height:100%;width:100%;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:32px;text-align:center;color:#fff;background:#10131b}
.sc-placement-end>img{width:72px;height:72px;border-radius:50%;object-fit:contain;background:#fff;border:1px solid #c7a35b}
.sc-placement-end h2{margin:0;font-size:1.4rem;overflow-wrap:anywhere}
.sc-placement-end p{margin:0;color:#d0cbc1}
.sc-placement-end a,.sc-placement-end button{display:flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:44px;max-width:100%;width:220px;padding:10px 16px;border:1px solid #b99b5d;border-radius:24px;background:transparent;color:#fff;text-decoration:none;font:inherit;cursor:pointer}
.sc-placement-end .sc-placement-visit{background:#e2c789;color:#161616}
.sc-placement-end :is(a,button):focus-visible{outline:3px solid #fff;outline-offset:4px}
