/* Interaction state only; the reference site's own styles define the design. */
html{overflow-x:clip}
body{max-width:100%;overflow-x:clip}
[data-template-panel][hidden],[data-template-cookie][hidden]{display:none!important}
[data-template-menu]{isolation:isolate}
.template-modal-backdrop{position:fixed;inset:0;z-index:100020;background:#0009;display:grid;place-items:center;padding:24px}
.template-modal-backdrop[hidden]{display:none}
.template-modal-content{position:relative;width:min(100%,1040px);max-height:90vh;overflow:auto;border-radius:20px;background:#fff;color:#111;padding:24px}
.template-modal-close{position:absolute;z-index:1;right:12px;top:12px;width:36px;height:36px;border:0;border-radius:50%;background:#f0f0f0;color:#111;font:24px/1 sans-serif;cursor:pointer}
.template-modal-content video,.template-modal-content img{display:block;max-width:100%;height:auto;margin:auto}
.template-modal-content iframe{display:block;width:100%;aspect-ratio:16/9;border:0}
.template-cookie-settings{position:fixed;inset:0;z-index:100030;background:#0008;display:grid;place-items:center;padding:20px}
.template-cookie-settings>section{max-width:540px;background:white;color:#171717;border-radius:18px;padding:28px;font:16px/1.5 system-ui}
.template-cookie-settings button{margin:12px 8px 0 0;padding:10px 18px;border:1px solid #aaa;border-radius:8px;color:#111;background:#f5f5f5;cursor:pointer}
[data-template-carousel]{scroll-behavior:smooth}
@media(prefers-reduced-motion:reduce){[data-template-carousel]{scroll-behavior:auto}}

/* Responsive overlays follow the reference stacking and touch viewport. */
.template-menu-shade{position:fixed;inset:0;z-index:9990;background:rgba(0,0,0,.2)}
.template-menu-shade[hidden]{display:none}
html[data-replica="notability"] #mobile-nav{z-index:40;background:#fff}
html[data-replica="suno"] [data-template-toggle-open="true"]{mask:none!important;background:none!important;color:white;font:28px/1 sans-serif}
html[data-replica="suno"] [data-template-toggle-open="true"]::before{display:none}
