/* Approved controls use 24px artwork inside the existing 44px target. */
:root{--header-hit:44px;--header-glyph:24px;}
body .app-header-control{
 box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
 width:var(--header-hit)!important;height:var(--header-hit)!important;min-width:var(--header-hit)!important;max-width:var(--header-hit)!important;min-height:var(--header-hit)!important;max-height:var(--header-hit)!important;
 padding:0!important;flex:0 0 var(--header-hit)!important;gap:0!important;border:1.5px solid #c3d8e5!important;border-radius:14px!important;
 background:#fffcf4!important;color:#269bf0!important;box-shadow:inset 0 1px #fff,0 2px 0 #269bf010!important;line-height:1!important;touch-action:manipulation;
}
body .app-header-control[hidden]{display:none!important;}
body .app-header-control::before,body .app-header-control::after{display:none!important;}
body .app-header-control>img[data-header-glyph],body .app-header-control>svg[data-header-glyph]{
 position:static!important;display:block!important;width:var(--header-glyph)!important;height:var(--header-glyph)!important;min-width:var(--header-glyph)!important;max-width:var(--header-glyph)!important;min-height:var(--header-glyph)!important;max-height:var(--header-glyph)!important;flex:none!important;
 margin:0!important;padding:0!important;inset:auto!important;transform:none!important;object-fit:contain!important;clip-path:none!important;filter:none!important;opacity:1!important;pointer-events:none;
}
body .app-header-control>svg[data-header-glyph]{fill:none!important;stroke:currentColor!important;stroke-width:2.2!important;stroke-linecap:round;stroke-linejoin:round;}
body .app-header-control:focus-visible{outline:3px solid #269bf0!important;outline-offset:3px;}
body .app-header-control:active:not(:disabled){background:#e5f3fc!important;box-shadow:inset 0 1px 2px #269bf022!important;}
body .app-header-control:disabled{opacity:.42!important;cursor:default!important;}
/* SceneLockUI owns its SVG and ARIA state. CSS paints the approved state without rewriting its children. */
body .app-header-control[data-header-role="lock"],body .app-header-control[data-header-role="unlock"]{font-size:0!important;}
body .app-header-control[data-header-role="lock"]>*,body .app-header-control[data-header-role="unlock"]>*{display:none!important;}
body .app-header-control[data-header-role="lock"]::after,body .app-header-control[data-header-role="unlock"]::after{
 content:""!important;display:block!important;position:static!important;inset:auto!important;width:var(--header-glyph)!important;height:var(--header-glyph)!important;flex:none!important;
 margin:0!important;transform:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:url("navigation-icons/lock.svg") center/contain no-repeat!important;pointer-events:none;
}
body .app-header-control[data-header-role="unlock"]::after{background-image:url("navigation-icons/unlock.svg")!important;}
body .app-header-control.scene-lock-button[aria-pressed="true"]{background:#ffe8a6!important;border-color:#e7bc55!important;box-shadow:inset 0 0 0 1px #e7bc5540,0 2px 0 #e7bc5518!important;}
body .profile-settings.app-header-control,body .album-profile.app-header-control,body #btn-pause.app-header-control{left:auto;right:12px;}
body .profile-home.app-header-control,body .album-back.app-header-control,body .game-back.app-header-control{left:12px;}
.sw-header{grid-template-columns:44px minmax(0,1fr) 44px;gap:6px;}
.sw-header #sw-title{font-size:36px;padding-bottom:0;white-space:nowrap;}
@media(max-width:360px){.sw-header #sw-title{font-size:31px;}.sw-header{padding-left:10px;padding-right:10px;gap:3px;}}
/* Remove decorative title underlines throughout the preview. */
body .app-page-title{padding-bottom:0;}
body .app-page-title::after,body #buddy-name::after,body .album-theme::after,body .result-home-label::after{display:none;content:none;}
/* Display mask removes the lower brush stroke while retaining the original title asset. */
.album-title img{clip-path:polygon(0 0,100% 0,100% 77%,90% 77%,80% 74%,70% 71.4%,60% 70%,50% 69%,40% 69.7%,30% 71.2%,20% 74%,16% 76%,14% 77%,10% 79%,0 79%);}
