/* RosiePass reading room (site/app). Loaded after styles.css and uses its colours, fonts, .btn, .pill, .brand, .cover.
   Class names here must not reuse landing-page names (.room, .links, .nav are taken in styles.css).
   PHONE FIRST. Sizes are in rem so the "Text size" setting (html[data-size]) scales the whole room.
   Patterns studied in Appllama (2026-11-28): floating pill tab bar with a sliding highlight, a sort menu that
   opens from a round top-right button with a tick on the chosen row, grid/list switch inside the same menu. */

html[data-size="l"] { font-size: 112.5%; }
html[data-size="xl"] { font-size: 125%; }
html { scroll-padding-top: 5.5rem; }
/* nothing may ever widen the page: on phones a too-wide page pushes the floating menus out of place */
html, body.rr { overflow-x: clip; }

body.rr {
  min-height: 100vh; min-height: 100svh; font-size: 1.0625rem;
  background:
    radial-gradient(60% 22rem at 0% 0%, rgba(150, 220, 180, .45), transparent 70%),
    radial-gradient(55% 20rem at 100% 6%, rgba(175, 228, 198, .5), transparent 70%),
    var(--page);
  background-attachment: fixed;
}
.rr .btn { min-height: 3.25rem; font-size: 1.0625rem; padding: 0 1.5rem; }
.rr .btn.sm { min-height: 2.875rem; font-size: 1rem; padding: 0 1.125rem; }
.rr .btn svg { width: 1.375rem; height: 1.375rem; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.chip { display: inline-flex; align-items: center; height: 1.625rem; padding: 0 .75rem; border-radius: var(--r-pill); font-style: normal; font-size: .8125rem; font-weight: 800; letter-spacing: .02em; color: var(--brand-text); background: var(--brand-tint); white-space: nowrap; }

/* ---------- floating top row ---------- */
.rtop { position: fixed; z-index: 45; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: max(8px, env(safe-area-inset-top)) 8px 0; pointer-events: none; }
.rtop .brand, .rtop .sort { pointer-events: auto; }
.sort { position: relative; }
.round { display: grid; place-items: center; width: 58px; height: 58px; border: 0; border-radius: 50%; background: var(--glass); -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6); box-shadow: var(--glass-shadow); transition: transform .2s var(--ease), opacity .2s, visibility .2s; }
.round svg { width: 26px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease), stroke .2s; }
.round:active { transform: scale(.94); }
.round[aria-expanded="true"] svg { transform: rotate(180deg); stroke: var(--brand-text); }
/* the button belongs to the Books tab only */
.sort.is-off .round { opacity: 0; visibility: hidden; transform: scale(.8); }

/* the menu grows out of the button's corner */
.pop { position: absolute; top: calc(100% + 10px); right: 0; width: min(17.5rem, calc(100vw - 16px)); padding: .5rem; border-radius: 1.75rem;
  background: linear-gradient(rgba(255, 255, 255, .96), rgba(255, 255, 255, .9)); -webkit-backdrop-filter: blur(22px) saturate(1.6); backdrop-filter: blur(22px) saturate(1.6);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .95), 0 0 0 .5px rgba(120, 190, 155, .35), 0 2.25rem 3.75rem -1.5rem rgba(8, 50, 32, .5), 0 .5rem 1.25rem -.5rem rgba(8, 50, 32, .2);
  /* never reaches the bottom menu (76px above it, bottom menu = 3.5rem + 24px, 8px gap); scrolls inside if text is very large */
  max-height: calc(100vh - 108px - 3.5rem); max-height: calc(100svh - 108px - 3.5rem); overflow-y: auto; overscroll-behavior: contain;
  transform-origin: calc(100% - 29px) -10px; animation: pop-in .26s var(--ease); }
