/* Logo Classic ("blip") — the BlipVibe DEFAULT look (js/fullskins.js FULL_SKINS.blip, applied when nothing is equipped).
 * Every visual is painted art from images/skins/blip/assets (prototypes/blip-kit-brief.md); this file only places it.
 * Concepts: images/skins/default/logo-classic/{home,group,desktop,menu,groups,groupsdesk}.png (local only). */

/* ---------- page + type ---------- */
body.fs-blip { --bl-ink: #0b1f6b; --bl-soft: #5068a8; --bl-blue: #2669e4; --bl-deep: #1e51ca; --bl-navy: #00008b;
  background: #eef5ff !important; font-family: var(--fs-font) !important; color: var(--bl-ink) !important; }
body.fs-blip :is(h1, h2, h3, h4, .profile-name, .post-username, .card-heading, .stat-count, .msg-contact-name, .group-card-body h4,
  .fsk-name, .profile-card-name) { font-family: var(--fs-title-font) !important; font-weight: 800 !important; color: var(--bl-ink) !important; font-style: normal !important; }
body.fs-blip :is(.page, .main-container, .center-feed, .page-container) { background: transparent !important; }
body.fs-blip * { border-image-repeat: stretch !important; }
/* the user's shop extras that full skins override (templates paint their own bars/cards) */
body.fs-blip[class*="tpl-"] :is(.card, .feed-post)::before { display: none !important; }

/* ---------- cards: the white outlined card (panel-card, 9-slice) ---------- */
html body.fs.fs-blip :is(.card, .feed-post, .quest-panel, .coin-goal-bar, .featured-skin-banner, .group-card, .comment-item,
  .msg-contact, .notif-item, .user-dropdown, .post-dropdown, .modal-content) {
  border: 14px solid transparent !important; border-image: var(--fs-panel-card) 12% fill / 14px stretch !important;
  background: none !important; box-shadow: none !important; border-radius: 0 !important; color: var(--bl-ink) !important; }
html body.fs.fs-blip :is(.msg-contact.active, .notif-item.unread) { border-image-source: var(--fs-panel-card-active) !important; }

/* ---------- buttons + pills ---------- */
html body.fs.fs-blip :is(.btn-primary, .featured-buy-btn, .join-group-btn.btn-primary, .mobile-pill, .fsk-buy) {
  
  color: #fff !important; box-shadow: none !important; border-radius: 0 !important; font-weight: 800 !important; text-shadow: none !important; }
html body.fs.fs-blip :is(.btn-outline, .view-group-btn) {  color: var(--bl-blue) !important; box-shadow: none !important; font-weight: 800 !important; }
html body.fs.fs-blip :is(.btn-disabled, .join-group-btn.btn-disabled) {  color: #4d5a73 !important; box-shadow: none !important; opacity: 1 !important; }
html body.fs.fs-blip :is(.btn-primary, .btn-outline, .btn-disabled, .mobile-pill, .featured-buy-btn) i { color: inherit !important; }
html body.fs.fs-blip :is(.btn, .mobile-pill, .search-tab, .action-btn, .nav-link) { transition: transform .18s cubic-bezier(.3,1.5,.5,1), filter .18s, color .2s, background-color .2s !important; }
html body.fs.fs-blip :is(.btn, .mobile-pill, .search-tab, .action-btn):active { transform: scale(.94); filter: brightness(.94); }

/* tabs: white pill with a navy outline, the active one solid blue */
html body.fs.fs-blip .search-tab {
  color: var(--bl-ink) !important; font-weight: 800 !important; box-shadow: none !important; border-radius: 0 !important; text-shadow: none !important; }
html body.fs.fs-blip .search-tab.active { color: #fff !important; }
html body.fs.fs-blip .search-tab i { color: inherit !important; }

/* fields */
html body.fs.fs-blip :is(.post-input-fake, .page-search, #globalSearch, .msg-search input) {  color: var(--bl-soft) !important; box-shadow: none !important; border-radius: 0 !important; }
html body.fs.fs-blip .page-search input { background: transparent !important; border: 0 !important; color: var(--bl-ink) !important; font-size: 16px !important; }

/* progress bars (quests, coin goal) */
html body.fs.fs-blip :is(.quest-bar, .coin-goal-track) { background: var(--fs-bar-track) center / 100% 100% no-repeat !important; border-radius: 0 !important; border: 0 !important; overflow: hidden; }
html body.fs.fs-blip :is(.quest-bar-fill, .coin-goal-fill) { background: var(--fs-bar-fill) left center / auto 100% no-repeat !important; border-radius: 0 !important;
  -webkit-mask: var(--fs-bar-fill) left center / 100% 100% no-repeat; mask: var(--fs-bar-fill) left center / 100% 100% no-repeat; transition: width .8s cubic-bezier(.2,.8,.2,1) !important; }

/* ---------- avatars: round, in the white ring ---------- */
html body.fs.fs-blip :is(.post-avatar, .post-create-avatar, .nav-avatar, .suggestion-avatar, .msg-contact-avatar, .comment-avatar) {
  -webkit-mask: none !important; mask: none !important; border-radius: 50% !important; border: 0 !important; box-shadow: none !important;
  padding: 2px; box-sizing: border-box; background: var(--fs-avatar-ring) center / 100% 100% no-repeat !important; object-fit: cover; }

/* ---------- icons the generic layer doesn't swap ---------- */
html body.fs.fs-blip .edit-profile-btn > i, html body.fs.fs-blip .post-menu-btn > i { display: inline-block; width: 20px; height: 20px; color: transparent !important; background: center / contain no-repeat; }
html body.fs.fs-blip .edit-profile-btn > i::before, html body.fs.fs-blip .post-menu-btn > i::before { content: "" !important; }
html body.fs.fs-blip .edit-profile-btn > i { background-image: var(--fs-icon-edit); }
html body.fs.fs-blip .post-menu-btn > i { background-image: var(--fs-icon-more); }

/* ======================================================================================================== PHONE */
@media (max-width: 768px) {
  /* top bar: royal-blue band, wordmark with the original mascot, white icons, white coin pill, ringed avatar */
  html body.fs.fs-blip .navbar { border: 0 !important; border-image: none !important; box-shadow: none !important; overflow: visible !important;
    background: var(--fs-header-bar) center bottom / 100% 100% no-repeat !important; height: calc(62px + env(safe-area-inset-top, 0px)) !important;
    max-height: none !important; padding: env(safe-area-inset-top, 0px) 0 0 !important; }
  html body.fs.fs-blip .page.active { padding-top: calc(66px + env(safe-area-inset-top, 0px)) !important; }
  html body.fs.fs-blip .nav-container { display: grid !important; grid-template-columns: 1fr 38px 38px auto 46px; align-items: center; column-gap: 6px; padding: 0 12px !important; height: 100%; }
  html body.fs.fs-blip .navbar :is(.nav-left, .nav-right) { display: contents !important; }
  html body.fs.fs-blip .navbar .search-bar { display: none !important; }
  html body.fs.fs-blip .navbar .nav-logo { grid-column: 1; grid-row: 1; justify-self: start; display: flex !important; align-items: center; gap: 6px;
    font: 900 26px var(--fs-title-font) !important; color: #fff !important; background: none !important; padding: 0 !important; text-shadow: none !important; letter-spacing: -.3px; }
  html body.fs.fs-blip .navbar .nav-logo::before { content: ""; width: 42px; height: 42px; flex: 0 0 42px; background: var(--fs-mascot-head) center / contain no-repeat; }
  html body.fs.fs-blip .navbar .nav-logo.nav-logo-image::after { content: none; }
  html body.fs.fs-blip .navbar .mobile-search-btn { grid-column: 2; grid-row: 1; }
  html body.fs.fs-blip .navbar .mobile-notif-btn { grid-column: 3; grid-row: 1; position: relative; }
  html body.fs.fs-blip .navbar .nav-music-wrap { display: none !important; }
  html body.fs.fs-blip .navbar .nav-coins { grid-column: 4; grid-row: 1; }
  html body.fs.fs-blip .navbar .nav-user { grid-column: 5; grid-row: 1; margin: 0 !important; }
  html body.fs.fs-blip .navbar .nav-user > i, html body.fs.fs-blip .navbar .nav-username { display: none !important; }
  html body.fs.fs-blip .navbar :is(.mobile-search-btn, .mobile-notif-btn) { width: 38px !important; height: 38px !important; display: flex !important; align-items: center; justify-content: center; background: none !important; border: 0 !important; padding: 0 !important; }
  html body.fs.fs-blip .navbar :is(.mobile-search-btn, .mobile-notif-btn) > i { width: 27px !important; height: 27px !important; font-size: 0 !important; background-size: contain !important; background-repeat: no-repeat !important; background-position: center !important; }
  html body.fs.fs-blip .navbar .notif-badge, html body.fs.fs-blip .nav-center .notif-badge { position: absolute; top: -1px; right: -2px; min-width: 19px; height: 19px; border-radius: 0 !important; padding: 0 4px;
    background: var(--fs-badge-count) center / 100% 100% no-repeat !important; color: #fff !important; font: 800 11px/19px var(--fs-font) !important; text-align: center; border: 0 !important; box-shadow: none !important; animation: blBadge .45s cubic-bezier(.3,1.7,.5,1) both; }
  html body.fs.fs-blip .navbar .nav-coins { height: 36px !important; padding: 0 12px 0 7px !important; display: flex !important; align-items: center; gap: 5px; margin: 0 !important;
    border-radius: 0 !important; box-shadow: none !important; }
  html body.fs.fs-blip .navbar .nav-coins > i { width: 24px !important; height: 24px !important; font-size: 0 !important; background: var(--fs-coin) center / contain no-repeat !important; }
  html body.fs.fs-blip .navbar .nav-coins .coin-count { color: var(--bl-ink) !important; font: 800 16px var(--fs-font) !important; }
  html body.fs.fs-blip .navbar .nav-avatar { width: 44px !important; height: 44px !important; padding: 3px; }

  /* bottom nav: white bar; the active tab is the blue tile with a white icon + label; Blip first */
  html body.fs.fs-blip .nav-center { background: var(--fs-nav-bar) center top / 100% 100% no-repeat !important; border: 0 !important; box-shadow: none !important;
    justify-content: space-around !important; padding: 6px 6px calc(env(safe-area-inset-bottom, 0px) + 6px) !important; height: auto !important; min-height: 74px; align-items: center !important; }
  html body.fs.fs-blip .nav-center .nav-link { position: relative; display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    min-width: 0; flex: 1 1 0; height: 60px; padding: 0 !important; margin: 0 2px !important; border: 0 !important; border-image: none !important; background: none !important;
    color: var(--bl-ink) !important; font: 800 12.5px var(--fs-font) !important; }
  html body.fs.fs-blip .nav-center .nav-link > span:not(.notif-badge) { font: inherit !important; color: inherit !important; display: block !important; }
  html body.fs.fs-blip .nav-center .nav-link > i { width: 28px !important; height: 28px !important; min-width: 28px; font-size: 0 !important; transition: transform .25s cubic-bezier(.3,1.6,.5,1); }
  html body.fs.fs-blip .nav-center .nav-link.active { background: var(--fs-nav-active) center / 100% 100% no-repeat !important; color: #fff !important; animation: blTab .35s cubic-bezier(.3,1.5,.5,1); }
  html body.fs.fs-blip .nav-center .nav-link.active > i { transform: translateY(-1px) scale(1.06); }
  html body.fs.fs-blip .nav-center .nav-link.active[data-page="home"] > i { background-image: var(--fs-icon-home-on) !important; }
  html body.fs.fs-blip .nav-center .nav-link.active[data-page="groups"] > i { background-image: var(--fs-icon-groups-on) !important; }
  html body.fs.fs-blip .nav-center .nav-link.active[data-page="shop"] > i { background-image: var(--fs-icon-skins-on) !important; }
  html body.fs.fs-blip .nav-center .nav-link.active[data-page="profiles"] > i { background-image: var(--fs-icon-network-on) !important; }
  html body.fs.fs-blip .nav-center .nav-link.active[data-page="messages"] > i { background-image: var(--fs-icon-messages-on) !important; }
  html body.fs.fs-blip .nav-center .notif-badge { top: 2px; right: 14%; }
}

/* ---------- the Blip button (js blipStart) ---------- */
.blip-start-btn { display: none; }
body.fs-blip .blip-start-btn { display: flex; align-items: center; justify-content: center; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent;
  font: 900 15px var(--fs-font); color: #fff; padding: 0; background: none; position: relative; transition: transform .2s cubic-bezier(.3,1.6,.5,1), filter .2s; }
body.fs-blip .blip-start-head { display: block; width: 34px; height: 34px; background: var(--fs-mascot-head) center / contain no-repeat; transition: transform .35s cubic-bezier(.3,1.7,.5,1); }
body.fs-blip .blip-start-btn:hover .blip-start-head { transform: rotate(-10deg) scale(1.08); }
body.fs-blip .blip-start-btn.is-on .blip-start-head { animation: blHop .5s cubic-bezier(.3,1.6,.5,1); }
body.fs-blip .blip-start-btn:active { transform: scale(.92); }
@media (max-width: 768px) {
  body.fs-blip .blip-start-btn { order: -1; flex: 1 1 0; flex-direction: column; gap: 1px; height: 60px; margin: 0 2px; min-width: 0;
    background: var(--fs-blip-btn) center / 100% 100% no-repeat; border-radius: 0; font-size: 12.5px; }
  body.fs-blip .blip-start-btn .blip-start-head { width: 30px; height: 30px; }
  body.fs-blip .blip-start-btn.is-on { background-image: var(--fs-blip-btn-on); }
}
@media (min-width: 769px) {
  body.fs-blip .blip-start-btn { order: -1; height: 40px; padding: 0 16px 0 6px; gap: 4px; margin-right: 10px;
    background: var(--fs-blip-btn) center / 100% 100% no-repeat; }
  body.fs-blip .blip-start-btn.is-on { background-image: var(--fs-blip-btn-on); }
}

/* ---------- the Blip menu ---------- */
.blip-menu { position: fixed; z-index: 10050; left: 8px; bottom: calc(86px + env(safe-area-inset-bottom, 0px)); width: min(300px, calc(100vw - 16px));
  display: flex; min-height: 220px; visibility: hidden; opacity: 0; transform-origin: 30px 100%; transform: translateY(14px) scale(.86);
  transition: opacity .2s, transform .28s cubic-bezier(.3,1.45,.5,1), visibility 0s .28s;
  background: var(--fs-menu-panel) center / 100% 100% no-repeat; padding: 10px 12px 12px 0; box-sizing: border-box; font-family: var(--fs-font); }
.blip-menu.is-down { bottom: auto; transform-origin: 30px 0; transform: translateY(-10px) scale(.9); }
.blip-menu.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .18s, transform .32s cubic-bezier(.3,1.45,.5,1); }
.blip-menu-side { width: 56px; flex: 0 0 56px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 12px 0 2px; }
.blip-menu-side span { writing-mode: vertical-rl; transform: rotate(180deg); color: #fff; font: 900 26px var(--fs-title-font); letter-spacing: .3px; }
.blip-menu-side i { width: 46px; height: 46px; background: var(--fs-mascot-head) center / contain no-repeat; animation: blBob 2.4s ease-in-out infinite; }
.blip-menu-list { flex: 1; min-width: 0; display: flex; flex-direction: column; padding-left: 10px; max-height: min(64vh, 520px); overflow-y: auto; }
.blip-menu-list h4 { margin: 4px 6px 6px; font: 900 21px var(--fs-title-font); color: #0b1f6b; }
.blip-row { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 4px 8px; border: 0; background: none; text-align: left; cursor: pointer;
  color: #0b1f6b; font: 800 16px var(--fs-font); -webkit-tap-highlight-color: transparent; border-radius: 0; transition: transform .15s, background-color .15s;
  opacity: 0; transform: translateX(-8px); }
.blip-menu.is-open .blip-row { animation: blRowIn .3s cubic-bezier(.2,.9,.3,1.2) both; animation-delay: calc(var(--i) * 35ms + 60ms); }
.blip-row span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.blip-row.is-on { background: var(--fs-menu-row-on) center / 100% 100% no-repeat; }
.blip-row:active { transform: scale(.97); }
.blip-sw { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 50%; background: center / cover no-repeat; position: relative; }
.blip-sw::after { content: ""; position: absolute; inset: -3px; background: var(--fs-swatch-ring) center / 100% 100% no-repeat; }
.blip-sw-default { background-image: var(--fs-mascot-head); background-size: 86%; background-color: #e3eeff; }
.blip-sw-bag { background: var(--fs-icon-bag) center / 62% no-repeat; }
.blip-sw-bag::after { display: none; }
.blip-check { width: 26px; height: 26px; flex: 0 0 26px; background: var(--fs-menu-check) center / contain no-repeat; animation: blPop .4s cubic-bezier(.3,1.7,.5,1) .2s both; }
.blip-menu hr { border: 0; height: 6px; margin: 4px 6px; background: var(--fs-divider) center / 100% 2px no-repeat; }

/* switching to a colour skin: the swatch circle grows out of the Blip button */
.blip-wipe { position: fixed; inset: 0; z-index: 2147482000; pointer-events: none; }
.blip-wipe-fill { position: absolute; inset: 0; clip-path: circle(0 at var(--x) var(--y)); transition: clip-path .6s cubic-bezier(.6,0,.3,1); }
.blip-wipe.is-in .blip-wipe-fill { clip-path: circle(150% at var(--x) var(--y)); }
.blip-wipe-mascot { position: absolute; left: 50%; top: 40%; width: 46vmin; height: 46vmin; margin: -23vmin 0 0 -23vmin; background: var(--fs-mascot-jump) center / contain no-repeat;
  opacity: 0; transform: scale(.4) translateY(30px); transition: opacity .25s .25s, transform .5s cubic-bezier(.3,1.7,.5,1) .25s; }
.blip-wipe.is-in .blip-wipe-mascot { opacity: 1; transform: none; animation: blBob .6s ease-in-out .7s infinite; }
.blip-toast { position: absolute; left: 50%; top: calc(40% + 26vmin); transform: translate(-50%, 10px); opacity: 0; transition: opacity .25s .35s, transform .35s .35s;
  padding: 10px 20px; background: #fdfefa; border: 2px solid #00008b; border-radius: 22px; font: 800 17px var(--fs-font, sans-serif); color: #0b1f6b; white-space: nowrap; }
.blip-wipe.is-in .blip-toast { opacity: 1; transform: translate(-50%, 0); }
.blip-wipe.is-out { opacity: 0; transition: opacity .4s; }

/* ---------- motion (owner: "make sure to make animations for the switches and changes") ---------- */
@keyframes blTab { 0% { transform: scale(.82); } 60% { transform: scale(1.06); } 100% { transform: none; } }
@keyframes blHop { 0% { transform: none; } 40% { transform: translateY(-6px) rotate(-8deg); } 100% { transform: none; } }
@keyframes blBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes blPop { 0% { transform: scale(0); } 70% { transform: scale(1.2); } 100% { transform: scale(1); } }
@keyframes blBadge { 0% { transform: scale(0); } 70% { transform: scale(1.25); } 100% { transform: scale(1); } }
@keyframes blRowIn { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
@keyframes blRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes blPage { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
body.fs-blip .page.active { animation: blPage .32s cubic-bezier(.2,.8,.2,1); }
body.fs-blip .page.active :is(.left-sidebar > .card, .center-feed > .card, .featured-skin-banner, .quest-panel, .coin-goal-bar, .feed-post, .group-card) { animation: blRise .42s cubic-bezier(.2,.8,.2,1) both; }
body.fs-blip .page.active .center-feed > :nth-child(3) { animation-delay: .04s; } body.fs-blip .page.active .center-feed > :nth-child(4) { animation-delay: .08s; }
body.fs-blip .page.active .center-feed > :nth-child(5) { animation-delay: .12s; } body.fs-blip .page.active .center-feed > :nth-child(6) { animation-delay: .16s; }
@media (prefers-reduced-motion: reduce) {
  body.fs-blip *, .blip-menu, .blip-menu *, .blip-wipe * { animation: none !important; transition: none !important; }
  .blip-row { opacity: 1; transform: none; }
}

/* ======================================================================================================== HOME (phone) */
@media (max-width: 768px) {
  html body.fs.fs-blip #page-home { padding-left: 10px !important; padding-right: 10px !important; }
  html body.fs.fs-blip #page-home .main-container { padding: 0 !important; gap: 10px !important; }
  /* cover: one rounded photo under the top bar, camera button bottom-right, the mascot peeking at its right */
  html body.fs.fs-blip :is(#timelineCover, #pvCoverBanner) { position: relative; height: 178px !important; aspect-ratio: auto !important; margin: 0 0 0 !important;
    width: auto !important; max-width: none !important; border-radius: 0 !important; background-color: transparent !important; overflow: visible !important; z-index: 1; }
  html body.fs.fs-blip .fs-timeline { position: absolute; inset: 0; z-index: 0; }
  html body.fs.fs-blip .fs-tl-slot-1 { position: absolute; inset: 0 !important; width: auto !important; height: auto !important;
    -webkit-mask: var(--fs-cover-mask) center / 100% 100% no-repeat; mask: var(--fs-cover-mask) center / 100% 100% no-repeat; background: #cfe0fb; }
  html body.fs.fs-blip .fs-tl-slot:not(.fs-tl-slot-1) { display: none !important; }
  html body.fs.fs-blip .fs-tl-slot-1 img { width: 100% !important; height: 100% !important; object-fit: cover; }
  html body.fs.fs-blip .fs-tl-slot::before, html body.fs.fs-blip .fs-tl-slot::after { display: none !important; }
  html body.fs.fs-blip :is(#timelineCover, #pvCoverBanner)::after { content: ""; position: absolute; z-index: 2; pointer-events: none;
    right: 12px; top: 6px; width: 128px; height: 128px; background: var(--fs-mascot-peek) center / contain no-repeat; animation: blBob 3.2s ease-in-out infinite; }
  html body.fs.fs-blip #page-home #timelineCover::after { background-image: var(--fs-mascot-wave); }
  html body.fs.fs-blip :is(#coverEditBtn, #pvCoverEditBtn) { position: absolute !important; right: 10px !important; bottom: 50px !important; top: auto !important; left: auto !important;
    width: 40px !important; height: 40px !important; padding: 0 !important; font-size: 0 !important; z-index: 3 !important; display: flex !important; align-items: center; justify-content: center;
    background: var(--fs-btn-round) center / contain no-repeat !important; border: 0 !important; box-shadow: none !important; color: transparent !important; }
  html body.fs.fs-blip :is(#coverEditBtn, #pvCoverEditBtn) > i { width: 20px !important; height: 20px !important; }

  /* profile card overlaps the cover: avatar left, name / status / bio right, pencil top-right, chips + View Profile, tail */
  html body.fs.fs-blip #profileCard { position: relative; z-index: 2; margin: -44px 0 0 !important; padding: 0 !important; overflow: visible !important;
    border: 0 !important; border-image: none !important; }
  html body.fs.fs-blip #profileCard .profile-cover { display: none !important; }
  html body.fs.fs-blip #profileCard .profile-info { display: grid !important; grid-template-columns: 122px 1fr; grid-template-rows: auto auto; column-gap: 10px; row-gap: 10px;
    padding: 12px 14px 30px 12px !important; text-align: left !important; align-items: start; }
  html body.fs.fs-blip #profileCard .profile-avatar-wrap { grid-column: 1; grid-row: 1; width: 122px !important; height: 122px !important; margin: -34px 0 0 !important;
    border-radius: 50% !important; position: relative; z-index: 3; }
  html body.fs.fs-blip #profileCard .profile-avatar-wrap::after { inset: -2% !important; background: var(--fs-avatar-frame) center / 100% 100% no-repeat !important; display: block !important; content: ""; position: absolute; z-index: 2; pointer-events: none; }
  html body.fs.fs-blip #profileCard #profileAvatarImg { width: 100% !important; height: 100% !important; -webkit-mask: var(--fs-avatar-mask) center / 100% 100% no-repeat !important;
    mask: var(--fs-avatar-mask) center / 100% 100% no-repeat !important; border-radius: 0 !important; object-fit: cover; border: 0 !important; }
  html body.fs.fs-blip #profileCard .avatar-edit-btn { position: absolute !important; right: 4% !important; bottom: 4% !important; left: auto !important; top: auto !important;
    width: 34px !important; height: 34px !important; padding: 0 !important; z-index: 4 !important; border: 0 !important; box-shadow: none !important;
    background: var(--fs-camera-badge) center / contain no-repeat !important; }
  html body.fs.fs-blip #profileCard .avatar-edit-btn > i { opacity: 0 !important; }
  html body.fs.fs-blip #profileCard .fs-namecard { grid-column: 2; grid-row: 1; padding: 2px 40px 0 0 !important; margin: 0 !important; border: 0 !important; border-image: none !important;
    background: none !important; transform: none !important; text-align: left !important; min-width: 0; }
  html body.fs.fs-blip #profileCard .fs-namecard::before { display: none !important; }
  html body.fs.fs-blip #profileCard .profile-name { font-size: 23px !important; line-height: 1.1 !important; margin: 0 0 2px !important; text-align: left !important; overflow-wrap: anywhere; background: none !important; border: 0 !important; padding: 0 !important; }
  html body.fs.fs-blip #profileCard .profile-title { font: 600 15.5px var(--fs-font) !important; color: var(--bl-ink) !important; margin: 0 0 6px !important; text-align: left !important; font-style: normal !important; }
  html body.fs.fs-blip #profileCard .profile-about { font: 600 13.5px/1.3 var(--fs-font) !important; color: var(--bl-ink) !important; margin: 0 !important; text-align: left !important; display: block !important;
    -webkit-line-clamp: 3; overflow: hidden; }
  html body.fs.fs-blip #profileCard .profile-stats { grid-column: 1 / -1; grid-row: 2; display: flex !important; align-items: center; gap: 8px; margin: 0 !important; padding: 0 !important; border: 0 !important; justify-content: flex-start !important; }
  html body.fs.fs-blip #profileCard .stat { display: flex !important; flex-direction: row-reverse !important; align-items: center; gap: 5px; height: 34px; padding: 0 13px !important;
    flex: 0 0 auto !important; }
  html body.fs.fs-blip #profileCard .stat-count { font: 900 15.5px var(--fs-font) !important; color: var(--bl-ink) !important; }
  html body.fs.fs-blip #profileCard .stat-label { font: 700 15px var(--fs-font) !important; color: var(--bl-ink) !important; font-style: normal !important; }
  html body.fs.fs-blip #profileCard .profile-info { position: static !important; }
  html body.fs.fs-blip #profileCard .profile-links { display: contents !important; }
  html body.fs.fs-blip #profileCard .view-profile-link { position: absolute; right: 14px; bottom: 37px; font: 800 15.5px var(--fs-font) !important; color: var(--bl-blue) !important;
    font-style: normal !important; text-decoration: none !important; z-index: 3; }
  html body.fs.fs-blip #profileCard .edit-profile-btn { position: absolute !important; right: 12px; top: 12px; width: 38px; height: 38px; display: flex !important; align-items: center; justify-content: center;
    background: var(--fs-btn-round) center / contain no-repeat !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; z-index: 3; padding: 0 !important; }
  html body.fs.fs-blip #profileCard .edit-profile-btn > i { width: 19px !important; height: 19px !important; background-image: var(--fs-icon-edit) !important; filter: hue-rotate(0deg); }
}
@media (max-width: 768px) {
  html body.fs.fs-blip .nav-center :is(.nav-saved-link, .nav-notif-link) { display: none !important; }
  html body.fs.fs-blip #page-home #timelineCover { margin-top: 8px !important; }
  html body.fs.fs-blip #profileCard .stat { height: 31px; padding: 0 11px !important; }
  html body.fs.fs-blip #profileCard .stat-count { font-size: 14.5px !important; }
  html body.fs.fs-blip #profileCard .stat-label { font-size: 14px !important; }
  html body.fs.fs-blip #profileCard .view-profile-link { font-size: 14.5px !important; bottom: 39px; }
  html body.fs.fs-blip #profileCard .profile-avatar-wrap { width: 112px !important; height: 112px !important; margin: -30px 0 0 4px !important; }
  html body.fs.fs-blip #profileCard .profile-info { grid-template-columns: 116px 1fr; }

  /* Photos: heading left, View All top-right, a 3 x 2 grid of rounded photos */
  html body.fs.fs-blip .photos-card { position: relative; padding: 4px 4px 6px !important; }
  html body.fs.fs-blip .photos-card .card-heading { font-size: 20px !important; margin: 0 0 8px !important; padding: 0 !important; border: 0 !important; }
  html body.fs.fs-blip .photos-card .card-heading > i { display: none !important; }
  html body.fs.fs-blip .photos-card .view-more-link { position: absolute; top: 6px; right: 6px; margin: 0 !important; padding: 0 !important; border: 0 !important;
    font: 800 15px var(--fs-font) !important; color: var(--bl-blue) !important; }
  html body.fs.fs-blip .photos-preview { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 8px !important; }
  html body.fs.fs-blip .photos-preview > :nth-child(n+7) { display: none !important; }
  html body.fs.fs-blip .photos-preview > * { width: auto !important; height: auto !important; aspect-ratio: 1.3; border-radius: 0 !important; overflow: hidden;
    -webkit-mask: var(--fs-photo-mask) center / 100% 100% no-repeat; mask: var(--fs-photo-mask) center / 100% 100% no-repeat; }
  html body.fs.fs-blip .photos-preview img { width: 100% !important; height: 100% !important; object-fit: cover; border-radius: 0 !important; }

  /* pills: two royal-blue pills with the white people icon */
  html body.fs.fs-blip .mobile-pills-bar { display: flex !important; gap: 10px !important; padding: 0 !important; margin: 0 0 10px !important; }
  html body.fs.fs-blip .mobile-pill { flex: 1 1 0; height: 42px; display: flex !important; align-items: center; justify-content: center; gap: 7px; padding: 0 10px !important; font: 800 14.5px var(--fs-font) !important; white-space: nowrap; }
  html body.fs.fs-blip .mobile-pill > i { width: 22px; height: 22px; font-size: 0 !important; color: transparent !important; background: var(--fs-icon-groups-on) center / contain no-repeat; flex: 0 0 22px; }
}
/* measured against the concept phone (home-top crop: 455px screen = 402pt) */
@media (max-width: 768px) {
  html body.fs.fs-blip #page-home { padding-left: 4px !important; padding-right: 4px !important; }
  html body.fs.fs-blip #page-home #timelineCover { height: 146px !important; margin-top: 4px !important; }
  html body.fs.fs-blip #page-home #timelineCover::after { right: 22px; top: 6px; width: 136px; height: 136px; }
  html body.fs.fs-blip #page-home #coverEditBtn { right: 12px !important; bottom: 12px !important; }
  html body.fs.fs-blip #page-home .main-container { padding: 0 8px !important; }
  html body.fs.fs-blip #profileCard { margin-top: -12px !important; }
  html body.fs.fs-blip #profileCard .profile-avatar-wrap { width: 114px !important; height: 114px !important; margin: -24px 0 0 2px !important; }
  html body.fs.fs-blip #profileCard .profile-info { padding: 10px 14px 32px 10px !important; row-gap: 8px; }
  html body.fs.fs-blip #profileCard .view-profile-link { right: 18px; bottom: 41px; font-size: 14.5px !important; }
  html body.fs.fs-blip .photos-card { padding: 2px 0 2px !important; }
  html body.fs.fs-blip .photos-card .card-heading { margin: 0 0 8px 2px !important; }
  html body.fs.fs-blip .photos-card .view-more-link { top: 4px; right: 2px; }
  html body.fs.fs-blip .photos-preview { padding: 0 !important; margin: 0 !important; gap: 7px !important; }
  html body.fs.fs-blip .mobile-pill { font-size: 13.5px !important; gap: 6px; padding: 0 6px !important; }
  html body.fs.fs-blip .nav-center .nav-link, html body.fs.fs-blip .blip-start-btn { margin: 0 1px !important; font-size: 11.5px !important; letter-spacing: -.1px; }
  html body.fs.fs-blip .nav-center { padding-left: 4px !important; padding-right: 4px !important; }
}
@media (max-width: 768px) {
  html body.fs.fs-blip #profileCard .view-profile-link { right: 30px; }
  html body.fs.fs-blip #profileCard .edit-profile-btn { right: 22px; top: 14px; }
  html body.fs.fs-blip #page-home .left-sidebar { gap: 6px !important; display: flex; flex-direction: column; }
  html body.fs.fs-blip #page-home .left-sidebar > .card { margin-bottom: 0 !important; }
}

/* ---------- Home, scrolled (concept home-scrolled) ---------- */
html body.fs.fs-blip .center-feed > :is(.card, .featured-skin-banner, .quest-panel, .coin-goal-bar, .search-tabs, .stories-bar, .mobile-pills-bar) { margin-bottom: 0 !important; margin-top: 0 !important; }
/* stories: gradient ring (unseen) / pale ring (seen), blue + badge on Your Story */
html body.fs.fs-blip .stories-bar { gap: 12px !important; padding: 2px 2px 4px !important; background: none !important; border: 0 !important; }
html body.fs.fs-blip .story-ring { width: 64px !important; height: 64px !important; padding: 5px !important; border: 0 !important; box-sizing: border-box; border-radius: 50% !important;
  background: var(--fs-story-ring) center / 100% 100% no-repeat !important; box-shadow: none !important; }
html body.fs.fs-blip :is(.story-ring.story-viewed, .story-add .story-ring:not(.story-has)) { background-image: var(--fs-avatar-ring) !important; padding: 3px !important; }
html body.fs.fs-blip .story-ring.story-viewed { background-image: var(--fs-story-ring-seen) !important; }
html body.fs.fs-blip .story-ring img { width: 100% !important; height: 100% !important; border-radius: 50% !important; border: 0 !important; object-fit: cover; }
html body.fs.fs-blip .story-name { font: 700 13px var(--fs-font) !important; color: var(--bl-ink) !important; }
html body.fs.fs-blip .story-plus { width: 24px !important; height: 24px !important; border: 0 !important; border-radius: 0 !important; background: var(--fs-story-add) center / contain no-repeat !important; box-shadow: none !important; }
html body.fs.fs-blip .story-plus > i { display: none !important; }
html body.fs.fs-blip .story-item { transition: transform .2s cubic-bezier(.3,1.6,.5,1); }
html body.fs.fs-blip .story-item:active { transform: scale(.92); }
/* post bar */
html body.fs.fs-blip .post-create-bar { display: flex !important; align-items: center; gap: 10px; padding: 0 2px !important; min-height: 46px; }
html body.fs.fs-blip .post-create-bar .post-create-avatar { width: 42px !important; height: 42px !important; flex: 0 0 42px; }
html body.fs.fs-blip .post-input-fake { flex: 1; height: 38px; display: flex !important; align-items: center; padding: 0 16px !important; font: 600 15.5px var(--fs-font) !important; color: var(--bl-ink) !important; }
/* Featured Skin: heading + timer, preview, name, description, Buy pill */
html body.fs.fs-blip .featured-skin-banner { padding: 0 2px !important; }
html body.fs.fs-blip .featured-header { margin: 0 0 6px !important; display: flex !important; justify-content: space-between; align-items: center; }
html body.fs.fs-blip .featured-header h4 { font-size: 19px !important; margin: 0 !important; }
html body.fs.fs-blip :is(.featured-header h4, .quest-panel-header h4, .groups-card .card-heading, .suggestions-card .card-heading) > i { display: none !important; }
html body.fs.fs-blip .featured-timer { display: flex; align-items: center; gap: 5px; font: 700 14.5px var(--fs-font) !important; color: var(--bl-ink) !important; }
html body.fs.fs-blip .featured-timer > i { width: 17px; height: 17px; font-size: 0 !important; background: var(--fs-icon-calendar) center / contain no-repeat; }
html body.fs.fs-blip .featured-body { display: flex !important; align-items: center; gap: 10px; }
html body.fs.fs-blip .featured-preview { width: 96px !important; height: 62px !important; flex: 0 0 96px; border-radius: 0 !important;
  -webkit-mask: var(--fs-skin-card-mask) center / 100% 100% no-repeat; mask: var(--fs-skin-card-mask) center / 100% 100% no-repeat; }
html body.fs.fs-blip .featured-info h5 { font: 800 16.5px var(--fs-title-font) !important; color: var(--bl-ink) !important; margin: 0 0 2px !important; }
html body.fs.fs-blip .featured-info p { font: 600 12.5px/1.3 var(--fs-font) !important; color: var(--bl-ink) !important; margin: 0 !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
html body.fs.fs-blip .featured-body .btn { flex: 0 0 auto; height: 38px; padding: 0 16px !important; font: 800 15px var(--fs-font) !important; display: flex !important; align-items: center; gap: 4px; }
/* Daily Quests: line icon · label + bar · count · yellow reward chip */
html body.fs.fs-blip .quest-panel { padding: 0 2px !important; }
html body.fs.fs-blip .quest-panel-header { margin: 0 0 6px !important; display: flex !important; justify-content: space-between; align-items: center; border: 0 !important; padding: 0 !important; }
html body.fs.fs-blip .quest-panel-header h4 { font-size: 19px !important; margin: 0 !important; }
html body.fs.fs-blip .quest-reset { font: 700 14px var(--fs-font) !important; color: var(--bl-ink) !important; }
html body.fs.fs-blip .quest-item { display: grid !important; grid-template-columns: 34px 1fr auto; align-items: center; column-gap: 10px; padding: 3px 0 !important; border: 0 !important; background: none !important; }
html body.fs.fs-blip .quest-icon { width: 30px !important; height: 30px !important; background: var(--fs-icon-comment) center / contain no-repeat !important; }
html body.fs.fs-blip .quest-icon:has(.fa-heart) { background-image: var(--fs-icon-heart) !important; }
html body.fs.fs-blip .quest-icon:has(.fa-comment) { background-image: var(--fs-icon-comment) !important; }
html body.fs.fs-blip .quest-icon:has(.fa-pen) { background-image: var(--fs-icon-edit) !important; }
html body.fs.fs-blip .quest-icon:has(.fa-thumbs-up) { background-image: var(--fs-icon-like) !important; }
html body.fs.fs-blip .quest-icon:has(.fa-bookmark) { background-image: var(--fs-icon-bookmark) !important; }
html body.fs.fs-blip .quest-icon:has(.fa-eye) { background-image: var(--fs-quest-view) !important; }
html body.fs.fs-blip .quest-icon:has(.fa-paper-plane) { background-image: var(--fs-icon-send) !important; }
html body.fs.fs-blip .quest-icon:has(.fa-share-nodes) { background-image: var(--fs-icon-share) !important; }
html body.fs.fs-blip .quest-info { display: grid !important; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center; min-width: 0; }
html body.fs.fs-blip .quest-info p { grid-column: 1 / -1; font: 800 14px var(--fs-font) !important; color: var(--bl-ink) !important; margin: 0 0 3px !important; }
html body.fs.fs-blip .quest-bar { grid-column: 1; height: 9px !important; margin: 0 !important; }
html body.fs.fs-blip .quest-progress { grid-column: 2; font: 700 13.5px var(--fs-font) !important; color: var(--bl-ink) !important; margin: 0 !important; }
html body.fs.fs-blip .quest-reward { display: flex !important; align-items: center; gap: 4px; height: 32px; padding: 0 12px 0 9px !important; 
  font: 900 15px var(--fs-font) !important; color: var(--bl-ink) !important; }
html body.fs.fs-blip .quest-reward > i { width: 18px; height: 18px; font-size: 0 !important; background: var(--fs-coin) center / contain no-repeat; color: transparent !important; }
/* coin goal: coin stack · "180 / 300 coins" · next skin · bar */
html body.fs.fs-blip .coin-goal-bar { padding: 0 2px 0 52px !important; position: relative; }
html body.fs.fs-blip .coin-goal-bar::before { content: ""; position: absolute; left: 0; top: 50%; width: 42px; height: 38px; margin-top: -19px; background: var(--fs-coin-stack) center / contain no-repeat; }
html body.fs.fs-blip .coin-goal-bar p { display: flex !important; justify-content: space-between; margin: 0 0 4px !important; font: 800 15px var(--fs-font) !important; color: var(--bl-ink) !important; }
html body.fs.fs-blip .coin-goal-bar p strong { color: var(--bl-ink) !important; font-weight: 700 !important; }
html body.fs.fs-blip .coin-goal-track { height: 10px !important; }
/* feed tabs: one outlined strip, the active tab a blue pill inside it */
html body.fs.fs-blip #feedTabs { display: flex !important; gap: 0 !important; padding: 3px !important; background: var(--fs-tabs-track) center / 100% 100% no-repeat !important; border: 0 !important; }
html body.fs.fs-blip #feedTabs .search-tab { flex: 1; height: 36px; background: none !important; display: flex !important; align-items: center; justify-content: center; font-size: 15px !important; }

html body.fs.fs-blip #feedTabs .search-tab > i { display: none !important; }
/* spacing measured from the concept (home-scrolled): 10pt between cards, card padding ~10pt */
@media (max-width: 768px) {
  html body.fs.fs-blip #page-home :is(.center-feed, .main-container, .left-sidebar) { gap: 10px !important; row-gap: 10px !important; }
  html body.fs.fs-blip .center-feed > * { margin-bottom: 0 !important; }
  html body.fs.fs-blip #page-home :is(.post-create-bar, .featured-skin-banner, .quest-panel, .coin-goal-bar, .photos-card) { border-width: 10px !important; border-image-width: 14px !important; }
  html body.fs.fs-blip .post-create-bar { min-height: 0; }
  html body.fs.fs-blip .post-create-bar .post-create-avatar { width: 38px !important; height: 38px !important; flex-basis: 38px; }
  html body.fs.fs-blip .post-input-fake { height: 34px; font-size: 15px !important; }
  html body.fs.fs-blip .featured-header { margin-bottom: 4px !important; }
  html body.fs.fs-blip .featured-preview { width: 92px !important; height: 58px !important; flex-basis: 92px; }
  html body.fs.fs-blip .quest-panel-header { margin-bottom: 2px !important; }
  html body.fs.fs-blip .quest-item { padding: 1px 0 !important; min-height: 40px; }
  html body.fs.fs-blip .quest-info p { margin-bottom: 1px !important; font-size: 13.5px !important; }
  html body.fs.fs-blip .quest-reward { height: 28px; font-size: 14px !important; }
  html body.fs.fs-blip .stories-bar { padding: 0 2px !important; }
  html body.fs.fs-blip .story-item { gap: 3px !important; }
}
/* the skip-link anchor is an empty flex item: keep it out of the gap rhythm */
html body.fs.fs-blip #main-content { position: absolute !important; }
@media (max-width: 768px) {
  html body.fs.fs-blip .featured-info { min-width: 0; padding-bottom: 2px; }
  html body.fs.fs-blip .featured-info p { font-size: 12px !important; line-height: 1.25 !important; }
}
/* ---------- posts (concept): avatar, name with the time under it, ⋯, text, one rounded photo, icon + count row ---------- */
html body.fs.fs-blip .feed-post { border-width: 10px !important; border-image-width: 14px !important; padding: 0 2px !important; }
html body.fs.fs-blip .post-header { display: flex !important; align-items: center !important; gap: 9px; margin: 0 0 4px !important; }
html body.fs.fs-blip .post-header .post-avatar { width: 40px !important; height: 40px !important; flex: 0 0 40px; }
html body.fs.fs-blip .post-user-top { display: flex !important; flex-direction: column !important; align-items: flex-start !important; gap: 0 !important; }
html body.fs.fs-blip .post-username { font-size: 16px !important; line-height: 1.15 !important; margin: 0 !important; }
html body.fs.fs-blip .post-time { font: 600 13px var(--fs-font) !important; color: var(--bl-soft) !important; }
html body.fs.fs-blip .post-menu-btn { margin-left: auto !important; background: none !important; border: 0 !important; padding: 4px !important; }
html body.fs.fs-blip .post-description, html body.fs.fs-blip .post-description p { font: 600 15px/1.35 var(--fs-font) !important; color: var(--bl-ink) !important; margin: 0 0 6px !important; }
html body.fs.fs-blip .post-media-grid { border-radius: 0 !important; overflow: hidden; background: none !important; margin: 0 0 4px !important;
  -webkit-mask: var(--fs-photo-mask) center / 100% 100% no-repeat; mask: var(--fs-photo-mask) center / 100% 100% no-repeat; }
html body.fs.fs-blip .post-media-grid :is(img, video) { border-radius: 0 !important; }
html body.fs.fs-blip .post-actions { border: 0 !important; padding: 2px 0 0 !important; margin: 0 !important; }
html body.fs.fs-blip .post-actions :is(.action-left, .action-right) { display: contents !important; }
html body.fs.fs-blip .post-actions { display: flex !important; justify-content: space-between !important; align-items: center; }
html body.fs.fs-blip .action-btn { display: flex !important; align-items: center; gap: 5px; padding: 4px 6px !important; background: none !important; border: 0 !important;
  font: 700 15px var(--fs-font) !important; color: var(--bl-ink) !important; }
html body.fs.fs-blip .action-btn > i { width: 24px !important; height: 24px !important; }
html body.fs.fs-blip .action-btn > span:empty, html body.fs.fs-blip .action-btn > span:not([class*="count"]) { display: none !important; }
/* concept details: clock before the timer, square pencil button, quest icons as painted (react = bubble) */
html body.fs.fs-blip .featured-timer > i { background-image: var(--fs-icon-clock) !important; }
html body.fs.fs-blip #profileCard .edit-profile-btn { background-image: var(--fs-btn-square) !important; width: 36px; height: 36px; }
html body.fs.fs-blip .quest-icon:has(.fa-thumbs-up) { background-image: var(--fs-icon-comment) !important; }
/* post photo: the concept's wide rounded banner (tap opens the full photo, as before) */
html body.fs.fs-blip .post-media-grid.pm-count-1 { aspect-ratio: 5 / 1 !important; height: auto !important; max-height: none !important; display: block !important; }
html body.fs.fs-blip .post-media-grid.pm-count-1 .pm-thumb { width: 100% !important; height: 100% !important; max-height: none !important; }
html body.fs.fs-blip .post-media-grid.pm-count-1 .pm-thumb :is(img, video) { width: 100% !important; height: 100% !important; max-height: none !important; object-fit: cover !important; }
html body.fs.fs-blip .post-media-grid:not(.pm-count-1) { aspect-ratio: 3 / 1 !important; height: auto !important; max-height: none !important; }
html body.fs.fs-blip .post-media-grid:not(.pm-count-1) .pm-thumb :is(img, video) { object-fit: cover !important; }

/* ======================================================================================================== GROUP PAGE (phone) */
@media (max-width: 768px) {
  html body.fs.fs-blip:has(#page-group-view.active) .nav-center .nav-link[data-page="groups"] { background: var(--fs-nav-active) center / 100% 100% no-repeat !important; color: #fff !important; }
  html body.fs.fs-blip:has(#page-group-view.active) .nav-center .nav-link[data-page="groups"] > i { background-image: var(--fs-icon-groups-on) !important; }
  html body.fs.fs-blip:has(#page-group-view.active) .nav-center .nav-link.active:not([data-page="groups"]) { background: none !important; color: var(--bl-ink) !important; }
  html body.fs.fs-blip #page-group-view { padding-left: 4px !important; padding-right: 4px !important; }
  html body.fs.fs-blip #gvCoverBanner { position: relative; height: 146px !important; margin: 4px 0 0 !important; border-radius: 0 !important; overflow: visible !important; background-color: #cfe0fb;
    -webkit-mask: none; }
  html body.fs.fs-blip #gvCoverBanner::before { content: ""; position: absolute; inset: 0; background: inherit; -webkit-mask: var(--fs-cover-mask) center / 100% 100% no-repeat; mask: var(--fs-cover-mask) center / 100% 100% no-repeat; }
  html body.fs.fs-blip #gvCoverBanner { background-clip: content-box; }
  html body.fs.fs-blip #gvCoverBanner::after { content: ""; position: absolute; z-index: 2; pointer-events: none; right: 22px; top: 14px; width: 132px; height: 132px;
    background: var(--fs-mascot-wave) center / contain no-repeat; animation: blBob 3.2s ease-in-out infinite; }
  html body.fs.fs-blip #gvCoverEditBtn { position: absolute !important; right: 12px !important; bottom: 12px !important; top: auto !important; width: 40px !important; height: 40px !important; padding: 0 !important;
    font-size: 0 !important; z-index: 3 !important; background: var(--fs-btn-round) center / contain no-repeat !important; border: 0 !important; box-shadow: none !important; justify-content: center; align-items: center; }
  html body.fs.fs-blip #page-group-view .gv-layout { padding: 0 8px !important; gap: 10px !important; }
  html body.fs.fs-blip #page-group-view .gv-center { display: flex !important; flex-direction: column; gap: 10px !important; }
  html body.fs.fs-blip #page-group-view .gv-center > * { margin: 0 !important; }
  html body.fs.fs-blip #gvProfileCard { position: relative; z-index: 2; margin: -12px 0 30px !important; padding: 0 !important; overflow: visible !important;
    border: 0 !important; border-image: none !important; }
  html body.fs.fs-blip #gvProfileCard .profile-cover { display: none !important; }
  html body.fs.fs-blip #gvProfileCard .profile-info { display: grid !important; grid-template-columns: 116px 1fr; column-gap: 10px; row-gap: 0; align-items: start;
    padding: 10px 14px 32px 10px !important; text-align: left !important; position: static !important; }
  html body.fs.fs-blip #gvProfileCard .profile-avatar-wrap { grid-column: 1; grid-row: 1 / span 2; width: 114px !important; height: 114px !important; margin: -24px 0 0 2px !important; border-radius: 50% !important; position: relative; z-index: 3; }
  html body.fs.fs-blip #gvProfileCard .profile-avatar-wrap::after { content: ""; display: block !important; position: absolute; inset: -2%; z-index: 2; pointer-events: none; background: var(--fs-group-avatar-frame) center / 100% 100% no-repeat !important; }
  html body.fs.fs-blip #gvProfileCard :is(.profile-avatar, .gv-icon-wrap) { width: 100% !important; height: 100% !important; border-radius: 0 !important; border: 0 !important;
    -webkit-mask: var(--fs-avatar-mask) center / 100% 100% no-repeat !important; mask: var(--fs-avatar-mask) center / 100% 100% no-repeat !important; object-fit: cover; }
  html body.fs.fs-blip #gvProfileCard .gv-icon-wrap { display: flex !important; align-items: center; justify-content: center; font-size: 44px; color: #fff; }
  html body.fs.fs-blip #gvProfileCard .avatar-edit-btn { position: absolute !important; right: 4% !important; bottom: 4% !important; width: 34px !important; height: 34px !important; z-index: 4 !important;
    background: var(--fs-camera-badge) center / contain no-repeat !important; border: 0 !important; box-shadow: none !important; }
  html body.fs.fs-blip #gvProfileCard .avatar-edit-btn > i { opacity: 0 !important; }
  html body.fs.fs-blip #gvProfileCard .profile-name { grid-column: 2; grid-row: 1; font-size: 25px !important; line-height: 1.1 !important; margin: 4px 0 2px !important; text-align: left !important; overflow-wrap: anywhere; }
  html body.fs.fs-blip #gvProfileCard .profile-title { grid-column: 2; grid-row: 2; font: 600 15px/1.3 var(--fs-font) !important; color: var(--bl-ink) !important; margin: 0 !important; text-align: left !important; font-style: normal !important; }
  html body.fs.fs-blip #gvProfileCard .profile-stats { grid-column: 1 / -1; grid-row: 3; display: grid !important; grid-template-columns: repeat(3, 1fr); margin: 12px 0 0 !important; padding: 0 !important; border: 0 !important; }
  html body.fs.fs-blip #gvProfileCard .stat { display: flex !important; flex-direction: column; align-items: center; padding: 0 !important; background: none !important; position: relative; }
  html body.fs.fs-blip #gvProfileCard .stat + .stat::before { content: ""; position: absolute; left: 0; top: 10%; bottom: 10%; width: 6px; background: var(--fs-divider) center / 2px 100% no-repeat; transform: rotate(0); }
  html body.fs.fs-blip #gvProfileCard .stat-count { font: 900 19px var(--fs-font) !important; color: var(--bl-ink) !important; display: flex; align-items: center; gap: 5px; }
  html body.fs.fs-blip #gvProfileCard .stat-label { font: 600 14.5px var(--fs-font) !important; color: var(--bl-ink) !important; font-style: normal !important; }
  html body.fs.fs-blip #gvProfileCard .stat-label > i, html body.fs.fs-blip #gvProfileCard .stat-count > i { width: 18px; height: 18px; font-size: 0 !important; background: var(--fs-coin) center / contain no-repeat; color: transparent !important; display: inline-block; }
  html body.fs.fs-blip #gvProfileCard .pv-actions { grid-column: 1 / -1; grid-row: 4; display: grid !important; grid-template-columns: 1fr 1fr; gap: 12px; margin: 12px 0 0 !important; }
  html body.fs.fs-blip #gvProfileCard .pv-actions .btn { height: 42px; padding: 0 8px !important; display: flex !important; align-items: center; justify-content: center; gap: 6px; font: 800 15.5px var(--fs-font) !important; width: auto !important; margin: 0 !important; }
  html body.fs.fs-blip #gvLeaveBtn { color: #d93025 !important; }
  html body.fs.fs-blip #gvLeaveBtn > i { width: 20px; height: 20px; font-size: 0 !important; background: var(--fs-icon-exit) center / contain no-repeat; color: transparent !important; }
  html body.fs.fs-blip #gvEditBtn { grid-column: 1 / -1; }
  html body.fs.fs-blip #gvProfileCard .pv-back-link { position: absolute; left: 4px; bottom: -30px; display: flex !important; align-items: center; gap: 6px;
    font: 800 15px var(--fs-font) !important; color: var(--bl-ink) !important; text-decoration: none !important; }
  html body.fs.fs-blip #gvProfileCard .pv-back-link > i { width: 16px; height: 16px; font-size: 0 !important; background: var(--fs-icon-back) center / contain no-repeat; color: transparent !important; }
  /* Group Rules / Invite Link: full-width blue pills with white icons; Members card */
  html body.fs.fs-blip #gvMobileRight { display: flex !important; flex-direction: column; gap: 8px; }
  html body.fs.fs-blip #gvMobileRight :is(.gv-rules-btn, .gv-invite-link-btn) { height: 46px; margin: 0 !important; background: var(--fs-btn-primary) center / 100% 100% no-repeat !important;
    color: #fff !important; font: 800 17px var(--fs-font) !important; border: 0 !important; }
  html body.fs.fs-blip #gvMobileRight :is(.gv-rules-btn, .gv-invite-link-btn) > i { width: 24px; height: 24px; font-size: 0 !important; color: transparent !important; filter: brightness(0) invert(1); }
  html body.fs.fs-blip #gvMobileRight .gv-rules-btn > i { background: var(--fs-icon-scroll) center / contain no-repeat; }
  html body.fs.fs-blip #gvMobileRight .gv-invite-link-btn > i { background: var(--fs-icon-link) center / contain no-repeat; }
  html body.fs.fs-blip #gvMobileRight .card { border-width: 10px !important; border-image-width: 14px !important; padding: 0 2px !important; margin: 0 !important; }
  html body.fs.fs-blip #gvMobileRight .card-heading { font-size: 19px !important; margin: 0 0 8px !important; }
  html body.fs.fs-blip #gvMobileRight .card-heading > i { display: none !important; }
}

/* ===== HOME (phone) — EXACT positions measured by overlaying the concept (ref/ov-home-a.png, 402pt wide) ===== */
@media (max-width: 768px) {
  html body.fs.fs-blip .navbar { height: calc(60px + env(safe-area-inset-top, 0px)) !important; }
  html body.fs.fs-blip #page-home.page.active { padding: calc(62px + env(safe-area-inset-top, 0px)) 0 0 !important; }
  html body.fs.fs-blip #page-home #timelineCover { height: 146px !important; margin: 0 !important; }
  html body.fs.fs-blip #page-home .main-container { padding: 0 8.5px !important; }
  html body.fs.fs-blip #profileCard { margin: -9px 0 0 !important; min-height: 140px; }
  html body.fs.fs-blip #profileCard .profile-info { grid-template-columns: 114px 1fr !important; column-gap: 3px !important; padding: 6px 12px 14px 10px !important; row-gap: 0 !important; }
  html body.fs.fs-blip #profileCard .profile-avatar-wrap { width: 114px !important; height: 114px !important; margin: -27px 0 0 -6px !important; }
  html body.fs.fs-blip #profileCard .fs-namecard { padding: 0 40px 0 0 !important; }
  html body.fs.fs-blip #profileCard .profile-name { font-size: 25px !important; line-height: 30px !important; margin: 0 !important; }
  html body.fs.fs-blip #profileCard .profile-title { font-size: 15px !important; line-height: 20px !important; margin: 1px 0 3px !important; }
  html body.fs.fs-blip #profileCard .profile-about { font-size: 13.5px !important; line-height: 16px !important; }
  html body.fs.fs-blip #profileCard .profile-stats { position: absolute; left: 30px; top: 87px; gap: 15px !important; }
  html body.fs.fs-blip #profileCard .stat { height: 26px !important; padding: 0 12px !important; }
  html body.fs.fs-blip #profileCard .stat-count, html body.fs.fs-blip #profileCard .stat-label { font-size: 14px !important; }
  html body.fs.fs-blip #profileCard .view-profile-link { right: 13px !important; bottom: auto !important; top: 89px; font-size: 15px !important; }
  html body.fs.fs-blip #profileCard .edit-profile-btn { right: 12px !important; top: 8px !important; width: 32px !important; height: 32px !important; }
  html body.fs.fs-blip #page-home .left-sidebar { gap: 0 !important; }
  html body.fs.fs-blip #page-home .photos-card { margin-top: 0 !important; height: 186px; box-sizing: border-box; border-width: 10px 15px 9px !important; border-image-width: 14px !important; padding: 0 !important; }
  html body.fs.fs-blip #page-home .photos-card .card-heading { font-size: 21px !important; line-height: 22px !important; margin: 0 0 4px 2px !important; }
  html body.fs.fs-blip #page-home .photos-card .view-more-link { top: 10px !important; right: 15px !important; font-size: 16px !important; }
  html body.fs.fs-blip #page-home .photos-preview { gap: 7px 8px !important; }
  html body.fs.fs-blip #page-home .photos-preview > * { aspect-ratio: auto !important; height: 68px !important; }
  html body.fs.fs-blip #page-home :is(.main-container, .center-feed) { gap: 11px !important; row-gap: 11px !important; }
  html body.fs.fs-blip #page-home .main-container { row-gap: 11px !important; }
  html body.fs.fs-blip .mobile-pill { height: 38px !important; font-size: 14.5px !important; }
  html body.fs.fs-blip .mobile-pills-bar { gap: 8px !important; }
  html body.fs.fs-blip .stories-bar { gap: 13px !important; padding: 0 !important; }
  html body.fs.fs-blip .story-ring { width: 64px !important; height: 64px !important; }
}
@media (max-width: 768px) { html body.fs.fs-blip #profileCard .profile-stats { left: 21px !important; } }
@media (max-width: 768px) {
  html body.fs.fs-blip #profileCard { min-height: 155px !important; }
  html body.fs.fs-blip #profileCard .profile-stats { top: 100px !important; }
  html body.fs.fs-blip #profileCard .view-profile-link { top: 102px !important; }
}
@media (max-width: 768px) {
  html body.fs.fs-blip #page-home .photos-card .view-more-link { top: 0 !important; }
  html body.fs.fs-blip #profileCard .profile-name { line-height: 24px !important; margin-top: 3px !important; }
}
/* scrolled half, from the overlay (ref/ov-home-b.png): 8pt between cards, headings tight to the card top */
@media (max-width: 768px) {
  html body.fs.fs-blip #page-home .center-feed { gap: 8px !important; row-gap: 8px !important; }
  html body.fs.fs-blip #page-home .mobile-pills-bar { margin-bottom: 4px !important; }
  html body.fs.fs-blip #page-home .stories-bar { margin-bottom: 3px !important; }
  html body.fs.fs-blip :is(.featured-header h4, .quest-panel-header h4) { line-height: 22px !important; }
  html body.fs.fs-blip .featured-header, html body.fs.fs-blip .quest-panel-header { margin: -3px 0 2px !important; }
  html body.fs.fs-blip .quest-item { min-height: 38px !important; }
  html body.fs.fs-blip .feed-post .post-header { margin-bottom: 2px !important; }
}
@media (max-width: 768px) {
  html body.fs.fs-blip .quest-item { min-height: 34px !important; }
  html body.fs.fs-blip .quest-panel-header { margin-bottom: 0 !important; }
  html body.fs.fs-blip #page-home .coin-goal-bar { border-width: 8px 10px !important; }
  html body.fs.fs-blip .coin-goal-bar p { margin: 0 0 3px !important; line-height: 18px; }
  html body.fs.fs-blip .coin-goal-track { height: 9px !important; }
}
@media (max-width: 768px) {
  html body.fs.fs-blip .quest-item { height: 38px !important; min-height: 0 !important; padding: 0 !important; }
  html body.fs.fs-blip .quest-info p { line-height: 17px !important; margin: 0 0 2px !important; }
  html body.fs.fs-blip .quest-progress { line-height: 14px !important; }
}
@media (max-width: 768px) {
  html body.fs.fs-blip #feedTabs { height: 34px; padding: 2px !important; box-sizing: border-box; }
  html body.fs.fs-blip #feedTabs .search-tab { height: 30px !important; font-size: 14.5px !important; }
  html body.fs.fs-blip .post-description, html body.fs.fs-blip .post-description p { margin-bottom: 4px !important; line-height: 1.25 !important; }
}
/* rounded photo windows keep the same corner at any size: 9-slice the mask (the art's corner is 30px of 300) */
html body.fs.fs-blip :is(.post-media-grid, .photos-preview > *, .featured-preview) { -webkit-mask: none !important; mask: none !important;
  -webkit-mask-box-image: var(--fs-photo-mask) 30 / 10px stretch; mask-border: var(--fs-photo-mask) 30 / 10px stretch; }
html body.fs.fs-blip .fs-tl-slot-1 { -webkit-mask: none !important; mask: none !important; -webkit-mask-box-image: var(--fs-cover-mask) 40 / 14px stretch; mask-border: var(--fs-cover-mask) 40 / 14px stretch; }
html body.fs.fs-blip #feedTabs { -webkit-mask: none !important; mask: none !important; overflow: visible !important; }
@media (max-width: 768px) {
  html body.fs.fs-blip #page-home .photos-card { height: auto !important; }
  html body.fs.fs-blip #page-home .photos-preview > * { height: 66px !important; }
  html body.fs.fs-blip #profileCard .view-profile-link { right: 22px !important; font-size: 14.5px !important; }
  html body.fs.fs-blip .mobile-pill { font-size: 13.5px !important; gap: 5px !important; padding: 0 4px !important; letter-spacing: -.2px; }
  html body.fs.fs-blip .mobile-pill > i { width: 20px !important; height: 20px !important; flex-basis: 20px !important; }
}
/* lettering weights read off the concept: body text ~500, names / numbers / links bold */
html body.fs.fs-blip #profileCard :is(.profile-title, .profile-about) { font-weight: 500 !important; }
html body.fs.fs-blip #profileCard .stat-label, html body.fs.fs-blip #gvProfileCard .stat-label { font-weight: 500 !important; }
html body.fs.fs-blip :is(.post-description, .post-description p, .featured-info p, .post-input-fake, .group-card-body p) { font-weight: 500 !important; }
html body.fs.fs-blip :is(.quest-info p) { font-weight: 700 !important; }
html body.fs.fs-blip :is(.quest-progress, .quest-reset, .featured-timer, .post-time, .story-name) { font-weight: 600 !important; }
@media (max-width: 768px) { html body.fs.fs-blip #page-home .photos-card { border-bottom-width: 15px !important; } }

/* ===== the painted art is never squashed: cards + pills are 9-sliced (corners/outline keep their painted size) ===== */
/* profile / group card = the 9-slice card + the painted tail piece at its bottom-right (concept) */
html body.fs.fs-blip :is(#profileCard, #gvProfileCard) { background: none !important; }
html body.fs.fs-blip:is(*) :is(#profileCard, #gvProfileCard)::before { content: "" !important; display: block !important; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  border: 14px solid transparent; border-image: var(--fs-panel-card) 12% fill / 14px stretch; background: none !important; opacity: 1 !important; }
html body.fs.fs-blip:is(*) :is(#profileCard, #gvProfileCard)::after { content: "" !important; display: block !important; position: absolute; right: 24px; bottom: -3px; width: 32px; height: 18px;
  z-index: 0; pointer-events: none; background: var(--fs-card-tailtip) center bottom / 100% 100% no-repeat !important; border: 0 !important; }
html body.fs.fs-blip :is(#profileCard, #gvProfileCard) { isolation: isolate; }

/* pills / chips / buttons: left + right ends kept round (the art's ends are half its height), only the middle stretches */
html body.fs.fs-blip :is(.btn-primary, .featured-buy-btn, .mobile-pill, .fsk-buy, .btn-outline, .view-group-btn, .btn-disabled, .btn,
  .search-tab, .stat, .nav-coins, .post-input-fake, .page-search, .quest-reward, .blip-start-btn) {
  background-image: none !important; border-style: solid !important; border-color: transparent !important; border-width: 0 !important;
  border-image-slice: 0 80 fill !important; border-image-width: 0 1.2em !important; border-image-repeat: stretch !important; border-image-outset: 0 !important; }
html body.fs.fs-blip :is(.btn-primary, .featured-buy-btn, .mobile-pill, .fsk-buy) { border-image-source: var(--fs-btn-primary) !important; }
html body.fs.fs-blip :is(.btn-outline, .view-group-btn) { border-image-source: var(--fs-btn-secondary) !important; }
html body.fs.fs-blip .btn-disabled { border-image-source: var(--fs-btn-disabled) !important; }
html body.fs.fs-blip #gvLeaveBtn { border-image-source: var(--fs-btn-danger) !important; }
html body.fs.fs-blip .search-tab, html body.fs.fs-blip #profileCard .stat { border-image-source: var(--fs-chip) !important; }
html body.fs.fs-blip .search-tab.active { border-image-source: var(--fs-chip-active) !important; }
html body.fs.fs-blip #feedTabs .search-tab:not(.active) { border-image-source: none !important; }
html body.fs.fs-blip .navbar .nav-coins { border-image-source: var(--fs-coin-pill) !important; border-image-slice: 0 70 fill !important; }
html body.fs.fs-blip :is(.post-input-fake, .page-search) { border-image-source: var(--fs-field) !important; border-image-slice: 0 70 fill !important; }
html body.fs.fs-blip .quest-reward { border-image-source: var(--fs-reward-chip) !important; border-image-slice: 0 70 fill !important; }
@media (max-width: 768px) { html body.fs.fs-blip .blip-start-btn { border-image-source: var(--fs-nav-active) !important; border-image-slice: 60 fill !important; border-image-width: 14px !important; } }
@media (min-width: 769px) { html body.fs.fs-blip .blip-start-btn { border-image-source: var(--fs-blip-btn) !important; border-image-slice: 0 85 fill !important; border-image-width: 0 20px !important; } }
html body.fs.fs-blip .blip-start-btn.is-on { border-image-source: var(--fs-blip-btn-on) !important; }
/* feed tab strip + bars: same idea */
html body.fs.fs-blip #feedTabs { background: none !important; border: 0 solid transparent !important; border-image: var(--fs-tabs-track) 0 70 fill / 0 17px stretch !important; }
html body.fs.fs-blip :is(.quest-bar, .coin-goal-track) { background: none !important; border: 0 solid transparent !important; border-image: var(--fs-bar-track) 0 30 fill / 0 5px stretch !important; }
@media (max-width: 768px) {
  html body.fs.fs-blip .nav-center .nav-link.active { background: none !important; border: 0 solid transparent !important; border-image: var(--fs-nav-active) 60 fill / 14px stretch !important; }
  html body.fs.fs-blip:has(#page-group-view.active) .nav-center .nav-link[data-page="groups"] { background: none !important; border-image: var(--fs-nav-active) 60 fill / 14px stretch !important; }
}
/* end width = half the pill's height, so the round ends stay round */
html body.fs.fs-blip #profileCard .stat { border-image-width: 0 13px !important; }
html body.fs.fs-blip .mobile-pill, html body.fs.fs-blip .featured-body .btn { border-image-width: 0 19px !important; }
html body.fs.fs-blip #gvProfileCard .pv-actions .btn { border-image-width: 0 21px !important; }
html body.fs.fs-blip #gvMobileRight :is(.gv-rules-btn, .gv-invite-link-btn) { background: none !important; border: 0 solid transparent !important; border-image: var(--fs-btn-primary) 0 80 fill / 0 23px stretch !important; }
html body.fs.fs-blip .search-tab { border-image-width: 0 18px !important; }
html body.fs.fs-blip #feedTabs .search-tab { border-image-width: 0 15px !important; }
html body.fs.fs-blip .navbar .nav-coins { border-image-width: 0 18px !important; }
html body.fs.fs-blip :is(.post-input-fake, .page-search) { border-image-width: 0 17px !important; }
html body.fs.fs-blip .quest-reward { border-image-width: 0 14px !important; }
/* the group card's stats are plain text (no chip) */
html body.fs.fs-blip #gvProfileCard .stat { border-image-source: none !important; }
html body.fs.fs-blip :is(.nav-coins, .post-input-fake, .page-search, .mobile-pill, .btn, .search-tab, .stat, .quest-reward) { background-color: transparent !important; box-shadow: none !important; }
@media (max-width: 768px) {
  html body.fs.fs-blip .nav-center .nav-link.active, html body.fs.fs-blip:has(#page-group-view.active) .nav-center .nav-link[data-page="groups"] { border-image-width: 20px !important; }
  html body.fs.fs-blip .blip-start-btn { border-image-width: 20px !important; }
}
/* no frosted blur anywhere in the concept: the app's blur would smear the painted pieces */
html body.fs.fs-blip :is(.search-tab, .search-tabs, .btn, .card, .feed-post, .mobile-pill, .nav-center, .navbar, .stat, .nav-coins, .quest-panel, .featured-skin-banner, .coin-goal-bar, .group-card, .stories-bar) { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
/* side-by-side pass 1: the painted pills carry shadow padding, so their boxes are taller than the visible pill */
@media (max-width: 768px) {
  html body.fs.fs-blip .mobile-pill { height: 46px !important; border-image-width: 0 23px !important; font-size: 14.5px !important; }
  html body.fs.fs-blip #profileCard .stat { height: 30px !important; border-image-width: 0 15px !important; }
  html body.fs.fs-blip #profileCard .profile-stats { top: 98px !important; }
  html body.fs.fs-blip .featured-body .btn { height: 44px !important; border-image-width: 0 22px !important; }
  html body.fs.fs-blip .navbar .nav-logo { font-size: 23px !important; }
  html body.fs.fs-blip .navbar .nav-logo::before { width: 40px; height: 40px; flex-basis: 40px; }
  html body.fs.fs-blip .navbar :is(.mobile-search-btn, .mobile-notif-btn) > i { width: 29px !important; height: 29px !important; }
  html body.fs.fs-blip .nav-center { min-height: 78px; }
  html body.fs.fs-blip .nav-center .nav-link, html body.fs.fs-blip .blip-start-btn { height: 62px !important; font-size: 13px !important; }
  html body.fs.fs-blip .nav-center .nav-link > i { width: 31px !important; height: 31px !important; }
  html body.fs.fs-blip .blip-start-btn .blip-start-head { width: 34px !important; height: 34px !important; }
  html body.fs.fs-blip :is(.quest-bar, .coin-goal-track) { height: 11px !important; border-image-width: 0 6px !important; }
  html body.fs.fs-blip :is(.quest-bar-fill, .coin-goal-fill) { height: 100% !important; }
}
@media (max-width: 768px) {
  html body.fs.fs-blip .nav-center .nav-link, html body.fs.fs-blip .blip-start-btn { font-size: 12.5px !important; letter-spacing: -.25px !important; }
  html body.fs.fs-blip :is(.quest-bar, .coin-goal-track) { height: 13px !important; }
}
/* outline weight = the concept's ~2px navy line and ~16px corners: the card art's 6px outline sits in a 92px slice,
   so the slice is drawn 31px wide (6 x 31/92 ≈ 2px line, 48 x 31/92 ≈ 16px radius) */
html body.fs.fs-blip :is(.card, .feed-post, .quest-panel, .coin-goal-bar, .featured-skin-banner, .group-card, .comment-item, .msg-contact, .notif-item, .user-dropdown, .post-dropdown, .modal-content),
html body.fs.fs-blip #page-home :is(.post-create-bar, .featured-skin-banner, .quest-panel, .coin-goal-bar, .photos-card),
html body.fs.fs-blip #gvMobileRight .card, html body.fs.fs-blip .feed-post { border-image-width: 31px !important; }
html body.fs.fs-blip:is(*) :is(#profileCard, #gvProfileCard)::before { border-image-width: 31px !important; border-width: 31px !important; }
html body.fs.fs-blip:is(*) :is(#profileCard, #gvProfileCard)::after { width: 44px !important; height: 25px !important; right: 30px !important; bottom: -6px !important; }

/* ===== cards, final: the card art cut tight to its outline (panel-card-tight 721x712: outline on the edge, soft shadow
   below). 1/3 scale gives the concept's 2px navy line and 16px corners; the shadow hangs outside the box (outset). ===== */
html body.fs.fs-blip :is(.card, .feed-post, .quest-panel, .coin-goal-bar, .featured-skin-banner, .group-card, .comment-item, .msg-contact, .notif-item, .user-dropdown, .post-dropdown, .modal-content),
html body.fs.fs-blip #page-home :is(.post-create-bar, .featured-skin-banner, .quest-panel, .coin-goal-bar, .photos-card),
html body.fs.fs-blip #gvMobileRight .card, html body.fs.fs-blip .feed-post {
  border-image-source: var(--fs-panel-card-tight) !important; border-image-slice: 60 60 98 60 fill !important;
  border-image-width: 17px 17px 28px 17px !important; border-image-outset: 0 0 11px 0 !important; border-image-repeat: stretch !important; }
html body.fs.fs-blip :is(.msg-contact.active, .notif-item.unread) { border-image-source: var(--fs-panel-card-active-tight) !important; }
html body.fs.fs-blip:is(*) :is(#profileCard, #gvProfileCard)::before { border-width: 0 !important;
  border-image: var(--fs-panel-card-tight) 60 60 98 60 fill / 17px 17px 28px 17px / 0 0 11px 0 stretch !important; }
html body.fs.fs-blip:is(*) :is(#profileCard, #gvProfileCard)::after { width: 43px !important; height: 24px !important; right: 26px !important; bottom: -19px !important; z-index: 1 !important; }
@media (max-width: 768px) {
  html body.fs.fs-blip #profileCard { min-height: 143px !important; }
  html body.fs.fs-blip #page-home .left-sidebar { gap: 14px !important; }
}

/* ===== GROUP PAGE (phone) — measured on the overlay (ref/ov-group-a.png) ===== */
@media (max-width: 768px) {
  html body.fs.fs-blip #page-group-view.page.active { padding: calc(62px + env(safe-area-inset-top, 0px)) 0 0 !important; }
  html body.fs.fs-blip #gvCoverBanner { height: 150px !important; margin: 0 !important; width: auto !important; }
  html body.fs.fs-blip #page-group-view .gv-layout { margin-top: 0 !important; padding: 0 9px !important; }
  html body.fs.fs-blip #gvProfileCard { margin: -8px 0 44px !important; min-height: 205px; }
  html body.fs.fs-blip #gvProfileCard .profile-info { grid-template-columns: 112px 1fr !important; column-gap: 8px !important; padding: 8px 14px 0 12px !important; }
  html body.fs.fs-blip #gvProfileCard .profile-avatar-wrap { width: 110px !important; height: 110px !important; margin: -45px 0 0 -2px !important; }
  html body.fs.fs-blip #gvProfileCard .profile-name { font-size: 27px !important; line-height: 30px !important; margin: 4px 0 2px !important; }
  html body.fs.fs-blip #gvProfileCard .profile-title { font-size: 15.5px !important; line-height: 19px !important; font-weight: 500 !important; }
  html body.fs.fs-blip #gvProfileCard .profile-stats { margin-top: 8px !important; }
  html body.fs.fs-blip #gvProfileCard .stat-count { font-size: 20px !important; line-height: 22px; }
  html body.fs.fs-blip #gvProfileCard .stat-label { font-size: 15px !important; white-space: nowrap; display: flex; align-items: center; gap: 4px; }
  html body.fs.fs-blip #gvProfileCard .pv-actions { margin-top: 12px !important; gap: 16px !important; }
  html body.fs.fs-blip #gvProfileCard .pv-actions .btn { height: 46px !important; border-image-width: 0 23px !important; font-size: 17px !important; }
  html body.fs.fs-blip #gvProfileCard .pv-back-link { bottom: -38px !important; left: 2px !important; font-size: 16px !important; }
  html body.fs.fs-blip #gvMobileRight { gap: 6px !important; }
  html body.fs.fs-blip #gvMobileRight :is(.gv-rules-btn, .gv-invite-link-btn) { height: 46px !important; font-size: 18px !important; }
  html body.fs.fs-blip #page-group-view .gv-center { gap: 8px !important; }
}
@media (max-width: 768px) {
  html body.fs.fs-blip #page-group-view #gvProfileCard { margin: -8px 0 46px !important; }
  html body.fs.fs-blip #page-group-view #gvProfileCard .profile-avatar-wrap { width: 118px !important; height: 118px !important; margin: -58px 0 0 -6px !important; }
  html body.fs.fs-blip #page-group-view #gvProfileCard .profile-info { grid-template-columns: 116px 1fr !important; }
  html body.fs.fs-blip #page-group-view #gvProfileCard .profile-stats { margin-top: 18px !important; }
  html body.fs.fs-blip #page-group-view #gvProfileCard .pv-actions { margin-top: 10px !important; }
  html body.fs.fs-blip #gvMobileRight .gv-members-preview { display: flex !important; align-items: center; gap: 4px; flex-wrap: nowrap; }
  html body.fs.fs-blip #gvMobileRight .gv-members-preview img { width: 50px !important; height: 50px !important; border-radius: 50% !important; padding: 2px; box-sizing: border-box;
    background: var(--fs-avatar-ring) center / 100% 100% no-repeat !important; border: 0 !important; margin: 0 !important; object-fit: cover; }
  html body.fs.fs-blip #gvMobileRight .gv-members-more { font: 800 16px/1.1 var(--fs-font) !important; color: var(--bl-ink) !important; margin-left: 4px; }
}
@media (max-width: 768px) {
  html body.fs.fs-blip #page-group-view #gvProfileCard .profile-stats { margin-top: 31px !important; }
  html body.fs.fs-blip #page-group-view #gvProfileCard { margin-bottom: 36px !important; }
  html body.fs.fs-blip #gvMobileRight .card-heading { margin: 0 0 4px !important; padding: 0 !important; border: 0 !important; line-height: 24px; }
  html body.fs.fs-blip #gvMobileRight .gv-members-preview { margin: 0 !important; padding: 0 !important; }
  html body.fs.fs-blip #gvMobileRight .gv-members-more { white-space: nowrap; }
}
@media (max-width: 768px) { html body.fs.fs-blip #page-group-view #gvProfileCard { margin-bottom: 41px !important; } }
/* group page, scrolled (concept group-scrolled): Feed / Chat strip, post bar, one pale-blue "Group Posts" frame holding the posts */
@media (max-width: 768px) {
  html body.fs.fs-blip #gvModeTabs { display: flex !important; gap: 0 !important; height: 40px; padding: 2px !important; box-sizing: border-box; margin: 0 !important;
    background: none !important; border: 0 solid transparent !important; border-image: var(--fs-tabs-track) 0 70 fill / 0 20px stretch !important; }
  html body.fs.fs-blip #gvModeTabs .search-tab { flex: 1; height: 36px !important; display: flex !important; align-items: center; justify-content: center; font-size: 17px !important; border-image-width: 0 18px !important; }
  html body.fs.fs-blip #gvModeTabs .search-tab:not(.active) { border-image-source: none !important; }
  html body.fs.fs-blip #gvModeTabs .search-tab > i { display: none !important; }
  html body.fs.fs-blip #gvPostBar .post-create-bar { margin: 0 !important; }
  html body.fs.fs-blip #gvPostsFeed { display: flex; flex-direction: column; gap: 8px; padding: 0 !important; border: 10px solid transparent !important;
    border-image: var(--fs-panel-card-active-tight) 60 60 98 60 fill / 17px 17px 28px 17px / 0 0 11px 0 stretch !important; }
  html body.fs.fs-blip #gvPostsFeed > .card:first-child { border: 0 !important; border-image: none !important; background: none !important; padding: 2px 4px 0 !important; margin: 0 !important; }
  html body.fs.fs-blip .pv-posts-heading { font: 800 21px var(--fs-title-font) !important; color: var(--bl-ink) !important; margin: 0 !important; }
  html body.fs.fs-blip .pv-posts-heading > i { display: none !important; }
  html body.fs.fs-blip #gvPostsFeed .feed-post { margin: 0 !important; }
  html body.fs.fs-blip .post-badges .badge { font: 700 11px var(--fs-font) !important; padding: 1px 8px !important; border-radius: 0 !important; background: none !important; color: var(--bl-blue) !important;
    border: 0 solid transparent !important; border-image: var(--fs-chip) 0 80 fill / 0 9px stretch !important; }
  html body.fs.fs-blip .post-badges .badge > i { display: none !important; }
}
@media (max-width: 768px) {
  html body.fs.fs-blip #gvPostsFeed > .card:first-child, html body.fs.fs-blip .pv-posts-heading { text-align: left !important; border-bottom: 0 !important; justify-content: flex-start !important; }
  html body.fs.fs-blip #gvPostsFeed > .card:first-child { padding: 4px 6px 0 !important; }
}
@media (max-width: 768px) {
  html body.fs.fs-blip #gvPostsFeed { border-width: 6px 5px 8px !important; gap: 7px !important; }
  html body.fs.fs-blip #gvPostsFeed > .card:first-child { padding: 0 0 0 8px !important; margin-top: -2px !important; }
  html body.fs.fs-blip #gvPostsFeed .post-header .post-avatar { width: 46px !important; height: 46px !important; flex-basis: 46px !important; }
  html body.fs.fs-blip #gvPostsFeed .post-username { font-size: 17.5px !important; }
}
@media (max-width: 768px) {
  html body.fs.fs-blip #gvPostsFeed .post-actions { justify-content: flex-start !important; gap: 62px !important; padding-left: 8px !important; }
  html body.fs.fs-blip #gvPostsFeed .action-btn > i { width: 27px !important; height: 27px !important; }
}
@media (max-width: 768px) {
  /* cover: rounded like the concept (9-slice mask on the banner itself) */
  html body.fs.fs-blip #gvCoverBanner::before { display: none !important; }
  html body.fs.fs-blip #gvCoverBanner { -webkit-mask-box-image: var(--fs-cover-mask) 40 / 14px stretch; mask-border: var(--fs-cover-mask) 40 / 14px stretch; overflow: visible !important; }
  /* room under the buttons for the card's tail (concept) */
  html body.fs.fs-blip #page-group-view #gvProfileCard .profile-info { padding-bottom: 20px !important; }
  html body.fs.fs-blip #page-group-view #gvProfileCard { margin-bottom: 33px !important; }
  /* coin before the Group Coins number */
  html body.fs.fs-blip #gvProfileCard .stat-label > i { display: none !important; }
  html body.fs.fs-blip #gvProfileCard .stat:nth-child(3) .stat-count::before { content: ""; width: 21px; height: 21px; background: var(--fs-coin) center / contain no-repeat; display: inline-block; }
  html body.fs.fs-blip #gvProfileCard .stat-count { color: var(--bl-ink) !important; }
  /* groups without a photo: the painted groups icon on their colour */
  html body.fs.fs-blip #gvProfileCard .gv-icon-wrap > i:not(.avatar-edit-btn i) { font-size: 0 !important; width: 52%; height: 52%; background: var(--fs-icon-groups-on) center / contain no-repeat; }
  html body.fs.fs-blip #gvMobileRight .gv-members-preview img { width: 46px !important; height: 46px !important; }
  html body.fs.fs-blip #gvMobileRight .gv-members-more { font-size: 15px !important; }
}
/* pill art is cut tight to the pill (blip_convert input), so each end slice = half the art's height */
html body.fs.fs-blip :is(.btn-primary, .featured-buy-btn, .mobile-pill, .fsk-buy) { border-image-slice: 0 67 fill !important; }
html body.fs.fs-blip :is(.btn-outline, .view-group-btn) { border-image-slice: 0 74 fill !important; }
html body.fs.fs-blip #gvLeaveBtn { border-image-slice: 0 74 fill !important; }
html body.fs.fs-blip .btn-disabled { border-image-slice: 0 75 fill !important; }
html body.fs.fs-blip :is(.search-tab, .stat) { border-image-slice: 0 76 fill !important; }
html body.fs.fs-blip .search-tab.active { border-image-slice: 0 75 fill !important; }
html body.fs.fs-blip .navbar .nav-coins { border-image-slice: 0 63 fill !important; }
html body.fs.fs-blip :is(.post-input-fake, .page-search) { border-image-slice: 0 64 fill !important; }
html body.fs.fs-blip .quest-reward { border-image-slice: 0 64 fill !important; }
html body.fs.fs-blip :is(#feedTabs, #gvModeTabs) { border-image-slice: 0 64 fill !important; }
html body.fs.fs-blip :is(.quest-bar, .coin-goal-track) { border-image-slice: 0 27 fill !important; }
html body.fs.fs-blip #gvMobileRight :is(.gv-rules-btn, .gv-invite-link-btn) { border-image-slice: 0 67 fill !important; }
@media (min-width: 769px) { html body.fs.fs-blip .blip-start-btn { border-image-slice: 0 71 fill !important; } html body.fs.fs-blip .blip-start-btn.is-on { border-image-slice: 0 77 fill !important; } }
@media (max-width: 768px) {
  html body.fs.fs-blip #gvMobileRight .gv-members-preview { gap: 3px !important; overflow: hidden; }
  html body.fs.fs-blip #gvMobileRight .gv-members-preview img { width: 45px !important; height: 45px !important; flex: 0 0 45px; }
  html body.fs.fs-blip #gvMobileRight .gv-members-more { font-size: 14.5px !important; flex: 0 0 auto; margin-left: 6px !important; }
}
/* group page type sizes read off its concept (drawn ~10% larger than the Home concept) */
@media (max-width: 768px) {
  html body.fs.fs-blip #gvMobileRight :is(.gv-rules-btn, .gv-invite-link-btn) { font-size: 19.5px !important; }
  html body.fs.fs-blip #gvMobileRight :is(.gv-rules-btn, .gv-invite-link-btn) > i { width: 27px !important; height: 27px !important; }
  html body.fs.fs-blip #gvMobileRight .card-heading { font-size: 21px !important; }
  html body.fs.fs-blip #gvProfileCard .pv-actions .btn { font-size: 18px !important; }
  html body.fs.fs-blip .pv-posts-heading { font-size: 23px !important; }
  html body.fs.fs-blip #gvPostsFeed :is(.post-description, .post-description p) { font-size: 16.5px !important; }
  html body.fs.fs-blip #gvPostsFeed .post-username { font-size: 18px !important; }
  html body.fs.fs-blip #gvPostsFeed .action-btn { font-size: 17px !important; }
  html body.fs.fs-blip #gvPostsFeed .action-btn > i { width: 29px !important; height: 29px !important; }
  html body.fs.fs-blip #gvModeTabs .search-tab { font-size: 19px !important; }
  /* bottom nav: the concept's labels are ~13.5px and fit "Messages" */
  html body.fs.fs-blip .nav-center { padding-left: 2px !important; padding-right: 2px !important; }
  html body.fs.fs-blip .nav-center .nav-link, html body.fs.fs-blip .blip-start-btn { margin: 0 !important; font-size: 13.5px !important; letter-spacing: -.35px !important; }
}
@media (max-width: 768px) {
  html body.fs.fs-blip .nav-center .nav-link > span:not(.notif-badge) { overflow: visible !important; text-overflow: clip !important; white-space: nowrap !important; max-width: none !important; }
  html body.fs.fs-blip .nav-center .nav-link[data-page="messages"] { flex: 1.3 1 0 !important; }
  html body.fs.fs-blip .nav-center .nav-link[data-page="profiles"] { flex: 1.15 1 0 !important; }
}

/* ======================================================================================================== GROUPS TAB (phone) — measured on ref/ov-groups-a.png */
@media (max-width: 768px) {
  html body.fs.fs-blip #page-groups.page.active { padding: calc(62px + env(safe-area-inset-top, 0px)) 0 0 !important; }
  html body.fs.fs-blip #page-groups .page-container { padding: 0 10px !important; }
  html body.fs.fs-blip #page-groups .page-header { position: relative; display: grid !important; grid-template-columns: 1fr 152px; column-gap: 15px; row-gap: 14px; margin: 0 0 14px !important; padding: 10px 0 0 !important; }
  html body.fs.fs-blip #page-groups .page-header h2 { grid-column: 1 / -1; display: flex !important; align-items: center; gap: 10px; margin: 0 0 0 6px !important; font: 900 32px/40px var(--fs-title-font) !important; color: var(--bl-ink) !important; }
  html body.fs.fs-blip #page-groups .page-header h2 > i { width: 40px; height: 40px; font-size: 0 !important; color: transparent !important; background: var(--fs-icon-groups) center / contain no-repeat; flex: 0 0 40px; }
  html body.fs.fs-blip #page-groups .page-header::after { content: ""; position: absolute; right: 2px; top: -6px; width: 118px; height: 98px; pointer-events: none;
    background: var(--fs-mascot-wave) center / contain no-repeat; animation: blBob 3.2s ease-in-out infinite; }
  html body.fs.fs-blip #page-groups .page-actions { display: contents !important; }
  html body.fs.fs-blip #page-groups .page-search { grid-column: 1; height: 38px; display: flex !important; align-items: center; gap: 8px; padding: 0 16px !important; margin: 0 !important; width: auto !important; }
  html body.fs.fs-blip #page-groups .page-search > i { width: 20px; height: 20px; font-size: 0 !important; color: transparent !important; background: var(--fs-icon-search) center / contain no-repeat; filter: brightness(0) saturate(100%) invert(9%) sepia(98%) saturate(6000%) hue-rotate(245deg); }
  html body.fs.fs-blip #page-groups .page-search input { font: 600 17px var(--fs-font) !important; color: var(--bl-ink) !important; padding: 0 !important; height: 100%; }
  html body.fs.fs-blip #createGroupBtn { grid-column: 2; position: relative; z-index: 2; height: 40px; margin: 0 !important; padding: 0 10px !important; display: flex !important; align-items: center; justify-content: center; gap: 6px;
    font: 800 17px var(--fs-font) !important; white-space: nowrap; border-image-width: 0 20px !important; }
  html body.fs.fs-blip #createGroupBtn > i { font-size: 15px !important; }
  /* tabs: three equal pills across, inactive = white with navy outline, active = royal blue */
  html body.fs.fs-blip #groupsTabs { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 5px; margin: 0 0 16px !important; padding: 0 !important; overflow: visible !important; }
  html body.fs.fs-blip #groupsTabs .search-tab { height: 38px !important; display: flex !important; align-items: center; justify-content: center; gap: 7px; padding: 0 4px !important; margin: 0 !important;
    font: 800 16.5px var(--fs-font) !important; white-space: nowrap; border-image-source: var(--fs-btn-secondary) !important; border-image-slice: 0 74 fill !important; border-image-width: 0 19px !important; }
  html body.fs.fs-blip #groupsTabs .search-tab.active { border-image-source: var(--fs-chip-active) !important; border-image-slice: 0 75 fill !important; }
  html body.fs.fs-blip #groupsTabs .search-tab > i { width: 22px; height: 22px; font-size: 0 !important; color: transparent !important; background: center / contain no-repeat; }
  html body.fs.fs-blip #groupsTabs .search-tab > i.fa-crown { background-image: var(--fs-icon-star); }
  html body.fs.fs-blip #groupsTabs .search-tab > i.fa-users { background-image: var(--fs-icon-groups); }
  html body.fs.fs-blip #groupsTabs .search-tab > i.fa-compass { background-image: var(--fs-icon-globe); }
  html body.fs.fs-blip #groupsTabs .search-tab > i.fa-shield-halved { background-image: var(--fs-icon-settings); }
  html body.fs.fs-blip #groupsTabs .search-tab.active > i { filter: brightness(0) invert(1); }
  /* cards: two across (third peeking), 180 x 206 */
  html body.fs.fs-blip #groupsSections .scroll-2row { grid-auto-columns: 180px !important; gap: 11px 8px !important; padding: 0 0 12px !important; margin: 0 -10px 0 0 !important; }
  html body.fs.fs-blip #groupsSections .group-card { min-width: 180px !important; max-width: 180px !important; height: 206px; box-sizing: border-box; display: flex !important; flex-direction: column; overflow: visible !important;
    border-width: 6px 6px 8px !important; transform: none !important; }
  html body.fs.fs-blip #groupsSections .group-card-banner { height: 72px !important; flex: 0 0 72px; position: relative; font-size: 0 !important; overflow: visible !important;
    -webkit-mask-box-image: var(--fs-photo-mask) 30 30 0 30 / 12px 12px 0 12px stretch; }
  html body.fs.fs-blip #groupsSections .group-card-banner > i { display: block; position: absolute; left: 50%; bottom: -34px; width: 64px; height: 64px; margin-left: -32px; border-radius: 50%;
    background: var(--fs-icon-groups-on) center / 48% no-repeat, var(--bl-blue); box-shadow: none; }
  html body.fs.fs-blip #groupsSections .group-card-banner > img { position: absolute !important; left: 50% !important; bottom: -34px !important; width: 64px !important; height: 64px !important; margin-left: -32px; border: 0 !important; }
  html body.fs.fs-blip #groupsSections .group-card-banner::after { content: ""; position: absolute; left: 50%; bottom: -38px; width: 72px; height: 72px; margin-left: -36px; z-index: 2; pointer-events: none;
    background: var(--fs-group-avatar-frame) center / 100% 100% no-repeat; }
  html body.fs.fs-blip #groupsSections .group-card-body { padding: 38px 4px 0 !important; text-align: center; flex: 1; min-height: 0; }
  html body.fs.fs-blip #groupsSections .group-card-body h4 { font: 900 18px/21px var(--fs-title-font) !important; margin: 0 0 1px !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  html body.fs.fs-blip #groupsSections .group-card-body p { font: 500 12.5px/15px var(--fs-font) !important; color: var(--bl-ink) !important; margin: 0 0 3px !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  html body.fs.fs-blip #groupsSections .group-members { font: 800 14.5px var(--fs-font) !important; color: var(--bl-ink) !important; display: inline-flex; align-items: center; gap: 5px; }
  html body.fs.fs-blip #groupsSections .group-members > i { width: 20px; height: 20px; font-size: 0 !important; color: transparent !important; background: var(--fs-icon-groups) center / contain no-repeat; }
  html body.fs.fs-blip #groupsSections .group-card-actions { padding: 0 2px 2px !important; display: grid !important; grid-template-columns: 1fr 1fr; gap: 6px !important; }
  html body.fs.fs-blip #groupsSections .group-card-actions .btn { width: auto !important; height: 30px !important; flex: none !important; padding: 0 4px !important; display: flex !important; align-items: center; justify-content: center; gap: 4px;
    font: 800 14.5px var(--fs-font) !important; border-image-width: 0 15px !important; }
  html body.fs.fs-blip #groupsSections .gc-btn-text { display: inline !important; }
  html body.fs.fs-blip #groupsSections .gc-btn-icon { display: none !important; }
  html body.fs.fs-blip #groupsSections .join-group-btn .gc-btn-icon:is(.fa-check, .fa-plus) { display: inline-block !important; font-size: 12px !important; }
  html body.fs.fs-blip #groupsSections .gc-icon-edit-btn { position: absolute; top: 5px; right: 5px; width: 28px; height: 28px; padding: 0 !important; border: 0 !important; z-index: 3; opacity: 1 !important; font-size: 0 !important;
    background: var(--fs-icon-edit) center / 15px no-repeat, var(--fs-btn-square) center / contain no-repeat !important; }
}
@media (max-width: 768px) {
  html body.fs.fs-blip #page-groups .page-header { margin-bottom: 5px !important; }
  html body.fs.fs-blip #groupsTabs { margin-bottom: 18px !important; }
  html body.fs.fs-blip #groupsSections .group-card-body { padding-top: 26px !important; }
  html body.fs.fs-blip #groupsSections .group-card-banner { height: 64px !important; flex-basis: 64px !important; }
}
@media (max-width: 768px) {
  /* banner: rounded top corners by clipping only the banner photo (a pseudo layer), so the round picture can hang below it */
  html body.fs.fs-blip #groupsSections .group-card-banner { -webkit-mask-box-image: none !important; mask-border: none !important; height: 70px !important; flex-basis: 70px !important; border-radius: 11px 11px 0 0; }
  html body.fs.fs-blip #groupsSections .group-card-banner > i, html body.fs.fs-blip #groupsSections .group-card-banner > img { bottom: -28px !important; width: 62px !important; height: 62px !important; margin-left: -31px !important; }
  html body.fs.fs-blip #groupsSections .group-card-banner::after { bottom: -32px !important; width: 70px !important; height: 70px !important; margin-left: -35px !important; }
  html body.fs.fs-blip #groupsSections .group-card-body { padding-top: 31px !important; flex: 0 0 auto !important; }
  html body.fs.fs-blip #groupsSections .group-card-body h4 { line-height: 21px !important; }
  html body.fs.fs-blip #groupsSections .group-card-body p { margin: 0 0 2px !important; }
  html body.fs.fs-blip #groupsSections .group-members { line-height: 18px !important; }
  html body.fs.fs-blip #groupsSections .group-card-actions { margin-top: auto !important; }
  html body.fs.fs-blip #groupsSections .group-card-actions .btn { height: 28px !important; border-image-width: 0 14px !important; }
  html body.fs.fs-blip #page-groups .page-search > i { position: static !important; transform: none !important; flex: 0 0 20px; }
  html body.fs.fs-blip #page-groups .page-search input { padding-left: 0 !important; flex: 1; min-width: 0; background: transparent !important; }
}

/* ===== colours sampled from the concept's pixels (home / group / groups paintings) ===== */
body.fs-blip { --bl-ink: #000048 !important; --bl-text: #000032; --bl-soft: #000034 !important; --bl-blue: #0a2cf0 !important; --bl-red: #c40000; }
html body.fs.fs-blip, html body.fs.fs-blip :is(p, span, small, label, .post-time, .stat-label, .profile-title, .profile-about, .featured-info p, .quest-progress, .quest-reset,
  .featured-timer, .group-card-body p, .post-description, .post-description p, .story-name, .post-input-fake, .coin-goal-bar p, .page-search input) { color: var(--bl-text) !important; }
html body.fs.fs-blip :is(h1, h2, h3, h4, h5, .profile-name, .post-username, .card-heading, .stat-count, .group-card-body h4, .group-members, .quest-info p, .pv-posts-heading, .coin-goal-bar p strong) { color: var(--bl-ink) !important; }
html body.fs.fs-blip :is(.view-profile-link, .view-more-link, .pv-back-link) { color: var(--bl-blue) !important; }
html body.fs.fs-blip #gvProfileCard .pv-back-link { color: var(--bl-ink) !important; }
html body.fs.fs-blip #gvLeaveBtn, html body.fs.fs-blip #gvLeaveBtn * { color: var(--bl-red) !important; }
html body.fs.fs-blip :is(.btn-outline, .view-group-btn) { color: var(--bl-blue) !important; }
html body.fs.fs-blip .nav-center .nav-link:not(.active) { color: #080848 !important; }
html body.fs.fs-blip :is(.btn-primary, .mobile-pill, .featured-buy-btn, .search-tab.active, .nav-center .nav-link.active, .blip-start-btn) { color: #fff !important; }
html body.fs.fs-blip :is(.btn-primary, .mobile-pill, .featured-buy-btn, .search-tab.active) * { color: #fff !important; }
html body.fs.fs-blip .btn-disabled, html body.fs.fs-blip .btn-disabled * { color: #3c4658 !important; }
html body.fs.fs-blip .post-input-fake { color: #1a1a4a !important; }
/* group cards: content decides the height (never clipped) */
@media (max-width: 768px) { html body.fs.fs-blip #groupsSections .group-card { height: auto !important; min-height: 206px; } }
/* concept: outline buttons ("View") and inactive tabs use navy text #040454; Joined #202844 */
html body.fs.fs-blip :is(.btn-outline, .view-group-btn), html body.fs.fs-blip :is(.btn-outline, .view-group-btn) * { color: #040454 !important; }
html body.fs.fs-blip .search-tab:not(.active), html body.fs.fs-blip .search-tab:not(.active) * { color: #000054 !important; }
html body.fs.fs-blip .btn-disabled, html body.fs.fs-blip .btn-disabled * { color: #202844 !important; }
@media (max-width: 768px) { html body.fs.fs-blip #groupsSections .group-card-actions .btn { min-height: 0 !important; height: 29px !important; max-height: 29px; } }
@media (max-width: 768px) {
  html body.fs.fs-blip #groupsSections .group-card-body { display: flex !important; flex-direction: column; align-items: center; gap: 0 !important; line-height: 1 !important; padding-bottom: 6px !important; }
  html body.fs.fs-blip #groupsSections .group-card-body > * { max-width: 100%; }
}
/* Groups tab sits on the concept's white sheet (rounded top corners) under the top bar */
@media (max-width: 768px) {
  html body.fs.fs-blip #page-groups .page-container { min-height: calc(100vh - 62px); box-sizing: border-box; padding: 0 10px 90px !important; margin: 0 !important;
    border: 0 solid transparent !important; border-image: var(--fs-sheet) 70 70 0 70 fill / 22px 22px 0 22px stretch !important; }
  html body.fs.fs-blip #page-groups .page-header::after { right: -2px; top: -12px; width: 140px; height: 104px; }
  html body.fs.fs-blip #groupsTabs .search-tab > i.fa-crown { background-image: var(--fs-icon-crown) !important; }
  html body.fs.fs-blip #groupsTabs .search-tab > i.fa-compass { background-image: var(--fs-icon-compass) !important; }
  html body.fs.fs-blip #groupsSections .group-card-banner::after { bottom: -34px !important; width: 74px !important; height: 74px !important; margin-left: -37px !important; }
}

/* ======================================================================================================== DESKTOP HOME
   measured on ref/ov-desktop.png (the concept window scaled to a 1440 viewport, x 0.9375) */
@media (min-width: 769px) {
  html body.fs.fs-blip .navbar { height: 64px !important; padding: 0 !important; border: 0 !important; border-image: none !important; box-shadow: none !important;
    background: var(--fs-header-bar) center bottom / 100% 100% no-repeat !important; }
  html body.fs.fs-blip .nav-container { height: 64px; max-width: none !important; padding: 0 20px 0 33px !important; display: flex !important; align-items: center; gap: 0; }
  html body.fs.fs-blip .nav-left { display: flex !important; align-items: center; gap: 22px; flex: 0 0 auto; }
  html body.fs.fs-blip .navbar .nav-logo { display: flex !important; align-items: center; gap: 6px; font: 900 31px var(--fs-title-font) !important; color: #fff !important; background: none !important; padding: 0 !important; text-shadow: none !important; letter-spacing: -.4px; }
  html body.fs.fs-blip .navbar .nav-logo::before { content: ""; width: 60px; height: 52px; flex: 0 0 60px; background: var(--fs-mascot-head) center / contain no-repeat; }
  html body.fs.fs-blip .navbar .search-bar { width: 163px !important; height: 36px; padding: 0 14px !important; display: flex !important; align-items: center; gap: 8px; border: 0 solid transparent !important;
    border-image: var(--fs-field) 0 64 fill / 0 18px stretch !important; background: none !important; box-shadow: none !important; }
  html body.fs.fs-blip .navbar .search-bar > i { width: 19px; height: 19px; font-size: 0 !important; color: transparent !important; background: var(--fs-icon-search) center / contain no-repeat; filter: brightness(0) saturate(100%) invert(9%) sepia(98%) saturate(6000%) hue-rotate(245deg); }
  html body.fs.fs-blip .navbar .search-bar input { font: 600 16px var(--fs-font) !important; color: var(--bl-text) !important; background: transparent !important; border: 0 !important; padding: 0 !important; width: 100%; }
  html body.fs.fs-blip .nav-center { flex: 1 1 auto; justify-content: flex-start !important; gap: 0 !important; margin-left: 9px; height: 64px; align-items: center !important; }
  html body.fs.fs-blip .blip-start-btn { width: 97px; height: 38px; margin-right: 18px !important; padding: 0 12px 0 4px !important; font: 900 19px var(--fs-font) !important; color: var(--bl-ink) !important; justify-content: center; }
  html body.fs.fs-blip .blip-start-btn .blip-start-head { width: 34px; height: 34px; }
  html body.fs.fs-blip .nav-center .nav-link { height: 52px !important; padding: 0 12px !important; margin: 0 2px !important; display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
    color: #fff !important; font: 800 15px var(--fs-font) !important; background: none !important; border: 0 solid transparent !important; border-image: none !important; border-radius: 0 !important; }
  html body.fs.fs-blip .nav-center .nav-link > span:not(.notif-badge) { color: #fff !important; font: inherit !important; }
  html body.fs.fs-blip .nav-center .nav-link > i { width: 28px !important; height: 28px !important; font-size: 0 !important; filter: brightness(0) invert(1); }
  html body.fs.fs-blip .nav-center .nav-link.active { border-image: var(--fs-nav-active) 60 fill / 14px stretch !important; }
  html body.fs.fs-blip .nav-center .nav-link.active > i { filter: none; }
  html body.fs.fs-blip .nav-center .nav-link.active[data-page="home"] > i { background-image: var(--fs-icon-home-on) !important; }
  html body.fs.fs-blip .nav-center .nav-link[data-page="saved"] > i { background-image: var(--fs-icon-bookmark); }
  html body.fs.fs-blip .nav-center .nav-saved-link { margin-right: 22px !important; }
  html body.fs.fs-blip .nav-center .nav-link .notif-badge { position: absolute; top: 2px; right: 14px; min-width: 20px; height: 20px; border-radius: 0 !important; padding: 0 5px; font: 800 12px/20px var(--fs-font) !important;
    color: #000048 !important; background: var(--fs-coin) center / 100% 100% no-repeat !important; border: 0 !important; }
  html body.fs.fs-blip .nav-center .nav-link { position: relative; }
  html body.fs.fs-blip .nav-right { display: flex !important; align-items: center; gap: 0; margin-left: auto; }
  html body.fs.fs-blip .nav-right :is(.mobile-search-btn, .mobile-notif-btn), html body.fs.fs-blip .nav-music-wrap { display: none !important; }
  html body.fs.fs-blip .navbar .nav-coins { height: 34px; padding: 0 14px 0 8px !important; margin: 0 30px 0 0 !important; display: flex !important; align-items: center; gap: 8px; }
  html body.fs.fs-blip .navbar .nav-coins > i { width: 26px !important; height: 26px !important; font-size: 0 !important; background: var(--fs-coin) center / contain no-repeat !important; }
  html body.fs.fs-blip .navbar .nav-coins .coin-count { color: #000048 !important; font: 800 18px var(--fs-font) !important; }
  html body.fs.fs-blip .navbar .nav-user { display: flex !important; align-items: center; gap: 10px; padding: 0 !important; background: none !important; border: 0 !important; }
  html body.fs.fs-blip .navbar .nav-avatar { width: 46px !important; height: 46px !important; padding: 2px; }
  html body.fs.fs-blip .navbar .nav-username { display: inline !important; color: #fff !important; font: 800 17px var(--fs-font) !important; }
  html body.fs.fs-blip .navbar .nav-user > i.fa-chevron-down { color: #fff !important; font-size: 13px !important; }

  /* page: cover 45..1395 x 74..193, then three columns 328 | 633 | 364 with 11 / 14 gaps */
  html body.fs.fs-blip #page-home.page.active { padding: 74px 0 40px !important; }
  html body.fs.fs-blip #page-home #timelineCover { width: 1350px !important; max-width: calc(100vw - 90px) !important; height: 119px !important; margin: 0 auto !important; border-radius: 0 !important; position: relative; overflow: visible !important; }
  html body.fs.fs-blip #page-home .fs-tl-slot-1 { position: absolute; inset: 0 !important; width: auto !important; height: auto !important; -webkit-mask-box-image: var(--fs-cover-mask) 40 / 16px stretch; }
  html body.fs.fs-blip #page-home .fs-tl-slot-1 img { width: 100%; height: 100%; object-fit: cover; }
  html body.fs.fs-blip #page-home .fs-tl-slot:not(.fs-tl-slot-1), html body.fs.fs-blip #page-home .fs-tl-slot::before, html body.fs.fs-blip #page-home .fs-tl-slot::after { display: none !important; }
  html body.fs.fs-blip #page-home #timelineCover::after { content: ""; position: absolute; z-index: 2; pointer-events: none; left: 972px; top: -3px; width: 183px; height: 122px;
    background: var(--fs-mascot-wave) center / contain no-repeat; animation: blBob 3.2s ease-in-out infinite; }
  html body.fs.fs-blip #page-home #coverEditBtn { position: absolute !important; left: 32px !important; top: 70px !important; right: auto !important; bottom: auto !important; height: 32px !important; padding: 0 14px 0 10px !important;
    display: flex !important; align-items: center; gap: 8px; font: 700 15px var(--fs-font) !important; color: #fff !important; z-index: 3 !important; width: auto !important;
    background: none !important; border: 0 solid transparent !important; border-image: var(--fs-btn-primary) 0 67 fill / 0 16px stretch !important; box-shadow: none !important; }
  html body.fs.fs-blip #page-home #coverEditBtn > i { width: 20px !important; height: 20px !important; filter: brightness(0) invert(1); }
  html body.fs.fs-blip #page-home .main-container { width: 1350px !important; max-width: calc(100vw - 90px) !important; margin: 12px auto 0 !important; padding: 0 !important;
    display: grid !important; grid-template-columns: 328px 633px 364px !important; column-gap: 11px !important; align-items: start; }
  html body.fs.fs-blip #page-home .right-sidebar { margin-left: 3px; }
  html body.fs.fs-blip #page-home :is(.left-sidebar, .center-feed, .right-sidebar) { display: flex !important; flex-direction: column; gap: 10px !important; position: static !important; top: auto !important; width: auto !important; }
  html body.fs.fs-blip #page-home :is(.left-sidebar, .center-feed, .right-sidebar) > * { margin: 0 !important; }
  html body.fs.fs-blip #page-home .mobile-pills-bar { display: none !important; }
}
/* ---------- desktop cards (concept desktop, x 0.9375) ---------- */
@media (min-width: 769px) {
  html body.fs.fs-blip #page-home .card, html body.fs.fs-blip #page-home :is(.featured-skin-banner, .quest-panel, .coin-goal-bar, .feed-post) { border-width: 8px !important; padding: 0 4px !important; }
  /* profile card 328 x 382: strip photo, avatar 112 overlapping at left, big name, stats row, View Profile pill + square pencil, tail bottom-left */
  html body.fs.fs-blip #profileCard { min-height: 382px; margin: 0 !important; padding: 0 !important; border: 0 !important; border-image: none !important; position: relative; }
  html body.fs.fs-blip:is(*) #profileCard::after { right: auto !important; left: 18px !important; transform: scaleX(-1); }
  html body.fs.fs-blip #profileCard .profile-cover { display: block !important; position: absolute; left: 7px; right: 7px; top: 7px; height: 100px; border-radius: 0 !important; background-size: cover !important; background-position: center !important;
    -webkit-mask-box-image: var(--fs-photo-mask) 30 30 0 30 / 11px 11px 0 11px stretch; }
  html body.fs.fs-blip #profileCard .profile-info { display: block !important; padding: 52px 18px 22px !important; text-align: left !important; position: relative; }
  html body.fs.fs-blip #profileCard .profile-avatar-wrap { width: 112px !important; height: 112px !important; margin: 0 0 8px 2px !important; border-radius: 50% !important; position: relative; z-index: 3; }
  html body.fs.fs-blip #profileCard .profile-avatar-wrap::after { content: ""; display: block !important; position: absolute; inset: -3%; z-index: 2; pointer-events: none; background: var(--fs-avatar-frame) center / 100% 100% no-repeat !important; }
  html body.fs.fs-blip #profileCard #profileAvatarImg { width: 100% !important; height: 100% !important; -webkit-mask: var(--fs-avatar-mask) center / 100% 100% no-repeat !important; mask: var(--fs-avatar-mask) center / 100% 100% no-repeat !important; border-radius: 0 !important; border: 0 !important; object-fit: cover; }
  html body.fs.fs-blip #profileCard .avatar-edit-btn { position: absolute !important; right: 2% !important; bottom: 4% !important; width: 32px !important; height: 32px !important; padding: 0 !important; z-index: 4 !important; border: 0 !important;
    background: var(--fs-camera-badge) center / contain no-repeat !important; box-shadow: none !important; }
  html body.fs.fs-blip #profileCard .avatar-edit-btn > i { opacity: 0 !important; }
  html body.fs.fs-blip #profileCard .fs-namecard { padding: 0 !important; margin: 0 !important; border: 0 !important; border-image: none !important; background: none !important; text-align: left !important; }
  html body.fs.fs-blip #profileCard .fs-namecard::before { display: none !important; }
  html body.fs.fs-blip #profileCard .profile-name { font-size: 28px !important; line-height: 32px !important; margin: 0 !important; text-align: left !important; }
  html body.fs.fs-blip #profileCard .profile-title { font: 600 17px/22px var(--fs-font) !important; color: #3a3a64 !important; margin: 2px 0 8px !important; text-align: left !important; }
  html body.fs.fs-blip #profileCard .profile-about { font: 500 15.5px/20px var(--fs-font) !important; margin: 0 0 12px !important; text-align: left !important; }
  html body.fs.fs-blip #profileCard .profile-stats { display: grid !important; grid-template-columns: 1fr 1fr; padding: 10px 0 !important; margin: 0 0 14px !important; border: 0 !important; position: relative; }
  html body.fs.fs-blip #profileCard .profile-stats::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--fs-divider) center / 100% 2px no-repeat; }
  html body.fs.fs-blip #profileCard .profile-stats::after { content: ""; position: absolute; left: 50%; top: 18%; bottom: 18%; width: 4px; background: var(--fs-divider) center / 2px 100% no-repeat; }
  html body.fs.fs-blip #profileCard .stat { display: flex !important; flex-direction: row-reverse !important; justify-content: center; align-items: center; gap: 6px; border: 0 !important; border-image: none !important; background: none !important; padding: 0 !important; height: auto !important; }
  html body.fs.fs-blip #profileCard .stat-count { font: 900 17px var(--fs-font) !important; }
  html body.fs.fs-blip #profileCard .stat-label { font: 600 17px var(--fs-font) !important; }
  html body.fs.fs-blip #profileCard .profile-links { display: flex !important; align-items: center; gap: 12px; position: static !important; margin: 0 !important; }
  html body.fs.fs-blip #profileCard .view-profile-link { flex: 1; position: static !important; height: 40px; display: flex !important; align-items: center; justify-content: center; font: 800 18px var(--fs-font) !important; color: #fff !important;
    border: 0 solid transparent !important; border-image: var(--fs-btn-primary) 0 67 fill / 0 20px stretch !important; }
  html body.fs.fs-blip #profileCard .edit-profile-btn { position: static !important; width: 52px !important; height: 40px !important; flex: 0 0 52px; border: 0 solid transparent !important; border-image: var(--fs-btn-secondary) 0 74 fill / 0 20px stretch !important; background: none !important; }
  html body.fs.fs-blip #profileCard .edit-profile-btn > i { width: 20px !important; height: 20px !important; background-image: var(--fs-icon-edit) !important; }
  /* Photos: heading + View All, 3 x 2 tiles */
  html body.fs.fs-blip #page-home .photos-card { padding: 4px 8px 8px !important; position: relative; }
  html body.fs.fs-blip #page-home .photos-card .card-heading { font-size: 21px !important; margin: 0 0 10px !important; border: 0 !important; padding: 0 !important; }
  html body.fs.fs-blip #page-home .photos-card .card-heading > i { display: none !important; }
  html body.fs.fs-blip #page-home .photos-card .view-more-link { position: absolute; top: 4px; right: 10px; margin: 0 !important; padding: 0 !important; border: 0 !important; font: 800 17px var(--fs-font) !important; }
  html body.fs.fs-blip #page-home .photos-preview { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 6px !important; }
  html body.fs.fs-blip #page-home .photos-preview > :nth-child(n+7) { display: none !important; }
  html body.fs.fs-blip #page-home .photos-preview > * { width: auto !important; height: 112px !important; border-radius: 0 !important; -webkit-mask-box-image: var(--fs-photo-mask) 30 / 9px stretch; object-fit: cover; }
  /* stories: one card, 6 rings spread */
  html body.fs.fs-blip #page-home .stories-bar { justify-content: space-around !important; gap: 0 !important; padding: 6px 4px !important; border: 8px solid transparent !important;
    border-image: var(--fs-panel-card-tight) 60 60 98 60 fill / 17px 17px 28px 17px / 0 0 11px 0 stretch !important; }
  html body.fs.fs-blip #page-home .story-ring { width: 80px !important; height: 80px !important; }
  html body.fs.fs-blip #page-home .story-name { font: 700 16px var(--fs-font) !important; }
  html body.fs.fs-blip #page-home .post-create-bar { min-height: 46px; }
  /* Featured: image left with the blue "Featured Skin" tag, timer pill + name + description + Buy on the right */
  html body.fs.fs-blip #page-home .featured-skin-banner { position: relative; padding: 4px !important; min-height: 117px; }
  html body.fs.fs-blip #page-home .featured-header { position: absolute; left: 4px; top: 4px; right: 4px; height: 0; margin: 0 !important; z-index: 2; }
  html body.fs.fs-blip #page-home .featured-header h4 { position: absolute; left: 8px; top: 6px; height: 26px; padding: 0 12px !important; display: flex !important; align-items: center; font: 800 16px var(--fs-font) !important; color: #fff !important;
    border: 0 solid transparent; border-image: var(--fs-btn-primary) 0 67 fill / 0 13px stretch; }
  html body.fs.fs-blip #page-home .featured-timer { position: absolute; left: 400px; top: 4px; height: 24px; padding: 0 10px !important; font: 700 15px var(--fs-font) !important;
    border: 0 solid transparent; border-image: var(--fs-chip) 0 76 fill / 0 12px stretch; }
  html body.fs.fs-blip #page-home .featured-body { display: grid !important; grid-template-columns: 370px 1fr; grid-template-rows: auto auto auto; column-gap: 16px; align-items: start; }
  html body.fs.fs-blip #page-home .featured-preview { grid-row: 1 / span 3; width: 370px !important; height: 117px !important; -webkit-mask-box-image: var(--fs-photo-mask) 30 / 11px stretch; }
  html body.fs.fs-blip #page-home .featured-info { padding-top: 30px; }
  html body.fs.fs-blip #page-home .featured-info h5 { font-size: 27px !important; line-height: 30px; }
  html body.fs.fs-blip #page-home .featured-info p { font-size: 16px !important; }
  html body.fs.fs-blip #page-home .featured-body .btn { grid-column: 2; justify-self: start; width: 190px; height: 34px !important; font-size: 19px !important; margin-top: 6px; border-image-width: 0 17px !important; }
  /* feed tabs + posts */
  html body.fs.fs-blip #page-home #feedTabs { height: 32px; padding: 1px !important; }
  html body.fs.fs-blip #page-home #feedTabs .search-tab { height: 30px !important; font-size: 17px !important; }
  html body.fs.fs-blip #page-home .post-media-grid.pm-count-1 { aspect-ratio: 7 / 1 !important; }
  /* right: Earn Coins (blue header band), People, Trending Groups, Trending Hashtags pill */
  html body.fs.fs-blip .promo-card { padding: 0 !important; text-align: left !important; overflow: hidden; }
  html body.fs.fs-blip .promo-card .promo-logo { display: none !important; }
  html body.fs.fs-blip .promo-card .promo-title { margin: 0 0 6px !important; height: 38px; display: flex !important; align-items: center; gap: 10px; padding: 0 14px !important; font: 900 21px var(--fs-title-font) !important; color: #fff !important;
    border: 0 solid transparent; border-image: var(--fs-header-bar) 40 fill / 12px stretch; }
  html body.fs.fs-blip .promo-card .promo-title::before { content: ""; width: 34px; height: 30px; background: var(--fs-coin-stack) center / contain no-repeat; flex: 0 0 34px; }
  html body.fs.fs-blip .promo-card .promo-subtitle { font: 600 15px/19px var(--fs-font) !important; margin: 0 6px 8px !important; text-align: left !important; }
  html body.fs.fs-blip .coin-rules { display: flex !important; flex-direction: column; gap: 4px; padding: 0 2px 2px !important; }
  html body.fs.fs-blip .coin-rule { display: flex !important; align-items: center; gap: 10px; height: 32px; padding: 0 12px !important; border: 0 solid transparent !important; border-image: var(--fs-chip) 0 76 fill / 0 16px stretch !important; background: none !important; }
  html body.fs.fs-blip .coin-rule > i { width: 24px; height: 24px; font-size: 0 !important; color: transparent !important; background: center / contain no-repeat; }
  html body.fs.fs-blip .coin-rule > i.fa-calendar-check { background-image: var(--fs-icon-calendar); }
  html body.fs.fs-blip .coin-rule > i.fa-pen-to-square { background-image: var(--fs-icon-edit); }
  html body.fs.fs-blip .coin-rule > i.fa-comment { background-image: var(--fs-icon-comment); }
  html body.fs.fs-blip .coin-rule > i.fa-heart { background-image: var(--fs-icon-like-on); }
  html body.fs.fs-blip .coin-rule span { font: 700 16px var(--fs-font) !important; flex: 1; display: flex; align-items: center; gap: 6px; }
  html body.fs.fs-blip .coin-rule strong { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; font-weight: 900 !important; }
  html body.fs.fs-blip .coin-rule strong::before { content: ""; width: 20px; height: 20px; background: var(--fs-coin) center / contain no-repeat; }
  html body.fs.fs-blip .coin-rule small { font: 600 13px var(--fs-font) !important; }
  html body.fs.fs-blip :is(.suggestions-card, .groups-card) .card-heading { font-size: 22px !important; margin: 0 0 8px !important; padding: 0 0 0 4px !important; border: 0 !important; }
  html body.fs.fs-blip .suggestion-list { display: flex !important; flex-direction: column !important; gap: 6px !important; }
  html body.fs.fs-blip .suggestion-item { display: flex !important; flex-direction: row !important; align-items: center; gap: 12px; padding: 4px 4px !important; text-align: left !important; background: none !important; border: 0 !important; width: auto !important; }
  html body.fs.fs-blip .suggestion-avatar { width: 40px !important; height: 40px !important; flex: 0 0 40px; }
  html body.fs.fs-blip .suggestion-info { flex: 1; min-width: 0; text-align: left !important; }
  html body.fs.fs-blip .suggestion-info h4 { font-size: 17px !important; margin: 0 !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  html body.fs.fs-blip .suggestion-info p:empty { display: none; }
  html body.fs.fs-blip .suggestion-follow-btn { width: 92px !important; height: 28px !important; border-radius: 0 !important; padding: 0 !important; font-size: 0 !important; color: #fff !important; background: none !important;
    border: 0 solid transparent !important; border-image: var(--fs-btn-primary) 0 67 fill / 0 14px stretch !important; box-shadow: none !important; }
  html body.fs.fs-blip .suggestion-follow-btn > i { display: none !important; }
  html body.fs.fs-blip .suggestion-follow-btn::after { content: "Follow"; font: 800 15px var(--fs-font); color: #fff; }
  html body.fs.fs-blip :is(.suggestions-card, .groups-card) .view-more-link { display: block; text-align: center; font: 800 17px var(--fs-font) !important; margin: 6px 0 0 !important; border: 0 !important; }
  html body.fs.fs-blip .group-list { display: flex !important; flex-direction: column; gap: 4px; }
  html body.fs.fs-blip .group-item { display: flex !important; align-items: center; gap: 12px; padding: 4px !important; border: 0 !important; background: none !important; }
  html body.fs.fs-blip .group-item + .group-item { border-top: 0 !important; }
  html body.fs.fs-blip .group-icon { width: 84px !important; height: 50px !important; flex: 0 0 84px; border-radius: 0 !important; font-size: 0 !important; -webkit-mask-box-image: var(--fs-photo-mask) 30 / 9px stretch;
    background: var(--fs-icon-groups-on) center / 26px no-repeat, var(--bl-blue) !important; }
  html body.fs.fs-blip .group-icon > i { display: none !important; }
  html body.fs.fs-blip .group-icon:has(img) { background: none !important; }
  html body.fs.fs-blip .group-name { font: 900 17px var(--fs-title-font) !important; margin: 0 !important; }
  html body.fs.fs-blip .group-desc { display: none !important; }
  html body.fs.fs-blip .group-item .group-members { font: 600 15px var(--fs-font) !important; display: flex; align-items: center; gap: 6px; }
  html body.fs.fs-blip .group-item .group-members > i { width: 18px; height: 18px; font-size: 0 !important; color: transparent !important; background: var(--fs-icon-groups) center / contain no-repeat; }
  html body.fs.fs-blip #page-home .right-sidebar > .card:last-child { padding: 0 !important; border: 0 !important; border-image: none !important; }
  html body.fs.fs-blip #trendingHashtagsBtn { height: 62px; width: 100%; display: flex !important; align-items: center; justify-content: center; gap: 12px; font: 900 24px var(--fs-title-font) !important; color: #fff !important;
    border: 0 solid transparent !important; border-image: var(--fs-btn-primary) 0 67 fill / 0 31px stretch !important; background: none !important; }
  html body.fs.fs-blip #trendingHashtagsBtn > i { color: #ffb020 !important; font-size: 26px !important; }
  html body.fs.fs-blip #trendingHashtagsBtn::after { content: "›"; font: 900 30px var(--fs-font); margin-left: 4px; }
}
@media (min-width: 769px) {
  html body.fs.fs-blip .suggestion-item { width: 100% !important; max-width: none !important; min-width: 0 !important; flex: 0 0 auto !important; box-sizing: border-box; }
  html body.fs.fs-blip #profileCard .edit-profile-btn { display: flex !important; align-items: center; justify-content: center; }
  html body.fs.fs-blip #profileCard .edit-profile-btn > i { display: block !important; background: var(--fs-icon-edit) center / contain no-repeat !important; }
  /* Daily Quests (concept): left block = mascot + "Daily / Quests" + "Resets daily", divider, then the three rows */
  html body.fs.fs-blip #page-home .quest-panel { display: grid !important; grid-template-columns: 158px 1fr; column-gap: 14px; row-gap: 0; align-items: center; padding: 4px 6px !important; position: relative; }
  html body.fs.fs-blip #page-home .quest-panel-header { grid-column: 1; grid-row: 1 / span 3; display: grid !important; grid-template-columns: 50px 1fr; grid-template-rows: auto auto; column-gap: 6px; align-items: center; margin: 0 !important; padding: 0 !important; }
  html body.fs.fs-blip #page-home .quest-panel-header::before { content: ""; grid-row: 1 / span 2; width: 50px; height: 50px; background: var(--fs-mascot-head) center / contain no-repeat; }
  html body.fs.fs-blip #page-home .quest-panel-header h4 { font-size: 23px !important; line-height: 24px !important; margin: 0 !important; width: 80px; }
  html body.fs.fs-blip #page-home .quest-panel-header .quest-reset { grid-column: 2; font-size: 13.5px !important; }
  html body.fs.fs-blip #page-home .quest-panel::before { content: ""; position: absolute; left: 168px; top: 10%; bottom: 10%; width: 4px; background: var(--fs-divider) center / 2px 100% no-repeat; }
  html body.fs.fs-blip #page-home .quest-item { grid-column: 2; height: 36px !important; }
}
@media (min-width: 769px) {
  html body.fs.fs-blip #page-home .photos-preview { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; width: 100%; }
  html body.fs.fs-blip #page-home .photos-preview > * { width: 100% !important; min-width: 0 !important; max-width: none !important; }
  html body.fs.fs-blip #page-home .story-item { width: auto !important; max-width: none !important; min-width: 84px; }
  html body.fs.fs-blip #page-home .story-name { white-space: nowrap; overflow: visible !important; text-overflow: clip !important; max-width: none !important; width: auto !important; }
  html body.fs.fs-blip .promo-card .promo-title { height: 42px; font-size: 20px !important; }
}
@media (min-width: 769px) {
  html body.fs.fs-blip #page-home .featured-skin-banner { min-height: 0 !important; }
  html body.fs.fs-blip #page-home .featured-info { padding-top: 26px !important; }
  html body.fs.fs-blip #page-home .featured-info h5 { font-size: 25px !important; line-height: 27px !important; margin: 0 !important; }
  html body.fs.fs-blip #page-home .featured-info p { font-size: 14.5px !important; line-height: 18px !important; -webkit-line-clamp: 1 !important; }
  html body.fs.fs-blip #page-home .featured-body .btn { height: 32px !important; margin-top: 2px !important; grid-row: 3; align-self: end; border-image-width: 0 16px !important; font-size: 17px !important; }
  html body.fs.fs-blip #page-home .featured-body { grid-template-rows: auto 1fr auto; height: 117px; }
  html body.fs.fs-blip #page-home .quest-item { height: 30px !important; }
  html body.fs.fs-blip #page-home .quest-info p { font-size: 13.5px !important; line-height: 15px !important; }
  html body.fs.fs-blip #page-home .quest-bar { height: 10px !important; }
  html body.fs.fs-blip #page-home .quest-reward { height: 26px !important; }
  html body.fs.fs-blip .suggestion-item { padding: 1px 4px !important; }
  html body.fs.fs-blip .suggestion-avatar { width: 36px !important; height: 36px !important; flex-basis: 36px !important; }
  html body.fs.fs-blip .suggestion-list { gap: 4px !important; }
}
@media (min-width: 769px) {
  html body.fs.fs-blip #page-home .featured-body { height: auto !important; min-height: 117px; grid-template-rows: auto auto auto !important; align-content: start; }
  html body.fs.fs-blip #page-home .featured-body .btn { align-self: start !important; margin-top: 6px !important; }
  html body.fs.fs-blip #page-home .featured-skin-banner { padding-bottom: 6px !important; }
}

/* Blip menu: the painted panel 9-sliced (blue strip kept at its painted width), page dimmed behind it (concept menu screens) */
.blip-menu { background: none !important; border: solid transparent; border-width: 14px 12px 16px 62px; padding: 0 !important;
  border-image: var(--fs-menu-panel) 60 60 70 200 fill / 19px 19px 22px 62px stretch; box-sizing: border-box; width: min(300px, calc(100vw - 16px)); }
.blip-menu-side { position: absolute; left: -62px; top: -14px; bottom: -16px; width: 56px; padding: 18px 0 12px !important; }
.blip-menu-list { padding-left: 4px !important; max-height: min(66vh, 560px); }
.blip-menu-list h4 { margin: 2px 6px 6px !important; font-size: 23px !important; }
.blip-row { min-height: 44px; font-size: 16.5px; }
.blip-sw { width: 36px; height: 36px; flex-basis: 36px; }
body.fs-blip::after { content: ""; position: fixed; inset: 0; z-index: 10040; background: rgba(10, 20, 60, .28); opacity: 0; pointer-events: none; transition: opacity .2s; }
body.fs-blip:has(#blipMenu.is-open)::after { opacity: 1; }
/* colour-skin wipe: the toast is the painted white pill */
.blip-toast { background: none !important; border: 0 solid transparent !important; border-radius: 0 !important; border-image: var(--fs-coin-pill) 0 63 fill / 0 22px stretch !important; padding: 12px 24px !important; color: #000048 !important; }
/* card tail at exactly the card's slice scale (0.283) so its outline lands on the card's outline (no doubled lines) */
html body.fs.fs-blip:is(*) :is(#profileCard, #gvProfileCard)::after { width: 51px !important; height: 28px !important; bottom: -23px !important; right: 24px !important; }

/* ===== bottom nav, measured on the concept strips (ov-home-a / ov-group-a): tiles ~57 x 50, 10px corners,
   icons ~27pt bold, labels 14px heavy navy; active tile keeps 4px air each side ===== */
@media (max-width: 768px) {
  html body.fs.fs-blip .nav-center { min-height: 66px !important; padding: 6px 4px calc(env(safe-area-inset-bottom, 0px) + 8px) !important; align-items: center !important; }
  html body.fs.fs-blip .nav-center .nav-link, html body.fs.fs-blip .blip-start-btn { height: 52px !important; flex: 1 1 0 !important; margin: 0 2px !important; gap: 1px !important;
    font: 800 14px var(--fs-font) !important; letter-spacing: -.3px !important; }
  html body.fs.fs-blip .nav-center .nav-link > i { width: 27px !important; height: 27px !important; min-width: 27px; }
  html body.fs.fs-blip .nav-center .nav-link.active, html body.fs.fs-blip:has(#page-group-view.active) .nav-center .nav-link[data-page="groups"], html body.fs.fs-blip .blip-start-btn {
    border-image-width: 16px !important; margin: 0 3px !important; }
  html body.fs.fs-blip .blip-start-btn .blip-start-head { width: 32px !important; height: 30px !important; }
  html body.fs.fs-blip .nav-center .nav-link[data-page="messages"] { flex: 1.25 1 0 !important; }
  html body.fs.fs-blip .nav-center .nav-link[data-page="profiles"] { flex: 1.15 1 0 !important; }
  html body.fs.fs-blip .nav-center .nav-link:not(.active) > i { filter: none; }
}
/* nav labels: full strength navy (the app dims them to .7); the Blip tile label is white like the concept */
html body.fs.fs-blip .nav-center .nav-link > span:not(.notif-badge) { opacity: 1 !important; }
html body.fs.fs-blip .nav-center .nav-link:not(.active) > span:not(.notif-badge) { color: #080848 !important; }
html body.fs.fs-blip .nav-center .nav-link.active > span:not(.notif-badge) { color: #fff !important; }
html body.fs.fs-blip:has(#page-group-view.active) .nav-center .nav-link[data-page="groups"] > span:not(.notif-badge) { color: #fff !important; }
html body.fs.fs-blip .blip-start-btn > span { color: #fff !important; opacity: 1 !important; }
@media (min-width: 769px) { html body.fs.fs-blip .blip-start-btn > span { color: #000048 !important; } html body.fs.fs-blip .nav-center .nav-link > span:not(.notif-badge) { color: #fff !important; } }
/* group page nav = its own concept: Skins is a coat hanger, Messages an envelope, the active Groups tile shows the mascot head */
@media (max-width: 768px) {
  html body.fs.fs-blip:has(#page-group-view.active) .nav-center .nav-link[data-page="shop"] > i { background-image: var(--fs-icon-hanger) !important; }
  html body.fs.fs-blip:has(#page-group-view.active) .nav-center .nav-link[data-page="messages"] > i { background-image: var(--fs-icon-envelope) !important; }
  html body.fs.fs-blip:has(#page-group-view.active) .nav-center .nav-link[data-page="groups"] > i { background-image: var(--fs-mascot-head) !important; width: 34px !important; height: 30px !important; }
}
/* tiles keep the concept's near-square size at any width (they no longer stretch with the screen): each tab is a
   58 x 50 box (wider only when its label needs it), spread evenly across the bar, always inside it */
@media (max-width: 768px) {
  html body.fs.fs-blip .nav-center { justify-content: space-between !important; padding: 8px 10px calc(env(safe-area-inset-bottom, 0px) + 8px) !important; min-height: 66px !important; box-sizing: border-box; }
  html body.fs.fs-blip .nav-center .nav-link, html body.fs.fs-blip .blip-start-btn,
  html body.fs.fs-blip .nav-center .nav-link[data-page="messages"], html body.fs.fs-blip .nav-center .nav-link[data-page="profiles"] {
    flex: 0 0 auto !important; width: auto !important; min-width: 58px !important; max-width: 76px; height: 50px !important; padding: 0 5px !important; margin: 0 !important; box-sizing: border-box; }
}
/* wider phones / tablets: the tabs keep the concept's phone spacing (a 394pt group, centred) instead of spreading out */
@media (max-width: 768px) {
  html body.fs.fs-blip .nav-center { padding-left: max(10px, calc((100% - 394px) / 2)) !important; padding-right: max(10px, calc((100% - 394px) / 2)) !important; }
}
/* wider phones / small tablets (403-768): the concept is drawn at phone width, so the page column, the top bar's contents
   and the nav tabs all stay at that width, centred (the bars themselves still run edge to edge) */
@media (min-width: 403px) and (max-width: 768px) {
  html body.fs.fs-blip .page.active { max-width: 402px !important; margin-left: auto !important; margin-right: auto !important; }
  html body.fs.fs-blip .nav-container { max-width: 402px !important; margin: 0 auto !important; }
}
html body.fs.fs-blip .page { scrollbar-width: none; }
html body.fs.fs-blip .page::-webkit-scrollbar { display: none; width: 0; height: 0; }

/* ======================================================================================================== DESKTOP GROUPS TAB (ref/ov-groupsdesk.png) */
@media (min-width: 769px) {
  html body.fs.fs-blip #page-groups.page.active { padding: 64px 0 40px !important; }
  html body.fs.fs-blip #page-groups .page-container { max-width: none !important; width: auto !important; padding: 0 26px !important; margin: 0 !important; }
  html body.fs.fs-blip #page-groups .page-header { position: relative; display: flex !important; align-items: center; gap: 0; height: 70px; margin: 18px 0 14px !important; padding: 0 !important; }
  html body.fs.fs-blip #page-groups .page-header h2 { display: flex !important; align-items: center; gap: 14px; margin: 0 0 0 38px !important; font: 900 41px var(--fs-title-font) !important; color: var(--bl-ink) !important; width: 297px; }
  html body.fs.fs-blip #page-groups .page-header h2 > i { width: 56px; height: 48px; font-size: 0 !important; color: transparent !important; background: var(--fs-icon-groups) center / contain no-repeat; flex: 0 0 56px; }
  html body.fs.fs-blip #page-groups .page-actions { display: flex !important; align-items: center; gap: 27px; margin: 0 !important; }
  html body.fs.fs-blip #page-groups .page-search { width: 384px !important; height: 40px; display: flex !important; align-items: center; gap: 10px; padding: 0 16px !important; margin: 0 !important; }
  html body.fs.fs-blip #page-groups .page-search > i { position: static !important; width: 22px; height: 22px; font-size: 0 !important; color: transparent !important; background: var(--fs-icon-search) center / contain no-repeat;
    filter: brightness(0) saturate(100%) invert(9%) sepia(98%) saturate(6000%) hue-rotate(245deg); }
  html body.fs.fs-blip #page-groups .page-search input { font: 600 19px var(--fs-font) !important; color: var(--bl-ink) !important; background: transparent !important; padding: 0 !important; border: 0 !important; flex: 1; }
  html body.fs.fs-blip #createGroupBtn { width: 206px; height: 42px; display: flex !important; align-items: center; justify-content: center; gap: 8px; font: 800 20px var(--fs-font) !important; padding: 0 !important; border-image-width: 0 21px !important; }
  html body.fs.fs-blip #page-groups .page-header::after { content: ""; position: absolute; left: 1052px; top: -10px; width: 225px; height: 131px; pointer-events: none;
    background: var(--fs-mascot-wave) center / contain no-repeat; animation: blBob 3.2s ease-in-out infinite; }
  html body.fs.fs-blip #groupsTabs { display: flex !important; gap: 10px; margin: 0 0 22px 11px !important; padding: 0 !important; }
  html body.fs.fs-blip #groupsTabs .search-tab { width: 213px; height: 43px !important; display: flex !important; align-items: center; justify-content: center; gap: 10px; margin: 0 !important; padding: 0 !important;
    font: 800 21px var(--fs-font) !important; border-image-source: var(--fs-btn-secondary) !important; border-image-slice: 0 74 fill !important; border-image-width: 0 21px !important; }
  html body.fs.fs-blip #groupsTabs .search-tab:first-child { width: 225px; }
  html body.fs.fs-blip #groupsTabs .search-tab.active { border-image-source: var(--fs-chip-active) !important; border-image-slice: 0 75 fill !important; }
  html body.fs.fs-blip #groupsTabs .search-tab > i { width: 28px; height: 26px; font-size: 0 !important; color: transparent !important; background: center / contain no-repeat; }
  html body.fs.fs-blip #groupsTabs .search-tab > i.fa-crown { background-image: var(--fs-icon-crown); }
  html body.fs.fs-blip #groupsTabs .search-tab > i.fa-users { background-image: var(--fs-icon-groups); }
  html body.fs.fs-blip #groupsTabs .search-tab > i.fa-compass { background-image: var(--fs-icon-compass); }
  html body.fs.fs-blip #groupsTabs .search-tab.active > i { filter: brightness(0) invert(1); }
  /* cards ~258 x 286, two rows, 11px gaps */
  html body.fs.fs-blip #groupsSections .scroll-2row { grid-auto-columns: 258px !important; gap: 25px 11px !important; padding: 0 0 12px !important; }
  html body.fs.fs-blip #groupsSections .group-card { min-width: 258px !important; max-width: 258px !important; min-height: 286px; display: flex !important; flex-direction: column; overflow: visible !important; border-width: 7px !important; transform: none !important; }
  html body.fs.fs-blip #groupsSections .group-card-banner { height: 105px !important; flex: 0 0 105px; position: relative; font-size: 0 !important; overflow: visible !important; border-radius: 12px 12px 0 0; }
  html body.fs.fs-blip #groupsSections .group-card-banner > i { display: block; position: absolute; left: 50%; bottom: -46px; width: 92px; height: 92px; margin-left: -46px; border-radius: 50%; background: var(--fs-icon-groups-on) center / 46% no-repeat, var(--bl-blue); }
  html body.fs.fs-blip #groupsSections .group-card-banner > img { position: absolute !important; left: 50% !important; bottom: -46px !important; width: 92px !important; height: 92px !important; margin-left: -46px; border: 0 !important; border-radius: 50% !important; object-fit: cover; }
  html body.fs.fs-blip #groupsSections .group-card-banner::after { content: ""; position: absolute; left: 50%; bottom: -51px; width: 102px; height: 102px; margin-left: -51px; z-index: 2; pointer-events: none; background: var(--fs-group-avatar-frame) center / 100% 100% no-repeat; }
  html body.fs.fs-blip #groupsSections .group-card-body { padding: 52px 8px 6px !important; text-align: center; display: flex !important; flex-direction: column; align-items: center; line-height: 1 !important; }
  html body.fs.fs-blip #groupsSections .group-card-body h4 { font: 900 24px/28px var(--fs-title-font) !important; margin: 0 0 4px !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  html body.fs.fs-blip #groupsSections .group-card-body p { font: 500 15px/19px var(--fs-font) !important; margin: 0 0 8px !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  html body.fs.fs-blip #groupsSections .group-members { font: 800 17px var(--fs-font) !important; display: inline-flex; align-items: center; gap: 8px; }
  html body.fs.fs-blip #groupsSections .group-members > i { width: 24px; height: 22px; font-size: 0 !important; color: transparent !important; background: var(--fs-icon-groups) center / contain no-repeat; }
  html body.fs.fs-blip #groupsSections .group-card-actions { margin-top: auto !important; padding: 0 4px 4px !important; display: grid !important; grid-template-columns: 1fr 1fr; gap: 10px !important; }
  html body.fs.fs-blip #groupsSections .group-card-actions .btn { width: auto !important; height: 34px !important; min-height: 0 !important; padding: 0 !important; display: flex !important; align-items: center; justify-content: center; gap: 6px;
    font: 800 17px var(--fs-font) !important; border-image-width: 0 17px !important; }
  html body.fs.fs-blip #groupsSections .gc-btn-text { display: inline !important; }
  html body.fs.fs-blip #groupsSections .gc-btn-icon { display: none !important; }
  html body.fs.fs-blip #groupsSections .join-group-btn .gc-btn-icon:is(.fa-check, .fa-plus) { display: inline-block !important; font-size: 14px !important; }
  html body.fs.fs-blip #groupsSections .gc-icon-edit-btn { position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; padding: 0 !important; border: 0 !important; z-index: 3; opacity: 1 !important; font-size: 0 !important;
    background: var(--fs-icon-edit) center / 18px no-repeat, var(--fs-btn-square) center / contain no-repeat !important; }
}
@media (min-width: 769px) { html body.fs.fs-blip #groupsTabs { justify-content: flex-start !important; width: auto !important; } }
/* desktop Groups: exact numbers from the concept overlay */
@media (min-width: 769px) {
  html body.fs.fs-blip #page-groups .page-header { margin-top: 11px !important; }
  html body.fs.fs-blip #page-groups #groupsTabs { justify-content: flex-start !important; gap: 0 !important; margin: 0 0 17px 11px !important; }
  html body.fs.fs-blip #page-groups #groupsTabs .search-tab { margin-right: 10px !important; }
  html body.fs.fs-blip #page-groups #groupsTabs .search-tab:nth-child(1) { width: 225px !important; }
  html body.fs.fs-blip #page-groups #groupsTabs .search-tab:nth-child(2) { width: 197px !important; }
  html body.fs.fs-blip #page-groups #groupsTabs .search-tab:nth-child(3) { width: 213px !important; }
  /* mascot: the art fills ~78% of its canvas, so the box is sized for the VISIBLE mascot to sit at 1078..1303 x 72..203 */
  html body.fs.fs-blip #page-groups .page-header::after { left: 1025px !important; top: -62px !important; width: 250px !important; height: 250px !important; }
  html body.fs.fs-blip #groupsSections .scroll-2row { grid-auto-columns: 265px !important; }
  html body.fs.fs-blip #groupsSections .group-card { min-width: 265px !important; max-width: 265px !important; height: 286px !important; min-height: 0 !important; box-sizing: border-box; }
  html body.fs.fs-blip #groupsSections .group-card-body h4 { white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; display: block !important; width: 100%; }
}
@media (min-width: 769px) { html body.fs.fs-blip #page-groups #groupsTabs#groupsTabs#groupsTabs { justify-content: flex-start !important; } }
@media (min-width: 769px) { html body.fs.fs-blip #page-groups #groupsTabs#groupsTabs#groupsTabs { margin-bottom: 24px !important; } }
/* desktop group card internals (concept): picture 89pt hanging 28pt below the 105pt banner; name at 140, desc 173-196, members 222, buttons 243-276 */
@media (min-width: 769px) {
  html body.fs.fs-blip #groupsSections .group-card-banner > i, html body.fs.fs-blip #groupsSections .group-card-banner > img { width: 88px !important; height: 88px !important; margin-left: -44px !important; bottom: -28px !important; }
  html body.fs.fs-blip #groupsSections .group-card-banner::after { width: 98px !important; height: 98px !important; margin-left: -49px !important; bottom: -33px !important; }
  html body.fs.fs-blip #groupsSections .group-card-body { padding: 30px 8px 0 !important; }
  html body.fs.fs-blip #groupsSections .group-card-body h4 { margin: 0 0 3px !important; }
  html body.fs.fs-blip #groupsSections .group-card-body p { margin: 0 0 6px !important; min-height: 38px; }
}
html body.fs.fs-blip #page-groups .page-search > i { align-self: center !important; margin: 0 !important; top: auto !important; left: auto !important; }
@media (min-width: 769px) { html body.fs.fs-blip #groupsSections .group-card-body p { min-height: 43px; } }
html body.fs.fs-blip .page-search > i { transform: none !important; }
/* phone app: tiles tall enough for icon + label (nothing clipped), content centred in the tile; bar keeps its padding */
@media (max-width: 768px) {
  html body.fs.fs-blip .nav-center { min-height: 74px !important; padding-top: 8px !important; padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 8px) !important; }
  html body.fs.fs-blip .nav-center .nav-link, html body.fs.fs-blip .blip-start-btn,
  html body.fs.fs-blip .nav-center .nav-link[data-page="messages"], html body.fs.fs-blip .nav-center .nav-link[data-page="profiles"] {
    height: 58px !important; justify-content: center !important; gap: 2px !important; line-height: 16px !important; overflow: visible !important; }
  html body.fs.fs-blip .nav-center .nav-link > span:not(.notif-badge), html body.fs.fs-blip .blip-start-btn > span { line-height: 16px !important; display: block; padding-bottom: 1px; }
}

/* profile / group card = ONE painting (card + tail) 9-sliced with the tail inside the bottom-right corner slice, so the outline and the
   tail join exactly as painted (no separate tail piece). Same 0.283 scale as every card: 2px outline, 16px corners. */
html body.fs.fs-blip:is(*) :is(#profileCard, #gvProfileCard)::before { border-width: 0 !important;
  border-image: var(--fs-card-tail-tight) 60 210 142 60 fill / 17px 59px 40px 17px / 0 0 23px 0 stretch !important; }
html body.fs.fs-blip:is(*) :is(#profileCard, #gvProfileCard)::after { display: none !important; }
@media (min-width: 769px) { html body.fs.fs-blip:is(*) #profileCard::before { transform: scaleX(-1); } }
/* the painted band is very slightly translucent: back it with its own blue so nothing scrolling underneath shows through */
html body.fs.fs-blip .navbar { background-color: #1650d6 !important; }
/* post photos show WHOLE (owner: "the pictures are all cut"): natural shape, full width, rounded corners kept; very tall photos
   are capped and shown whole inside the frame (no crop) */
html body.fs.fs-blip .post-media-grid.pm-count-1, html body.fs.fs-blip #page-home .post-media-grid.pm-count-1 { aspect-ratio: auto !important; height: auto !important; max-height: none !important; }
html body.fs.fs-blip .post-media-grid.pm-count-1 .pm-thumb { height: auto !important; }
html body.fs.fs-blip .post-media-grid.pm-count-1 .pm-thumb :is(img, video) { width: 100% !important; height: auto !important; max-height: 560px !important; object-fit: contain !important; display: block; }
html body.fs.fs-blip .post-media-grid:not(.pm-count-1) { aspect-ratio: auto !important; }
html body.fs.fs-blip .post-media-grid:not(.pm-count-1) .pm-thumb :is(img, video) { object-fit: cover !important; aspect-ratio: 1; height: auto !important; }
html body.fs.fs-blip .post-media-grid .pm-thumb :is(img, video) { border-radius: 10px !important; }
@media (max-width: 768px) { html body.fs.fs-blip #groupsSections .group-card-body h4 { white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; display: block !important; width: 100%; } }
/* rounded-corner masks must keep their middle ("fill"), or iPhone masks the centre of the photo out */
html body.fs.fs-blip #gvCoverBanner { -webkit-mask-box-image: var(--fs-cover-mask) 40 fill / 14px stretch !important; mask-border: var(--fs-cover-mask) 40 fill / 14px stretch !important; }
html body.fs.fs-blip .fs-tl-slot-1 { -webkit-mask-box-image: var(--fs-cover-mask) 40 fill / 14px stretch !important; mask-border: var(--fs-cover-mask) 40 fill / 14px stretch !important; }
html body.fs.fs-blip :is(.post-media-grid, .photos-preview > *, .featured-preview) { -webkit-mask-box-image: var(--fs-photo-mask) 30 fill / 10px stretch !important; mask-border: var(--fs-photo-mask) 30 fill / 10px stretch !important; }
@media (min-width: 769px) { html body.fs.fs-blip #page-home .fs-tl-slot-1 { -webkit-mask-box-image: var(--fs-cover-mask) 40 fill / 16px stretch !important; } }

/* ======================================================================================================== MESSAGES (phone) — ref/ov-messages-a.png */
@media (max-width: 768px) {
  html body.fs.fs-blip #page-messages .page-container { padding: 0 12px !important; margin: 0 !important; height: auto !important; }
  html body.fs.fs-blip #page-messages .msg-sidebar { background: none !important; border: 0 !important; border-image: none !important; box-shadow: none !important; padding: 0 !important; width: auto !important; }
  html body.fs.fs-blip #page-messages .msg-sidebar-header { padding: 10px 6px 6px !important; border: 0 !important; background: none !important; }
  html body.fs.fs-blip #page-messages .msg-sidebar-header h3 { font: 900 35px/40px var(--fs-title-font) !important; color: var(--bl-ink) !important; margin: 0 !important; }
  html body.fs.fs-blip #page-messages .msg-search { height: 38px; margin: 6px 0 12px !important; padding: 0 14px !important; display: flex !important; align-items: center; gap: 10px; background: none !important; box-shadow: none !important;
    border: 0 solid transparent !important; border-image: var(--fs-field) 0 64 fill / 0 19px stretch !important; }
  html body.fs.fs-blip #page-messages .msg-search > i { width: 22px; height: 22px; font-size: 0 !important; color: transparent !important; background: var(--fs-icon-search) center / contain no-repeat; position: static !important;
    filter: brightness(0) saturate(100%) invert(9%) sepia(98%) saturate(6000%) hue-rotate(245deg); transform: none !important; }
  html body.fs.fs-blip #page-messages .msg-search input { font: 600 17px var(--fs-font) !important; color: var(--bl-ink) !important; background: transparent !important; border: 0 !important; padding: 0 !important; flex: 1; height: 100%; }
  html body.fs.fs-blip #page-messages .msg-contact-list { display: flex !important; flex-direction: column; gap: 8px; padding: 0 0 90px !important; overflow: visible !important; max-height: none !important; }
  html body.fs.fs-blip #page-messages .msg-contact { display: flex !important; align-items: center; gap: 12px; min-height: 52px; padding: 2px 4px !important; margin: 0 !important; position: relative;
    border: 8px solid transparent !important; border-bottom-width: 8px !important; }
  html body.fs.fs-blip #page-messages #newGroupDmBtn { min-height: 64px; }
  html body.fs.fs-blip #page-messages #newGroupDmBtn > div:first-child { width: 48px !important; height: 48px !important; background: var(--fs-btn-round) center / contain no-repeat !important; border-radius: 0 !important; }
  html body.fs.fs-blip #page-messages #newGroupDmBtn > div:first-child > i { width: 26px; height: 26px; font-size: 0 !important; color: transparent !important; background: var(--fs-icon-plus) center / contain no-repeat; }
  html body.fs.fs-blip #page-messages .msg-contact img { width: 50px !important; height: 50px !important; border-radius: 50% !important; padding: 2px; box-sizing: border-box; background: var(--fs-avatar-ring) center / 100% 100% no-repeat; }
  html body.fs.fs-blip #page-messages .msg-contact-info { flex: 1; min-width: 0; }
  html body.fs.fs-blip #page-messages .msg-contact-name { font: 900 19px/22px var(--fs-title-font) !important; color: var(--bl-ink) !important; display: flex; align-items: center; gap: 8px; }
  html body.fs.fs-blip #page-messages #newGroupDmBtn .msg-contact-name { color: var(--bl-ink) !important; font-size: 20px !important; }
  html body.fs.fs-blip #page-messages .msg-contact-preview { font: 500 16px/20px var(--fs-font) !important; color: var(--bl-text) !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  html body.fs.fs-blip #page-messages .msg-contact-time { position: absolute; right: 6px; top: 6px; font: 600 14.5px var(--fs-font) !important; color: var(--bl-text) !important; }
  html body.fs.fs-blip #page-messages :is(.msg-unread-badge, .msg-unread, .unread-count) { min-width: 26px; height: 22px; padding: 0 8px; border-radius: 0 !important; font: 800 14px/22px var(--fs-font) !important; color: #fff !important;
    background: none !important; border: 0 solid transparent; border-image: var(--fs-btn-primary) 0 67 fill / 0 11px stretch; }
}
@media (max-width: 768px) {
  html body.fs.fs-blip #page-messages .msg-sidebar-header { padding: 2px 6px 2px !important; }
  html body.fs.fs-blip #page-messages .msg-search { margin: 4px 0 10px !important; }
  html body.fs.fs-blip #page-messages .msg-contact-list { gap: 4px !important; }
  html body.fs.fs-blip #page-messages .msg-contact { min-height: 0 !important; height: 56px; box-sizing: border-box; border-width: 6px !important; padding: 0 4px !important; }
  html body.fs.fs-blip #page-messages #newGroupDmBtn { height: 68px; }
  html body.fs.fs-blip #page-messages .msg-contact img { width: 46px !important; height: 46px !important; }
  html body.fs.fs-blip #page-messages .msg-contact-name { font-size: 18.5px !important; line-height: 21px !important; }
  html body.fs.fs-blip #page-messages .msg-contact-preview { font-size: 15.5px !important; line-height: 19px !important; }
  html body.fs.fs-blip #page-messages .msg-contact-time { top: 4px !important; }
}
@media (max-width: 768px) {
  html body.fs.fs-blip #page-messages .msg-contact { border-style: solid !important; border-color: transparent !important; border-width: 6px !important;
    border-image: var(--fs-panel-card-tight) 60 60 98 60 fill / 17px 17px 28px 17px / 0 0 11px 0 stretch !important; background: none !important; }
  html body.fs.fs-blip #page-messages .msg-contact.active { border-image-source: var(--fs-panel-card-active-tight) !important; }
}

/* ======================================================================================================== NOTIFICATIONS (phone) — ref/ov-notifications-a.png */
@media (max-width: 768px) {
  html body.fs.fs-blip #page-notifications .page-container { padding: 0 12px 90px !important; }
  html body.fs.fs-blip #page-notifications .page-header { padding: 6px 4px 4px !important; margin: 0 !important; }
  html body.fs.fs-blip #page-notifications .page-header h2 { font: 900 31px/36px var(--fs-title-font) !important; margin: 0 !important; color: var(--bl-ink) !important; }
  html body.fs.fs-blip #page-notifications .page-header h2 > i { display: none !important; }
  html body.fs.fs-blip #notifTabs { display: grid !important; grid-template-columns: 0.85fr 1.1fr 1.2fr 1fr; gap: 7px 6px; margin: 6px 0 12px !important; padding: 0 !important; overflow: visible !important; }
  html body.fs.fs-blip #notifTabs .search-tab { height: 30px !important; padding: 0 4px !important; margin: 0 !important; display: flex !important; align-items: center; justify-content: center; gap: 4px;
    font: 800 15px var(--fs-font) !important; white-space: nowrap; border-image-width: 0 15px !important; }
  html body.fs.fs-blip #notifTabs .search-tab > i { display: none !important; }
  html body.fs.fs-blip #notifList { display: flex; flex-direction: column; gap: 8px; }
  html body.fs.fs-blip #notifList .notif-item { display: flex !important; align-items: center; gap: 10px; min-height: 0; padding: 0 6px !important; margin: 0 !important;
    border-style: solid !important; border-color: transparent !important; border-width: 6px !important;
    border-image: var(--fs-panel-card-tight) 60 60 98 60 fill / 17px 17px 28px 17px / 0 0 11px 0 stretch !important; background: none !important; }
  html body.fs.fs-blip #notifList .notif-icon { width: 28px !important; height: 28px !important; flex: 0 0 28px; border-radius: 0 !important; background: center / contain no-repeat !important; font-size: 0 !important; }
  html body.fs.fs-blip #notifList .notif-icon > i { display: none !important; }
  html body.fs.fs-blip #notifList .notif-icon:has(.fa-heart) { background-image: var(--fs-icon-like-on) !important; }
  html body.fs.fs-blip #notifList .notif-icon:has(.fa-comment) { background-image: var(--fs-icon-comment) !important; }
  html body.fs.fs-blip #notifList .notif-icon:has(.fa-reply) { background-image: var(--fs-icon-comment) !important; }
  html body.fs.fs-blip #notifList .notif-icon:has(.fa-user-plus) { background-image: var(--fs-icon-people) !important; }
  html body.fs.fs-blip #notifList .notif-icon:has(.fa-at) { background-image: var(--fs-icon-user) !important; }
  html body.fs.fs-blip #notifList .notif-icon:has(:is(.fa-envelope, .fa-envelope-open)) { background-image: var(--fs-icon-envelope) !important; }
  html body.fs.fs-blip #notifList .notif-icon:has(.fa-coins) { background-image: var(--fs-coin-stack) !important; }
  html body.fs.fs-blip #notifList .notif-icon:has(.fa-palette) { background-image: var(--fs-icon-skins) !important; }
  html body.fs.fs-blip #notifList .notif-icon:has(:is(.fa-users, .fa-cog, .fa-bell)) { background-image: var(--fs-icon-groups) !important; }
  html body.fs.fs-blip #notifList .notif-text { display: flex !important; align-items: center; gap: 8px; min-height: 30px; }
  html body.fs.fs-blip #notifList .notif-text p { flex: 1; min-width: 0; margin: 0 !important; font: 800 15.5px/19px var(--fs-font) !important; color: var(--bl-ink) !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block !important; }
  html body.fs.fs-blip #notifList .notif-text > span { flex: 0 0 auto; font: 600 14px var(--fs-font) !important; color: var(--bl-text) !important; }
  html body.fs.fs-blip #notifList :is(.notif-new, .badge-new) { height: 20px; padding: 0 9px; font: 800 12px/20px var(--fs-font) !important; color: #fff !important; background: none !important;
    border: 0 solid transparent; border-image: var(--fs-btn-primary) 0 67 fill / 0 10px stretch; border-radius: 0 !important; }
}
@media (max-width: 768px) {
  html body.fs.fs-blip #notifList { gap: 3px; }
  html body.fs.fs-blip #notifList .notif-item { height: 36px !important; border-width: 4px !important; padding: 0 4px !important; }
  html body.fs.fs-blip #notifList .notif-text { min-height: 0; flex: 1; min-width: 0; }
}

/* ======================================================================================================== NETWORK (phone) — ref/ov-network-a.png (css y = ref y − 36) */
@media (max-width: 768px) {
  html body.fs.fs-blip #page-profiles .page-container { padding: 0 10px 90px !important; position: relative; }
  html body.fs.fs-blip #page-profiles .page-header { display: block !important; position: relative; padding: 0 !important; margin: 0 !important; height: 122px; }
  html body.fs.fs-blip #page-profiles .page-header::after { content: ""; position: absolute; right: -2px; top: 2px; width: 156px; height: 80px; background: var(--fs-mascot-wave) center / contain no-repeat; pointer-events: none; }
  html body.fs.fs-blip #page-profiles .page-header h2 { position: absolute; left: 8px; top: 34px; margin: 0 !important; display: flex !important; align-items: center; gap: 12px;
    font: 900 34px/40px var(--fs-title-font) !important; color: var(--bl-ink) !important; }
  html body.fs.fs-blip #page-profiles .page-header h2 > i { width: 42px; height: 42px; font-size: 0 !important; background: var(--fs-icon-network) center / contain no-repeat; }
  html body.fs.fs-blip #page-profiles .page-actions { position: absolute; left: 2px; top: 86px; width: 250px; margin: 0 !important; }
  html body.fs.fs-blip #page-profiles .page-search { height: 36px !important; width: 250px !important; padding: 0 12px 0 40px !important; position: relative; display: flex !important; align-items: center;
    border: 0 solid transparent !important; border-image: var(--fs-field) 0 64 fill / 0 18px stretch !important; background: none !important; border-radius: 0 !important; box-shadow: none !important; }
  html body.fs.fs-blip #page-profiles .page-search > i { position: absolute; left: 14px; top: 9px; width: 18px; height: 18px; font-size: 0 !important; background: var(--fs-icon-search) center / contain no-repeat; filter: brightness(0) saturate(100%) invert(9%) sepia(60%) saturate(5000%) hue-rotate(238deg); }
  html body.fs.fs-blip #profileSearch { font: 600 16px var(--fs-font) !important; color: var(--bl-ink) !important; background: none !important; border: 0 !important; padding: 0 !important; width: 100%; box-shadow: none !important; }
  html body.fs.fs-blip #profileSearch::placeholder { color: #2a2f5a !important; }
  html body.fs.fs-blip #profilesTabs { display: grid !important; grid-template-columns: 128fr 118fr 124fr; gap: 7px; margin: 13px 0 17px !important; padding: 0 !important; overflow: visible !important; }
  html body.fs.fs-blip #profilesTabs .search-tab { height: 58px !important; padding: 0 8px !important; margin: 0 !important; white-space: normal !important; text-align: center; line-height: 18px !important;
    display: flex !important; align-items: center; justify-content: center; font: 800 16px/18px var(--fs-font) !important; border-image-width: 0 22px !important; }
  html body.fs.fs-blip #profilesTabs .search-tab > i { display: none !important; }
  html body.fs.fs-blip #page-profiles .connections-wrap { margin: 0 -10px !important; }
  html body.fs.fs-blip #page-profiles .connections-columns { gap: 8px !important; padding: 0 10px !important; scroll-padding: 0 10px; }
  html body.fs.fs-blip #page-profiles .connections-col { flex: 0 0 382px !important; width: 382px !important; min-width: 382px !important; }
  html body.fs.fs-blip #page-profiles .connections-heading { height: 36px !important; width: 276px; margin: 0 0 7px !important; padding: 0 0 0 20px !important; display: flex !important; align-items: center; gap: 8px;
    font: 900 20px var(--fs-title-font) !important; color: var(--bl-ink) !important; border: 0 solid transparent !important; border-image: var(--fs-chip) 0 76 fill / 0 18px stretch !important;
    background: none !important; filter: hue-rotate(0deg); }
  html body.fs.fs-blip #page-profiles .connections-heading { border-image: none !important; background: #cfe2fb !important; border-radius: 18px !important; }
  html body.fs.fs-blip #page-profiles .connections-heading > i { display: none !important; }
  html body.fs.fs-blip #page-profiles .connections-count { font: inherit !important; color: inherit !important; background: none !important; padding: 0 !important; }
  html body.fs.fs-blip #page-profiles .connections-scroll { max-height: none !important; overflow: visible !important; padding: 0 !important; }
  html body.fs.fs-blip #page-profiles .connections-grid { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 8px !important; }
  html body.fs.fs-blip #page-profiles .profile-card-item { height: 159px !important; padding: 2px 6px 0 !important; margin: 0 !important; display: flex !important; flex-direction: column; align-items: center; justify-content: flex-start;
    border-style: solid !important; border-color: transparent !important; border-width: 6px !important; box-shadow: none !important; border-radius: 0 !important;
    border-image: var(--fs-panel-card-tight) 60 60 98 60 fill / 17px 17px 28px 17px / 0 0 11px 0 stretch !important; background: none !important; }
  html body.fs.fs-blip #page-profiles .profile-card-avatar { width: 86px !important; height: 86px !important; border-radius: 50% !important; object-fit: cover; margin: 0 0 6px !important;
    border: 0 !important; box-shadow: 0 0 0 3px #fff, 0 0 0 4.5px #00008b !important; }
  html body.fs.fs-blip #page-profiles .profile-card-name { font: 900 19px/22px var(--fs-title-font) !important; color: var(--bl-ink) !important; margin: 0 0 4px !important; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  html body.fs.fs-blip #page-profiles .profile-follow-btn { width: 130px !important; height: 32px !important; min-height: 0 !important; padding: 0 !important; margin: 0 !important; font: 800 17px var(--fs-font) !important; }
  html body.fs.fs-blip #page-profiles .connections-dots { margin: 16px 0 0 !important; gap: 8px !important; }
  html body.fs.fs-blip #page-profiles .connections-dot { width: 12px !important; height: 12px !important; border-radius: 50% !important; background: #b9d3f6 !important; border: 0 !important; }
  html body.fs.fs-blip #page-profiles .connections-dot.active { background: #fff !important; box-shadow: inset 0 0 0 3px #1650d6 !important; }
}
@media (max-width: 768px) {
  html body.fs.fs-blip #page-profiles#page-profiles .connections-col { padding: 0 !important; overflow: visible !important; max-height: none !important; background: none !important; border: 0 !important; box-shadow: none !important; }
  html body.fs.fs-blip #page-profiles#page-profiles .connections-heading { justify-content: flex-start !important; }
  html body.fs.fs-blip #page-profiles#page-profiles .profile-card-name { white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; display: block !important; text-align: center; width: 100%; }
  html body.fs.fs-blip #page-profiles .page-header::after { right: -14px; top: -10px; width: 200px; height: 104px; }
}
@media (max-width: 768px) {
  html body.fs.fs-blip #page-profiles#page-profiles .page-header { margin-top: -31px !important; }
}
@media (max-width: 768px) {
  html body.fs.fs-blip #page-profiles#page-profiles .connections-heading { margin-bottom: -2px !important; }
  html body.fs.fs-blip #page-profiles#page-profiles .profile-follow-btn { height: 32px !important; margin-top: -4px !important; }
}
@media (max-width: 768px) {
  html body.fs.fs-blip #page-profiles#page-profiles .connections-count { margin: 0 !important; }
  html body.fs.fs-blip #page-profiles#page-profiles .profile-card-avatar { margin-bottom: 0 !important; }
  html body.fs.fs-blip #page-profiles#page-profiles .profile-card-name { margin: 0 0 6px !important; }
}

/* ======================================================================================================== SEARCH (phone) — ref/ov-search-a.png (css y = ref y − 36) */
@media (max-width: 768px) {
  html body.fs.fs-blip #page-search .page-container { padding: 0 10px 90px !important; }
  html body.fs.fs-blip #page-search .page-header { display: block !important; position: relative; height: 190px; padding: 0 !important; margin: -31px 0 0 !important; }
  html body.fs.fs-blip #page-search .page-header::after { content: ""; position: absolute; right: -14px; top: -10px; width: 200px; height: 104px; background: var(--fs-mascot-wave) center / contain no-repeat; pointer-events: none; }
  html body.fs.fs-blip #page-search .page-header h2 { position: absolute; left: 6px; top: 36px; margin: 0 !important; display: flex !important; align-items: center; gap: 14px;
    font: 900 31px/38px var(--fs-title-font) !important; color: var(--bl-ink) !important; }
  html body.fs.fs-blip #page-search .page-header h2 > i { width: 34px; height: 34px; font-size: 0 !important; background: var(--fs-icon-search) center / contain no-repeat;
    filter: brightness(0) saturate(100%) invert(9%) sepia(60%) saturate(5000%) hue-rotate(238deg); }
  html body.fs.fs-blip #searchPageInput { position: absolute !important; left: 5px; right: 5px; top: 110px; width: auto !important; height: 36px !important; padding: 0 14px 0 50px !important; display: flex !important; align-items: center; margin: 0 !important;
    border: 0 solid transparent !important; border-image: var(--fs-tabs-track) 0 64 fill / 0 18px stretch !important; background: none !important; border-radius: 0 !important; box-shadow: none !important; }
  html body.fs.fs-blip #searchPageInput::before { content: "Search people, groups, posts..."; position: absolute; left: 9px; top: -24px; font: 800 15px var(--fs-font); color: var(--bl-ink); white-space: nowrap; }
  html body.fs.fs-blip #searchPageInput > i { position: absolute; left: 18px; top: 8px; width: 20px; height: 20px; font-size: 0 !important; background: var(--fs-icon-search) center / contain no-repeat;
    filter: brightness(0) saturate(100%) invert(9%) sepia(60%) saturate(5000%) hue-rotate(238deg); }
  html body.fs.fs-blip #searchPageQuery { font: 800 19px var(--fs-font) !important; color: var(--bl-ink) !important; background: none !important; border: 0 !important; padding: 0 !important; width: 100%; box-shadow: none !important; }
  html body.fs.fs-blip #searchQuery { position: absolute; left: 6px; top: 158px; margin: 0 !important; font: 900 22px/28px var(--fs-title-font) !important; color: var(--bl-ink) !important; }
  html body.fs.fs-blip #page-search .search-tabs { display: grid !important; grid-template-columns: 1fr 1fr 1fr; gap: 6px; margin: 0 2px 14px !important; padding: 0 !important; overflow: visible !important; }
  html body.fs.fs-blip #page-search .search-tab { height: 36px !important; padding: 0 6px !important; margin: 0 !important; display: flex !important; align-items: center; justify-content: center; gap: 6px;
    font: 800 17px var(--fs-font) !important; white-space: nowrap; border-image-width: 0 18px !important; }
  html body.fs.fs-blip #page-search .search-tab > i { display: none !important; }
  html body.fs.fs-blip #page-search .search-tab .tab-count { font: inherit !important; color: inherit !important; background: none !important; padding: 0 !important; margin: 0 !important; min-width: 0 !important; }
  html body.fs.fs-blip #searchResults .search-results-grid { display: flex !important; flex-direction: column; gap: 10px !important; }
  html body.fs.fs-blip #searchResults .profile-card-item { display: grid !important; grid-template-columns: 76px 1fr 106px; grid-template-rows: auto auto; column-gap: 14px; align-items: center; align-content: center;
    height: 88px !important; padding: 0 2px 0 6px !important; margin: 0 !important; text-align: left !important;
    border-style: solid !important; border-color: transparent !important; border-width: 6px !important; box-shadow: none !important; border-radius: 0 !important;
    border-image: var(--fs-panel-card-tight) 60 60 98 60 fill / 17px 17px 28px 17px / 0 0 11px 0 stretch !important; background: none !important; }
  html body.fs.fs-blip #searchResults .profile-card-avatar { grid-row: 1 / 3; width: 76px !important; height: 76px !important; border-radius: 50% !important; object-fit: cover; margin: 0 !important; border: 0 !important;
    box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #00008b !important; }
  html body.fs.fs-blip #searchResults .profile-card-name { grid-column: 2; align-self: end; margin: 0 !important; font: 900 21px/25px var(--fs-title-font) !important; color: var(--bl-ink) !important; text-align: left !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  html body.fs.fs-blip #searchResults .profile-card-bio { grid-column: 2; align-self: start; margin: 0 !important; font: 600 16px/20px var(--fs-font) !important; color: var(--bl-text) !important; text-align: left !important;
    display: -webkit-box !important; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  html body.fs.fs-blip #searchResults .profile-follow-btn { grid-column: 3; grid-row: 1 / 3; width: 106px !important; height: 36px !important; min-height: 0 !important; padding: 0 !important; margin: 0 !important; font: 800 18px var(--fs-font) !important; }
  html body.fs.fs-blip #searchResults :is(.post-card, .group-card) { margin-bottom: 10px; }
}

/* ======================================================================================================== MY PROFILE / PROFILE VIEW (phone) — ref/ov-profile-a.png, ov-otherprofile-a.png (css y = ref y − 36) */
@media (max-width: 768px) {
  html body.fs.fs-blip #page-profile-view { padding: 0 !important; }
  html body.fs.fs-blip #pvCoverBanner { position: relative; height: 138px !important; margin: 0 !important; border-radius: 0 !important; overflow: visible !important; background-color: #cfe0fb; }
  html body.fs.fs-blip #pvCoverBanner > .fs-timeline { overflow: hidden; }
  html body.fs.fs-blip #pvCoverBanner::after { content: ""; position: absolute; z-index: 2; pointer-events: none; right: 14px; top: 2px; width: 140px; height: 104px;
    background: var(--fs-mascot-wave) center / contain no-repeat; animation: blBob 3.2s ease-in-out infinite; }
  html body.fs.fs-blip #pvCoverEditBtn { position: absolute !important; right: 14px !important; top: 82px !important; bottom: auto !important; width: 34px !important; height: 34px !important; padding: 0 !important; z-index: 3 !important;
    font-size: 0 !important; background: var(--fs-btn-round) center / contain no-repeat !important; border: 0 !important; box-shadow: none !important; display: flex !important; justify-content: center; align-items: center; }
  html body.fs.fs-blip #pvCoverEditBtn > i { width: 18px; height: 18px; font-size: 0 !important; background: var(--fs-icon-camera) center / contain no-repeat; color: transparent !important; }
  html body.fs.fs-blip #page-profile-view .pv-layout { padding: 0 10px 90px !important; gap: 0 !important; display: flex !important; flex-direction: column; }
  html body.fs.fs-blip #page-profile-view .pv-col-left { margin: 0 !important; padding: 0 !important; }
  html body.fs.fs-blip #pvProfileCard { position: relative; z-index: 2; margin: -23px 0 0 !important; padding: 0 !important; overflow: visible !important; min-height: 257px;
    border-style: solid !important; border-color: transparent !important; border-width: 6px !important; box-shadow: none !important; border-radius: 0 !important;
    border-image: var(--fs-panel-card-tight) 60 60 98 60 fill / 17px 17px 28px 17px / 0 0 11px 0 stretch !important; background: none !important; }
  html body.fs.fs-blip #pvProfileCard::before, html body.fs.fs-blip #pvProfileCard::after { display: none !important; }
  html body.fs.fs-blip #pvProfileCard .profile-cover { display: none !important; }
  html body.fs.fs-blip #pvProfileCard .profile-info { display: block !important; position: relative !important; padding: 0 !important; min-height: 245px; text-align: left !important; }
  html body.fs.fs-blip #pvProfileCard .profile-avatar-wrap { position: absolute !important; left: 4px; top: -25px; width: 110px !important; height: 110px !important; margin: 0 !important; border-radius: 50% !important; z-index: 3; }
  html body.fs.fs-blip #pvProfileCard .profile-avatar-wrap::after { content: ""; display: block !important; position: absolute; inset: -3%; z-index: 2; pointer-events: none; background: var(--fs-avatar-frame) center / 100% 100% no-repeat !important; }
  html body.fs.fs-blip #pvProfileCard .profile-avatar { width: 100% !important; height: 100% !important; border-radius: 0 !important; border: 0 !important; object-fit: cover;
    -webkit-mask: var(--fs-avatar-mask) center / 100% 100% no-repeat !important; mask: var(--fs-avatar-mask) center / 100% 100% no-repeat !important; }
  html body.fs.fs-blip #pvProfileCard .avatar-edit-btn { position: absolute !important; right: 2% !important; bottom: 2% !important; width: 30px !important; height: 30px !important; z-index: 4 !important;
    background: var(--fs-camera-badge) center / contain no-repeat !important; border: 0 !important; box-shadow: none !important; }
  html body.fs.fs-blip #pvProfileCard .avatar-edit-btn > i { opacity: 0 !important; }
  html body.fs.fs-blip #pvProfileCard .fs-namecard { position: static !important; background: none !important; border: 0 !important; padding: 0 !important; margin: 0 !important; box-shadow: none !important; }
  html body.fs.fs-blip #pvProfileCard .profile-name { position: absolute; left: 126px; right: 4px; top: 6px; margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important;
    font: 900 26px/30px var(--fs-title-font) !important; color: var(--bl-ink) !important; text-align: left !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  html body.fs.fs-blip #pvProfileCard .badge-row { position: absolute; left: 130px; right: 2px; top: 38px; height: 48px; display: flex !important; flex-wrap: nowrap; gap: 0; margin: 0 !important; padding: 0 !important; justify-content: flex-start !important; overflow: hidden; }
  html body.fs.fs-blip #pvProfileCard .user-badge { flex: 0 0 auto; width: 39px !important; height: 48px !important; margin: 0 2px 0 0 !important; padding: 0 !important; border-radius: 0 !important; border: 0 !important; box-shadow: none !important;
    background: center / contain no-repeat !important; font-size: 0 !important; }
  html body.fs.fs-blip #pvProfileCard .user-badge > i { display: none !important; }
  html body.fs.fs-blip #pvProfileCard .user-badge:has(.fa-seedling) { background-image: var(--fs-badge-early_adopter) !important; }
  html body.fs.fs-blip #pvProfileCard .user-badge:has(.fa-pen) { background-image: var(--fs-badge-first_post) !important; }
  html body.fs.fs-blip #pvProfileCard .user-badge:has(.fa-users) { background-image: var(--fs-badge-social_butterfly) !important; }
  html body.fs.fs-blip #pvProfileCard .user-badge:has(.fa-fire) { background-image: var(--fs-badge-popular) !important; }
  html body.fs.fs-blip #pvProfileCard .user-badge:has(.fa-comment) { background-image: var(--fs-badge-commenter) !important; }
  html body.fs.fs-blip #pvProfileCard .user-badge:has(.fa-crown) { background-image: var(--fs-badge-group_leader) !important; }
  html body.fs.fs-blip #pvProfileCard .user-badge:has(.fa-palette) { background-image: var(--fs-badge-skin_collector) !important; }
  html body.fs.fs-blip #pvProfileCard .user-badge:has(.fa-fire-flame-curved) { background-image: var(--fs-badge-streak_master) !important; }
  html body.fs.fs-blip #pvProfileCard .user-badge:has(.fa-camera) { background-image: var(--fs-badge-photographer) !important; }
  html body.fs.fs-blip #pvProfileCard .user-badge:has(.fa-heart) { background-image: var(--fs-badge-generous) !important; }
  html body.fs.fs-blip #pvProfileCard .profile-about { position: absolute; left: 16px; right: 6px; top: 96px; margin: 0 !important; padding: 0 0 0 32px !important; text-align: left !important;
    font: 600 17px/22px var(--fs-font) !important; color: var(--bl-ink) !important; font-style: normal !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  html body.fs.fs-blip #pvProfileCard .profile-about::before { content: ""; position: absolute; left: 0; top: 0; width: 22px; height: 22px; background: var(--fs-icon-comment) center / contain no-repeat; }
  html body.fs.fs-blip #pvProfileCard .profile-stats { position: absolute; left: 14px; right: 14px; top: 170px; display: grid !important; grid-template-columns: 1fr 1fr; gap: 26px; margin: 0 !important; padding: 0 !important; border: 0 !important; }
  html body.fs.fs-blip #pvProfileCard .stat { height: 30px; display: flex !important; flex-direction: row-reverse; align-items: center; justify-content: center; gap: 5px; padding: 0 !important; margin: 0 !important;
    background: #d3e4fb !important; border-radius: 15px !important; border: 0 !important; box-shadow: none !important; }
  html body.fs.fs-blip #pvProfileCard .stat::before { display: none !important; }
  html body.fs.fs-blip #pvProfileCard .stat-count { font: 900 17px var(--fs-font) !important; color: var(--bl-ink) !important; }
  html body.fs.fs-blip #pvProfileCard .stat-label { font: 600 17px var(--fs-font) !important; color: var(--bl-ink) !important; font-style: normal !important; }
  html body.fs.fs-blip #pvProfileCard .pv-actions { position: absolute; left: 14px; right: 11px; top: 209px; display: grid !important; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 !important; }
  html body.fs.fs-blip #pvProfileCard .pv-actions .btn { height: 33px !important; min-height: 0 !important; padding: 0 8px !important; margin: 0 !important; width: auto !important; display: flex !important; align-items: center; justify-content: center; gap: 8px;
    font: 900 19px var(--fs-font) !important; border-image-width: 0 16px !important; }
  html body.fs.fs-blip #pvEditProfileBtn { grid-column: 1 / -1; }
  html body.fs.fs-blip #pvEditProfileBtn > i { display: none !important; }
  html body.fs.fs-blip #pvProfileCard .profile-links { position: absolute; left: 6px; bottom: -42px; margin: 0 !important; padding: 0 !important; }
  html body.fs.fs-blip #pvProfileCard .pv-back-link { display: flex !important; align-items: center; gap: 8px; font: 800 17px var(--fs-font) !important; color: var(--bl-link) !important; text-decoration: none !important; }
  html body.fs.fs-blip #pvProfileCard .pv-back-link > i { width: 18px; height: 18px; font-size: 0 !important; background: var(--fs-icon-back) center / contain no-repeat; color: transparent !important;
    filter: brightness(0) saturate(100%) invert(14%) sepia(95%) saturate(6000%) hue-rotate(232deg); }
  /* photos card */
  html body.fs.fs-blip #pvPhotosCard { margin: 56px 0 0 !important; padding: 0 !important; }
  html body.fs.fs-blip #pvPhotosCard .photos-card { position: relative; padding: 0 4px 4px !important; margin: 0 !important; border-width: 6px !important; }
  html body.fs.fs-blip #pvPhotosCard .card-heading { height: 34px; display: flex !important; align-items: center; margin: 2px 0 6px 6px !important; padding: 0 !important; border: 0 !important; font: 900 24px var(--fs-title-font) !important; color: var(--bl-ink) !important; }
  html body.fs.fs-blip #pvPhotosCard .card-heading > i { display: none !important; }
  html body.fs.fs-blip #pvPhotoTabs { position: absolute; right: 2px; top: 0; width: 196px; height: 30px; display: grid !important; grid-template-columns: 1fr 1fr; gap: 0; margin: 0 !important; padding: 0 !important;
    border: 0 solid transparent !important; border-image: var(--fs-tabs-track) 0 64 fill / 0 15px stretch !important; overflow: visible !important; }
  html body.fs.fs-blip #pvPhotoTabs .search-tab { height: 30px !important; padding: 0 !important; margin: 0 !important; font: 800 16px var(--fs-font) !important; display: flex !important; align-items: center; justify-content: center; border-image-width: 0 15px !important; }
  html body.fs.fs-blip #pvPhotoTabs .search-tab:not(.active) { border-image: none !important; background: none !important; }
  html body.fs.fs-blip #pvPhotoTabs .search-tab > i { display: none !important; }
  html body.fs.fs-blip #pvPhotoContent .photos-preview { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 8px 7px; overflow: visible !important; padding: 0 4px !important; margin: 0 !important; }
  html body.fs.fs-blip #pvPhotoContent .photo-wrap { width: auto !important; height: 72px !important; margin: 0 !important; border-radius: 10px !important; overflow: hidden; position: relative; flex: none !important; }
  html body.fs.fs-blip #pvPhotoContent .photo-wrap :is(img, video) { width: 100% !important; height: 100% !important; object-fit: cover; border-radius: 0 !important; }
  html body.fs.fs-blip #pvPhotoContent .photo-menu-btn { position: absolute !important; right: 4px !important; top: 4px !important; width: 26px !important; height: 16px !important; padding: 0 !important; border-radius: 8px !important;
    background: #fff var(--fs-icon-more) center / 18px no-repeat !important; font-size: 0 !important; border: 0 !important; opacity: 1 !important; }
  html body.fs.fs-blip #pvPhotoContent .photo-menu-btn > i { display: none !important; }
  html body.fs.fs-blip #pvPhotosCard .pv-photos-link { display: none !important; }
  html body.fs.fs-blip #page-profile-view .pv-col-feed { margin-top: 12px !important; }
}
@media (max-width: 768px) {
  html body.fs.fs-blip #page-profile-view#page-profile-view { padding-top: 54px !important; }
  html body.fs.fs-blip #page-profile-view .pv-layout { margin-top: 0 !important; }
  html body.fs.fs-blip #page-profile-view :is(.pv-col-left, #pvPhotosCard, .pv-col-feed, .pv-col-skin) { width: 100% !important; max-width: none !important; }
  html body.fs.fs-blip #pvPhotosCard { margin-top: 34px !important; }
}
@media (max-width: 768px) {
  html body.fs.fs-blip #pvProfileCard .profile-name { top: 0 !important; }
  html body.fs.fs-blip #pvProfileCard .profile-links { bottom: -34px !important; }
  html body.fs.fs-blip #pvPhotosCard .card-heading { margin-bottom: 2px !important; }
}

