/**
 * uniQ.me - small site-wide touches on the Nova theme (owner's fix list, 28 Oct 2026).
 * Plain CSS outside Tailwind's layers, so these rules win over the theme's utility classes.
 */

/* header buttons as on LIVE uniq.me: plain outline icons, no grey tiles (a soft tile only under the pointer / open) */
.site-topbar .site-topbar-icon {
  --button-bg: transparent;
  --button-bg-hover: color-mix(in oklab, var(--color-base-content) 6%, transparent);
  --button-bg-pressed: color-mix(in oklab, var(--color-base-content) 9%, transparent);
}
.site-topbar .site-topbar-icon[aria-expanded="true"] {
  --button-bg: color-mix(in oklab, var(--color-base-content) 6%, transparent);
}
/* the round header picture: the effect drawn around it stays visible */
.site-topbar .uq-topbar-avatar {
  overflow: visible;
}
.site-topbar .uq-topbar-avatar:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* the round profile picture: the edit button sits on the circle's lower right edge (not in the square's corner) */
.profile-avatar-wrapper.uq-avatar-round > .uq-avatar-edit {
  inset-inline-end: 4%;
  bottom: 4%;
}
/* with an effect drawn around the picture (20 % wider than it), the name column moves clear of it */
@media (min-width: 640px) {
  .profile-avatar-wrapper.uq-fx-host + div {
    padding-inline-start: 1.5rem;
  }
}

/* stickers chosen in the post publisher: pictures centred under the text, each with a red x (as on uniq.me) */
.uq-stk-preview {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  padding: 6px 16px 10px;
}
.uq-stk-preview__item {
  position: relative;
  width: 96px;
  height: 96px;
  border: 1px solid color-mix(in oklab, var(--color-base-content) 25%, transparent);
  border-radius: 4px;
  background: var(--color-base-100);
}
.uq-stk-preview__item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.uq-stk-preview__remove {
  position: absolute;
  top: -10px;
  inset-inline-end: -10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 5px;
  background: #f02d2d;
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.uq-stk-preview__remove:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
/* Edit Comment: the comment's stickers as small pictures above the words (R44) */
.uq-stk-preview--comment { justify-content: flex-start; gap: 12px; padding: 10px 6px 8px; }
.uq-stk-preview--comment .uq-stk-preview__item { width: 64px; height: 64px; }
/* a sticker being sent from a comment / reply / chat box: its ":STK-id:" never shows (R44) */
.uq-stk-sending { color: transparent !important; -webkit-text-fill-color: transparent; caret-color: transparent; }

/* the sticker picker uses the room it has (all 16 category tiles on a laptop or phone screen) instead of a short box
   that cut the tiles in half - in chat it looked cut off (owner's fix list) */
.emoji-menu [data-uq-stickers] {
  max-height: min(30.5rem, calc(100dvh - 15rem));
}

/* "Invite Friends to Join" card (left column): round share buttons in each network's colour */
.uq-invite__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  color: var(--color-base-content);
  transition: background-color .15s;
}
.uq-invite__btn:hover,
.uq-invite__btn:focus-visible {
  background: color-mix(in oklab, var(--color-base-content) 8%, transparent);
}

/* reels: each hashtag / mention in the caption is its own link (as on uniq.me) */
.uq-reel-caption a {
  cursor: pointer;
}
.uq-reel-caption a:hover,
.uq-reel-caption a:focus-visible {
  text-decoration: underline;
}

/* stickers in posts and comments: uniq.me's size - at most 100 px high, on their own line (centred in posts,
   e.g. on a colored post where the full-size picture filled the card) */
img.sticker {
  display: block;
  max-height: 100px;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
}
.comment img.sticker,
.chat-conversation img.sticker {
  margin: 0;
}

/* news feed reels: the play badge fades while the reel plays */
.uq-feed-reel-card .uq-feed-reel-play {
  transition: opacity .2s;
}
.uq-feed-reel-card.is-playing .uq-feed-reel-play {
  opacity: 0;
}

/* colored posts show the whole pattern, as on uniq.me (background-size 100% 100%), in the box's normal size - in the
   composer and in the feed; Nova's "cover" cut off the pattern's top and bottom (owner, 28 Oct 2026) */
.publisher-message.colored,
.post-colored {
  background-size: 100% 100% !important;
  background-repeat: no-repeat !important;
}

/* pop-up notifications (someone visited your profile, liked, commented ...) stand out from the page: a soft lavender
   gradient, a lavender edge and a deeper shadow (owner, 28 Oct 2026) */