.pop[hidden] { display: none; }
.pop.is-closing { animation: pop-out .16s ease-in forwards; }
@keyframes pop-in { from { opacity: 0; transform: scale(.55); } }
@keyframes pop-out { to { opacity: 0; transform: scale(.7); } }
.pop-label { padding: .75rem .875rem .375rem; font-size: .8125rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pop [data-sort] { position: relative; display: block; width: 100%; min-height: 3rem; padding: 0 .875rem 0 2.875rem; border: 0; border-radius: 1.125rem; background: none; text-align: left; font-size: 1.0625rem; font-weight: 600; color: var(--ink); }
.pop [data-sort]::before { content: ""; position: absolute; left: .75rem; top: 50%; width: 1.5rem; height: 1.5rem; margin-top: -.75rem; border-radius: 50%; background: var(--brand-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / .9rem no-repeat; transform: scale(0); transition: transform .22s var(--ease); }
.pop [data-sort][aria-checked="true"] { background: var(--brand-tint); font-weight: 800; }
.pop [data-sort][aria-checked="true"]::before { transform: scale(1); }
.pop [data-sort]:hover { background: #f1f8f4; }
.pop [data-sort][aria-checked="true"]:hover { background: var(--brand-tint); }
.pop .pop-label + .seg { margin: 0 .375rem .375rem; }
.pop #view-label { margin-top: .375rem; border-top: 1px solid var(--line); padding-top: .875rem; }

/* segmented control (menu and settings) */
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: .25rem; padding: .25rem; border-radius: 1rem; background: #e7f1ec; }
.seg button { display: inline-flex; align-items: center; justify-content: center; gap: .4375rem; min-width: 0; min-height: 2.75rem; padding: 0 .375rem; border: 0; border-radius: .75rem; background: none; font-size: 1rem; font-weight: 600; color: var(--ink-soft); white-space: nowrap; transition: background .2s, color .2s, box-shadow .2s; }
.seg button svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.seg button[aria-checked="true"] { background: #fff; color: var(--ink); font-weight: 800; box-shadow: 0 .25rem .625rem -.25rem rgba(8, 50, 32, .35), 0 0 0 1px rgba(8, 50, 32, .05); }
.aa { font-weight: 800; line-height: 1; } .aa-1 { font-size: 1rem; } .aa-2 { font-size: 1.25rem; } .aa-3 { font-size: 1.5rem; }

/* ---------- views ---------- */
main { width: min(100% - 32px, 68rem); margin-inline: auto; padding: calc(max(8px, env(safe-area-inset-top)) + 58px + 1.5rem) 0 calc(7.5rem + env(safe-area-inset-bottom)); }
.view[hidden] { display: none; }
.view { animation: view-in .32s var(--ease); }
@keyframes view-in { from { opacity: 0; transform: translateY(.75rem); } }
.vhead h1 { font-size: 2.125rem; line-height: 1.08; letter-spacing: -.04em; font-weight: 800; }
.vhead p { margin-top: .375rem; font-size: 1rem; color: var(--muted); font-weight: 600; }
.sample { margin-top: 1.75rem; text-align: center; font-size: .875rem; color: var(--muted); text-wrap: balance; }

/* ---------- Books: the book you are in ---------- */
.now { display: grid; grid-template-columns: 6.25rem 1fr; gap: 1rem; align-items: center; margin-top: 1.25rem; padding: 1rem; border-radius: 1.75rem; background: linear-gradient(#ffffff, #f8fcfa); box-shadow: var(--shadow-panel), inset 0 0 0 1px rgba(255, 255, 255, .9); }
.now:empty { display: none; }
.now .cover { border-radius: .75rem; }
.now .eyebrow { font-size: .75rem; }
.now h2 { margin-top: .25rem; font-size: 1.3125rem; line-height: 1.15; letter-spacing: -.03em; font-weight: 800; text-wrap: balance; }
.now .where { margin-top: .25rem; font-size: .9375rem; color: var(--ink-soft); }
.now .track { margin-top: .625rem; }
/* button pairs sit side by side while both fit and stack when they do not (large text, narrow phones) */
.now-actions, .plan-actions, .b-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.now-actions .btn, .plan-actions .btn, .b-actions .btn { flex: 1 1 auto; }
.now-actions { grid-column: 1 / -1; }
.track { height: .4375rem; border-radius: 99px; background: var(--brand-tint); overflow: hidden; }
.track i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--brand-1), var(--brand-3)); }

/* ---------- Books: the shelf ---------- */
.shelf { margin-top: 1.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.375rem .875rem; align-items: start; }
.book { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; color: inherit; border-radius: .875rem; }
.book .cover { width: 100%; border-radius: .875rem; padding: 12% 10%; transition: transform .25s var(--ease); }
.book:hover .cover { transform: translateY(-3px); }
.book:active .cover { transform: scale(.98); }
.rr .cover b { font-size: 1.0625rem; } .rr .cover i { font-size: .625rem; }
.book .badge { position: absolute; z-index: 2; bottom: .5rem; right: .5rem; height: 1.5rem; padding: 0 .625rem; display: inline-flex; align-items: center; border-radius: 99px; background: #fff; color: var(--brand-text); font-size: .75rem; font-weight: 800; font-style: normal; letter-spacing: .04em; opacity: 1; text-transform: none; box-shadow: 0 .25rem .5rem -.25rem rgba(0, 0, 0, .4); }
.book .badge.done { padding: 0; width: 1.5rem; justify-content: center; background: var(--brand-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / .9rem no-repeat; }
.book .info { display: block; padding: .625rem .125rem 0; }
.book .t { display: block; font-size: 1.0625rem; line-height: 1.2; letter-spacing: -.02em; font-weight: 800; text-wrap: balance; }
.book .m { display: block; margin-top: .1875rem; font-size: .9375rem; color: var(--muted); }
.book .track { margin-top: .5rem; height: .3125rem; }
.book .s { display: block; margin-top: .3125rem; font-size: .875rem; font-weight: 600; color: var(--brand-text); }

/* a real cover picture instead of a coloured placeholder */
.cover.has-img, .rr .book .cover.has-img { padding: 0; background: #1b2a44; }
.cover.has-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* three more placeholder cover colours for the shelf (styles.css has c-a to c-f) */
.c-g { --c1: #e98aa9; --c2: #a8436c; } .c-h { --c1: #4cb487; --c2: #17694a; } .c-i { --c1: #f0a85a; --c2: #b8621c; }

/* list view: one row per book */
.shelf[data-view="list"] { grid-template-columns: 1fr; gap: 0; padding: .25rem 1rem; border-radius: 1.75rem; background: linear-gradient(#ffffff, #f8fcfa); box-shadow: var(--shadow-card), inset 0 0 0 1px var(--line); }
.shelf[data-view="list"] .book { display: grid; grid-template-columns: 3.5rem 1fr; gap: .875rem; align-items: center; padding: .75rem 0; border-radius: 0; }
.shelf[data-view="list"] .book + .book { border-top: 1px solid var(--line); }
.shelf[data-view="list"] .cover { border-radius: .5rem; }
.shelf[data-view="list"] .cover b, .shelf[data-view="list"] .cover i:not(.badge), .shelf[data-view="list"] .badge:not(.done) { display: none; }
.shelf[data-view="list"] .badge.done { bottom: .25rem; right: .25rem; width: 1.125rem; height: 1.125rem; background-size: .7rem; }
.shelf[data-view="list"] .info { padding: 0; }

/* ---------- History ---------- */
.week { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: 1.25rem; }
.stat { padding: 1rem 1.125rem; border-radius: 1.5rem; background: linear-gradient(#ffffff, #f8fcfa); box-shadow: var(--shadow-card), inset 0 0 0 1px var(--line); }
.stat svg { width: 1.5rem; height: 1.5rem; fill: none; stroke: var(--brand-text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.stat b { display: block; margin-top: .5rem; font-size: 1.75rem; line-height: 1; letter-spacing: -.04em; font-weight: 800; }
.stat b small { font-size: 1rem; letter-spacing: -.01em; margin-left: .125rem; }
.stat span { display: block; margin-top: .375rem; font-size: .9375rem; color: var(--muted); line-height: 1.25; }
.day { margin: 1.75rem .25rem .625rem; font-size: .8125rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.card { border-radius: 1.75rem; background: linear-gradient(#ffffff, #f8fcfa); box-shadow: var(--shadow-card), inset 0 0 0 1px var(--line); }
.entries { padding: .25rem 1rem; }
.entry { display: grid; grid-template-columns: 3.25rem 1fr auto; gap: .875rem; align-items: center; width: 100%; padding: .75rem 0; border: 0; background: none; text-align: left; color: inherit; }
.entry + .entry { border-top: 1px solid var(--line); }
.entry .cover { border-radius: .5rem; padding: 0; }
.entry .t { display: block; font-size: 1.0625rem; line-height: 1.2; letter-spacing: -.02em; font-weight: 800; }
.entry .m { display: block; margin-top: .25rem; font-size: .9375rem; line-height: 1.35; color: var(--muted); }
.entry .m svg { display: inline-block; vertical-align: -.1875rem; margin-right: .375rem; width: 1.0625rem; height: 1.0625rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.entry .go { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--brand-tint); }
.entry .go svg { width: 1.125rem; height: 1.125rem; fill: var(--brand-text); }

/* ---------- Account ---------- */
.group { margin: 1.75rem .25rem .625rem; font-size: .8125rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.who { display: grid; grid-template-columns: auto 1fr; gap: .875rem; align-items: center; margin-top: 1.25rem; padding: 1rem 1.125rem; }
.avatar { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%; color: #fff; font-weight: 800; font-size: 1.375rem; background: linear-gradient(var(--brand-1), var(--brand-3)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5); }
.who b, .plan-top b, .row b { display: block; font-size: 1.125rem; letter-spacing: -.02em; font-weight: 800; line-height: 1.25; }
.who p span, .plan-top span, .row p span { display: block; font-size: .9375rem; color: var(--muted); line-height: 1.35; overflow-wrap: anywhere; }
.plan { padding: 1.125rem; }
.plan-top { display: flex; justify-content: space-between; align-items: flex-start; gap: .75rem; }
.plan dl { margin: .875rem 0 0; }
.plan dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .6875rem 0; border-top: 1px solid var(--line); font-size: 1rem; }
.plan dt { color: var(--ink-soft); } .plan dd { margin: 0; font-weight: 800; text-align: right; }
.plan-actions { margin-top: .5rem; }
.rows { padding: .25rem 1.125rem; }
.row { display: grid; gap: .625rem; padding: 1rem 0; }
.row + .row { border-top: 1px solid var(--line); }
.row:has(.switch) { grid-template-columns: 1fr auto; align-items: center; }
.switch { position: relative; width: 3.5rem; height: 2.125rem; padding: 0; border: 0; border-radius: 99px; background: #c3d6cc; transition: background .2s; }
.switch span { position: absolute; top: .1875rem; left: .1875rem; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: #fff; box-shadow: 0 .125rem .375rem rgba(8, 50, 32, .35); transition: transform .22s var(--ease); }
/* the visible switch is 34px tall; this makes the tap area 46px */
.switch::after { content: ""; position: absolute; inset: -.375rem; }
.switch[aria-checked="true"] { background: var(--brand-2); }
.switch[aria-checked="true"] span { transform: translateX(1.375rem); }
.helplinks { padding: .125rem 1.125rem; }
.helplinks a { display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: 3.375rem; color: var(--ink); text-decoration: none; font-size: 1.0625rem; font-weight: 600; }
.helplinks a + a { border-top: 1px solid var(--line); }
.helplinks svg { width: 1.125rem; height: 1.125rem; flex: none; fill: none; stroke: var(--muted); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.signout { margin-top: 1.5rem; }

/* ---------- floating bottom menu ---------- */
.tabbar { position: fixed; z-index: 40; left: 50%; bottom: calc(12px + env(safe-area-inset-bottom)); width: min(23.5rem, calc(100% - 24px)); transform: translateX(-50%);
  display: grid; grid-template-columns: repeat(3, 1fr); padding: 6px; border-radius: var(--r-pill);
  background: var(--glass); -webkit-backdrop-filter: blur(20px) saturate(1.7); backdrop-filter: blur(20px) saturate(1.7);
  box-shadow: var(--glass-shadow), 0 1.5rem 2.5rem -1.25rem rgba(8, 50, 32, .45); }
/* the highlight slides to the chosen tab (--i is set in room.js) */
.tabbar::before { content: ""; position: absolute; top: 6px; bottom: 6px; left: 6px; width: calc((100% - 12px) / 3); border-radius: var(--r-pill); background: var(--brand-tint); box-shadow: inset 0 0 0 1px rgba(37, 137, 91, .14); transform: translateX(calc(var(--i) * 100%)); transition: transform .38s var(--ease); }
.tabbar button { position: relative; display: grid; justify-items: center; gap: .125rem; min-height: 3.5rem; padding: .4375rem 0 .375rem; border: 0; border-radius: var(--r-pill); background: none; color: var(--muted); font-size: .8125rem; font-weight: 800; letter-spacing: -.005em; transition: color .2s; }
.tabbar svg { width: 1.625rem; height: 1.625rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.tabbar button[aria-current="page"] { color: var(--brand-text); }
.tabbar button[aria-current="page"] svg { transform: translateY(-1px) scale(1.06); fill: rgba(37, 137, 91, .16); }
.tabbar button:active svg { transform: scale(.9); }
.pop [data-sort]:active, .seg button:active, .entry:active, .helplinks a:active { background-color: #e9f3ee; }

/* ---------- book details ---------- */
dialog.bsheet { width: 100%; max-width: 35rem; margin: auto auto 0; border-radius: 2rem 2rem 0 0; max-height: 92vh; max-height: 92svh; overflow: auto; background: linear-gradient(#ffffff, #f6fbf8); }
dialog.bsheet[open] { animation: sheet-in .34s var(--ease); }
dialog.bsheet::backdrop { background: rgba(6, 28, 18, .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
@keyframes sheet-in { from { transform: translateY(40%); opacity: 0; } }
.bsheet-in { position: relative; padding: 1.75rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom)); }
.bsheet-in::before { content: ""; position: absolute; top: .625rem; left: 50%; width: 2.75rem; height: .3125rem; margin-left: -1.375rem; border-radius: 99px; background: #cfe0d7; }
.b-top { display: grid; grid-template-columns: 7rem 1fr; gap: 1.125rem; align-items: center; padding-right: 2.75rem; }
.b-top .cover { border-radius: .75rem; }
.b-top h2 { margin-top: .5rem; font-size: 1.5rem; line-height: 1.12; letter-spacing: -.035em; font-weight: 800; text-wrap: balance; }
.b-facts { margin-top: .5rem; font-size: .9375rem; color: var(--muted); line-height: 1.4; }
.b-blurb { margin-top: 1.125rem; font-size: 1.0625rem; color: var(--ink-soft); }
.b-progress { margin-top: 1rem; }
.b-progress:empty { display: none; }
.b-progress p { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .4375rem; font-size: .9375rem; font-weight: 600; color: var(--ink-soft); }
.b-actions { margin-top: 1.25rem; }

/* ---------- small message above the bottom menu ---------- */
.toast { position: fixed; z-index: 60; left: 50%; bottom: calc(5.75rem + env(safe-area-inset-bottom)); width: max-content; max-width: calc(100% - 32px); padding: .75rem 1.125rem; border-radius: 1.125rem; background: var(--ink); color: #fff; font-size: .9375rem; font-weight: 600; text-align: center; box-shadow: 0 1.25rem 2.5rem -1rem rgba(6, 28, 18, .7);
  transform: translate(-50%, 1rem); opacity: 0; visibility: hidden; transition: transform .28s var(--ease), opacity .28s, visibility 0s .28s; }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition: transform .28s var(--ease), opacity .28s; }
.noscript { margin: 6rem 1.5rem; text-align: center; }

/* Sorting: books glide to their new place where the browser supports it.
   While they move the browser draws each named book on its own layer ABOVE the rest of the page, so the top row
   (with the open sort menu) and the bottom menu get their own layers that are kept on top of the books.
   Switching covers/list is a plain cross-fade: a cover morphing into a list row looks broken. */
::view-transition-group(*) { animation-duration: .42s; animation-timing-function: cubic-bezier(.2, .7, .2, 1); }
.rtop { view-transition-name: room-top; }
.tabbar { view-transition-name: room-tabs; }
::view-transition-group(room-top), ::view-transition-group(room-tabs) { z-index: 10; animation: none; }
::view-transition-old(room-top), ::view-transition-old(room-tabs) { display: none; }
::view-transition-new(room-top), ::view-transition-new(room-tabs) { animation: none; }
html.plain-switch .book { view-transition-name: none !important; }
html.plain-switch::view-transition-old(root), html.plain-switch::view-transition-new(root) { animation-duration: .2s; }

@media (prefers-reduced-motion: reduce) {
  .view, .pop, .pop.is-closing, dialog.bsheet[open] { animation: none; }
  .tabbar::before, .round svg, .switch span, .toast, .book .cover { transition: none; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* ---------- wider screens ---------- */
@media (min-width: 600px) {
  .shelf { grid-template-columns: repeat(3, 1fr); gap: 1.75rem 1.25rem; }
  .now { grid-template-columns: 7.5rem 1fr auto; padding: 1.25rem; gap: 1.25rem; max-width: 46rem; }
  .now-actions { grid-column: auto; flex-direction: column; width: 10.5rem; }
  .row { grid-template-columns: 1fr minmax(15rem, auto); align-items: center; }
  #view-history, #view-account { max-width: 42rem; margin-inline: auto; }
  dialog.bsheet { margin: auto; border-radius: 2rem; }
  .bsheet-in::before { display: none; }
}
@media (min-width: 900px) {
  .rtop { padding: 20px 24px 0; }
  main { padding-top: calc(62px + 3.5rem); }
  .vhead h1 { font-size: 2.75rem; }
  .shelf { grid-template-columns: repeat(5, 1fr); gap: 2.25rem 1.5rem; }
  .shelf[data-view="list"] { max-width: 46rem; }
}
