.accountPlanTag{display:inline-flex;margin-inline-start:8px;padding:3px 7px;border:1px solid #80516c;border-radius:6px;background:#392033;color:#ffd1ea;font-size:10px;font-weight:700;letter-spacing:.06em;vertical-align:middle;line-height:1.3}
.accountPlanTag[hidden],.accountPlanExpiry[hidden]{display:none}
.accountPlanTag[data-plan=admin]{background:#342822;border-color:#7d6540;color:#f6d29a}
.accountPlanTag[data-plan=free]{background:#27232a;border-color:#554b58;color:#d7ceda}
.authMenuIdentity>div{min-width:0;overflow-wrap:anywhere}
.authMenuAvatar[role=button]{cursor:pointer;flex-shrink:0}
.authMenuAvatar[role=button]:focus-visible{outline:2px solid #ee5caa;outline-offset:4px}
#authMenuAvatarFallback{font-family:"Segoe UI Emoji","Apple Color Emoji",sans-serif;font-size:32px;line-height:1}
.accountAvatarDialog{width:min(520px,calc(100vw - 28px));max-height:85vh;padding:22px;border:1px solid #604050;border-radius:18px;background:#170f18;color:#f4eaf2;box-sizing:border-box;box-shadow:0 18px 60px #0008}
.accountAvatarDialog::backdrop{background:#08050ac9}
.accountAvatarHeader{display:flex;align-items:center;justify-content:space-between;gap:14px}
.accountAvatarHeader h3{font-size:18px;margin:0}
.accountAvatarDialog p{color:#c6b3c1;font-size:13px;line-height:1.5}
.accountAvatarGrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.accountAvatarChoice{min-height:85px;padding:10px 3px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:1px solid #533847;border-radius:12px;background:linear-gradient(145deg,#322039,#211725);color:#f5e7f0;cursor:pointer}
.accountAvatarChoice span{font-family:"Segoe UI Emoji","Apple Color Emoji",sans-serif;font-size:32px;line-height:1.2}
.accountAvatarChoice small{font-size:11px}
.accountAvatarChoice[aria-pressed=true]{border-color:#f06ab0;box-shadow:inset 0 0 0 1px #f06ab0;background:#47233b}
.accountAvatarChoice:focus-visible{outline:2px solid #f48cc6;outline-offset:2px}
.accountAvatarChoice[data-tone="1"]{background:linear-gradient(145deg,#35311d,#231a1a)}
.accountAvatarChoice[data-tone="2"]{background:linear-gradient(145deg,#183333,#1a2028)}
.accountAvatarChoice[data-tone="3"]{background:linear-gradient(145deg,#292c45,#1a172b)}
.accountAvatarChoice[data-tone="4"]{background:linear-gradient(145deg,#392337,#251720)}
.accountAvatarChoice[data-tone="5"]{background:linear-gradient(145deg,#243827,#19241e)}
.accountAvatarStatus{min-height:20px;margin-bottom:0}
@media(max-width:380px){.accountAvatarDialog{padding:16px}.accountAvatarGrid{gap:7px}.accountAvatarChoice{min-height:78px}.accountPlanTag{margin-inline-start:5px}}

/* R2 Founder-approved compact account label and playful default avatar; staging-only. */
.accountNameRow{display:flex!important;align-items:flex-start!important;gap:7px!important;width:100%;min-width:0!important}
.accountNameRow #authAccountName{min-width:0!important;flex:0 1 auto!important;overflow:hidden!important;white-space:nowrap!important;text-overflow:ellipsis!important;line-height:1.32!important}
.accountNameRow .accountPlanTag{flex:0 0 auto!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border-radius:999px!important;margin:0!important;transform:translateY(-3px)!important;padding:2px 7px!important;line-height:1.1!important;min-height:18px!important;white-space:nowrap!important;font-size:9px!important;letter-spacing:.03em!important}
.accountNameRow .accountPlanTag[hidden]{display:none!important}
.accountNameRow .accountPlanTag[data-plan=admin]{background:#382918!important;border-color:#9d7b42!important;color:#f4d18e!important}
.accountPlanExpiry[hidden]{display:none!important}
.authMenuAvatar[role=button]{position:relative!important;background:#29172a!important;background-image:none!important;border:1px solid #ee7bad!important;box-shadow:0 0 0 2px #a3366b15!important;color:white!important;overflow:visible!important;cursor:pointer!important}
.authMenuAvatar[role=button]:hover{border-color:#ff9ad0!important;box-shadow:0 0 0 3px #f06ba325!important}
.authMenuAvatar[role=button]:focus-visible{outline:2px solid #f48fc5!important;outline-offset:3px!important}
.authMenuAvatar[role=button] #authMenuAvatarFallback{display:grid!important;place-items:center!important;font-size:28px!important;line-height:1!important;color:white!important}
.authMenuAvatar[role=button]::after{content:"📷";display:grid;place-items:center;position:absolute;right:-5px;bottom:-5px;width:18px;height:18px;border-radius:50%;border:2px solid #24101b;background:#ce4586;font-size:10px;line-height:1;pointer-events:none}
.accountAvatarDialog{position:fixed!important;z-index:10000!important;margin:0!important;box-sizing:border-box!important;max-width:calc(100vw - 24px)!important;max-height:calc(100dvh - 24px)!important;overflow-y:auto!important;padding:16px!important;border:1px solid #dc61a0!important;border-radius:18px!important;background:linear-gradient(145deg,#291724,#150d16)!important;color:#fff!important;box-shadow:0 22px 64px #000b,0 0 25px #bf3c7c33!important}
.accountAvatarDialog:not([open]){display:none!important}
.accountAvatarHeader h3{color:#fff!important;font-size:16px!important;line-height:1.3!important}
.accountAvatarClose{display:grid;place-items:center;flex:0 0 auto;width:29px;height:29px;padding:0!important;border:1px solid #71465d;border-radius:50%;background:#321f2c;color:#f7d5e9;font-size:20px;cursor:pointer}
.accountAvatarNote{font-size:11px!important;line-height:1.45!important;margin:7px 0 13px!important}
.accountAvatarGrid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}
.accountAvatarChoice{box-sizing:border-box;min-height:70px!important;min-width:0!important;padding:7px 3px!important;border-radius:12px!important;gap:4px!important;transition:transform .12s,border-color .12s}
.accountAvatarChoice:hover{transform:translateY(-2px);border-color:#ef85ba}
.accountAvatarChoice span{font-size:29px!important;line-height:1.1!important}
.accountAvatarChoice small{font-size:9px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
.accountAvatarStatus{font-size:11px!important;min-height:15px!important;margin:9px 0 0!important}
@media(max-width:480px){.accountNameRow{gap:5px!important}.accountNameRow #authAccountName{font-size:12px!important}.accountNameRow .accountPlanTag{font-size:8px!important;padding:2px 5px!important}.accountAvatarDialog{padding:12px!important}.accountAvatarChoice{min-height:62px!important}}
