/* 모바일 상단 한 줄 + 사이드 메뉴 (001, 2026-10-26 감독관 「모바일 상단이 너무 크다, 사이드 메뉴로」) — 800px 이하에서만 동작, 데스크톱은 그대로 */
.menu-toggle,.site-drawer,.drawer-scrim{display:none}
@media(max-width:800px){
.topline,.navline{display:none!important}
.masthead{flex-direction:row!important;align-items:center!important;justify-content:space-between;gap:12px!important;padding-top:10px!important;padding-bottom:10px!important;position:sticky;top:0;z-index:40;background:var(--bg);border-bottom:1px solid var(--line);max-width:none}
.masthead .brand{gap:10px!important;font-size:19px!important;min-width:0}
.masthead .brand-icon{width:36px!important;height:36px!important;font-size:30px!important;flex-shrink:0}
.masthead .brand-subtitle{font-size:10px!important}
.menu-toggle{display:inline-flex;flex-direction:column;justify-content:center;gap:5px;width:44px;height:44px;padding:0 11px;border:1px solid var(--line);border-radius:10px;background:var(--paper);flex-shrink:0}
.menu-toggle span{display:block;height:2px;background:var(--ink);border-radius:2px}
.site-drawer{display:flex;flex-direction:column;gap:18px;position:fixed;top:0;right:0;bottom:0;width:min(86vw,340px);background:var(--paper);color:var(--ink);z-index:60;transform:translateX(100%);visibility:hidden;transition:transform .22s ease,visibility .22s;overflow-y:auto;overscroll-behavior:contain;padding:14px 20px calc(24px + env(safe-area-inset-bottom,0px));box-shadow:-12px 0 30px rgba(0,0,0,.18)}
.drawer-scrim{display:block;position:fixed;inset:0;background:rgba(0,0,0,.42);z-index:55;opacity:0;visibility:hidden;transition:opacity .22s,visibility .22s}
body.menu-open .site-drawer{transform:none;visibility:visible}
body.menu-open .drawer-scrim{opacity:1;visibility:visible}
html.menu-lock,html.menu-lock body{overflow:hidden}
.drawer-head{display:flex;justify-content:space-between;align-items:center;font-weight:800;font-size:15px}
.drawer-close{width:40px;height:40px;padding:0;font-size:22px;line-height:1}
.site-drawer form{display:flex;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:var(--bg)}
.site-drawer form input{flex:1;min-width:0;width:auto;border:0;background:transparent;padding:11px 12px;font-size:15px}
.site-drawer form button{border:0;border-radius:0;background:transparent;padding:0 14px;font-size:14px}
.site-drawer nav{display:flex!important;flex-direction:column;align-items:stretch;gap:0!important;width:auto!important;font-size:15px!important;white-space:normal;overflow:visible}
.site-drawer nav>a{display:block;padding:12px 2px;border-bottom:1px solid var(--line);min-height:0;justify-content:flex-start}
.site-drawer nav>button{margin-top:10px;width:100%;padding:11px;text-align:center}
.site-drawer #theme::after{content:' 화면 밝기 전환'}
.drawer-label{font-size:11px;letter-spacing:.14em;font-weight:800;color:var(--muted);margin-bottom:-10px}
}
@media(max-width:800px) and (prefers-reduced-motion:reduce){.site-drawer,.drawer-scrim{transition:none}}
