/* QA56 supplied profile art + live DOM. Titles use the shared Nanum token.
   No selectors grant access, create controls, replace flags or touch the owner selector. */
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-social-dialog.cl-profile-dialog[data-sketch-profile]{
 box-sizing:border-box;width:min(680px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 32px);margin:auto;padding:22px;
 color:var(--sketch-ink,#11131b)!important;background:var(--sketch-paper,#fffef8)!important;
 border:2px solid var(--sketch-ink,#11131b)!important;border-radius:26px 24px 29px 25px / 25px 29px 24px 27px!important;
 font-family:var(--sketch-font-body,system-ui,sans-serif);overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;
}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-dialog[data-sketch-profile]::backdrop{background:#11131b66;backdrop-filter:blur(3px)}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-dialog[data-sketch-profile]>.cl-social-head{display:flex;align-items:center;gap:10px;margin:0 0 8px;padding:0}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-dialog[data-sketch-profile]>.cl-social-head h2{font:700 clamp(24px,4vw,34px)/1.15 var(--sketch-font-title,system-ui,sans-serif);letter-spacing:0;color:var(--sketch-ink,#11131b);overflow-wrap:anywhere}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-dialog[data-sketch-profile]>.cl-social-head>.cl-profile-action{flex:none;width:48px;height:48px;min-width:44px;min-height:44px;padding:3px;border:0;background:transparent;box-shadow:none;transform:none}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-dialog[data-sketch-profile]>.cl-social-head>.cl-profile-back{box-sizing:border-box;display:grid;place-items:center;width:44px;height:44px;min-width:44px;min-height:44px;margin:0;padding:6px;line-height:1}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-dialog[data-sketch-profile]>.cl-social-head>.cl-profile-back>svg{display:block;flex:none;width:32px!important;height:32px!important;max-width:none;max-height:none;margin:0}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-dialog[data-sketch-profile]>.cl-social-head>:is(.cl-profile-settings,.cl-profile-close){position:relative;border-radius:12px!important;background:none!important;box-shadow:none!important}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-dialog[data-sketch-profile]>.cl-social-head>:is(.cl-profile-settings,.cl-profile-close)>svg{visibility:hidden}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-dialog[data-sketch-profile]>.cl-social-head>:is(.cl-profile-settings,.cl-profile-close)::before{content:""!important;position:absolute;inset:3px;background:center/contain no-repeat;pointer-events:none}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-dialog[data-sketch-profile]>.cl-social-head>.cl-profile-settings::before{background-image:url('/releases/20261022-sketch-qa56-r2/sketch-pop-qa56/profile/settings.png')}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-dialog[data-sketch-profile]>.cl-social-head>.cl-profile-close::before{background-image:url('/releases/20261022-sketch-qa56-r2/sketch-pop-qa56/profile/close.png')}
/* The legacy shared close rule has ID specificity inside :is() and !important.
   Match this dialog's existing labelled header, not unrelated close buttons. */
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-dialog[data-sketch-profile]>.cl-social-head>#cl-social-title~.cl-profile-close{background:none!important;box-shadow:none!important}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-dialog[data-sketch-profile]>.cl-social-head>#cl-social-title~.cl-profile-close::before{content:""!important;background:center/contain no-repeat url('/releases/20261022-sketch-qa56-r2/sketch-pop-qa56/profile/close.png')}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-dialog[data-sketch-profile]>.cl-social-head>:is(.cl-profile-settings,.cl-profile-close):hover:not(:disabled)::before{filter:brightness(1.08)}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-dialog[data-sketch-profile] .cl-social-body{min-width:0}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile]{--profile-ink:var(--sketch-ink,#11131b);--profile-muted:#686973;display:grid;gap:14px;color:var(--profile-ink);font-family:var(--sketch-font-body,system-ui,sans-serif)}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] .cl-profile-hero{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;padding:0 0 4px;border:0;background:transparent;box-shadow:none;justify-items:center}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] .cl-profile-portrait{position:relative;display:grid;place-items:center;width:156px!important;height:156px!important;min-height:0;padding:0;border:0!important;border-radius:50%;background:transparent url('/releases/20261022-sketch-qa56-r2/sketch-pop-qa56/profile/avatar-frame.png') center/contain no-repeat!important;box-shadow:none!important;overflow:visible;isolation:isolate}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] .cl-profile-portrait>.cl-social-avatar{position:absolute;inset:9.5%;width:81%;height:81%;border:0;border-radius:50%;object-fit:cover;z-index:1}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] .cl-profile-portrait>.cl-profile-initial{display:grid;place-items:center;position:absolute;inset:10%;border-radius:50%;background:#fff5d2;color:var(--sketch-ink,#11131b);font:700 48px/1 var(--sketch-font-title,system-ui,sans-serif);z-index:1}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] .cl-profile-online-dot{z-index:2;right:10px;bottom:12px}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] .cl-profile-heading{width:100%;min-width:0;text-align:center}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] .cl-profile-name-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;padding:0;gap:6px}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] .cl-profile-name-row h3{flex:0 1 auto;width:auto;max-width:100%;margin:0;color:var(--sketch-ink,#11131b);font:700 clamp(23px,4vw,33px)/1.18 var(--sketch-font-title,system-ui,sans-serif)!important;letter-spacing:0;white-space:normal;overflow-wrap:anywhere}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] .cl-profile-name-row h3>:is(span,button){max-width:100%;font:inherit;white-space:normal;overflow-wrap:anywhere;word-break:normal}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] .cl-profile-name-input{max-width:100%;font-family:var(--sketch-font-body,system-ui,sans-serif)}
/* Keep the actual badge, gender, server streak, plan and gift controls in place. */
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] .cl-profile-badges,
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] .cl-profile-badges.has-share:has(.cl-profile-identity-side){display:flex;flex-wrap:nowrap;align-items:center;justify-content:center;gap:10px;width:100%;max-width:100%;min-height:90px;margin:12px 0 0;padding:8px 12px;border:1.8px solid var(--sketch-ink,#11131b);border-radius:33px 30px 35px 31px / 30px 34px 30px 33px;background:#fff;box-sizing:border-box}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] .cl-profile-badges::before{content:none!important}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] .cl-profile-badges>.cl-profile-identity-side{display:flex!important;flex:none;align-items:center;justify-content:center;gap:8px;min-width:0;width:auto;padding:0;border:0;background:transparent}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] .cl-profile-identity-side>.cl-profile-gender{width:36px;height:52px;padding:0;border:0;border-radius:0;background:none;box-shadow:none}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] .cl-profile-gender-art{width:30px;height:36px;object-fit:contain}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] .cl-profile-streak,
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] .cl-profile-identity-side>.cl-profile-streak{display:grid;justify-items:center;align-content:center;flex:none;gap:0;width:54px;min-width:0;min-height:64px;padding:0;border:0;background:none;opacity:1}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] .cl-profile-streak .cl-profile-streak-art{display:block;content:url('/releases/20261022-sketch-qa56-r2/sketch-pop-qa56/profile/flame-static.png');width:64px;height:58px;max-width:none;object-fit:contain;animation:none!important;transform:none;transform-origin:50% 85%;transition:transform .18s ease,filter .18s ease}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] .cl-profile-streak[data-active=true] .cl-profile-streak-art{content:url('/releases/20261022-sketch-qa56-r2/sketch-pop-qa56/profile/flame-motion.webp')}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] .cl-profile-streak[data-active=true]:is(:hover,:focus-visible) .cl-profile-streak-art{transform:scale(1.18,1.27);filter:saturate(1.15)}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] .cl-profile-streak[data-active=false] .cl-profile-streak-art{content:url('/releases/20261022-sketch-qa56-r2/sketch-pop-qa56/profile/flame-static.png');filter:grayscale(1) brightness(.75);opacity:1}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] .cl-profile-streak .cl-profile-streak-days{display:block;max-width:100%;margin-top:-6px;overflow:visible;text-overflow:clip;white-space:nowrap;font:700 12px/1.2 var(--sketch-font-title,system-ui,sans-serif);color:var(--sketch-ink,#11131b)}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] :is(.cl-profile-streak-particles,.cl-profile-share)::after,
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] .cl-profile-share::before{content:none!important;animation:none!important}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] .cl-profile-streak-particles{display:none!important;animation:none!important}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] .cl-profile-badges>:is(.cl-profile-badge-edit,.cl-profile-custom-badge){flex:1 1 0;min-width:0;max-width:300px;width:auto;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;line-height:1.2}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] .cl-profile-badges .has-art img{display:block;width:100%;height:auto;max-height:88px;object-fit:contain;object-position:center}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] .cl-profile-badges>.cl-profile-plan{position:relative;flex:none;width:42px;height:48px;padding:0;border:0;border-radius:0;background:none}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] .cl-profile-plan:is([data-plan=pro],[data-plan=free]){background:url('/releases/20261022-sketch-qa56-r2/sketch-pop-qa56/profile/crown.png') center/contain no-repeat}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] .cl-profile-plan:is([data-plan=pro],[data-plan=free])>svg{visibility:hidden;animation:none;filter:none}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] .cl-profile-plan[data-plan=free]{filter:grayscale(1);opacity:.6}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-dialog[data-sketch-profile] .cl-profile-card .cl-profile-share{position:relative;flex:none;display:grid;place-items:center;width:44px;height:52px;min-height:44px;padding:0;border:0;border-inline-start:1px solid #b0afb4;border-radius:0;background:transparent url('/releases/20261022-sketch-qa56-r2/sketch-pop-qa56/profile/gift.png') right center/36px auto no-repeat;box-shadow:none}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] .cl-profile-share-emoji{visibility:hidden}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] .cl-profile-joined{margin:10px 0 0;color:#6a6b76;font:400 13px/1.5 var(--sketch-font-body,system-ui,sans-serif)}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] :is(.cl-profile-biography,.cl-profile-languages){min-width:0;margin:0;padding:14px;border:1.7px solid var(--sketch-ink,#11131b);border-radius:20px 18px 22px 19px / 18px 22px 19px 21px;background:#fff}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] :is(h4,h5){margin:0 0 10px;color:var(--sketch-ink,#11131b);text-align:start;font:700 23px/1.25 var(--sketch-font-title,system-ui,sans-serif)}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] .cl-profile-biography>:is(textarea,p:not(.cl-profile-bio-limit)){display:block;box-sizing:border-box;width:100%;min-height:66px;margin:0;padding:13px 15px;border:1px solid #dedde2;border-radius:16px;background:#fffefa;color:#343743;font:400 16px/1.55 var(--sketch-font-body,system-ui,sans-serif)!important;white-space:pre-wrap;overflow-wrap:anywhere}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] .cl-profile-section-head{justify-content:start;min-height:0;margin:0 0 12px}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] .cl-profile-section-head h4{margin:0}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] .cl-profile-language-lists{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:12px}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] .cl-profile-language-group{min-width:0;padding:12px;border:1px solid #efc857;border-radius:19px 17px 21px 18px;background:#fffaf0}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] .cl-profile-language-group h5{font-size:20px}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] .cl-profile-flags{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] :is(.cl-profile-language,.cl-profile-language-add){box-sizing:border-box;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:6px;width:100%;min-width:0;min-height:112px!important;height:100%;padding:9px 6px!important;border:1.6px solid var(--sketch-ink,#11131b);border-radius:17px 15px 19px 16px;background:#fffefb;color:var(--sketch-ink,#11131b);text-align:center;font-family:var(--sketch-font-title,system-ui,sans-serif);box-shadow:0 2px 0 #11131b0d}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] .cl-profile-language img{display:block;width:44px!important;height:30px!important;max-width:100%;object-fit:contain;flex:none}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] .cl-profile-language-name{font:700 15px/1.2 var(--sketch-font-title,system-ui,sans-serif);white-space:normal;overflow:visible;overflow-wrap:anywhere;text-overflow:clip}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] .cl-profile-level{align-self:center;grid-column:auto;max-width:100%;padding:3px 12px;border:1px solid #db9f00;border-radius:9px 7px 10px 8px;background:var(--sketch-yellow,#ffd43c)!important;color:var(--sketch-ink,#11131b)!important;font:700 13px/1.2 var(--sketch-font-title,system-ui,sans-serif);white-space:normal;overflow-wrap:anywhere}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] .cl-profile-language-add{border:1.5px dashed #797b85;background:#fffdf7;box-shadow:none}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] .cl-profile-language-add>svg{display:block;width:34px;height:34px;padding:5px;border:2px solid var(--sketch-ink,#11131b);border-radius:50%;background:var(--sketch-yellow,#ffd43c);color:var(--sketch-ink,#11131b);box-sizing:border-box}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] :is(.cl-profile-language,.cl-profile-language-add):hover:not(:disabled){background:#fff1b7;border-color:var(--sketch-ink,#11131b);transform:none;box-shadow:0 0 0 2px #ffd43c55}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] :is(.cl-profile-dev-entry,.cl-profile-founder-entry){justify-self:center;max-width:100%;min-height:44px;margin:0;padding:10px 24px;border:2px solid var(--sketch-ink,#11131b);border-radius:19px 17px 21px 18px;background:var(--sketch-yellow,#ffd43c);color:var(--sketch-ink,#11131b);font:700 19px/1.25 var(--sketch-font-title,system-ui,sans-serif);white-space:normal;overflow-wrap:anywhere;box-shadow:0 2px 0 #11131b18}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-dialog[data-sketch-profile] .cl-profile-save-state{box-sizing:border-box;justify-self:end;max-width:100%;min-height:28px;padding:3px 10px;border:1.5px solid transparent;border-radius:10px 13px 9px 12px / 12px 9px 13px 10px;color:var(--sketch-ink,#11131b);font:700 13px/1.4 var(--sketch-font-title,system-ui,sans-serif);overflow-wrap:anywhere}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-dialog[data-sketch-profile] .cl-profile-save-state[data-state=saved]{color:var(--sketch-ink,#11131b);background:var(--sketch-yellow,#ffd43c);border-color:var(--sketch-ink,#11131b)}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-dialog[data-sketch-profile] .cl-profile-save-state[data-state=error]{color:#a53a42}
/* Curvy settings, still the original navigation, device inputs and shared links. */
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-dialog[data-sketch-profile] .cl-profile-settings-hub{display:grid;gap:10px}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-dialog[data-sketch-profile] .cl-profile-settings-hub .cl-profile-settings-entry{min-height:58px;padding:12px 16px;border:1.7px solid var(--sketch-ink,#11131b);border-radius:17px 21px 18px 20px / 20px 17px 21px 18px;background:#fffdf4;color:var(--sketch-ink,#11131b);font:700 17px/1.3 var(--sketch-font-title,system-ui,sans-serif);box-shadow:0 2px 0 #11131b0d}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-dialog[data-sketch-profile] .cl-profile-settings-hub .cl-profile-settings-entry:hover:not(:disabled){background:#fff0b5;border-color:var(--sketch-ink,#11131b);box-shadow:0 0 0 2px #ffd43c66}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-dialog[data-sketch-profile] .cl-profile-settings-subview{padding:16px;border:1.7px solid var(--sketch-ink,#11131b);border-radius:21px 19px 23px 20px;background:#fffdf7}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-dialog[data-sketch-profile] :is(.cl-device-settings,.cl-profile-location,.cl-profile-gender-selector,.cl-profile-solo){border:1px solid #e3c66b;border-radius:17px;background:#fffbef;color:var(--sketch-ink,#11131b)}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-dialog[data-sketch-profile] :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea){border-radius:13px;border-color:#c9c7c1;color:var(--sketch-ink,#11131b);font-family:var(--sketch-font-body,system-ui,sans-serif)}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-dialog[data-sketch-profile] :is(button,a,input,select,textarea):focus-visible{outline:3px solid #b18500;outline-offset:3px}
/* QA58: Settings rows keep stable hitboxes. Only their artwork reacts; the
   parent dialog/body never scales as the pointer crosses a row or scrollbar. */
html[data-sketch-pop-theme="qa56"] body.cl-guest-v2 .cl-profile-card[data-sketch-profile] .cl-profile-badges>.cl-profile-friend-action{order:4}
/* Layered important geometry outranks the shared, unlayered icon hover rule
   regardless of stylesheet arrival order; its glyph feedback stays available. */
@layer camlangs-profile-controls{
 html[data-sketch-pop-theme="qa56"] body.cl-guest-v2 .cl-profile-dialog .cl-profile-friend-action{scale:1!important;translate:none!important;transform:none!important}
 html[data-sketch-pop-theme="qa56"] body.cl-guest-v2 .cl-profile-dialog :is(.cl-profile-settings-entry,.cl-interface-language-option,.cl-settings-privacy-menu>button,.cl-settings-privacy-menu>a){scale:1!important;translate:none!important;transform:none!important;transition:color .15s ease!important}
 html[data-sketch-pop-theme="qa56"] body.cl-guest-v2 .cl-profile-dialog .cl-settings-privacy-menu>:is(button,a){transition:scale .15s ease,background-color .15s ease!important;transform-origin:center}
 html[data-sketch-pop-theme="qa56"] body.cl-guest-v2 .cl-profile-dialog .cl-settings-privacy-menu>:is(button,a):not(:disabled):is(:hover,:focus-visible){scale:1.035!important}
 html[data-sketch-pop-theme="qa56"] body.cl-guest-v2 .cl-profile-dialog .cl-settings-privacy-menu>:is(button,a):active{scale:1!important}
 @media(prefers-reduced-motion:reduce){html[data-sketch-pop-theme="qa56"] body.cl-guest-v2 .cl-profile-dialog .cl-settings-privacy-menu>:is(button,a){transition:none!important}}
}
html[data-sketch-pop-theme="qa56"] body.cl-guest-v2 .cl-profile-dialog[data-sketch-profile] .cl-profile-settings-hub{padding:4px;overflow:visible}
html[data-sketch-pop-theme="qa56"] body.cl-guest-v2 .cl-profile-dialog[data-sketch-profile] .cl-profile-settings-entry{overflow:visible;gap:14px}
html[data-sketch-pop-theme="qa56"] body.cl-guest-v2 .cl-profile-dialog[data-sketch-profile] .cl-profile-settings-entry-icon{width:30px;height:30px;overflow:visible;transition:scale .15s ease}
html[data-sketch-pop-theme="qa56"] body.cl-guest-v2 .cl-profile-dialog[data-sketch-profile] .cl-profile-settings-entry-icon>svg{width:26px;height:26px;max-width:none;max-height:none;overflow:visible}
html[data-sketch-pop-theme="qa56"] body.cl-guest-v2 .cl-profile-dialog[data-sketch-profile] .cl-profile-settings-entry:hover .cl-profile-settings-entry-icon{scale:1.08}
html[data-sketch-pop-theme="qa56"] body.cl-guest-v2 .cl-profile-dialog[data-sketch-profile] :is(.cl-profile-settings-entry,.cl-profile-settings-subview,.cl-device-settings,.cl-profile-location,.cl-profile-gender-selector,.cl-profile-solo,.cl-interface-language,.cl-profile-gender-options>button,.cl-settings-privacy-menu>button,.cl-settings-privacy-menu>a){background:#fff!important;border-color:#17171c!important;box-shadow:none!important}
html[data-sketch-pop-theme="qa56"] body.cl-guest-v2 .cl-profile-dialog[data-sketch-profile] :is(.cl-device-settings select,.cl-profile-location button,.cl-interface-language-search){background:#fff!important;border-color:#17171c!important}
html[data-sketch-pop-theme="qa56"] body.cl-guest-v2 .cl-profile-dialog[data-sketch-profile] .cl-profile-gender-options>button[aria-checked=true]{outline:2px solid #17171c;outline-offset:2px}
html[data-sketch-pop-theme="qa56"] body.cl-guest-v2 .cl-profile-dialog[data-sketch-profile] :is(.cl-settings-privacy-menu,.cl-settings-privacy-body){display:grid;gap:12px;min-width:0}
html[data-sketch-pop-theme="qa56"] body.cl-guest-v2 .cl-profile-dialog[data-sketch-profile] .cl-settings-privacy-menu{padding:6px}
html[data-sketch-pop-theme="qa56"] body.cl-guest-v2 .cl-profile-dialog[data-sketch-profile] .cl-settings-privacy-menu>:is(button,a){box-sizing:border-box;display:block;min-height:44px;padding:12px;border:0!important;border-radius:17px 21px 18px 20px;color:inherit;font:inherit;text-align:start;text-decoration:none;overflow-wrap:anywhere}
html[data-sketch-pop-theme="qa56"] body.cl-guest-v2 .cl-profile-dialog[data-sketch-profile] .cl-settings-privacy-menu>:is(button,a):not(:disabled):is(:hover,:focus-visible){background:#fff2b9!important}
html[data-sketch-pop-theme="qa56"] body.cl-guest-v2 .cl-profile-dialog[data-sketch-profile] .cl-settings-privacy-body>:is(h3,p){margin:0;overflow-wrap:anywhere}
html[data-sketch-pop-theme="qa56"] body.cl-guest-v2 .cl-profile-dialog[data-sketch-profile] .cl-profile-badge-picker-close{box-sizing:border-box;display:grid;place-items:center;width:44px;height:44px;padding:7px;border:0!important;background:transparent!important;box-shadow:none!important}
html[data-sketch-pop-theme="qa56"] body.cl-guest-v2 .cl-profile-dialog[data-sketch-profile] .cl-profile-badge-picker-close>svg{width:30px!important;height:30px!important;background:url('/releases/20261022-interface-qa55-r1/sketch-pop-qa55/runtime/close-normal.webp') center/contain no-repeat}
html[data-sketch-pop-theme="qa56"] body.cl-guest-v2 .cl-profile-dialog[data-sketch-profile] .cl-profile-badge-picker-close>svg>*{visibility:hidden}
@media(prefers-reduced-motion:reduce){html[data-sketch-pop-theme="qa56"] body.cl-guest-v2 .cl-profile-dialog[data-sketch-profile] .cl-profile-settings-entry-icon{scale:1!important;transition:none}}
/* Preserve all existing server gates and validation, including standalone cards. */
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 :is(.cl-profile-dialog,.cl-profile-card)[data-sketch-profile] [hidden]{display:none!important}
@media(max-width:520px){
 html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-social-dialog.cl-profile-dialog[data-sketch-profile]{width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:14px 11px;scrollbar-gutter:auto}
 html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] .cl-profile-portrait{width:128px!important;height:128px!important}
 html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] .cl-profile-badges,
 html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] .cl-profile-badges.has-share:has(.cl-profile-identity-side){gap:5px;min-height:78px;padding:7px 6px;border-radius:25px}
 html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] .cl-profile-badges>.cl-profile-identity-side{gap:3px}
 html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] .cl-profile-identity-side>.cl-profile-streak{width:39px}
 html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] .cl-profile-streak .cl-profile-streak-art{width:54px;height:52px}
 html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] .cl-profile-streak .cl-profile-streak-days{font-size:10px}
 html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] .cl-profile-identity-side>.cl-profile-gender{width:27px;height:40px}
 html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] .cl-profile-gender-art{width:24px;height:30px}
 html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] .cl-profile-badges>.cl-profile-plan{width:27px;height:35px}
 html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-dialog[data-sketch-profile] .cl-profile-card .cl-profile-share{width:31px;height:40px;background-size:26px auto}
 html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] :is(.cl-profile-biography,.cl-profile-languages){padding:12px 10px}
 html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] .cl-profile-language-lists{gap:9px}
 html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] .cl-profile-language-group{padding:9px 7px}
 html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] .cl-profile-flags{grid-template-columns:minmax(0,1fr)}
 html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] .cl-profile-joined{font-size:12px}
}
@media(max-width:420px){html[data-sketch-pop-theme="qa56"] body.cl-guest-v2 .cl-profile-dialog[data-sketch-profile] .cl-profile-support-options{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){
 html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] .cl-profile-streak .cl-profile-streak-art,
 html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] .cl-profile-streak[data-active=true] .cl-profile-streak-art{content:url('/releases/20261022-sketch-qa56-r2/sketch-pop-qa56/profile/flame-static.png');transition:none;transform:none!important;filter:none}
 html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] .cl-profile-streak[data-active=false] .cl-profile-streak-art{filter:grayscale(1) brightness(.75);opacity:1}
}

