/* One registered arcane atlas, shared by static and dynamic actions. */
.btn[data-icon]{gap:8px}
.btn[data-icon]::before{content:"";display:block;flex:0 0 28px;width:28px;height:28px;background-image:url('/assets/action-icons-arcana.png');background-size:400% 400%;background-repeat:no-repeat}
.btn[data-icon="add"]::before{background-position:0.000000% 0.000000%}
.btn[data-icon="save"]::before{background-position:33.333333% 0.000000%}
.btn[data-icon="share"]::before{background-position:66.666667% 0.000000%}
.btn[data-icon="new"]::before{background-position:100.000000% 0.000000%}
.btn[data-icon="open"]::before{background-position:0.000000% 33.333333%}
.btn[data-icon="history"]::before{background-position:33.333333% 33.333333%}
.btn[data-icon="collection"]::before{background-position:66.666667% 33.333333%}
.btn[data-icon="feed"]::before{background-position:100.000000% 33.333333%}
.btn[data-icon="close"]::before{background-position:0.000000% 66.666667%}
.btn[data-icon="zoom-in"]::before{background-position:33.333333% 66.666667%}
.btn[data-icon="zoom-out"]::before{background-position:66.666667% 66.666667%}
.btn[data-icon="microphone"]::before{background-position:100.000000% 66.666667%}
.btn[data-icon="language"]::before{background-position:0.000000% 100.000000%}
.btn[data-icon="light"]::before{background-position:33.333333% 100.000000%}
.btn[data-icon="saved"]::before{background-position:66.666667% 100.000000%}
.btn[data-icon="refresh"]::before{background-position:100.000000% 100.000000%}
/* Keep the registered trash silhouette bright against the dark button. */
.btn[data-icon="trash"]::before{filter:none}
/* Language actions retain their localized names in accessible tooltips. */
.layout-toolbar>.btn.layout-toggle[data-icon]{flex-basis:auto;width:auto;min-width:48px;padding:6px;gap:0}
.layout-toggle[data-icon]::before{display:block}
@media(max-width:650px){.actions-footer .btn[data-icon]{gap:5px}.actions-footer .btn[data-icon]::before{width:22px;height:22px;flex-basis:22px}}

.btn[data-icon="trash"]::before{background-image:url("/assets/trash.png");background-size:contain;background-position:center}

/* Keep the original labels available to assistive technology and event handlers. */
html body .btn.icon-only{font-size:0!important;gap:0;justify-content:center;white-space:normal;overflow-wrap:anywhere}
html body .btn.icon-only>span:not([aria-hidden="true"]){display:none}
html body .btn.icon-only::before{margin:0}
html body .layout-toolbar>.btn.layout-toggle.icon-only::before{display:block}
html body .btn.icon-only img{pointer-events:none;-webkit-user-drag:none}
html body .btn.icon-only{user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}

#views-options .view-option.icon-only{display:grid;grid-template-rows:minmax(0,1fr)}
#views-options .view-option.icon-only canvas{display:block;min-width:0;width:100%;height:100%}

html body .studio-choice.icon-only canvas{display:block}

html body .entry-brand.icon-only{font-size:24px!important;gap:8px}
html body .entry-brand.icon-only>span:not([aria-hidden="true"]){display:inline}
