/* Un verso a la vez phone demo */
.vz-phone-host { width: 380px; min-height: 880px; }
.vzp { display: flex; flex-direction: column; align-items: center; gap: 18px; font-family: Roboto, system-ui, sans-serif; color: var(--on); line-height: normal; }
.vzp button { background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; cursor: pointer; text-align: inherit; }
.vzp button:disabled { cursor: default; }
.vzp button:focus-visible, .vzp-pager:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 10px; }
.vzp .mi { font-family: 'Material Icons Outlined'; width: 1em; height: 1em; line-height: 1; overflow: hidden; display: inline-block; flex: none; font-feature-settings: 'liga'; white-space: nowrap; }
.vzp .mi.gold { color: var(--gold); }
.vzp-row { display: flex; align-items: center; }

.vzp-device {
  width: 380px; height: 820px; padding: 10px; box-sizing: border-box; border-radius: 54px; background: #0c0f0e; position: relative;
  box-shadow: inset 0 0 0 1.5px #2a302d, 0 50px 90px -30px rgba(8, 18, 14, .55), 0 18px 36px -12px rgba(8, 18, 14, .35);
}
.vzp-side { position: absolute; right: -3px; width: 4px; border-radius: 0 3px 3px 0; background: #1d2220; }
.vzp-side.a { top: 170px; height: 64px; }
.vzp-side.b { top: 260px; height: 104px; }
.vzp-screen {
  position: relative; width: 360px; height: 800px; border-radius: 44px; overflow: hidden; background: var(--bg); color: var(--on);
  display: flex; flex-direction: column; transition: background-color .35s ease, color .35s ease;
}
.vzp-status { height: 36px; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 0 26px 0 28px; font-size: 14px; font-weight: 500; position: relative; }
.vzp-cam { position: absolute; left: 50%; top: 11px; width: 13px; height: 13px; margin-left: -6.5px; border-radius: 50%; background: #050706; }
.vzp-status .vzp-row { gap: 3px; }
.vzp-appbar { height: 64px; flex: none; display: flex; align-items: center; padding: 0 8px 0 20px; }
.vzp-logo { flex: 1; padding-left: 9px; font-family: 'Noto Serif', serif; font-size: 22px; white-space: nowrap; font-weight: 500; letter-spacing: -.2px; }
.vzp-ib { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; }
.vzp-body { flex: 1; position: relative; min-height: 0; }
.vzp-scroll { position: absolute; inset: 0; overflow-y: auto; scrollbar-width: none; padding: 24px; box-sizing: border-box; display: grid; align-content: start; }
.vzp-scroll::-webkit-scrollbar { display: none; }
.vzp-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 28px; background: linear-gradient(to bottom, transparent, var(--bg)); pointer-events: none; }

/* Home */
.vzp-home { gap: 24px; }
.vzp-over { font-size: 10px; letter-spacing: 2px; font-weight: 500; color: var(--onsv); }
.vzp-display { font-family: 'Noto Serif', serif; font-size: 34px; line-height: 40px; margin-top: 6px; }
.vzp-sub { font-size: 15px; margin-top: 8px; color: var(--onsv); }
.vzp-resume { display: block; width: 100%; background: var(--pri) !important; color: var(--onpri) !important; border-radius: 24px !important; padding: 24px !important; }
.vzp-resume > span { display: block; }
.vzp-resume .vzp-row { display: flex; gap: 10px; }
.vzp-cap { font-size: 11px; letter-spacing: 1.5px; }
.vzp-resume-ref { font-family: 'Noto Serif', serif; font-size: 30px; line-height: 38px; margin-top: 24px; }
.vzp-resume-title { font-family: 'Noto Serif', serif; font-style: italic; font-size: 15px; line-height: 21px; margin-top: 10px; opacity: .8; }
.vzp-resume-body { font-family: 'Noto Serif', serif; font-size: 19px; line-height: 29px; margin-top: 6px; display: -webkit-box !important; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vzp-resume-go { margin-top: 22px; gap: 8px !important; font-size: 14px; font-weight: 500; }
.vzp-visited { display: flex; align-items: center; }
.vzp-badge { width: 44px; height: 44px; border-radius: 50%; background: var(--sv); display: flex; align-items: center; justify-content: center; flex: none; }
.vzp-visited > div:last-child { padding-left: 14px; }
.vzp-vt { font-size: 14px; font-weight: 500; }
.vzp-vs { font-size: 12px; color: var(--onsv); margin-top: 2px; }
.vzp-card { background: var(--sv); border-radius: 24px; padding: 22px 22px 8px; }
.vzp-kicker { gap: 8px; color: var(--gold); font-size: 13px; font-weight: 500; }
.vzp-card-title { font-family: 'Noto Serif', serif; font-size: 24px; line-height: 30px; margin-top: 14px; }
.vzp-card-ref { font-size: 12px; color: var(--onsv); margin-top: 4px; }
.vzp-card-text { font-size: 15px; line-height: 23px; margin-top: 12px; }
.vzp-card-actions { display: flex; justify-content: space-between; margin-top: 4px; }
.vzp-card-actions button { height: 40px; display: flex; align-items: center; font-size: 14px; font-weight: 500; color: var(--pri); }
.vzp-card-actions button:last-child { padding: 0 12px; }
.vzp-h2 { font-family: 'Noto Serif', serif; font-size: 28px; line-height: 34px; }
.vzp-sub2 { font-size: 13px; line-height: 20px; margin-top: 8px; color: var(--onsv); }
.vzp-sugg { border: 1px solid var(--ol) !important; border-radius: 18px !important; padding: 18px !important; display: flex; align-items: center; width: 100%; }
.vzp-sugg-ic { width: 48px; height: 48px; border-radius: 14px; background: var(--sv); display: flex; align-items: center; justify-content: center; flex: none; color: var(--pri); }
.vzp-sugg-ref { flex: 1; padding: 0 14px; font-family: 'Noto Serif', serif; font-size: 22px; }
.vzp-info { background: var(--sv); border-radius: 14px; padding: 14px; display: flex; align-items: center; gap: 10px; font-size: 11px; color: var(--onsv); }
.vzp-home .vzp-info { margin-bottom: 8px; }

/* Reader */
.vzp-reader { position: absolute; inset: 0; display: flex; flex-direction: column; }
.vzp-rhead { display: flex; align-items: center; padding: 0 24px; height: 44px; }
.vzp-chap { display: flex !important; align-items: center; gap: 2px; font-size: 14px !important; font-weight: 500 !important; color: var(--pri) !important; }
.vzp-rhead .vzp-ed { margin-left: auto; font-size: 10px; letter-spacing: 1px; color: var(--onsv); }
.vzp-progress { margin: 0 24px; height: 2px; background: var(--ol); position: relative; border-radius: 1px; }
.vzp-progress-in { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 1px; background: var(--gold); transition: width .4s ease; }
.vzp-pager { flex: 1; position: relative; overflow: hidden; user-select: none; -webkit-user-select: none; touch-action: none; cursor: grab; }
.vzp-pager:active { cursor: grabbing; }
.vzp-track { position: absolute; left: 0; right: 0; top: 0; height: 100%; transition: transform 460ms cubic-bezier(.2, .75, .2, 1); }
.vzp-verse { height: 100%; box-sizing: border-box; padding: 20px 32px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; overflow: hidden; }
.vzp-major { font-size: 10px; letter-spacing: 2px; color: var(--onsv); padding-bottom: 8px; }
.vzp-section { font-family: 'Noto Serif', serif; font-size: 16px; color: var(--pri); padding-bottom: 18px; }
.vzp-vtitle { font-family: 'Noto Serif', serif; font-style: italic; font-size: 17px; padding-bottom: 14px; }
.vzp-counter { font-size: 11px; letter-spacing: 3px; color: var(--gold); margin-bottom: 26px; }
.vzp-vtext { font-family: 'Noto Serif', serif; font-size: 30px; line-height: 45px; transition: opacity .4s; }
.vzp-vref { font-size: 13px; letter-spacing: 1px; color: var(--onsv); margin-top: 24px; }
.vzp-ved { font-size: 11px; color: var(--onsv); margin-top: 6px; }
.vzp-rfoot { padding: 0 24px; display: flex; flex-direction: column; align-items: center; }
.vzp-actions { display: flex; justify-content: space-evenly; width: 100%; }
.vzp-actions button { display: flex; flex-direction: column; align-items: center; }
.vzp-ab { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; }
.vzp-al { font-size: 11px; color: var(--onsv); }
.vzp-speak { margin-top: 14px !important; width: 100%; height: 48px; border-radius: 24px !important; background: var(--sv) !important; color: var(--pri) !important; display: flex !important; align-items: center; justify-content: center; gap: 10px; font-size: 14px !important; font-weight: 500 !important; }
.vzp-tts { font-size: 10px; color: var(--onsv); margin-top: 6px; }
.vzp-navrow { display: flex; align-items: center; width: 100%; }
.vzp-arrow { width: 48px; height: 48px; display: flex !important; align-items: center; justify-content: center; }
.vzp-arrow:disabled { opacity: .38; }
.vzp-center { flex: 1; text-align: center; font-size: 11px; color: var(--onsv); }
.vzp-center-link { font-size: 12px !important; font-weight: 500 !important; color: var(--pri) !important; }

/* Library */
.vzp-lib { gap: 10px; }
.vzp-libhead { margin-bottom: 6px; }
.vzp-famous { border: 1px solid var(--ol) !important; border-radius: 14px !important; min-height: 52px; padding: 12px 16px !important; display: flex !important; align-items: center; width: 100%; }
.vzp-famous-t { flex: 1; padding: 0 12px; display: flex; flex-direction: column; }
.vzp-famous-t span:first-child { font-family: 'Noto Serif', serif; font-size: 19px; }
.vzp-famous-t span:last-child { font-size: 12px; color: var(--onsv); margin-top: 2px; }
.vzp-test { font-size: 10px; letter-spacing: 2px; font-weight: 500; color: var(--onsv); margin: 10px 0 4px; }
.vzp-book { border: 1px solid var(--ol) !important; border-radius: 14px !important; min-height: 52px; box-sizing: border-box; padding: 10px 16px !important; display: flex !important; align-items: center; width: 100%; }
.vzp-book.open { background: var(--sv) !important; }
.vzp-book-name { flex: 1; font-family: 'Noto Serif', serif; font-size: 19px; }
.vzp-deut { font-size: 10px; color: var(--gold); padding-right: 10px; }
.vzp-book-count { font-size: 12px; color: var(--onsv); }
.vzp-prompt { font-size: 13px; padding: 2px 0; }
.vzp-chapters { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.vzp-chn { height: 48px; border-radius: 12px !important; border: 1px solid var(--outline) !important; display: flex !important; align-items: center; justify-content: center; font-size: 14px !important; font-weight: 500 !important; color: var(--pri) !important; }
.vzp-chn:disabled { opacity: .35; }

/* Saved */
.vzp-saved { gap: 16px; }
.vzp-empty { display: flex; flex-direction: column; align-items: center; padding: 60px 0; text-align: center; }
.vzp-empty-t { font-family: 'Noto Serif', serif; font-size: 25px; margin-top: 24px; }
.vzp-empty-s { margin-top: 12px; color: var(--onsv); line-height: 24px; font-size: 16px; }
.vzp-saved-card { background: var(--sv); border-radius: 24px; padding: 20px; }
.vzp-saved-card .vzp-row { min-height: 24px; }
.vzp-saved-ref { flex: 1; font-size: 14px !important; font-weight: 500 !important; }
.vzp-saved-text { display: block; font-family: 'Noto Serif', serif !important; font-size: 20px !important; line-height: 29px !important; margin-top: 10px !important; }
.vzp-saved-ed { font-size: 10px; color: var(--onsv); margin-top: 12px; }

/* Nav */
.vzp-nav { flex: none; border-top: 1px solid var(--ol); padding-top: 4px; height: 84px; box-sizing: border-box; display: flex; }
.vzp-nav button { flex: 1; display: flex !important; flex-direction: column; align-items: center; padding-top: 12px !important; gap: 4px; }
.vzp-pillic { width: 64px; height: 32px; border-radius: 16px; display: flex; align-items: center; justify-content: center; color: var(--onsv); transition: background-color .2s; }
.vzp-navl { font-size: 11px; font-weight: 500; color: var(--onsv); }
.vzp-nav button.on .vzp-pillic { background: var(--sv); color: var(--pri); }
.vzp-nav button.on .vzp-navl { color: var(--pri); }
.vzp-home-ind { height: 22px; flex: none; display: flex; align-items: center; justify-content: center; }
.vzp-home-ind span { width: 108px; height: 4px; border-radius: 2px; background: var(--on); opacity: .85; }

/* Sheets */
.vzp-sheet-wrap { position: absolute; inset: 0; z-index: 10; }
.vzp-scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .32); animation: vzpFade .2s ease; }
.vzp-sheet { position: absolute; left: 0; right: 0; bottom: 0; height: 88%; background: var(--bg); border-radius: 28px 28px 0 0; display: flex; flex-direction: column; animation: vzpUp .3s cubic-bezier(.2, .75, .2, 1); }
@keyframes vzpFade { from { opacity: 0; } }
@keyframes vzpUp { from { transform: translateY(40px); opacity: 0; } }
.vzp-grab { padding: 22px 0; display: flex; justify-content: center; flex: none; }
.vzp-grab span { width: 32px; height: 4px; border-radius: 2px; background: var(--onsv); opacity: .4; }
.vzp-sheet-scroll { flex: 1; overflow-y: auto; scrollbar-width: none; padding: 0 24px; }
.vzp-kicker-t { font-size: 13px; font-weight: 500; color: var(--gold); }
.vzp-sheet-title { font-family: 'Noto Serif', serif; font-size: 28px; line-height: 34px; margin-top: 8px; }
.vzp-sheet-ref { font-size: 13px; color: var(--onsv); margin-top: 6px; }
.vzp-fact { margin-top: 20px; background: var(--sv); border-radius: 18px; padding: 18px; display: flex; gap: 12px; }
.vzp-fact > div { font-family: 'Noto Serif', serif; font-size: 18px; line-height: 27px; }
.vzp-ctx-h { font-size: 15px; font-weight: 500; margin-top: 24px; }
.vzp-ctx { font-size: 15px; line-height: 24px; margin-top: 8px; }
.vzp-note { font-size: 11px; line-height: 17px; color: var(--onsv); padding: 20px 0; }
.vzp-sheet-foot { padding: 8px 24px 12px; flex: none; }
.vzp-pill { width: 100%; height: 40px; border-radius: 20px !important; background: var(--pri) !important; color: var(--onpri) !important; display: flex !important; align-items: center; justify-content: center; font-size: 14px !important; font-weight: 500 !important; }
.vzp-textbtn { width: 100%; height: 40px; display: flex !important; align-items: center; justify-content: center; font-size: 14px !important; font-weight: 500 !important; color: var(--pri) !important; margin-top: 4px !important; }
.vzp-ctx-head { padding: 0 24px; flex: none; }
.vzp-ctx-title { font-family: 'Noto Serif', serif; font-size: 30px; margin-top: 8px; }
.vzp-ctx-sub { font-size: 12px; color: var(--onsv); padding: 8px 0; }
.vzp-ctx-list { flex: 1; overflow-y: auto; scrollbar-width: none; padding: 0 24px; display: grid; gap: 2px; align-content: start; position: relative; }
.vzp-major.c { text-align: center; padding: 12px 0 4px; }
.vzp-section.c { text-align: center; padding: 10px 0 8px; }
.vzp-ctx-row { display: flex !important; padding: 8px 10px !important; border-radius: 12px !important; width: 100%; }
.vzp-ctx-row.on { background: var(--sv) !important; }
.vzp-ctx-row .n { width: 40px; flex: none; color: var(--gold); font-size: 12px; padding-top: 6px; }
.vzp-ctx-row .t { font-family: 'Noto Serif', serif; font-size: 19.5px; line-height: 29px; }
.vzp-sheet-foot .vzp-pill:only-child { margin: 4px 0; }
.vzp-ctx-head + .vzp-ctx-list + .vzp-sheet-foot { padding: 12px 24px; }

/* Theme toggle */
.vzp-toggle { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--sv); transition: background-color .35s ease; }
.vzp-toggle button { height: 36px; padding: 0 16px !important; border-radius: 999px !important; display: flex !important; align-items: center; gap: 8px; font-size: 13px !important; font-weight: 500 !important; color: var(--on) !important; transition: background-color .25s, color .25s; }
.vzp-toggle button.on { background: var(--pri) !important; color: var(--onpri) !important; }

@media (prefers-reduced-motion: reduce) {
  .vzp-track, .vzp-vtext, .vzp-progress-in { transition: none !important; }
  .vzp-sheet, .vzp-scrim { animation: none; }
}