/* QA62: true peer center without badge art; physical anchors also hold in RTL. */
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile][data-own=false][data-has-badge=false] .cl-profile-badges{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;direction:ltr}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile][data-own=false][data-has-badge=false] .cl-profile-badges>.cl-profile-identity-side{grid-column:1;grid-row:1;justify-self:start;justify-content:flex-start;gap:3px}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile][data-own=false][data-has-badge=false] .cl-profile-badges>.cl-profile-plan{grid-column:2;grid-row:1;justify-self:center;width:42px;height:48px}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile][data-own=false][data-has-badge=false] .cl-profile-badges>.cl-profile-friend-action{grid-column:3;grid-row:1;justify-self:end}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-dialog .cl-profile-card[data-sketch-profile] .cl-profile-badges>.cl-profile-friend-action{box-sizing:border-box;flex:0 0 52px;width:52px;height:52px;min-height:52px;padding:2px;border:0;border-radius:17px 14px 18px 15px;background:none;box-shadow:none;transform:none}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-card[data-sketch-profile] .cl-profile-friend-action>svg{display:block;width:46px;height:46px;max-width:none;max-height:none;background:none}
html:is([data-sketch-pop],[data-sketch-pop-theme="qa56"]) body.cl-guest-v2 .cl-profile-dialog .cl-profile-card[data-sketch-profile] .cl-profile-friend-action[data-state=sent]:disabled{opacity:1}
