/* Removes the generic "AI template" tells flagged by Impeccable's detector. Loaded last. */

/* No gradient text: solid brand colour */
.lx-gradient-text,.gift-celebration-stage.tier-legendary .gift-celebration-name{background:none!important;-webkit-background-clip:border-box!important;background-clip:border-box!important;-webkit-text-fill-color:currentColor!important}
.lx-gradient-text{color:var(--accent)!important}
.gift-celebration-stage.tier-legendary .gift-celebration-name{color:#fde68a!important}

/* No tracked-caps kicker above every heading (landing, about, page intros) */
.lx-head .lx-tag,.lx-final>.lx-tag,.lx-install .lx-tag,.lx-pill,.info-hero>.eyebrow,.info-split .eyebrow,.page-intro .eyebrow,.signup-kicker{display:none!important}

/* No rounded accent stripe on cards */
.lx-way{border-top:1px solid color-mix(in srgb,var(--line) 85%,transparent)!important}

/* No icon tile stacked above a heading: the icon sits inline beside it */
.info-grid .info-card{display:grid;grid-template-columns:auto 1fr;align-items:center;column-gap:10px}
.info-grid .info-card>p{grid-column:1/-1;margin-top:8px}
.info-grid .info-card h3{margin:0}
.info-card-icon{width:auto!important;height:auto!important;flex:0 0 auto!important;background:none!important;box-shadow:none!important;border-radius:0!important}
.info-card-icon .icon{width:22px!important;height:22px!important}
.lx-request-plus{width:auto!important;height:auto!important;background:none!important;color:var(--g2)!important}
.lx-request-plus .icon{width:28px;height:28px}

/* No cards inside cards: inner items become plain rows */
.lx-near .lx-person{background:transparent!important;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;box-shadow:none!important;padding:12px 4px!important}
.lx-near .lx-person:hover{transform:none!important;box-shadow:none!important;background:color-mix(in srgb,var(--accent) 5%,transparent)!important}
.lx-radar-strip .lx-mini{background:transparent!important;border:0!important;box-shadow:none!important;padding:4px!important}
.lx-radar-strip .lx-mini:hover{transform:none!important}
.lx-request-by{background:transparent!important;border:0!important;padding:0!important}
.lx-prize{border:0!important}

/* Contrast: buttons and labels that failed WCAG */
.lx-request-actions a:not(.is-ghost){background:var(--tone2)!important}
.lx-mini.is-green em,.lx-chip .icon,.lx-room-foot .icon,.lx-checks .icon{color:var(--g2)!important}
html.dark .lx-mini.is-green em,html.dark .lx-chip .icon{color:#6ee7b7!important}
.lx-safe-card .icon{filter:none}
.lx-final{background:linear-gradient(120deg,#8F3A1F,#5C2A17 60%,#13100c)!important}
.signup-shell .signup-pitch{background:linear-gradient(155deg,#8F3A1F,#5C2A17 58%,#1c120c)!important}

/* Illustrations bleed to the card edge instead of sitting in a card-in-a-card */
.lx-way{padding-top:0!important;overflow:hidden}
.lx-way-art{margin:0 -24px 8px!important;border:0!important;border-radius:0!important;box-shadow:none!important}
/* Safety points are divided columns, not tiles inside a panel */
.lx-safe-card{background:none!important;border:0!important;border-radius:0!important;border-top:1px solid rgba(255,255,255,.14)!important;padding:16px 4px 0!important}
.lx-million-head .lx-tag{box-shadow:none!important}

/* ---- Communities directory: compact header, then search, categories and your rooms ---- */
.communities-directory{padding-top:12px!important}
.community-hero-banner{padding:16px 18px 12px!important;margin-bottom:14px!important;border-radius:20px!important}
.community-directory-heading{margin:0 0 10px!important;align-items:center!important}
.community-directory-heading h1{font-size:24px!important;margin:0!important;letter-spacing:-.02em}
.community-directory-heading .btn-new-room{min-height:38px;padding:0 14px}
.community-compact-search{margin:0 0 10px!important}
.community-compact-search .search-field{min-height:44px!important}
.community-topic-chips{flex-wrap:nowrap!important;overflow-x:auto;scrollbar-width:none;padding-bottom:2px;-webkit-mask-image:linear-gradient(90deg,#000 94%,transparent);mask-image:linear-gradient(90deg,#000 94%,transparent)}
.community-topic-chips::-webkit-scrollbar{display:none}
.community-topic-chips .topic-chip{flex:0 0 auto;white-space:nowrap}
.my-rooms{margin:0 0 18px}
.my-rooms h2{font-size:16px;margin:0 0 10px}
.my-rooms-row{display:flex;gap:14px;overflow-x:auto;scrollbar-width:none;padding:2px 2px 6px}
.my-rooms-row::-webkit-scrollbar{display:none}
.my-room{flex:0 0 76px;display:flex;flex-direction:column;align-items:center;gap:6px;color:var(--ink);text-decoration:none}
.my-room-avatar{position:relative;display:grid;place-items:center;width:64px;height:64px;border-radius:50%;padding:2px;background:var(--line);transition:transform .18s,background .18s}
.my-room.is-fav .my-room-avatar{background:conic-gradient(from 200deg,#f59e0b,var(--accent),#f59e0b)}
.my-room-avatar img{width:100%;height:100%;border-radius:50%;object-fit:cover;border:2px solid var(--canvas)}
.my-room-avatar>.icon{width:26px;height:26px;color:var(--accent)}
.my-room-avatar:has(>.icon){background:color-mix(in srgb,var(--accent) 14%,var(--surface))}
.my-room-star{display:none;position:absolute;right:-2px;bottom:-2px;width:20px;height:20px;border-radius:50%;background:#f59e0b;color:#fff;place-items:center;border:2px solid var(--canvas)}
.my-room-star .icon{width:11px;height:11px}
.my-room.is-fav .my-room-star{display:grid}
.my-room:hover .my-room-avatar{transform:translateY(-2px)}
.my-room:focus-visible{outline:3px solid var(--accent);outline-offset:3px;border-radius:12px}
.my-room-name{width:100%;font-size:12px;font-weight:600;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.room-fav-btn.is-fav{color:#f59e0b!important;background:rgba(255,255,255,.95)!important}
.room-fav-btn.is-fav .icon{fill:currentColor}

/* ---- Who viewed your profile ---- */
.viewers-page{max-width:760px;margin:0 auto}
.viewers-head h1{font-size:26px;margin:4px 0 6px}
.viewers-head p{color:var(--muted);margin:0 0 18px}
.viewers-list{list-style:none;margin:0;padding:0;border:1px solid var(--line);border-radius:20px;background:var(--surface);overflow:hidden}
.viewer-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:14px;padding:12px 16px;border-bottom:1px solid var(--line);transition:background .15s}
.viewer-row:last-child{border-bottom:0}
.viewer-row:hover{background:color-mix(in srgb,var(--accent) 5%,transparent)}
.viewer-row.is-new{background:color-mix(in srgb,var(--accent) 7%,var(--surface))}
.viewer-person{display:flex;align-items:center;gap:12px;min-width:0;color:var(--ink);text-decoration:none}
.viewer-avatar{position:relative;flex:0 0 48px}
.viewer-avatar img{width:48px;height:48px;border-radius:50%;object-fit:cover}
.viewer-avatar .presence-dot{position:absolute;right:0;bottom:0}
.viewer-copy{display:flex;flex-direction:column;min-width:0}
.viewer-copy strong{display:inline-flex;align-items:center;gap:5px;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.viewer-copy small{color:var(--muted);font-size:13px}
.viewer-when{display:flex;flex-direction:column;align-items:flex-end;gap:2px;font-size:12.5px;color:var(--muted);white-space:nowrap}
.viewer-new{padding:1px 8px;border-radius:999px;background:var(--accent);color:#fff;font-size:11px;font-weight:700}
html.dark .viewer-new{color:#1a1410}
.viewer-cta{min-height:36px}
.viewers-empty{text-align:center;padding:40px 20px;border:1px solid var(--line);border-radius:20px;background:var(--surface)}
.viewers-empty-icon{display:inline-grid;place-items:center;width:64px;height:64px;border-radius:50%;background:color-mix(in srgb,var(--accent) 12%,var(--surface));color:var(--accent);margin-bottom:10px}
.viewers-empty-icon .icon{width:28px;height:28px}
.viewers-empty h2{margin:0 0 6px;font-size:20px}
.viewers-empty p{color:var(--muted);margin:0 auto 16px;max-width:40ch}
.viewers-empty-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.account-panel-badge{margin-left:auto;min-width:20px;height:20px;padding:0 6px;display:inline-grid;place-items:center;border-radius:999px;background:var(--accent);color:#fff;font-size:11px;font-weight:700}
@media(max-width:560px){.viewer-row{grid-template-columns:minmax(0,1fr) auto;row-gap:8px}.viewer-when{grid-column:2;grid-row:1}.viewer-cta{grid-column:1/-1}}

/* Sidebar card: four stats (Posts, Rooms, Likes, Views); Views links to the viewers page */
.sidebar-profile-stats{grid-template-columns:repeat(4,1fr)}
.sidebar-profile-stats dd a{color:inherit;text-decoration:none;transition:color .15s ease}
.sidebar-profile-stats dd a:hover{color:var(--accent)}
.sidebar-profile-stats div{align-items:center;text-align:center;min-width:0}
.sidebar-profile-stats dt{font-size:10.5px;white-space:nowrap}
@media(max-width:1200px){.sidebar-profile-stats dt{font-size:9.5px}}

/* ===== Gift motion, live-stream style ===== */
/* 1. The gift flies in from below, overshoots, settles, then floats; big gifts get spinning light rays. */
.gift-fly{position:relative;display:grid;place-items:center;animation:giftFlyIn .85s cubic-bezier(.18,1.5,.4,1) both}
.gift-fly::before{content:"";position:absolute;inset:-28%;z-index:-1;border-radius:50%;opacity:0;background:repeating-conic-gradient(from 0deg,color-mix(in srgb,var(--gift-color) 55%,transparent) 0 9deg,transparent 9deg 24deg);-webkit-mask:radial-gradient(circle,#000 18%,transparent 68%);mask:radial-gradient(circle,#000 18%,transparent 68%)}
.tier-big .gift-fly::before,.tier-legendary .gift-fly::before{opacity:.75;animation:giftRays 6s linear infinite}
.tier-legendary .gift-fly{animation:giftFlyIn .85s cubic-bezier(.18,1.5,.4,1) both,giftShake .5s .85s ease-in-out 2}
.gift-fly::after{content:"";position:absolute;left:50%;top:50%;width:40%;aspect-ratio:1;border-radius:50%;border:3px solid var(--gift-color);transform:translate(-50%,-50%) scale(.4);opacity:0;animation:giftRing 1.1s .55s ease-out 2}
.gift-celebration-name{animation:giftNamePop .55s .45s cubic-bezier(.2,1.6,.4,1) both}
.gift-arrival.is-leaving .gift-fly{animation:giftFlyOut .42s ease-in forwards}
.gift-arrival.is-leaving .gift-celebration-content>*:not(.gift-fly),.gift-arrival.is-leaving .gift-banner{transition:opacity .3s ease,transform .3s ease;opacity:0;transform:translateY(-8px)}
.gift-arrival.is-leaving{transition:opacity .4s ease .05s;opacity:0}

/* 2. Sender pill slides in from the left with a popping combo counter. */
.gift-banner{position:absolute;z-index:3;left:14px;top:18%;display:flex;align-items:center;gap:8px;max-width:min(82%,340px);padding:5px 14px 5px 5px;border-radius:999px;background:linear-gradient(90deg,rgba(20,14,12,.82),rgba(20,14,12,.35));color:#fff;box-shadow:0 8px 24px rgba(0,0,0,.25);animation:giftBannerIn .5s cubic-bezier(.2,1.2,.3,1) both;pointer-events:none}
.gift-banner-avatar{flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:linear-gradient(135deg,#E8682A,#F59E0B);font:800 15px/1 Outfit,sans-serif;color:#fff;border:2px solid rgba(255,255,255,.85)}
.gift-banner-text{display:flex;flex-direction:column;min-width:0;line-height:1.15}
.gift-banner-text strong{font-size:13px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gift-banner-text small{font-size:11px;opacity:.85;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gift-banner-mini{flex:none;width:40px;height:40px;margin-left:2px;animation:giftMiniBob 1s ease-in-out infinite alternate}
.gift-banner-mini svg{width:100%;height:100%}
.gift-banner-count{flex:none;margin-left:4px;font:italic 900 26px/1 Outfit,sans-serif;color:#FDE68A;-webkit-text-stroke:1px #B45309;text-shadow:0 2px 0 #B45309,0 0 18px rgba(253,230,138,.6)}
.gift-banner-count.is-pop{animation:giftCountPop .32s cubic-bezier(.2,1.8,.4,1)}
.gift-combo{display:none}

/* 3. Gift cards gently bob, and pop + wiggle on hover (gifts page and chat picker). */
.gift-card-art .gift-artwork,.chat-gift-option .gift-artwork,.chat-gift-option svg{animation:giftIdle 2.6s ease-in-out infinite;transform-origin:50% 85%}
.gift-card:nth-child(3n+2) .gift-artwork,.chat-gift-option:nth-child(3n+2) svg{animation-delay:-.9s}
.gift-card:nth-child(3n) .gift-artwork,.chat-gift-option:nth-child(3n) svg{animation-delay:-1.7s}
.gift-card:hover .gift-artwork,.chat-gift-option:hover svg,.chat-gift-option:focus-visible svg{animation:giftWiggle .6s cubic-bezier(.3,1.6,.5,1) both}
.gift-card,.chat-gift-option{transition:transform .2s ease,box-shadow .2s ease}
.gift-card:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(60,30,15,.12)}
.chat-gift-option:active{transform:scale(.94)}

@keyframes giftFlyIn{0%{opacity:0;transform:translateY(60%) scale(.2) rotate(-12deg)}55%{opacity:1;transform:translateY(-6%) scale(1.22) rotate(4deg)}75%{transform:translateY(2%) scale(.95) rotate(-2deg)}100%{opacity:1;transform:none}}
@keyframes giftFlyOut{to{opacity:0;transform:translateY(-70%) scale(.5) rotate(8deg)}}
@keyframes giftRays{to{transform:rotate(360deg)}}
@keyframes giftRing{0%{opacity:.9;transform:translate(-50%,-50%) scale(.4)}100%{opacity:0;transform:translate(-50%,-50%) scale(2.6)}}
@keyframes giftShake{0%,100%{transform:none}25%{transform:rotate(-4deg) scale(1.04)}75%{transform:rotate(4deg) scale(1.04)}}
@keyframes giftNamePop{from{opacity:0;transform:scale(.6)}to{opacity:1;transform:none}}
@keyframes giftBannerIn{from{opacity:0;transform:translateX(-120%)}to{opacity:1;transform:none}}
@keyframes giftMiniBob{to{transform:translateY(-3px) rotate(-6deg)}}
@keyframes giftCountPop{0%{transform:scale(2.2);opacity:.4}100%{transform:scale(1);opacity:1}}
@keyframes giftIdle{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-5px) rotate(-2deg)}}
@keyframes giftWiggle{0%{transform:scale(1)}40%{transform:scale(1.18) rotate(-8deg)}70%{transform:scale(1.1) rotate(6deg)}100%{transform:scale(1.12)}}
@media(max-width:560px){.gift-banner{top:12%;left:10px}.gift-banner-count{font-size:22px}}
@media(prefers-reduced-motion:reduce){.gift-fly,.gift-fly::before,.gift-fly::after,.gift-banner,.gift-banner-mini,.gift-banner-count,.gift-celebration-name,.gift-card-art .gift-artwork,.chat-gift-option svg,.gift-card:hover .gift-artwork{animation:none!important}}
.gift-banner{top:14px}
@media(max-width:560px){.gift-banner{top:12px}}
.gift-celebration-stage.tier-big .gift-celebration-content,.gift-celebration-stage.tier-legendary .gift-celebration-content{box-shadow:none;background:none;border:0;overflow:visible}
.gift-celebration-stage.tier-legendary .gift-celebration-content::after{display:none}
@media(max-width:560px){.gift-celebration-stage.tier-big .gift-celebration-kicker,.gift-celebration-stage.tier-legendary .gift-celebration-kicker{font-size:10px;letter-spacing:.06em;white-space:nowrap;max-width:92vw;overflow:hidden;text-overflow:ellipsis}}

/* Wallet: manual bank transfer */
.bank-transfer-box{margin-top:20px;padding-top:18px;border-top:1px solid var(--line)}
.bank-transfer-box h3{font-size:16px;margin:0 0 4px}
.bank-transfer-box>p{font-size:12px;line-height:1.7;margin:0 0 12px}
.bank-transfer-details{display:grid;gap:8px;margin:0 0 14px;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}
.bank-transfer-details div{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.bank-transfer-details dt{font-size:12px;color:var(--muted)}
.bank-transfer-details dd{margin:0;display:flex;align-items:center;gap:8px;font-size:14px}
.bank-transfer-history{display:grid;gap:6px;margin-top:16px;font-size:12px}
.bank-transfer-history div{display:flex;justify-content:space-between;gap:8px;align-items:center;flex-wrap:wrap}
.admin-pay-form{display:grid;gap:16px}
.admin-pay-form fieldset{display:grid;gap:10px;margin:0;padding:14px 16px;border:1px solid var(--line,rgba(255,255,255,.1));border-radius:14px}
.admin-pay-form legend{padding:0 6px;font-weight:800}

/* ===== Timeline: app-style feed ===== */
.timeline-topbar{display:flex;align-items:center;gap:16px;margin:6px 0 14px;flex-wrap:wrap}
.timeline-topbar h1{margin:0;font:800 clamp(22px,2.4vw,28px)/1.1 Outfit,sans-serif;letter-spacing:-.02em}
.timeline-topbar .timeline-feed-tabs{display:flex;gap:4px;margin:0;padding:4px;border:1px solid var(--line);border-radius:999px;background:var(--surface);box-shadow:none;min-height:0}
.timeline-topbar .timeline-feed-tabs a{padding:7px 14px;border-radius:999px;font-size:13px;font-weight:700;color:var(--muted);text-decoration:none;transition:background .2s ease,color .2s ease}
.timeline-topbar .timeline-feed-tabs a:hover{color:var(--ink)}
.timeline-topbar .timeline-feed-tabs a.active{background:var(--accent);color:#fff}
.timeline-topbar-actions{display:flex;align-items:center;gap:8px;margin-left:auto}
.timeline-topbar-actions .btn{display:inline-flex;align-items:center;gap:6px}
@media(max-width:640px){.timeline-topbar{gap:10px}.timeline-topbar .timeline-feed-tabs{order:3;width:100%;justify-content:space-between}.timeline-topbar .timeline-feed-tabs a{flex:1;text-align:center;padding:7px 8px}}

/* Stories as a compact row of rings (tap to view), like a phone app */
.timeline-story-shell{margin:0 0 12px;padding:0;background:none;border:0;box-shadow:none}
.timeline-story-strip{display:flex!important;align-items:flex-start;gap:14px;overflow-x:auto;padding:4px 2px 8px;scrollbar-width:none;grid-template-columns:none!important}
.timeline-story-strip::-webkit-scrollbar{display:none}
.timeline-story-strip .timeline-story-card{position:relative;flex:none;display:flex;flex-direction:column;align-items:center;gap:6px;width:72px;height:auto!important;min-height:0;padding:0;border:0;background:none!important;box-shadow:none!important;color:var(--ink);text-decoration:none;cursor:pointer;overflow:visible}
.timeline-story-strip .timeline-story-card>img:first-child,.timeline-story-strip .timeline-story-cover{width:64px!important;height:64px!important;border-radius:50%;object-fit:cover;padding:3px;background:conic-gradient(from 200deg,#E8682A,#F59E0B,#10B981,#E8682A);box-sizing:border-box;transition:transform .2s ease;position:static!important;inset:auto!important}
.timeline-story-strip .timeline-story-card:hover>img:first-child{transform:scale(1.06)}
.timeline-story-strip .timeline-story-avatar{position:absolute!important;left:auto!important;right:2px;top:44px!important;bottom:auto!important;width:22px!important;height:22px!important;border-radius:50%;border:2px solid var(--surface)}
.timeline-story-strip .timeline-create-story>img{background:var(--line)!important}
.timeline-story-strip .story-create-plus{position:absolute;right:2px;top:44px;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--accent);color:#fff;border:2px solid var(--surface)}
.timeline-story-strip .story-create-plus svg{width:12px;height:12px}
.timeline-story-strip .timeline-story-card strong{max-width:72px;font-size:11.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;position:static!important;color:var(--ink)!important;text-shadow:none!important}
.timeline-stories-empty{align-self:center;margin:0;max-width:340px;font-size:12.5px;line-height:1.5;color:var(--muted)}
.timeline-story-all{align-self:center;flex:none;font-size:12px;font-weight:700;color:var(--accent);text-decoration:none}

/* Double-tap heart and a springy like button */
.post-image-button{position:relative;overflow:hidden}
.post-heart-burst{position:absolute;width:96px;height:96px;margin:-48px 0 0 -48px;pointer-events:none;animation:postHeart .8s cubic-bezier(.2,1.4,.4,1) forwards;z-index:2}
.post-heart-burst svg{width:100%;height:100%;fill:#fff;filter:drop-shadow(0 4px 14px rgba(232,104,42,.6))}
[data-timeline-like] button[aria-pressed="true"] svg{animation:likePop .35s cubic-bezier(.2,1.8,.4,1)}
@keyframes postHeart{0%{opacity:0;transform:scale(.3)}25%{opacity:1;transform:scale(1.15)}45%{transform:scale(.95)}70%{opacity:1;transform:scale(1)}100%{opacity:0;transform:translateY(-30px) scale(1.1)}}
@keyframes likePop{0%{transform:scale(.6)}100%{transform:scale(1)}}
@media(prefers-reduced-motion:reduce){.post-heart-burst,[data-timeline-like] button svg{animation:none}}
.timeline-story-strip .timeline-stories-empty{display:block!important;flex:1;min-height:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;grid-column:auto!important}
.timeline-topbar .timeline-feed-tabs a{display:inline-flex;align-items:center;justify-content:center}
.timeline-story-strip .timeline-story-card:not(.timeline-create-story):after{display:none}

/* ===== Calls: phone-style call screen ===== */
dialog.call-dialog.call-stage{display:none;width:min(420px,calc(100vw - 24px));max-width:420px;height:min(740px,calc(100dvh - 24px));max-height:none;padding:0;border:1px solid #ffffff14;border-radius:30px;background:#101714;color:#fff;overflow:hidden;isolation:isolate}
dialog.call-dialog.call-stage[open]{display:flex;flex-direction:column}
dialog.call-stage::before{content:"";position:absolute;inset:-40px;z-index:-2;background:var(--call-photo,none) center/cover no-repeat;filter:blur(38px) saturate(1.1) brightness(.55);transform:scale(1.15)}
dialog.call-stage::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(9,22,18,.55) 0%,rgba(10,16,14,.35) 40%,rgba(8,12,11,.92) 100%)}
.call-stage::backdrop{background:rgba(6,10,9,.78);backdrop-filter:blur(10px)}
.call-stage-top{padding:18px 18px 0}
.call-kicker{font-size:11px;font-weight:700;letter-spacing:.06em;color:#ffffffb3;text-transform:none}
.call-close-btn{background:#ffffff14;border-color:#ffffff1f}
.call-scene{flex:1;height:auto;min-height:0;margin:0;border-radius:0;background:none!important}
.call-fallback>img{width:132px;height:132px;border:3px solid #ffffff40;box-shadow:0 24px 60px #0009}
.call-rings i{width:170px;height:170px;border-color:#ffffff38}
.call-stage.is-active .call-rings{display:none}
.call-bars{bottom:8%}
.call-bars i{background:#fff}
.call-stage.is-active:not(.is-video) .call-bars{opacity:.9}
.call-identity{flex-direction:column;justify-content:center;align-items:center;gap:6px;padding:0 22px;text-align:center}
.call-identity>div{display:flex;flex-direction:column;align-items:center;max-width:100%}
.call-identity h2{font-size:28px;font-weight:700;letter-spacing:-.02em}
.call-identity p{font-size:14px;color:#ffffffc7;margin:4px 0 0}
.call-stage.is-active .call-identity p{display:none}
.call-timer{padding:0;border:0;background:none;font-size:15px;font-weight:600;color:#ffffffd9}
.call-status{padding:6px 22px 0;text-align:center;font-size:12.5px;color:#ffd7c2;min-height:0}
.call-status:empty{display:none}
.call-controls{gap:14px;margin:18px 14px 12px;padding:14px 12px;border-radius:26px;background:#ffffff12;backdrop-filter:blur(16px);flex-wrap:nowrap;justify-content:space-evenly}
.call-control{min-width:0;flex:0 1 auto}
.call-control>span{width:56px;height:56px;background:#ffffff1f;border:0;transition:background .2s ease,transform .15s ease}
.call-control:hover>span{background:#ffffff33}
.call-control:active>span{transform:scale(.92)}
.call-control[aria-pressed="true"]>span{background:#fff;color:#101714}
.call-control small{font-size:11px;color:#ffffffc7}
.call-control.call-end>span{width:64px;height:64px;background:#E5484D;color:#fff}
.call-control.call-end:hover>span{background:#d93a40}
.call-control.call-accept>span{width:64px;height:64px;background:#16a34a;color:#fff;animation:callAcceptPulse 1.4s ease-in-out infinite}
@keyframes callAcceptPulse{0%,100%{box-shadow:0 0 0 0 rgba(22,163,74,.55)}50%{box-shadow:0 0 0 14px rgba(22,163,74,0)}}
.call-relay-note{display:flex;align-items:center;justify-content:center;gap:6px;margin:0 0 16px;padding:0;font-size:11px;color:#ffffff8c}
.call-relay-note:not(:empty)::before{content:"";width:10px;height:12px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 12'%3E%3Cpath d='M2 5V3.5a3 3 0 0 1 6 0V5h.5A1.5 1.5 0 0 1 10 6.5v4A1.5 1.5 0 0 1 8.5 12h-7A1.5 1.5 0 0 1 0 10.5v-4A1.5 1.5 0 0 1 1.5 5H2zm1.5 0h3V3.5a1.5 1.5 0 0 0-3 0V5z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 12'%3E%3Cpath d='M2 5V3.5a3 3 0 0 1 6 0V5h.5A1.5 1.5 0 0 1 10 6.5v4A1.5 1.5 0 0 1 8.5 12h-7A1.5 1.5 0 0 1 0 10.5v-4A1.5 1.5 0 0 1 1.5 5H2zm1.5 0h3V3.5a1.5 1.5 0 0 0-3 0V5z'/%3E%3C/svg%3E") center/contain no-repeat}
/* Video: the other person fills the screen; name, timer and controls float on top; your self-view can be dragged. */
.call-stage.is-video.is-active .call-scene{position:absolute;inset:0;z-index:0}
.call-stage.is-video.is-active .call-stage-top,.call-stage.is-video.is-active .call-identity,.call-stage.is-video.is-active .call-controls,.call-stage.is-video.is-active .call-relay-note{position:relative;z-index:2}
.call-stage.is-video.is-active .call-identity{margin-top:auto;text-shadow:0 2px 12px #000a}
.call-stage.is-video.is-active .call-identity h2{font-size:20px}
.call-local{top:70px;right:14px;bottom:auto;width:104px;height:150px;border-radius:18px;cursor:grab;touch-action:none}
.call-local:active{cursor:grabbing}
@media(max-width:600px){dialog.call-dialog.call-stage{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border:0;border-radius:0;margin:0}.call-controls{margin:12px 10px calc(10px + env(safe-area-inset-bottom));gap:8px}.call-control>span{width:52px;height:52px}.call-control.call-end>span,.call-control.call-accept>span{width:60px;height:60px}}
@media(prefers-reduced-motion:reduce){.call-control.call-accept>span{animation:none}}

/* ===== Offers: slim section header, job-first detail page ===== */
.offers-topbar{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:6px 0 14px}
.offers-topbar h1{margin:0;font:800 clamp(22px,2.4vw,28px)/1.1 Outfit,sans-serif;letter-spacing:-.02em}
.offers-tabs{display:flex;gap:4px;padding:4px;border:1px solid var(--line);border-radius:999px;background:var(--surface);overflow-x:auto;scrollbar-width:none}
.offers-tabs::-webkit-scrollbar{display:none}
.offers-tabs a{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;padding:7px 14px;border-radius:999px;font-size:13px;font-weight:700;color:var(--muted);text-decoration:none;transition:background .2s ease,color .2s ease}
.offers-tabs a:hover{color:var(--ink)}
.offers-tabs a.active{background:var(--accent);color:#fff}
.offers-tabs a.active .tab-count{background:#fff;color:var(--accent)}
.offers-topbar-cta{margin-left:auto;display:inline-flex;align-items:center;gap:6px}
@media(max-width:640px){.offers-topbar{gap:10px}.offers-tabs{order:3;width:100%}}
.offer-status-chips{margin-top:0}
/* Detail: the job reads first, a big clear price, then a compact poster row */
.offer-detail-card .offer-title{margin-top:6px;font-size:clamp(24px,3vw,34px)}
.offer-detail-card .offer-detail-price{font-size:clamp(26px,3vw,32px);font-weight:800;margin-top:14px}
.offer-author-card.is-compact{margin:16px 0 4px;padding:12px;gap:12px;align-items:center}
.offer-author-card.is-compact .offer-author-photo,.offer-author-card.is-compact .offer-author-photo img{width:56px!important;height:56px!important;border-radius:50%!important;flex:none}
.offer-author-card.is-compact .offer-author-tagline{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;margin:2px 0 4px}
.offer-author-card.is-compact .offer-author-services{display:none}
.filter-bar .search-field{position:relative}.filter-bar .search-field>svg,.filter-bar .search-field>.icon{position:absolute;left:14px;top:50%;transform:translateY(-50%);pointer-events:none;width:17px;height:17px}.filter-bar .search-field:has(>svg) input,.filter-bar .search-field:has(>.icon) input{padding-left:40px!important}.filter-bar .search-field:not(:has(>svg)):not(:has(>.icon)) input{padding-left:16px!important}

/* Chat: the ⋯ menu and the react button sit side by side, centred on the bubble (no stacking on short messages) */
.wa-thread .message-bubble>.message-actions-menu{top:50%!important;transform:translateY(-50%)}
.wa-thread .message-bubble>.dm-react-btn{top:50%;bottom:auto;transform:translateY(-50%);left:calc(100% + 40px)}
.wa-thread .message-bubble.mine>.dm-react-btn{left:auto;right:calc(100% + 40px)}
.wa-thread .message-bubble>.message-actions-menu[open]{transform:none;top:4px!important}
.wa-thread .message-bubble>.dm-react-btn:hover{transform:translateY(-50%) scale(1.08)}
@media(hover:none){.wa-thread .message-bubble>.dm-react-btn,.wa-thread .message-bubble>.message-actions-menu>summary{opacity:.55}}

/* ===== Wallet: banking-app layout ===== */
.wallet-app{max-width:880px}
.wallet-topbar{display:flex;align-items:center;justify-content:space-between;margin:6px 0 14px}
.wallet-topbar h1{margin:0;font:800 clamp(22px,2.4vw,28px)/1.1 Outfit,sans-serif;letter-spacing:-.02em}
.wallet-hero{position:relative;padding:22px 22px 18px;border-radius:26px;color:#fff;background:radial-gradient(120% 140% at 100% 0%,#2f5a4c 0%,#16302a 45%,#0f201c 100%);box-shadow:0 18px 40px rgba(16,40,34,.25);overflow:hidden}
.wallet-hero::after{content:"";position:absolute;right:-60px;top:-60px;width:220px;height:220px;border-radius:50%;background:radial-gradient(circle,rgba(232,104,42,.35),transparent 70%);pointer-events:none}
.wallet-hero-main{display:flex;flex-direction:column;gap:6px;position:relative}
.wallet-hero-main>span{font-size:13px;color:#ffffffb3}
.wallet-hero-main>strong{font:800 clamp(34px,6vw,46px)/1.05 Outfit,sans-serif;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.wallet-eye{position:absolute;right:0;top:0;display:grid;place-items:center;width:38px;height:38px;border:0;border-radius:50%;background:#ffffff1a;color:#fff;cursor:pointer;transition:background .2s ease}
.wallet-eye:hover{background:#ffffff33}
.wallet-eye[aria-pressed="true"]{background:#fff;color:#16302a}
.wallet-hero-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:18px 0 0;position:relative}
.wallet-hero-stats div{padding:10px 12px;border-radius:16px;background:#ffffff12}
.wallet-hero-stats dt{font-size:11.5px;color:#ffffffa6}
.wallet-hero-stats dd{margin:2px 0 0;font:700 17px/1.2 Outfit,sans-serif;font-variant-numeric:tabular-nums}
.wallet-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:18px;position:relative}
.wallet-actions>*{display:flex;flex-direction:column;align-items:center;gap:7px;padding:4px 0;border:0;background:none;color:#fff;font-size:12.5px;font-weight:600;line-height:1.2;text-decoration:none;cursor:pointer}
.wallet-actions span{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#ffffff1f;transition:background .2s ease,transform .15s ease}
.wallet-actions>*:first-child span{background:#E8682A}
.wallet-actions>*:hover span{background:#ffffff38}
.wallet-actions>*:first-child:hover span{background:#d4581c}
.wallet-actions>*:active span{transform:scale(.92)}
.wallet-actions svg{width:20px;height:20px}
.wallet-inline-note{display:flex;align-items:center;gap:8px;margin:12px 2px 0;font-size:12.5px;color:var(--muted)}
.wallet-inline-note svg{width:16px;height:16px;flex:none}
.wallet-pin-nudge{display:flex;align-items:center;gap:12px;width:100%;margin-top:12px;padding:12px 14px;border:1px solid var(--line);border-radius:16px;background:var(--surface);color:var(--ink);text-align:left;cursor:pointer;transition:border-color .2s ease}
.wallet-pin-nudge:hover{border-color:var(--accent)}
.wallet-pin-nudge>svg:first-child{width:22px;height:22px;color:var(--accent);flex:none}
.wallet-pin-nudge span{display:flex;flex-direction:column;flex:1}
.wallet-pin-nudge small{color:var(--muted);font-size:12px}
.wallet-app>section.panel{margin-top:16px}
/* Activity rows: icon, title, amount coloured by direction */
.wallet-app .ledger-row{display:grid;grid-template-columns:40px 1fr auto;grid-template-areas:"icon text amount" "icon text date";align-items:center;column-gap:12px;row-gap:2px;padding:12px 0}
.wallet-app .ledger-row>.ledger-icon{grid-area:icon;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:color-mix(in srgb,var(--accent) 12%,transparent);color:var(--accent)}
.wallet-app .ledger-row.is-credit>.ledger-icon{background:rgba(16,185,129,.13);color:#0f8a5f}
.wallet-app .ledger-row>.ledger-icon svg{width:18px;height:18px}
.wallet-app .ledger-row>div{grid-area:text;min-width:0}
.wallet-app .ledger-row h3{margin:0;font-size:14px}
.wallet-app .ledger-row p{margin:2px 0 0;font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wallet-app .ledger-row .ledger-amount{grid-area:amount;text-align:right;font-weight:800;font-variant-numeric:tabular-nums}
.wallet-app .ledger-row.is-credit .ledger-amount{color:#0f8a5f}
.wallet-app .ledger-row .ledger-date{grid-area:date;text-align:right;font-size:11px;color:var(--muted)}
.wallet-app .ledger-row:not(:has(.ledger-icon)){grid-template-columns:1fr auto auto;grid-template-areas:"text date amount"}
@media(max-width:560px){.wallet-hero{padding:18px 16px 14px;border-radius:22px}.wallet-actions span{width:44px;height:44px}.wallet-actions>*{font-size:11px}}
html.dark .wallet-app .ledger-row.is-credit .ledger-amount,html.dark .wallet-app .ledger-row.is-credit>.ledger-icon{color:#34d399}

/* ===== Premium & Boost ===== */
.premium-topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:6px 0 14px}
.premium-topbar h1{margin:0;font:800 clamp(22px,2.4vw,28px)/1.1 Outfit,sans-serif;letter-spacing:-.02em}
.premium-topbar .btn{display:inline-flex;align-items:center;gap:6px}
.premium-lede{margin:-6px 0 14px;color:var(--muted);font-size:14px}
.premium-perks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0 18px;padding:0;list-style:none}
.premium-perks li{display:flex;gap:10px;align-items:flex-start}
.premium-perks li>span{flex:none;display:grid;place-items:center;width:36px;height:36px;border-radius:12px;background:color-mix(in srgb,var(--accent) 12%,transparent);color:var(--accent)}
.premium-perks li>span svg{width:18px;height:18px}
.premium-perks strong{display:block;font-size:14px}
.premium-perks small{display:block;font-size:12px;color:var(--muted);line-height:1.45}
@media(max-width:560px){.premium-perks{grid-template-columns:1fr}}
/* Controls: switches for members, locked rows (open the plans popup) for everyone else */
.premium-controls{margin-top:16px}
.premium-controls h2{font-size:18px;margin:0 0 6px}
.premium-toggle-row{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:12px 0;border:0;border-bottom:1px solid var(--line);background:none;color:var(--ink);text-align:left;text-decoration:none;font:inherit;cursor:pointer}
.premium-toggle-row:last-of-type{border-bottom:0}
.premium-toggle-row>span:first-of-type{display:flex;align-items:center;gap:12px;min-width:0}
.premium-toggle-row>span:first-of-type>svg{width:20px;height:20px;color:var(--accent);flex:none}
.premium-toggle-row>span:first-of-type>span{display:flex;flex-direction:column}
.premium-toggle-row strong{font-size:14px}
.premium-toggle-row small{font-size:12px;color:var(--muted)}
.premium-toggle-row.is-locked:hover strong{color:var(--accent)}
.premium-lock-pill{flex:none;display:inline-flex;align-items:center;gap:5px;padding:5px 10px;border-radius:999px;background:color-mix(in srgb,var(--accent) 12%,transparent);color:var(--accent);font-size:12px;font-weight:700}
.premium-lock-pill svg{width:13px;height:13px}
.premium-switch{flex:none;position:relative;width:46px;height:28px;border:0;border-radius:999px;background:var(--line);cursor:pointer;transition:background .2s ease}
.premium-switch i{position:absolute;left:3px;top:3px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.25);transition:transform .2s ease}
.premium-switch.is-on{background:var(--accent)}
.premium-switch.is-on i{transform:translateX(18px)}
.premium-controls-note{margin:10px 0 0;font-size:12px;color:var(--muted)}
.viewers-page .premium-toggle-row{margin:0 0 14px;padding:12px 14px;border:1px solid var(--line);border-radius:16px;background:var(--surface)}
/* People: area picker and locked chip */
.people-area-form{display:inline-flex}
.people-area-select{appearance:none;padding-right:28px!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.6' fill='none'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;background-size:10px;cursor:pointer}
.people-chip-locked{display:inline-flex;align-items:center;gap:6px;cursor:pointer}
.people-chip-locked svg{width:13px;height:13px;color:var(--accent)}
/* Plans popup */
.premium-popup{width:min(520px,calc(100vw - 24px));padding:24px 22px 18px;border-radius:26px}
.premium-popup-close{position:absolute;right:14px;top:14px}
.premium-popup-head{text-align:center;margin-bottom:12px}
.premium-popup-badge{display:inline-grid;place-items:center;width:52px;height:52px;border-radius:16px;background:linear-gradient(135deg,#E8682A,#F59E0B);color:#fff;margin-bottom:10px}
.premium-popup-badge svg{width:26px;height:26px}
.premium-popup-head h2{margin:0;font-size:22px}
.premium-popup-head p{margin:6px 0 0;color:var(--muted);font-size:13.5px}
.premium-popup-perks{display:grid;gap:7px;margin:0 0 14px;padding:0;list-style:none;font-size:13px}
.premium-popup-perks li{display:flex;align-items:center;gap:8px}
.premium-popup-perks svg{width:16px;height:16px;color:var(--accent);flex:none}
.premium-popup .premium-plan-grid{gap:8px}
.premium-popup .premium-wallet-link{display:block;margin-top:10px;text-align:center;font-size:12px}

/* Room header on phones: one row — back, avatar, name + one status line, then ⓘ and ⚙. Nothing clipped or overlapping. */
@media(max-width:700px){
  .forum-chat .forum-chat-heading{display:flex!important;align-items:center!important;gap:6px!important;height:auto!important;min-height:58px;padding:6px 8px!important;flex-wrap:nowrap!important}
  .forum-chat .forum-room-identity{display:flex!important;align-items:center!important;gap:8px!important;flex:1 1 auto!important;min-width:0!important;overflow:hidden}
  .forum-chat .forum-heading-back{flex:none}
  .forum-chat .forum-room-identity .community-avatar{width:38px!important;height:38px!important;flex:none}
  .forum-chat .forum-room-heading-meta{display:flex!important;flex-direction:column!important;justify-content:center;gap:1px!important;min-width:0!important;flex:1 1 auto!important}
  .forum-chat .forum-room-title-row{display:flex!important;align-items:center;gap:6px;flex-wrap:nowrap!important;min-width:0;margin:0!important}
  .forum-chat .forum-room-title-row h1{margin:0!important;font-size:15.5px!important;line-height:1.25!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;min-width:0}
  .forum-chat .room-badge-category,.forum-chat .room-topic-line{display:none!important}
  .forum-chat .forum-room-live-meta{display:block!important;margin:0!important;font-size:11.5px!important;line-height:1.3!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;min-width:0}
  .forum-chat .forum-room-live-meta *{display:inline!important}
  .forum-chat .forum-room-live-meta .forum-connection>i{display:inline-block!important;vertical-align:middle;margin-right:4px}
  .forum-chat .forum-room-live-meta .forum-live-counts{margin-left:6px}
  .forum-chat .forum-chat-heading>.room-aside-toggle,.forum-chat .forum-chat-heading>.room-options>summary{width:36px!important;height:36px!important;min-width:36px;flex:none}
  .forum-chat .forum-chat-heading>.room-aside-toggle,.forum-chat .forum-chat-heading>.room-options{flex:none}
  .forum-chat .forum-chat-heading>.room-options{position:relative!important}
  .forum-chat .room-options-menu{position:absolute!important;top:calc(100% + 6px)!important;right:0!important;bottom:auto!important;left:auto!important;max-height:calc(100dvh - 160px);overflow-y:auto}
}

/* Chat offer form: ₦ amount box, amounts found in the chat, wallet check */
.offer-amount-input{display:flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:14px;background:var(--surface);padding:0 12px;transition:border-color .2s ease,box-shadow .2s ease}
.offer-amount-input:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 18%,transparent)}
.offer-amount-input>span{font-weight:800;color:var(--muted)}
.offer-amount-input input{flex:1;min-width:0;border:0!important;background:none!important;box-shadow:none!important;padding:12px 0!important;font-size:17px;font-weight:700}
.offer-amount-help{display:grid;gap:8px;margin:-4px 0 14px}
.offer-amount-chips{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.offer-amount-chips small{font-size:11.5px;color:var(--muted);margin-right:2px}
.offer-amount-chips button{padding:6px 12px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--ink);font-weight:700;font-size:13px;cursor:pointer;transition:border-color .2s ease,background .2s ease}
.offer-amount-chips button:hover{border-color:var(--accent)}
.offer-amount-chips button.is-active{background:var(--accent);border-color:var(--accent);color:#fff}
.offer-wallet-note{font-size:12px;color:var(--muted)}
.offer-wallet-note.is-short{color:#b4441e}
.offer-wallet-note a{color:var(--accent);font-weight:700}
/* Chat header on phones: compact Offer button so the name has room */
@media(max-width:600px){
  .wa-thread .btn-offer-header{padding:6px 10px!important;min-height:32px;font-size:12.5px}
  .wa-thread .btn-offer-header svg{display:none}
}
/* Phones: message buttons only on the tapped message */
@media(hover:none){
  .wa-thread .message-bubble>.dm-react-btn,.wa-thread .message-bubble>.message-actions-menu>summary{opacity:0!important;pointer-events:none}
  .wa-thread .message-bubble.is-picked>.dm-react-btn,.wa-thread .message-bubble.is-picked>.message-actions-menu>summary,.wa-thread .message-bubble>.message-actions-menu[open]>summary{opacity:1!important;pointer-events:auto}
}
.wa-thread .thread-header-main>.thread-person{flex:1 1 auto;min-width:0}.wa-thread .thread-person-details{flex:1;min-width:0}
.chat-header .thread-person,.wa-thread .thread-header-main>.thread-person{max-width:none!important}
.premium-star{display:inline-grid;place-items:center;width:16px;height:16px;margin-left:4px;border-radius:50%;background:linear-gradient(135deg,#E8682A,#F59E0B);vertical-align:-2px;flex:none}
.premium-star svg{width:10px;height:10px;fill:#fff}

/* Offer dialog tabs: "I'm paying" / "Send my price" */
.offer-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;margin:0 0 16px;border-radius:12px;background:var(--surface-2,rgba(127,127,127,.1))}
.offer-tabs[hidden]{display:none}
.offer-tabs button{padding:10px 8px;border:0;border-radius:9px;background:transparent;color:var(--muted);font-weight:700;font-size:14px;cursor:pointer;transition:background .2s ease,color .2s ease}
.offer-tabs button[aria-selected="true"]{background:var(--surface);color:var(--ink);box-shadow:0 1px 3px rgba(0,0,0,.12)}
.offer-pane-intro{font-size:13px;line-height:1.6;margin:0 0 14px}
.offer-quote-banner{margin:0 0 14px;padding:10px 12px;border-radius:10px;background:color-mix(in srgb,var(--accent) 12%,transparent);color:var(--ink);font-size:13px;line-height:1.55}
[data-offer-pane="pay"] input[readonly]{opacity:.75;cursor:not-allowed}

/* "My price" card inside a chat bubble */
.message-bubble.has-quote{padding:4px!important;background:transparent!important;box-shadow:none!important}
.chat-quote-card{display:grid;gap:4px;min-width:220px;max-width:280px;padding:14px 16px;border:1px solid var(--line);border-radius:16px;background:var(--surface);color:var(--ink);text-align:left}
.chat-quote-eyebrow{font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--accent)}
.chat-quote-card strong{font-size:24px;line-height:1.15;font-weight:800}
.chat-quote-card span{font-size:13.5px;color:var(--muted)}
.chat-quote-card p{margin:2px 0 0;font-size:13px;line-height:1.5}
.chat-quote-card .btn{margin-top:8px;justify-self:stretch}
.chat-quote-state{margin-top:6px;font-size:12px;font-weight:700;color:var(--muted)}
.chat-quote-card.is-accepted .chat-quote-state{color:var(--success,#1f9d55)}
.chat-quote-card.is-expired{opacity:.65}

/* Pinned offer progress */
.offer-steps{display:flex;gap:6px;margin:8px 0 10px;padding:0;list-style:none;font-size:11.5px;font-weight:700;color:var(--muted)}
.offer-steps li{flex:1;padding-top:6px;border-top:3px solid var(--line)}
.offer-steps li.is-done{border-color:var(--accent);color:var(--ink)}
.offer-steps li.is-now{border-color:color-mix(in srgb,var(--accent) 45%,var(--line));color:var(--ink)}
.counter-chips{margin:-4px 0 14px}

.onboarding-location-hint{margin:-4px 0 16px;font-size:13px;line-height:1.55}

/* Encounters: interest matches when nobody is nearby */
.interest-matches{margin-top:20px;text-align:left}
.interest-matches h3{margin:0 0 10px;font-size:14px;font-weight:800}
.interest-match-list{display:grid;gap:8px}
.interest-match{display:flex;align-items:center;gap:12px;padding:10px 12px;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--ink);text-decoration:none;transition:border-color .2s ease,transform .2s ease}
.interest-match:hover{border-color:var(--accent);transform:translateY(-1px)}
.interest-match img{width:44px;height:44px;border-radius:50%;object-fit:cover;flex:none}
.interest-match span{display:grid;min-width:0;flex:1}
.interest-match strong{font-size:14.5px}
.interest-match small{color:var(--muted);font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.interest-match>.icon,.interest-match>svg{width:16px;height:16px;color:var(--muted);flex:none}
@media(min-width:900px){.interest-match-list{grid-template-columns:1fr 1fr}}

/* Room: "N new messages since you left" */
.forum-new-divider{display:flex;align-items:center;gap:10px;margin:14px 0 10px;color:var(--accent);font-size:12px;font-weight:800;letter-spacing:.02em}
.forum-new-divider::before,.forum-new-divider::after{content:"";flex:1;height:1px;background:color-mix(in srgb,var(--accent) 45%,transparent)}
.forum-new-divider span{padding:4px 10px;border-radius:999px;background:color-mix(in srgb,var(--accent) 12%,var(--surface))}
.my-room-unread{position:absolute;top:-2px;right:-2px;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:var(--accent);color:#fff;font-size:11px;font-weight:800;line-height:20px;text-align:center;box-shadow:0 0 0 2px var(--surface)}
.my-room.has-unread .my-room-name{font-weight:800;color:var(--ink)}

/* Boost / Featured results before renewal */
.promo-results{margin:0 0 20px;padding:20px}
.promo-results-head{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:14px;flex-wrap:wrap}
.promo-results-head h2{margin:2px 0 0;font-size:20px}
.promo-results-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.promo-stat{display:grid;gap:2px;padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}
.promo-stat>svg,.promo-stat>.icon{width:18px;height:18px;color:var(--accent);margin-bottom:4px}
.promo-stat strong{font-size:26px;line-height:1.1;font-weight:800}
.promo-stat span{font-size:13px;color:var(--ink)}
.promo-stat small{font-size:11.5px;color:var(--muted)}
.promo-stat small.is-up{color:var(--success,#1f9d55);font-weight:700}
.promo-results-note{margin:12px 0 0;font-size:12px}
@media(max-width:560px){.promo-results-grid{grid-template-columns:1fr}.promo-stat{grid-template-columns:auto 1fr;align-items:center;column-gap:12px}.promo-stat>svg,.promo-stat>.icon{grid-row:span 3;margin:0}}

/* Wallet: paused money actions read as unavailable */
.wallet-actions button:disabled{opacity:.42;cursor:not-allowed;filter:saturate(.3)}
.wallet-actions button:disabled span,.wallet-actions button:disabled:hover span{background:#ffffff1f!important;transform:none}

/* Help button tucks away while scrolling down (floating-assistant.js) */
.hoom-assistant{transition:transform .25s ease,opacity .25s ease}
.hoom-assistant.is-tucked{transform:translateY(160%);opacity:0;pointer-events:none}
@media (prefers-reduced-motion:reduce){.hoom-assistant{transition:none}}

/* Bigger tap areas for small icon buttons, without changing how they look */
.room-fav-btn,.forum-add-reaction-btn{position:relative}
.room-fav-btn::after,.forum-add-reaction-btn::after,.dm-react-btn::after{content:"";position:absolute;inset:-8px}

/* Room details on phones: the info button opens them as a full-screen panel with a close button */
.room-aside-close{display:none}
@media(max-width:900px){
  .has-active-chat .community-room-layout:not(.is-aside-closed) .forum-room-aside{display:flex!important;flex-direction:column;position:fixed!important;inset:0;z-index:300;height:100dvh!important;overflow-y:auto!important;padding:60px 12px 28px!important;gap:10px!important;background:var(--canvas)}
  .has-active-chat .community-room-layout:not(.is-aside-closed) .room-aside-close{display:grid;place-items:center;position:fixed;top:12px;right:12px;z-index:301;width:40px;height:40px;background:var(--surface);border:1px solid var(--line);border-radius:50%}
}

/* Members' own stickers: "My stickers" row in the picker, tap-to-save menu */
.my-stickers{grid-column:1/-1;display:grid;gap:8px;padding-bottom:10px;margin-bottom:4px;border-bottom:1px solid var(--line)}
.my-stickers-title{margin:0;font-size:12px;font-weight:800;color:var(--muted)}
.my-stickers-row{display:grid;grid-template-columns:repeat(auto-fill,minmax(72px,1fr));gap:8px}
.my-sticker{position:relative}
.my-sticker .chat-api-sticker{width:100%;aspect-ratio:1.25;padding:0;overflow:hidden;border-radius:14px}
.my-sticker .chat-api-sticker img{width:100%;height:100%;object-fit:cover;border-radius:inherit}
.my-sticker-remove{position:absolute;top:-6px;right:-6px;width:22px;height:22px;border-radius:50%;border:1px solid var(--line);background:var(--surface);color:var(--muted);font-size:14px;line-height:1;cursor:pointer;transition:color .2s ease}
.my-sticker-remove::after{content:"";position:absolute;inset:-8px}
.my-sticker-remove:hover{color:var(--danger,#c0392b)}
.my-sticker-make{display:grid;place-items:center;align-content:center;gap:2px;aspect-ratio:1.25;border:2px dashed color-mix(in srgb,var(--accent) 45%,var(--line));border-radius:14px;color:var(--accent);cursor:pointer;text-align:center;transition:background .2s ease}
.my-sticker-make:hover{background:color-mix(in srgb,var(--accent) 8%,transparent)}
.my-sticker-make span{font-size:26px;font-weight:700;line-height:1}
.my-sticker-make small{font-size:10.5px;font-weight:700;line-height:1.2}
.my-sticker-make.is-busy{opacity:.6;pointer-events:none}

/* Sticker Crop & Position Modal */
.sticker-crop-dialog{width:min(440px,calc(100vw - 24px));max-width:440px;padding:0;border:1px solid var(--line);border-radius:24px;background:var(--surface);color:var(--ink);box-shadow:0 25px 60px rgba(0,0,0,.35);overflow:hidden}
.sticker-crop-dialog::backdrop{background:rgba(10,14,12,.75);backdrop-filter:blur(8px)}
.sticker-crop-dialog[open]{animation:stickerModalEnter .22s cubic-bezier(.16,1,.3,1) both}
@keyframes stickerModalEnter{from{opacity:0;transform:scale(.96) translateY(8px)}to{opacity:1;transform:scale(1) translateY(0)}}
.sticker-crop-card{display:flex;flex-direction:column}
.sticker-crop-header{display:flex;align-items:center;justify-content:space-between;padding:18px 20px 14px;border-bottom:1px solid var(--line)}
.sticker-crop-title-group h3{font-family:Outfit,sans-serif;font-size:17px;font-weight:700;margin:0;letter-spacing:-.3px}
.sticker-crop-title-group p{font-size:12px;color:var(--muted);margin:2px 0 0}
.sticker-crop-close{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:color-mix(in srgb,var(--line) 40%,transparent);color:var(--muted);cursor:pointer;border:0;transition:all .2s ease}
.sticker-crop-close:hover{background:var(--line);color:var(--ink)}
.sticker-crop-body{padding:16px 20px;display:flex;flex-direction:column;gap:14px}
.sticker-crop-viewport{position:relative;width:100%;height:280px;margin:0 auto;background:radial-gradient(circle at 50% 50%,#16201b 0%,#0a0f0d 100%);border-radius:16px;overflow:hidden;border:1px solid var(--line);touch-action:none;user-select:none;cursor:grab}
.sticker-crop-viewport:active{cursor:grabbing}
.sticker-crop-canvas{display:block;width:100%;height:100%}
.sticker-crop-frame{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:220px;height:220px;border-radius:20px;border:2px dashed #FF7A45;box-shadow:0 0 0 9999px rgba(8,12,10,.65);pointer-events:none}
.sticker-crop-controls{display:flex;align-items:center;justify-content:space-between;gap:12px}
.sticker-crop-zoom-group{display:flex;align-items:center;gap:8px;flex:1}
.sticker-crop-slider{flex:1;accent-color:var(--accent);cursor:pointer;height:6px}
.sticker-crop-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:6px 12px;border-radius:10px;background:color-mix(in srgb,var(--line) 40%,transparent);border:1px solid var(--line);color:var(--ink);font-size:12px;font-weight:600;cursor:pointer;transition:all .2s ease}
.sticker-crop-btn:hover{background:var(--line);border-color:color-mix(in srgb,var(--accent) 30%,var(--line))}
.sticker-crop-btn.is-icon{width:32px;height:32px;padding:0;border-radius:50%}
.sticker-crop-tools{display:flex;align-items:center;gap:8px}
.sticker-crop-preview-box{display:flex;align-items:center;gap:14px;padding:10px 14px;border-radius:14px;background:color-mix(in srgb,var(--surface) 60%,var(--canvas));border:1px solid var(--line)}
.sticker-crop-bubble-preview{width:60px;height:60px;border-radius:14px;background:var(--surface);border:1px solid var(--line);display:grid;place-items:center;overflow:hidden;box-shadow:0 4px 12px rgba(0,0,0,.08);flex-shrink:0}
.sticker-crop-mini-canvas{width:52px;height:52px;display:block}
.sticker-crop-preview-copy strong{display:block;font-size:13px;font-weight:700;color:var(--ink)}
.sticker-crop-preview-copy span{font-size:11.5px;color:var(--muted);line-height:1.4;display:block}
.sticker-crop-footer{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:14px 20px;border-top:1px solid var(--line);background:color-mix(in srgb,var(--surface) 90%,var(--canvas))}

/* Sticker Context Menu (Save / Report) */
.sticker-menu{width:min(340px,calc(100vw - 28px));max-width:340px;padding:22px 20px 20px;border:1px solid var(--line);border-radius:24px;background:var(--surface);color:var(--ink);box-shadow:0 25px 60px rgba(0,0,0,.35);text-align:center}
.sticker-menu::backdrop{background:rgba(10,14,12,.72);backdrop-filter:blur(8px)}
.sticker-menu-preview-wrap{width:130px;height:130px;margin:0 auto 16px;border-radius:20px;background:radial-gradient(circle at 50% 50%,color-mix(in srgb,var(--accent) 15%,var(--canvas)),var(--canvas));border:1px solid var(--line);display:grid;place-items:center;box-shadow:0 8px 24px rgba(0,0,0,.12);overflow:hidden}
.sticker-menu img{width:110px;height:110px;object-fit:contain;display:block}
.sticker-menu h4{font-family:Outfit,sans-serif;font-size:16px;font-weight:700;margin:0 0 4px}
.sticker-menu p{font-size:12px;color:var(--muted);margin:0 0 16px}
.sticker-menu-actions{display:grid;gap:8px}
img.message-sticker{cursor:pointer;transition:transform .18s ease}
img.message-sticker:hover{transform:scale(1.05)}
.sticker-removed{margin:0;font-size:12px;font-style:italic}

/* Staff page: to-do lines the owner assigned */
.assigned-todo{margin-bottom:16px;padding:18px}
.assigned-todo h2{margin:0 0 2px;font-size:18px}
.assigned-todo>p{margin:0 0 10px;font-size:13px}
.assigned-todo-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid var(--line)}
.assigned-todo-row small{display:block;margin-top:3px;font-size:12px;color:var(--muted)}

/* Face check, OPay style: dark screen, round frame, progress ring, spoken steps */
.liveness .liveness-screen{position:relative;display:grid;justify-items:center;gap:14px;padding:26px 18px 20px;border-radius:24px;background:radial-gradient(120% 90% at 50% 0%,#1d2a24,#0b110e 70%);color:#f2f7f4;overflow:hidden}
.liveness-voice{position:absolute;top:14px;right:14px;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.08);color:#f2f7f4;cursor:pointer;transition:background .2s ease}
.liveness-voice:hover{background:rgba(255,255,255,.16)}
.liveness-voice .v-off{display:none}.liveness-voice.is-off .v-on{display:none}.liveness-voice.is-off .v-off{display:block}
.liveness-frame{position:relative;width:min(260px,72vw);aspect-ratio:1}
.liveness-ring{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg)}
.liveness-ring circle{fill:none;stroke-width:7}
.liveness-ring .track{stroke:rgba(255,255,255,.12)}
.liveness-ring .progress{stroke:#1dc77b;stroke-linecap:round;transition:stroke-dashoffset .12s linear,stroke .3s ease}
.liveness[data-ring="done"] .liveness-ring .progress{stroke:#29e08c}
.liveness-circle{position:absolute;inset:14px;border-radius:50%;overflow:hidden;background:#05080a;box-shadow:inset 0 0 0 2px rgba(255,255,255,.06)}
.liveness-circle video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transform:scaleX(-1)}
.liveness-circle video[data-face-preview]{transform:none}
.liveness-circle .face-placeholder{position:absolute;inset:0;display:grid;place-items:center;color:rgba(255,255,255,.35)}
.liveness-circle .face-placeholder svg{width:72px;height:72px}
.liveness-circle .face-count{position:absolute;inset:0;display:grid;place-items:center;font:800 72px/1 Outfit,sans-serif;color:#fff;background:rgba(0,0,0,.35)}
.liveness .face-rec{position:absolute;top:6px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:6px;padding:3px 9px;border-radius:999px;background:rgba(220,38,38,.92);color:#fff;font-size:11px;font-weight:800;letter-spacing:.08em}
.liveness .face-rec span{width:7px;height:7px;border-radius:50%;background:#fff;animation:livenessBlink 1s infinite}
@keyframes livenessBlink{50%{opacity:.2}}
.liveness-instruction{margin:4px 0 0;min-height:30px;font:800 21px/1.25 Outfit,sans-serif;text-align:center;letter-spacing:-.01em;color:#fff!important}
.liveness-steps{display:grid;gap:6px;width:min(340px,100%);margin:0;padding:0;list-style:none}
.liveness-steps li{display:flex;align-items:center;gap:10px;padding:8px 12px;border-radius:12px;background:rgba(255,255,255,.06);font-size:13.5px;color:rgba(242,247,244,.75);transition:background .25s ease,color .25s ease}
.liveness-steps li span{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:rgba(255,255,255,.12);font-size:11.5px;font-weight:800;flex:none}
.liveness-steps li.is-now{background:rgba(29,199,123,.18);color:#fff}
.liveness-steps li.is-now span{background:#1dc77b;color:#062b19}
.liveness-steps li.is-done{color:rgba(242,247,244,.55)}
.liveness-steps li.is-done span{background:#1dc77b;color:#062b19}
.liveness .face-tips{margin-top:14px}
@media (prefers-reduced-motion:reduce){.liveness-ring .progress{transition:none}.liveness .face-rec span{animation:none}}

/* Chat: reminder to keep payments inside HOOM */
.offplatform-note{margin:0 10px 6px;padding:8px 12px;border-radius:12px;background:color-mix(in srgb,#d99a2b 14%,var(--surface));border:1px solid color-mix(in srgb,#d99a2b 40%,transparent);color:var(--ink);font-size:12.5px;line-height:1.45}

/* Admin payouts: flagged payout needing a person */
.payout-attention{margin-top:14px;padding:14px;border-radius:14px;border:1px solid color-mix(in srgb,#c23b3b 40%,transparent);background:color-mix(in srgb,#c23b3b 8%,var(--surface))}
.payout-attention strong{color:#c23b3b}
.payout-attention p{margin:6px 0;font-size:13px}

/* ---- Compact chat: smaller stickers/GIFs, denser room messages, tidy react + reply menu ---- */
.message-sticker{max-width:150px!important;max-height:150px!important;min-width:64px;min-height:64px}
@media(max-width:600px){.message-sticker{max-width:124px!important;max-height:124px!important}}
.has-active-chat .forum-chat .forum-message-list .forum-message{margin:0 0 1px!important}
.has-active-chat .forum-chat .forum-message-list .forum-message:not(.is-grouped){margin-top:5px!important}
.has-active-chat .forum-chat .forum-message-list .forum-message:not(.forum-message--notice)>.forum-message-content{padding:4px 7px 5px 8px!important}
.has-active-chat .forum-chat .forum-message-list .forum-message-content>p{font-size:13.4px!important;line-height:1.3!important}
.has-active-chat .forum-chat .forum-message-list .forum-message header strong{font-size:12px!important}
.has-active-chat .forum-chat .forum-message-list .forum-message header time{font-size:10.5px!important;bottom:3px}
.has-active-chat .forum-chat .forum-message-list .forum-message-content>blockquote{margin:1px 0 3px!important;padding:4px 8px!important;font-size:12px}
.has-active-chat .forum-chat .forum-message-list .forum-message:has(.message-sticker)>.forum-message-content{padding-bottom:16px!important}
/* React smiley sits right beside the ⋯ button at the bubble's top edge (chat and rooms) */
.wa-thread .message-bubble>.message-actions-menu:not([open]){top:4px!important;transform:none!important}
.wa-thread .message-bubble>.dm-react-btn{top:4px!important;bottom:auto!important;transform:none!important;left:calc(100% + 38px)!important;right:auto!important}
.wa-thread .message-bubble.mine>.dm-react-btn{left:auto!important;right:calc(100% + 38px)!important}
.wa-thread .message-bubble>.dm-react-btn:hover{transform:scale(1.08)!important}
.has-active-chat .forum-chat .forum-message-list .forum-reactions-bar:not(:has(.forum-reaction-pill)){position:absolute!important;inset:2px auto auto calc(100% + 38px)!important;margin:0!important}
.has-active-chat .forum-chat .forum-message-list .forum-message.mine .forum-reactions-bar:not(:has(.forum-reaction-pill)){inset:2px calc(100% + 38px) auto auto!important}
.has-active-chat .forum-chat .forum-message-list .forum-reactions-bar:not(:has(.forum-reaction-pill)) .forum-add-reaction-wrap{position:static!important}
.has-active-chat .forum-chat .forum-message-list .forum-reactions-bar:not(:has(.forum-reaction-pill)) .forum-add-reaction-btn{width:28px!important;height:28px!important;border-radius:50%;background:var(--surface);border:1px solid var(--line)}
.has-active-chat .forum-chat .forum-message-list .forum-reactions-bar:has(.forum-reaction-pill){display:flex;flex-wrap:wrap;align-items:center;gap:4px;margin:3px 0 0!important}
/* Menu: one tight emoji row on top, then the actions as full-width rows */
.message-actions-menu .message-row-actions{min-width:0;width:max-content;max-width:min(260px,calc(100vw - 32px));padding:4px}
.message-actions-menu .message-actions-quick-emojis{display:flex;justify-content:flex-start;gap:2px;padding:2px 2px 4px;margin:0 0 2px}
.message-actions-menu .message-row-actions .quick-emoji-btn{width:34px;min-width:34px;height:34px;min-height:34px!important;padding:0!important;display:grid;place-items:center;font-size:19px!important;line-height:1;text-align:center;border-radius:50%}
.message-actions-menu .message-row-actions>button{min-height:36px!important;padding:6px 12px!important;color:var(--ink);font-weight:600}
.message-actions-menu .message-row-actions>button:hover{background:var(--canvas)}
@media(max-width:600px){.forum-message:not(.mine) .message-actions-menu .message-row-actions,.message-bubble:not(.mine) .message-actions-menu .message-row-actions{left:auto;right:0}}

/* ---- WhatsApp-style picker sheet: docked above the composer, tabs along the bottom ---- */
dialog.chat-picker-dialog.is-docked{position:fixed;inset:auto auto var(--sheet-bottom,72px) var(--sheet-left,8px);margin:0;width:min(440px,calc(100vw - 16px));height:min(470px,calc(100dvh - var(--sheet-bottom,72px) - 16px));max-height:none;padding:12px 12px 0;display:flex;flex-direction:column;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;border-radius:16px;animation:sheetUp .2s cubic-bezier(.2,.8,.2,1)}
dialog.chat-picker-dialog.is-docked:not([open]){display:none!important}
dialog.chat-picker-dialog.is-docked::backdrop{background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
dialog.chat-picker-dialog.is-docked>*:not(.chat-sheet-tabs):not(.chat-media-panel-head){flex-shrink:0}
dialog.chat-picker-dialog.is-docked .chat-emoji-grid,dialog.chat-picker-dialog.is-docked .chat-sticker-grid{max-height:none!important}
dialog.chat-picker-dialog.is-docked .chat-media-panel-head{padding:0 2px 8px}
dialog.chat-picker-dialog.is-docked .chat-media-panel-head small{display:none}
.chat-sheet-tabs{position:sticky;bottom:0;z-index:2;display:flex;gap:4px;margin:auto -12px 0;padding:6px 8px calc(6px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:var(--surface);flex-shrink:0}
.chat-sheet-tab{flex:1;display:flex;flex-direction:column;align-items:center;gap:2px;min-height:48px;padding:6px 4px;border:0;border-radius:10px;background:transparent;color:var(--muted);font:600 11px/1.2 inherit;cursor:pointer;transition:background .15s,color .15s}
.chat-sheet-tab svg{width:22px;height:22px}
.chat-sheet-tab:hover{background:var(--canvas);color:var(--ink)}
.chat-sheet-tab.is-active{color:var(--accent);background:color-mix(in srgb,var(--accent) 10%,transparent)}
.chat-sheet-tab:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
.chat-sheet-sounds{display:flex;flex-wrap:wrap;gap:6px;padding-top:8px;border-top:1px dashed var(--line);margin-top:auto}
.chat-sheet-sounds .btn{min-height:32px;font-size:11.5px}
@keyframes sheetUp{from{transform:translateY(12px);opacity:0}}
@media(max-width:600px){
 dialog.chat-picker-dialog.is-docked{inset:auto 0 0 0;width:100vw;max-width:100vw;height:min(62dvh,520px);border-radius:18px 18px 0 0;border-bottom:0}
 dialog.chat-picker-dialog.is-docked::backdrop{background:#0003!important}
}
@media(prefers-reduced-motion:reduce){dialog.chat-picker-dialog.is-docked{animation:none}}

/* Offer dialog: themed scrollbar (no white strip in dark mode) and their-price chip */
html.dark dialog,html.dark .dialog{color-scheme:dark}
.offer-dialog{scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--ink) 25%,transparent) transparent;overscroll-behavior:contain}
.offer-dialog::-webkit-scrollbar{width:8px}.offer-dialog::-webkit-scrollbar-track{background:transparent}.offer-dialog::-webkit-scrollbar-thumb{background:color-mix(in srgb,var(--ink) 25%,transparent);border-radius:8px}
.offer-amount-chips .is-their-price{font-weight:700}

/* Header search shrinks instead of pushing the account menu off-screen on tablets */
.topbar .topbar-search{min-width:0;flex:1 1 160px}
.topbar .header-actions{flex:none}

/* ---- Music-style voice note player (public/js/voice-player.js) ---- */
.chat-attachment--voice.has-voice-player .chat-voice-label{display:none!important}
.voice-player{display:flex;align-items:center;gap:10px;min-width:220px;max-width:300px;padding:6px 4px 2px}
.voice-player-play{flex:none;display:grid;place-items:center;width:42px;height:42px;border:0;border-radius:50%;background:linear-gradient(135deg,var(--accent),color-mix(in srgb,var(--accent) 70%,#F59E0B));color:#fff;cursor:pointer;box-shadow:0 4px 12px color-mix(in srgb,var(--accent) 35%,transparent);transition:transform .15s,box-shadow .15s}
.voice-player-play svg{width:20px;height:20px;fill:currentColor}
.voice-player-play:hover{transform:scale(1.07)}
.voice-player-play:active{transform:scale(.94)}
.voice-player-play:focus-visible,.voice-player-wave:focus-visible,.voice-player-speed:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.voice-player-play:disabled{opacity:.5;cursor:default}
.voice-player.is-playing .voice-player-play{animation:voicePulse 1.6s ease-out infinite}
.voice-player-wave{flex:1;display:flex;align-items:center;gap:2px;height:34px;cursor:pointer;border-radius:6px}
.voice-player-wave i{flex:1;min-width:2px;height:calc(var(--h) * 100%);border-radius:99px;background:color-mix(in srgb,currentColor 28%,transparent);transform-origin:center;transition:background .2s}
.voice-player-wave i.is-played{background:var(--accent)}
.voice-player.is-playing .voice-player-wave i{animation:voiceEq .9s ease-in-out var(--d) infinite alternate}
.voice-player-meta{flex:none;display:flex;flex-direction:column;align-items:flex-end;gap:2px}
.voice-player-time{font-size:11.5px;font-variant-numeric:tabular-nums;opacity:.75}
.voice-player-speed{padding:1px 7px;border:0;border-radius:99px;background:color-mix(in srgb,currentColor 12%,transparent);color:inherit;font:700 10.5px/1.6 inherit;cursor:pointer}
.message-bubble.mine .voice-player-wave i.is-played,.forum-message.mine .voice-player-wave i.is-played{background:color-mix(in srgb,var(--accent) 85%,#0b5)}
@keyframes voiceEq{from{transform:scaleY(.45)}to{transform:scaleY(1.1)}}
@keyframes voicePulse{0%{box-shadow:0 0 0 0 color-mix(in srgb,var(--accent) 45%,transparent)}100%{box-shadow:0 0 0 12px transparent}}
@media(max-width:600px){.voice-player{min-width:200px;max-width:250px}}
@media(prefers-reduced-motion:reduce){.voice-player.is-playing .voice-player-wave i,.voice-player.is-playing .voice-player-play{animation:none}}
.wa-thread .message-bubble:has(.voice-player),.has-active-chat .forum-chat .forum-message-list .forum-message-content:has(.voice-player){padding-bottom:20px!important}

/* ---- Tighter media: frameless smaller stickers, slim voice notes ---- */
.has-active-chat .message-bubble:has(> .message-sticker),.has-active-chat .forum-chat .forum-message-list .forum-message:has(.message-sticker)>.forum-message-content{background:transparent!important;border:0!important;box-shadow:none!important;padding:0 0 16px!important}
.has-active-chat .message-bubble:has(> .message-sticker)::before,.has-active-chat .forum-chat .forum-message-list .forum-message:has(.message-sticker)>.forum-message-content::before{display:none!important}
.message-sticker{max-width:144px!important;max-height:144px!important;min-width:56px;min-height:56px;border-radius:10px!important}
@media(max-width:600px){.message-sticker{max-width:124px!important;max-height:124px!important}}
.chat-sticker-grid .chat-api-sticker.is-builtin{aspect-ratio:1}
.chat-sticker-grid .chat-api-sticker.is-builtin:not(.is-naija){padding:5px}
.chat-sticker-grid .chat-api-sticker.is-naija img{object-fit:contain}
.chat-attachment--voice.has-voice-player{padding:0!important;margin:0!important;background:transparent!important;border:0!important;box-shadow:none!important;min-width:0!important}
.voice-player{gap:8px;min-width:176px;max-width:224px;padding:2px 0 0}
.voice-player-play{width:34px;height:34px;box-shadow:0 2px 8px color-mix(in srgb,var(--accent) 30%,transparent)}
.voice-player-play svg{width:16px;height:16px}
.voice-player-wave{height:24px;gap:2px}
.voice-player-meta{flex-direction:row;align-items:center;gap:4px}
.voice-player-speed{padding:0 5px;font-size:10px}
.wa-thread .message-bubble:has(.voice-player),.has-active-chat .forum-chat .forum-message-list .forum-message-content:has(.voice-player){padding:6px 8px 18px!important}
@media(max-width:600px){.voice-player{min-width:168px;max-width:208px}}
/* Offers pages: page title clearly above card titles (was 22px title vs 23px cards on phones). */
.offers-topbar h1{font-size:clamp(26px,3vw,32px)}
.page:has(> .offers-topbar) .panel h2,.board-card h2{font-size:19px;line-height:1.3}
/* DM page: start the chat panel at its measured desktop height (viewport - news bar - gaps) instead of 620px, so it doesn't grow after the script runs. */
body.has-active-chat .conversation-page .thread-panel{height:var(--chat-height,calc(100dvh - 63px))!important;max-height:var(--chat-height,calc(100dvh - 63px))!important}
/* Stronger sidebar labels keep navigation clear without changing the layout. */
.sidebar .nav-item,.sidebar .nav-label{font-weight:800}
.sidebar .nav-caption{font-weight:800}
/* Light/dark switch beside the logo (sidebar on desktop, top bar on phones). */
.sidebar-brand-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-right:6px}
.theme-toggle{display:inline-grid;place-items:center;width:36px;height:36px;flex:none;padding:0;border:1px solid var(--line);border-radius:50%;background:var(--surface);color:var(--ink);cursor:pointer;transition:background .2s,color .2s,transform .2s,border-color .2s}
.theme-toggle:hover{border-color:var(--accent);color:var(--accent);transform:rotate(-12deg)}
.theme-toggle:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.theme-toggle svg{width:18px;height:18px}
html.dark .theme-toggle .theme-icon-moon,html:not(.dark) .theme-toggle .theme-icon-sun{display:none}
html.dark .theme-toggle{color:#f6c56b}
.topbar .theme-toggle-top{display:none;width:32px;height:32px;margin-left:6px}
@media(max-width:640px){.topbar .theme-toggle-top{display:inline-grid}.topbar .breadcrumb{flex:none;display:flex;align-items:center}.topbar .topbar-search{min-width:64px}}
@media(max-width:400px){.topbar .topbar-search{min-width:48px}.topbar .theme-toggle-top{margin-left:4px}.topbar{column-gap:8px!important}.topbar .header-actions{column-gap:4px!important}.topbar .header-balance{max-width:76px;overflow:hidden}.topbar .header-balance span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
/* No long-press "Save image" / selection on media (see media-guard.js). */
body:not(.admin-body) :is(img,video){-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}
/* Small phones: the header search is a magnifier that opens across the whole bar when tapped. */
@media(max-width:400px){
 .topbar .topbar-search{flex:none;width:40px;min-width:40px;height:40px;padding:0!important;border:0!important;background:none!important;box-shadow:none!important}
 .topbar .topbar-search::before,.topbar .topbar-search::after{display:none!important}
 .topbar .topbar-search input{width:40px!important;min-width:0!important;height:40px!important;min-height:0!important;max-height:40px!important;padding:0!important;border:1px solid var(--line)!important;border-radius:50%!important;box-shadow:none!important;color:transparent;cursor:pointer;background-color:var(--surface)!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a6a5f' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E")!important;background-position:center!important;background-size:18px!important;background-repeat:no-repeat!important;transition:width .2s,border-radius .2s}
 .topbar .topbar-search input::placeholder{color:transparent}
 .topbar .topbar-search:focus-within{position:absolute;left:12px;right:12px;width:auto;z-index:5}
 .topbar .topbar-search:focus-within input{width:100%!important;border-radius:999px!important;border-color:var(--accent)!important;padding:0 14px 0 40px!important;color:var(--ink);background-position:14px center!important;cursor:text}
 .topbar .topbar-search:focus-within input::placeholder{color:var(--muted)}
 .topbar{position:sticky}
}
/* Send button — chat, rooms and comments share one look: bold brand gradient, white paper plane, soft glow. */
.send-btn{--send-size:46px;position:relative;display:grid!important;place-items:center;width:var(--send-size)!important;height:var(--send-size)!important;min-width:var(--send-size);flex:0 0 var(--send-size)!important;padding:0!important;border:0!important;border-radius:50%!important;background:linear-gradient(140deg,#ff8a4c 0%,#d9572a 55%,#9c3417 100%)!important;color:#fff!important;box-shadow:0 6px 16px -6px rgba(196,80,42,.75),inset 0 1px 0 rgba(255,255,255,.35)!important;cursor:pointer;transition:transform .18s cubic-bezier(.3,1.4,.6,1),box-shadow .18s,filter .18s}
.send-btn .send-glyph{width:calc(var(--send-size) * .5)!important;height:calc(var(--send-size) * .5)!important;max-width:none!important;margin:0 0 0 -2px;transform:rotate(0deg);transition:transform .25s cubic-bezier(.3,1.4,.6,1)}
.send-btn:hover{transform:translateY(-1px) scale(1.05);box-shadow:0 10px 22px -8px rgba(196,80,42,.85),inset 0 1px 0 rgba(255,255,255,.4)!important}
.send-btn:hover .send-glyph{transform:translate(1px,-1px) rotate(-8deg)}
.send-btn:active{transform:scale(.92);filter:brightness(.95)}
.send-btn:focus-visible{outline:3px solid color-mix(in srgb,var(--accent,#c4502a) 45%,transparent);outline-offset:2px}
.send-btn:disabled{filter:grayscale(.4) opacity(.6);cursor:default;transform:none}
.send-btn .icon{display:none}
html.dark .send-btn{--send-fold:rgba(90,25,5,.45);box-shadow:0 6px 18px -6px rgba(255,122,69,.55),inset 0 1px 0 rgba(255,255,255,.3)!important}
.comment-compose .send-btn,.timeline-feed-page .comment-compose .send-btn{--send-size:38px}
@media(max-width:600px){.send-btn{--send-size:44px}.comment-compose .send-btn{--send-size:36px}}
/* A quick "whoosh" when a message goes out. */
@keyframes sendWhoosh{0%{transform:none}40%{transform:translate(5px,-5px) scale(.85);opacity:.2}41%{transform:translate(-5px,5px) scale(.85);opacity:0}100%{transform:none;opacity:1}}
.send-btn.is-sending .send-glyph{animation:sendWhoosh .42s ease-out}
@media(prefers-reduced-motion:reduce){.send-btn,.send-btn .send-glyph{transition:none}.send-btn.is-sending .send-glyph{animation:none}}
/* Verified tick: no pill/circle frame — just a bigger tick (and the word, where shown). */
.verification-badge{min-height:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;gap:4px!important;font-size:11px!important}
.verification-badge .icon{width:20px!important;height:20px!important;filter:drop-shadow(0 1px 1.5px rgba(30,90,200,.25))}
.verification-badge--compact{width:auto!important;height:auto!important;border-radius:0!important}
.verification-badge--compact .icon{width:22px!important;height:22px!important}
/* Wallet: premium 3D bank card — gradient + sheen + pattern, gold chip, glass stat tiles, raised action buttons. */
.wallet-card3d{overflow:hidden;isolation:isolate;padding:22px 24px 20px!important;border-radius:28px!important;background:
  radial-gradient(90% 120% at 100% 0%,rgba(255,138,76,.38) 0%,transparent 55%),
  radial-gradient(70% 90% at 0% 100%,rgba(38,180,150,.28) 0%,transparent 60%),
  linear-gradient(135deg,#1d4a40 0%,#123029 45%,#0b1d19 100%)!important;
  box-shadow:0 1px 0 rgba(255,255,255,.18) inset,0 -1px 0 rgba(0,0,0,.35) inset,0 22px 40px -18px rgba(8,30,25,.75),0 8px 16px -10px rgba(8,30,25,.5)!important;
  transform:perspective(1200px) rotateX(0) rotateY(0);transition:transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .35s}
.wallet-card3d::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:
  linear-gradient(115deg,transparent 30%,rgba(255,255,255,.13) 42%,rgba(255,255,255,.02) 50%,transparent 60%),
  repeating-radial-gradient(circle at 115% -10%,transparent 0 22px,rgba(255,255,255,.035) 22px 23px)}
.wallet-card3d::after{display:none!important}
@media(hover:hover){.wallet-card3d:hover{transform:perspective(1600px) rotateX(1deg) rotateY(-1.2deg) translateY(-2px);box-shadow:0 1px 0 rgba(255,255,255,.2) inset,0 30px 50px -20px rgba(8,30,25,.8),0 10px 20px -12px rgba(8,30,25,.55)!important}}
.wallet-card-top{display:flex;align-items:center;justify-content:space-between;margin:0 0 14px;padding-right:46px}
.wallet-card-chip{width:42px;height:31px;border-radius:7px;background:linear-gradient(135deg,#f7dd9b 0%,#d8ae55 45%,#f1d48a 70%,#b98c35 100%);box-shadow:inset 0 0 0 1px rgba(120,80,20,.35),0 2px 4px rgba(0,0,0,.3);position:relative}
.wallet-card-chip::before{content:"";position:absolute;inset:7px 9px;border:1px solid rgba(120,80,20,.45);border-radius:4px;box-shadow:0 0 0 0 transparent,inset 0 6px 0 -5px rgba(120,80,20,.45)}
.wallet-card-brand{font:800 22px/1 Outfit,sans-serif;letter-spacing:-.02em;color:#fff;text-shadow:0 2px 8px rgba(0,0,0,.35)}
.wallet-card-brand b{color:#ff8a4c}
.wallet-card3d .wallet-hero-main>strong{text-shadow:0 3px 14px rgba(0,0,0,.35)}
.wallet-card3d .wallet-eye{top:-48px!important;background:rgba(255,255,255,.14)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 4px 10px rgba(0,0,0,.25);backdrop-filter:blur(6px)}
.wallet-card3d .wallet-hero-stats div{display:grid;grid-template-columns:auto 1fr;column-gap:10px;align-items:center;padding:11px 12px!important;border-radius:18px!important;background:linear-gradient(160deg,rgba(255,255,255,.14),rgba(255,255,255,.04))!important;border:1px solid rgba(255,255,255,.12);box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 8px 16px -10px rgba(0,0,0,.5);backdrop-filter:blur(8px)}
.wallet-card3d .wallet-hero-stats .wallet-stat-icon{grid-row:span 2;display:grid;place-items:center;width:34px;height:34px;border-radius:12px;background:rgba(255,255,255,.12);box-shadow:inset 0 1px 0 rgba(255,255,255,.2)}
.wallet-card3d .wallet-hero-stats .wallet-stat-icon svg{width:18px;height:18px}
.wallet-card3d .wallet-hero-stats dd{margin:1px 0 0}
.wallet-card-holder{margin:14px 0 0;font:600 12px/1 'Plus Jakarta Sans',sans-serif;letter-spacing:.14em;text-transform:uppercase;color:rgba(255,255,255,.62);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wallet-card3d .wallet-actions{margin-top:16px;padding-top:16px;border-top:1px solid rgba(255,255,255,.1)}
.wallet-card3d .wallet-actions span{width:52px!important;height:52px!important;border-radius:18px!important;background:linear-gradient(160deg,rgba(255,255,255,.2),rgba(255,255,255,.05))!important;border:1px solid rgba(255,255,255,.14);box-shadow:inset 0 1px 0 rgba(255,255,255,.28),inset 0 -2px 0 rgba(0,0,0,.25),0 8px 14px -8px rgba(0,0,0,.6);transition:transform .15s,box-shadow .15s,background .2s!important}
.wallet-card3d .wallet-actions>*:first-child span{background:linear-gradient(160deg,#ff9a5c,#e2602a 55%,#b9461b)!important;border-color:rgba(255,190,150,.45);box-shadow:inset 0 1px 0 rgba(255,255,255,.4),inset 0 -2px 0 rgba(0,0,0,.25),0 10px 18px -8px rgba(226,96,42,.75)}
.wallet-card3d .wallet-actions>*:hover span{transform:translateY(-2px)}
.wallet-card3d .wallet-actions>*:active span{transform:translateY(1px) scale(.95);box-shadow:inset 0 2px 4px rgba(0,0,0,.35)}
.wallet-card3d .wallet-actions>*:disabled{opacity:.5;cursor:not-allowed}
.wallet-card3d .wallet-actions>*:disabled span{transform:none}
@media(max-width:560px){.wallet-card3d{padding:18px 16px 16px!important;border-radius:24px!important}.wallet-card-brand{font-size:19px}.wallet-card-chip{width:36px;height:27px}.wallet-card3d .wallet-actions span{width:46px!important;height:46px!important;border-radius:16px!important}.wallet-card3d .wallet-hero-stats .wallet-stat-icon{width:30px;height:30px}}
@media(prefers-reduced-motion:reduce){.wallet-card3d,.wallet-card3d:hover{transform:none;transition:none}}
/* Soft 3D chat (inbox + DM + rooms): raised pill tabs, lifted rows, ringed avatars, glossy badges, bubbles with depth. */
.inbox-filters{display:inline-flex!important;gap:4px!important;padding:4px!important;border-radius:999px;background:linear-gradient(180deg,rgba(0,0,0,.035),rgba(0,0,0,.015));box-shadow:inset 0 2px 5px rgba(60,40,20,.10),inset 0 -1px 0 rgba(255,255,255,.7)}
.inbox-filters button{border:0!important;background:transparent!important;box-shadow:none!important;border-radius:999px!important;padding:7px 14px!important;color:var(--muted)!important;font-weight:700;cursor:pointer;transition:background .2s,box-shadow .2s,color .2s,transform .15s}
.inbox-filters button:hover{color:var(--ink)!important}
.inbox-filters button.is-active{background:linear-gradient(180deg,#fff,#f6f1ec)!important;color:var(--ink)!important;box-shadow:0 1px 0 rgba(255,255,255,.9) inset,0 4px 10px -3px rgba(60,40,20,.25),0 1px 2px rgba(60,40,20,.12)!important}
.inbox-filters button span,.conversation-row .unread{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:linear-gradient(180deg,#ff5a5f,#e2282f)!important;color:#fff!important;font-size:11px;font-weight:800;box-shadow:inset 0 1px 0 rgba(255,255,255,.45),0 3px 8px -2px rgba(226,40,47,.6)}
.conversation-row .unread.conversation-gift-unread{background:linear-gradient(180deg,#4aa3ff,#1f6fe5)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.45),0 3px 8px -2px rgba(31,111,229,.6)}
.inbox-rows{padding:6px!important}
.conversation-row{margin:4px 2px;border-radius:18px!important;transition:background .2s,box-shadow .25s,transform .2s}
.conversation-row>a,.conversation-row .conversation-entry{border-bottom:0!important}
.conversation-row:hover{background:rgba(255,255,255,.55);box-shadow:0 6px 14px -10px rgba(60,40,20,.35)}
.conversation-row.is-active{background:linear-gradient(180deg,#fff,#faf6f2)!important;box-shadow:0 1px 0 rgba(255,255,255,.9) inset,0 10px 22px -14px rgba(60,40,20,.45),0 2px 4px rgba(60,40,20,.08)!important;transform:translateX(2px)}
.conversation-avatar img,.thread-header img.avatar,.thread-person img,.floating-chat-header img{border:3px solid #fff!important;box-shadow:0 4px 10px -3px rgba(40,30,20,.35)!important}
.has-active-chat .message-bubble:not(:has(> .message-sticker)):not(:has(.voice-player)){border:0!important;border-radius:20px!important;background:linear-gradient(180deg,#ffffff,#f7f4f0)!important;box-shadow:0 1px 0 rgba(255,255,255,.9) inset,0 6px 14px -8px rgba(40,30,20,.35),0 1px 2px rgba(40,30,20,.08)!important}
.has-active-chat .message-bubble.mine:not(:has(> .message-sticker)):not(:has(.voice-player)){background:linear-gradient(180deg,#ff9a5c 0%,#e8682a 100%)!important;color:#fff!important;box-shadow:0 1px 0 rgba(255,255,255,.35) inset,0 8px 16px -8px rgba(232,104,42,.65)!important}
.has-active-chat .message-bubble.mine:not(:has(> .message-sticker)) small,.has-active-chat .message-bubble.mine:not(:has(> .message-sticker)) .msg-ticks{color:rgba(255,255,255,.85)!important}
.has-active-chat .message-bubble.mine:not(:has(> .message-sticker)) .msg-ticks[data-state="seen"]{color:#fff!important}
.has-active-chat .message-bubble.mine:not(:has(> .message-sticker)) a{color:#fff}
.has-active-chat .forum-message:not(:has(.message-sticker)):not(:has(.voice-player)) .forum-message-content{border:0!important;border-radius:20px!important;background:linear-gradient(180deg,#ffffff,#f7f4f0)!important;box-shadow:0 1px 0 rgba(255,255,255,.9) inset,0 6px 14px -8px rgba(40,30,20,.35),0 1px 2px rgba(40,30,20,.08)!important}
.has-active-chat .forum-message.mine:not(:has(.message-sticker)):not(:has(.voice-player)) .forum-message-content{background:linear-gradient(180deg,#ff9a5c 0%,#e8682a 100%)!important;color:#fff!important;box-shadow:0 1px 0 rgba(255,255,255,.35) inset,0 8px 16px -8px rgba(232,104,42,.65)!important}
.has-active-chat .message-bubble::before,.has-active-chat .forum-message-content::before{display:none!important}
/* Dark mode: same depth, darker surfaces. */
html.dark .inbox-filters{background:rgba(0,0,0,.25);box-shadow:inset 0 2px 6px rgba(0,0,0,.4),inset 0 -1px 0 rgba(255,255,255,.05)}
html.dark .inbox-filters button.is-active{background:linear-gradient(180deg,#2a4a43,#1d3631)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 4px 10px -3px rgba(0,0,0,.5)!important}
html.dark .conversation-row:hover{background:rgba(255,255,255,.04)}
html.dark .conversation-row.is-active{background:linear-gradient(180deg,#22403a,#1a322d)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 10px 22px -14px rgba(0,0,0,.7)!important}
html.dark .conversation-avatar img,html.dark .thread-header img.avatar,html.dark .thread-person img{border-color:#24423c!important}
html.dark .has-active-chat .message-bubble:not(.mine):not(:has(> .message-sticker)):not(:has(.voice-player)),html.dark .has-active-chat .forum-message:not(.mine):not(:has(.message-sticker)):not(:has(.voice-player)) .forum-message-content{background:linear-gradient(180deg,#24443d,#1b352f)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 6px 14px -8px rgba(0,0,0,.6)!important}
.has-active-chat .message-bubble.mine:not(:has(> .message-sticker)):not(:has(.voice-player)) :is(p,blockquote,span:not(.msg-ticks)),.has-active-chat .forum-message.mine:not(:has(.message-sticker)):not(:has(.voice-player)) .forum-message-content :is(p,span,small){color:#fff!important}
/* Bubble controls sit inside the (white-text) orange bubble but on their own light chips/menus: keep normal ink. */
.has-active-chat .message-bubble .message-row-actions,.has-active-chat .forum-message .message-row-actions,.has-active-chat .message-bubble .dm-react-btn,.has-active-chat .forum-message .dm-react-btn{color:var(--ink)!important}
.has-active-chat .message-row-actions :is(summary,button,a,span,p,small){color:var(--ink)!important}
/* The ⋯ chip now sits beside the bubble on its own surface (old rules made it white for dark bubbles). */
.has-active-chat .message-bubble.mine .message-actions-menu>summary,.has-active-chat .forum-message.mine .message-actions-menu>summary{color:var(--ink)!important}
.has-active-chat .message-bubble.mine .message-actions-menu[open]>summary,.has-active-chat .forum-message.mine .message-actions-menu[open]>summary{color:var(--accent)!important}
/* Bubble time: white on orange, and an invisible spacer on the last text line so the corner time never covers words ("Ok12:53"). */
.conversation-page .wa-thread .message-bubble.mine:not(:has(> .message-sticker)):not(:has(.voice-player)) > small:not(.gift-read-receipt){color:rgba(255,255,255,.88)!important}
.conversation-page .wa-thread .message-bubble > p:last-of-type::after{content:"";display:inline-block;width:62px;height:1px}
.conversation-page .wa-thread .message-bubble.mine > p:last-of-type::after{width:84px}
/* Dark purple mode: light text/neutrals that the build's recolour step leaves alone (they're too light to count as "dark green"). */
html.dark{--ink:#f3effa;--muted:#bcb0d6;--doodle:#a58bf0;--watermark:#efe6ff}
/* ===== ChatFlow-style chat (purple). Bubbles/buttons everywhere in chats; floating-card layout on desktop. ===== */
.has-active-chat{--cf-accent:#7b5cf0;--cf-accent-2:#a08bff;--cf-accent-deep:#5a3fd0;--cf-soft:#efe9ff;--cf-soft-2:#e4dbff;--cf-canvas:#f1edff;--cf-ink:#2b2240}
html.dark .has-active-chat{--cf-soft:#2c2148;--cf-soft-2:#3a2b60;--cf-canvas:#140d24;--cf-ink:#f3effa}
/* Bubbles: mine lavender (violet in dark), theirs white. */
.has-active-chat .message-bubble.mine:not(:has(> .message-sticker)):not(:has(.voice-player)),.has-active-chat .forum-message.mine:not(:has(.message-sticker)):not(:has(.voice-player)) .forum-message-content{background:linear-gradient(180deg,var(--cf-soft),var(--cf-soft-2))!important;color:var(--cf-ink)!important;box-shadow:0 1px 0 rgba(255,255,255,.8) inset,0 8px 16px -10px rgba(91,63,208,.45),0 1px 2px rgba(91,63,208,.1)!important}
.has-active-chat .message-bubble.mine:not(:has(> .message-sticker)):not(:has(.voice-player)) :is(p,blockquote,span:not(.msg-ticks)),.has-active-chat .forum-message.mine:not(:has(.message-sticker)):not(:has(.voice-player)) .forum-message-content :is(p,span,small){color:var(--cf-ink)!important}
.conversation-page .wa-thread .message-bubble.mine:not(:has(> .message-sticker)):not(:has(.voice-player)) > small:not(.gift-read-receipt),.has-active-chat .message-bubble.mine:not(:has(> .message-sticker)) small,.has-active-chat .message-bubble.mine:not(:has(> .message-sticker)) .msg-ticks{color:#8a7fb0!important}
.has-active-chat .message-bubble.mine:not(:has(> .message-sticker)) .msg-ticks[data-state="seen"]{color:var(--cf-accent)!important}
html.dark .has-active-chat .message-bubble.mine:not(:has(> .message-sticker)):not(:has(.voice-player)),html.dark .has-active-chat .forum-message.mine:not(:has(.message-sticker)):not(:has(.voice-player)) .forum-message-content{background:linear-gradient(180deg,#7d5ff0,#6243d8)!important;color:#fff!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 8px 16px -8px rgba(0,0,0,.6)!important}
html.dark .has-active-chat .message-bubble.mine:not(:has(> .message-sticker)):not(:has(.voice-player)) :is(p,blockquote,span:not(.msg-ticks)),html.dark .has-active-chat .forum-message.mine:not(:has(.message-sticker)):not(:has(.voice-player)) .forum-message-content :is(p,span,small){color:#fff!important}
html.dark .conversation-page .wa-thread .message-bubble.mine:not(:has(> .message-sticker)):not(:has(.voice-player)) > small:not(.gift-read-receipt),html.dark .has-active-chat .message-bubble.mine:not(:has(> .message-sticker)) .msg-ticks{color:rgba(255,255,255,.8)!important}
/* Purple controls inside chats (comments keep the orange send button). */
.has-active-chat .send-btn,.has-active-chat .composer-round{background:linear-gradient(140deg,var(--cf-accent-2) 0%,var(--cf-accent) 55%,var(--cf-accent-deep) 100%)!important;box-shadow:0 6px 16px -6px rgba(91,63,208,.7),inset 0 1px 0 rgba(255,255,255,.35)!important;--send-fold:rgba(40,20,110,.4)}
.has-active-chat .inbox-filters button span,.has-active-chat .conversation-row .unread{background:linear-gradient(180deg,var(--cf-accent-2),var(--cf-accent))!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.45),0 3px 8px -2px rgba(91,63,208,.6)}
.has-active-chat .conversation-row.is-active{background:linear-gradient(180deg,var(--cf-soft),#f6f2ff)!important}
html.dark .has-active-chat .conversation-row.is-active{background:linear-gradient(180deg,var(--cf-soft-2),var(--cf-soft))!important}
.has-active-chat .inbox-filters button.is-active{color:var(--cf-accent-deep)!important}
html.dark .has-active-chat .inbox-filters button.is-active{color:#fff!important}
/* Right profile panel content. */
.chat-aside-companion-card .chat-aside-profile-head{flex-direction:column;align-items:center;text-align:center}
.chat-aside-companion-card .chat-aside-avatar-wrap img{width:96px!important;height:96px!important;border-radius:50%;border:4px solid #fff;box-shadow:0 10px 24px -8px rgba(60,40,120,.4)}
.chat-aside-companion-card .chat-aside-name-row{justify-content:center}
.chat-aside-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:14px 0 4px}
.chat-aside-actions>*{display:flex;flex-direction:column;align-items:center;gap:6px;padding:0;border:0;background:none;color:var(--muted);font-size:11.5px;font-weight:600;text-decoration:none;cursor:pointer}
.chat-aside-actions span{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:linear-gradient(180deg,#fff,#f4f0ff);color:var(--cf-accent);box-shadow:inset 0 1px 0 #fff,0 6px 12px -8px rgba(91,63,208,.5),0 0 0 1px rgba(123,92,240,.12);transition:transform .15s,box-shadow .2s}
.chat-aside-actions>*:hover span{transform:translateY(-2px);box-shadow:inset 0 1px 0 #fff,0 10px 16px -8px rgba(91,63,208,.55),0 0 0 1px rgba(123,92,240,.25)}
.chat-aside-actions svg{width:19px;height:19px}
html.dark .chat-aside-actions span{background:linear-gradient(180deg,#2e2350,#241b40);color:#c9b8ff;box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 0 0 1px rgba(160,139,255,.15)}
.chat-aside-media{margin-top:14px}
.chat-aside-media>strong{display:block;margin-bottom:8px;font-size:13px}
.chat-aside-media>div{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}
.chat-aside-media button{aspect-ratio:1;padding:0;border:0;border-radius:12px;overflow:hidden;cursor:zoom-in;background:var(--cf-soft)}
.chat-aside-media img{width:100%;height:100%;object-fit:cover;display:block}
/* Desktop: lavender canvas, three floating white cards. */
@media(min-width:1024px){
 body.has-active-chat:has(.conversation-page){background:var(--cf-canvas)!important}
 body.has-active-chat:has(.conversation-page) .app-frame,body.has-active-chat .conversation-page{background:transparent!important}
 .has-active-chat .conversation-page .wa-thread-layout{gap:14px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important}
 .has-active-chat .conversation-page .wa-thread-layout>.wa-list,.has-active-chat .conversation-page .wa-thread-layout>.wa-thread,.has-active-chat .conversation-page .wa-thread-layout>.thread-aside{border:0!important;border-radius:24px!important;overflow:hidden!important;background:var(--surface)!important;box-shadow:0 1px 0 rgba(255,255,255,.9) inset,0 18px 40px -24px rgba(60,40,120,.45),0 2px 6px rgba(60,40,120,.06)!important}
 .has-active-chat .conversation-page .wa-thread .thread-panel{border-radius:24px!important}
 html.dark .has-active-chat .conversation-page .wa-thread-layout>*{box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 18px 40px -24px rgba(0,0,0,.8)!important}
}
@media(min-width:1280px){
 .has-active-chat .thread-layout.wa-thread-layout,.has-active-chat .thread-layout.wa-thread-layout:has(>.thread-aside .chat-side-context>*){grid-template-columns:minmax(280px,330px) minmax(0,1fr) 290px!important}
 .has-active-chat .conversation-page .wa-thread-layout>.thread-aside{display:flex!important;grid-column:3;grid-row:1/3;padding:14px!important;overflow-y:auto!important;gap:12px}
 .has-active-chat .conversation-page .thread-aside>.panel{border:0!important;box-shadow:none!important;background:transparent!important;padding:6px 4px!important;margin:0!important}
 .has-active-chat .conversation-page .thread-aside>.panel+.panel{border-top:1px solid var(--line)!important;border-radius:0!important;padding-top:14px!important}
}
@media(min-width:1024px){
 .has-active-chat .conversation-page .wa-thread-layout>.wa-list,.has-active-chat .conversation-page .wa-thread-layout>.thread-aside{align-self:stretch!important;height:auto!important;max-height:none!important}
 .has-active-chat .conversation-page .wa-thread-layout>.wa-list{grid-row:1/3}
 .has-active-chat .conversation-page .wa-list .inbox-list{height:100%;border:0!important;box-shadow:none!important;background:transparent!important}
 .has-active-chat .conversation-page .message-stream{background-color:#faf8ff!important}
 html.dark .has-active-chat .conversation-page .message-stream{background-color:#120b20!important}
}
@media(min-width:1280px){
 .has-active-chat .conversation-page .btn-offer-header .offer-full-label{display:none!important}
 .has-active-chat .conversation-page .btn-offer-header{width:38px;height:38px;padding:0!important;display:inline-grid;place-items:center;border-radius:50%!important}
}
@media(min-width:1024px){
 html body.has-active-chat .conversation-page .wa-thread .thread-panel,html body.has-active-chat .conversation-page .wa-thread .thread-panel #message-stream.message-stream{background-color:#faf8ff!important}
 html.dark body.has-active-chat .conversation-page .wa-thread .thread-panel,html.dark body.has-active-chat .conversation-page .wa-thread .thread-panel #message-stream.message-stream{background-color:#120b20!important}
}
/* ===== Rooms: purple theme (drives chat-elevation-room.css variables), per-member colour, hoom wallpaper, sticky dates ===== */
html body.has-active-chat .forum-chat{--wa-wall:#f6f3ff;--room-stage:#f6f3ff;--room-paper:#ffffff;--room-paper-mine:#ebe4ff;--room-ink:#2b2240;--room-muted:#6f6590;--room-edge:#e1d8f7;--room-accent:#7b5cf0;
  --hoom-tile:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='150'%3E%3Cg font-family='Outfit,Arial,sans-serif' font-weight='800' font-size='30' fill='%237b5cf0' fill-opacity='.07' transform='rotate(-18 120 75)'%3E%3Ctext x='10' y='60'%3Ehoom.%3C/text%3E%3Ctext x='130' y='130'%3Ehoom.%3C/text%3E%3C/g%3E%3C/svg%3E")}
html.dark body.has-active-chat .forum-chat{--wa-wall:#120b20;--room-stage:#120b20;--room-paper:#221836;--room-paper-mine:#5b3fd0;--room-ink:#f3effa;--room-muted:#bcb0d6;--room-edge:#3a2b60;--room-accent:#c9b8ff;
  --hoom-tile:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='150'%3E%3Cg font-family='Outfit,Arial,sans-serif' font-weight='800' font-size='30' fill='%23b7a3ff' fill-opacity='.11' transform='rotate(-18 120 75)'%3E%3Ctext x='10' y='60'%3Ehoom.%3C/text%3E%3Ctext x='130' y='130'%3Ehoom.%3C/text%3E%3C/g%3E%3C/svg%3E")}
html body.has-active-chat .forum-chat .forum-message-list{background-color:var(--room-stage)!important;background-image:var(--hoom-tile)!important;background-size:240px 150px!important;background-repeat:repeat!important}
/* Other members: name in their colour, bubble lightly tinted with a coloured edge. */
html body.has-active-chat .forum-chat .forum-message-list .forum-message:not(.mine):not(.forum-message--notice)>.forum-message-content{background:linear-gradient(180deg,color-mix(in srgb,var(--uc,var(--room-accent)) 7%,var(--room-paper)),color-mix(in srgb,var(--uc,var(--room-accent)) 12%,var(--room-paper)))!important;box-shadow:inset 3px 0 0 var(--uc,var(--room-accent)),0 6px 14px -8px color-mix(in srgb,var(--uc,var(--room-accent)) 45%,transparent),0 1px 2px rgba(40,30,70,.08)!important;border:0!important}
html body.has-active-chat .forum-chat .forum-message-list .forum-message:not(.mine) header strong{color:color-mix(in srgb,var(--uc,var(--room-accent)) 88%,#000)!important;font-weight:800!important}
html.dark body.has-active-chat .forum-chat .forum-message-list .forum-message:not(.mine) header strong{color:color-mix(in srgb,var(--uc,var(--room-accent)) 65%,#fff)!important}
html body.has-active-chat .forum-chat .forum-message-list .forum-message:not(.mine) img[src]:not(.message-sticker){box-shadow:0 0 0 2px var(--uc,transparent)}
/* Mine: lavender (violet in dark) with depth. */
html body.has-active-chat .forum-chat .forum-message-list .forum-message.mine:not(.forum-message--notice)>.forum-message-content{box-shadow:0 1px 0 rgba(255,255,255,.6) inset,0 8px 16px -10px rgba(91,63,208,.55)!important;border:0!important}
html.dark body.has-active-chat .forum-chat .forum-message-list .forum-message.mine:not(.forum-message--notice)>.forum-message-content{background:linear-gradient(180deg,#7d5ff0,#5b3fd0)!important;color:#fff!important}
/* Dates float at the top while you scroll past that day (rooms and direct chats). */
.forum-message-list>.forum-day-divider,.message-stream>.chat-day-divider{position:sticky!important;top:8px;z-index:6}
.message-stream>.chat-day-divider~.chat-day-divider{margin-top:12px!important}
.forum-message-list>.forum-day-divider::before,.forum-message-list>.forum-day-divider::after,.message-stream>.chat-day-divider::before,.message-stream>.chat-day-divider::after{opacity:0}
.forum-message-list>.forum-day-divider>span,.message-stream>.chat-day-divider>span{backdrop-filter:blur(8px);box-shadow:0 4px 12px -6px rgba(40,30,70,.35);font-weight:700}
/* ===== Site-wide soft 3D: depth on the shared building blocks (cards, buttons, icon buttons, fields, pills, nav). =====
   Only shadows/motion are added, so each element keeps its own colours and gradients. */
.panel:not(.thread-panel):not(.forum-chat):not(.inbox-list){box-shadow:inset 0 1px 0 rgba(255,255,255,.75),0 1px 2px rgba(60,40,90,.06),0 12px 28px -16px rgba(60,40,90,.28)!important;transition:box-shadow .25s ease,transform .25s ease}
a.panel:not(.thread-panel):hover,.panel.is-clickable:hover{transform:translateY(-2px);box-shadow:inset 0 1px 0 rgba(255,255,255,.8),0 2px 4px rgba(60,40,90,.08),0 20px 36px -18px rgba(60,40,90,.38)!important}
.btn:not(.btn-link):not(.send-btn){box-shadow:inset 0 1px 0 rgba(255,255,255,.55),inset 0 -2px 0 rgba(0,0,0,.08),0 4px 10px -5px rgba(60,40,90,.35)!important;transition:transform .15s ease,box-shadow .15s ease,background .2s ease,border-color .2s ease}
.btn-primary:not(.send-btn){box-shadow:inset 0 1px 0 rgba(255,255,255,.35),inset 0 -2px 0 rgba(0,0,0,.18),0 8px 18px -8px color-mix(in srgb,var(--accent) 70%,transparent)!important}
.btn:not(.btn-link):not(.send-btn):not(:disabled):hover{transform:translateY(-1px)}
.btn:not(.btn-link):not(.send-btn):not(:disabled):active{transform:translateY(1px);box-shadow:inset 0 2px 4px rgba(0,0,0,.18)!important}
.icon-button:not(.send-btn):not(.theme-toggle){box-shadow:inset 0 1px 0 rgba(255,255,255,.7),0 3px 8px -4px rgba(60,40,90,.35)!important;transition:transform .15s ease,box-shadow .15s ease}
.icon-button:not(.send-btn):not(.theme-toggle):not(:disabled):active{transform:scale(.94);box-shadow:inset 0 2px 4px rgba(0,0,0,.15)!important}
.field :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),select,textarea){box-shadow:inset 0 2px 4px rgba(60,40,90,.08),inset 0 -1px 0 rgba(255,255,255,.6)!important;transition:box-shadow .2s ease,border-color .2s ease}
.field :is(input,select,textarea):focus{box-shadow:inset 0 2px 4px rgba(60,40,90,.06),0 0 0 3px color-mix(in srgb,var(--accent) 22%,transparent)!important}
.status-pill{box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 2px 6px -3px rgba(60,40,90,.3)}
.sidebar .nav-item.active{box-shadow:inset 0 1px 0 rgba(255,255,255,.8),0 6px 14px -8px rgba(60,40,90,.35)!important}
html.dark .panel:not(.thread-panel):not(.forum-chat):not(.inbox-list){box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 1px 2px rgba(0,0,0,.3),0 14px 30px -16px rgba(0,0,0,.75)!important}
html.dark .btn:not(.btn-link):not(.send-btn){box-shadow:inset 0 1px 0 rgba(255,255,255,.1),inset 0 -2px 0 rgba(0,0,0,.25),0 4px 10px -5px rgba(0,0,0,.6)!important}
html.dark .icon-button:not(.send-btn):not(.theme-toggle){box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 3px 8px -4px rgba(0,0,0,.6)!important}
html.dark .field :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),select,textarea){box-shadow:inset 0 2px 5px rgba(0,0,0,.35),inset 0 -1px 0 rgba(255,255,255,.04)!important}
html.dark .sidebar .nav-item.active{box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 6px 14px -8px rgba(0,0,0,.6)!important}
@media(prefers-reduced-motion:reduce){.panel,.btn,.icon-button{transition:none!important}.btn:hover,.btn:active,a.panel:hover{transform:none!important}}
/* Light mode chats: warm cream backdrop (#f2eadf) instead of lavender — cards and bubbles keep their colours. */
html:not(.dark) body.has-active-chat:has(.conversation-page){background:#f2eadf!important}
html:not(.dark) body.has-active-chat .forum-chat{--wa-wall:#f2eadf;--room-stage:#f2eadf;--hoom-tile:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='150'%3E%3Cg font-family='Outfit,Arial,sans-serif' font-weight='800' font-size='30' fill='%239a7b5c' fill-opacity='.08' transform='rotate(-18 120 75)'%3E%3Ctext x='10' y='60'%3Ehoom.%3C/text%3E%3Ctext x='130' y='130'%3Ehoom.%3C/text%3E%3C/g%3E%3C/svg%3E")}
@media(min-width:1024px){html:not(.dark) body.has-active-chat .conversation-page .wa-thread .thread-panel,html:not(.dark) body.has-active-chat .conversation-page .wa-thread .thread-panel #message-stream.message-stream{background-color:#f2eadf!important}}
html:not(.dark) body.has-active-chat .conversation-page .wa-thread .thread-panel #message-stream.message-stream{background-color:#f2eadf!important}
/* Only the current day's date stays pinned (older pinned dates hide under it; see chat-layout.js). */
.forum-message-list>.forum-day-divider.is-covered,.message-stream>.chat-day-divider.is-covered{opacity:0;pointer-events:none}
/* Post options menu: stacked, full-width controls (it was a cramped row: "Publ" select, buttons spilling out). */
.post-options>div{width:280px!important;max-width:calc(100vw - 32px)!important;padding:14px!important;border-radius:18px!important}
.post-options .post-privacy-form{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important;margin:0!important;padding:0!important;border-top:0!important}
.post-options>div>form+form{margin-top:12px!important;padding-top:12px!important;border-top:1px solid var(--line)!important}
.post-options .post-privacy-form .field{display:flex;flex-direction:column;gap:6px;margin:0!important;font-size:13px!important;font-weight:700;white-space:nowrap}
.post-options .post-privacy-form select{width:100%!important;min-height:42px;font-size:14px!important}
.post-options .post-privacy-form .btn,.post-options>div>form>.btn{width:100%;min-height:40px!important;justify-content:center}
.post-options .post-privacy-form+form{margin-top:12px!important;padding-top:12px!important;border-top:1px solid var(--line)!important}
.post-options form[data-confirm-submit] .btn{color:#c62828!important;border-color:color-mix(in srgb,#c62828 30%,var(--line))!important}
.post-options form[data-confirm-submit] .btn:hover{background:color-mix(in srgb,#c62828 8%,var(--surface))!important}
html.dark .post-options form[data-confirm-submit] .btn{color:#ff8a8a!important}
/* Stories: "Midnight" is a deep violet night now (was dark green); html:root beats stories.css, which loads later. */
html:root{--story-ink:#1c1433;--story-shade:#0b0716}
/* Story composer: breathing room around the preview and controls. */
.hoom-story-editor .story-composer{padding:16px 20px 20px!important;gap:16px}
.hoom-story-editor .story-editor-preview{border-radius:20px!important;overflow:hidden;box-shadow:0 18px 40px -22px rgba(20,10,40,.7)}
.hoom-story-editor .story-editor-controls{display:flex;flex-direction:column;gap:14px;padding:0!important}
.hoom-story-editor .story-file-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.hoom-story-editor .story-publish-row{position:sticky;bottom:-20px;margin:0 -20px -20px;padding:14px 20px;background:var(--surface);border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px;z-index:2}
@media(max-width:600px){.hoom-story-editor .story-composer{padding:12px 14px 16px!important}.hoom-story-editor .story-publish-row{margin:0 -14px -16px;padding:12px 14px;bottom:-16px}}
/* Song search (Deezer). */
.story-music-tools>summary{display:flex;align-items:center;gap:8px;cursor:pointer;font-weight:700}
.story-music-search{display:grid;gap:8px;margin-top:10px}
.story-music-status{margin:0;font-size:12.5px}
.story-music-results{list-style:none;margin:0;padding:0;display:grid;gap:6px;max-height:320px;overflow-y:auto;overscroll-behavior:contain}
.story-music-results li{display:grid;grid-template-columns:36px 44px minmax(0,1fr) auto;align-items:center;gap:10px;padding:6px 8px;border-radius:14px;background:color-mix(in srgb,var(--surface) 92%,var(--ink) 8%);transition:background .15s}
.story-music-results li:hover{background:color-mix(in srgb,var(--accent) 10%,var(--surface))}
.story-music-results img,.story-music-picked img{width:44px!important;height:44px!important;border-radius:10px;object-fit:cover;display:block;box-shadow:0 4px 10px -5px rgba(0,0,0,.4)}
.story-music-results span,.story-music-picked span{display:grid;min-width:0}
.story-music-results strong,.story-music-picked strong{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.story-music-results small,.story-music-picked small{color:var(--muted);font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.story-music-play{display:grid;place-items:center;width:36px;height:36px;padding:0;border:0;border-radius:50%;background:linear-gradient(140deg,#a08bff,#7b5cf0);color:#fff;cursor:pointer;box-shadow:0 6px 12px -6px rgba(91,63,208,.7);transition:transform .15s}
.story-music-play:hover{transform:scale(1.06)}.story-music-play .icon{width:16px;height:16px}
.story-music-use{min-height:34px!important}
.story-music-picked{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:10px;padding:8px 10px;border-radius:14px;background:color-mix(in srgb,#7b5cf0 12%,var(--surface));border:1px solid color-mix(in srgb,#7b5cf0 30%,var(--line))}
.story-music-or{display:flex;align-items:center;gap:10px;margin:12px 0 4px;color:var(--muted);font-size:12px}
.story-music-or::before,.story-music-or::after{content:"";flex:1;height:1px;background:var(--line)}
/* Story rings (Discover strip): gradient ring for new stories, grey once seen, "+" badge on yours. */
.encounter-stories .encounter-stories-strip{display:flex!important;align-items:flex-start!important;gap:14px!important;overflow-x:auto;padding:6px 2px 8px!important;scrollbar-width:none}
.encounter-stories .encounter-stories-strip::-webkit-scrollbar{display:none}
.encounter-stories :is(.encounter-story,.encounter-story-add){display:flex!important;flex-direction:column!important;align-items:center!important;gap:7px!important;width:78px!important;flex:0 0 78px!important;color:var(--ink);text-decoration:none;cursor:pointer}
.encounter-stories :is(.encounter-story,.encounter-story-add)>span{position:relative!important;display:block!important;width:70px!important;height:70px!important;padding:3px!important;border-radius:50%!important;background:conic-gradient(from 200deg,#7b5cf0,#db2777,#f59e0b,#e8590c,#7b5cf0)!important;box-shadow:0 6px 14px -8px rgba(91,63,208,.55);transition:transform .2s ease}
.encounter-stories .encounter-story.is-seen>span{background:#d9d3e0!important;box-shadow:none}
.encounter-stories .encounter-story-add>span{background:color-mix(in srgb,var(--ink) 14%,transparent)!important;box-shadow:none}
.encounter-stories :is(.encounter-story,.encounter-story-add)>span img{display:block!important;width:100%!important;height:100%!important;border-radius:50%!important;object-fit:cover!important;border:3px solid var(--surface)!important;box-sizing:border-box!important;margin:0!important}
.encounter-stories :is(.encounter-story,.encounter-story-add):hover>span{transform:scale(1.05)}
.encounter-stories .encounter-story-add>span i{position:absolute!important;right:-1px;bottom:-1px;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:linear-gradient(140deg,#a08bff,#7b5cf0);color:#fff;font-style:normal;font-weight:800;font-size:16px;line-height:1;border:3px solid var(--surface);box-sizing:border-box}
.encounter-stories :is(.encounter-story,.encounter-story-add)>strong{display:block!important;max-width:78px;font-size:12px!important;font-weight:600!important;line-height:1.2;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;position:static!important;margin:0!important}
html.dark .encounter-stories .encounter-story.is-seen>span{background:#4a3f5f!important}
/* Timeline story cards: same ring on the little avatar. */
.timeline-story-card.has-new .timeline-story-avatar{border:3px solid transparent!important;background:linear-gradient(var(--surface),var(--surface)) padding-box,conic-gradient(from 200deg,#7b5cf0,#db2777,#f59e0b,#e8590c,#7b5cf0) border-box!important}
.timeline-story-card.is-seen .timeline-story-avatar{border:3px solid #d9d3e0!important}
html.dark .timeline-story-card.is-seen .timeline-story-avatar{border-color:#4a3f5f!important}
/* Story player: reactions + viewers. */
.hoom-story-player{position:relative}
.story-react-bar{display:flex;justify-content:center;gap:6px;padding:8px 10px;margin:8px auto 0;width:max-content;max-width:100%;border-radius:999px;background:rgba(20,12,36,.55);backdrop-filter:blur(10px);box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 8px 18px -10px rgba(0,0,0,.6)}
.story-react-bar button{width:40px;height:40px;padding:0;border:0;border-radius:50%;background:transparent;font-size:22px;line-height:1;cursor:pointer;transition:transform .15s ease,background .15s ease}
.story-react-bar button:hover{transform:scale(1.18)}
.story-react-bar button.is-picked{background:rgba(255,255,255,.22);transform:scale(1.1)}
.story-react-fly{position:absolute;z-index:20;font-size:34px;pointer-events:none;transform:translate(-50%,0);animation:storyFly .9s ease-out forwards}
@keyframes storyFly{0%{opacity:0;transform:translate(-50%,0) scale(.6)}20%{opacity:1;transform:translate(-50%,-30px) scale(1.25)}100%{opacity:0;transform:translate(-50%,-160px) scale(1.6)}}
.story-viewers-btn{display:inline-flex;align-items:center;gap:8px;margin:8px auto 0;padding:9px 16px;border:0;border-radius:999px;background:rgba(20,12,36,.6);color:#fff;font-weight:700;font-size:13.5px;cursor:pointer;backdrop-filter:blur(10px)}
.story-viewers-btn .icon{width:18px;height:18px}
.story-viewers-panel{position:absolute;left:0;right:0;bottom:0;z-index:15;max-height:65%;overflow:auto;border-radius:22px 22px 0 0;background:var(--surface);color:var(--ink);box-shadow:0 -14px 40px -12px rgba(0,0,0,.55);padding:6px 16px 16px}
.story-viewers-panel header{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;padding:10px 0;background:var(--surface)}
.story-viewers-panel ul{list-style:none;margin:0;padding:0;display:grid;gap:4px}
.story-viewers-panel li{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:6px 0;border-bottom:1px solid var(--line)}
.story-viewers-panel li a{display:flex;align-items:center;gap:10px;color:inherit;text-decoration:none;min-width:0}
.story-viewers-panel li img{width:40px;height:40px;border-radius:50%;object-fit:cover}
.story-viewer-text{display:grid;min-width:0}.story-viewer-text span{font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.story-viewer-text small{color:var(--muted)}
.story-viewers-panel li b{font-size:22px}
.story-viewers-empty{justify-content:center!important;color:var(--muted);border:0!important;padding:20px 0!important}
@media(prefers-reduced-motion:reduce){.story-react-fly{animation:none;display:none}}
/* ===== Create story: small and simple (Instagram/WhatsApp-like). Layout only — every control and hook stays. ===== */
.hoom-story-editor{width:min(440px,calc(100vw - 20px))!important;max-width:440px!important;max-height:calc(100dvh - 20px)!important;overflow-x:hidden!important;border-radius:24px!important}
.hoom-story-editor .timeline-dialog-heading{padding:12px 16px!important;align-items:center}
.hoom-story-editor .timeline-dialog-heading .eyebrow{display:none!important}
.hoom-story-editor .timeline-dialog-heading h2{margin:0!important;font-size:18px!important}
.hoom-story-editor .timeline-dialog-heading .icon-button{width:36px!important;height:36px!important}
.hoom-story-editor .story-composer{padding:12px 14px 14px!important;gap:12px!important;overflow-x:hidden}
.hoom-story-editor .story-editor-preview{aspect-ratio:9/16;max-height:min(54dvh,520px);width:auto!important;margin:0 auto;border-radius:18px!important}
.hoom-story-editor .story-empty-preview{gap:8px}
.hoom-story-editor .story-empty-preview strong{font-size:18px!important}
.hoom-story-editor .story-empty-preview span{font-size:13px!important}
.hoom-story-editor .story-editor-controls{gap:10px!important;min-width:0}
.hoom-story-editor .story-file-actions{gap:8px!important}
.hoom-story-editor .story-file-actions .btn{min-height:34px!important;padding:6px 12px!important;font-size:13px!important}
.hoom-story-editor .story-file-actions [data-story-file-label]{font-size:12px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}
.hoom-story-editor .field{margin:0!important;font-size:13px!important}
.hoom-story-editor textarea[data-story-caption]{min-height:44px!important;height:44px;resize:none;padding:10px 12px!important;font-size:14px!important}
.hoom-story-editor .story-editor-pickers{display:flex!important;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.hoom-story-editor .story-editor-pickers fieldset{display:flex!important;align-items:center;gap:6px;margin:0!important;padding:0!important;border:0!important;min-width:0}
.hoom-story-editor .story-editor-pickers legend{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.hoom-story-editor .story-editor-pickers fieldset:first-child{padding:3px!important;border-radius:999px!important;background:color-mix(in srgb,var(--ink) 7%,transparent)}
.hoom-story-editor .story-editor-pickers fieldset:first-child label span{display:block;padding:6px 12px!important;border:0!important;border-radius:999px!important;font-size:12.5px!important;font-weight:700;background:transparent!important;cursor:pointer;min-height:0!important}
.hoom-story-editor .story-editor-pickers fieldset:first-child input:checked+span{background:var(--surface)!important;box-shadow:0 2px 8px -3px rgba(0,0,0,.3)}
.hoom-story-editor .story-editor-pickers input[type=radio]{position:absolute;opacity:0;pointer-events:none}
.hoom-story-editor .story-theme-picker label span{display:block!important;width:28px!important;height:28px!important;min-height:0!important;padding:0!important;border-radius:50%!important;font-size:0!important;color:transparent!important;border:2px solid var(--surface)!important;box-shadow:0 0 0 1px var(--line);cursor:pointer;transition:transform .15s,box-shadow .15s}
.hoom-story-editor .story-theme-picker input:checked+span{box-shadow:0 0 0 2px var(--accent)!important;transform:scale(1.08)}
.hoom-story-editor .story-music-tools{padding:10px 12px!important;border-radius:14px!important}
.hoom-story-editor .story-music-tools>summary{font-size:14px}
.hoom-story-editor .story-music-results{max-height:240px}
.hoom-story-editor select[name=visibility]{min-height:40px!important;font-size:13.5px!important}
.hoom-story-editor .story-publish-row{margin:0 -14px -14px!important;padding:10px 14px!important;bottom:-14px!important}
.hoom-story-editor .story-publish-row .btn{min-height:40px!important;padding:8px 18px!important}
/* Stories page grid: cards fill their column (the timeline strip's fixed card width made them a slim sliver on desktop). */
.story-browse-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr))!important;gap:16px!important}
.story-browse-grid .timeline-story-card{width:auto!important;max-width:none!important;min-width:0!important;height:auto!important;aspect-ratio:9/14;border-radius:20px!important;overflow:hidden;box-shadow:0 14px 30px -18px rgba(30,15,60,.55)!important;transition:transform .2s ease,box-shadow .2s ease}
.story-browse-grid .timeline-story-card:hover{transform:translateY(-3px);box-shadow:0 20px 38px -18px rgba(30,15,60,.6)!important}
.story-browse-grid .timeline-story-card .timeline-story-cover{width:100%!important;height:100%!important;object-fit:cover}
.story-browse-grid .timeline-story-card .timeline-story-avatar{width:44px!important;height:44px!important}
.story-browse-grid .timeline-story-card strong{color:#fff!important;font-size:14px!important;text-shadow:0 1px 6px rgba(0,0,0,.6)}
@media(max-width:600px){.story-browse-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}}
/* Hidden file picker in the story composer was full-width (generic file-input rule) and made the dialog scroll sideways. */
.hoom-story-editor input[data-story-file]{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;border:0!important}
/* ===== Story editor (story-studio.js) ===== */
.story-crop-frame{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);overflow:hidden;z-index:1;touch-action:none;cursor:grab;border-radius:6px}
.story-crop-frame:active{cursor:grabbing}
.story-crop-frame[hidden]{display:none!important}
.story-crop-frame>img[data-feed-preview]{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;transform-origin:50% 50%;user-select:none;-webkit-user-drag:none;pointer-events:none}
.story-sticker-layer{position:absolute;inset:0;pointer-events:none}
.story-sticker{position:absolute;transform:translate(-50%,-50%);line-height:1;white-space:nowrap;pointer-events:auto;cursor:move;user-select:none;font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;filter:drop-shadow(0 2px 4px rgba(0,0,0,.35))}
.story-sticker.is-text{font:800 1em Outfit,"Plus Jakarta Sans",Arial,sans-serif;-webkit-text-stroke:.06em rgba(0,0,0,.45);paint-order:stroke fill}
.story-sticker.is-selected{outline:2px dashed rgba(255,255,255,.9);outline-offset:6px;border-radius:8px}
.story-studio{display:grid;gap:10px}
.story-studio[hidden]{display:none!important}
.story-studio-tools{display:flex;justify-content:space-between;gap:4px;padding:4px;border-radius:16px;background:color-mix(in srgb,var(--ink) 6%,transparent)}
.story-studio-tools button{flex:1;display:flex;flex-direction:column;align-items:center;gap:3px;padding:7px 2px;border:0;border-radius:12px;background:transparent;color:var(--muted);font-size:11.5px;font-weight:700;cursor:pointer;transition:background .15s,color .15s}
.story-studio-tools button[hidden]{display:none}
.story-studio-tools button .icon{width:20px;height:20px}
.story-studio-tools button:hover{color:var(--ink)}
.story-studio-tools button[aria-selected="true"]{background:var(--surface);color:#7b5cf0;box-shadow:0 3px 10px -5px rgba(60,40,120,.45)}
.story-studio-panel{display:grid;gap:10px;padding:10px 12px;border-radius:14px;background:color-mix(in srgb,var(--ink) 4%,transparent)}
.story-studio-panel[hidden]{display:none!important}
.story-studio-chips{display:flex;flex-wrap:wrap;gap:6px}
.story-studio-chips button{padding:6px 12px;border:1px solid var(--line);border-radius:999px;background:var(--surface);font-size:12.5px;font-weight:700;cursor:pointer}
.story-studio-chips button[aria-pressed="true"]{border-color:#7b5cf0;color:#7b5cf0;box-shadow:0 0 0 2px color-mix(in srgb,#7b5cf0 20%,transparent)}
.story-studio-slider{display:grid;grid-template-columns:84px 1fr;align-items:center;gap:10px;font-size:12.5px;font-weight:700}
.story-studio-slider input{width:100%;accent-color:#7b5cf0}
.story-studio-hint{margin:0;font-size:12px}
.story-filter-strip{display:flex;gap:8px;overflow-x:auto;padding-bottom:2px;scrollbar-width:none}
.story-filter-strip::-webkit-scrollbar{display:none}
.story-filter-strip button{display:flex;flex-direction:column;align-items:center;gap:4px;padding:0;border:0;background:none;cursor:pointer;flex:none}
.story-filter-thumb{display:block;width:56px;height:56px;border-radius:12px;background:#7b5cf0 center/cover no-repeat;border:2px solid transparent;transition:transform .15s}
.story-filter-strip button[aria-pressed="true"] .story-filter-thumb{border-color:#7b5cf0;transform:scale(1.05)}
.story-filter-strip small{font-size:11px;font-weight:700;color:var(--muted)}
.story-filter-strip button[aria-pressed="true"] small{color:#7b5cf0}
.story-sticker-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:4px}
.story-sticker-grid button{aspect-ratio:1;padding:0;border:0;border-radius:10px;background:transparent;font-size:24px;line-height:1;cursor:pointer;transition:transform .12s,background .12s}
.story-sticker-grid button:hover{transform:scale(1.15);background:color-mix(in srgb,var(--ink) 6%,transparent)}
.story-text-row{display:flex;gap:8px}
.story-text-row input{flex:1;min-width:0;min-height:38px;padding:0 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--ink)}
.story-colour{width:30px!important;height:30px!important;padding:0!important;border-radius:50%!important;background:var(--c)!important;border:2px solid var(--surface)!important;box-shadow:0 0 0 1px var(--line)}
.story-colour[aria-pressed="true"]{box-shadow:0 0 0 2px #7b5cf0!important}
.story-sticker-edit{display:flex;align-items:center;gap:10px;padding:8px 12px;border-radius:14px;background:color-mix(in srgb,#7b5cf0 10%,var(--surface));font-size:12.5px;font-weight:700}
.story-sticker-edit[hidden]{display:none!important}
.story-sticker-edit .story-studio-slider{flex:1;grid-template-columns:auto 1fr}
/* Timeline "Sponsored" row (promoted listings) + Promote buttons in My listings. */
.sponsored-products{padding:16px!important;overflow:hidden}
.sponsored-products header{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;margin-bottom:12px}
.sponsored-products header h2{margin:2px 0 0;font-size:17px}
.sponsored-products header a{display:inline-flex;align-items:center;gap:4px;font-size:13px;font-weight:700;color:var(--accent);text-decoration:none}
.sponsored-tag{display:inline-block;padding:2px 8px;border-radius:999px;background:color-mix(in srgb,#7b5cf0 14%,transparent);color:#7b5cf0;font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}
.sponsored-products-row{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(150px,170px);gap:12px;overflow-x:auto;padding:2px 2px 8px;scroll-snap-type:x mandatory;scrollbar-width:none}
.sponsored-products-row::-webkit-scrollbar{display:none}
.sponsored-product{display:grid;gap:4px;scroll-snap-align:start;color:var(--ink);text-decoration:none;transition:transform .2s ease}
.sponsored-product:hover{transform:translateY(-3px)}
.sponsored-product-image{display:grid;place-items:center;aspect-ratio:1;border-radius:16px;overflow:hidden;background:color-mix(in srgb,var(--ink) 6%,transparent);box-shadow:0 10px 20px -14px rgba(40,25,70,.55)}
.sponsored-product-image img{width:100%;height:100%;object-fit:cover}
.sponsored-product-image .icon{width:34px;height:34px;opacity:.6}
.sponsored-product strong{font-size:13.5px;line-height:1.3}
.sponsored-product-price{font-weight:800;color:var(--accent);font-size:13.5px}
.sponsored-product small{color:var(--muted);font-size:11.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sponsored-products-note{margin:6px 0 0;font-size:12px;color:var(--muted)}
.catalog-manage-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid var(--line)}
.catalog-manage-row>a{display:grid;min-width:0;color:inherit;text-decoration:none}
.catalog-manage-row>a strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.catalog-manage-row form{margin:0;flex:none}
.catalog-manage-row .btn .icon,.catalog-featured-pill .icon{width:15px;height:15px}
.catalog-featured-pill{display:inline-flex;align-items:center;gap:5px;padding:5px 10px;border-radius:999px;background:color-mix(in srgb,#7b5cf0 14%,transparent);color:#7b5cf0;font-size:12px;font-weight:800;flex:none}
/* Story music: compact row, picked song with a draggable 15s window, popup search. */
.story-music-row{display:grid;gap:8px}
.story-music-open{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:42px;padding:0 14px;border:1px dashed color-mix(in srgb,#7b5cf0 45%,var(--line));border-radius:14px;background:color-mix(in srgb,#7b5cf0 6%,var(--surface));color:#7b5cf0;font-weight:800;font-size:14px;cursor:pointer;transition:background .15s,transform .15s}
.story-music-open:hover{background:color-mix(in srgb,#7b5cf0 12%,var(--surface))}
.story-music-open[hidden]{display:none}
.story-music-open .icon{width:18px;height:18px}
.story-music-picked{display:grid!important;grid-template-columns:40px minmax(0,1fr) auto auto;align-items:center;gap:8px 10px;padding:8px 10px!important}
.story-music-picked[hidden]{display:none!important}
.story-music-picked img{width:40px!important;height:40px!important}
.story-music-picked .story-music-play{width:32px;height:32px}
.story-music-picked .icon-button{width:30px!important;height:30px!important}
.story-clip{grid-column:1/-1;display:grid;gap:4px}
.story-clip-track{position:relative;height:30px;border-radius:9px;cursor:ew-resize;touch-action:none;background:repeating-linear-gradient(90deg,color-mix(in srgb,#7b5cf0 35%,transparent) 0 2px,transparent 2px 6px),color-mix(in srgb,#7b5cf0 8%,var(--surface));overflow:hidden}
.story-clip-track:focus-visible{outline:2px solid #7b5cf0;outline-offset:2px}
.story-clip-window{position:absolute;top:0;bottom:0;border-radius:9px;background:color-mix(in srgb,#7b5cf0 28%,transparent);border:2px solid #7b5cf0;box-sizing:border-box;box-shadow:0 0 0 1px rgba(255,255,255,.6) inset}
.story-clip-head{position:absolute;top:0;bottom:0;width:2px;background:#fff;box-shadow:0 0 0 1px rgba(91,63,208,.6);left:0;pointer-events:none}
.story-clip small{font-size:11.5px;color:var(--muted);font-weight:600}
.story-music-sheet{width:min(460px,calc(100vw - 20px));max-height:min(78dvh,640px);padding:0!important;border:0;border-radius:22px;background:var(--surface);color:var(--ink);box-shadow:0 30px 70px -20px rgba(20,10,40,.6);overflow:hidden}
.story-music-sheet[open]{display:flex;flex-direction:column}
.story-music-sheet::backdrop{background:rgba(15,8,30,.45);backdrop-filter:blur(2px)}
.story-music-sheet-head{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-bottom:1px solid var(--line)}
.story-music-sheet-head h3{margin:0;font-size:17px}
.story-music-sheet .story-music-search{padding:12px 16px 0;margin:0!important;display:flex;flex-direction:column;gap:8px;min-height:0;flex:1}
.story-music-sheet input[type=search]{width:100%;min-height:44px;padding:0 14px;border:1px solid var(--line);border-radius:14px;background:color-mix(in srgb,var(--ink) 4%,var(--surface));color:var(--ink);font-size:15px}
.story-music-sheet input[type=search]:focus{outline:none;border-color:#7b5cf0;box-shadow:0 0 0 3px color-mix(in srgb,#7b5cf0 20%,transparent)}
.story-music-sheet .story-music-results{flex:1;max-height:none!important;overflow-y:auto;padding-bottom:8px}
.story-music-spotify{padding:10px 16px 14px;border-top:1px solid var(--line)}
.story-music-spotify>summary{cursor:pointer;font-size:13px;font-weight:700;color:var(--muted)}
.story-music-spotify .field{margin-top:8px!important}
@media(max-width:600px){.story-music-sheet{width:100vw;max-width:100vw;margin:auto 0 0;border-radius:22px 22px 0 0;max-height:82dvh}}
/* Story voice note */
.story-music-row{grid-template-columns:1fr 1fr}
.story-music-row>:is(.story-music-picked,.story-voice-picked,input){grid-column:1/-1}
.story-voice-open{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:0 12px;border:1px dashed color-mix(in srgb,#e8590c 45%,var(--line));border-radius:14px;background:color-mix(in srgb,#e8590c 6%,var(--surface));color:#c2410c;font-weight:800;font-size:14px;cursor:pointer;transition:background .15s}
.story-voice-open:hover{background:color-mix(in srgb,#e8590c 12%,var(--surface))}
.story-voice-open[hidden]{display:none}
.story-voice-open .icon{width:18px;height:18px}
.story-voice-open.is-recording{grid-column:1/-1;border-style:solid;background:#dc2626;color:#fff;animation:voicePulse 1.2s ease-in-out infinite}
@keyframes voicePulse{0%,100%{box-shadow:0 0 0 0 rgba(220,38,38,.45)}50%{box-shadow:0 0 0 8px rgba(220,38,38,0)}}
.story-voice-picked{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;padding:8px 10px;border-radius:14px;background:color-mix(in srgb,#e8590c 10%,var(--surface));border:1px solid color-mix(in srgb,#e8590c 30%,var(--line))}
.story-voice-picked[hidden]{display:none!important}
.story-voice-picked span{display:grid}.story-voice-picked small{color:var(--muted);font-size:12px}
.story-voice-picked .story-music-play{background:linear-gradient(140deg,#ff9a5c,#e8590c)}
@media(prefers-reduced-motion:reduce){.story-voice-open.is-recording{animation:none}}
/* House ads: story video ad button + games text ad (hidden while questions are on screen). */
.hoom-story-player.is-ad [data-viewer-time]{display:inline-block;padding:1px 8px;border-radius:999px;background:rgba(255,255,255,.18);font-weight:800;letter-spacing:.03em}
.hoom-story-player.is-ad [data-viewer-all]{display:inline-flex;align-items:center;padding:8px 16px;border-radius:999px;background:linear-gradient(140deg,#ff9a5c,#e8590c);color:#fff!important;font-weight:800;text-decoration:none;box-shadow:0 8px 18px -8px rgba(232,89,12,.7)}
.game-ad{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px 14px;margin-top:16px;padding:12px 14px;border-radius:16px;border:1px dashed color-mix(in srgb,#7b5cf0 40%,var(--line));background:color-mix(in srgb,#7b5cf0 6%,var(--surface))}
.game-ad .sponsored-tag{grid-column:1/-1;justify-self:start}
.game-ad-copy strong{display:block;font-size:15px}
.game-ad-copy p{margin:2px 0 0;color:var(--muted);font-size:13px}
.pulse-play:has([data-pulse-stage]:not([hidden])):not(.is-finished) .game-ad{display:none}
/* ===== Story editor — layout from the "Edit story" design: preview left, tools right, warm cream panel. ===== */
.hoom-story-editor{--se-panel:#fff8f1;--se-line:#ede3d6;--se-chip:#f3eae0;--se-ink:#1f1a17;--se-muted:#6b625a;--se-primary:#a34a24;--se-soft:#fff1e6;--se-soft-line:#e8b79b;background:var(--se-panel)!important;color:var(--se-ink)}
html.dark .hoom-story-editor{--se-panel:#1c1430;--se-line:#33284a;--se-chip:#2a2142;--se-ink:#f3effa;--se-muted:#bcb0d6;--se-soft:#2c2148;--se-soft-line:#5b4790}
.hoom-story-editor .timeline-dialog-heading{background:var(--se-panel)!important;border-bottom:1px solid var(--se-line)!important}
.hoom-story-editor .timeline-dialog-heading h2{font:600 20px Outfit,sans-serif!important;letter-spacing:-.01em}
/* Tool tabs as a pill segmented control */
.hoom-story-editor .story-studio-tools{align-self:flex-start;display:inline-flex!important;flex-wrap:wrap;gap:4px!important;padding:4px!important;border-radius:999px!important;background:var(--se-chip)!important}
.hoom-story-editor .story-studio-tools button{flex:none!important;flex-direction:row!important;gap:6px!important;padding:8px 14px!important;border-radius:999px!important;font-size:13.5px!important;color:var(--se-ink)!important}
.hoom-story-editor .story-studio-tools button .icon{width:16px!important;height:16px!important}
.hoom-story-editor .story-studio-tools button[aria-selected="true"]{background:#fff!important;color:var(--se-ink)!important;box-shadow:0 1px 3px rgba(31,26,23,.18)!important}
html.dark .hoom-story-editor .story-studio-tools button[aria-selected="true"]{background:var(--se-soft)!important}
.hoom-story-editor .story-studio-panel{background:transparent!important;padding:4px 0!important}
.hoom-story-editor .story-sticker-grid button{background:#fff;border:1px solid var(--se-line)}
html.dark .hoom-story-editor .story-sticker-grid button{background:var(--se-chip)}
/* Audience cards */
.story-audience{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0!important;padding:14px 0 0!important;border:0!important;border-top:1px solid var(--se-line,var(--line))!important;min-width:0}
.story-audience legend{float:left;width:100%;margin:0 0 10px;font:600 15px Outfit,sans-serif;padding:0}
.story-audience label{position:relative;display:block;cursor:pointer;min-width:0}
.story-audience input{position:absolute;opacity:0;pointer-events:none}
.story-audience span{display:grid;gap:2px;min-height:64px;align-content:center;padding:10px 12px;border:1px solid var(--se-line,var(--line));border-radius:16px;background:#fff;transition:border-color .15s,background .15s,box-shadow .15s}
html.dark .story-audience span{background:var(--se-chip)}
.story-audience strong{font-size:14px;font-weight:600}
.story-audience small{font-size:12px;color:var(--se-muted,var(--muted));white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.story-audience input:checked+span{border-color:var(--se-primary,var(--accent));background:var(--se-soft,#fff1e6);box-shadow:0 0 0 1px var(--se-primary,var(--accent))}
.story-audience input:focus-visible+span{outline:2px solid var(--se-primary,var(--accent));outline-offset:2px}
.story-audience label.is-disabled{cursor:not-allowed;opacity:.55}
/* Footer: note + big Share button */
.hoom-story-editor .story-publish-row{background:#fffbf6!important;border-top:1px solid var(--se-line)!important;padding:12px 24px!important}
html.dark .hoom-story-editor .story-publish-row{background:var(--se-panel)!important}
.hoom-story-editor .story-publish-row>span{flex:1;min-width:0;color:var(--se-muted);font-size:13px}
.hoom-story-editor .story-publish-row .btn-primary{min-height:52px!important;padding:0 28px!important;border-radius:999px!important;background:var(--se-primary)!important;border-color:var(--se-primary)!important;color:#fff!important;font:600 16px Outfit,sans-serif!important;gap:10px}
.hoom-story-editor .story-publish-row .btn-primary .icon{width:18px;height:18px}
.hoom-story-editor .story-music-open,.hoom-story-editor .story-voice-open{border-radius:16px!important}
/* Desktop: two columns like the design (preview 260px, tools fill the rest). */
@media(min-width:900px){
 .hoom-story-editor{width:min(920px,calc(100vw - 32px))!important;max-width:920px!important;border-radius:28px!important}
 .hoom-story-editor .story-composer{display:grid!important;grid-template-columns:260px minmax(0,1fr);column-gap:24px!important;row-gap:16px!important;padding:20px 24px 0!important;align-items:start}
 .hoom-story-editor .story-editor-preview{grid-column:1;grid-row:1/span 3;position:sticky;top:16px;width:260px!important;max-height:none!important;aspect-ratio:9/16;border-radius:22px!important;box-shadow:0 24px 48px -20px rgba(31,26,23,.45)!important}
 .hoom-story-editor .story-studio,.hoom-story-editor .story-editor-controls{grid-column:2}
 .hoom-story-editor .story-studio{grid-row:1}
 .hoom-story-editor .story-editor-controls{grid-row:2;gap:18px!important}
 .hoom-story-editor .story-publish-row{grid-column:1/-1;margin:8px -24px 0!important;bottom:0!important}
 .hoom-story-editor .story-sticker-grid{grid-template-columns:repeat(8,1fr)}
}
@media(max-width:600px){.story-audience{grid-template-columns:1fr}.story-audience span{min-height:52px}}
.story-audience{border-top:0!important;padding-top:0!important}
.story-audience legend{float:none!important;width:auto!important;margin:0 0 10px!important;padding:14px 0 0!important}
.hoom-story-editor .story-editor-controls>.story-audience{position:relative;padding-top:4px!important}
.hoom-story-editor .story-editor-controls>.story-audience::before{content:"";position:absolute;left:0;right:0;top:-8px;border-top:1px solid var(--se-line)}

/* Desktop navigation uses the sidebar as the member identity. */
.account-menu .desktop-account-label,
.encounter-stories .desktop-story-symbol { display:none }
@media (min-width:1024px) {
    .account-menu .desktop-account-label { display:inline; padding-inline:8px 2px; font-weight:700 }
    .account-menu .account-avatar, .account-menu .account-panel-head > img,
    .encounter-stories .encounter-story-add > span > img,
    .encounter-stories .encounter-story-add > span > i,
    .encounter-stories .encounter-story > .own-story-cover > img { display:none!important }
    .encounter-stories .encounter-story-add > span,
    .encounter-stories .encounter-story > .own-story-cover {
        display:grid!important; place-items:center; background:var(--surface)!important;
        border:2px solid var(--line); color:var(--accent);
    }
    .encounter-stories .desktop-story-symbol { display:block; width:26px; height:26px }
}
/* 3D icons (x-icon / x-admin-icon print <hoom-icon class="icon-3d i3d-{file}">): clay art in light mode, gradient art in dark mode.
   :where() keeps every existing .icon size rule in charge; 1.25em covers places that only sized svg. */
:where(.icon-3d){width:1.25em;height:1.25em;max-width:100%}
.icon-3d{display:inline-block;background:center/contain no-repeat;vertical-align:middle;flex:none;scale:1.18;filter:drop-shadow(0 1px 1px rgba(60,40,30,.28)) drop-shadow(0 2px 3px rgba(60,40,30,.16));user-select:none}
.sidebar .nav-item .icon-3d,.mobile-nav .icon-3d{scale:1.3}
html.dark .icon-3d{filter:drop-shadow(0 2px 4px rgba(0,0,0,.45))}
.i3d-bag{background-image:url(../icons/3d/light/bag.webp)}html.dark .i3d-bag{background-image:url(../icons/3d/bag.webp)}
.i3d-bell{background-image:url(../icons/3d/light/bell.webp)}html.dark .i3d-bell{background-image:url(../icons/3d/bell.webp)}
.i3d-boy{background-image:url(../icons/3d/light/boy.webp)}html.dark .i3d-boy{background-image:url(../icons/3d/boy.webp)}
.i3d-bulb{background-image:url(../icons/3d/light/bulb.webp)}html.dark .i3d-bulb{background-image:url(../icons/3d/bulb.webp)}
.i3d-calendar{background-image:url(../icons/3d/light/calendar.webp)}html.dark .i3d-calendar{background-image:url(../icons/3d/calendar.webp)}
.i3d-call-ringing{background-image:url(../icons/3d/light/call-ringing.webp)}html.dark .i3d-call-ringing{background-image:url(../icons/3d/call-ringing.webp)}
.i3d-camera{background-image:url(../icons/3d/light/camera.webp)}html.dark .i3d-camera{background-image:url(../icons/3d/camera.webp)}
.i3d-chart{background-image:url(../icons/3d/light/chart.webp)}html.dark .i3d-chart{background-image:url(../icons/3d/chart.webp)}
.i3d-chat{background-image:url(../icons/3d/light/chat.webp)}html.dark .i3d-chat{background-image:url(../icons/3d/chat.webp)}
.i3d-chat-bubble{background-image:url(../icons/3d/light/chat-bubble.webp)}html.dark .i3d-chat-bubble{background-image:url(../icons/3d/chat-bubble.webp)}
.i3d-clock{background-image:url(../icons/3d/light/clock.webp)}html.dark .i3d-clock{background-image:url(../icons/3d/clock.webp)}
.i3d-copy{background-image:url(../icons/3d/light/copy.webp)}html.dark .i3d-copy{background-image:url(../icons/3d/copy.webp)}
.i3d-credit-card{background-image:url(../icons/3d/light/credit-card.webp)}html.dark .i3d-credit-card{background-image:url(../icons/3d/credit-card.webp)}
.i3d-explorer{background-image:url(../icons/3d/light/explorer.webp)}html.dark .i3d-explorer{background-image:url(../icons/3d/explorer.webp)}
.i3d-file-new{background-image:url(../icons/3d/light/file-new.webp)}html.dark .i3d-file-new{background-image:url(../icons/3d/file-new.webp)}
.i3d-file-text{background-image:url(../icons/3d/light/file-text.webp)}html.dark .i3d-file-text{background-image:url(../icons/3d/file-text.webp)}
.i3d-flag{background-image:url(../icons/3d/light/flag.webp)}html.dark .i3d-flag{background-image:url(../icons/3d/flag.webp)}
.i3d-flash{background-image:url(../icons/3d/light/flash.webp)}html.dark .i3d-flash{background-image:url(../icons/3d/flash.webp)}
.i3d-folder{background-image:url(../icons/3d/light/folder.webp)}html.dark .i3d-folder{background-image:url(../icons/3d/folder.webp)}
.i3d-gift{background-image:url(../icons/3d/light/gift.webp)}html.dark .i3d-gift{background-image:url(../icons/3d/gift.webp)}
.i3d-girl{background-image:url(../icons/3d/light/girl.webp)}html.dark .i3d-girl{background-image:url(../icons/3d/girl.webp)}
.i3d-headphone{background-image:url(../icons/3d/light/headphone.webp)}html.dark .i3d-headphone{background-image:url(../icons/3d/headphone.webp)}
.i3d-heart{background-image:url(../icons/3d/light/heart.webp)}html.dark .i3d-heart{background-image:url(../icons/3d/heart.webp)}
.i3d-location{background-image:url(../icons/3d/light/location.webp)}html.dark .i3d-location{background-image:url(../icons/3d/location.webp)}
.i3d-lock{background-image:url(../icons/3d/light/lock.webp)}html.dark .i3d-lock{background-image:url(../icons/3d/lock.webp)}
.i3d-magic-trick{background-image:url(../icons/3d/light/magic-trick.webp)}html.dark .i3d-magic-trick{background-image:url(../icons/3d/magic-trick.webp)}
.i3d-mail{background-image:url(../icons/3d/light/mail.webp)}html.dark .i3d-mail{background-image:url(../icons/3d/mail.webp)}
.i3d-map-pin{background-image:url(../icons/3d/light/map-pin.webp)}html.dark .i3d-map-pin{background-image:url(../icons/3d/map-pin.webp)}
.i3d-mic{background-image:url(../icons/3d/light/mic.webp)}html.dark .i3d-mic{background-image:url(../icons/3d/mic.webp)}
.i3d-money-bag{background-image:url(../icons/3d/light/money-bag.webp)}html.dark .i3d-money-bag{background-image:url(../icons/3d/money-bag.webp)}
.i3d-moon{background-image:url(../icons/3d/light/moon.webp)}html.dark .i3d-moon{background-image:url(../icons/3d/moon.webp)}
.i3d-notebook{background-image:url(../icons/3d/light/notebook.webp)}html.dark .i3d-notebook{background-image:url(../icons/3d/notebook.webp)}
.i3d-notify-heart{background-image:url(../icons/3d/light/notify-heart.webp)}html.dark .i3d-notify-heart{background-image:url(../icons/3d/notify-heart.webp)}
.i3d-ok{background-image:url(../icons/3d/ok.webp)}html.dark .i3d-ok{background-image:url(../icons/3d/ok.webp)}
.i3d-picture{background-image:url(../icons/3d/light/picture.webp)}html.dark .i3d-picture{background-image:url(../icons/3d/picture.webp)}
.i3d-play{background-image:url(../icons/3d/light/play.webp)}html.dark .i3d-play{background-image:url(../icons/3d/play.webp)}
.i3d-plus{background-image:url(../icons/3d/light/plus.webp)}html.dark .i3d-plus{background-image:url(../icons/3d/plus.webp)}
.i3d-puzzle{background-image:url(../icons/3d/light/puzzle.webp)}html.dark .i3d-puzzle{background-image:url(../icons/3d/puzzle.webp)}
.i3d-rocket{background-image:url(../icons/3d/light/rocket.webp)}html.dark .i3d-rocket{background-image:url(../icons/3d/rocket.webp)}
.i3d-setting{background-image:url(../icons/3d/light/setting.webp)}html.dark .i3d-setting{background-image:url(../icons/3d/setting.webp)}
.i3d-shield{background-image:url(../icons/3d/light/shield.webp)}html.dark .i3d-shield{background-image:url(../icons/3d/shield.webp)}
.i3d-star{background-image:url(../icons/3d/light/star.webp)}html.dark .i3d-star{background-image:url(../icons/3d/star.webp)}
.i3d-sun{background-image:url(../icons/3d/light/sun.webp)}html.dark .i3d-sun{background-image:url(../icons/3d/sun.webp)}
.i3d-target{background-image:url(../icons/3d/light/target.webp)}html.dark .i3d-target{background-image:url(../icons/3d/target.webp)}
.i3d-thumb-up{background-image:url(../icons/3d/light/thumb-up.webp)}html.dark .i3d-thumb-up{background-image:url(../icons/3d/thumb-up.webp)}
.i3d-tick{background-image:url(../icons/3d/light/tick.webp)}html.dark .i3d-tick{background-image:url(../icons/3d/tick.webp)}
.i3d-travel{background-image:url(../icons/3d/light/travel.webp)}html.dark .i3d-travel{background-image:url(../icons/3d/travel.webp)}
.i3d-trophy{background-image:url(../icons/3d/light/trophy.webp)}html.dark .i3d-trophy{background-image:url(../icons/3d/trophy.webp)}
.i3d-umbrella{background-image:url(../icons/3d/light/umbrella.webp)}html.dark .i3d-umbrella{background-image:url(../icons/3d/umbrella.webp)}
.i3d-video-cam{background-image:url(../icons/3d/light/video-cam.webp)}html.dark .i3d-video-cam{background-image:url(../icons/3d/video-cam.webp)}
.i3d-wallet{background-image:url(../icons/3d/light/wallet.webp)}html.dark .i3d-wallet{background-image:url(../icons/3d/wallet.webp)}
.i3d-zoom{background-image:url(../icons/3d/light/zoom.webp)}html.dark .i3d-zoom{background-image:url(../icons/3d/zoom.webp)}
/* Story composer, compact pass: smaller preview phone, smaller "Choose" and "Change media" buttons. */
html body .hoom-story-editor .story-editor-preview{max-height:min(44dvh,420px)}
@media (min-width:900px){html body .hoom-story-editor .story-editor-preview{width:212px!important;height:auto!important;min-height:0!important;max-height:none;align-self:start}}
html body .hoom-story-editor .story-empty-preview{gap:6px;padding:16px}
html body .hoom-story-editor .story-empty-preview>.icon{width:38px;height:38px}
html body .hoom-story-editor .story-empty-preview strong{font-size:16px!important}
html body .hoom-story-editor .story-empty-preview>span{font-size:12.5px!important;line-height:1.45;max-width:170px}
html body .hoom-story-editor .story-empty-preview .btn{min-height:34px;padding:6px 14px;font-size:13px;border-radius:999px}
html body .hoom-story-editor .story-file-actions .btn{min-height:30px!important;padding:4px 12px 4px 8px!important;font-size:13px!important;gap:6px;border-radius:999px}
html body .hoom-story-editor .story-file-actions .btn .icon{width:18px;height:18px}
html body .hoom-story-editor .story-file-actions [data-story-file-label]{font-size:12.5px}
/* Sidebar profile card, compact upgrade: avatar + name row, four soft stat tiles. */
html body .sidebar-profile-card.is-rich{display:grid;grid-template-columns:44px 1fr;column-gap:10px;row-gap:1px;align-items:center;padding:12px;border-radius:18px;overflow:hidden;text-align:left;background:linear-gradient(160deg,color-mix(in srgb,var(--accent) 13%,var(--surface)) 0%,var(--surface) 58%);border:1px solid color-mix(in srgb,var(--accent) 14%,var(--line));box-shadow:inset 0 1px 0 rgba(255,255,255,.65),0 12px 26px -16px rgba(60,30,20,.38)}
html body .sidebar-profile-card.is-rich .sidebar-profile-avatar{grid-row:1/span 2;width:44px;height:44px;margin:0;padding:2px;border-radius:50%;background:conic-gradient(from 200deg,var(--accent),#f2b24a,var(--accent))}
html body .sidebar-profile-card.is-rich .sidebar-profile-avatar img{width:100%;height:100%;border-radius:50%;object-fit:cover;border:2px solid var(--surface)}
html body .sidebar-profile-card.is-rich .sidebar-profile-name{grid-column:2;align-self:end;display:flex;align-items:center;gap:4px;margin:0;font-size:14.5px;min-width:0}
html body .sidebar-profile-card.is-rich .sidebar-profile-name strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body .sidebar-profile-card.is-rich>small{grid-column:2;align-self:start;font-size:11.5px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body .sidebar-profile-card.is-rich .sidebar-profile-stats{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,1fr);gap:4px;margin:10px 0 0;padding:0;border:0}
html body .sidebar-profile-card.is-rich .sidebar-profile-stats>div{display:flex;flex-direction:column-reverse;align-items:center;gap:3px;padding:6px 0;border:0!important;border-radius:10px;background:color-mix(in srgb,var(--ink) 4.5%,transparent);transition:background .18s,transform .18s}
html body .sidebar-profile-card.is-rich .sidebar-profile-stats>div:hover{background:color-mix(in srgb,var(--accent) 12%,transparent);transform:translateY(-1px)}
html body .sidebar-profile-card.is-rich .sidebar-profile-stats dd{margin:0;font:800 14px/1 var(--font-display,inherit);color:var(--ink)}
html body .sidebar-profile-card.is-rich .sidebar-profile-stats dd a{color:inherit}
html body .sidebar-profile-card.is-rich .sidebar-profile-stats dt{margin:0;font-size:9.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
html.dark body .sidebar-profile-card.is-rich{background:linear-gradient(160deg,color-mix(in srgb,var(--accent) 18%,var(--surface)) 0%,var(--surface) 60%);box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 12px 26px -16px rgba(0,0,0,.6)}
html.dark body .sidebar-profile-card.is-rich .sidebar-profile-stats>div{background:rgba(255,255,255,.05)}
/* Header account button: 3D user icon in the same round chip as the bell. */
@media (min-width:1024px){html body .account-menu .desktop-account-label{display:inline-grid;place-items:center;width:40px;height:40px;padding:0;border:1px solid var(--line);border-radius:50%;background:var(--surface);transition:transform .18s,box-shadow .18s}
html body .account-menu summary:hover .desktop-account-label{transform:translateY(-1px);box-shadow:var(--sh-1)}
html body .account-menu .desktop-account-label .icon-3d{width:24px;height:24px}}
/* Post @tags and photo styles */
.post-body .post-mention{font-weight:700;color:var(--accent)}
textarea[data-mentions-url]~.mention-menu{top:calc(100% + 6px);bottom:auto}
.composer-layout-picker{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0 0;padding:0;border:0}
.composer-layout-picker[hidden]{display:none}
.composer-layout-picker legend{width:100%;margin-bottom:6px;font-size:12.5px;font-weight:700;color:var(--muted)}
.layout-option{display:grid;justify-items:center;gap:4px;padding:6px 8px;border:1px solid var(--line);border-radius:12px;cursor:pointer;transition:border-color .18s,background .18s}
.layout-option:hover{border-color:var(--accent)}
.layout-option:has(input:checked){border-color:var(--accent);background:color-mix(in srgb,var(--accent) 10%,transparent)}
.layout-option:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:2px}
.layout-option input{position:absolute;opacity:0;pointer-events:none}
.layout-option small{font-size:11px;font-weight:700}
.layout-thumb{display:grid;gap:2px;width:34px;height:26px}
.layout-thumb i{border-radius:3px;background:color-mix(in srgb,var(--accent) 55%,transparent)}
.is-auto .layout-thumb{grid-template-columns:1.6fr 1fr;grid-template-rows:1fr 1fr}.is-auto .layout-thumb i:first-child{grid-row:span 2}
.is-mosaic .layout-thumb{grid-template-columns:1fr 1fr;grid-template-rows:1.6fr 1fr}.is-mosaic .layout-thumb i:first-child{grid-column:span 2}
.is-row .layout-thumb{grid-template-columns:repeat(3,1fr)}
.is-stack .layout-thumb{grid-template-rows:repeat(3,1fr)}
.is-carousel .layout-thumb{grid-template-columns:1fr .5fr;overflow:hidden}.is-carousel .layout-thumb i:last-child{display:none}
html body .post-images-grid.is-mosaic{grid-template-columns:repeat(var(--cols,2),1fr);grid-template-rows:1.6fr 1fr;aspect-ratio:4/3;max-height:420px}
html body .post-images-grid.is-mosaic .grid-cell-0{grid-column:1/-1;grid-row:1}
html body .post-images-grid.is-mosaic.grid-layout-3{--cols:2}html body .post-images-grid.is-mosaic.grid-layout-4{--cols:3}
html body .post-images-grid.is-mosaic.grid-layout-2{grid-template-columns:1fr;grid-template-rows:1fr 1fr;aspect-ratio:3/4}
html body .post-images-grid.is-row{grid-template-columns:repeat(auto-fit,minmax(0,1fr));grid-template-rows:1fr;aspect-ratio:2/1;max-height:300px}
html body .post-images-grid.is-row .grid-cell{grid-row:auto!important;grid-column:auto!important}
html body .post-images-grid.is-stack{grid-template-columns:1fr;grid-template-rows:none;grid-auto-rows:auto;aspect-ratio:auto;max-height:none}
html body .post-images-grid.is-stack .grid-cell{grid-row:auto!important;aspect-ratio:4/3}
html body .post-images-grid.is-carousel{display:flex;gap:6px;overflow-x:auto;scroll-snap-type:x mandatory;aspect-ratio:auto;max-height:none;scrollbar-width:thin}
html body .post-images-grid.is-carousel .grid-cell{flex:0 0 86%;aspect-ratio:4/5;scroll-snap-align:center}
html body .post-images-grid:is(.is-row,.is-stack,.is-carousel,.is-mosaic) .grid-cell img{width:100%;height:100%;object-fit:cover}
/* Timeline right rail: interest-matched sponsored listings + Google unit. */
.side-ads-card .side-ad{display:grid;grid-template-columns:56px 1fr;gap:10px;align-items:center;padding:8px;margin-top:8px;border-radius:14px;color:var(--ink);text-decoration:none;transition:background .18s,transform .18s}
.side-ads-card .side-ad:hover{background:color-mix(in srgb,var(--accent) 8%,transparent);transform:translateY(-1px)}
.side-ad-image{display:grid;place-items:center;width:56px;height:56px;border-radius:12px;overflow:hidden;background:color-mix(in srgb,var(--ink) 5%,transparent)}
.side-ad-image img{width:100%;height:100%;object-fit:cover}
.side-ad-copy{display:grid;gap:1px;min-width:0}
.side-ad-copy strong{font-size:13.5px;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.side-ad-copy b{font-size:13px;color:var(--accent)}
.side-ad-copy small{font-size:11.5px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.side-google-ad{margin-top:10px;min-height:100px;border-radius:12px;overflow:hidden}
/* Profile card: older rules use display:flex!important and padding!important, so the compact grid needs the same weight. */
html body .sidebar-profile-card.is-rich{display:grid!important;padding:12px!important;gap:1px 10px!important;margin-bottom:10px!important;text-align:left!important}
html body .sidebar-profile-card.is-rich>.sidebar-profile-avatar{margin:0!important;grid-row:1/span 2!important}
html body .sidebar-profile-card.is-rich>.sidebar-profile-name{grid-row:1;justify-content:flex-start!important;margin:0!important;padding:0!important;width:auto!important}
html body .sidebar-profile-card.is-rich>.sidebar-profile-name strong{font-size:14.5px!important;text-align:left!important;-webkit-line-clamp:1}
html body .sidebar-profile-card.is-rich>small{grid-row:2;flex:none!important;margin:0!important}
html body .sidebar-profile-card.is-rich .sidebar-profile-stats{grid-row:3}
html body .sidebar-profile-card.is-rich .sidebar-profile-stats dt{font-size:10px;letter-spacing:0;text-transform:none}
/* Popup forms: one compact size site-wide (450 x 500, scrolls inside, phone-safe).
   Not media viewers (lightboxes, story player), calls or chat pickers, which need their own sizes. */
html body :is(dialog.dialog:not(.call-dialog),dialog.timeline-compose-dialog,dialog.room-detail-dialog,dialog.member-actions-dialog,dialog.site-notice-dialog,dialog.profile-photo-dialog,dialog.location-consent-dialog,dialog.discover-offer-sheet,dialog.story-music-sheet){
 width:min(450px,calc(100vw - 24px))!important;max-width:450px!important;max-height:min(500px,calc(100dvh - 24px))!important;overflow-y:auto!important;overscroll-behavior:contain;scrollbar-width:thin}
/* Story composer inside that size: one column, small 9:16 preview on top, tools below. */
html body .hoom-story-editor{border-radius:24px!important;padding:0!important}
html body .hoom-story-editor .timeline-dialog-heading{position:sticky;top:0;z-index:5;padding:12px 16px!important;background:var(--surface)}
html body .hoom-story-editor .timeline-dialog-heading h2{font-size:18px!important}
html body .hoom-story-editor .story-composer{display:grid!important;grid-template-columns:minmax(0,1fr)!important;row-gap:12px!important;padding:12px 16px 0!important}
html body .hoom-story-editor .story-editor-preview{grid-column:1!important;grid-row:auto!important;position:relative!important;top:auto!important;width:150px!important;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:9/16;margin:0 auto!important;border-radius:16px!important}
html body .hoom-story-editor :is(.story-studio,.story-editor-controls,.story-publish-row){grid-column:1!important;grid-row:auto!important}
html body .hoom-story-editor .story-editor-controls{gap:12px!important}
html body .hoom-story-editor .story-empty-preview{gap:4px;padding:10px}
html body .hoom-story-editor .story-empty-preview>.icon{width:30px;height:30px}
html body .hoom-story-editor .story-empty-preview strong{font-size:13px!important}
html body .hoom-story-editor .story-empty-preview>span{display:none}
html body .hoom-story-editor .story-empty-preview .btn{min-height:30px;padding:4px 10px;font-size:12px}
html body .hoom-story-editor .story-audience{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important}
html body .hoom-story-editor .story-audience span{min-height:0!important;padding:8px!important}
html body .hoom-story-editor .story-audience strong{font-size:13px!important}
html body .hoom-story-editor .story-audience small{font-size:11px!important}
html body .hoom-story-editor .story-publish-row{position:sticky;bottom:0!important;z-index:5;margin:4px -16px 0!important;padding:10px 16px!important;background:var(--surface)}
html body .hoom-story-editor .story-publish-row span{font-size:12px}
html body .hoom-story-editor .story-publish-row .btn-primary{min-height:40px!important;padding:0 18px!important;font-size:14px!important}
html body .hoom-story-editor .story-sticker-grid{grid-template-columns:repeat(6,1fr)}
html body .hoom-story-editor .story-empty-preview .btn{white-space:normal;max-width:128px;line-height:1.2;border-radius:12px;padding:6px 10px}
/* Post popup: the Post button stays in reach while the form scrolls inside the 500px popup. */
html body #create-post form button[type="submit"].btn-primary{position:sticky;bottom:0;z-index:4;box-shadow:0 -10px 18px -6px var(--surface),0 10px 22px -12px rgba(120,50,20,.5)}
/* Account button on every screen size: the same 3D user chip as desktop, never the profile photo. */
html body .header-actions .account-menu > summary > .account-avatar{display:none!important}
html body .header-actions .account-menu .desktop-account-label{display:inline-grid!important;place-items:center;width:40px;height:40px;padding:0!important;border:1px solid var(--line);border-radius:50%;background:var(--surface);transition:transform .18s,box-shadow .18s}
html body .header-actions .account-menu summary:hover .desktop-account-label{transform:translateY(-1px);box-shadow:var(--sh-1)}
html body .header-actions .account-menu .desktop-account-label .icon-3d{width:24px;height:24px}
@media (max-width:480px){html body .header-actions .account-menu .desktop-account-label{width:36px;height:36px}html body .header-actions .account-menu .desktop-account-label .icon-3d{width:21px;height:21px}}
/* Offer create: two short steps, small cards, narrow column. */
.offer-steps-page{max-width:480px;margin-inline:auto}
.offer-steps-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 0 14px}
.offer-steps-head h1{margin:0;font:800 22px/1.2 var(--font-display,inherit);letter-spacing:-.02em}
.offer-steps-dots{display:flex;gap:6px;margin:0;padding:0;list-style:none;counter-reset:step}
.offer-steps-dots li{counter-increment:step;display:inline-flex;align-items:center;gap:6px;padding:4px 10px 4px 4px;border-radius:999px;font-size:12px;font-weight:700;color:var(--muted);background:color-mix(in srgb,var(--ink) 5%,transparent);transition:background .2s,color .2s}
.offer-steps-dots li::before{content:counter(step);display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--surface);font-size:11px}
.offer-steps-dots li.is-active{color:#fff;background:var(--accent)}
.offer-steps-dots li.is-active::before{color:var(--accent)}
.offer-steps-dots li.is-done{color:var(--accent);background:color-mix(in srgb,var(--accent) 12%,transparent)}
.offer-steps-form{display:grid;gap:14px}
.offer-steps-form:not(.is-stepped) [data-step-next],.offer-steps-form:not(.is-stepped) [data-step-back]{display:none}
.offer-step{display:grid;gap:10px;padding:14px;border:1px solid var(--line);border-radius:20px;background:var(--surface);box-shadow:0 10px 26px -18px rgba(60,30,20,.4);animation:offerStepIn .22s ease}
.offer-step[hidden]{display:none}
@keyframes offerStepIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.offer-step{animation:none}}
.offer-kind-cards{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.offer-mini-card{position:relative;display:flex;align-items:center;gap:8px;padding:10px;border:1px solid var(--line);border-radius:14px;cursor:pointer;transition:border-color .18s,background .18s,transform .18s}
.offer-mini-card:hover{border-color:var(--accent);transform:translateY(-1px)}
.offer-mini-card:has(input:checked){border-color:var(--accent);background:color-mix(in srgb,var(--accent) 9%,transparent)}
.offer-mini-card:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:2px}
.offer-mini-card input{position:absolute;opacity:0;pointer-events:none}
.offer-mini-card .icon{width:28px;height:28px;flex:none}
.offer-mini-card strong{display:block;font-size:13.5px}
.offer-mini-card small{display:block;font-size:11.5px;color:var(--muted);line-height:1.3}
.offer-mini-field{display:grid;gap:4px;font-size:12.5px;font-weight:700;color:var(--muted)}
.offer-mini-field input,.offer-mini-field select,.offer-mini-more textarea{width:100%;min-height:42px;padding:8px 12px;border:1px solid var(--line);border-radius:12px;background:var(--bg,transparent);color:var(--ink);font:inherit;font-size:14.5px;font-weight:500;transition:border-color .18s,box-shadow .18s}
.offer-mini-field input:focus,.offer-mini-field select:focus,.offer-mini-more textarea:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 18%,transparent)}
.offer-mini-field small{font-weight:500;font-size:11.5px}
.offer-price-input{position:relative;display:block}
.offer-price-input b{position:absolute;left:12px;top:50%;translate:0 -50%;color:var(--ink);font-size:16px}
.offer-price-input input{padding-left:28px;font-size:18px!important;font-weight:800!important}
.offer-steps-form .location-input-wrap{display:flex;gap:6px}
.offer-steps-form .location-input-wrap input{flex:1;min-width:0}
.offer-steps-form .offer-balance-inline{display:flex;align-items:center;gap:6px;margin:-4px 0 0;padding:0;border:0;background:none;font-size:12px;color:var(--muted)}
.offer-steps-form .offer-balance-inline .icon{width:16px;height:16px}
.offer-mini-more{border:1px dashed var(--line);border-radius:12px;padding:0 10px}
.offer-mini-more summary{padding:10px 0;font-size:13px;font-weight:700;color:var(--accent);cursor:pointer;list-style:none}
.offer-mini-more summary::-webkit-details-marker{display:none}
.offer-mini-more summary small{color:var(--muted);font-weight:500}
.offer-mini-more[open]{padding-bottom:10px}
.offer-mini-more[open]>*:not(summary){margin-top:2px}
.offer-mini-file{display:flex;align-items:center;gap:8px;margin-bottom:8px;font-size:12.5px;color:var(--muted)}
.offer-mini-file input{font-size:12px;max-width:100%}
.offer-steps-form .offer-voice-compact{padding:0;border:0;background:none}
.offer-steps-form .offer-transaction-fee-note{display:flex;gap:6px;align-items:flex-start;margin:0;font-size:11.5px;color:var(--muted)}
.offer-steps-form .offer-transaction-fee-note .icon{width:16px;height:16px;flex:none}
.offer-step-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:2px}
.offer-step-actions .btn{min-height:42px;border-radius:999px;padding:0 18px}
.offer-step-actions .btn-primary{flex:1;max-width:220px;justify-content:center}
html body .offer-steps-page{max-width:480px!important;width:100%;margin-inline:auto!important}
html body .offer-price-input input{padding-left:30px!important}
.offer-steps-dots li{white-space:nowrap}
@media (max-width:480px){.offer-steps-head h1{font-size:19px}.offer-steps-dots li{font-size:11px;padding-right:8px}.offer-steps-dots li:not(.is-active){font-size:0;padding-right:4px;gap:0}}
/* Offer page: clear money split and compact "pick one person" cards. */
.offer-fee-split{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:12px 0 6px;padding:0}
.offer-fee-split>div{padding:10px 12px;border:1px solid var(--line);border-radius:14px;background:color-mix(in srgb,var(--ink) 3%,transparent)}
.offer-fee-split>div.is-total{border-color:color-mix(in srgb,var(--accent) 35%,var(--line));background:color-mix(in srgb,var(--accent) 9%,transparent)}
.offer-fee-split dt{margin:0;font-size:11.5px;font-weight:700;color:var(--muted)}
.offer-fee-split dd{margin:2px 0 0;font:800 17px/1.2 var(--font-display,inherit);color:var(--ink)}
.offer-fee-split .is-total dd{color:var(--accent)}
.offer-fee-note{display:flex;gap:6px;align-items:flex-start;margin:0 0 12px;font-size:12px;line-height:1.45;color:var(--muted)}
.offer-fee-note .icon{width:16px;height:16px;flex:none;margin-top:1px}
@media (max-width:480px){.offer-fee-split{grid-template-columns:1fr 1fr}.offer-fee-split .is-total{grid-column:1/-1}}
.offer-pick-panel{margin-top:16px}
.offer-pick-count{display:inline-grid;place-items:center;min-width:24px;height:24px;margin-left:6px;padding:0 7px;border-radius:999px;background:var(--accent);color:#fff;font-size:12px;vertical-align:middle}
.offer-pick-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:10px;margin-top:10px}
.offer-pick-card{display:grid;grid-template-columns:1fr auto;gap:8px 10px;align-content:start;padding:12px;border:1px solid var(--line);border-radius:16px;background:var(--surface);transition:border-color .18s,box-shadow .18s,transform .18s}
.offer-pick-card:hover{border-color:color-mix(in srgb,var(--accent) 45%,var(--line));box-shadow:0 12px 24px -18px rgba(60,30,20,.45);transform:translateY(-1px)}
.offer-pick-card.is-picked{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 7%,var(--surface))}
.offer-pick-who{display:flex;align-items:center;gap:9px;min-width:0;color:var(--ink);text-decoration:none}
.offer-pick-who img{width:42px;height:42px;border-radius:50%;object-fit:cover;flex:none}
.offer-pick-who strong{display:block;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.offer-pick-who small{display:block;font-size:11.5px;color:var(--muted)}
.offer-pick-price{text-align:right}
.offer-pick-price strong{display:block;font:800 15px/1.2 var(--font-display,inherit);color:var(--accent)}
.offer-pick-price small{font-size:11px;color:var(--muted)}
.offer-pick-msg{grid-column:1/-1;margin:0;font-size:13px;line-height:1.45;color:var(--ink)}
.offer-pick-actions{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.offer-pick-actions .btn{min-height:32px;border-radius:999px;gap:5px}
.offer-pick-actions .btn .icon{width:16px;height:16px}
.offer-pick-agree{margin-left:auto}
.offer-pick-agree[open]{flex-basis:100%;margin-left:0}
.offer-pick-agree summary{list-style:none;cursor:pointer}
.offer-pick-agree summary::-webkit-details-marker{display:none}
.offer-pick-agree[open] summary{opacity:.7}
.offer-pick-agree form{flex-basis:100%;display:grid;gap:8px;margin-top:4px;padding:10px;border:1px dashed color-mix(in srgb,var(--accent) 40%,var(--line));border-radius:12px}
.offer-pick-agree form small{font-size:11.5px}
.offer-pick-empty{grid-column:1/-1;border:0!important}
.offer-pick-grid{align-items:start}
.offer-pick-card>*{min-width:0}
.offer-detail-card.is-mine .offer-money-note{display:none}
.offer-pick-who>span{min-width:0;overflow:hidden}
/* Story composer steps */
html body .story-composer.is-stepped[data-step="1"] [data-step-only="2"],html body .story-composer.is-stepped[data-step="2"] [data-step-only="1"]{display:none!important}
.story-composer:not(.is-stepped) [data-story-next],.story-composer:not(.is-stepped) [data-story-back],.story-composer:not(.is-stepped) .story-step-next{display:none}
html body .hoom-story-editor .story-steps-dots{justify-self:center;margin:0}
html body .hoom-story-editor .story-steps-dots[hidden]{display:none}
html body .hoom-story-editor .story-composer[data-step="2"] .story-editor-preview{width:96px!important;border-radius:12px!important}
html body .hoom-story-editor .story-composer[data-step="2"] .story-music-sticker{display:none}
.story-step-next{position:sticky;bottom:0;z-index:5;display:flex;justify-content:flex-end;margin:4px -16px 0;padding:10px 16px;background:var(--surface)}
.story-step-next .btn{min-height:40px;border-radius:999px;padding:0 22px}
html body .hoom-story-editor .story-publish-row .story-step-back{min-height:40px!important;width:40px;padding:0!important;border-radius:50%!important;justify-content:center;flex:none}
html body .hoom-story-editor .story-composer{overflow:visible!important;overflow-x:clip!important}
/* Story step 1 fits the 500px popup without scrolling: smaller preview, one-row tools, compact pickers. */
html body .hoom-story-editor .story-composer[data-step="1"]{row-gap:8px!important;padding-top:8px!important}
html body .hoom-story-editor .story-composer[data-step="1"] .story-editor-preview{width:104px!important}
html body .hoom-story-editor .story-empty-preview .btn{font-size:12px!important;min-height:28px!important;padding:4px 10px!important;max-width:100px!important;line-height:1.2!important}
html body .hoom-story-editor .story-empty-preview strong{font-size:12px!important}
html body .hoom-story-editor .story-empty-preview>.icon{width:26px;height:26px}
html body .hoom-story-editor .story-studio-tools{display:flex!important;flex-wrap:nowrap!important;justify-content:space-between;gap:2px!important;padding:4px!important;border-radius:14px!important}
html body .hoom-story-editor .story-studio-tools button{flex:1 1 0;min-width:0;flex-direction:column;gap:2px!important;padding:5px 2px!important;font-size:11px!important;min-height:0!important}
html body .hoom-story-editor .story-studio-tools button .icon{width:16px!important;height:16px!important}
html body .hoom-story-editor .story-editor-pickers{display:flex!important;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
html body .hoom-story-editor .story-editor-pickers legend{display:none}
html body .hoom-story-editor .story-editor-pickers fieldset{margin:0!important;padding:0!important;border:0!important}
html body .hoom-story-editor .story-step-next{padding-block:8px!important}
html body .hoom-story-editor .timeline-dialog-heading{padding-block:10px!important}
html body .hoom-story-editor .story-composer[data-step="2"]{row-gap:8px!important;padding-top:8px!important}
html body .hoom-story-editor .story-composer[data-step="2"] .story-editor-preview{width:60px!important;border-radius:10px!important}
html body .hoom-story-editor .story-composer[data-step="2"] .story-caption-overlay{display:none}
html body .hoom-story-editor .story-composer[data-step="2"] [data-story-caption]{min-height:40px!important;height:40px;resize:none}
html body .hoom-story-editor .story-composer[data-step="2"] .story-editor-controls{gap:8px!important}
html body .hoom-story-editor .story-composer[data-step="2"] .story-audience legend{padding-top:4px!important;margin-bottom:6px!important}
html body .hoom-story-editor .story-composer[data-step="2"] .story-music-row button{min-height:38px!important}
html body .hoom-story-editor .story-composer[data-step="2"] .story-audience span{padding:6px 8px!important}
html body .hoom-story-editor .story-composer[data-step="2"] .story-publish-row{padding-block:6px!important}
html body .hoom-story-editor .story-composer[data-step="2"]{row-gap:6px!important;padding-top:6px!important}
/* While a crop / filter / adjust / sticker / text tool is open, the preview grows so edits are easy to see and place. */
html body .hoom-story-editor .story-composer[data-step="1"]:has(.story-studio-panel:not([hidden])) .story-editor-preview{width:min(200px,58vw)!important;border-radius:18px!important;transition:width .2s ease}
html body .hoom-story-editor .story-composer[data-step="1"] .story-editor-preview{transition:width .2s ease}
/* HOOM Bot label */
.bot-badge{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;border-radius:999px;background:color-mix(in srgb,#7b5cf0 14%,transparent);color:#6a4ce0;font-size:11px;font-weight:800;letter-spacing:.02em;vertical-align:middle;white-space:nowrap}
.bot-badge .icon{width:13px;height:13px}
html.dark .bot-badge{color:#b9a6ff;background:rgba(123,92,240,.22)}
.chat-aside-actions [hidden],.thread-header-controls [hidden],.chat-aside-rate[hidden]{display:none!important}
