/* UX17 — loading, skeletons, card motion and overflow fixes. Additive; animates only opacity/transform. */

/* ux17:boot-start (also inlined in the HTML entries so it paints before any stylesheet or script) */
/* Halo (approved): thin conic ring orbiting the official symbol. One light beam crosses the symbol and then the
   wordmark (same 2.6 s cycle, word 0.35 s later); a soft olive glow breathes behind the symbol. */
.ux17-boot{position:fixed;inset:0;z-index:50;display:grid;place-content:center;justify-items:center;gap:26px;background:radial-gradient(70% 45% at 50% 46%,#18201480,transparent 70%),radial-gradient(120% 80% at 50% 35%,#121811 0%,#0a0d0a 62%,#070907 100%);color:#e9eedf;font-family:var(--font-sans,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif)}
.ux17-boot-ring{position:relative;width:132px;height:132px;display:grid;place-items:center}
.ux17-boot-ring:before{content:"";position:absolute;inset:0;border-radius:50%;padding:1.5px;background:conic-gradient(from 0deg,#0000 0 62%,#bacd8333 70%,#bacd83 96%,#0000 100%);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;animation:ux17-spin 1.6s linear infinite}
.ux17-boot-ring:after{content:"";position:absolute;inset:-18px;border-radius:50%;background:radial-gradient(circle,#bacd831f,#0000 65%);animation:ux17-glow 2.6s ease-in-out infinite}
.ux17-boot-mark{position:relative;z-index:1;display:block;width:76px;height:76px;animation:ux17-boot-in .7s cubic-bezier(.22,1,.36,1) both}
.ux17-boot-mark img{display:block;width:100%;height:100%;filter:drop-shadow(0 6px 18px #bacd8333)}
/* Reflection on the symbol: a light band clipped to the symbol's own shape, moved with transform only. */
.ux17-boot-shine{position:absolute;inset:0;overflow:hidden;-webkit-mask:url(/brand/ares-symbol.svg) center/contain no-repeat;mask:url(/brand/ares-symbol.svg) center/contain no-repeat}
.ux17-boot-shine:before{content:"";position:absolute;top:-10%;bottom:-10%;left:0;width:55%;background:linear-gradient(105deg,#0000 8%,#fffbe6f0 50%,#0000 92%);transform:translateX(-140%) skewX(-12deg);animation:ux17-sweep 2.6s cubic-bezier(.6,0,.2,1) .4s infinite}
.ux17-boot-word{position:relative;display:grid;justify-items:center;font-weight:700;font-size:15px;line-height:1;letter-spacing:.34em;padding-left:.34em;color:#cfd7c2;animation:ux17-boot-track .9s cubic-bezier(.22,1,.36,1) .12s both}
.ux17-boot-word small{font-size:7.5px;letter-spacing:.55em;padding-left:.55em;color:#9aa58c;font-weight:600;margin-top:6px}
/* Same beam over the letters: a bright copy of the wordmark revealed by a moving mask. */
.ux17-boot-word:after{content:"ARES";position:absolute;top:0;left:0;right:0;text-align:center;padding-left:.34em;color:#fffef5;text-shadow:0 0 6px #e6f2b8,0 0 16px #bacd83;-webkit-mask:linear-gradient(105deg,#0000 40%,#000 50%,#0000 60%) 0 0/300% 100%;mask:linear-gradient(105deg,#0000 40%,#000 50%,#0000 60%) 0 0/300% 100%;animation:ux17-word-sweep 2.6s cubic-bezier(.6,0,.2,1) .75s infinite}
/* Status line: tells the user the account is being authenticated; two true phrases cross-fade, dots pulse. */
/* The phrases roll like a ticker through a soft slit: the outgoing one rises and dissolves while the next rises in. */
.ux17-boot-status{display:grid;justify-items:center;margin-top:-10px;padding:7px 0;font-size:10.5px;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:#a9b897;-webkit-mask:linear-gradient(#0000,#000 32%,#000 68%,#0000);mask:linear-gradient(#0000,#000 32%,#000 68%,#0000);animation:ux17-boot-in .7s ease .3s both}
.ux17-boot-status>span{grid-area:1/1;display:flex;align-items:baseline;white-space:nowrap;opacity:0;animation:ux17-phrase 6s cubic-bezier(.22,1,.36,1) infinite}
.ux17-boot-status>span:nth-child(2){animation-delay:3s}
.ux17-boot-status i{display:inline-block;width:3px;height:3px;margin-left:3px;border-radius:50%;background:#bacd83;animation:ux17-dot 1.2s ease-in-out infinite}
.ux17-boot-status i:nth-of-type(2){animation-delay:.15s}.ux17-boot-status i:nth-of-type(3){animation-delay:.3s}
@keyframes ux17-phrase{0%{opacity:0;transform:translateY(110%)}9%,45%{opacity:1;transform:none}55%,100%{opacity:0;transform:translateY(-110%)}}
@keyframes ux17-dot{0%,100%{opacity:.25}50%{opacity:1}}
.ux17-boot .sr-only,.ux17-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@keyframes ux17-boot-in{from{opacity:0;transform:translateY(8px)}}
@keyframes ux17-boot-track{from{opacity:0;letter-spacing:.62em}}
@keyframes ux17-spin{to{transform:rotate(1turn)}}
@keyframes ux17-glow{50%{opacity:.45;transform:scale(.94)}}
@keyframes ux17-sweep{0%{transform:translateX(-140%) skewX(-12deg)}55%,100%{transform:translateX(240%) skewX(-12deg)}}
@keyframes ux17-word-sweep{0%{-webkit-mask-position:100% 0;mask-position:100% 0}55%,100%{-webkit-mask-position:0 0;mask-position:0 0}}
@keyframes ux17-boot-run{from{transform:translateX(-100%)}to{transform:translateX(250%)}}
@media (prefers-reduced-motion:reduce){.ux17-boot-ring:before,.ux17-boot-ring:after,.ux17-boot-mark,.ux17-boot-word,.ux17-boot-shine:before,.ux17-boot-word:after,.ux17-boot-status,.ux17-boot-status>span,.ux17-boot-status i{animation:none!important}.ux17-boot-shine,.ux17-boot-word:after,.ux17-boot-status>span:nth-child(2){display:none}.ux17-boot-status>span{opacity:1}}
/* ux17:boot-end */

/* In-shell variant (React session gate): centered in the content area, no entrance fade. */
.ux17-boot.is-inline{position:relative;inset:auto;z-index:auto;min-height:calc(100svh - 260px);background:none}
.ux17-boot.is-inline .ux17-boot-mark,.ux17-boot.is-inline .ux17-boot-word{animation:none}

/* Skeleton primitive: a shimmer moved with transform on a pseudo-element (no layout or paint of the content). */
.ux17-skel{position:relative;display:block;overflow:hidden;border-radius:7px;background:#ffffff0f}
.ux17-skel:after{content:"";position:absolute;inset:0;transform:translateX(-100%);background:linear-gradient(90deg,#0000,#ffffff12 50%,#0000);animation:ux17-shimmer 1.5s ease-in-out infinite}
@keyframes ux17-shimmer{to{transform:translateX(100%)}}
.ux17-skel-title{height:20px;width:min(60%,280px);margin-bottom:12px}
.ux17-skel-line{height:12px;width:100%;margin-top:9px}
.ux17-skel-line.is-short{width:55%}
.ux17-skel-card{height:120px;border-radius:var(--radius,18px)}
.ux17-skel-avatar{width:40px;height:40px;border-radius:50%;flex:none}
.ux17-card-skeleton{padding:4px 0}
.ux17-list-row{display:flex;gap:12px;align-items:center;padding:10px 0}
.ux17-list-row>span:last-child{flex:1;min-width:0}
.ux17-loading-state{min-height:88px}
.ux17-route{display:block}
.ux17-route-cards{display:grid;gap:14px;margin-top:24px}

/* Home — "Próxima operação" skeleton keeps the final card's structure and height. */
.ux17-op-skeleton{box-sizing:border-box;min-height:430px;display:flex;flex-direction:column}
.ux17-op-skeleton .ux17-skel-button{margin-top:auto}
@media (width<=600px){.ux17-op-skeleton{min-height:421px}}
.ux17-op-skeleton .operation-top{min-height:16px}
.ux17-skel-chip{height:12px;width:140px}
.ux17-skel-chip.is-short{width:58px}
.ux17-skel-h3{height:34px;width:78%;border-radius:9px}
.ux17-skel-field{width:52%;margin-top:14px}
.ux17-skel-meta{height:40px;width:118px;border-radius:10px}
.ux17-op-skeleton .status-grid>span{gap:6px}
.ux17-skel-dot{width:13px;height:13px;border-radius:50%}
.ux17-skel-word{height:10px;width:62px;border-radius:5px}
.ux17-skel-word.is-short{width:44px}
.status-grid .ux17-skel-word{grid-column:1;margin-top:2px}
.ux17-skel-button{height:48px;border-radius:12px}
@media (width<=600px){.ux17-skel-h3{height:30px}.ux17-skel-meta{width:96px;height:36px}.ux17-skel-word{width:48px}}

/* Refresh of data already on screen: thin progress line instead of replacing the card. */
.ux17-op{position:relative;overflow:hidden}
.ux17-refresh-bar{position:absolute;top:0;left:0;right:0;height:2px;overflow:hidden;pointer-events:none}
.ux17-refresh-bar:after{content:"";position:absolute;inset:0;width:35%;background:linear-gradient(90deg,#0000,var(--accent,#bacd83),#0000);animation:ux17-boot-run 1.2s ease-in-out infinite}
.ux17-op-stale{color:var(--muted);font-size:12px}
.ux17-op-stale button,.ux17-op>p[role=status] button{min-height:44px}

/* Long, unbroken operation names (e.g. QA_PROD_..._20261013) must stay inside the card. */
.operation,.game,.clan,.campaign{min-width:0;max-width:100%}
.operation h3,.ux17-op-title{overflow-wrap:anywhere;word-break:break-word;hyphens:auto;min-width:0;max-width:100%}
.ux17-op-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden;line-height:1.12;padding-bottom:.04em}
.operation .field{min-width:0;flex-wrap:wrap;overflow-wrap:anywhere}
.operation .field>span{flex:none}
.operation-meta{flex-wrap:wrap;row-gap:14px;min-width:0}
.status-grid>span{min-width:0;overflow-wrap:anywhere}
.game-content h3,.clan-top h3,.live-clan-identity h3{overflow-wrap:anywhere;min-width:0}
.game-content h3{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden}
.live-clan-identity,.clan-top>div:nth-child(2){min-width:0}

/* Small image slots (crests, avatars, portraits) never print "Carregando imagem…"/"Imagem indisponível" over their
   circle; they become a quiet shimmer and the accessible name stays in aria-label. Large media keep their text. */
.crest .media-placeholder,.avatars .media-placeholder,.avatar .media-placeholder,.topbar .media-placeholder,.profile-portrait>.media-placeholder,.live-clan-member-avatar.media-placeholder,.live-clan-crest.media-placeholder{font-size:0!important;color:transparent!important;background-color:#ffffff10;overflow:hidden;position:relative}
.crest .media-placeholder,.avatars .media-placeholder,.live-clan-member-avatar.media-placeholder,.live-clan-crest.media-placeholder{display:block;width:100%;height:100%;border-radius:inherit}
:is(.crest,.avatars,.avatar,.topbar) .media-placeholder:after,.profile-portrait>.media-placeholder:after,.live-clan-member-avatar.media-placeholder:after,.live-clan-crest.media-placeholder:after{content:"";position:absolute;inset:0;transform:translateX(-100%);background:linear-gradient(90deg,#0000,#ffffff10 50%,#0000);animation:ux17-shimmer 1.5s ease-in-out infinite}

/* Profile owner shortcut to subscriptions rendered as an unstyled 19 px text link at the screen edge. */
.operator-preview.live-profile>a[href="/subscriptions"]{display:flex;align-items:center;width:fit-content;min-height:44px;margin:10px 16px 10px auto;padding:0 16px;border-radius:999px;border:1px solid #ebf4da24;background:#0c100ec7;color:var(--text,#e9eedf);font-size:12px;font-weight:600;letter-spacing:.01em;position:relative;z-index:2}
.operator-preview.live-profile>a[href="/subscriptions"]:hover{border-color:#bacd8366}

/* Card motion: enter once when the Home mounts (not on data refresh), reveal real data once, discreet press/hover. */
@keyframes ux17-rise{from{opacity:0;transform:translateY(10px)}}
@keyframes ux17-fade{from{opacity:0}}
main:has(>.greeting)>section:not(.greeting){animation:ux17-rise .42s cubic-bezier(.22,1,.36,1) both}
main:has(>.greeting)>section:nth-of-type(2){animation-delay:40ms}
main:has(>.greeting)>section:nth-of-type(3){animation-delay:80ms}
main:has(>.greeting)>section:nth-of-type(4){animation-delay:120ms}
main:has(>.greeting)>section:nth-of-type(n+5){animation-delay:160ms}
.ux17-op{animation:ux17-fade .32s ease-out both}
.ux17-op .status-grid small{animation:ux17-fade .26s ease-out both}
.game,.quick-strip>a,.operation .primary,.clan .text-link{transition:transform .18s cubic-bezier(.22,1,.36,1),border-color .18s ease,background-color .18s ease}
.game:active,.quick-strip>a:active,.operation .primary:active{transform:scale(.98)}
@media (hover:hover) and (pointer:fine){
  .game:hover{transform:translateY(-3px);border-color:rgba(var(--scene-rgb,186,205,131),.22)}
  .operation .primary:hover{transform:translateY(-1px)}
}
@media (prefers-reduced-motion:reduce){
  main:has(>.greeting)>section,.ux17-op,.ux17-op .status-grid small{animation:none!important}
  .ux17-skel:after,.ux17-refresh-bar:after,.media-placeholder:after{animation:none!important;opacity:0}
  .game:hover,.game:active,.quick-strip>a:active,.operation .primary:active,.operation .primary:hover{transform:none}
}

/* R3 — Friends page: compact header, sticky selector, list rows, actionable empty states. Scoped to .ux17f. */
.ux17f{padding-top:14px}
.ux17f-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}
.ux17f-head h1{margin:0;font-size:30px;line-height:1.05;letter-spacing:-.03em;font-weight:650}
.ux17f-head span{display:block;margin-top:4px;color:#93a08b;font-size:13px}
.ux17f-privacy{flex:none;display:grid;place-items:center;width:44px;height:44px;padding:0;border-radius:14px;border:1px solid #ffffff14;background:#0d130eb8;color:#b9c6a8;transition:border-color .18s,background-color .18s,transform .18s}
.ux17f-privacy:hover{border-color:#bacd8355}
.ux17f-privacy[aria-pressed=true]{background:rgba(var(--scene-rgb,186,205,131),.14);color:#d7e3b2;border-color:#bacd8355}
.ux17f-privacy:active{transform:scale(.96)}
.ux17f .ux17f-tabs{position:sticky;top:calc(env(safe-area-inset-top,0px) + 8px);z-index:5;margin:0 0 12px;padding:5px;border-radius:16px;background:#0b100cdb;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border:1px solid #ffffff12;box-shadow:0 10px 24px #0006}
.ux17f .ux17f-tabs button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:44px;font-size:13px;font-weight:600;color:#a1ab9b;transition:color .18s,background-color .18s,border-color .18s}
.ux17f .ux17f-tabs button[aria-current]{color:#e6efcb;background:rgba(var(--scene-rgb,186,205,131),.12);border-color:rgba(var(--scene-rgb,186,205,131),.22)}
.ux17f .ux17f-tabs small{display:inline-grid!important;place-items:center;min-width:20px;height:20px;margin:0;padding:0 6px;border-radius:999px;font-size:10.5px;font-weight:700;background:#ffffff10;color:#c5d0b6}
.ux17f .ux17f-tabs small.is-alert{background:#bacd83;color:#11160b}
.ux17f .friends-live-search{margin:0 0 22px;min-height:50px;border-radius:14px}
.ux17f .friends-live-search input{font-size:15px}
.ux17f .friends-live-title{margin-bottom:12px;align-items:center}
.ux17f .friends-live-title h2{font-size:19px;margin-top:4px}
.ux17f .friends-live-title>span{display:inline-block!important;color:#93a08b;font-size:12px}
.ux17f .friends-live-grid{gap:8px}
.ux17f .friends-live-card{border-radius:16px;padding:12px 12px 12px 14px;transition:border-color .18s,background-color .18s}
.ux17f .friends-live-card:hover{border-color:#bacd8330}
.ux17f .friends-live-card>a strong{font-size:15px}
.ux17f .friends-live-card>a small{font-size:11.5px;margin-top:3px}
.ux17f .friends-live-card>a p{font-size:12px;margin-top:4px;color:#b9c6a8}
.ux17f .friends-live-card>button,.ux17f .friends-add,.ux17f .friends-request>div:last-child button{width:44px;height:44px;border-radius:13px}
.ux17f .friends-live-card>button:active,.ux17f .friends-request>div:last-child button:active{transform:scale(.95)}
.ux17f .friends-request>div:last-child button:first-child{background:#bacd83;color:#11160b;border-color:transparent}
.ux17f-empty{display:grid;justify-items:start;gap:6px;padding:22px}
.ux17f-empty strong{color:#e9eedf;font-size:16px}
.ux17f-empty p{margin:0;color:#9ca797;font-size:13.5px;line-height:1.5;max-width:46ch}
.ux17f-empty .primary{margin-top:10px;min-height:44px;width:auto;padding:0 18px;justify-content:center}
.ux17f .friends-load-more{width:100%}
.ux17f .community-settings{margin-top:4px}
@media (width<=430px){
  .ux17f-head h1{font-size:27px}
  .ux17f .ux17f-tabs button{font-size:12.5px;padding-inline:4px;gap:5px}
  .ux17f .friends-live-card:not(.friends-request){grid-template-columns:minmax(0,1fr) 44px auto}
}
.ux17f .friends-request{grid-template-columns:minmax(0,1fr) auto}
.ux17f .friends-request>div:last-child{gap:8px}
.ux17f .friends-request>div:last-child button{flex:none}
/* Premium layer: network strip, sliding selector pill, avatar rings, cascading rows, focus glow. */
.ux17f-head{position:relative}
.ux17f-head:before{content:"";position:absolute;left:-40px;top:-60px;width:260px;height:180px;background:radial-gradient(closest-side,rgba(var(--scene-rgb,186,205,131),.16),#0000);pointer-events:none;z-index:-1}
.ux17f-crew{display:flex;align-items:center;gap:14px;margin:0 0 16px;padding:12px 14px;border-radius:16px;background:linear-gradient(120deg,rgba(var(--scene-rgb,186,205,131),.09),#0000 70%),#0b100cb3;border:1px solid rgba(var(--scene-rgb,186,205,131),.12);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);animation:ux17-rise .45s cubic-bezier(.22,1,.36,1) both}
.ux17f-stack{display:flex;align-items:center;padding-left:8px;flex:none}
.ux17f-av,.ux17f-stack b{position:relative;display:grid;place-items:center;width:34px;height:34px;margin-left:-8px;border-radius:50%;overflow:hidden;font-size:11px;font-weight:700;color:#d7e3b2;background:linear-gradient(145deg,#2c3a24,#18211a);border:2px solid #0b100c;box-shadow:0 0 0 1px rgba(var(--scene-rgb,186,205,131),.35)}
.ux17f-av img,.ux17f-av .media-placeholder{width:100%;height:100%;object-fit:cover;border-radius:50%;font-size:0;color:transparent}
.ux17f-stack b{background:#bacd83;color:#11160b;font-size:10.5px}
.ux17f-av.is-empty{margin-left:0;color:#bacd83}
.ux17f-crew p{margin:0;min-width:0;display:grid;gap:2px}
.ux17f-crew strong{font-size:14px;color:#e9eedf;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ux17f-crew p span{font-size:12px;color:#93a08b}
.ux17f-crew button{justify-self:start;padding:0;min-height:24px;background:none;border:0;color:#cfe09a;font-size:12.5px;font-weight:600;text-decoration:underline;text-decoration-color:#bacd8355;text-underline-offset:3px;cursor:pointer}
/* Selector: the active pill slides between the three tabs. */
.ux17f .ux17f-tabs:before{content:"";position:absolute;top:5px;bottom:5px;left:5px;width:calc((100% - 18px)/3);border-radius:11px;background:linear-gradient(140deg,rgba(var(--scene-rgb,186,205,131),.2),rgba(var(--scene-rgb,186,205,131),.08));border:1px solid rgba(var(--scene-rgb,186,205,131),.28);box-shadow:0 6px 18px #0005,inset 0 1px #ffffff12;transition:transform .34s cubic-bezier(.22,1,.36,1),opacity .2s}
.ux17f .ux17f-tabs:has(>button:nth-child(2)[aria-current]):before{transform:translateX(calc(100% + 4px))}
.ux17f .ux17f-tabs:has(>button:nth-child(3)[aria-current]):before{transform:translateX(calc(200% + 8px))}
.ux17f .ux17f-tabs:not(:has(>button[aria-current])):before{opacity:0}
.ux17f .ux17f-tabs button{position:relative;z-index:1}
.ux17f .ux17f-tabs button[aria-current]{background:none;border-color:#0000}
/* Rows: ring around the avatar, soft lift on hover, cascading entrance when a tab opens. */
.ux17f .friends-live-card img,.ux17f .friends-live-card .media-placeholder,.ux17f .friends-live-card .member-identity>span:first-child{box-shadow:0 0 0 2px #0b100c,0 0 0 3.5px rgba(var(--scene-rgb,186,205,131),.45)}
.ux17f .friends-live-card{background:linear-gradient(120deg,rgba(var(--scene-rgb,186,205,131),.06),#0000 55%),#0c120eb8}
.ux17f .friends-live-grid>*{animation:ux17-rise .42s cubic-bezier(.22,1,.36,1) both}
.ux17f .friends-live-grid>:nth-child(2){animation-delay:50ms}.ux17f .friends-live-grid>:nth-child(3){animation-delay:100ms}.ux17f .friends-live-grid>:nth-child(4){animation-delay:150ms}.ux17f .friends-live-grid>:nth-child(n+5){animation-delay:200ms}
@media (hover:hover) and (pointer:fine){.ux17f .friends-live-card:hover{transform:translateY(-2px);box-shadow:0 12px 28px #0006}}
.ux17f .friends-live-card{transition:transform .2s cubic-bezier(.22,1,.36,1),box-shadow .2s,border-color .2s}
/* Empty states: icon in a glowing ring. */
.ux17f-empty{justify-items:center;text-align:center;padding:30px 22px}
.ux17f-empty p{margin-inline:auto}
.ux17f-empty-icon{display:grid;place-items:center;width:58px;height:58px;margin-bottom:6px;border-radius:50%;color:#cfe09a;background:radial-gradient(circle,rgba(var(--scene-rgb,186,205,131),.18),#0000 70%);box-shadow:inset 0 0 0 1px rgba(var(--scene-rgb,186,205,131),.35),0 0 24px rgba(var(--scene-rgb,186,205,131),.12)}
/* Search: focus glow. */
.ux17f .friends-live-search{transition:border-color .2s,box-shadow .2s}
.ux17f .friends-live-search:focus-within{border-color:#bacd8366;box-shadow:0 0 0 4px #bacd8314}
/* Scene: the app's own rotating background (same component as Home), full-bleed and blurred like Store/Journey. */
:root:has(.ux17f) .dynamic-background{object-fit:cover;object-position:center;opacity:.9;filter:blur(30px) brightness(.62) saturate(.84);width:calc(100% + 96px);max-width:none;height:calc(100% + 96px);inset:-48px;top:-48px;left:-48px;right:auto;transform:scale(1.02);-webkit-mask-image:none;mask-image:none}
.ux17f.friends-live-page{background:linear-gradient(#0000,#0000 45%,#0709086b 100%)}
/* Adaptive glass, same recipe as the Home cards: tinted by the current scene tone (--scene-rgb) and blurred. */
.ux17f .friends-live-card,.ux17f .ux17f-crew,.ux17f .friends-live-empty,.ux17f .friends-live-search,.ux17f .ux17f-privacy,.ux17f .community-settings{background:linear-gradient(125deg,rgba(var(--scene-rgb),.085),rgba(var(--scene-rgb),.025)),#0a0c0da3;-webkit-backdrop-filter:blur(22px) saturate(105%);backdrop-filter:blur(22px) saturate(105%);border-color:rgba(var(--scene-rgb),.12)}
.ux17f .ux17f-tabs{background:linear-gradient(125deg,rgba(var(--scene-rgb),.09),rgba(var(--scene-rgb),.03)),#0a0c0dd6;border-color:rgba(var(--scene-rgb),.14)}
.ux17f .friends-live-card>button,.ux17f .friends-add,.ux17f .friends-request>div:last-child button:last-child{background:rgba(var(--scene-rgb),.1);border-color:rgba(var(--scene-rgb),.16)}
.ux17f .friends-live-card:hover{border-color:rgba(var(--scene-rgb),.28)}
@media (prefers-reduced-motion:reduce){.ux17f-privacy,.ux17f .friends-live-card,.ux17f .ux17f-tabs:before{transition:none}.ux17f-crew,.ux17f .friends-live-grid>*{animation:none}.ux17f-privacy:active,.ux17f .friends-live-card>button:active,.ux17f .friends-live-card:hover{transform:none}}

/* R4 — public profile: friendship action at the right end of the city line, as green text + icon (no card). */
.operator-meta-line:has(.ux17-friend-inline){display:flex;align-items:center;flex-wrap:wrap;column-gap:10px}
.ux17-friend-inline{margin-left:auto;position:relative;z-index:3}
.ux17-friend-inline .social-actions{display:flex;align-items:center;gap:2px}
.ux17-friend-inline .social-actions>button,.ux17-friend-inline .social-actions>a,.ux17-friend-inline .social-actions>small{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 6px;margin:0;border:0;border-radius:10px;background:none;color:#bacd83;font-size:13px;font-weight:650;line-height:1;white-space:nowrap;text-decoration:none;box-shadow:none;cursor:pointer;transition:color .18s,background-color .18s,transform .18s}
.ux17-friend-inline .social-actions>button:hover,.ux17-friend-inline .social-actions>a:hover{color:#d6e7a4;background:#bacd8314}
.ux17-friend-inline .social-actions>button:active{transform:scale(.96)}
.ux17-friend-inline .social-actions>button:first-child:not([aria-label]):before,.ux17-friend-inline .social-actions>a:before,.ux17-friend-inline .social-actions>small:before{content:"";width:16px;height:16px;flex:none;background:currentColor;-webkit-mask:var(--ux17-icon) center/contain no-repeat;mask:var(--ux17-icon) center/contain no-repeat}
.ux17-friend-inline .social-actions>button:first-child:not([aria-label]){--ux17-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M19 8v6M22 11h-6'/%3E%3C/svg%3E")}
.ux17-friend-inline .social-actions>a{--ux17-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.9 20A9 9 0 1 0 4 16.1L2 22Z'/%3E%3C/svg%3E")}
.ux17-friend-inline .social-actions>small{color:#9fb07f;font-weight:600;cursor:default;--ux17-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E")}
.ux17-friend-inline .social-actions>button:nth-child(2):not([aria-label]){color:#a9b897}
.ux17-friend-inline .social-actions>button[aria-label="Mais opções do operador"]{width:34px;min-width:34px;height:34px;min-height:34px;margin-left:4px;padding:0;justify-content:center;border-radius:50%;letter-spacing:.06em;font-size:13px;color:#cfe09a;border:1px solid rgba(var(--scene-rgb,186,205,131),.18);background:rgba(var(--scene-rgb,186,205,131),.05)}
.ux17-friend-inline .social-actions>button[aria-label="Mais opções do operador"][aria-expanded=true],.ux17-friend-inline .social-actions:has(.social-menu)>button[aria-label="Mais opções do operador"]{background:rgba(var(--scene-rgb,186,205,131),.16);border-color:rgba(var(--scene-rgb,186,205,131),.35)}
/* "Solicitação enviada" is a status, not an action: a quiet chip with a clock. */
.ux17-friend-inline .social-actions>small{min-height:32px;padding:0 12px;border-radius:999px;font-size:12.5px;border:1px solid rgba(var(--scene-rgb,186,205,131),.22);background:rgba(var(--scene-rgb,186,205,131),.06)}
.ux17-friend-inline .social-actions>small:before{width:14px;height:14px}
/* Options menu (•••): glass sheet anchored top-right, icon per action, invite in green, block/report/remove in soft red. */
@keyframes ux17-menu-in{from{opacity:0;transform:translateY(-4px) scale(.97)}}
.ux17-friend-inline .social-menu{position:absolute;top:calc(100% + 6px);right:0;z-index:20;display:grid;gap:2px;width:max-content;min-width:232px;padding:6px;border-radius:18px;border:1px solid rgba(var(--scene-rgb,186,205,131),.16);background:linear-gradient(160deg,rgba(var(--scene-rgb,186,205,131),.1),rgba(var(--scene-rgb,186,205,131),.02)),#0a0d0bf5;-webkit-backdrop-filter:blur(22px) saturate(110%);backdrop-filter:blur(22px) saturate(110%);box-shadow:0 18px 40px #000b,inset 0 1px #ffffff0d;transform-origin:top right;animation:ux17-menu-in .2s cubic-bezier(.22,1,.36,1) both}
.ux17-friend-inline .social-menu button{display:flex;align-items:center;gap:11px;min-height:46px;padding:0 14px;text-align:left;border-radius:12px;background:none;border:0;color:#f0b7ad;font-size:14px;font-weight:600;cursor:pointer;transition:background-color .16s}
.ux17-friend-inline .social-menu button:hover,.ux17-friend-inline .social-menu button:focus-visible{background:#ffffff0c}
.ux17-friend-inline .social-menu button:before{content:"";width:18px;height:18px;flex:none;background:currentColor;opacity:.9;-webkit-mask:var(--ux17-icon) center/contain no-repeat;mask:var(--ux17-icon) center/contain no-repeat}
.ux17-friend-inline .social-menu button:nth-last-child(2){color:#cfe09a;--ux17-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z'/%3E%3Cpath d='M12 8v6M9 11h6'/%3E%3C/svg%3E");order:-1;margin-bottom:4px;position:relative}
.ux17-friend-inline .social-menu button:nth-last-child(2):after{content:"";position:absolute;left:12px;right:12px;bottom:-3px;height:1px;background:#ffffff12}
.ux17-friend-inline .social-menu button:last-child{--ux17-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 15s1-1 4-1 5 2 8 2 4-1 4-1V3s-1 1-4 1-5-2-8-2-4 1-4 1z'/%3E%3Cpath d='M4 22v-7'/%3E%3C/svg%3E")}
.ux17-friend-inline .social-menu button:nth-last-child(3){--ux17-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m4.9 4.9 14.2 14.2'/%3E%3C/svg%3E")}
.ux17-friend-inline .social-menu button:nth-last-child(4){--ux17-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 11h-6'/%3E%3C/svg%3E")}
.ux17-friend-inline .social-menu button:disabled{opacity:.5;cursor:default}
/* Success is already visible in the button state; only errors are shown, under the action, never beside it. */
.ux17-friend-inline .community-status{display:none}
.ux17-friend-inline .community-error{position:absolute;right:6px;top:calc(100% + 2px);margin:0;max-width:260px;font-size:12px;text-align:right}

/* Profile specialties (Classe do operador / Especialização): a real card aligned with the stats row below. */
.operator-preview.live-profile .operator-identity .operator-specialties{margin:14px -12px 0!important;padding:14px 16px!important;border-radius:16px!important;border:1px solid rgba(var(--scene-rgb),.09)!important;grid-template-columns:28px minmax(0,1fr) minmax(0,1fr)!important;column-gap:12px!important;align-items:center}
.operator-preview.live-profile .operator-identity .operator-specialties>svg{justify-self:center;color:#bacd83}
.operator-preview.live-profile .operator-identity .operator-specialties>div{min-width:0}
.operator-preview.live-profile .operator-identity .operator-specialties>div+div{padding-left:12px;border-left:1px solid #ffffff10}
.operator-preview.live-profile .operator-identity .operator-specialties strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* Profile cards (stats, Loadout/Conquistas bar, "Publicações e momentos", specialties): the Home adaptive glass —
   a uniform, light scene tint instead of concentrated radial/corner glows that read as brown stains on dark areas. */
.operator-preview.live-profile :is(.operator-stats>div,.profile-nav-shell,.operator-content,.operator-specialties,.operator-featured,.pro-specialties,.operator-achievements>article,.loadout-detail){background:linear-gradient(125deg,rgba(var(--scene-rgb),.085),rgba(var(--scene-rgb),.025)),#0a0c0da3!important;-webkit-backdrop-filter:blur(22px) saturate(105%)!important;backdrop-filter:blur(22px) saturate(105%)!important;border-color:rgba(var(--scene-rgb),.09)!important}
/* Profile stats share the row equally (Conquistas moved to its tab). */
.operator-preview.live-profile .operator-stats{display:flex!important;gap:8px}
.operator-preview.live-profile .operator-stats>div{flex:1 1 0;min-width:0}
/* Loadout / Conquistas: two equal halves with the sliding pill used on the Friends selector. */
.operator-preview.live-profile .profile-nav-shell{display:block!important;padding:5px!important;border-radius:16px!important}
.operator-preview.live-profile .profile-nav-shell .profile-social-strip:not(:empty){margin:0 0 5px!important;padding:4px 6px!important}
.operator-preview.live-profile .op-tabs{position:relative;display:grid!important;grid-template-columns:1fr 1fr;gap:4px;margin:0!important;padding:0!important;background:none!important;border:0!important;width:100%}
.operator-preview.live-profile .op-tabs:before{content:"";position:absolute;top:0;bottom:0;left:0;width:calc((100% - 4px)/2);border-radius:11px;background:linear-gradient(140deg,rgba(var(--scene-rgb,186,205,131),.2),rgba(var(--scene-rgb,186,205,131),.08));border:1px solid rgba(var(--scene-rgb,186,205,131),.28);box-shadow:0 6px 18px #0005,inset 0 1px #ffffff12;transition:transform .34s cubic-bezier(.22,1,.36,1),opacity .2s;pointer-events:none}
.operator-preview.live-profile .op-tabs:has(>a:nth-child(2)[aria-current]):before{transform:translateX(calc(100% + 4px))}
.operator-preview.live-profile .op-tabs:not(:has(>a[aria-current])):before{opacity:0}
.operator-preview.live-profile .op-tabs>a{position:relative;z-index:1;display:flex!important;align-items:center;justify-content:center;gap:7px;min-height:44px;margin:0!important;padding:0 8px!important;border-radius:11px;border:1px solid transparent!important;background:none!important;color:#a1ab9b!important;font-size:13px;font-weight:600;text-decoration:none;box-shadow:none!important;transition:color .18s}
.operator-preview.live-profile .op-tabs>a[aria-current]{color:#e6efcb!important}
.operator-preview.live-profile .op-tabs>a:hover{color:#d7e3b2!important}
@media (prefers-reduced-motion:reduce){.operator-preview.live-profile .op-tabs:before{transition:none}}
/* The operator photo/cover placeholders never print their alt text over the image slot. */
.operator-avatar.media-placeholder,.operator-cover>.media-placeholder{font-size:0!important;color:transparent!important}
.operator-avatar.media-placeholder{background:radial-gradient(circle at 50% 38%,rgba(var(--scene-rgb,186,205,131),.28),rgba(var(--scene-rgb,186,205,131),.08) 62%),#10150f}
@media (prefers-reduced-motion:reduce){.ux17-friend-inline .social-actions>button,.ux17-friend-inline .social-menu{transition:none;animation:none}}
