/* Original warm illustrated art110; default choices and uploaded portraits remain stable. */
img.live-emoji110{display:inline-block;object-fit:contain;background-image:url('/static/art110/emoji.webp');background-repeat:no-repeat;background-size:900% 700%;vertical-align:middle;flex-shrink:0}
img.live-emoji110[class*="theme110-"]{background-image:url('/static/art110/thematic.webp');background-size:400% 200%}
img.live-portrait110{background-image:url('/static/art110/avatars.webp');background-repeat:no-repeat;background-size:300% 200%;background-color:transparent!important;object-fit:contain!important}
.cell110-0{background-position:0.00000% 4.16667%}
.cell110-1{background-position:12.50000% 4.16667%}
.cell110-2{background-position:25.00000% 4.16667%}
.cell110-3{background-position:37.50000% 4.16667%}
.cell110-4{background-position:50.00000% 4.16667%}
.cell110-5{background-position:62.50000% 4.16667%}
.cell110-6{background-position:75.00000% 4.16667%}
.cell110-7{background-position:87.50000% 4.16667%}
.cell110-8{background-position:100.00000% 4.16667%}
.cell110-9{background-position:0.00000% 19.19831%}
.cell110-10{background-position:12.50000% 19.19831%}
.cell110-11{background-position:25.00000% 19.19831%}
.cell110-12{background-position:37.50000% 19.19831%}
.cell110-13{background-position:50.00000% 19.19831%}
.cell110-14{background-position:62.50000% 19.19831%}
.cell110-15{background-position:75.00000% 19.19831%}
.cell110-16{background-position:87.50000% 19.19831%}
.cell110-17{background-position:100.00000% 19.19831%}
.cell110-18{background-position:0.00000% 33.54430%}
.cell110-19{background-position:12.50000% 33.54430%}
.cell110-20{background-position:25.00000% 33.54430%}
.cell110-21{background-position:37.50000% 33.54430%}
.cell110-22{background-position:50.00000% 33.54430%}
.cell110-23{background-position:62.50000% 33.54430%}
.cell110-24{background-position:75.00000% 33.54430%}
.cell110-25{background-position:87.50000% 33.54430%}
.cell110-26{background-position:100.00000% 33.54430%}
.cell110-27{background-position:0.00000% 48.68143%}
.cell110-28{background-position:12.50000% 48.68143%}
.cell110-29{background-position:25.00000% 48.68143%}
.cell110-30{background-position:37.50000% 48.68143%}
.cell110-31{background-position:50.00000% 48.68143%}
.cell110-32{background-position:62.50000% 48.68143%}
.cell110-33{background-position:75.00000% 48.68143%}
.cell110-34{background-position:87.50000% 48.68143%}
.cell110-35{background-position:100.00000% 48.68143%}
.cell110-36{background-position:0.00000% 63.87131%}
.cell110-37{background-position:12.50000% 63.87131%}
.cell110-38{background-position:25.00000% 63.87131%}
.cell110-39{background-position:37.50000% 63.87131%}
.cell110-40{background-position:50.00000% 63.87131%}
.cell110-41{background-position:62.50000% 63.87131%}
.cell110-42{background-position:75.00000% 63.87131%}
.cell110-43{background-position:87.50000% 63.87131%}
.cell110-44{background-position:100.00000% 63.87131%}
.cell110-45{background-position:0.00000% 79.95781%}
.cell110-46{background-position:12.50000% 79.95781%}
.cell110-47{background-position:25.00000% 79.95781%}
.cell110-48{background-position:37.50000% 79.95781%}
.cell110-49{background-position:50.00000% 79.95781%}
.cell110-50{background-position:62.50000% 79.95781%}
.cell110-51{background-position:75.00000% 79.95781%}
.cell110-52{background-position:87.50000% 79.95781%}
.cell110-53{background-position:100.00000% 79.95781%}
.cell110-54{background-position:0.00000% 96.04430%}
.cell110-55{background-position:12.50000% 96.04430%}
.cell110-56{background-position:25.00000% 96.04430%}
.cell110-57{background-position:37.50000% 96.04430%}
.cell110-58{background-position:50.00000% 96.04430%}
.cell110-59{background-position:62.50000% 96.04430%}
.cell110-60{background-position:75.00000% 96.04430%}
.cell110-61{background-position:87.50000% 96.04430%}
.cell110-62{background-position:100.00000% 96.04430%}
.theme110-0{background-position:0.00000% 0.00000%}
.theme110-1{background-position:33.33333% 0.00000%}
.theme110-2{background-position:66.66667% 0.00000%}
.theme110-3{background-position:100.00000% 0.00000%}
.theme110-4{background-position:0.00000% 100.00000%}
.theme110-5{background-position:33.33333% 100.00000%}
.theme110-6{background-position:66.66667% 100.00000%}
.theme110-7{background-position:100.00000% 100.00000%}
.portrait110-0{background-position:0% 0%}
.portrait110-1{background-position:50% 0%}
.portrait110-2{background-position:100% 0%}
.portrait110-3{background-position:0% 100%}
.portrait110-4{background-position:50% 100%}
.portrait110-5{background-position:100% 100%}
html[data-look],html[data-look] :is(button,input,textarea,select,h1,h2,h3,.person-text,.room-title,.message .meta,.reaction-name93){font-family:"Segoe UI",Arial,system-ui,sans-serif;font-synthesis:none}
html[data-look] :is(.dialog-heading h2,#toolsTitle){font-size:15px;font-weight:600;line-height:1.35;letter-spacing:0}
html[data-look] :is(.reaction-heading110,.emoji-heading82 strong){font-size:12px;font-weight:600;line-height:1.4}
html[data-look] :is(#messageMenu,#selectedRoomMenu,#toolbarOverflowMenu,.person-actions-menu){border-color:color-mix(in srgb,var(--d-line) 65%,transparent);box-shadow:0 8px 28px #0002}
html[data-look] :is(#messageActions,.person-actions-menu)>button{border-radius:7px}
html[data-look] :is(#messageActions,.person-actions-menu)>button:hover{background:var(--d-panel)}
html[data-look] :is(.reaction-tabs110,.emoji-tabs82){display:flex;gap:3px;overflow-x:auto;padding:4px 0 7px;flex-shrink:0;scrollbar-width:thin}
html[data-look] :is(.reaction-tabs110,.emoji-tabs82)>button{background:transparent;color:var(--d-muted);border:0;box-shadow:none;white-space:nowrap;font-size:11px;font-weight:500;min-height:34px;padding:5px 8px;border-radius:7px}
html[data-look] :is(.reaction-tabs110,.emoji-tabs82)>button[aria-selected=true]{background:var(--d-panel);color:var(--d-ink)}
html[data-look] .reaction-scroll{padding:0 2px 4px;scrollbar-width:thin}
html[data-look] .reaction-scroll h3{font-size:11px;font-weight:500;color:var(--d-muted);margin:12px 3px 5px}
html[data-look] #messageMenu .reaction-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}
html[data-look] #messageMenu .reaction-grid button{display:flex;justify-content:center;align-items:center;background:transparent;border:0;box-shadow:none;border-radius:8px;min-height:40px;min-width:0;padding:4px}
html[data-look] #messageMenu .reaction-grid button img{width:31px;height:31px}
html[data-look] #messageMenu .reaction-grid button:is(:hover,:focus-visible),html[data-look] #messageMenu .reaction-grid button[aria-pressed=true]{background:var(--d-panel)}
html[data-look] #messageMenu .reaction-grid button:focus-visible{outline:2px solid var(--d-accent);outline-offset:-2px}
html[data-look] #messageMenu .reaction-grid.theme-grid110{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
html[data-look] #messageMenu .theme-grid110 button{flex-direction:column;gap:3px;padding:5px 2px;min-height:87px}
html[data-look] #messageMenu .theme-grid110 button img{width:58px;height:58px}
html[data-look] .theme-label110{font-size:10px;line-height:1.2;font-weight:400;color:var(--d-muted);text-align:center;overflow-wrap:anywhere}
html[data-look] #quickReactions{gap:4px}
html[data-look] #quickReactions button{background:transparent;border:0;box-shadow:none;border-radius:8px}
html[data-look] #quickReactions button img{width:29px;height:29px}
html[data-look] #messages .reaction-symbol img.live-emoji110{width:22px;height:22px}
html[data-look] #messages .reaction-symbol img[class*="theme110-"]{width:29px;height:29px}
html[data-look] #messages .reactions button:has(img[class*="theme110-"]){min-height:32px}
html[data-look] #reactionAuthors91 .reaction-icons93 img[class*="theme110-"]{width:32px;height:32px}
html[data-look] #emojiPicker82 .emoji-grid82 button img{width:30px;height:30px}
html[data-look] :is(.empty110,#welcome){color:var(--d-muted);text-align:center}
html[data-look] .empty110{padding:28px 14px;font-size:12px;line-height:1.5}
html[data-look] .empty110 strong{display:block;color:var(--d-ink);font-size:13px;font-weight:600}
html[data-look] .empty110 p{margin:8px 0 12px}
html[data-look] :is(.empty110 button,.empty-action110){background:var(--d-panel);color:var(--d-ink);font-size:12px;min-height:36px;padding:7px 13px;border:0;border-radius:9px;box-shadow:none}
html[data-look] #welcome h2{font-size:17px;line-height:1.4;font-weight:600;letter-spacing:0}
html[data-look] #welcome p{font-size:12px;line-height:1.5;max-width:32ch;margin:8px auto 14px}
html[data-look] .portrait48-choice{background:transparent;border-radius:50%;padding:1px}
html[data-look] .portrait48-choice[aria-pressed=true]{outline:2px solid var(--d-accent);outline-offset:1px}
@media(pointer:coarse){html[data-look] #messageMenu .reaction-grid button{min-height:44px}html[data-look] .reaction-tabs110>button{min-height:40px}}
@media(prefers-reduced-motion:reduce){.live-emoji110{transition:none!important}}

/* Calm neutral surfaces; green and light/dark preferences keep their own tokens. */
html[data-look=graphite][data-palette=neutral][data-theme=dark]{--d-surface:#252a31;--d-panel:#2d333b;--d-message:#30363e;--d-own:#3b4756;--d-line:#424a54}
html[data-look=graphite][data-palette=neutral][data-theme=light]{--d-surface:#f4f5f7;--d-panel:#e9ecf0;--d-message:#fff;--d-own:#dfe7ee;--d-line:#d5dbe2}
html[data-look] :is(.section-heading>span,.mobile-sidebar-heading>strong){font-family:inherit;letter-spacing:0;font-weight:600}

img.live-emoji110:not([class*="theme110-"]){clip-path:inset(5% 0)}

/* Override legacy compact art sizes, without shrinking pointer targets. */
html[data-look] #messageMenu .reaction-grid img.live-emoji110{width:31px!important;height:31px!important}
html[data-look] #messageMenu .theme-grid110 img.live-emoji110{width:58px!important;height:58px!important}
html[data-look] #quickReactions img.live-emoji110{width:29px!important;height:29px!important}
html[data-look] #messages .reaction-symbol img.live-emoji110{width:22px!important;height:22px!important}
html[data-look] #messages .reaction-symbol img[class*="theme110-"]{width:29px!important;height:29px!important}
html[data-look] #emojiPicker82 .emoji-grid82 img.live-emoji110{width:30px!important;height:30px!important}
html[data-look] #reactionAuthors91 .reaction-icons93 img[class*="theme110-"]{width:32px!important;height:32px!important}