/* ======================================================================================================== SOMEONE ELSE'S PROFILE (phone) — ref/ov-otherprofile-a.png */
@media (max-width: 768px) {
  html body.fs.fs-blip #pvProfileCard:has(#pvFollowBtn) { margin-top: -2px !important; min-height: 0; }
  html body.fs.fs-blip #pvProfileCard:has(#pvFollowBtn) .profile-info { min-height: 0; padding: 4px 4px 8px !important; display: flex !important; flex-direction: column; }
  html body.fs.fs-blip #pvProfileCard:has(#pvFollowBtn) .profile-avatar-wrap { left: -4px; top: -32px; width: 127px !important; height: 127px !important; }
  html body.fs.fs-blip #pvProfileCard:has(#pvFollowBtn) .fs-namecard { padding: 0 0 0 128px !important; min-height: 100px; }
  html body.fs.fs-blip #pvProfileCard:has(#pvFollowBtn) :is(.profile-name, .profile-about) { position: static !important; }
  html body.fs.fs-blip #pvProfileCard:has(#pvFollowBtn) .profile-name { margin: 0 0 2px !important; }
  html body.fs.fs-blip #pvProfileCard:has(#pvFollowBtn) .profile-title { margin: 0 !important; padding: 0 !important; font: 800 17px/24px var(--fs-font) !important; color: var(--bl-ink) !important; font-style: normal !important; text-align: left !important; background: none !important; }
  html body.fs.fs-blip #pvProfileCard:has(#pvFollowBtn) .profile-about { padding: 0 !important; white-space: normal !important; font: 600 16px/23px var(--fs-font) !important; display: -webkit-box !important; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
  html body.fs.fs-blip #pvProfileCard:has(#pvFollowBtn) .profile-about::before { display: none !important; }
  html body.fs.fs-blip #pvProfileCard .pv-online-line { order: 0; margin: -2px 0 0 128px !important; padding: 0 0 0 24px !important; position: relative; font: 800 17px/24px var(--fs-font) !important; color: var(--bl-ink) !important; text-align: left !important; background: none !important; }
  html body.fs.fs-blip #pvProfileCard .pv-online-line::before { content: ""; position: absolute; left: 0; top: 5px; width: 15px; height: 15px; border-radius: 50%; background: #9aa6bd; }
  html body.fs.fs-blip #pvProfileCard .pv-online-line:is(.online, .is-online) { }
  html body.fs.fs-blip #pvProfileCard .pv-online-line > i { display: none !important; }
  html body.fs.fs-blip #pvMutualFollowers { margin: 14px 0 0 8px !important; }
  html body.fs.fs-blip #pvMutualFollowers .mutual-followers { display: flex !important; align-items: center; gap: 0; margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important; }
  html body.fs.fs-blip #pvMutualFollowers .mutual-followers > img { width: 38px !important; height: 38px !important; border-radius: 50% !important; margin: 0 -8px 0 0 !important; border: 0 !important; box-shadow: 0 0 0 2px #fff !important; object-fit: cover; }
  html body.fs.fs-blip #pvMutualFollowers .mutual-followers > span { margin-left: 26px !important; padding-left: 14px !important; border-left: 2px solid #c7d6ee !important; font: 800 16px/22px var(--fs-font) !important; color: var(--bl-ink) !important; }
  html body.fs.fs-blip #pvProfileCard:has(#pvFollowBtn) .profile-stats { position: static !important; margin: 16px 0 0 !important; gap: 10px; }
  html body.fs.fs-blip #pvProfileCard:has(#pvFollowBtn) .stat { height: 32px; }
  html body.fs.fs-blip #pvProfileCard:has(#pvFollowBtn) .pv-actions { position: static !important; margin: 16px 0 0 !important; grid-template-columns: repeat(6, 1fr) !important; gap: 10px 10px !important; }
  html body.fs.fs-blip #pvProfileCard:has(#pvFollowBtn) .pv-actions .btn { grid-column: span 2; height: 39px !important; font: 800 16px var(--fs-font) !important; gap: 7px; padding: 0 4px !important; white-space: nowrap; border-image-width: 0 19px !important; }
  html body.fs.fs-blip #pvProfileCard:has(#pvFollowBtn) .pv-actions :is(#pvFollowBtn, #pvMsgBtn, #pvCloseFriendBtn, #pvInviteGroupBtn) { grid-column: span 3; }
  html body.fs.fs-blip #pvProfileCard:has(#pvFollowBtn) .pv-actions :is(#pvFollowBtn, #pvMsgBtn) { height: 41px !important; font: 900 19px var(--fs-font) !important; border-image-width: 0 20px !important; }
  html body.fs.fs-blip #pvProfileCard .pv-actions .btn > i { width: 22px; height: 22px; flex: 0 0 22px; font-size: 0 !important; color: transparent !important; background: center / contain no-repeat; }
  html body.fs.fs-blip #pvProfileCard .pv-actions :is(.btn-primary) > i { filter: brightness(0) invert(1); }
  html body.fs.fs-blip #pvFollowBtn > i.fa-check { background-image: var(--fs-icon-check); }
  html body.fs.fs-blip #pvFollowBtn > i:not(.fa-check) { background-image: var(--fs-icon-user-plus, var(--fs-icon-plus)); }
  html body.fs.fs-blip #pvMsgBtn > i { background-image: var(--fs-icon-comment); }
  html body.fs.fs-blip #pvMuteBtn > i { background-image: var(--fs-icon-mute, var(--fs-icon-bell)); }
  html body.fs.fs-blip #pvBlockBtn > i { background-image: var(--fs-icon-block, var(--fs-icon-close)); }
  html body.fs.fs-blip #pvReportUserBtn > i { background-image: var(--fs-icon-flag-red, var(--fs-icon-flag)); }
  html body.fs.fs-blip #pvReportUserBtn { color: #d93025 !important; border-image-source: var(--fs-btn-danger) !important; }
  html body.fs.fs-blip #pvCloseFriendBtn > i { background-image: var(--fs-icon-star); }
  html body.fs.fs-blip #pvInviteGroupBtn > i { background-image: var(--fs-icon-people); }
  html body.fs.fs-blip #pvProfileCard:has(#pvFollowBtn) .profile-info > div:has(#pvAdminSuspend) { margin: 10px 0 0 !important; display: flex !important; align-items: center; gap: 8px; flex-wrap: wrap; font: 700 13px var(--fs-font); color: var(--bl-text); }
  html body.fs.fs-blip #pvProfileCard:has(#pvFollowBtn) .profile-info > div:has(#pvAdminSuspend) .btn { height: 30px !important; padding: 0 12px !important; font: 800 13px var(--fs-font) !important; }
  html body.fs.fs-blip #pvProfileCard:has(#pvFollowBtn) .profile-links { position: absolute !important; bottom: -34px !important; }
}

