.view-mode-button { cursor: pointer; font-family: inherit; }
.reader__header { grid-template-columns: 52px minmax(0,1fr) auto; gap: 10px; }
.reader__header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.reader-mode-button { min-width: 68px; height: 38px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.04); color: var(--paper); font: 750 11px/1 Pretendard,"Noto Sans KR",sans-serif; cursor: pointer; }
.reader-mode-button:hover,.reader-mode-button:focus-visible { border-color: var(--red-bright); outline: none; }

.reader-mode-backdrop { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 22px; background: rgba(3,5,8,.86); backdrop-filter: blur(18px); }
.reader-mode-backdrop[hidden] { display: none; }
.reader-mode-dialog { width: min(100%,500px); padding: 28px; border: 1px solid rgba(238,233,223,.18); border-radius: 8px; background: linear-gradient(145deg,rgba(28,13,17,.98),rgba(8,10,13,.98)); box-shadow: 0 32px 100px rgba(0,0,0,.68); color: var(--paper); }
.reader-mode-dialog__kicker { margin: 0 0 10px; color: var(--red-bright); font: 800 10px/1 ui-monospace,monospace; letter-spacing: .2em; }
.reader-mode-dialog h2 { margin: 0; font: 700 clamp(28px,7vw,40px)/1.1 Georgia,"Noto Serif KR",serif; letter-spacing: -.045em; }
.reader-mode-dialog__copy { margin: 13px 0 22px; color: #a9adb2; font-size: 13px; line-height: 1.7; word-break: keep-all; }
.reader-mode-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.reader-mode-options button { min-height: 100px; padding: 16px; border: 1px solid var(--line); border-radius: 5px; background: rgba(255,255,255,.035); color: inherit; text-align: left; cursor: pointer; }
.reader-mode-options button:hover,.reader-mode-options button:focus-visible { border-color: var(--red-bright); background: rgba(179,39,52,.13); outline: none; }
.reader-mode-options strong { display: block; font-size: 16px; }
.reader-mode-options small { display: block; margin-top: 7px; color: #a9adb2; font-size: 11px; line-height: 1.5; }
.reader-mode-options em { display: inline-block; margin-top: 8px; color: #e49aa2; font-size: 9px; font-style: normal; font-weight: 800; letter-spacing: .07em; }
body.reader-mode-open { overflow: hidden; }

html[data-reader-mode="mobile"] .reader__stage.is-mobile-edition .reader__page-wrap { width: min(100%,620px); }

@media (max-width: 700px) {
  .reader__header { grid-template-columns: 42px minmax(0,1fr) auto; padding-inline: 8px; gap: 6px; }
  .reader__header-actions { gap: 5px; }
  .reader-mode-button { min-width: 48px; height: 36px; padding-inline: 8px; font-size: 10px; }
  .reader__header .icon-button { width: 38px; height: 38px; }
  .reader-mode-options { grid-template-columns: 1fr; }
  .reader-mode-dialog { padding: 24px 20px; }
  .site-header__actions .view-mode-button { display: none; }
}
