/* AZRA Community UX polish · single-surface post bubbles, media cards, theme-safe comments and mobile ergonomics. */
:root{--az-post-gap:22px;--az-post-soft-shadow:0 10px 34px rgba(0,0,0,.16)}

/* A post is a layout wrapper, not another card. The content bubble below is the only framed surface. */
.post.post--bubble,.post.post--bubble:hover,.post.post--bubble.mine{
  display:block!important;position:relative;background:transparent!important;border:0!important;
  border-radius:0!important;box-shadow:none!important;padding:0!important;overflow:visible!important;
  outline:0!important;transform:none;transition:none!important
}
.post--bubble+.post--bubble{margin-top:var(--az-post-gap)!important}
.post--bubble .post-head{position:relative;display:flex;align-items:center;gap:11px;margin:0 2px 9px;padding:0;background:transparent;border:0;box-shadow:none;min-height:44px}
.post--bubble .post-head>a:first-child{flex:none}
.post--bubble .post-head .who{min-width:0;flex:1}
.post--bubble .post-head .who b{font-size:13.5px;font-weight:800;letter-spacing:-.01em;color:var(--az-text)}
.post--bubble .post-head .who .u{font-size:11.5px;color:var(--az-mut);line-height:1.5;overflow-wrap:anywhere}
.post--bubble .post-head .who .u a{color:inherit}
.post--bubble .post-head .who .u a:hover{color:var(--az-gold-text)}
.post--bubble .post-head .icon-btn{width:36px!important;height:36px!important;border:1px solid var(--az-line)!important;border-radius:12px!important;background:var(--az-surface)!important;color:var(--az-mut)!important}
.post--bubble .post-head .icon-btn:hover{border-color:var(--az-primary-line)!important;color:var(--az-text)!important}

