/* Social shortcuts only: approved logo, ribbon and frame are untouched. */
[data-social]{position:relative;overflow:visible!important;flex-shrink:0}
[data-social] svg{display:block;width:21px;height:21px;flex-shrink:0}
.social-heart{color:#ff315d}.social-favorite{color:#ffd78a!important}
[data-social] small{position:absolute;top:0;right:-1px;font-size:10px;line-height:1;background:#000;color:#ff315d;padding:1px;min-width:9px;text-align:center}
.social-page-tools{display:flex;gap:4px;align-items:center;justify-content:flex-end}
.social-page-tools button{display:inline-flex;align-items:center;justify-content:center;width:32px;min-height:44px;padding:3px;background:none;border:0}
.real-accounts .account-header-tools{flex-wrap:nowrap}
@media(max-width:600px){.real-accounts .app>header{grid-template-columns:minmax(46px,1fr) 100px minmax(116px,1fr)}.real-accounts .account-header-tools button{width:23px;min-width:23px;min-height:44px}.real-accounts .account-header-tools svg{width:19px;height:19px}.app header .status button{width:24px;min-width:24px;flex-basis:24px}.app header .status button svg{width:19px;height:19px}}
.home-tile[aria-disabled=true]{cursor:default}.home-tile[aria-disabled=true] small{color:#ffd78a}

.social-incoming{color:#ffb8dc!important}
.favorited-by-dialog{box-sizing:border-box;width:min(94vw,680px);max-height:90dvh;overflow:auto;background:#090607;color:#fff;padding:16px;border:1px solid #a82e4c;border-radius:16px;font:16px Arial,sans-serif}.favorited-by-dialog::backdrop{background:#000c}.favorited-by-dialog h2{font-size:22px;margin:14px 0}.favorited-by-dialog button{min-height:44px;padding:10px;border:1px solid #913349;background:#16070b;color:inherit;border-radius:10px;font:inherit}.favorited-by-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:12px;margin:16px 0}.favorited-by-grid>a{display:block;min-width:0;color:inherit;text-align:center;text-decoration:none}.favorited-by-grid img{display:block;width:100%;aspect-ratio:3/4;object-fit:cover;background:#000;border-radius:9px}.favorited-by-grid img.favorited-by-placeholder{object-fit:contain}.favorited-by-grid span{display:block;font-size:14px;padding:7px 2px;overflow-wrap:anywhere}.favorited-by-grid a:focus-visible{outline:2px solid #fff;outline-offset:3px}
/* The new shortcut fits beside existing icons without displacing the logo. */
main>header.has-favorited-by:has(>.social-page-tools){display:grid;grid-template-columns:minmax(0,1fr) 125px minmax(0,1fr);grid-template-rows:auto auto;gap:4px 10px}
main>header.has-favorited-by>#back{grid-column:1;grid-row:1/3;min-width:0}
main>header.has-favorited-by>a:has(>.logo){grid-column:2;grid-row:1/3;justify-self:center}
main>header.has-favorited-by>.social-page-tools{grid-column:3;grid-row:1;justify-self:end;flex-wrap:nowrap;gap:2px}
main>header.has-favorited-by>#language{grid-column:3;grid-row:2;justify-self:end;max-width:100%}
@media(max-width:600px){.real-accounts .app>header.has-favorited-by{grid-template-columns:minmax(42px,1fr) 88px minmax(138px,1fr)}.real-accounts .account-header-tools button{width:22px;min-width:22px}main>header.has-favorited-by:has(>.social-page-tools){grid-template-columns:minmax(42px,1fr) 88px minmax(98px,1fr);gap:3px 6px}main>header.has-favorited-by .logo{width:88px;height:88px}main>header.has-favorited-by .social-page-tools button{width:28px;min-width:28px;padding:3px}main>header.has-favorited-by>#language{width:60px;min-height:36px;padding:4px}.favorited-by-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}

header small[hidden]{display:none!important}#received-icebreakers article{border-bottom:1px solid #642336;padding:12px 0}#received-icebreakers p{white-space:pre-wrap;overflow-wrap:anywhere}#received-icebreakers a{color:#ff8aa8}

/* The same five approved shortcuts on every header. Scope stays inside the header. */
header.has-favorited-by .social-page-tools,header.has-favorited-by .status>div,header.has-favorited-by .account-header-tools{display:flex!important;align-items:center!important;justify-content:flex-end!important;flex-wrap:nowrap!important;gap:1px!important;width:max-content!important;max-width:none!important}
header.has-favorited-by .social-page-tools button,header.has-favorited-by .status button,header.has-favorited-by .account-header-tools button{display:inline-flex;align-items:center;justify-content:center;position:relative;width:22px!important;min-width:22px!important;flex:0 0 22px!important;min-height:44px!important;margin:0!important;padding:2px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
header.has-favorited-by .social-page-tools button svg,header.has-favorited-by .status button svg,header.has-favorited-by .account-header-tools button svg{display:block;width:19px!important;height:19px!important;flex-shrink:0!important}
header.has-favorited-by .social-heart{color:#ff315d!important;filter:drop-shadow(0 0 3px #ff174266)}
header.has-favorited-by .social-favorite{color:#ffd78a!important}
header.has-favorited-by .social-incoming{color:#ffb8dc!important}
header.has-favorited-by .approved-header-mail,header.has-favorited-by .approved-header-bell{color:#fff!important}
@media(max-width:600px){
 header.has-favorited-by .social-page-tools button,header.has-favorited-by .status button,header.has-favorited-by .account-header-tools button{width:22px;min-width:22px;flex-basis:22px;padding:2px}
 header.has-favorited-by .social-page-tools button svg,header.has-favorited-by .status button svg,header.has-favorited-by .account-header-tools button svg{width:19px;height:19px}
 main>header.has-favorited-by:has(>.social-page-tools){grid-template-columns:minmax(42px,1fr) 88px minmax(116px,1fr)}
}
/* Override the older Sorties header grid, while leaving its page layout intact. */
.app header#brand.has-favorited-by .status>div{display:flex!important;align-items:center!important;justify-content:flex-end!important;flex-wrap:nowrap!important;gap:1px!important;width:max-content!important;max-width:none!important}

/* Keep the approved logo separate from the shortcuts in Sorties, Nearby and Games. */
html body .app>header.approved-header-separated,html body .app>header#brand.approved-header-separated,html body #flirt-nearby-preview .app>header.approved-header-separated{transform:none!important;display:grid!important;grid-template-columns:minmax(0,1fr) 88px 116px!important;column-gap:16px!important;align-items:center!important}
html body header.approved-header-separated>.hello{grid-column:1!important;grid-row:1!important;min-width:0!important;max-width:100%!important;overflow:hidden;justify-self:start}
html body header.approved-header-separated>.logo{grid-column:2!important;grid-row:1!important;width:88px!important;height:88px!important;min-width:0!important;justify-self:center;object-fit:contain;transform:rotate(-16deg)!important}
html body header.approved-header-separated>.status{grid-column:3!important;grid-row:1!important;width:116px!important;min-width:116px!important;justify-self:end!important;transform:none!important}
@media(max-width:600px){main>header.has-favorited-by:has(>.social-page-tools){column-gap:16px}}
