/* Profile polish — native profile scope only (section.operator-preview.live-profile).
   Loaded as a static link, so route chunks the router injects later come after it in
   the cascade: every selector is rooted at ":root body section…[data-plan]" (0,4,2)
   to outrank the existing ":root .operator-preview.live-profile[data-plan] :is(…)"
   lift in cl09exp-ec34028633f1. No markup or JS changes. */

/* Backdrop: same blurred, dimmed scene as the other blurred pages (ux17f, clan create),
   replacing the brighter brightness(1.18) profile-only variant. */
:root:has(section.operator-preview.live-profile[data-plan]) body .dynamic-background{opacity:.9;filter:blur(30px) brightness(.62) saturate(.84)}

/* 1. Header: drop the solid #0a0c0b band; logo and icons sit on the cover over a soft scrim. */
html body:has(section.operator-preview.live-profile) .page>.topbar{position:relative;z-index:3;background:transparent}
html body:has(section.operator-preview.live-profile) .page>.topbar::before{content:"";position:absolute;z-index:-1;left:0;right:0;top:calc(-1 * env(safe-area-inset-top,0px));bottom:-36px;pointer-events:none;background:linear-gradient(180deg,#050706c7 0%,#05070685 42%,#05070600 100%)}
html body:has(section.operator-preview.live-profile) .page>.topbar .brand{text-shadow:0 1px 10px #0009}
html body:has(section.operator-preview.live-profile) .page>.topbar .icon-button>svg{filter:drop-shadow(0 1px 4px #0008)}

/* Cover fades into the scene at both edges instead of ending on a dark strip. */
:root body section.operator-preview.live-profile[data-plan] .operator-cover{background:transparent;-webkit-mask-image:linear-gradient(180deg,#0000 0,#000 22px,#000 74%,#0000 100%);mask-image:linear-gradient(180deg,#0000 0,#000 22px,#000 74%,#0000 100%)}
:root body section.operator-preview.live-profile[data-plan][data-edition] .operator-cover::after{background:linear-gradient(180deg,#0a0c0b1a 0%,#0a0c0b00 32%,#0a0c0b38 100%)}

/* Phone/tablet: the cover runs full-bleed from the top edge, under the status bar and
   header. Its height adds the header + safe area to the original 2056/765 band, so the
   identity card stays where it was. Object position leans right, where cover subjects
   usually stand. */
@media (max-width:1099px){
  :root body section.operator-preview.live-profile[data-plan] .operator-cover{aspect-ratio:auto;width:100%;height:calc(env(safe-area-inset-top,0px) + 76px + 100vw * 765 / 2056);margin-top:calc(-76px - env(safe-area-inset-top,0px));-webkit-mask-image:linear-gradient(180deg,#000 0,#000 70%,#0000 100%);mask-image:linear-gradient(180deg,#000 0,#000 70%,#0000 100%)}
  :root body section.operator-preview.live-profile[data-plan] .operator-cover>img{object-position:68% 40%}
  :root body section.operator-preview.live-profile[data-plan][data-edition] .operator-cover::after{background:linear-gradient(180deg,#0a0c0b00 55%,#0a0c0b59 100%)}
}

/* 2. Cards: the app's adaptive scene card (Home .operation/.clan/.game, ux17 glass):
   scene-tinted gradient over #0a0c0da3, blur(22px) saturate(105%), scene-tinted edge,
   --radius 20px and Home's 0 12px 36px #0002 shadow. One extra soft drop gives the
   subtle float the owner asked for. */
:root body section.operator-preview.live-profile[data-plan]{
  --pp-scene:var(--scene-rgb,105,137,113);
  --pp-radius:var(--radius,20px);
  --pp-gap:12px;
  --pp-tint:var(--profile-tint,186,205,131);
  --pp-edge:transparent;
  --pp-surface:linear-gradient(125deg,rgba(var(--pp-scene),.085),rgba(var(--pp-scene),.025)),#0a0c0da3;
  --pp-float:0 10px 22px -12px #000000c4,0 2px 6px #0000004d;
}
:root body section.operator-preview.live-profile[data-plan] :is(.op-card,.op-level,.operator-progress-card,nav.profile-social-strip,section.st-native-profile-gallery){border:1px solid var(--pp-edge);border-radius:var(--pp-radius);box-shadow:var(--pp-float)}
/* The identity card shipped with border:0; draw its edge as an inset ring so its content box
   (Especializações, traits) keeps exactly the original width. */
:root body section.operator-preview.live-profile[data-plan] div.op-card{border:0;box-shadow:var(--pp-float)}
:root body section.operator-preview.live-profile[data-plan] :is(.op-card,.op-level,.operator-progress-card,nav.profile-social-strip){background:var(--pp-surface);-webkit-backdrop-filter:blur(22px) saturate(105%);backdrop-filter:blur(22px) saturate(105%)}
:root body section.operator-preview.live-profile[data-plan] .op-stats{gap:var(--pp-gap);margin:var(--pp-gap) 16px 0}
/* Free operator: the stats (Operações, Campos, Nível) shipped as a bare strip between two rules.
   Give it the same card as the others: adaptive scene glass, no lines, float shadow. When the strip
   sits inside the PRO progress card it stays flat so there is no card in a card. */
:root body section.operator-preview.live-profile[data-plan] dl.operator-stats{box-sizing:border-box;display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:var(--pp-gap);margin:var(--pp-gap) 16px 0;max-width:none;padding:0;border:0;background:none}
:root body section.operator-preview.live-profile[data-plan] dl.operator-stats>div{box-sizing:border-box;min-width:0;padding:20px 8px;border:1px solid transparent;border-color:transparent!important;border-radius:var(--pp-radius);background:var(--pp-surface)!important;-webkit-backdrop-filter:blur(22px) saturate(105%)!important;backdrop-filter:blur(22px) saturate(105%)!important;box-shadow:var(--pp-float)}
:root body section.operator-preview.live-profile[data-plan] dl.operator-stats>div+div::before{content:none}
:root body section.operator-preview.live-profile[data-plan] .operator-progress-card dl.operator-stats{margin:0;padding:22px 0 16px;border:0;border-radius:0;background:none}
:root body section.operator-preview.live-profile[data-plan] .operator-progress-card dl.operator-stats>div{padding:0;border:0;border-radius:0;background:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;box-shadow:none}
:root body section.operator-preview.live-profile[data-plan] .operator-progress-card dl.operator-stats>div+div::before{content:"";background:#ffffff0e}

/* Free operator, the rest of the page: identity facts (Classe / Especialização), the progress card
   and the "Publicações e momentos" card get the same adaptive glass card, no line, same float shadow,
   same side margin and gap as the PRO cards. */
:root body section.operator-preview.live-profile[data-plan] :is(.operator-specialties,.operator-content){border:1px solid transparent;border-color:transparent!important;border-radius:var(--pp-radius)!important;background:var(--pp-surface);-webkit-backdrop-filter:blur(22px) saturate(105%);backdrop-filter:blur(22px) saturate(105%);box-shadow:var(--pp-float)}
@media (max-width:600px){
  :root body section.operator-preview.live-profile[data-plan] .operator-identity .operator-specialties{margin:14px -8px 0!important}
  :root body section.operator-preview.live-profile[data-plan]>.operator-progress-card,:root body section.operator-preview.live-profile[data-plan]>.operator-content{margin:0 16px 0!important}
}
:root body section.operator-preview.live-profile[data-plan]>nav.profile-social-strip.st-profile-tabs{margin-top:var(--pp-gap);margin-bottom:var(--pp-gap)}

/* Identity card: the facts row is the footer, no trailing rule or dead space. */
:root body section.operator-preview.live-profile[data-plan] .op-card-identity-ares:has(>.pro-identity-facts:last-child){padding-bottom:4px}
:root body section.operator-preview.live-profile[data-plan] .pro-identity-facts:last-child{border-bottom:0}
/* Divider keeps clear of the avatar and the plan tag, and fades out at the ends. */
:root body section.operator-preview.live-profile[data-plan] .pro-identity-facts{margin-top:18px;border-top:0;background:linear-gradient(90deg,#fff0,#ffffff17 12%,#ffffff17 88%,#fff0) top/100% 1px no-repeat}
:root body section.operator-preview.live-profile[data-plan] .pro-identity-facts small{font-size:9px;letter-spacing:.12em}
:root body section.operator-preview.live-profile[data-plan] .pro-identity-facts strong{font-size:12px;font-weight:600}

/* Level card: readable type sizes and a thicker XP track. */
:root body section.operator-preview.live-profile[data-plan] .op-level-prestige{min-height:116px;padding:16px 18px;gap:16px}
:root body section.operator-preview.live-profile[data-plan] .op-rank-line>span{font-size:10px}
:root body section.operator-preview.live-profile[data-plan] .op-rank-line>small{font-size:9px}
:root body section.operator-preview.live-profile[data-plan] .op-level-progress>strong{font-size:19px;font-weight:600;letter-spacing:-.02em}
:root body section.operator-preview.live-profile[data-plan] .op-xp-line>span{font-size:11px}
:root body section.operator-preview.live-profile[data-plan] .op-xp-line>b{font-size:11px;font-variant-numeric:tabular-nums}
:root body section.operator-preview.live-profile[data-plan] .op-level-progress .op-next-rank{font-size:10px;margin-top:2px}
:root body section.operator-preview.live-profile[data-plan] .op-level-prestige .op-level-ring>span small{font-size:8px}
:root body section.operator-preview.live-profile[data-plan] .op-xp-track{height:6px;margin-top:4px;background:rgba(255,255,255,.07);box-shadow:inset 0 1px 2px rgba(0,0,0,.45)}

/* Stats card. */
:root body section.operator-preview.live-profile[data-plan] .operator-progress-card .op-trio{height:72px}
:root body section.operator-preview.live-profile[data-plan] .operator-progress-card .op-trio span{font-size:10px}

/* 3. Level motion: arc draws in, number settles, XP bar fills, a slow sweep runs on the track. */
@keyframes pp-arc-draw{from{stroke-dasharray:0 169.65}}
@keyframes pp-level-pop{from{opacity:0;transform:scale(.6)}}
@keyframes pp-xp-fill{from{width:0}}
@keyframes pp-xp-shine{0%,55%{transform:translateX(-100%)}100%{transform:translateX(220%)}}
@keyframes pp-sweep{to{transform:rotate(360deg)}}
:root body section.operator-preview.live-profile[data-plan] .op-level-ring{position:relative}
:root body section.operator-preview.live-profile[data-plan] .op-level-ring>svg{position:relative;z-index:1;filter:drop-shadow(0 0 7px rgba(var(--pp-tint),.32))}
:root body section.operator-preview.live-profile[data-plan] .op-level-ring>span{z-index:2}
:root body section.operator-preview.live-profile[data-plan] .op-level-ring::before{content:"";position:absolute;inset:0;border-radius:50%;pointer-events:none;background:conic-gradient(from 0deg,rgba(var(--pp-tint),0) 0 70%,rgba(var(--pp-tint),.34) 100%);-webkit-mask:radial-gradient(farthest-side,#0000 calc(100% - 9.6px),#000 calc(100% - 9px),#000 calc(100% - 4px),#0000 calc(100% - 3.4px));mask:radial-gradient(farthest-side,#0000 calc(100% - 9.6px),#000 calc(100% - 9px),#000 calc(100% - 4px),#0000 calc(100% - 3.4px));animation:pp-sweep 6s linear infinite}
:root body section.operator-preview.live-profile[data-plan] .op-level-arc{animation:pp-arc-draw 1.3s cubic-bezier(.22,1,.36,1) .2s backwards;transition:stroke-dasharray .35s ease-out}
:root body section.operator-preview.live-profile[data-plan] .op-level-ring>span b{display:block;animation:pp-level-pop .7s cubic-bezier(.34,1.56,.64,1) .3s backwards}
:root body section.operator-preview.live-profile[data-plan] .op-xp-track i{position:relative;overflow:hidden;animation:pp-xp-fill 1.3s cubic-bezier(.22,1,.36,1) .25s backwards;transition:width .35s ease-out}
:root body section.operator-preview.live-profile[data-plan] .op-xp-track i::after{content:"";position:absolute;inset:0;width:45%;background:linear-gradient(90deg,#fff0,#ffffff59,#fff0);animation:pp-xp-shine 3.6s ease-in-out 1.6s infinite;transform:translateX(-100%)}

/* 4. Journey shortcut: roomier row, minimal line compass in a quiet round chip, bare arrow. */
@keyframes pp-needle-settle{0%{transform:rotate(-60deg)}65%{transform:rotate(10deg)}100%{transform:rotate(0)}}
:root body section.operator-preview.live-profile[data-plan] .operator-journey-shortcut{position:relative;min-height:64px;height:auto;gap:14px;padding:13px 18px;border-top:0;transition:background-color .2s}
:root body section.operator-preview.live-profile[data-plan] .operator-journey-shortcut::before{content:"";position:absolute;top:0;left:18px;right:18px;height:1px;background:rgba(var(--pp-scene),.09);pointer-events:none}
:root body section.operator-preview.live-profile[data-plan] .operator-journey-shortcut strong{font-size:13px;font-weight:600;letter-spacing:.005em}
:root body section.operator-preview.live-profile[data-plan] .operator-journey-icon{flex:0 0 34px;width:34px;height:34px;border-radius:50%;color:inherit;background:rgba(var(--pp-scene),.1);border:1px solid rgba(var(--pp-scene),.16);box-shadow:none}
:root body section.operator-preview.live-profile[data-plan] .operator-journey-icon::before{width:18px;height:18px;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='black' stroke-width='1.5'/%3E%3Cpath d='M15.2 8.8 13.3 13.3 8.8 15.2 10.7 10.7Z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='black' stroke-width='1.5'/%3E%3Cpath d='M15.2 8.8 13.3 13.3 8.8 15.2 10.7 10.7Z'/%3E%3C/svg%3E") center/contain no-repeat;animation:pp-needle-settle 1s cubic-bezier(.22,1,.36,1) .5s backwards;transition:transform .45s cubic-bezier(.34,1.56,.64,1)}
:root body section.operator-preview.live-profile[data-plan] .operator-journey-shortcut>svg{width:16px;height:16px;opacity:.55;transition:transform .2s,opacity .2s}
:root body section.operator-preview.live-profile[data-plan] .operator-journey-shortcut:hover{background:rgba(var(--pp-scene),.06)}
:root body section.operator-preview.live-profile[data-plan] .operator-journey-shortcut:is(:hover,:focus-visible) .operator-journey-icon::before{transform:rotate(45deg)}
:root body section.operator-preview.live-profile[data-plan] .operator-journey-shortcut:is(:hover,:focus-visible)>svg{transform:translateX(3px);opacity:.9}

/* Press feedback on the tappable rows. */
:root body section.operator-preview.live-profile[data-plan] :is(.operator-journey-shortcut,nav.profile-social-strip>a,nav.profile-social-strip>button){transition:transform .15s ease-out,background-color .2s}
:root body section.operator-preview.live-profile[data-plan] :is(.operator-journey-shortcut,nav.profile-social-strip>a,nav.profile-social-strip>button):active{transform:scale(.98)}
/* 4b. Progress + identity facts, redesigned (Free and PRO share the journey shortcut).
   Stats: big accent numbers over small caps labels. Journey: a glass pill with a tinted icon chip
   and a round chevron, lifting on hover. Classe/Especialização: a tinted icon chip, then the two
   facts packed to the left (class width follows its text) and the specialization wraps instead of
   truncating. */
:root body section.operator-preview.live-profile[data-plan] .operator-progress-card dl.operator-stats{padding:26px 12px 20px}
:root body section.operator-preview.live-profile[data-plan] dl.operator-stats dd{font-size:36px;font-weight:600;letter-spacing:-.03em;line-height:1;color:var(--pp-accent-ink)}
:root body section.operator-preview.live-profile[data-plan] dl.operator-stats dt{font-size:10.5px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--muted)}
:root body section.operator-preview.live-profile[data-plan] dl.operator-stats>div{gap:9px}
:root body section.operator-preview.live-profile[data-plan] .operator-journey-shortcut{box-sizing:border-box;width:auto;min-height:60px;margin:0 12px 12px;padding:10px 14px 10px 10px;border-radius:16px;background:linear-gradient(125deg,rgba(var(--pp-scene),.2),rgba(var(--pp-scene),.06)),#ffffff08;box-shadow:0 12px 24px -12px #000000b8,0 3px 8px #00000040;transition:transform .28s cubic-bezier(.34,1.56,.64,1),box-shadow .25s}
:root body section.operator-preview.live-profile[data-plan] .operator-journey-shortcut::before{content:none}
:root body section.operator-preview.live-profile[data-plan] .operator-journey-shortcut:hover{background:linear-gradient(125deg,rgba(var(--pp-scene),.26),rgba(var(--pp-scene),.09)),#ffffff08;transform:translateY(-2px);box-shadow:0 18px 30px -12px #000000cc,0 6px 12px #0000004d,0 0 30px -12px rgba(var(--pp-scene),.55)}
:root body section.operator-preview.live-profile[data-plan] .operator-journey-shortcut strong{font-size:14px;font-weight:600}
:root body section.operator-preview.live-profile[data-plan] .operator-journey-icon{flex:0 0 40px;width:40px;height:40px;border-radius:13px;color:var(--pp-accent-ink,#c9d2bf);background:linear-gradient(135deg,rgba(var(--pp-scene),.3),rgba(var(--pp-scene),.1)),#0a0c0d99;box-shadow:0 7px 12px -6px #000000b8;border:0}
:root body section.operator-preview.live-profile[data-plan] .operator-journey-shortcut>svg{box-sizing:border-box;flex:none;width:26px;height:26px;padding:5px;border-radius:50%;background:#ffffff0d;opacity:.8}
:root body section.operator-preview.live-profile[data-plan] .operator-identity .operator-specialties{grid-template-columns:44px max-content minmax(0,1fr)!important;column-gap:14px!important;padding:14px 16px 14px 14px!important;align-items:center}
:root body section.operator-preview.live-profile[data-plan] .operator-specialties>svg{box-sizing:border-box;width:44px;height:44px;padding:11px;border-radius:14px;stroke-width:1.75;justify-self:start;color:var(--pp-accent-ink,#c9d2bf)!important;background:linear-gradient(135deg,rgba(var(--pp-scene),.3),rgba(var(--pp-scene),.1)),#0a0c0d99;box-shadow:0 7px 12px -6px #000000b8}
:root body section.operator-preview.live-profile[data-plan] .operator-specialties>div+div{padding-left:14px}
:root body section.operator-preview.live-profile[data-plan] .operator-specialties span{display:block;margin-bottom:3px;font-size:10px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
:root body section.operator-preview.live-profile[data-plan] .operator-specialties strong{display:block;overflow:visible;text-overflow:clip;white-space:normal;font-size:15px;font-weight:600;line-height:1.25}
/* 4c. Free cluster (variation 3): Classe/Especialização card, two compact stat tiles side by side
   (icon chip + label + number), and the journey card — each its own adaptive glass card, borderless,
   12px apart. Motion: the cards rise in one after another, numbers pop, hover lifts the card. */
@keyframes pp-num-pop{from{opacity:0;transform:translateY(8px) scale(.7)}}
:root body section.operator-preview.live-profile[data-plan] .operator-identity .operator-specialties{background:linear-gradient(125deg,rgba(var(--pp-scene),.085),rgba(var(--pp-scene),.025)),#0a0c0db4!important;box-shadow:0 7px 14px -9px #000000cc,0 1px 5px #0000004d!important;animation:pp-pill-in .62s cubic-bezier(.22,1.2,.36,1) .05s backwards;transition:transform .28s cubic-bezier(.34,1.56,.64,1),box-shadow .25s}
:root body section.operator-preview.live-profile[data-plan] .operator-identity .operator-specialties:hover{transform:translateY(-3px);box-shadow:0 12px 22px -10px #000000d6,0 3px 8px #0000005c!important}
:root body section.operator-preview.live-profile[data-plan] .operator-progress-card:has(>dl.operator-stats){margin-top:var(--pp-gap)!important;background:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;border:0!important;box-shadow:none!important;display:grid;gap:var(--pp-gap);padding:0}
:root body section.operator-preview.live-profile[data-plan] .operator-progress-card:has(>dl.operator-stats)>dl.operator-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--pp-gap);margin:0;padding:0;border:0!important;background:none!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
:root body section.operator-preview.live-profile[data-plan] .operator-progress-card:has(>dl.operator-stats)>dl.operator-stats>div{box-sizing:border-box;position:relative;display:grid;grid-template-columns:36px minmax(0,1fr);grid-template-rows:auto auto;column-gap:11px;row-gap:2px;align-content:center;align-items:center;justify-items:start;min-width:0;padding:11px 12px;background:linear-gradient(125deg,rgba(var(--pp-scene),.085),rgba(var(--pp-scene),.025)),#0a0c0db4!important;-webkit-backdrop-filter:blur(22px) saturate(110%)!important;backdrop-filter:blur(22px) saturate(110%)!important;border:1px solid transparent!important;border-color:transparent!important;border-radius:var(--pp-radius)!important;box-shadow:0 7px 14px -9px #000000cc,0 1px 5px #0000004d!important;animation:pp-pill-in .62s cubic-bezier(.22,1.2,.36,1) backwards;transition:transform .28s cubic-bezier(.34,1.56,.64,1),box-shadow .25s}
:root body section.operator-preview.live-profile[data-plan] .operator-progress-card:has(>dl.operator-stats)>dl.operator-stats>div:nth-child(1){animation-delay:.12s}
:root body section.operator-preview.live-profile[data-plan] .operator-progress-card:has(>dl.operator-stats)>dl.operator-stats>div:nth-child(2){animation-delay:.19s}
:root body section.operator-preview.live-profile[data-plan] .operator-progress-card:has(>dl.operator-stats)>dl.operator-stats>div:nth-child(3){animation-delay:.26s}
:root body section.operator-preview.live-profile[data-plan] .operator-progress-card:has(>dl.operator-stats)>dl.operator-stats>div:hover{transform:translateY(-3px);box-shadow:0 12px 22px -10px #000000d6,0 3px 8px #0000005c!important}
:root body section.operator-preview.live-profile[data-plan] .operator-progress-card:has(>dl.operator-stats)>dl.operator-stats>div::before{content:"";position:static;top:auto;bottom:auto;left:auto;transform:none;margin:0;width:36px;height:36px;grid-column:1;grid-row:1/3;border-radius:12px;background:linear-gradient(135deg,rgba(var(--pp-scene),.3),rgba(var(--pp-scene),.1)),#0a0c0d99;box-shadow:0 7px 12px -6px #000000b8}
:root body section.operator-preview.live-profile[data-plan] .operator-progress-card:has(>dl.operator-stats)>dl.operator-stats>div::after{content:"";grid-column:1;grid-row:1/3;justify-self:center;width:18px;height:18px;background:var(--pp-accent-ink,#c9d2bf);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 21V4m0 0h11l-2 4 2 4H5'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 21V4m0 0h11l-2 4 2 4H5'/%3E%3C/svg%3E") center/contain no-repeat;transition:transform .35s cubic-bezier(.34,1.56,.64,1)}
:root body section.operator-preview.live-profile[data-plan] .operator-progress-card:has(>dl.operator-stats)>dl.operator-stats>div:nth-child(2)::after{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 11 5-5 5 5M7 17l5-5 5 5'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 11 5-5 5 5M7 17l5-5 5 5'/%3E%3C/svg%3E")}
:root body section.operator-preview.live-profile[data-plan] .operator-progress-card:has(>dl.operator-stats)>dl.operator-stats>div:nth-child(3)::after{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-5.5-7-11a7 7 0 0 1 14 0c0 5.5-7 11-7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-5.5-7-11a7 7 0 0 1 14 0c0 5.5-7 11-7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E")}
:root body section.operator-preview.live-profile[data-plan] .operator-progress-card:has(>dl.operator-stats)>dl.operator-stats>div:hover::after{transform:scale(1.15) rotate(-6deg)}
:root body section.operator-preview.live-profile[data-plan] .operator-progress-card:has(>dl.operator-stats)>dl.operator-stats dt{grid-column:2;grid-row:1;font-size:10px;font-weight:600;letter-spacing:.15em;text-transform:uppercase;color:var(--muted);line-height:1.1}
:root body section.operator-preview.live-profile[data-plan] .operator-progress-card:has(>dl.operator-stats)>dl.operator-stats dd{grid-column:2;grid-row:2;margin:0;font-size:24px;font-weight:600;letter-spacing:-.03em;line-height:1;color:var(--pp-accent-ink);animation:pp-num-pop .7s cubic-bezier(.34,1.56,.64,1) .35s backwards}
:root body section.operator-preview.live-profile[data-plan] .operator-progress-card:has(>dl.operator-stats)>.operator-journey-shortcut{margin:0;min-height:58px;padding:9px 14px 9px 9px;background:linear-gradient(125deg,rgba(var(--pp-scene),.085),rgba(var(--pp-scene),.025)),#0a0c0db4!important;-webkit-backdrop-filter:blur(22px) saturate(110%)!important;backdrop-filter:blur(22px) saturate(110%)!important;border:1px solid transparent!important;border-color:transparent!important;border-radius:var(--pp-radius)!important;box-shadow:0 7px 14px -9px #000000cc,0 1px 5px #0000004d!important;animation:pp-pill-in .62s cubic-bezier(.22,1.2,.36,1) .3s backwards;transition:transform .28s cubic-bezier(.34,1.56,.64,1),box-shadow .25s}
:root body section.operator-preview.live-profile[data-plan] .operator-progress-card:has(>dl.operator-stats)>.operator-journey-shortcut:hover{transform:translateY(-3px);box-shadow:0 12px 22px -10px #000000d6,0 3px 8px #0000005c!important}
:root body section.operator-preview.live-profile[data-plan] .operator-progress-card:has(>dl.operator-stats)>.operator-journey-shortcut{background:linear-gradient(125deg,rgba(var(--pp-scene),.12),rgba(var(--pp-scene),.04)),#0a0c0db4!important}
:root body section.operator-preview.live-profile[data-plan] .operator-progress-card:has(>dl.operator-stats)>.operator-journey-shortcut strong{color:var(--text)!important}
:root body section.operator-preview.live-profile[data-plan] .operator-progress-card:has(>dl.operator-stats)>.operator-journey-shortcut>svg{color:var(--pp-accent-ink);background:rgba(var(--pp-scene),.2);opacity:1}



/* Cards rise in, staggered, on first render. */
@keyframes pp-rise{from{opacity:0;transform:translateY(12px)}}
:root body section.operator-preview.live-profile[data-plan]>:is(.op-card,.op-stats,nav.profile-social-strip){animation:pp-rise .55s cubic-bezier(.22,1,.36,1) backwards}
:root body section.operator-preview.live-profile[data-plan]>.op-stats{animation-delay:70ms}
:root body section.operator-preview.live-profile[data-plan]>nav.profile-social-strip{animation-delay:140ms}

/* 5. Settings (gear), variation 2 "pílulas flutuantes": no container card. Every option is its
   own adaptive glass pill (scene tint over a dark glass, blur, NO border) lifted by a soft
   shadow, so the list floats over the blurred backdrop. Options keep two groups — Conta
   (edit, customize) and Aplicativo (notifications, vouchers, help) — with Sair as its own pill.
   Only the dialog that holds .profile-settings-menu is touched; the shared operator-dialog keeps
   its look for edit/customize/photo. Rows are identified by their Lucide icon class, since the
   markup has no row classes. Motion: pills rise in with a soft overshoot (staggered), hover lifts
   them, the icon chip pops and the chevron slides. */
@keyframes pp-backdrop-in{from{opacity:0}}
@keyframes pp-dialog-in{from{opacity:0;transform:translateY(12px) scale(.96)}}
@keyframes pp-head-in{from{opacity:0;transform:translateY(-10px)}}
@keyframes pp-pill-in{0%{opacity:0;transform:translateY(26px) scale(.93);filter:blur(7px)}55%{opacity:1;filter:blur(0)}100%{transform:none}}
html body dialog.operator-dialog:has(.profile-settings-menu){
  --pp-scene:var(--scene-rgb,105,137,113);
  --pp-accent:var(--pp-scene);
  --pp-accent-ink:#c9d2bf;
  --pp-accent-ink:color-mix(in srgb,rgb(var(--pp-scene)) 55%,#fff);
  --pp-pill:linear-gradient(125deg,rgba(var(--pp-scene),.14),rgba(var(--pp-scene),.05)),#0a0c0d7a;
  --pp-lift:0 14px 26px -10px #000000c4,0 4px 10px #00000052;
  --pp-lift-hover:0 20px 34px -10px #000000d6,0 8px 14px #0000005c,0 0 32px -12px rgba(var(--pp-scene),.6);
  /* Same recipe as the Home cards (.operation/.clan/.game): scene gradient over #0a0c0da3,
     blur(--glass-blur) saturate(105%), --radius, padding 28px (21px 19px up to 600px), page gutter
     22px on phones. No edge line; depth comes from a stronger float shadow than Home's. */
  --pp-pad:28px;--pp-gap:9px;--pp-chip:40px;
  box-sizing:border-box;width:min(440px,100vw - 44px);max-height:calc(100dvh - max(32px,env(safe-area-inset-top)) - max(32px,env(safe-area-inset-bottom)));margin:auto;padding:var(--pp-pad);
  color:var(--text);border:0;border-radius:var(--radius,20px);
  background:linear-gradient(125deg,rgba(var(--pp-scene),.085),rgba(var(--pp-scene),.025)),#0a0c0da3;
  -webkit-backdrop-filter:blur(var(--glass-blur,22px)) saturate(105%);backdrop-filter:blur(var(--glass-blur,22px)) saturate(105%);
  box-shadow:0 28px 70px -6px #000000a6,0 12px 36px #00000052,0 0 64px -24px rgba(var(--pp-scene),.4);
  overflow:auto;overscroll-behavior:contain;scrollbar-width:none;animation:pp-dialog-in .4s cubic-bezier(.22,1,.36,1);
}
html body dialog.operator-dialog:has(.profile-settings-menu)::-webkit-scrollbar{display:none}
html body dialog.operator-dialog:has(.profile-settings-menu)::before{content:none}
html body dialog.operator-dialog:has(.profile-settings-menu)::backdrop{background:radial-gradient(ellipse at 50% 45%,#0a0d0b8c,#020302e0 75%);-webkit-backdrop-filter:blur(18px) saturate(.9);backdrop-filter:blur(18px) saturate(.9);animation:pp-backdrop-in .3s ease-out}
html body dialog.operator-dialog:has(.profile-settings-menu)>header{align-items:flex-start;margin:0 0 8px;padding:0;gap:12px;animation:pp-head-in .45s cubic-bezier(.22,1,.36,1) backwards}
html body dialog.operator-dialog:has(.profile-settings-menu)>header h2{margin:0;font-size:21px;font-weight:650;line-height:1.15;letter-spacing:-.025em}
html body dialog.operator-dialog:has(.profile-settings-menu)>header h2::before{content:"Ares Airsoft";display:block;margin-bottom:7px;font-size:9.5px;font-weight:700;letter-spacing:.24em;text-transform:uppercase;color:var(--pp-accent-ink);opacity:.9}
html body dialog.operator-dialog:has(.profile-settings-menu)>header button{flex:none;width:38px;height:38px;border-radius:50%;color:var(--text);border:0;background:var(--pp-pill);-webkit-backdrop-filter:blur(var(--glass-blur,22px)) saturate(130%);backdrop-filter:blur(var(--glass-blur,22px)) saturate(130%);box-shadow:var(--pp-lift);transition:transform .3s cubic-bezier(.34,1.56,.64,1),box-shadow .2s}
html body dialog.operator-dialog:has(.profile-settings-menu)>header button:hover{transform:rotate(90deg) scale(1.06);box-shadow:var(--pp-lift-hover)}

html body dialog.operator-dialog .profile-settings-menu{display:flex;flex-direction:column;gap:0}
html body dialog.operator-dialog .profile-settings-menu>p{order:0;margin:0;padding:0;font-size:12.5px;line-height:1.5;color:var(--muted);animation:pp-head-in .45s cubic-bezier(.22,1,.36,1) 40ms backwards}

/* Shared pill: icon chip, title + hint, chevron. Glass + shadow, no border. */
html body dialog.operator-dialog .profile-settings-menu>:is(button,a.profile-support-entry){position:relative;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:calc(var(--pp-chip,40px) + 26px);margin:0 0 var(--pp-gap,9px);padding:13px 14px;color:var(--text);text-align:left;text-decoration:none;font:inherit;background:var(--pp-pill);-webkit-backdrop-filter:blur(var(--glass-blur,22px)) saturate(105%);backdrop-filter:blur(var(--glass-blur,22px)) saturate(105%);border:0;border-radius:20px;box-shadow:var(--pp-lift);transition:transform .28s cubic-bezier(.34,1.56,.64,1),box-shadow .25s;animation:pp-pill-in .62s cubic-bezier(.22,1.2,.36,1) backwards}
html body dialog.operator-dialog .profile-settings-menu>:is(button,a.profile-support-entry):hover{transform:translateY(-3px);box-shadow:var(--pp-lift-hover)}
html body dialog.operator-dialog .profile-settings-menu>:is(button,a.profile-support-entry):active{transform:translateY(0) scale(.985);transition-duration:.12s}
html body dialog.operator-dialog .profile-settings-menu>:is(button,a.profile-support-entry):hover>svg:last-child{transform:translateX(3px);opacity:1}
html body dialog.operator-dialog .profile-settings-menu>button:hover>span>svg,html body dialog.operator-dialog .profile-settings-menu>a.profile-support-entry:hover>svg:first-child{transform:scale(1.1) rotate(-4deg)}
/* Pills arrive one after another, top to bottom. */
html body dialog.operator-dialog .profile-settings-menu>button:has(.lucide-user-round-pen){animation-delay:90ms}
html body dialog.operator-dialog .profile-settings-menu>button:has(.lucide-palette){animation-delay:150ms}
html body dialog.operator-dialog .profile-settings-menu>button:has(.lucide-bell){animation-delay:210ms}
html body dialog.operator-dialog .profile-settings-menu>button:has(.lucide-ticket){animation-delay:270ms}
html body dialog.operator-dialog .profile-settings-menu>a.profile-support-entry{animation-delay:330ms}
html body dialog.operator-dialog .profile-settings-menu>button.profile-settings-logout{animation-delay:400ms}
html body dialog.operator-dialog .profile-settings-menu>:is(button,a.profile-support-entry):focus-visible{outline:2px solid var(--accent,#bacd83);outline-offset:2px}
html body dialog.operator-dialog .profile-settings-menu>button>span{gap:13px}
html body dialog.operator-dialog .profile-settings-menu>button>span>svg,html body dialog.operator-dialog .profile-settings-menu>a.profile-support-entry>svg:first-child{box-sizing:border-box;flex:none;width:var(--pp-chip,40px);height:var(--pp-chip,40px);padding:calc(var(--pp-chip,40px) / 4);border-radius:13px;stroke-width:1.75;color:var(--pp-accent-ink,#c9d2bf);background:linear-gradient(160deg,rgba(var(--pp-accent,105,137,113),.3) 0%,rgba(var(--pp-accent,105,137,113),.12) 60%,rgba(var(--pp-accent,105,137,113),.04) 100%);border:0;box-shadow:none;transition:transform .3s cubic-bezier(.34,1.56,.64,1)}
html body dialog.operator-dialog .profile-settings-menu strong{font-size:14px;font-weight:600}
html body dialog.operator-dialog .profile-settings-menu small{font-size:11.5px}
html body dialog.operator-dialog .profile-settings-menu>button>svg,html body dialog.operator-dialog .profile-settings-menu>a.profile-support-entry>svg:last-child{box-sizing:border-box;flex:none;width:26px;height:26px;padding:5px;border-radius:50%;color:var(--muted);background:#ffffff0d;opacity:.75;transition:transform .25s cubic-bezier(.34,1.56,.64,1),opacity .2s}
/* Ajuda e Suporte is a bare link (icon, text, chevron): match it to the pills. */
html body dialog.operator-dialog .profile-settings-menu>a.profile-support-entry{justify-content:flex-start;font-size:14px;font-weight:600}
html body dialog.operator-dialog .profile-settings-menu>a.profile-support-entry>svg:last-child{margin-left:auto}

/* Group order. Conta: edit, customize. Aplicativo: notifications, vouchers, help. */
html body dialog.operator-dialog .profile-settings-menu>button:has(.lucide-user-round-pen){order:1}
html body dialog.operator-dialog .profile-settings-menu>button:has(.lucide-palette){order:2}
html body dialog.operator-dialog .profile-settings-menu>button:has(.lucide-bell){order:3}
html body dialog.operator-dialog .profile-settings-menu>button:has(.lucide-ticket){order:4}
html body dialog.operator-dialog .profile-settings-menu>a.profile-support-entry{order:5}
html body dialog.operator-dialog .profile-settings-menu>button.profile-settings-logout{order:6}

/* Group labels sit above the first pill of each group. */
html body dialog.operator-dialog .profile-settings-menu>:is(button:has(.lucide-user-round-pen),button:has(.lucide-bell)){margin-top:34px}
html body dialog.operator-dialog .profile-settings-menu:not(:has(>button .lucide-bell))>button:has(.lucide-ticket){margin-top:34px}
html body dialog.operator-dialog .profile-settings-menu>:is(button:has(.lucide-user-round-pen),button:has(.lucide-bell))::before,html body dialog.operator-dialog .profile-settings-menu:not(:has(>button .lucide-bell))>button:has(.lucide-ticket)::before{position:absolute;left:6px;bottom:calc(100% + 11px);font-size:9.5px;font-weight:700;letter-spacing:.2em;text-transform:uppercase;color:var(--muted);opacity:.8;pointer-events:none}
html body dialog.operator-dialog .profile-settings-menu>button:has(.lucide-user-round-pen)::before{content:"Conta"}
html body dialog.operator-dialog .profile-settings-menu>button:has(.lucide-bell)::before,html body dialog.operator-dialog .profile-settings-menu:not(:has(>button .lucide-bell))>button:has(.lucide-ticket)::before{content:"Aplicativo"}

/* Sair: its own pill, coral tint, centered, without the hint line. */
html body dialog.operator-dialog .profile-settings-menu>button.profile-settings-logout{justify-content:center;min-height:54px;margin-top:12px;padding:10px 14px;color:#f0a593;background:none;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
html body dialog.operator-dialog .profile-settings-menu>button.profile-settings-logout:hover{background:#df7d6814;box-shadow:none}
html body dialog.operator-dialog .profile-settings-menu>button.profile-settings-logout>span>svg{width:20px;height:20px;padding:0;color:#e9a595;background:none;border:0;box-shadow:none}
html body dialog.operator-dialog .profile-settings-menu>button.profile-settings-logout small,html body dialog.operator-dialog .profile-settings-menu>button.profile-settings-logout>svg{display:none}
html body dialog.operator-dialog .profile-settings-menu>button.profile-settings-logout span{gap:8px}
html body dialog.operator-dialog .profile-settings-menu>button.profile-settings-logout strong{font-size:14px;color:inherit}

/* Responsive: same 600px break as Home (padding 21px 19px), tighter chips on very narrow phones,
   and a calmer card in short landscape windows (it scrolls inside). */
@media (max-width:600px){
  html body dialog.operator-dialog:has(.profile-settings-menu){--pp-pad:21px 19px}
}
@media (max-width:360px){
  html body dialog.operator-dialog:has(.profile-settings-menu){--pp-chip:36px;--pp-gap:8px;width:calc(100vw - 28px)}
  html body dialog.operator-dialog .profile-settings-menu>:is(button,a.profile-support-entry){padding:11px 12px}
  html body dialog.operator-dialog:has(.profile-settings-menu)>header h2{font-size:19px}
}
@media (max-height:700px){
  html body dialog.operator-dialog:has(.profile-settings-menu){--pp-pad:18px 16px;--pp-chip:34px;--pp-gap:7px}
  html body dialog.operator-dialog .profile-settings-menu>:is(button,a.profile-support-entry){padding:9px 12px}
  html body dialog.operator-dialog .profile-settings-menu>:is(button:has(.lucide-user-round-pen),button:has(.lucide-bell)),html body dialog.operator-dialog .profile-settings-menu:not(:has(>button .lucide-bell))>button:has(.lucide-ticket){margin-top:28px}
  html body dialog.operator-dialog .profile-settings-menu>button.profile-settings-logout{margin-top:6px;min-height:46px}
}
@media (max-height:560px){
  html body dialog.operator-dialog:has(.profile-settings-menu){--pp-gap:7px}
  html body dialog.operator-dialog .profile-settings-menu>:is(button:has(.lucide-user-round-pen),button:has(.lucide-bell)),html body dialog.operator-dialog .profile-settings-menu:not(:has(>button .lucide-bell))>button:has(.lucide-ticket){margin-top:30px}
}
@media (min-width:601px){
  html body dialog.operator-dialog:has(.profile-settings-menu){width:min(460px,100vw - 64px)}
}

@media (prefers-reduced-motion:reduce){
  :root body section.operator-preview.live-profile[data-plan] :is(.operator-specialties,.operator-progress-card dl.operator-stats>div,.operator-progress-card dl.operator-stats dd,.operator-progress-card .operator-journey-shortcut){animation:none!important;transition:none!important}
}
@media (prefers-reduced-motion:reduce){
  html body dialog.operator-dialog:has(.profile-settings-menu)::backdrop,html body dialog.operator-dialog:has(.profile-settings-menu)>header,html body dialog.operator-dialog .profile-settings-menu>p,html body dialog.operator-dialog .profile-settings-menu>:is(button,a.profile-support-entry){animation:none}
  html body dialog.operator-dialog:has(.profile-settings-menu)>header button,html body dialog.operator-dialog .profile-settings-menu>:is(button,a.profile-support-entry),html body dialog.operator-dialog .profile-settings-menu>:is(button,a.profile-support-entry)>svg,html body dialog.operator-dialog .profile-settings-menu>button>span>svg{transition:none;transform:none}
}

@media (prefers-reduced-motion:reduce){
  :root body section.operator-preview.live-profile[data-plan] :is(.op-card,.op-stats,nav.profile-social-strip,.op-level-arc,.op-xp-track i,.op-level-ring>span b){animation:none}
  :root body section.operator-preview.live-profile[data-plan] .op-xp-track i::after,:root body section.operator-preview.live-profile[data-plan] .op-level-ring::before,:root body section.operator-preview.live-profile[data-plan] .operator-journey-icon::before{animation:none}
  :root body section.operator-preview.live-profile[data-plan] :is(.op-level-arc,.op-xp-track i,.operator-journey-shortcut,.operator-journey-shortcut>svg){transition:none}
  :root body section.operator-preview.live-profile[data-plan] .operator-journey-icon::before{transition:none}
}