.pbub{
  position:relative;isolation:isolate;box-sizing:border-box;min-width:0;
  margin:0 0 0 53px!important;padding:17px 19px 15px!important;
  color:var(--az-bubble-other-fg,var(--az-text))!important;
  background:var(--az-bubble-other-bg,var(--az-surface-2))!important;
  border:1px solid var(--az-line)!important;border-radius:8px 24px 24px 24px!important;
  box-shadow:var(--az-post-soft-shadow),inset 0 1px 0 rgba(255,255,255,.035)!important;
  overflow:hidden;overflow-wrap:anywhere;transform:none!important
}
html[dir=rtl] .pbub{border-radius:24px 8px 24px 24px!important}
.post--bubble.mine .pbub{
  color:var(--az-bubble-own-fg,#080808)!important;background:var(--az-bubble-own-bg,var(--az-primary))!important;
  border-color:rgba(0,0,0,.07)!important;box-shadow:0 10px 30px rgba(255,213,0,.12),inset 0 1px 0 rgba(255,255,255,.32)!important
}
.post--bubble .pbub .md,.post--bubble .pbub .md p,.post--bubble .pbub .pt,.post--bubble .pbub h3,.post--bubble .pbub .excerpt{color:inherit!important}
.post--bubble .pbub .md{font-size:14px;line-height:1.78;letter-spacing:0;overflow-wrap:anywhere}
.post--bubble .pbub .md p{margin:0 0 .75em}
.post--bubble .pbub .md p:last-child{margin-bottom:0}
.post--bubble .pbub .pt{font-size:16px;line-height:1.42;font-weight:850;margin:0 0 10px!important}
.post--bubble .pbub .pt a{color:inherit!important;text-decoration:none}
.post--bubble .pbub .pt a:hover{text-decoration:underline;text-underline-offset:3px}
.post--bubble .pbub .md a:not(.az-tag){color:var(--az-gold-text,#8a6800);font-weight:700;text-underline-offset:3px}
.post--bubble.mine .pbub .md a:not(.az-tag){color:inherit;text-decoration:underline}
.post--bubble .pbub .tags,.post--bubble .pbub .az-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}
.post--bubble .pbub .tag,.post--bubble .pbub .az-tag{color:var(--az-gold-text,#8a6800)}
.post--bubble.mine .pbub .tag,.post--bubble.mine .pbub .az-tag{color:inherit}
.post--bubble .pbub .azra-social-media{margin:0 0 12px;border:1px solid var(--az-line);border-radius:18px;box-shadow:0 7px 22px rgba(0,0,0,.12)}
.post--bubble.mine .pbub .azra-social-media{border-color:rgba(0,0,0,.14)}
.post--bubble .pbub .azra-media-caption{margin-top:10px!important}
.post--bubble .pbub .azra-media-title{margin:0 0 8px!important}
.post--bubble .pbub .more{display:inline-flex;align-items:center;gap:5px;margin-top:9px;font-weight:800}
.post--bubble .actions{display:flex;align-items:center;gap:7px;margin:7px 0 0 48px!important;padding:0 2px;min-height:40px}
.post--bubble .actions .act{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:42px;min-height:40px;padding:0 10px;border:1px solid transparent;border-radius:999px;background:transparent;color:var(--az-mut);font-size:12px;font-weight:750}
.post--bubble .actions .act:hover{background:var(--az-surface-2);border-color:var(--az-line);color:var(--az-text)}
.post--bubble .actions .act svg{width:18px;height:18px}
.post--bubble.is-cont .pbub{border-start-start-radius:24px!important}
.post--bubble.is-cont .post-head{display:none}

/* Common cards keep readable foregrounds when a legacy component uses a fixed light surface. */
html[data-theme=light] .post:not(.post--bubble),html[data-theme=light] .card,html[data-theme=light] .projcard,
html[data-theme=light] .embed,html[data-theme=light] .profile-card,html[data-theme=light] .empty-box{color:var(--az-text)!important}
html[data-theme=light] .post:not(.post--bubble) .muted,html[data-theme=light] .post:not(.post--bubble) .dim,
html[data-theme=light] .post:not(.post--bubble) .u,html[data-theme=light] .card .muted{color:var(--az-mut)!important}
html[data-theme=light] .post:not(.post--bubble) .projcard,html[data-theme=light] .post:not(.post--bubble) .embed,
html[data-theme=light] .post:not(.post--bubble) .metrics{border-color:var(--az-line)!important}
html[data-theme=light] .post:not(.post--bubble) .tag,html[data-theme=light] .post:not(.post--bubble) .more{color:var(--az-gold-text)!important}
html[data-theme=light] .post:not(.post--bubble) input,html[data-theme=light] .post:not(.post--bubble) textarea,
html[data-theme=light] .post:not(.post--bubble) select{color:var(--az-text)!important;background:var(--az-surface)!important;border-color:var(--az-line-strong)!important}

/* Media in a post card is a designed preview. Opening it still enters the existing immersive Media Feed. */
.azra-social-video{position:relative;display:block;width:100%;aspect-ratio:16/9;max-height:560px;min-height:150px;margin:2px 0 13px!important;overflow:hidden;border-radius:18px!important;background:#08090b!important;border:1px solid rgba(255,255,255,.12)!important;box-shadow:0 12px 30px rgba(0,0,0,.18)}
.azra-social-video .azra-media-open{position:absolute!important;inset:0;display:block;width:100%;height:100%;aspect-ratio:auto!important;min-height:0!important;padding:0!important;overflow:hidden;border:0!important;border-radius:inherit!important;background:linear-gradient(145deg,#27282d,#090a0c)!important;cursor:pointer}
.azra-social-video .azra-media-open>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.azra-social-video .azra-media-open::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.25),transparent 34%,transparent 62%,rgba(0,0,0,.38));pointer-events:none}
.azra-media-fallback{position:absolute;inset:0;display:grid;place-items:center;color:rgba(255,255,255,.32);font:900 clamp(20px,5vw,42px)/1 var(--az-font-display,system-ui);letter-spacing:.2em;background:radial-gradient(circle at 50% 45%,rgba(146,177,194,.16),transparent 43%),linear-gradient(145deg,#202126,#08090b)}
.azra-social-video .azra-media-play{position:absolute;z-index:3;left:50%;top:50%;width:62px;height:62px;padding:0;display:grid;place-items:center;transform:translate(-50%,-50%);border:1px solid rgba(255,255,255,.55);border-radius:50%;background:rgba(247,249,251,.97);color:#202a34;box-shadow:0 8px 28px rgba(0,0,0,.34),0 0 0 7px rgba(255,255,255,.12);backdrop-filter:blur(12px);pointer-events:none;transition:transform .24s cubic-bezier(.2,.8,.2,1),opacity .2s}
.azra-social-video .azra-media-play svg{width:25px;height:25px;fill:currentColor;stroke:none;transform:translateX(1px)}
.azra-social-video .azra-media-open:hover .azra-media-play{transform:translate(-50%,-50%) scale(1.08)}
.azra-social-video .azra-media-type{position:absolute;z-index:3;top:12px;inset-inline-start:12px;display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border:1px solid rgba(255,255,255,.2);border-radius:999px;background:rgba(5,6,8,.58);color:#fff;font:800 9px/1 var(--az-font-ui,system-ui);letter-spacing:.11em;backdrop-filter:blur(10px)}
.azra-social-video .azra-media-type svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.azra-social-video .az-vprog{height:3px}

/* Media Feed comments: derive every surface and text colour from the active theme. */
.azra-media-feed-layer .amf-comments-backdrop{background:var(--az-overlay,rgba(0,0,0,.62))!important;backdrop-filter:blur(5px)}
.azra-media-feed-layer .amf-comments-sheet{
  color:var(--az-text)!important;background:var(--az-surface)!important;
  border:1px solid var(--az-line-strong)!important;border-bottom:0!important;
  box-shadow:0 -20px 64px rgba(0,0,0,.28)!important
}
.azra-media-feed-layer .amf-comments-sheet>header{border-color:var(--az-line)!important;background:var(--az-surface)!important;color:var(--az-text)!important}
.azra-media-feed-layer .amf-comments-sheet>header small,.azra-media-feed-layer .amf-comment-meta small{color:var(--az-mut)!important}
.azra-media-feed-layer .amf-comments-sheet>header button{background:var(--az-surface-2)!important;border:1px solid var(--az-line)!important;color:var(--az-text)!important}
.azra-media-feed-layer .amf-comment{border-color:var(--az-line)!important}
.azra-media-feed-layer .amf-comment-meta a{color:var(--az-text)!important}
.azra-media-feed-layer .amf-comment-body,.azra-media-feed-layer .amf-comment-body .md{color:var(--az-text-2,var(--az-text))!important}
.azra-media-feed-layer .amf-comments-empty{color:var(--az-mut)!important}
.azra-media-feed-layer .amf-comments-more{background:var(--az-surface-2)!important;color:var(--az-text)!important;border:1px solid var(--az-line)!important}
.azra-media-feed-layer .amf-comment-compose{background:var(--az-surface-2)!important;border:1px solid var(--az-line-strong)!important;color:var(--az-text)!important;box-shadow:0 6px 24px rgba(0,0,0,.12)}
.azra-media-feed-layer .amf-comment-compose textarea{color:var(--az-text)!important;background:transparent!important;caret-color:var(--az-primary)}
.azra-media-feed-layer .amf-comment-compose textarea::placeholder{color:var(--az-mut)!important;opacity:1}
.azra-media-feed-layer .amf-comment-compose button{color:var(--az-text)!important}

/* Bottom dock: keep it pinned while scrolling instead of letting the scroll heuristic hide it. */
@media(max-width:1020px){
  #bottomnav.az-dock.is-hidden{transform:translate3d(0,0,0)!important;opacity:1!important;pointer-events:auto!important}
  #bottomnav.az-dock{bottom:calc(10px + env(safe-area-inset-bottom))!important;max-width:min(460px,calc(100vw - 20px));}
  .layout{padding-bottom:calc(82px + 52px + env(safe-area-inset-bottom))!important}
  .post--bubble .pbub{margin-inline-start:0!important;padding:15px 15px 14px!important;border-radius:8px 21px 21px 21px!important}
  html[dir=rtl] .post--bubble .pbub{border-radius:21px 8px 21px 21px!important}
  .post--bubble .post-head{margin-bottom:8px;gap:10px}
  .post--bubble .actions{margin-inline:0!important;gap:3px;justify-content:flex-start}
  .post--bubble .actions .act{min-height:43px;min-width:43px}
  .azra-social-video{aspect-ratio:16/9;min-height:132px;border-radius:16px!important}
  .azra-social-video .azra-media-play{width:54px;height:54px}
  .azra-social-video .azra-media-play svg{width:22px;height:22px}
}
@media(max-width:560px){
  .post.post--bubble{margin-inline:0!important}
  .post--bubble+.post--bubble{margin-top:22px!important}
  .post--bubble .post-head .who b{font-size:13px}
  .post--bubble .post-head .who .u{font-size:10.5px}
  .post--bubble .pbub .md{font-size:14px;line-height:1.75}
  .post--bubble .pbub .pt{font-size:15.5px}
  .post--bubble .pbub .azra-social-media{margin-inline:-2px;border-radius:15px}
  .post--bubble .actions .act{padding-inline:8px;font-size:11px}
  .azra-media-feed-layer .amf-comments-sheet{height:min(84%,calc(var(--azra-vh,100dvh) - 8px))!important;max-height:calc(var(--azra-vh,100dvh) - 8px)!important;border-radius:20px 20px 0 0!important}
  .azra-media-feed-layer .amf-comment-compose{margin-inline:10px!important;padding:7px 9px!important;margin-bottom:max(10px,env(safe-area-inset-bottom))!important}
}
@media(hover:none){.post--bubble .post-head .icon-btn{opacity:1!important}.post--bubble .actions .act{background:var(--az-surface-2)} }
@media(prefers-reduced-motion:reduce){.azra-social-video .azra-media-play{transition:none!important}}
html[data-motion=reduce] .azra-social-video .azra-media-play{transition:none!important}

/* v2 bubble language: messenger-like, calm and intentionally monochrome. */
:root{
  --az-post-bubble-bg:#202329;
  --az-post-bubble-fg:#F1F3F6;
  --az-post-bubble-line:rgba(255,255,255,.075);
  --az-post-bubble-link:#A8C8F0;
  --az-post-bubble-shadow:0 8px 26px rgba(0,0,0,.16);
}
html[data-theme=light]{
  --az-post-bubble-bg:#EEF1F4;
  --az-post-bubble-fg:#202733;
  --az-post-bubble-line:rgba(35,48,64,.10);
  --az-post-bubble-link:#365F91;
  --az-post-bubble-shadow:0 7px 22px rgba(31,45,61,.075);
}
.post.post--bubble,.post.post--bubble:hover,.post.post--bubble.mine{
  border:0!important;background:transparent!important;box-shadow:none!important;outline:0!important;
}
.post--bubble .post-head{margin-inline-start:2px;margin-bottom:7px}
.post--bubble .post-head .avatar{box-shadow:0 0 0 3px var(--az-bg),0 0 0 4px var(--az-post-bubble-line)!important}
.post--bubble .post-head .who b{color:var(--az-text)!important}
.post--bubble .post-head .who .u a:hover{color:var(--az-post-bubble-link)!important}
.post--bubble .post-head .icon-btn{background:var(--az-surface-2)!important;border-color:var(--az-line)!important;color:var(--az-mut)!important}
.pbub,.post--bubble.mine .pbub{
  position:relative;margin:0 0 0 52px!important;padding:17px 19px 16px!important;
  color:var(--az-post-bubble-fg)!important;background:var(--az-post-bubble-bg)!important;
  border:1px solid var(--az-post-bubble-line)!important;
  border-radius:6px 22px 22px 22px!important;
  box-shadow:var(--az-post-bubble-shadow)!important;
  overflow:visible!important;isolation:isolate;
}
html[dir=rtl] .pbub,html[dir=rtl] .post--bubble.mine .pbub{border-radius:22px 6px 22px 22px!important}
.pbub:before{
  content:"";position:absolute;inset-block-start:0;inset-inline-start:-7px;width:13px;height:13px;
  background:var(--az-post-bubble-bg);border-inline-start:1px solid var(--az-post-bubble-line);
  border-block-start:1px solid var(--az-post-bubble-line);transform:skewY(-24deg);border-start-start-radius:4px;z-index:-1;
}
html[dir=rtl] .pbub:before{transform:skewY(24deg)}
.post--bubble.mine .pbub{color:var(--az-post-bubble-fg)!important;background:var(--az-post-bubble-bg)!important;border-color:var(--az-post-bubble-line)!important;box-shadow:var(--az-post-bubble-shadow)!important}
.post--bubble .pbub .md,.post--bubble .pbub .md p,.post--bubble .pbub .pt,.post--bubble .pbub h3,.post--bubble .pbub .excerpt{color:var(--az-post-bubble-fg)!important}
.post--bubble .pbub .md a:not(.az-tag),.post--bubble .pbub .tag,.post--bubble .pbub .az-tag{color:var(--az-post-bubble-link)!important}
.post--bubble.mine .pbub .md a:not(.az-tag),.post--bubble.mine .pbub .tag,.post--bubble.mine .pbub .az-tag{color:var(--az-post-bubble-link)!important}
.post--bubble .pbub .azra-social-media{border-color:rgba(255,255,255,.12)!important}
.post--bubble .actions{margin:7px 0 0 52px!important;gap:5px!important;flex-wrap:wrap;align-items:center;min-height:42px}
.post--bubble .actions .act{color:var(--az-mut)!important;background:transparent!important;border:1px solid transparent!important;min-width:42px;min-height:42px;padding:0 10px;border-radius:14px!important}
.post--bubble .actions .act:hover{background:var(--az-surface-2)!important;border-color:var(--az-line)!important;color:var(--az-text)!important}
.post--bubble .actions .act.on.like{color:#F08AA8!important}
.post--bubble .actions .act.on.like .az-rx-icon{color:#F08AA8!important}
.post--bubble .az-reaction-wrap{position:relative;display:inline-flex;flex:none;min-width:0}
.post--bubble .az-reaction-picker{
  display:flex;flex-direction:row;align-items:center;justify-content:center;gap:4px;
  width:max-content;max-width:calc(100vw - 24px);padding:6px;
  overflow-x:auto;overflow-y:hidden;white-space:nowrap;
  border:1px solid var(--az-line-strong)!important;border-radius:18px!important;
  background:var(--az-surface)!important;color:var(--az-text)!important;
  box-shadow:0 16px 44px rgba(0,0,0,.24)!important;
}
.post--bubble .az-reaction-picker[hidden]{display:none!important}
.az-reaction-picker button,.az-reaction-picker-amf button{
  display:grid!important;place-items:center!important;grid-template-columns:1fr!important;grid-template-rows:1fr!important;
  flex:0 0 42px!important;width:42px!important;min-width:42px!important;max-width:42px!important;
  height:42px!important;min-height:42px!important;padding:0!important;margin:0!important;
  border:0!important;border-radius:13px!important;background:transparent!important;color:var(--az-text)!important;
}
.az-reaction-picker button .az-rx-icon,.az-reaction-picker-amf button .az-rx-icon{width:23px!important;height:23px!important;grid-column:1!important;grid-row:1!important}
.az-reaction-picker button span,.az-reaction-picker button small,.az-reaction-picker-amf button span,.az-reaction-picker-amf button small{display:none!important}
.az-reaction-picker button:hover,.az-reaction-picker button:focus-visible,.az-reaction-picker button.is-selected,.az-reaction-picker-amf button:hover,.az-reaction-picker-amf button:focus-visible,.az-reaction-picker-amf button.is-selected{background:var(--az-surface-2)!important;outline:0;transform:translateY(-2px)}
.az-reaction-picker button[aria-checked=true],.az-reaction-picker-amf button[aria-checked=true]{background:color-mix(in srgb,#F08AA8 15%,var(--az-surface))!important;color:#E47799!important}
.az-reaction-summary{gap:3px!important;margin-inline-start:4px!important;flex-wrap:nowrap;max-width:100%;overflow:hidden}
.az-reaction-summary button{display:grid!important;place-items:center!important;flex:0 0 28px!important;width:28px!important;min-width:28px!important;height:28px!important;min-height:28px!important;padding:0!important;border-radius:10px!important;background:var(--az-surface-2)!important;border-color:var(--az-line)!important;color:var(--az-mut)!important}
.az-reaction-summary button span{display:none!important}
.az-reaction-summary .az-rx-icon{width:15px!important;height:15px!important}
.az-reaction-summary button:hover{border-color:var(--az-line-strong)!important;color:var(--az-text)!important}
.az-reaction-picker.is-floating{z-index:2147482500!important;position:fixed!important}
@media(max-width:720px){
  .post--bubble+.post--bubble{margin-top:24px!important}
  .post--bubble .pbub,.post--bubble.mine .pbub{margin-inline-start:43px!important;padding:15px 15px 14px!important;border-radius:6px 20px 20px 20px!important}
  html[dir=rtl] .post--bubble .pbub,html[dir=rtl] .post--bubble.mine .pbub{border-radius:20px 6px 20px 20px!important}
  .post--bubble .actions{margin-inline:43px 0!important;gap:4px!important;padding:0!important}
  .post--bubble .actions .act{min-width:40px;min-height:40px;padding:0 9px!important}
  .post--bubble .az-reaction-picker{gap:3px!important;padding:5px!important}
  .az-reaction-picker button,.az-reaction-picker-amf button{flex-basis:40px!important;width:40px!important;min-width:40px!important;max-width:40px!important;height:40px!important;min-height:40px!important}
}
@media(prefers-reduced-motion:reduce){.az-reaction-picker button,.post--bubble .actions .act{transition:none!important}}

/* v3 message bubbles: consistent neutral tone, soft chat geometry, no yellow surfaces. */
:root{
 --az-post-bubble-bg:#252B32;
 --az-post-bubble-fg:#F2F4F6;
 --az-post-bubble-line:rgba(255,255,255,.055);
 --az-post-bubble-link:#B9D0E8;
 --az-post-bubble-shadow:0 10px 30px rgba(0,0,0,.13);
 --az-post-bubble-tail:#252B32;
}
html[data-theme=light]{
 --az-post-bubble-bg:#F0F2F4;
 --az-post-bubble-fg:#27313B;
 --az-post-bubble-line:rgba(37,49,61,.075);
 --az-post-bubble-link:#476A8D;
 --az-post-bubble-shadow:0 8px 24px rgba(33,47,61,.055);
 --az-post-bubble-tail:#F0F2F4;
}
.post.post--bubble,.post.post--bubble:hover,.post.post--bubble.mine{background:transparent!important;border:0!important;box-shadow:none!important;outline:0!important}
.post--bubble .post-head{gap:10px;margin:0 0 8px 2px!important;min-height:42px}
.post--bubble .post-head .avatar{width:37px;height:37px;box-shadow:0 0 0 3px var(--az-bg),0 0 0 1px var(--az-post-bubble-line)!important}
.post--bubble .post-head .who{display:grid;gap:1px}
.post--bubble .post-head .who b{font-size:13px;line-height:1.35;font-weight:850}
.post--bubble .post-head .who .u{font-size:10.5px;opacity:.82}
.pbub,.post--bubble.mine .pbub{
 position:relative;margin:0 0 0 48px!important;padding:17px 20px 16px!important;
 color:var(--az-post-bubble-fg)!important;background:var(--az-post-bubble-bg)!important;
 border:1px solid var(--az-post-bubble-line)!important;border-radius:22px 22px 22px 7px!important;
 box-shadow:var(--az-post-bubble-shadow)!important;overflow:visible!important;isolation:isolate;
 transition:background .2s,border-color .2s,box-shadow .2s;
}
html[dir=rtl] .pbub,html[dir=rtl] .post--bubble.mine .pbub{border-radius:22px 22px 7px 22px!important}
.pbub:before{
 content:"";position:absolute;inset-block-start:2px;inset-inline-start:-6px;width:12px;height:14px;
 background:var(--az-post-bubble-tail);border-inline-start:1px solid var(--az-post-bubble-line);
 border-block-start:1px solid var(--az-post-bubble-line);transform:skewY(-28deg);
 border-start-start-radius:5px;z-index:-1;
}
html[dir=rtl] .pbub:before{transform:skewY(28deg)}
.post--bubble.mine .pbub{background:var(--az-post-bubble-bg)!important;color:var(--az-post-bubble-fg)!important}
.post--bubble .pbub .md,.post--bubble .pbub .md p,.post--bubble .pbub .pt,.post--bubble .pbub h3,.post--bubble .pbub .excerpt{color:var(--az-post-bubble-fg)!important}
.post--bubble .pbub .md{font-size:14px;line-height:1.82;letter-spacing:0}
.post--bubble .pbub .md a:not(.az-tag),.post--bubble .pbub .tag,.post--bubble .pbub .az-tag{color:var(--az-post-bubble-link)!important}
.post--bubble .pbub .pt{font-size:16px;line-height:1.4;font-weight:850;margin-bottom:9px!important}
.post--bubble .pbub .azra-social-media{border:1px solid var(--az-post-bubble-line)!important;border-radius:17px!important;box-shadow:none!important}
.post--bubble .actions{margin:8px 0 0 48px!important;display:flex;align-items:center;gap:5px!important;flex-wrap:wrap}
.post--bubble .actions .act{width:40px;min-width:40px!important;height:40px;min-height:40px!important;padding:0!important;border:1px solid transparent!important;border-radius:13px!important;background:transparent!important;color:var(--az-mut)!important;display:inline-flex;align-items:center;justify-content:center}
.post--bubble .actions .act svg{width:18px;height:18px}
.post--bubble .actions .act:hover{background:var(--az-surface-2)!important;border-color:var(--az-line)!important;color:var(--az-text)!important}
/* Reaction controls expose only the icon visually; labels remain available to assistive technology. */
.post--bubble .az-reaction-main .c,.post--bubble .az-reaction-summary button .c,.azra-media-feed-layer .az-reaction-main .c{display:none!important}
.post--bubble .az-reaction-wrap{flex:0 0 auto;min-width:40px}
.post--bubble .az-reaction-main{width:40px;min-width:40px!important;height:40px;min-height:40px!important;padding:0!important;display:grid!important;place-items:center!important;gap:0!important}
.post--bubble .az-reaction-main .az-rx-icon{width:19px;height:19px}
.post--bubble .az-reaction-summary{display:inline-flex;align-items:center;gap:4px;max-width:min(160px,40vw);overflow:hidden}
.post--bubble .az-reaction-summary button{width:30px!important;min-width:30px!important;height:30px!important;min-height:30px!important;flex:0 0 30px!important;border:0!important;border-radius:50%!important;background:var(--az-surface-2)!important;box-shadow:inset 0 0 0 1px var(--az-line)!important}
.post--bubble .az-reaction-summary .az-rx-icon{width:15px;height:15px}
.post--bubble .az-reaction-picker{display:flex;align-items:center;justify-content:center;gap:3px;max-width:min(320px,calc(100vw - 24px));padding:6px;border-radius:999px!important;background:var(--az-surface)!important;border:1px solid var(--az-line-strong)!important;box-shadow:0 14px 42px rgba(0,0,0,.2)!important}
.post--bubble .az-reaction-picker[hidden]{display:none!important}
.post--bubble .az-reaction-picker button{width:39px!important;min-width:39px!important;height:39px!important;min-height:39px!important;flex:0 0 39px!important;border-radius:50%!important}
.post--bubble .az-reaction-picker button .az-rx-icon{width:21px!important;height:21px!important}
.post--bubble .az-reaction-picker button[aria-checked=true]{background:var(--az-surface-2)!important;color:var(--az-post-bubble-link)!important}
@media(max-width:720px){
 .post--bubble .post-head{margin-bottom:7px!important}
 .pbub,.post--bubble.mine .pbub{margin-inline-start:0!important;padding:15px 16px 14px!important;border-radius:20px 20px 20px 7px!important}
 html[dir=rtl] .pbub,html[dir=rtl] .post--bubble.mine .pbub{border-radius:20px 20px 7px 20px!important}
 .post--bubble .actions{margin-inline:0!important;gap:4px!important}
 .post--bubble .actions .act,.post--bubble .az-reaction-main{width:42px;min-width:42px!important;height:42px;min-height:42px!important}
 .post--bubble .az-reaction-picker{gap:2px;padding:5px;max-width:calc(100vw - 18px)}
 .post--bubble .az-reaction-picker button{width:37px!important;min-width:37px!important;height:37px!important;min-height:37px!important;flex-basis:37px!important}
}
@media(prefers-reduced-motion:reduce){.pbub{transition:none!important}}
