/* Varakļōnīts mobile archive layout 2026-12-03 */
.guide-return-bar strong.guide-newspaper-logo { display: flex; align-items: center; min-width: 0; }
.guide-newspaper-logo img { display: block; width: clamp(88px, 30vw, 150px); height: auto; mix-blend-mode: multiply; }
body #reader #fullscreen:not([hidden]) {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #5b2031;
  border-color: #5b2031;
}
html.reader-expanded-open .guide-return-bar { visibility: hidden; }
html.reader-expanded-open #reader .reader-toolbar { top: auto !important; }
.archive-issue-choice { display: flex; gap: 5px; align-items: end; min-width: 0; }
.archive-issue-choice label { flex: 1; min-width: 0; }
.archive-issue-choice select { width: 100%; }
.archive-issue-choice button { flex: 0 0 44px; min-height: 44px; padding: 2px; font-size: 19px; }
.archive-issue-choice button:disabled { opacity: .48; }
#reader #zoom-fit[hidden] { display: none; }
#reader #zoom-fit { min-height: 44px; font-size: 12px; }
#reader .reader-toolbar #next-page:disabled { opacity: .48; }
@media (max-width: 650px) {
  .shell .edition {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 5px 12px;
    padding-block: 4px;
    font-size: clamp(11px, 3.2vw, 13px);
  }
  .shell .edition a { margin: 0; flex: 0 1 auto; min-height: 44px; display: flex; align-items: center; }
  .shell .edition a:last-child { margin-inline-start: auto; text-align: end; }
  .shell .edition[data-compact="true"] { flex-wrap: nowrap; white-space: nowrap; }
  .shell .masthead { padding-block: 12px; }
  .shell .archive-heading { margin-top: 16px; }
  .shell .archive-jump { padding-block: 4px; }
  .shell .latest-issue { padding-top: 16px; }
  .shell .issue-switch { display: grid; padding: 8px; gap: 3px; }
  .shell .issue-switch > a { min-height: 36px; }
  #reader .reader-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 5px;
    gap: 3px;
  }
  #reader .reader-toolbar .nav-group { gap: 2px; margin: 0; flex-wrap: nowrap; }
  #reader .reader-toolbar .nav-group :is(button, select) { margin: 0; height: 44px; min-height: 44px; }
  #reader .reader-toolbar .btn { flex: 0 0 44px; width: 44px; min-width: 44px; padding: 0; }
  #reader .reader-toolbar #page-select { min-width: 55px; max-width: 75px; padding-inline: 3px; }
  #reader .reader-toolbar :is(#previous-page, #next-page, #fullscreen) { font-size: 0; }
  #reader :is(#previous-page, #next-page, #fullscreen)::before { font-size: 22px; line-height: 1; }
  #reader #previous-page::before { content: '‹'; }
  #reader #next-page::before { content: '›'; }
  #reader #fullscreen::before { content: '⛶'; }
  #reader #fullscreen[aria-pressed="true"]::before { content: '×'; }
  #reader .reader-toolbar #zoom-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  #reader #zoom-fit { font-size: 0; }
  #reader #zoom-fit::before { content: '↔'; font-size: 19px; }
  #reader .reader-stage { padding: 4px; scrollbar-gutter: auto; }
  #reader .reader-stage:not(.zoomed):not(.zoomed-more) .page-spread { max-width: 100%; }
}
@media (max-width: 350px) {
  #reader .reader-toolbar .nav-group { gap: 1px; }
  #reader .reader-toolbar .btn { flex-basis: 40px; width: 40px; min-width: 40px; }
}
