[hidden]{display:none!important}.mirc-shell{--shell-height:76px}.shell-header{position:sticky;top:0;z-index:50;min-height:76px;background:var(--panel);border-bottom:2px solid var(--accent);display:flex;align-items:center;gap:22px;padding:12px max(18px,calc((100vw - 1440px)/2))}.shell-brand{font-size:22px;font-weight:800;white-space:nowrap;color:var(--ink);text-decoration:none}.shell-brand>span:last-child{color:var(--accent)}.shell-header nav{display:flex;align-items:center;gap:6px;flex:1}.shell-header nav a{padding:10px 12px;min-height:44px;border-radius:8px;text-decoration:none;color:var(--ink);font-weight:650;font-size:14px}.shell-header nav a:hover,.shell-header nav a[aria-current]{background:var(--panel2);box-shadow:inset 0 -3px var(--accent)}.shell-status{font-size:12px;color:var(--muted);white-space:nowrap}.shell-footer{border-top:1px solid var(--line);display:flex;justify-content:space-between;padding:26px max(18px,calc((100vw - 1200px)/2));gap:20px;font-size:14px}.shell-footer a{color:var(--red)}#view-webchat,#chat-host,#chat-frame{width:100%;height:calc(100dvh - var(--shell-height));min-height:400px;border:0;display:block;padding:0;margin:0}.chat-route .shell-footer{display:none}.chat-route{overflow:hidden}#view-notfound{padding:80px 24px;max-width:900px;margin:auto}[data-view] :target{scroll-margin-top:95px}.shell-header a:focus-visible,.shell-header select:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.mirc-shell main{overflow-wrap:anywhere}.mirc-shell pre,.mirc-shell code{overflow-wrap:normal}#view-sugo .help-entry{scroll-margin-top:100px}
@media(max-width:1050px){.shell-header{gap:10px;flex-wrap:wrap;padding:10px 14px}.shell-header nav{order:4;flex-basis:100%;overflow-x:auto}.shell-header .theme-control{margin-left:auto}.shell-header nav a{white-space:nowrap}.mirc-shell{--shell-height:124px}.shell-status{font-size:11px}#view-webchat,#chat-host,#chat-frame{min-height:0}}@media(max-width:480px){.shell-brand{font-size:18px}.shell-header{padding:8px 10px;gap:8px}.shell-header nav a{padding:8px 10px;font-size:13px}.shell-header select{min-height:40px;padding:6px}.shell-status{max-width:100px;white-space:normal}.shell-footer{flex-direction:column}.mirc-shell{--shell-height:116px}}

#shell-settings,#shell-reset{font:inherit;font-size:13px;font-weight:650;color:var(--ink);background:var(--panel2);border:1px solid var(--line);border-radius:8px;min-height:40px;padding:8px 12px;cursor:pointer}#shell-settings:hover,#shell-reset:hover{border-color:var(--accent)}.shell-brand img{vertical-align:middle;margin-right:5px}@media(max-width:600px){.shell-header{gap:6px}.shell-status{display:none}#shell-settings,#shell-reset{font-size:12px;padding:6px}}

.preview-rooms label{display:flex!important;align-items:center;gap:8px;min-height:32px!important}.preview-rooms input[type=checkbox]{width:18px;height:18px;min-height:18px;margin:0;accent-color:#a52b44}.preview-fixed{font-size:13px!important}.mirc-shell a:focus-visible,.mirc-shell button:focus-visible{outline:3px solid var(--red);outline-offset:3px}
