/* 두루마리 (scrollpanel.js, Drive 06): a sheet from the bottom on phones, a narrow column on the right on desktop; the page under it
   stays as it was. .scroll-open: the quiet round control that opens it, on the world pages and the document pages alike. */
.scroll-panel { position: fixed; inset: 0; z-index: 40; }
.scroll-backdrop { position: absolute; inset: 0; background: rgba(8, 12, 20, 0.28); }
html.scroll-locked { overflow: hidden; }   /* the page under the sheet keeps its place */
.scroll-panel[hidden] { display: none; }
.scroll-paper { position: absolute; left: 12px; right: 12px; bottom: calc(env(safe-area-inset-bottom, 0px) + 12px); box-sizing: border-box; max-width: 34rem; max-height: 62vh; overflow: auto;
  margin: 0 auto; padding: 22px 22px 18px; border-radius: 14px; overscroll-behavior: contain;
  background: #ece6d8; color: #1d2027; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45); font: 400 15px/1.7 system-ui, -apple-system, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif; }
.scroll-paper h2 { margin: 0 34px 10px 0; font-size: 17px; font-weight: 650; line-height: 1.4; word-break: keep-all; }
.scroll-body p { margin: 0 0 10px; word-break: keep-all; }
.scroll-body a { color: inherit; text-underline-offset: 3px; }
.scroll-close { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border: 0; border-radius: 22px; background: none; color: inherit; font-size: 24px; line-height: 1; cursor: pointer; }
.scroll-open:focus-visible { outline: 2px solid rgba(244, 238, 226, 0.9); outline-offset: 3px; }
.scroll-close:focus-visible, .scroll-body a:focus-visible { outline: 2px solid #1d2027; outline-offset: 2px; }   /* dark on the paper */
.scroll-open { flex: 0 0 46px; width: 46px; min-height: 46px; padding: 0; border: 1px solid rgba(244, 238, 226, 0.42); border-radius: 23px;
  background: rgba(10, 14, 22, 0.55); color: rgba(246, 242, 234, 0.96); cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.scroll-open svg { width: 20px; height: 20px; vertical-align: middle; }
@media (min-width: 720px) { .scroll-paper { left: auto; right: 24px; top: 72px; bottom: auto; width: min(26rem, 40vw); max-height: calc(100vh - 96px); } }
