/* RSH Simple. PJS fixed footer and bottom-sheet structure, V2 visual tokens. */
html:has(.rsh-simple-layout),body:has(.rsh-simple-layout){margin:0;background:var(--rsh-simple-page,#e8ebef)}
.rsh-simple-layout{--rsh-simple-panel:#fff;--rsh-simple-text:#20252c;--rsh-simple-muted:#838b95;--rsh-simple-line:#e8ebef;--rsh-simple-soft:#f5f6f8;--rsh-simple-accent:#343c48;--rsh-bottom-height:63px;width:100%;max-width:var(--rsh-simple-width,600px);min-height:100dvh;margin:auto;position:relative;background:var(--rsh-simple-panel);color:var(--rsh-simple-text);font:14px/1.6 "Noto Sans KR",-apple-system,BlinkMacSystemFont,"Malgun Gothic",sans-serif;color-scheme:light}
html[data-theme=dark] .rsh-simple-layout{--rsh-simple-panel:#1b1d23;--rsh-simple-text:#f2f3f5;--rsh-simple-muted:#9da3ae;--rsh-simple-line:#343740;--rsh-simple-soft:#262a32;--rsh-simple-accent:#e7e9ef;color-scheme:dark}
.rsh-simple-layout *{box-sizing:border-box}.rsh-simple-content{min-width:0;padding:0 0 var(--rsh-bottom-height,calc(63px + env(safe-area-inset-bottom)));overflow-wrap:anywhere}
.rsh-simple-bottom{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:var(--rsh-simple-width,600px);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:var(--rsh-simple-panel);border-top:1px solid var(--rsh-simple-line);padding:4px 8px calc(5px + env(safe-area-inset-bottom));z-index:15}
.rsh-simple-bottom>a,.rsh-simple-bottom>button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;min-width:0;min-height:49px;padding:4px;border:0;background:none;color:var(--rsh-simple-muted);font-family:inherit;font-size:12px;line-height:1.6;text-decoration:none;cursor:pointer}
.rsh-simple-bottom>a[aria-current=page],.rsh-simple-bottom>button.is-active,.rsh-simple-bottom>button[aria-expanded=true]{color:var(--rsh-simple-text);font-weight:750}.rsh-simple-bottom svg{width:23px;height:23px;stroke-width:1.7}
.rsh-simple-bottom a:focus-visible,.rsh-simple-bottom button:focus-visible,.rsh-simple-sheet a:focus-visible,.rsh-simple-sheet button:focus-visible{outline:2px solid var(--rsh-simple-accent);outline-offset:2px}
.rsh-simple-sheet{position:fixed;inset:auto 0 0;margin:0 auto;width:100%;max-width:var(--rsh-simple-width,600px);max-height:75vh;max-height:75dvh;overflow:auto;overscroll-behavior:contain;padding:12px 20px calc(22px + env(safe-area-inset-bottom));border:0;border-radius:20px 20px 0 0;background:var(--rsh-simple-panel);color:var(--rsh-simple-text);font:14px/1.6 "Noto Sans KR",-apple-system,BlinkMacSystemFont,"Malgun Gothic",sans-serif;transform:translate3d(0,105%,0);opacity:0;transition:transform .24s ease,opacity .24s ease}
.rsh-simple-sheet.is-open{transform:translate3d(0,0,0);opacity:1}.rsh-simple-sheet::backdrop{background:#0006}.rsh-simple-sheet.is-closing::backdrop{background:transparent}.rsh-simple-handle{height:4px;width:36px;border-radius:8px;background:var(--rsh-simple-line);margin:0 auto 16px}
.rsh-simple-sheethead{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.rsh-simple-sheethead strong{font-size:18px}.rsh-simple-sheethead button{border:0;border-radius:9px;width:34px;height:34px;background:var(--rsh-simple-soft);color:var(--rsh-simple-text);font-family:inherit;font-size:21px;line-height:1;cursor:pointer}
.rsh-simple-menulink{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:50px;padding:14px 2px;border:0;border-bottom:1px solid var(--rsh-simple-line);color:var(--rsh-simple-text);background:none;text-decoration:none;overflow-wrap:anywhere}.rsh-simple-menulink[aria-current=page]{font-weight:700}.rsh-simple-submenu{padding-left:16px}.rsh-simple-empty{color:var(--rsh-simple-muted);font-size:13px}.rsh-simple-theme-options{display:flex;gap:8px;padding-top:20px}.rsh-simple-theme-options button{flex:1;padding:9px 3px;background:var(--rsh-simple-soft);color:var(--rsh-simple-text);border:1px solid var(--rsh-simple-line);border-radius:9px;font-family:inherit;font-size:12px;cursor:pointer}.rsh-simple-theme-options button[aria-pressed=true]{border-color:var(--rsh-simple-accent);font-weight:700}
@media(max-width:600px){html:has(.rsh-simple-layout),body:has(.rsh-simple-layout){background:var(--rsh-simple-panel,#fff)}}@media(prefers-reduced-motion:reduce){.rsh-simple-sheet{transition:none}}@media print{.rsh-simple-bottom,.rsh-simple-sheet{display:none}.rsh-simple-content{padding:0}.rsh-simple-layout{max-width:none}}

/* Keep member spacing inside the layout instead of collapsing into the page. */
.rsh-simple-content:has(> .rsh-member){display:flow-root}
