/* HEMENG unified site shell — expandable navigation */
:root{--hm-shell-ink:#24232a;--hm-shell-paper:#fffdf6;--hm-shell-red:#ef6655;--hm-shell-line:#24232a}
.hm-shell-header{position:sticky;top:0;z-index:1000;background:rgba(255,253,246,.96);border-bottom:3px solid var(--hm-shell-ink);box-shadow:0 4px 0 rgba(36,35,42,.08);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
.hm-shell-inner{width:min(1320px,100%);min-height:76px;margin:auto;padding:10px 26px;display:flex;align-items:center;justify-content:space-between;gap:22px}
.hm-shell-brand{display:flex;align-items:center;gap:11px;flex:none;color:var(--hm-shell-ink);text-decoration:none}
.hm-shell-brand img{width:40px;height:40px;object-fit:contain;border:2px solid var(--hm-shell-ink);border-radius:7px;background:var(--hm-shell-paper);box-shadow:2px 2px 0 var(--hm-shell-ink)}
.hm-shell-brand span{display:grid;gap:2px}.hm-shell-brand strong{font-size:16px;font-weight:1000;letter-spacing:1px}.hm-shell-brand small{font-size:8px;font-weight:900;letter-spacing:2px;color:#8e777c}
.hm-shell-nav{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}
.hm-shell-nav a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 13px;border:2px solid transparent;border-radius:5px;color:#625b60;text-decoration:none;font-size:12px;font-weight:850;white-space:nowrap;transition:transform .16s,border-color .16s,background .16s}
.hm-shell-nav a:hover{border-color:var(--hm-shell-ink);background:#fff0c4;transform:translateY(-2px)}
.hm-shell-nav a[aria-current=page]{border-color:var(--hm-shell-ink);background:#ef6655;color:white;box-shadow:3px 3px 0 var(--hm-shell-ink)}
.hm-shell-language{min-height:38px;max-width:116px;padding:0 9px;border:2px solid var(--hm-shell-ink);border-radius:5px;background:var(--hm-shell-paper);color:var(--hm-shell-ink);font-size:11px;font-weight:750}
.hm-shell-mobile{display:none}
body{padding-bottom:0}
@media(max-width:760px){
 .hm-shell-inner{min-height:62px;padding:8px 15px;gap:8px}
 .hm-shell-brand img{width:35px;height:35px}
 .hm-shell-brand strong{font-size:14px}
 .hm-shell-brand small{font-size:7px}
 .hm-shell-nav{gap:4px}
 .hm-shell-nav a{min-height:36px;padding:0 8px;font-size:10px}
 .hm-shell-language{max-width:92px;min-height:35px;font-size:10px}
}
@media(max-width:560px){
 body{padding-bottom:calc(68px + env(safe-area-inset-bottom))}
 .hm-shell-inner{min-height:58px;padding:7px 13px}
 .hm-shell-nav{display:none}
 .hm-shell-mobile{position:fixed;z-index:1100;left:0;right:0;bottom:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;padding:7px 8px calc(7px + env(safe-area-inset-bottom));border-top:3px solid var(--hm-shell-ink);background:rgba(255,253,246,.97);box-shadow:0 -4px 0 rgba(36,35,42,.08);backdrop-filter:blur(16px)}
 .hm-shell-mobile a{min-width:0;min-height:48px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:1.5px solid transparent;border-radius:5px;color:#655c63;text-decoration:none;font-size:9px;font-weight:850}
 .hm-shell-mobile a span:first-child{font-size:17px;line-height:1}
 .hm-shell-mobile a[aria-current=page]{border-color:var(--hm-shell-ink);background:#fff0c4;color:#d94e40;box-shadow:2px 2px 0 var(--hm-shell-ink)}
}
@media(prefers-reduced-motion:reduce){.hm-shell-nav a{transition:none}}