/* ======================================================================================================== CHAT (phone) — ref/ov-chat-a.png */
@media (max-width: 768px) {
  html body.fs.fs-blip .messages-layout.chat-open .msg-chat { background: var(--fs-background) center top / cover no-repeat !important; }
  html body.fs.fs-blip .msg-chat-header { height: 60px !important; margin: 10px 12px 6px !important; padding: 0 12px 0 10px !important; display: flex !important; align-items: center; gap: 12px;
    background: none !important; border-style: solid !important; border-color: transparent !important; border-width: 6px !important; border-radius: 0 !important; box-shadow: none !important;
    border-image: var(--fs-panel-card-tight) 60 60 98 60 fill / 17px 17px 28px 17px / 0 0 11px 0 stretch !important; }
  html body.fs.fs-blip .msg-chat-header .msg-back-btn { width: 26px !important; height: 26px !important; padding: 0 !important; margin: 0 !important; background: var(--fs-icon-back) center / contain no-repeat !important; border: 0 !important; font-size: 0 !important; }
  html body.fs.fs-blip .msg-chat-header .msg-back-btn > i { display: none !important; }
  html body.fs.fs-blip .msg-chat-header img { width: 50px !important; height: 50px !important; box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #00008b; }
  html body.fs.fs-blip .msg-chat-header h4 { font: 900 24px var(--fs-title-font) !important; color: var(--bl-ink) !important; margin: 0 !important; }
  html body.fs.fs-blip .msg-chat-messages { padding: 12px 12px 8px !important; display: flex !important; flex-direction: column; gap: 14px; }
  html body.fs.fs-blip .msg-bubble { max-width: 82% !important; padding: 6px 14px 8px !important; margin: 0 !important; font: 600 19px/24px var(--fs-font) !important; color: var(--bl-ink) !important;
    border-style: solid !important; border-color: transparent !important; border-width: 4px 6px 12px !important; border-radius: 0 !important; background: none !important; box-shadow: none !important;
    border-image: var(--fs-bubble-in, var(--fs-panel-card-tight)) 60 60 98 60 fill / 17px 17px 28px 17px stretch !important; align-self: flex-start; }
  html body.fs.fs-blip .msg-bubble.sent { align-self: flex-end; color: #fff !important; font-weight: 700 !important;
    border-image: var(--fs-bubble-out, var(--fs-btn-primary)) 0 67 fill / 0 22px stretch !important; }
  html body.fs.fs-blip .msg-bubble :is(img, video) { max-width: 240px !important; width: 240px; border-radius: 14px !important; display: block; }
  html body.fs.fs-blip .msg-bubble .msg-edit-btn { display: none !important; }
  html body.fs.fs-blip .msg-chat-input { height: 64px !important; padding: 0 12px !important; display: flex !important; align-items: center; gap: 10px; background: none !important; border: 0 !important; box-shadow: none !important; }
  html body.fs.fs-blip .msg-chat-input .msg-media-btn { width: 34px !important; height: 34px !important; flex: 0 0 34px; padding: 0 !important; margin: 0 !important; border: 0 !important; font-size: 0 !important; background: center / contain no-repeat !important; }
  html body.fs.fs-blip .msg-chat-input .msg-media-btn > i { display: none !important; }
  html body.fs.fs-blip #msgImgBtn { background-image: var(--fs-icon-image, var(--fs-icon-photo)) !important; }
  html body.fs.fs-blip #msgGifBtn { background-image: var(--fs-icon-gif, var(--fs-icon-video)) !important; }
  html body.fs.fs-blip #msgVoiceBtn { background-image: var(--fs-icon-mic, var(--fs-icon-music)) !important; }
  html body.fs.fs-blip #msgInput { flex: 1; min-width: 0; height: 40px !important; padding: 0 16px !important; margin: 0 !important; font: 600 17px var(--fs-font) !important; color: var(--bl-ink) !important;
    border: 0 solid transparent !important; border-image: var(--fs-field) 0 64 fill / 0 20px stretch !important; background: none !important; border-radius: 0 !important; box-shadow: none !important; }
  html body.fs.fs-blip #sendMsgBtn { width: 44px !important; height: 44px !important; flex: 0 0 44px; padding: 0 !important; margin: 0 !important; border: 0 !important; border-radius: 50% !important; font-size: 0 !important;
    background: var(--fs-icon-send) center / 22px no-repeat, #1e5fe0 !important; box-shadow: 0 2px 4px rgba(20,60,160,.3) !important; }
  html body.fs.fs-blip #sendMsgBtn { background: #1e5fe0 !important; position: relative; }
  html body.fs.fs-blip #sendMsgBtn::after { content: ""; position: absolute; inset: 11px; background: var(--fs-icon-send) center / contain no-repeat; filter: brightness(0) invert(1); }
  html body.fs.fs-blip #sendMsgBtn > i { display: none !important; }
}
@media (max-width: 768px) {
  html body.fs.fs-blip .msg-chat-header { box-sizing: border-box !important; height: 66px !important; margin-top: calc(env(safe-area-inset-top, 0px) + 6px) !important; }
  html body.fs.fs-blip .msg-chat-header img { width: 44px !important; height: 44px !important; }
  html body.fs.fs-blip .msg-chat-input { box-sizing: content-box !important; padding-bottom: env(safe-area-inset-bottom, 0px) !important; }
  html body.fs.fs-blip #msgVoiceBtn { filter: brightness(0) saturate(100%) invert(9%) sepia(60%) saturate(5000%) hue-rotate(238deg); }
}
@media (max-width: 768px) {
  /* the mascot sat under the top bar on device: keep it fully below the bar, as in the concept */
  html body.fs.fs-blip :is(#page-profiles, #page-search) .page-header::after { top: 4px !important; height: 92px !important; width: 176px !important; right: -6px !important; }
}
@media (max-width: 768px) {
  /* top bar height differs per device (safe area): sit the cover right under it everywhere */
  html body.fs.fs-blip #page-profile-view#page-profile-view { padding-top: calc(env(safe-area-inset-top, 0px) + 56px) !important; }
  html body.fs.fs-blip #pvProfileCard .pv-actions .btn > i { display: inline-block !important; background-size: contain !important; background-repeat: no-repeat !important; background-position: center !important; }
  html body.fs.fs-blip #pvFollowBtn > i.fa-check { background-image: var(--fs-icon-check) !important; }
  html body.fs.fs-blip #pvFollowBtn > i:not(.fa-check) { background-image: var(--fs-icon-user-plus, var(--fs-icon-plus)) !important; }
  html body.fs.fs-blip #pvMsgBtn > i { background-image: var(--fs-icon-comment) !important; }
  html body.fs.fs-blip #pvMuteBtn > i { background-image: var(--fs-icon-mute, var(--fs-icon-bell)) !important; }
  html body.fs.fs-blip #pvBlockBtn > i { background-image: var(--fs-icon-block, var(--fs-icon-close)) !important; }
  html body.fs.fs-blip #pvReportUserBtn > i { background-image: var(--fs-icon-flag-red, var(--fs-icon-flag)) !important; }
  html body.fs.fs-blip #pvCloseFriendBtn > i { background-image: var(--fs-icon-star) !important; }
  html body.fs.fs-blip #pvInviteGroupBtn > i { background-image: var(--fs-icon-people) !important; }
  html body.fs.fs-blip #pvProfileCard:has(#pvFollowBtn) .fs-namecard { min-height: 0 !important; }
  html body.fs.fs-blip #pvProfileCard:has(#pvFollowBtn) .pv-online-line { margin-top: 2px !important; }
  html body.fs.fs-blip #pvProfileCard:has(#pvFollowBtn) .profile-info { min-height: 100px; }
}

/* ======================================================================================================== COMMENTS sheet (phone) — ref/ov-comments-a.png */
@media (max-width: 768px) {
  html body.fs.fs-blip .modal-content:has(.comment-modal-layout) { padding: 0 !important; }
  html body.fs.fs-blip .modal-content:has(.comment-modal-layout) > .modal-header { height: 64px; padding: 0 12px 0 64px !important; margin: 0 !important; position: relative; display: flex !important; align-items: center; justify-content: space-between;
    border: 0 !important; background: none !important; }
  html body.fs.fs-blip .modal-content:has(.comment-modal-layout) > .modal-header::before { content: ""; position: absolute; left: 6px; top: 6px; width: 54px; height: 50px; background: var(--fs-mascot-head) center / contain no-repeat; }
  html body.fs.fs-blip .modal-content:has(.comment-modal-layout) > .modal-header h3 { font: 900 29px var(--fs-title-font) !important; color: var(--bl-ink) !important; margin: 0 !important; }
  html body.fs.fs-blip .modal-content:has(.comment-modal-layout) .modal-close { width: 38px !important; height: 38px !important; padding: 0 !important; border: 0 !important; border-radius: 50% !important; font-size: 0 !important;
    background: var(--fs-btn-round) center / contain no-repeat !important; position: relative; box-shadow: none !important; }
  html body.fs.fs-blip .modal-content:has(.comment-modal-layout) .modal-close::after { content: ""; position: absolute; inset: 11px; background: var(--fs-icon-close) center / contain no-repeat; }
  html body.fs.fs-blip .modal-content:has(.comment-modal-layout) .modal-close > i { display: none !important; }
  html body.fs.fs-blip .comment-modal-layout { padding: 0 8px !important; gap: 8px; }
  /* the post at the top: its own outlined card */
  html body.fs.fs-blip .comment-post-embed { margin: 0 !important; padding: 2px 6px 0 !important; border-style: solid !important; border-color: transparent !important; border-width: 6px !important; background: none !important; border-radius: 0 !important;
    border-image: var(--fs-panel-card-tight) 60 60 98 60 fill / 17px 17px 28px 17px / 0 0 11px 0 stretch !important; }
  html body.fs.fs-blip .comment-post-embed .post-header { margin: 0 0 4px !important; display: flex; align-items: center; gap: 10px; }
  html body.fs.fs-blip .comment-post-embed .post-avatar { width: 46px !important; height: 46px !important; box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #00008b; }
  html body.fs.fs-blip .comment-post-embed .post-user-top { display: flex !important; flex-direction: column; align-items: flex-start !important; gap: 0 !important; }
  html body.fs.fs-blip .comment-post-embed .post-username { font: 900 21px/24px var(--fs-title-font) !important; }
  html body.fs.fs-blip .comment-post-embed .post-time { font: 600 16px/20px var(--fs-font) !important; color: var(--bl-ink) !important; }
  html body.fs.fs-blip .comment-post-embed .post-description p { font: 600 17px/22px var(--fs-font) !important; color: var(--bl-ink) !important; margin: 0 0 6px !important; }
  html body.fs.fs-blip .comment-post-embed .post-media-grid { border-radius: 14px !important; overflow: hidden; margin: 0 !important; }
  html body.fs.fs-blip .comment-post-embed .post-actions { padding: 8px 6px 6px !important; border: 0 !important; }
  html body.fs.fs-blip .comment-post-embed .action-left { display: flex !important; justify-content: space-between; width: 100%; }
  html body.fs.fs-blip .comment-post-embed .action-btn { font: 800 19px var(--fs-font) !important; color: var(--bl-ink) !important; display: flex !important; align-items: center; gap: 8px; }
  html body.fs.fs-blip .comment-post-embed .action-btn > i { width: 26px; height: 26px; font-size: 0 !important; background: center / contain no-repeat; }
  html body.fs.fs-blip .comment-post-embed .action-btn > i.fa-thumbs-up { background-image: var(--fs-icon-like-on); }
  html body.fs.fs-blip .comment-post-embed .action-btn > i.fa-comment { background-image: var(--fs-icon-comment); }
  html body.fs.fs-blip .comment-post-embed .action-btn > i.fa-share-from-square { background-image: var(--fs-icon-share); }
  /* Top / Newest / Oldest: one track, the active pill inside it */
  html body.fs.fs-blip .comment-modal-scroll .search-tabs { height: 38px; display: grid !important; grid-template-columns: 1fr 1fr 1fr; gap: 0; margin: 4px 0 8px !important; padding: 0 !important;
    border: 0 solid transparent !important; border-image: var(--fs-tabs-track) 0 64 fill / 0 19px stretch !important; overflow: visible !important; }
  html body.fs.fs-blip .comment-modal-scroll .comment-sort-tab { height: 38px !important; padding: 0 !important; margin: 0 !important; font: 800 19px var(--fs-font) !important; display: flex !important; align-items: center; justify-content: center; border-image-width: 0 19px !important; }
  html body.fs.fs-blip .comment-modal-scroll .comment-sort-tab:not(.active) { border-image: none !important; background: none !important; color: var(--bl-ink) !important; }
  /* comments: outlined cards; replies indented with the thread line */
  html body.fs.fs-blip #commentsList { display: flex; flex-direction: column; gap: 10px; }
  html body.fs.fs-blip #commentsList .comment-item { display: flex !important; gap: 12px; margin: 0 !important; padding: 2px 6px 0 !important;
    border-style: solid !important; border-color: transparent !important; border-width: 6px !important; background: none !important; border-radius: 0 !important; }
  html body.fs.fs-blip #commentsList .comment-item.comment-reply { margin: -6px 0 0 26px !important; position: relative; }
  html body.fs.fs-blip #commentsList .comment-item.comment-reply::before { content: ""; position: absolute; left: -16px; top: -4px; bottom: 24px; width: 2px; background: #9db8e6; border-radius: 1px; }
  html body.fs.fs-blip #commentsList .comment-item > img { width: 50px !important; height: 50px !important; box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #00008b; }
  html body.fs.fs-blip #commentsList .comment-item.comment-reply > img { width: 44px !important; height: 44px !important; }
  html body.fs.fs-blip #commentsList .comment-item strong { font: 900 19px/22px var(--fs-title-font) !important; color: var(--bl-ink) !important; }
  html body.fs.fs-blip #commentsList .comment-text { font: 600 17px/22px var(--fs-font) !important; color: var(--bl-ink) !important; margin: 2px 0 0 !important; }
  html body.fs.fs-blip #commentsList .comment-text > span:first-child { color: var(--bl-link) !important; font: 800 17px var(--fs-font) !important; }
  html body.fs.fs-blip #commentsList .comment-actions-row { gap: 14px !important; margin: 6px 0 6px !important; align-items: center; flex-wrap: wrap; }
  html body.fs.fs-blip #commentsList .comment-actions-row button { font: 800 17px var(--fs-font) !important; color: var(--bl-ink) !important; padding: 0 !important; display: flex !important; align-items: center; gap: 5px; }
  html body.fs.fs-blip #commentsList .comment-actions-row button > i { width: 22px; height: 22px; font-size: 0 !important; background: center / contain no-repeat; display: inline-block; }
  html body.fs.fs-blip #commentsList .comment-like-btn > i.far { background-image: var(--fs-icon-like); }
  html body.fs.fs-blip #commentsList .comment-like-btn > i.fas { background-image: var(--fs-icon-like-on); }
  html body.fs.fs-blip #commentsList .comment-dislike-btn > i.far { background-image: var(--fs-icon-dislike); }
  html body.fs.fs-blip #commentsList .comment-dislike-btn > i.fas { background-image: var(--fs-icon-dislike-on); }
  html body.fs.fs-blip #commentsList .comment-react-btn > i { background-image: var(--fs-icon-emoji); }
  html body.fs.fs-blip #commentsList :is(.comment-reply-btn, .comment-edit-btn, .comment-delete-btn) { color: var(--bl-link) !important; }
  html body.fs.fs-blip #commentsList :is(.comment-reply-btn, .comment-edit-btn, .comment-delete-btn) > i { display: none !important; }
  /* write bar */
  html body.fs.fs-blip .comment-modal-input { padding: 8px 4px calc(8px + env(safe-area-inset-bottom, 0px)) !important; border: 0 !important; background: none !important; }
  html body.fs.fs-blip #commentInput { height: 40px !important; padding: 0 16px !important; font: 600 17px var(--fs-font) !important; color: var(--bl-ink) !important;
    border: 0 solid transparent !important; border-image: var(--fs-field) 0 64 fill / 0 20px stretch !important; background: none !important; border-radius: 0 !important; box-shadow: none !important; }
}
@media (max-width: 768px) {
  html body.fs.fs-blip .comment-post-embed .post-media-grid, html body.fs.fs-blip .comment-post-embed .post-media-grid .pm-thumb { max-height: 104px !important; height: 104px !important; aspect-ratio: auto !important; }
  html body.fs.fs-blip .comment-post-embed .post-media-grid :is(img, video) { height: 104px !important; max-height: 104px !important; width: 100% !important; object-fit: cover !important; }
  html body.fs.fs-blip .comment-post-embed { max-height: none !important; overflow: visible !important; flex-shrink: 0; }
  html body.fs.fs-blip #commentGifBtn { height: 40px !important; padding: 0 14px !important; font: 800 16px var(--fs-font) !important; color: var(--bl-ink) !important; background: none !important;
    border: 0 solid transparent !important; border-image: var(--fs-btn-secondary) 0 74 fill / 0 20px stretch !important; border-radius: 0 !important; }
  html body.fs.fs-blip #postCommentBtn { height: 40px !important; padding: 0 18px !important; font: 900 17px var(--fs-font) !important; border-image-width: 0 20px !important; }
  html body.fs.fs-blip .modal-overlay:has(.comment-modal-layout) { align-items: flex-start !important; padding-top: calc(env(safe-area-inset-top, 0px) + 60px) !important; }
}
@media (max-width: 768px) {
  /* chat bubbles: painted bubbles 9-sliced (tail kept inside its corner slice) */
  html body.fs.fs-blip .msg-bubble.received { border-width: 6px 8px 10px 10px !important; padding: 6px 12px 6px !important;
    border-image: var(--fs-bubble-in) 80 80 100 90 fill / 26px 26px 32px 30px / 6px 6px 7px 6px stretch !important; }
  html body.fs.fs-blip .msg-bubble.sent { border-width: 6px 10px 10px 8px !important; padding: 6px 12px 6px !important;
    border-image: var(--fs-bubble-out) 80 90 100 80 fill / 26px 30px 32px 26px / 6px 6px 7px 6px stretch !important; }
  html body.fs.fs-blip #pvProfileCard .profile-about::before { background-image: var(--fs-icon-comment); }
}
@media (max-width: 768px) {
  html body.fs.fs-blip .msg-bubble :is(img, video) { width: 240px !important; max-width: 100% !important; height: 160px !important; object-fit: cover !important; }
}

