/* Sama v6: visual layer only. Existing content and Firebase data remain unchanged. */
body.s4-active>.s4-utility{min-height:37px;background:linear-gradient(90deg,#06182a,#06334b);border-bottom:2px solid #d7ab62;font-size:12px}
body.s4-active>header{display:flex;align-items:center;flex-wrap:nowrap;gap:clamp(18px,3vw,48px);min-height:100px;border-bottom:1px solid #e9edf1}
body.s4-active>header .brand{max-width:42%;flex-shrink:0;gap:12px}
body.s4-active>header .brand h1{font-size:clamp(18px,1.6vw,24px);line-height:1.38}
body.s4-active>header .brand p{font-size:12px}
body.s4-active .s4-head-tools{flex:1;max-width:unset;justify-content:flex-start}
body.s4-active .s4-head-search{max-width:650px;min-height:49px;background:#f7f9fb;border-color:#dce4ea}
body.s4-active .s4-head-actions{gap:10px}
body.s4-active .s4-icon-button{box-shadow:0 2px 8px #132f4412}
body.s4-active .s6-category-image{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover}
body.s4-active .s4-category-photo{position:relative}
body.s4-active .s4-category-photo img{transform-origin:center center}
body.s4-active .s4-category-tile:hover .s4-category-photo img{transform:scale(1.04)}
body.s4-active .s4-category-tile{border-radius:15px;box-shadow:0 5px 19px #0a284410}
body.s4-active .s4-category-name{font-size:13px;line-height:1.6}
body.s4-active .s6-category-tag{position:absolute;top:9px;right:10px;padding:4px 7px;background:#0a2634b0;color:#f9e2b1;border-radius:7px;font-size:10px;font-weight:700;pointer-events:none}
body.s4-active .s6-header-caption{display:none}
@media(min-width:1000px){body.s4-active>nav{justify-content:space-between}body.s4-active>nav button{white-space:nowrap}}
@media(max-width:850px){body.s4-active>header .brand{max-width:35%}body.s4-active>header .brand p{font-size:10px}}
@media(max-width:650px){
 body.s4-active>.s4-utility{min-height:38px;gap:7px;padding:6px 8px}
 body.s4-active>header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;min-height:auto;padding:12px 12px 11px}
 body.s4-active>header .brand{max-width:100%;min-width:0;gap:6px}
 body.s4-active>header .brand h1{font-size:clamp(13px,4vw,16px)}
 body.s4-active>header .brand p{font-size:10px}
 body.s4-active .s4-head-tools{display:contents}
 body.s4-active .s4-head-search{grid-column:1/-1;grid-row:2;width:100%;max-width:none;min-height:44px}
 body.s4-active .s4-head-actions{grid-column:2;grid-row:1;gap:5px}
 body.s4-active .s4-icon-button{min-width:38px;min-height:38px;height:38px}
 body.s4-active .s4-category-list{gap:10px}
}
@media(prefers-reduced-motion:reduce){body.s4-active .s4-category-photo img{transition:none!important}}