.uq-toast {
  background: linear-gradient(135deg, #f4f0ff 0%, #e9e1ff 100%) !important;
  border-color: #cdbdfb !important;
  box-shadow: 0 10px 28px rgb(91 60 196 / .18), 0 2px 6px rgb(0 0 0 / .06) !important;
}
.uq-toast:hover {
  background: linear-gradient(135deg, #efe9ff 0%, #e2d7ff 100%) !important;
}
[data-theme$="-dark"] .uq-toast {
  background: linear-gradient(135deg, #2b2446 0%, #362b5c 100%) !important;
  border-color: #4b3d7d !important;
  box-shadow: 0 10px 28px rgb(0 0 0 / .45) !important;
}
[data-theme$="-dark"] .uq-toast:hover {
  background: linear-gradient(135deg, #312850 0%, #3d3168 100%) !important;
}
/* "it went through" pop-ups after a payment (owner 29 Oct 2026, includes/assets/js/core/uniq-done.js): the same lavender
   pop-up with a round check mark where the others have a profile picture; above the full-screen story composer while it
   is open (Buy Ad) */
body:has(.js_composer.group\/composer) .toast-container {
  z-index: 1090;
}
.uq-done-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #8b6cf6 0%, #5b3cc4 100%);
  color: #fff;
  box-shadow: 0 2px 6px rgb(91 60 196 / .3);
}
.uq-done-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

/* chat voice messages (owner 29 Oct 2026): the text bubble, a round play button, a waveform to tap / drag, and
   WhatsApp's speed pill in place of the microphone while it plays (includes/assets/js/core/uniq-voice.js) */
.uq-voice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-block: 8px;
  padding-inline: 8px 14px;
  min-height: 52px;
  --uq-bar: color-mix(in oklab, currentColor 34%, transparent);
  --uq-bar-on: currentColor;
}
.uq-voice--theirs, .uq-voice--comment, .uq-voice--post { --uq-bar-on: var(--color-primary); }
.uq-voice-lead, .uq-voice-speed, .uq-voice-play { flex: none; }
.uq-voice-lead {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  background: color-mix(in oklab, currentColor 14%, transparent);
}
.uq-voice-speed {
  display: none;
  min-width: 42px;
  height: 26px;
  padding: 0 9px;
  border: 0;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 26px;
  font-variant-numeric: tabular-nums;
  color: inherit;
  background: color-mix(in oklab, currentColor 20%, transparent);
  cursor: pointer;
}
.uq-voice-speed:hover { background: color-mix(in oklab, currentColor 28%, transparent); }
.uq-voice.is-active .uq-voice-lead { display: none; }
.uq-voice.is-active .uq-voice-speed { display: block; }
.uq-voice-play {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 9999px;
  color: inherit;
  background: color-mix(in oklab, currentColor 20%, transparent);
  cursor: pointer;
  transition: transform .12s ease, background-color .12s ease;
}
.uq-voice-play:hover { background: color-mix(in oklab, currentColor 28%, transparent); }
.uq-voice--theirs .uq-voice-play, .uq-voice--comment .uq-voice-play, .uq-voice--post .uq-voice-play { color: var(--color-primary-content); background: var(--color-primary); }
.uq-voice--theirs .uq-voice-play:hover, .uq-voice--comment .uq-voice-play:hover, .uq-voice--post .uq-voice-play:hover { background: color-mix(in oklab, var(--color-primary) 88%, black); }
.uq-voice-play:active { transform: scale(.94); }
.uq-voice-i-play { margin-inline-start: 2px; }
.uq-voice-i-pause, .uq-voice.is-playing .uq-voice-i-play { display: none; }
.uq-voice.is-playing .uq-voice-i-pause { display: block; }
.uq-voice-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.uq-voice-wave {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 26px;
  cursor: pointer;
  touch-action: none;
  border-radius: 4px;
}
.uq-voice-wave:focus-visible, .uq-voice-play:focus-visible, .uq-voice-speed:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.uq-voice-bar { flex: 0 0 3px; border-radius: 2px; background: var(--uq-bar); transition: background-color .15s linear; }
.uq-voice-bar.is-played { background: var(--uq-bar-on); }
.uq-voice-knob {
  position: absolute;
  top: 50%;
  inset-inline-start: 0;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  margin-inline-start: -6px;
  border-radius: 9999px;
  background: var(--uq-bar-on);
  pointer-events: none;
}
.uq-voice-time { font-size: 11px; line-height: 1; opacity: .78; font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) {
  .uq-voice-play, .uq-voice-bar { transition: none; }
}

/* "Tap to translate" as on uniq.me (its style.css): quiet grey 10px, lighter grey at night */
.conversation-body .translate { color: #605f5f; font-size: 10px; font-weight: 400; margin-top: 2px; }
[data-theme$="-dark"] .conversation-body .translate { color: #999; }
/* a narrow bubble (phone, small chat window): tighter, so the waveform keeps its room */
.uq-voice { min-width: 0; }
.uq-voice-wave { overflow: hidden; }
.uq-voice.is-narrow { gap: 8px; padding-inline: 6px 10px; }
.uq-voice.is-narrow .uq-voice-lead { width: 30px; height: 30px; }
.uq-voice.is-narrow .uq-voice-play { width: 34px; height: 34px; }
.uq-voice.is-narrow .uq-voice-speed { min-width: 36px; padding: 0 6px; font-size: 11px; }

/* voice notes in comments and voice-note posts (R25): the chat player; in a comment it sits in the comment bubble and
   takes its colours (no second bubble), a post shows the light voice bubble across the post */
.uq-voice.uq-voice--comment { padding: 0; min-height: 0; background: transparent; }
.uq-voice--post { min-height: 56px; }

/* post box: with a photo / video / reel / file or link preview attached, Sngine 5 shrinks the text to one line; two
   lines keep it clearly a place to type (owner 29 Oct 2026, R29) */
#modal .publisher:has(.publisher-scraper:not(:empty), .publisher-attachments li) .ql-editor { min-height: 3rem; }

/* Create Post window: the whole window scrolls, down to Post. Only its lower strip did; a colored background and a sticker
   left that strip ~90 px on a laptop and scrolling over the picture moved nothing (owner 29 Oct 2026, R40) */
#modal .publisher[data-modal-mode] { overflow-y: auto; overscroll-behavior: contain; }
#modal .publisher[data-modal-mode] .publisher-slider { flex: 1 0 auto; min-height: auto; overflow-y: visible; }

/* link previews in comments (owner 29 Oct 2026, R41; __uq_comment_link.tpl): under the bubble, the picture on the left,
   the site in capitals and the title, the round "i" in the top corner; a YouTube picture with a play button */
.uq-clink { position: relative; max-width: 34rem; margin: .375rem 0 .125rem; }
.uq-clink-card {
  display: flex;
  min-height: 5.5rem;
  overflow: hidden;
  border: 1px solid color-mix(in oklab, var(--color-base-content) 16%, transparent);
  border-radius: 1rem;
  background: var(--color-base-100);
  color: var(--color-base-content);
  text-decoration: none;
  transition: background-color .15s;
}
.uq-clink-card:hover { background: color-mix(in oklab, var(--color-base-content) 4%, var(--color-base-100)); }
.uq-clink-thumb {
  position: relative;
  display: grid;
  flex: 0 0 min(7.5rem, 32%);
  place-items: center;
  background: color-mix(in oklab, var(--color-base-content) 8%, var(--color-base-100)) center / cover no-repeat;
}
[data-uq-clink-youtube] .uq-clink-thumb { cursor: pointer; }
.uq-clink-play {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 9999px;
  background: rgb(0 0 0 / .45);
  box-shadow: 0 2px 8px rgb(0 0 0 / .3);
}
.uq-clink-play::before {
  content: '';
  margin-inline-start: 4px;
  border-style: solid;
  border-width: .5rem 0 .5rem .8rem;
  border-color: transparent transparent transparent #fff;
}
.uq-clink-globe {
  width: 1.75rem;
  height: 1.75rem;
  border: 2px solid color-mix(in oklab, var(--color-base-content) 45%, transparent);
  border-radius: 9999px;
  background: linear-gradient(color-mix(in oklab, var(--color-base-content) 45%, transparent), color-mix(in oklab, var(--color-base-content) 45%, transparent)) center / 2px 100% no-repeat;
}
.uq-clink-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  gap: .25rem;
  padding: .625rem 2.5rem .625rem .75rem;
}
.uq-clink-host {
  overflow: hidden;
  font-size: .75rem;
  letter-spacing: .02em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
  color: color-mix(in oklab, var(--color-base-content) 60%, transparent);
}
.uq-clink-title {
  display: -webkit-box;
  overflow: hidden;
  font-size: .9375rem;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow-wrap: anywhere;
  color: var(--color-base-content);
}
.uq-clink-info {
  position: absolute;
  top: .375rem;
  inset-inline-end: .375rem;
  display: grid;
  width: 1.75rem;
  height: 1.75rem;
  place-items: center;
  border: 1px solid color-mix(in oklab, var(--color-base-content) 16%, transparent);
  border-radius: 9999px;
  background: var(--color-base-100);
  color: var(--color-base-content);
  font: italic 700 .9375rem/1 Georgia, 'Times New Roman', serif;
  cursor: pointer;
}
.uq-clink-info:hover,
.uq-clink-info[aria-expanded="true"] { background: color-mix(in oklab, var(--color-base-content) 8%, var(--color-base-100)); }
.uq-clink-about {
  margin-top: .375rem;
  padding: .5rem .75rem;
  border-radius: .75rem;
  background: color-mix(in oklab, var(--color-base-content) 6%, var(--color-base-100));
  font-size: .75rem;
  line-height: 1.4;
}
.uq-clink-about-host { font-weight: 600; text-transform: uppercase; }
.uq-clink-about-url { margin: .125rem 0 .25rem; overflow-wrap: anywhere; color: color-mix(in oklab, var(--color-base-content) 70%, transparent); }
.uq-clink-about-open { font-weight: 600; color: var(--color-primary); }
.uq-clink-video { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 1rem; background: #000; }
.uq-clink-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.reply .uq-clink-card { min-height: 4.75rem; }
@media (max-width: 480px) {
  .uq-clink-card { min-height: 4.75rem; }
  .uq-clink-title { font-size: .875rem; }
}

/* feed reels: the speaker button (top right of the reel; uniq-feed-reels.js, owner 29 Oct 2026, R30) */
.uq-feed-reel-sound {               /* as the Reels page's mute button (__feeds_reel.tpl): round, black 35 % */
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 9999px;
  color: #fff;
  background: rgba(0, 0, 0, .35);
  cursor: pointer;
  transition: background-color .15s ease, transform .12s ease;
}
[dir="rtl"] .uq-feed-reel-sound { right: auto; left: 12px; }
.uq-feed-reel-sound:hover { background: rgba(0, 0, 0, .55); }
.uq-feed-reel-sound:active { transform: scale(.94); }
.uq-feed-reel-sound:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.uq-feed-reel-sound .uq-feed-reel-sound-on, .uq-feed-reel-sound[aria-pressed="false"] .uq-feed-reel-sound-off { display: block; }
.uq-feed-reel-sound .uq-feed-reel-sound-off, .uq-feed-reel-sound[aria-pressed="false"] .uq-feed-reel-sound-on { display: none; }
@media (prefers-reduced-motion: reduce) { .uq-feed-reel-sound { transition: none; } }

/* Safari stops drawing the post box's caret once a video / reel preview is in the window; the text on its own drawing
   layer gets it back (owner's recording, 29 Oct 2026, R29) */
.publisher .ql-editor { will-change: transform; }

/* the "uniQ.me" wordmark in the header as on uniq.me: Poppins 600 (LIVE style.css .main-header .logo), in the header's
   black (owner 29 Oct 2026, R31); the theme carries Poppins (fonts/poppins, as the front page) */
@font-face { font-family: "UqPoppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/poppins/Poppins-SemiBold.ttf") format("truetype"); }
.uq-wordmark {
  font-family: "UqPoppins", Poppins, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: 0;
}

/* Create story: a quiet Buy Ad when no Ads Story is left (owner 29 Oct 2026: "not very bright and distracting button
   Buy Ad with the icon in front of it") - muted text, a small lavender icon square; the theme's .hidden is layered, so
   it is repeated here */
.uq-ads-buy {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .3rem .8rem .3rem .3rem;
  border: 1px solid color-mix(in oklab, currentColor 12%, transparent);
  border-radius: 9999px;
  background: transparent;
  color: color-mix(in oklab, currentColor 62%, transparent);
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.25rem;
  cursor: pointer;
  transition: color .15s, border-color .15s, background-color .15s;
}
.uq-ads-buy:hover,
.uq-ads-buy:focus-visible {
  border-color: #cdbdfb;
  background: #f7f4ff;
  color: #5b3cc4;
}
.uq-ads-buy-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: .55rem;
  background: #efeaff;
  color: #6d4fd8;
}
.uq-ads-buy-icon > span {
  width: 1rem;
  height: 1rem;
}
.uq-ads-buy-confirm {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem .75rem;
  padding: .75rem 1rem;
  border: 1px solid #e4dcfd;
  border-radius: 1.25rem;
  background: #faf8ff;
  font-size: .875rem;
}
.uq-ads-buy-text {
  flex: 1 1 12rem;
  min-width: 0;
  color: color-mix(in oklab, currentColor 75%, transparent);
}
.uq-ads-buy-actions {
  display: flex;
  gap: .5rem;
  margin-inline-start: auto;
}
.uq-ads-buy.hidden,
.uq-ads-buy-confirm.hidden {
  display: none;
}
[data-theme$="-dark"] .uq-ads-buy:hover,
[data-theme$="-dark"] .uq-ads-buy:focus-visible {
  border-color: #4b3d7d;
  background: rgb(139 108 246 / .12);
  color: #c9bafc;
}
[data-theme$="-dark"] .uq-ads-buy-icon {
  background: rgb(139 108 246 / .18);
  color: #b9a6fb;
}
[data-theme$="-dark"] .uq-ads-buy-confirm {
  border-color: #4b3d7d;
  background: rgb(139 108 246 / .08);
}

/* profile: SUBSCRIBED once the viewer has subscribed, written like SUBSCRIBE FOR (owner 29 Oct 2026) */
.uq-subscribed {
  text-transform: uppercase;
}

/* story viewer: share, as on Instagram (owner 29 Oct 2026; _js_templates.stories.tpl, uniq-stories.js) - the paper plane
   for stories that may be passed on, and its sheet: search, people, Send, Add to story, Copy link, WhatsApp, Share to */
.uq-story-share {
  display: none;
}
.js_story-viewer[data-uq-share="true"] .uq-story-share {
  display: flex;
}
.uq-share-backdrop {
  display: none;
}
.js_story-viewer[data-uq-sheet="true"] .uq-share-backdrop {
  display: block;
}
.uq-share-sheet {
  visibility: hidden;
  transform: translateY(100%);
  transition: transform .3s ease, visibility 0s linear .3s;
}
.js_story-viewer[data-uq-sheet="true"] .uq-share-sheet {
  visibility: visible;
  transform: none;
  transition: transform .3s ease;
}
.uq-share-top {
  display: flex;
  flex: none;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1rem .75rem;
}
.uq-share-search {
  display: flex;
  flex: 1;
  align-items: center;
  gap: .5rem;
  height: 2.75rem;
  padding: 0 1rem;
  border-radius: 9999px;
  background: color-mix(in oklab, currentColor 7%, transparent);
}
.uq-share-search > span {
  flex: none;
  opacity: .55;
}
.uq-share-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: inherit;
  font-size: 1rem;
}
.uq-share-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: .25rem .75rem .75rem;
}
.uq-share-people {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem .5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 480px) {
  .uq-share-people {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.uq-share-person {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  padding: .25rem;
  border: 0;
  border-radius: 1rem;
  background: none;
  color: inherit;
  cursor: pointer;
}
.uq-share-pic {
  position: relative;
  width: 4.5rem;
  height: 4.5rem;
}
.uq-share-pic img {
  width: 100%;
  height: 100%;
  border-radius: 9999px;
  object-fit: cover;
}
.uq-share-person[aria-pressed="true"] .uq-share-pic img {
  outline: 3px solid #7c5cf0;
  outline-offset: 2px;
}
.uq-share-tick {
  position: absolute;
  inset-inline-end: -2px;
  bottom: -2px;
  display: none;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border: 2px solid #fff;
  border-radius: 9999px;
  background: #6d4fd8;
  color: #fff;
}
.uq-share-person[aria-pressed="true"] .uq-share-tick {
  display: grid;
}
.uq-share-tick > span {
  width: .85rem;
  height: .85rem;
}
.uq-share-name {
  display: -webkit-box;
  max-width: 100%;
  overflow: hidden;
  font-size: .8rem;
  line-height: 1.15;
  text-align: center;
  word-break: break-word;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.uq-share-empty {
  padding: 2rem 1rem;
  font-size: .875rem;
  text-align: center;
  opacity: .6;
}
.uq-share-foot {
  flex: none;
  padding: .75rem 1rem;
  border-top: 1px solid color-mix(in oklab, currentColor 10%, transparent);
}
.uq-share-send {
  width: 100%;
  margin-bottom: .75rem;
}
.uq-share-row {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.uq-share-action {
  display: flex;
  flex: none;
  width: 4.75rem;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  border: 0;
  background: none;
  color: inherit;
  font-size: .75rem;
  line-height: 1.15;
  text-align: center;
  cursor: pointer;
}
.uq-share-action:disabled {
  opacity: .6;
}
.uq-share-circle {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background: color-mix(in oklab, currentColor 8%, transparent);
  transition: background-color .15s;
}
.uq-share-action:hover .uq-share-circle {
  background: color-mix(in oklab, currentColor 14%, transparent);
}
.uq-share-circle > span {
  width: 1.5rem;
  height: 1.5rem;
}
.uq-share-circle.uq-share-wa,
.uq-share-action:hover .uq-share-circle.uq-share-wa {
  background: #25d366;
  color: #fff;
}
.uq-share-send.hidden,
.uq-share-action.hidden,
.uq-share-empty.hidden {
  display: none;
}
[data-theme$="-dark"] .uq-share-tick {
  border-color: #1d1d1f;
}

/* YouTube in a post (owner 29 Oct 2026: "youtube plays weird does not fit into the block"): after the tap the player
   fills the black 16:9 block - Sngine 5 put an iframe without a size there, so it stayed 300 x 150 in its corner */
.js_youtube-player > iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Trending: at most three rows of hashtags (owner 29 Oct 2026: "make sure in Trending we only have three rows of trending
   hashtags and that's it"); a row is the hashtag (text-sm, 1.25rem) and its count (text-xs, 1rem), rows 0.625rem apart.
   clip, not hidden: a hidden one would scroll to a cut-off link that gets the keyboard focus */
.uq-trending-tags {
  max-height: calc(3 * 2.25rem + 2 * .625rem);
  overflow: hidden;
  overflow: clip;
}

/* story viewer: the bottom strip (reactions, reply, "Seen by") takes taps only on its own controls; the rest reaches the
   story - a shared story's @mention or a link sticker near the bottom opens (owner 29 Oct 2026) */
.uq-story-footer {
  pointer-events: none;
}
.uq-story-footer button,
.uq-story-footer form,
.uq-story-footer input,
.uq-story-footer a {
  pointer-events: auto;
}

/* PRO Users: the Upgrade crown in the header's corner with the arrows under it, instead of the big purple button (owner
   29 Oct 2026: "not too big and not too small", "put the sliders lower and bring the upgrade icon on top there") - a 22 px
   crown in uniq.me's purple, a 36 px round touch area that tints on hover */
.uq-pro-corner {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: flex-end;
  gap: .25rem;
}
.uq-pro-upgrade {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  /* the crown's right edge lines up with the arrows; its touch area reaches past them */
  margin-top: -.4375rem;
  margin-inline-end: -.4375rem;
  border-radius: 9999px;
  font-weight: 600;
  color: var(--color-primary, #4f39f6);
  transition: background-color .15s, transform .15s;
}
.uq-pro-upgrade:hover,
.uq-pro-upgrade:focus-visible {
  background: color-mix(in oklab, var(--color-primary, #4f39f6) 12%, transparent);
  transform: scale(1.06);
}
.uq-pro-upgrade-icon {
  width: 1.375rem;
  height: 1.375rem;
}

/* a reel's Share window (owner 29 Oct 2026, R47; ajax.share.publisher.tpl): the story share sheet's people and round
   buttons, inside the window - two rows of people (more by scrolling), then Your story, Copy link and the apps */
.uq-reel-share { display: flex; flex-direction: column; gap: .625rem; min-width: 0; }
.uq-reel-share .uq-share-search { height: 2.5rem; }
.uq-reel-people { grid-template-columns: repeat(auto-fill, minmax(5.25rem, 1fr)) !important; max-height: 15rem; overflow-y: auto; overscroll-behavior: contain; padding: .25rem 0 !important; }
.uq-reel-people .uq-share-pic { width: 3.75rem; height: 3.75rem; }
.uq-reel-share .uq-share-send { margin: 0; }
.uq-reel-row { flex-wrap: wrap; gap: .75rem .5rem; overflow: visible; padding: .25rem 0 .125rem; }
.uq-reel-row .uq-share-action { width: 4.25rem; color: var(--color-base-content) !important; text-decoration: none; }
.uq-reel-row .uq-share-circle { width: 3.25rem; height: 3.25rem; }
.uq-reel-story-circle { background: linear-gradient(135deg, #f9ce34, #ee2a7b 55%, #6228d7) !important; color: #fff; }
.uq-reel-status { min-height: 1.25rem; font-size: .8125rem; font-weight: 600; color: var(--color-primary); opacity: 0; transition: opacity .2s; }
.uq-reel-status.is-shown { opacity: 1; }

/* a reel sent in chat: its picture, a play button, its author */
.uq-chat-reel, .uq-chat-reel * { color: #fff !important; }
.uq-chat-reel { position: relative; display: block; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 1rem; background: #111; color: #fff; text-decoration: none; }
.uq-chat-reel img { width: 100%; height: 100%; object-fit: cover; }
.uq-chat-reel-play { position: absolute; top: 50%; left: 50%; display: grid; width: 2.75rem; height: 2.75rem; place-items: center; border: 2px solid #fff; border-radius: 9999px; background: rgb(0 0 0 / .45); transform: translate(-50%, -50%); }
.uq-chat-reel-play::before { content: ''; margin-inline-start: 4px; border-style: solid; border-width: .5rem 0 .5rem .8rem; border-color: transparent transparent transparent #fff; }
.uq-chat-reel-by { color: #fff !important; position: absolute; inset-inline: 0; bottom: 0; display: flex; align-items: center; gap: .25rem; padding: 1.5rem .625rem .5rem; background: linear-gradient(transparent, rgb(0 0 0 / .65)); font-size: .75rem; font-weight: 600; }

/* a post sent in chat (R48, __feeds_message.tpl): its author, its first picture, the start of its words (a block box,
   the words' room as margins: WebKit clips a clamped text only at its padding edge) */
.uq-chat-post { display: block; overflow: hidden; border: 1px solid var(--color-base-300); border-radius: 1rem; background: var(--color-base-100); color: var(--color-base-content) !important; text-decoration: none !important; transition: background-color .15s; }
a.uq-chat-post:hover { background: var(--color-base-200); }
.uq-chat-post-by { display: flex; min-width: 0; align-items: center; gap: .5rem; padding: .5rem .625rem; font-size: .8125rem; font-weight: 600; }
.uq-chat-post-by img { width: 1.75rem; height: 1.75rem; flex: none; border-radius: 9999px; object-fit: cover; }
.uq-chat-post-pic { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--color-base-200); }
.uq-chat-post-pic img { width: 100%; height: 100%; object-fit: cover; }
.uq-chat-post-text { display: -webkit-box; overflow: hidden; margin: .5rem .625rem .625rem; font-size: .8125rem; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow-wrap: anywhere; }
.uq-chat-post-pic + .uq-chat-post-text { -webkit-line-clamp: 2; }
.uq-chat-post-gone { display: flex; align-items: center; gap: .5rem; padding: .625rem .75rem; color: color-mix(in oklab, var(--color-base-content) 60%, transparent) !important; font-size: .8125rem; }

/* a reel in a story: "Watch full reel" under the name, as on Instagram */
.uq-story-reel { pointer-events: auto; display: inline-flex; max-width: 100%; align-items: center; gap: .25rem; margin-top: .25rem; padding: .2rem .55rem .2rem .45rem; border-radius: .5rem; background: rgb(0 0 0 / .35); color: #fff !important; font-size: .8125rem; font-weight: 600; text-decoration: none; backdrop-filter: blur(4px); }
.uq-story-reel:hover { background: rgb(0 0 0 / .5); }
.uq-story-reel.hidden { display: none; }

/* stories: Location, as on Instagram (owner 29 Oct 2026, R49) - the composer's sheet, and the sticker: a white tag,
   a pin and the place in capitals in Instagram's colours */
.js_composer[data-panel="location"] .uq-composer-location-sheet { visibility: visible; translate: 0 0; }
.uq-story-location { display: inline-flex; max-width: 86%; align-items: center; gap: .3em; padding: .42em .75em .42em .5em; border-radius: .45em; background: rgb(255 255 255 / .97); box-shadow: 0 .4em 1em rgb(0 0 0 / .25); font-weight: 800; line-height: 1; letter-spacing: .01em; text-decoration: none !important; text-transform: uppercase; white-space: nowrap; }
.uq-story-location-pin { width: 1.15em; height: 1.15em; flex: none; color: #c13584; }
.uq-story-location-name { overflow: hidden; padding: .08em 0; text-overflow: ellipsis; background: linear-gradient(90deg, #833ab4, #c13584 45%, #e1306c 70%, #f77737); -webkit-background-clip: text; background-clip: text; color: transparent !important; -webkit-text-fill-color: transparent; }

/* the music player of an uploaded audio file (owner 29 Oct 2026, R51; __uq_music_player.tpl, uniq-music.js): the cover
   (or a music tile) with equaliser bars while it plays, the title and artist, a seek bar with both times, a big round
   play button in the site's purple; the cover, blurred, tints the card */
.uq-music {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 4.75rem minmax(0, 1fr) 3.5rem;
  align-items: center;
  gap: .875rem;
  overflow: hidden;
  padding: .75rem .875rem .75rem .75rem;
  border: 1px solid color-mix(in oklab, var(--color-primary) 18%, transparent);
  border-radius: 1.25rem;
  background: linear-gradient(120deg, color-mix(in oklab, var(--color-primary) 13%, var(--color-base-100)), color-mix(in oklab, #d946ef 9%, var(--color-base-100)));
  color: var(--color-base-content);
}
.uq-music-backdrop {
  position: absolute;
  inset: -2rem;
  z-index: -2;
  background: center / cover no-repeat;
  filter: blur(28px) saturate(1.3);
  opacity: .55;
}
.uq-music.has-cover::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: color-mix(in oklab, var(--color-base-100) 72%, transparent);
}
.uq-music-cover {
  position: relative;
  display: grid;
  width: 4.75rem;
  height: 4.75rem;
  place-items: center;
  overflow: hidden;
  border-radius: .875rem;
  background: linear-gradient(135deg, #7c5cf0, #b44fd8 60%, #ec4899);
  color: #fff;
  box-shadow: 0 .5rem 1.25rem color-mix(in oklab, var(--color-primary) 30%, transparent);
}
.uq-music-cover img { width: 100%; height: 100%; object-fit: cover; }
.uq-music-note { width: 2rem; height: 2rem; }
.uq-music-eq {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  display: flex;
  height: 1.75rem;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  padding-bottom: .35rem;
  background: linear-gradient(transparent, rgb(0 0 0 / .45));
  opacity: 0;
  transition: opacity .2s;
}
.uq-music-eq i { display: block; width: 3px; height: 35%; border-radius: 2px; background: #fff; }
.uq-music.is-playing .uq-music-eq { opacity: 1; }
.uq-music.is-playing .uq-music-eq i { animation: uq-music-eq .9s ease-in-out infinite alternate; }
.uq-music.is-playing .uq-music-eq i:nth-child(2) { animation-delay: -.45s; animation-duration: .7s; }
.uq-music.is-playing .uq-music-eq i:nth-child(3) { animation-delay: -.2s; animation-duration: 1.05s; }
.uq-music.is-playing .uq-music-eq i:nth-child(4) { animation-delay: -.65s; animation-duration: .8s; }
@keyframes uq-music-eq { from { height: 20%; } to { height: 95%; } }
.uq-music-main { display: flex; min-width: 0; flex-direction: column; gap: .125rem; }
.uq-music-title { overflow: hidden; font-size: 1rem; font-weight: 700; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.uq-music-artist { overflow: hidden; font-size: .8125rem; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; color: color-mix(in oklab, var(--color-base-content) 65%, transparent); }
.uq-music-progress { display: flex; align-items: center; gap: .5rem; margin-top: .5rem; }
.uq-music-time { flex: none; min-width: 2.25rem; font-size: .6875rem; font-variant-numeric: tabular-nums; color: color-mix(in oklab, var(--color-base-content) 60%, transparent); }
.uq-music-time:last-child { text-align: end; }
.uq-music-bar { position: relative; flex: 1; height: 1.25rem; cursor: pointer; touch-action: none; outline: none; }
.uq-music-bar::before { content: ''; position: absolute; inset-inline: 0; top: 50%; height: 5px; border-radius: 9999px; background: color-mix(in oklab, var(--color-base-content) 14%, transparent); transform: translateY(-50%); }
.uq-music-fill { position: absolute; inset-inline-start: 0; top: 50%; width: 0; height: 5px; border-radius: 9999px; background: linear-gradient(90deg, #7c5cf0, #c04fd8); transform: translateY(-50%); }
.uq-music-knob { position: absolute; top: 50%; inset-inline-start: 0; width: .875rem; height: .875rem; border: 2px solid #7c5cf0; border-radius: 9999px; background: #fff; box-shadow: 0 1px 4px rgb(0 0 0 / .25); transform: translate(-50%, -50%) scale(0); transition: transform .15s; }
[dir="rtl"] .uq-music-knob { transform: translate(50%, -50%) scale(0); }
.uq-music:hover .uq-music-knob, .uq-music.is-playing .uq-music-knob, .uq-music.is-seeking .uq-music-knob, .uq-music-bar:focus-visible .uq-music-knob { transform: translate(-50%, -50%) scale(1); }
[dir="rtl"] .uq-music:hover .uq-music-knob, [dir="rtl"] .uq-music.is-playing .uq-music-knob, [dir="rtl"] .uq-music.is-seeking .uq-music-knob { transform: translate(50%, -50%) scale(1); }
.uq-music-bar:focus-visible::before { outline: 2px solid var(--color-primary); outline-offset: 3px; }
.uq-music-play {
  display: grid;
  width: 3.5rem;
  height: 3.5rem;
  place-items: center;
  border: 0;
  border-radius: 9999px;
  background: linear-gradient(135deg, #7c5cf0, #b44fd8);
  color: #fff;
  box-shadow: 0 .4rem 1rem color-mix(in oklab, #7c5cf0 45%, transparent);
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
}
.uq-music-play:hover { transform: scale(1.06); }
.uq-music-play:active { transform: scale(.96); }
.uq-music-play:focus-visible { outline: 3px solid color-mix(in oklab, #7c5cf0 50%, transparent); outline-offset: 2px; }
.uq-music-play svg { width: 1.5rem; height: 1.5rem; }
.uq-music-i-play { margin-inline-start: 3px; }
.uq-music-i-pause, .uq-music.is-playing .uq-music-i-play { display: none; }
.uq-music.is-playing .uq-music-i-pause { display: block; }
@media (max-width: 480px) {
  .uq-music { grid-template-columns: 3.75rem minmax(0, 1fr) 3rem; gap: .625rem; padding: .625rem; }
  .uq-music-cover { width: 3.75rem; height: 3.75rem; }
  .uq-music-play { width: 3rem; height: 3rem; }
  .uq-music-title { font-size: .9375rem; }
}
@media (prefers-reduced-motion: reduce) {
  .uq-music.is-playing .uq-music-eq i { animation: none; height: 60%; }
}

/* a post sent in chat, in full (owner 29 Oct 2026, R52; __uq_chat_post.tpl): its words (a long text: See more), every
   photo (four, then +N), a playable video, a colored background, audio, a link's card; a reel shows its first frame */
.uq-chat-post--full { display: flex; flex-direction: column; }
.uq-chat-post--full .uq-chat-post-by { color: var(--color-base-content) !important; text-decoration: none; }
.uq-chat-post-words { padding: 0 .75rem .625rem; }
.uq-chat-post-text--full { display: block; max-height: 9.6rem; margin: 0; overflow: hidden; font-size: .875rem; line-height: 1.4; overflow-wrap: anywhere; -webkit-line-clamp: unset; }
.uq-chat-post-text--full.is-open { max-height: none; }
.uq-see-more { margin-top: .25rem; padding: 0; border: 0; background: none; color: var(--color-primary); font-size: .8125rem; font-weight: 600; cursor: pointer; }
.uq-see-more[hidden] { display: none; }
.uq-chat-post-colored { display: grid; min-height: 12rem; place-items: center; padding: 1.25rem; background: center / cover no-repeat; font-size: 1.0625rem; font-weight: 700; line-height: 1.35; text-align: center; text-decoration: none; }
.uq-chat-post-colored-text { max-height: 12rem; overflow: auto; overflow-wrap: anywhere; }
.uq-chat-reel video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.uq-chat-post-reel { width: 9rem; margin: 0 .75rem .75rem; }
.uq-chat-post-video { display: block; width: 100%; max-height: 22rem; background: #000; }
.uq-chat-post-photos { display: grid; gap: 2px; background: var(--color-base-200); }
.uq-chat-post-photos--2, .uq-chat-post-photos--3, .uq-chat-post-photos--4 { grid-template-columns: 1fr 1fr; }
.uq-chat-post-photo { position: relative; display: block; aspect-ratio: 1; overflow: hidden; }
.uq-chat-post-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.uq-chat-post-photos--1 .uq-chat-post-photo { aspect-ratio: auto; }
.uq-chat-post-photos--1 .uq-chat-post-photo img { height: auto; max-height: 22rem; }
.uq-chat-post-photos--3 .uq-chat-post-photo:first-child { grid-column: span 2; aspect-ratio: 2 / 1; }
.uq-chat-post-more { position: absolute; inset: 0; display: grid; place-items: center; background: rgb(0 0 0 / .45); color: #fff; font-size: 1.25rem; font-weight: 700; }
.uq-chat-post-audio { padding: 0 .5rem .5rem; }
.uq-chat-post-audio .uq-music { grid-template-columns: 3.25rem minmax(0, 1fr) 2.75rem; gap: .5rem; padding: .5rem; }
.uq-chat-post-audio .uq-music-cover { width: 3.25rem; height: 3.25rem; }
.uq-chat-post-audio .uq-music-play { width: 2.75rem; height: 2.75rem; }
.uq-chat-post-pic--wide { aspect-ratio: 16 / 10; }
.uq-chat-post-link { display: flex; flex-direction: column; gap: .125rem; margin: .5rem .75rem .75rem; padding: .5rem .625rem; border-radius: .75rem; background: var(--color-base-200); color: var(--color-base-content) !important; text-decoration: none; }
.uq-chat-post-link-host { font-size: .6875rem; text-transform: uppercase; opacity: .6; }
.uq-chat-post-link-title { display: -webkit-box; overflow: hidden; font-size: .8125rem; font-weight: 600; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
