/* Isolated, opt-in page shell. Does not alter other site pages. */
html:has(body.ojs-universe-shell-page){font-size:16px!important;scroll-behavior:smooth}
body.ojs-universe-shell-page{margin:0!important;padding:0!important;background:#fbfaf7!important;color:#192d28!important;font-family:system-ui,-apple-system,"Noto Sans KR",sans-serif!important;font-size:16px!important;line-height:1.6!important;max-width:none!important;width:100%!important;overflow-x:hidden}
body.ojs-universe-shell-page .ojs-shell-layout{display:flex;flex-direction:column;min-height:100vh;width:100%}
body.ojs-universe-shell-page .ojs-shell-inner{width:min(calc(100% - 32px),var(--ojs-shell-max,1280px));margin:0 auto}
body.ojs-universe-shell-page .ojs-shell-header{position:sticky;top:0;z-index:999;background:#102d27;color:#f3e5b8;box-shadow:0 2px 8px #0002;font-size:14px}
body.ojs-universe-shell-page .ojs-shell-headrow{display:flex;align-items:center;gap:22px;min-height:70px}
body.ojs-universe-shell-page .ojs-shell-header a{color:inherit;text-decoration:none!important}
body.ojs-universe-shell-page .ojs-shell-brand{display:flex;align-items:center;gap:9px;min-width:max-content}
body.ojs-universe-shell-page .ojs-shell-brand strong{display:block;font-size:18px;letter-spacing:.04em;line-height:1.2}
body.ojs-universe-shell-page .ojs-shell-brand small{display:block;color:#d0c7a7;font-size:10px;line-height:1.3}
body.ojs-universe-shell-page .ojs-shell-mark{font-size:25px;color:#d8b76a}
body.ojs-universe-shell-page .ojs-shell-desktop{display:flex;align-items:center;justify-content:flex-end;gap:clamp(9px,1.2vw,20px);margin-left:auto;flex-wrap:wrap}
body.ojs-universe-shell-page .ojs-shell-desktop a{white-space:nowrap;font-size:13px;padding:6px 2px}
body.ojs-universe-shell-page .ojs-shell-desktop a:hover{color:#fff}
body.ojs-universe-shell-page .ojs-shell-mobile{display:none;margin-left:auto;position:relative}
body.ojs-universe-shell-page .ojs-shell-main{flex:1;display:block;width:100%;min-width:0;padding:32px 0 55px}
body.ojs-universe-shell-page .ojs-shell-content{width:min(calc(100% - 32px),var(--ojs-shell-max,1280px))!important;max-width:none!important;margin:0 auto!important;padding:0!important}
body.ojs-universe-shell-page .ojs-shell-article,body.ojs-universe-shell-page .ojs-shell-body{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
body.ojs-universe-shell-page .ojs-shell-article>*{max-width:none}
body.ojs-universe-shell-page .ojs-shell-page-title{font-size:clamp(24px,3vw,36px);margin:8px 0 22px;text-align:center;line-height:1.3}
body.ojs-universe-shell-page .ojs-shell-body>*{max-width:100%}
body.ojs-universe-shell-page .ojs-shell-body img{max-width:100%;height:auto}
body.ojs-universe-shell-page .ojs-shell-body .ojs3,body.ojs-universe-shell-page .ojs-shell-body [class*="ojs3-"]{max-width:100%}
body.ojs-universe-shell-page .ojs-shell-footer{background:#102d27;color:#e6dbc1;padding:25px 0;font-size:13px}
body.ojs-universe-shell-page .ojs-shell-footrow{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
body.ojs-universe-shell-page .ojs-shell-footer a{color:#e6dbc1;text-decoration:underline}
body.ojs-universe-shell-page .ojs-shell-skip{position:absolute;transform:translateY(-200%);background:#fff;color:#111;z-index:10000;padding:8px}
body.ojs-universe-shell-page .ojs-shell-skip:focus{transform:none}
@media(max-width:920px){
 body.ojs-universe-shell-page .ojs-shell-header{position:relative}
 body.ojs-universe-shell-page .ojs-shell-desktop{display:none}
 body.ojs-universe-shell-page .ojs-shell-mobile{display:block}
 body.ojs-universe-shell-page .ojs-shell-mobile summary{cursor:pointer;list-style:none;border:1px solid #b99d65;border-radius:8px;padding:7px 12px;font-weight:600;white-space:nowrap}
 body.ojs-universe-shell-page .ojs-shell-mobile summary::-webkit-details-marker{display:none}
 body.ojs-universe-shell-page .ojs-shell-mobile nav{position:absolute;right:0;top:calc(100% + 7px);background:#14392e;border:1px solid #ae9156;border-radius:10px;padding:7px;min-width:190px;box-shadow:0 7px 20px #0005;display:grid;z-index:9999}
 body.ojs-universe-shell-page .ojs-shell-mobile nav a{display:block;padding:10px;border-radius:6px}
 body.ojs-universe-shell-page .ojs-shell-mobile nav a:hover{background:#2b5846}
}
@media(max-width:600px){body.ojs-universe-shell-page .ojs-shell-main{padding-top:15px}body.ojs-universe-shell-page .ojs-shell-headrow{min-height:62px}body.ojs-universe-shell-page .ojs-shell-brand strong{font-size:15px}body.ojs-universe-shell-page .ojs-shell-brand small{max-width:135px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}

/* v0.2.0: The unified header replaces the floating site switcher on opted-in pages ONLY. */
body.ojs-universe-shell-page .ojs-universe{display:none!important}
/* Do not allow old theme/content wrappers or text rules to squeeze the body. */
body.ojs-universe-shell-page .ojs-shell-body,
body.ojs-universe-shell-page .ojs-shell-body .wp-block-group,
body.ojs-universe-shell-page .ojs-shell-body .entry-content{max-width:none!important;min-width:0}
body.ojs-universe-shell-page .ojs-shell-body .ojs3,
body.ojs-universe-shell-page .ojs-shell-body .ojs3-wrap,
body.ojs-universe-shell-page .ojs-shell-body [class*="ojs3-"]{box-sizing:border-box}
/* Ensure the header does not wrap into multiple stacked link rows on medium screens. */
@media (max-width:1180px){
 body.ojs-universe-shell-page .ojs-shell-desktop{display:none}
 body.ojs-universe-shell-page .ojs-shell-mobile{display:block}
 body.ojs-universe-shell-page .ojs-shell-mobile summary{cursor:pointer;list-style:none;border:1px solid #b99d65;border-radius:8px;padding:7px 12px;font-weight:600;white-space:nowrap}
 body.ojs-universe-shell-page .ojs-shell-mobile summary::-webkit-details-marker{display:none}
 body.ojs-universe-shell-page .ojs-shell-mobile nav{position:absolute;right:0;top:calc(100% + 7px);background:#14392e;border:1px solid #ae9156;border-radius:10px;padding:7px;min-width:190px;box-shadow:0 7px 20px #0005;display:grid;z-index:9999}
 body.ojs-universe-shell-page .ojs-shell-mobile nav a{display:block;padding:10px;border-radius:6px}
 body.ojs-universe-shell-page .ojs-shell-mobile nav a:hover{background:#2b5846}
}
@media(min-width:921px) and (max-width:1180px){body.ojs-universe-shell-page .ojs-shell-mobile{display:block}}
@media(max-width:640px){
 body.ojs-universe-shell-page .ojs-shell-content{width:calc(100% - 20px)!important}
 body.ojs-universe-shell-page .ojs-shell-inner{width:calc(100% - 20px)}
 body.ojs-universe-shell-page .ojs-shell-main{padding-bottom:28px}
}
