/* Shared slogan area: editable DOM lettering above a separate quiet brush. */
:root{--page-slogan-font:"Fredoka",sans-serif;--page-slogan-weight:600;--page-slogan-size:clamp(24px,6.7vw,30px)}
#game-category-dialog[data-step=categories] #game-category-title{height:62px;line-height:62px!important;margin-top:7px!important;margin-bottom:3px!important;position:relative;isolation:isolate;font-family:var(--page-slogan-font);font-weight:var(--page-slogan-weight);font-size:var(--page-slogan-size)!important;}
#game-category-dialog[data-step=categories] #game-category-title::before,
#game-category-dialog[data-step=categories] #game-category-title::after{display:none!important;content:none!important}
.slogan-art{position:absolute;inset:0;z-index:-1;pointer-events:none;}
.slogan-layer{position:absolute;display:block;object-fit:contain;transform:translate(-50%,-50%);user-select:none;pointer-events:none;}
.slogan-layer-brush{width:100%;height:150%;max-width:none;z-index:0}
.slogan-layer-star{width:34px;height:34px;z-index:1;filter:drop-shadow(0 2px 1px #bb9a3c20)}
.slogan-layer-left,.slogan-layer-right{width:25px;height:25px;z-index:1}
.slogan-layer-left{transform:translate(-50%,-50%) scaleX(-1)}
.editing-slogan-layers .slogan-art{z-index:3}
.editing-slogan-layers .slogan-layer{pointer-events:auto;cursor:move;touch-action:none;outline:1px dashed #77b9d4;outline-offset:3px}
.editing-slogan-layers .slogan-layer-brush{pointer-events:none;outline:none}
.slogan-layer-toolbar{position:absolute;z-index:20;left:8px;right:8px;bottom:75px;display:flex;align-items:center;justify-content:center;gap:7px;padding:7px;border:1px solid #c6e2ee;border-radius:14px;background:#fffffff5;box-shadow:0 4px 15px #35495f22;font:700 11px/1.2 Nunito,sans-serif;color:#526a80}
.slogan-layer-toolbar[hidden]{display:none}
.slogan-layer-toolbar button{padding:8px;border:1px solid #c6e2ee;border-radius:10px;background:#e6f6ff;color:#35495f;font:800 12px Nunito,sans-serif}
@media(max-width:360px){#game-category-dialog[data-step=categories] #game-category-title{height:58px;line-height:58px!important}.slogan-layer-star{width:30px;height:30px}.slogan-layer-left,.slogan-layer-right{width:22px;height:22px}}
#game-category-dialog[data-step=categories] #game-category-title>.app-title-word{position:relative;z-index:4;pointer-events:none}

/* User-supplied decorative set: original PNGs at their natural aspect ratios. */
.slogan-layer-brush{width:100%;height:auto;object-fit:contain}
.slogan-layer-left{width:33px;height:auto;transform:translate(-50%,-50%) rotate(-14deg)}
.slogan-layer-right{width:35px;height:auto;transform:translate(-50%,-50%) rotate(10deg)}
@media(max-width:360px){.slogan-layer-left{width:29px;height:auto}.slogan-layer-right{width:31px;height:auto}}