/* ======================================================================================================== CREATE A POST (phone) — ref/ov-createpost-a.png */
@media (max-width: 768px) {
  html body.fs.fs-blip .modal-overlay:has(.create-post-modal #cpmText) { align-items: flex-start !important; padding-top: calc(env(safe-area-inset-top, 0px) + 10px) !important; }
  html body.fs.fs-blip .create-post-modal:has(#cpmText) > .modal-header { height: 80px; padding: 0 12px 0 96px !important; position: relative; display: flex !important; align-items: center; justify-content: space-between; border: 0 !important; background: none !important; }
  html body.fs.fs-blip .create-post-modal:has(#cpmText) > .modal-header::before { content: ""; position: absolute; left: 0; top: 2px; width: 96px; height: 78px; background: var(--fs-mascot-wave) center / contain no-repeat; }
  html body.fs.fs-blip .create-post-modal:has(#cpmText) > .modal-header h3 { font: 900 29px var(--fs-title-font) !important; color: var(--bl-ink) !important; margin: 0 !important; white-space: nowrap; }
  html body.fs.fs-blip .create-post-modal:has(#cpmText) .modal-close { width: 38px !important; height: 38px !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; font-size: 0 !important; position: relative;
    background: var(--fs-btn-square) center / contain no-repeat !important; box-shadow: none !important; }
  html body.fs.fs-blip .create-post-modal:has(#cpmText) .modal-close::after { content: ""; position: absolute; inset: 10px; background: var(--fs-icon-close) center / contain no-repeat; }
  html body.fs.fs-blip .create-post-modal:has(#cpmText) .modal-close > i { display: none !important; }
  html body.fs.fs-blip .create-post-modal .cpm-scroll > div:first-child { padding: 6px 14px 0 !important; gap: 14px !important; }
  html body.fs.fs-blip .create-post-modal .cpm-scroll > div:first-child > img { width: 76px !important; height: 76px !important; object-fit: cover; box-shadow: 0 0 0 3px #fff, 0 0 0 4.5px #00008b; }
  html body.fs.fs-blip .create-post-modal .cpm-scroll > div:first-child > strong { font: 900 27px var(--fs-title-font) !important; color: var(--bl-ink) !important; }
  html body.fs.fs-blip .create-post-modal .cpm-textarea { display: block; width: calc(100% - 16px) !important; margin: 14px 8px 0 !important; min-height: 128px !important; padding: 8px 12px !important; box-sizing: border-box;
    font: 600 19px/25px var(--fs-font) !important; color: var(--bl-ink) !important; background: none !important; border-radius: 0 !important; box-shadow: none !important;
    border-style: solid !important; border-color: transparent !important; border-width: 6px !important;
    border-image: var(--fs-panel-card-tight) 60 60 98 60 fill / 17px 17px 28px 17px / 0 0 11px 0 stretch !important; }
  html body.fs.fs-blip .create-post-modal .cpm-textarea::placeholder { color: #565b85 !important; }
  html body.fs.fs-blip .create-post-modal .cpm-media-zone { margin: 18px 8px 0 !important; padding: 0 !important; border: 0 !important; background: none !important; }
  html body.fs.fs-blip .create-post-modal .cpm-media-grid { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 8px !important; }
  html body.fs.fs-blip .create-post-modal .cpm-media-grid > * { height: 138px !important; border-radius: 12px !important; overflow: hidden; position: relative; aspect-ratio: auto !important; }
  html body.fs.fs-blip .create-post-modal .cpm-media-grid img { width: 100% !important; height: 100% !important; object-fit: cover; }
  html body.fs.fs-blip .create-post-modal .remove-thumb { position: absolute !important; top: 6px !important; right: 6px !important; width: 26px !important; height: 26px !important; padding: 0 !important; border-radius: 50% !important;
    background: #fff var(--fs-icon-close) center / 14px no-repeat !important; border: 1.5px solid #00008b !important; font-size: 0 !important; }
  html body.fs.fs-blip .create-post-modal .remove-thumb > i { display: none !important; }
  html body.fs.fs-blip .create-post-modal #cpmDropZone { height: 56px; display: flex !important; align-items: center; justify-content: center; gap: 10px; font: 800 17px var(--fs-font) !important; color: var(--bl-ink) !important;
    border: 0 solid transparent !important; border-image: var(--fs-btn-secondary) 0 74 fill / 0 28px stretch !important; background: none !important; border-radius: 0 !important; }
  html body.fs.fs-blip .create-post-modal #cpmDropZone br { display: none; }
  html body.fs.fs-blip .create-post-modal #cpmDropZone > i { width: 24px; height: 24px; font-size: 0 !important; background: var(--fs-icon-photo) center / contain no-repeat; }
  html body.fs.fs-blip .create-post-modal .cpm-tags-section { padding: 14px 8px 0 !important; border: 0 !important; }
  html body.fs.fs-blip .create-post-modal .cpm-tag-chip { height: 36px; padding: 0 12px 0 16px !important; display: inline-flex !important; align-items: center; gap: 8px; border-radius: 18px !important; background: #d3e4fb !important; border: 0 !important;
    font: 800 19px var(--fs-font) !important; color: var(--bl-ink) !important; }
  html body.fs.fs-blip .create-post-modal .cpm-tag-remove { width: 16px; height: 16px; padding: 0 !important; background: var(--fs-icon-close) center / contain no-repeat !important; font-size: 0 !important; border: 0 !important; }
  html body.fs.fs-blip .create-post-modal .cpm-tag-remove > i { display: none !important; }
  /* footer: counter · tool squares · Publish */
  html body.fs.fs-blip .create-post-modal .cpm-footer { flex-wrap: nowrap !important; align-items: center; gap: 0; padding: 10px 10px calc(10px + env(safe-area-inset-bottom, 0px)) !important; border-top: 0 !important; background: none !important; }
  html body.fs.fs-blip .create-post-modal #cpmCharCounter { width: auto !important; flex: 0 0 auto; margin: 0 10px 0 0 !important; padding-right: 10px; border-right: 2px solid #c7d6ee; font: 600 15px var(--fs-font) !important; color: var(--bl-ink) !important; text-align: left !important; }
  html body.fs.fs-blip .create-post-modal .cpm-footer > div[style*="display:flex"] { gap: 7px !important; }
  html body.fs.fs-blip .create-post-modal .cpm-emoji-btn { width: 36px !important; height: 36px !important; flex: 0 0 36px; padding: 0 !important; border: 0 !important; border-radius: 0 !important; font-size: 0 !important; position: relative;
    background: var(--fs-btn-square) center / contain no-repeat !important; box-shadow: none !important; }
  html body.fs.fs-blip .create-post-modal .cpm-emoji-btn::after { content: ""; position: absolute; inset: 8px; background: center / contain no-repeat; }
  html body.fs.fs-blip .create-post-modal .cpm-emoji-btn > i { display: none !important; }
  html body.fs.fs-blip .create-post-modal #cpmEmojiBtn { display: none !important; }
  html body.fs.fs-blip .create-post-modal #cpmCameraBtn::after { background-image: var(--fs-icon-camera); }
  html body.fs.fs-blip .create-post-modal #cpmGifBtn::after { background-image: var(--fs-icon-gif); }
  html body.fs.fs-blip .create-post-modal #cpmPollBtn::after { background-image: var(--fs-icon-poll); }
  html body.fs.fs-blip .create-post-modal #cpmScheduleBtn::after { background-image: var(--fs-icon-calendar); }
  html body.fs.fs-blip .create-post-modal #cpmPublish { height: 42px !important; margin-left: 4px !important; font: 900 18px var(--fs-font) !important; border-image-width: 0 21px !important; }
}
@media (max-width: 768px) {
  html body.fs.fs-blip .create-post-modal .cpm-footer > div[style*="display:flex"] { width: auto !important; flex: 1 1 auto; min-width: 0; gap: 6px !important; }
  html body.fs.fs-blip .create-post-modal .cpm-emoji-btn { width: 34px !important; height: 34px !important; flex: 0 0 34px; }
  html body.fs.fs-blip .create-post-modal #cpmPublish { min-width: 0; padding: 0 10px !important; }
  html body.fs.fs-blip .create-post-modal #cpmCharCounter { white-space: nowrap; font-size: 14px !important; margin-right: 8px !important; padding-right: 8px; }
}

/* ======================================================================================================== SKINS SHOP (phone) — ref/ov-shop-a.png */
@media (max-width: 768px) {
  html body.fs.fs-blip #page-shop .page-container { padding: 0 10px 90px !important; }
  html body.fs.fs-blip #page-shop .page-header { position: relative; display: block !important; height: 84px; padding: 0 !important; margin: 0 !important; text-align: left !important; }
  html body.fs.fs-blip #page-shop .page-header::after { content: ""; position: absolute; right: -6px; top: 2px; width: 150px; height: 80px; background: var(--fs-mascot-wave) center / contain no-repeat; pointer-events: none; }
  html body.fs.fs-blip #page-shop .page-header h2 { position: absolute; left: 6px; top: 12px; margin: 0 !important; display: flex !important; align-items: center; gap: 12px; font: 900 34px/40px var(--fs-title-font) !important; color: var(--bl-ink) !important; }
  html body.fs.fs-blip #page-shop .page-header h2 > i { width: 40px; height: 40px; font-size: 0 !important; background: var(--fs-icon-skins) center / contain no-repeat; color: transparent !important; }
  html body.fs.fs-blip #page-shop .page-subtitle { position: absolute; left: 6px; top: 56px; margin: 0 !important; font: 700 13.5px var(--fs-font) !important; color: var(--bl-ink) !important; }
  html body.fs.fs-blip #skinPageToggle { height: 38px; display: grid !important; grid-template-columns: 1fr 1fr; gap: 0; margin: 4px 2px 12px !important; padding: 0 !important;
    border: 0 solid transparent !important; border-image: var(--fs-tabs-track) 0 64 fill / 0 19px stretch !important; overflow: visible !important; }
  html body.fs.fs-blip #skinPageToggle .search-tab { height: 38px !important; margin: 0 !important; padding: 0 !important; font: 800 19px var(--fs-font) !important; display: flex !important; align-items: center; justify-content: center; border-image-width: 0 19px !important; }
  html body.fs.fs-blip #skinPageToggle .search-tab:not(.active) { border-image: none !important; background: none !important; color: var(--bl-ink) !important; }
  html body.fs.fs-blip #shopTabs { display: grid !important; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 8px 4px; margin: 0 2px 10px !important; padding: 0 0 10px !important; overflow: visible !important;
    border-bottom: 2px solid #d3e1f6 !important; }
  html body.fs.fs-blip #shopTabs .search-tab { height: 30px !important; margin: 0 !important; padding: 0 9px !important; font: 800 14.5px var(--fs-font) !important; white-space: nowrap; display: flex !important; align-items: center; justify-content: center; border-image-width: 0 15px !important; }
  html body.fs.fs-blip #shopTabs .search-tab > i { display: none !important; }
  html body.fs.fs-blip #shopGrid .fsk-filters { display: flex !important; flex-wrap: nowrap !important; overflow-x: auto; gap: 6px; margin: 0 0 10px !important; padding: 0 2px 2px !important; justify-content: flex-start !important; scrollbar-width: none; }
  html body.fs.fs-blip #shopGrid .fsk-filters::-webkit-scrollbar { display: none; }
  html body.fs.fs-blip #shopGrid .fsk-filter { flex: 0 0 auto; height: 28px !important; padding: 0 12px !important; margin: 0 !important; font: 800 14px var(--fs-font) !important; border-image-width: 0 14px !important; }
  html body.fs.fs-blip #shopGrid .fsk-grid { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 10px 8px !important; }
  html body.fs.fs-blip #shopGrid .fsk-card { margin: 0 !important; padding: 0 2px 4px !important; display: flex !important; flex-direction: column; background: none !important; box-shadow: none !important; border-radius: 0 !important;
    border-style: solid !important; border-color: transparent !important; border-width: 6px !important;
    border-image: var(--fs-panel-card-tight) 60 60 98 60 fill / 17px 17px 28px 17px / 0 0 11px 0 stretch !important; }
  html body.fs.fs-blip #shopGrid .fsk-thumb { position: relative; width: 100% !important; aspect-ratio: 178 / 108 !important; height: auto !important; border-radius: 10px !important; overflow: hidden; margin: 0 !important; }
  html body.fs.fs-blip #shopGrid .fsk-thumb img { width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: center top; }
  html body.fs.fs-blip #shopGrid .fsk-badge { width: 26px !important; height: 26px !important; top: 6px !important; right: 6px !important; left: auto !important; font-size: 0 !important; background: var(--fs-menu-check) center / contain no-repeat !important; border: 0 !important; }
  html body.fs.fs-blip #shopGrid .fsk-body { padding: 4px 0 0 !important; display: flex !important; flex-direction: column; align-items: center; gap: 3px; background: none !important; }
  html body.fs.fs-blip #shopGrid .fsk-name { margin: 0 !important; font: 900 19px/23px var(--fs-title-font) !important; color: var(--bl-ink) !important; text-align: center; }
  html body.fs.fs-blip #shopGrid .skin-price { display: flex; align-items: center; gap: 5px; margin: 0 !important; font: 800 15px var(--fs-font) !important; color: var(--bl-ink) !important; }
  html body.fs.fs-blip #shopGrid .skin-price > i { width: 17px; height: 17px; font-size: 0 !important; background: var(--fs-coin) center / contain no-repeat; color: transparent !important; }
  html body.fs.fs-blip #shopGrid .shop-card-actions { display: grid !important; grid-template-columns: 1fr 1fr; gap: 6px; width: 100%; margin: 2px 0 0 !important; }
  html body.fs.fs-blip #shopGrid :is(.shop-card-actions .btn, .fsk-equip, .fsk-equipped, .fsk-body > .btn) { height: 30px !important; min-height: 0 !important; padding: 0 6px !important; margin: 0 !important; width: 100%; font: 800 15px var(--fs-font) !important; border-image-width: 0 15px !important; }
  html body.fs.fs-blip #shopGrid .fsk-equipped { background: none !important; color: var(--bl-ink) !important; border: 0 solid transparent !important; border-image: var(--fs-chip) 0 76 fill / 0 15px stretch !important; }
  html body.fs.fs-blip #shopGrid .fsk-equipped > i { font-size: 12px !important; }
  html body.fs.fs-blip #shopGrid .fsk-takeoff { font: 800 14px var(--fs-font) !important; color: var(--bl-ink) !important; text-decoration: none !important; height: 30px; width: 100%;
    border: 0 solid transparent !important; border-image: var(--fs-btn-secondary) 0 74 fill / 0 15px stretch !important; background: none !important; }
  html body.fs.fs-blip #shopGrid .fsk-is-equipped .fsk-body { display: grid !important; grid-template-columns: 1fr 1fr; gap: 6px; }
  html body.fs.fs-blip #shopGrid .fsk-is-equipped .fsk-name { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  html body.fs.fs-blip #page-shop #shopTabs { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; justify-content: stretch; gap: 7px 5px !important; }
  html body.fs.fs-blip #page-shop #shopTabs .search-tab { padding: 0 3px !important; font-size: 13.5px !important; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  html body.fs.fs-blip #page-shop #shopGrid .fsk-filters { flex-wrap: nowrap !important; overflow-x: auto !important; justify-content: flex-start !important; }
}
@media (max-width: 768px) {
  html body.fs.fs-blip #page-shop #shopGrid#shopGrid .fsk-filters { display: flex !important; flex-wrap: nowrap !important; overflow-x: auto !important; justify-content: flex-start !important; }
  html body.fs.fs-blip #page-shop #shopTabs .search-tab { font-size: 13px !important; }
  html body.fs.fs-blip #shopGrid .fsk-equipped { font-size: 13.5px !important; gap: 3px; }
  html body.fs.fs-blip #shopGrid .fsk-equipped > i { display: none !important; }
}

/* ======================================================================================================== PAGE MASCOTS — the concept's own poses
   (upright logo mascot, 3 burst lines left, 2 sparkles right), sized from the concept crops. The art's content box is
   747x476 inside 900x560, centred, so each element is the full art box and the drawing lands on the concept's spot. */
@media (max-width: 768px) {
  html body.fs.fs-blip #page-profiles .page-header::after { background-image: var(--fs-mascot-page-wink) !important; background-size: contain !important; animation: none;
    top: 28px !important; right: -14px !important; width: 163px !important; height: 101px !important; }
  html body.fs.fs-blip #page-search .page-header::after { background-image: var(--fs-mascot-page-smile) !important; background-size: contain !important;
    top: 27px !important; right: -6px !important; width: 151px !important; height: 94px !important; }
  html body.fs.fs-blip #page-shop .page-header { margin-top: -12px !important; }
  html body.fs.fs-blip #page-shop .page-header::after { background-image: var(--fs-mascot-page-happy) !important; background-size: contain !important;
    top: -10px !important; right: -6px !important; width: 151px !important; height: 94px !important; }
  html body.fs.fs-blip #pvCoverBanner::after { background-image: var(--fs-mascot-page-smile) !important; background-size: contain !important;
    top: 4px !important; right: -4px !important; width: 189px !important; height: 118px !important; }
  html body.fs.fs-blip #page-profile-view:has(#pvFollowBtn) #pvCoverBanner::after { top: 25px !important; right: -16px !important; width: 212px !important; height: 132px !important; }
  html body.fs.fs-blip .modal-content:has(.comment-modal-layout) > .modal-header { padding-left: 98px !important; }
  html body.fs.fs-blip .modal-content:has(.comment-modal-layout) > .modal-header::before { background-image: var(--fs-mascot-page-smile) !important; background-size: contain !important;
    left: 2px !important; top: 3px !important; width: 95px !important; height: 59px !important; }
  html body.fs.fs-blip .create-post-modal:has(#cpmText) > .modal-header { padding-left: 122px !important; }
  html body.fs.fs-blip .create-post-modal:has(#cpmText) > .modal-header::before { background-image: var(--fs-mascot-page-smile) !important; background-size: contain !important;
    left: -2px !important; top: 1px !important; width: 125px !important; height: 78px !important; }
}
@media (max-width: 768px) {
  html body.fs.fs-blip #page-profiles .page-header::after { top: 15px !important; right: -6px !important; }
}
@media (max-width: 768px) {
  html body.fs.fs-blip #page-search .page-header::after { top: 18px !important; right: -2px !important; }
}
@media (max-width: 768px) {
  html body.fs.fs-blip #page-shop .page-header::after { top: 0 !important; right: 10px !important; }
  html body.fs.fs-blip #page-shop .page-subtitle { font-size: 13px !important; }
}
@media (max-width: 768px) {
  html body.fs.fs-blip #pvCoverBanner::after { top: 2px !important; right: 14px !important; width: 176px !important; height: 110px !important; }
}
@media (max-width: 768px) {
  html body.fs.fs-blip #page-shop .page-header::after { top: 2px !important; right: 2px !important; width: 140px !important; height: 87px !important; }
  html body.fs.fs-blip #page-shop .page-subtitle { font-size: 12px !important; letter-spacing: -.2px; }
}

/* ======================================================================================================== concept: inactive tab pills and search
   fields are WHITE with the navy outline (the tabs-track piece), not the pale-blue chip / field. Notifications keeps its pale chips. */
html body.fs.fs-blip:is(*) :is(#groupsTabs, #profilesTabs, #page-search .search-tabs, #shopTabs) .search-tab:not(.active),
html body.fs.fs-blip:is(*) #shopGrid .fsk-filter:not(.active) {
  border-image-source: var(--fs-tabs-track) !important; border-image-slice: 0 64 fill !important; background: none !important; color: var(--bl-ink) !important; }
html body.fs.fs-blip:is(*) :is(#page-messages .msg-search, #page-groups .page-search, #page-profiles .page-search, #msgInput, #commentInput) {
  border-image-source: var(--fs-tabs-track) !important; border-image-slice: 0 64 fill !important; }
@media (max-width: 768px) {
  html body.fs.fs-blip #page-groups .page-header::after { background-image: var(--fs-mascot-page-smile) !important; background-size: contain !important; background-position: center !important;
    animation: none !important; transform: none !important; top: -8px !important; right: 8px !important; width: 160px !important; height: 100px !important; }
  /* New Group Chat: solid royal-blue disc with a white plus (concept) */
  html body.fs.fs-blip #page-messages #newGroupDmBtn > div:first-child { background: var(--fs-story-add) center / contain no-repeat !important; }
  html body.fs.fs-blip #page-messages #newGroupDmBtn > div:first-child > i { opacity: 0 !important; }
}
@media (max-width: 768px) {
  html body.fs.fs-blip #page-groups .page-header::after { top: -7px !important; right: -4px !important; width: 116px !important; height: 72px !important; z-index: 2; }
}
@media (max-width: 768px) {
  html body.fs.fs-blip #page-groups .page-header::after { right: 30px !important; width: 128px !important; height: 80px !important; top: -10px !important; }
}

/* ======================================================================================================== EVERY PHONE WIDTH (owner, Nov 19: Network
   cut off on his phone — QA had only run at 402pt). Nothing on phones may assume 402: columns follow the screen, and
   the line icons are tinted with a mask (filters rendered purple on real iPhones). */
@media (max-width: 768px) {
  html body.fs.fs-blip #page-profiles#page-profiles .connections-col { flex: 0 0 calc(100vw - 20px) !important; width: calc(100vw - 20px) !important; min-width: 0 !important; max-width: 382px !important; }
  html body.fs.fs-blip #page-profiles .page-header::after, html body.fs.fs-blip #page-search .page-header::after { max-width: 41vw; }
  html body.fs.fs-blip #page-profiles .page-header h2, html body.fs.fs-blip #page-search .page-header h2 { font-size: clamp(28px, 8.4vw, 34px) !important; }
}
html body.fs.fs-blip:is(*) :is(#page-groups .page-search > i, .navbar .search-bar > i, #page-messages .msg-search > i, #page-profiles .page-search > i,
  #page-search .page-header h2 > i, #searchPageInput > i) {
  filter: none !important; background: #000048 !important; -webkit-mask: var(--fs-icon-search) center / contain no-repeat; mask: var(--fs-icon-search) center / contain no-repeat; }
html body.fs.fs-blip:is(*) #pvProfileCard .pv-back-link > i { filter: none !important; background: #0a2cf0 !important; -webkit-mask: var(--fs-icon-back) center / contain no-repeat; mask: var(--fs-icon-back) center / contain no-repeat; }
html body.fs.fs-blip:is(*) #msgVoiceBtn { filter: none !important; }
@media (max-width: 768px) {
  /* page mascots scale with the screen (right-anchored, so on narrower phones a fixed size slid onto the title) */
  html body.fs.fs-blip:is(*) #page-profiles .page-header::after { width: min(150px, 36vw) !important; height: auto !important; aspect-ratio: 900 / 560; max-width: none; top: 22px !important; right: -4px !important; }
  html body.fs.fs-blip:is(*) #page-search .page-header::after { width: min(146px, 35vw) !important; height: auto !important; aspect-ratio: 900 / 560; max-width: none; top: 22px !important; right: 0 !important; }
  html body.fs.fs-blip:is(*) #page-shop .page-header::after { width: min(140px, 34vw) !important; height: auto !important; aspect-ratio: 900 / 560; }
  html body.fs.fs-blip:is(*) #page-groups .page-header::after { width: min(128px, 31vw) !important; height: auto !important; aspect-ratio: 900 / 560; }
}
@media (max-width: 768px) {
  /* BlipVibe default card: name / Free / one full-width button, like every other card */
  html body.fs.fs-blip #shopGrid .fsk-default-card .fsk-body, html body.fs.fs-blip #mySkinsGrid .fsk-default-card .fsk-body { display: flex !important; flex-direction: column; align-items: center; }
  html body.fs.fs-blip .fsk-default-card .fsk-body > .btn { width: 100% !important; }
  html body.fs.fs-blip #page-shop #shopTabs .search-tab { font-size: clamp(11.5px, 3.3vw, 13px) !important; }
}

/* ======================================================================================================== MY SKINS (phone): same chips and cards as the shop */
@media (max-width: 768px) {
  html body.fs.fs-blip:is(*) #mySkinsTabs { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px 5px; margin: 0 2px 12px !important; padding: 0 0 10px !important; overflow: visible !important; border-bottom: 2px solid #d3e1f6 !important; background: none !important; }
  html body.fs.fs-blip:is(*) #mySkinsTabs .search-tab { height: 30px !important; margin: 0 !important; padding: 0 3px !important; font: 800 clamp(11.5px, 3.3vw, 13px) var(--fs-font) !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0;
    display: flex !important; align-items: center; justify-content: center; border-image-width: 0 15px !important; }
  html body.fs.fs-blip:is(*) #mySkinsTabs .search-tab:not(.active) { border-image-source: var(--fs-tabs-track) !important; border-image-slice: 0 64 fill !important; background: none !important; color: var(--bl-ink) !important; }
  html body.fs.fs-blip:is(*) #mySkinsTabs .search-tab > i { display: none !important; }
  html body.fs.fs-blip #mySkinsGrid .shop-scroll-row, html body.fs.fs-blip #mySkinsGrid .fsk-grid { display: grid !important; grid-template-columns: 1fr 1fr !important; grid-auto-flow: row !important; grid-auto-columns: auto !important; gap: 10px 8px !important; overflow: visible !important; margin: 0 !important; padding: 0 !important; }
  html body.fs.fs-blip #mySkinsGrid :is(.skin-card, .fsk-card) { width: auto !important; min-width: 0 !important; max-width: none !important; margin: 0 !important; padding: 0 2px 4px !important; display: flex !important; flex-direction: column; background: none !important; box-shadow: none !important; border-radius: 0 !important;
    border-style: solid !important; border-color: transparent !important; border-width: 6px !important;
    border-image: var(--fs-panel-card-tight) 60 60 98 60 fill / 17px 17px 28px 17px / 0 0 11px 0 stretch !important; }
  html body.fs.fs-blip #mySkinsGrid .skin-preview { height: auto !important; aspect-ratio: 178 / 108; border-radius: 10px !important; overflow: hidden; margin: 0 !important; }
  html body.fs.fs-blip #mySkinsGrid .skin-card-body { background: none !important; padding: 4px 0 0 !important; display: flex !important; flex-direction: column; align-items: center; gap: 3px; text-align: center; }
  html body.fs.fs-blip #mySkinsGrid .skin-card-body h4 { margin: 0 !important; font: 900 18px/22px var(--fs-title-font) !important; color: var(--bl-ink) !important; }
  html body.fs.fs-blip #mySkinsGrid .skin-card-body p { margin: 0 !important; font: 600 12.5px/16px var(--fs-font) !important; color: var(--bl-text) !important; display: -webkit-box !important; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  html body.fs.fs-blip #mySkinsGrid .skin-card-body .btn { width: 100% !important; height: 30px !important; min-height: 0 !important; padding: 0 6px !important; margin: 2px 0 0 !important; font: 800 15px var(--fs-font) !important; border-image-width: 0 15px !important; }
  html body.fs.fs-blip #mySkinsGrid .fsk-thumb { width: 100% !important; aspect-ratio: 178 / 108 !important; height: auto !important; border-radius: 10px !important; overflow: hidden; }
  html body.fs.fs-blip #mySkinsGrid .fsk-thumb img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
  html body.fs.fs-blip #mySkinsGrid .fsk-name { margin: 0 !important; font: 900 19px/23px var(--fs-title-font) !important; color: var(--bl-ink) !important; text-align: center; }
  html body.fs.fs-blip #mySkinsGrid .fsk-body { padding: 4px 0 0 !important; display: flex !important; flex-direction: column; align-items: center; gap: 3px; background: none !important; }
  html body.fs.fs-blip #mySkinsGrid :is(.fsk-body .btn, .fsk-takeoff) { width: 100% !important; height: 30px !important; min-height: 0 !important; padding: 0 6px !important; margin: 0 !important; font: 800 15px var(--fs-font) !important; border-image-width: 0 15px !important; }
}
/* the app hides the cover camera on other people's profiles (inline display:none) — never force it back */
html body.fs.fs-blip:is(*) #pvCoverEditBtn[style*="none"] { display: none !important; }
@media (max-width: 768px) {
  /* badge medals shrink to fit the row on narrower phones (7 medals cut off at 390pt) */
  html body.fs.fs-blip:is(*) #pvProfileCard .user-badge { flex: 0 1 39px !important; width: auto !important; min-width: 0 !important; height: auto !important; aspect-ratio: 39 / 48; max-height: 48px; }
  html body.fs.fs-blip:is(*) #pvProfileCard .badge-row { align-items: flex-start; }
}
@media (max-width: 768px) {
  /* Create a Post at narrower phones: header + footer scale instead of running off the sheet */
  html body.fs.fs-blip:is(*) .create-post-modal:has(#cpmText) > .modal-header { padding-left: min(122px, 27vw) !important; gap: 6px; }
  html body.fs.fs-blip:is(*) .create-post-modal:has(#cpmText) > .modal-header::before { width: min(125px, 27vw) !important; height: auto !important; aspect-ratio: 900 / 560; }
  html body.fs.fs-blip:is(*) .create-post-modal:has(#cpmText) > .modal-header h3 { font-size: clamp(21px, 6.4vw, 29px) !important; min-width: 0; }
  html body.fs.fs-blip:is(*) .create-post-modal:has(#cpmText) .modal-close { flex: 0 0 38px; }
  html body.fs.fs-blip:is(*) .create-post-modal .cpm-footer { padding-left: 8px !important; padding-right: 8px !important; }
  html body.fs.fs-blip:is(*) .create-post-modal .cpm-emoji-btn { width: min(34px, 8.4vw) !important; height: min(34px, 8.4vw) !important; flex: 0 0 min(34px, 8.4vw) !important; }
  html body.fs.fs-blip:is(*) .create-post-modal .cpm-emoji-btn::after { inset: 22% !important; }
  html body.fs.fs-blip:is(*) .create-post-modal .cpm-footer > div[style*="display:flex"] { gap: 5px !important; }
  html body.fs.fs-blip:is(*) .create-post-modal #cpmCharCounter { font-size: 12.5px !important; margin-right: 6px !important; padding-right: 6px; }
  html body.fs.fs-blip:is(*) .create-post-modal #cpmPublish { flex: 1 1 auto !important; min-width: 0 !important; padding: 0 6px !important; font-size: clamp(14px, 4.2vw, 18px) !important; overflow: hidden; }
}
