


.fv-layer { position: fixed; z-index: 50; --fv-t: 650ms; --fv-ease: cubic-bezier(.2, .75, .2, 1); }
.fv-layer.fv-narrow { overflow-y: auto; overscroll-behavior: contain; padding: 0 16px calc(32px + env(safe-area-inset-bottom, 0px)); box-sizing: border-box; }

.fv-layer.fv-narrow::after { content: ''; display: block; height: var(--fv-flow, 0px); }

body.fv-open .ph-bar { display: none; }
#bento-today.fv-empty > * { visibility: hidden; }

#bento-author[data-fv-hide~="days"] > [data-holding="days"],
#bento-author[data-fv-hide~="categories"] > [data-holding="categories"],
#bento-author[data-fv-hide~="people"] > [data-holding="people"] { visibility: hidden; }


.fv-slot { position: absolute; box-sizing: border-box; display: flex; flex-direction: column;
  transition: left var(--fv-t) var(--fv-ease), top var(--fv-t) var(--fv-ease), width var(--fv-t) var(--fv-ease), height var(--fv-t) var(--fv-ease),
    opacity calc(var(--fv-t) * .65) ease, transform calc(var(--fv-t) * .65) var(--fv-ease); }
.fv-slot.fv-enter { opacity: 0; transform: translateY(14px) scale(.97); }
.fv-slot.fv-leave { opacity: 0; transform: scale(.98); pointer-events: none; }
.fv-slot.fv-wait { opacity: 0; pointer-events: none; }
.fv-slot > .holding-lift { flex: 1 1 auto; min-height: 0; }
.fv-slot .holding-card { height: 100%; box-sizing: border-box; display: flex; flex-direction: column; }
.fv-body { flex: 1 1 auto; min-height: 0; overflow: auto; scrollbar-width: thin; container-type: inline-size; }

.fv-own { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.fv-own > .holding-lift { flex: 1 1 auto; min-height: 0; }

.fv-own .holding-card { height: 100%; box-sizing: border-box; display: grid; grid-template-rows: auto minmax(0, 1fr); }
.fv-own .holding-card:not(:has(> .fold-head)) { grid-template-rows: minmax(0, 1fr); }
.fv-own .holding-card > .bt-tile { min-height: 0; overflow: auto; scrollbar-width: thin; }
.fv-plain .fv-body { overflow: visible; }
.fv-body.fv-swap { animation: fv-swap calc(var(--fv-t) * .6) ease; }
@keyframes fv-swap { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .fv-slot { transition: none; } .fv-body.fv-swap { animation: none; } }


.fv-under { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 10px; }
.fv-under:empty { display: none; }
.fv-under .tc-done, .fv-under .dyr-wait { margin-left: auto; padding: 9px 26px; }
.fv-under .tc-done:disabled { background: color-mix(in srgb, var(--sunken) 70%, var(--card)); color: var(--label); cursor: default; }
.fv-navhost { display: none; }
.fv-under > .fv-navhost, .fv-under > .fv-navhost > .dyr-nav { display: contents; }


.fv-lang { display: flex; justify-content: flex-end; gap: 2px; margin: -6px 0 4px; }
.fv-lang button { min-height: 44px; padding: 0 12px; border: 0; background: none; font: var(--type-small); color: var(--label); cursor: pointer; }
.fv-lang button:hover { color: var(--text); }
.fv-lang button[aria-pressed="true"] { color: var(--text); font-weight: 600; background: color-mix(in srgb, var(--sunken) 70%, var(--card)); clip-path: var(--shear-sm); }
.fv-kicker { letter-spacing: .1em; text-transform: uppercase; }
.fv-icon { height: 26px; vertical-align: middle; margin: 0 2px; }
.fv-stop { position: absolute; left: 8px; bottom: -26px; z-index: 6; border: 0; background: none; font: var(--type-small); color: var(--label); cursor: pointer; }
.fv-stop:hover { color: var(--text); }
.fv-narrow .fv-stop { position: static; display: block; margin: 0 auto; }



body.fv-open #vault-status-banner { display: none !important; }
body.fv-open:not(.fv-show-world) :is(.tb-page, .ln-doors button)[data-author-page="author"],
body.fv-open:not(.fv-show-world) .hagstone-btn,
body.fv-open:not(.fv-show-rw) :is(.tb-page, .ln-doors button)[data-author-page="author-4"] { visibility: hidden; }
#settings-btn.fv-pulse { animation: fv-pulse 1.6s ease-in-out 2; }
@keyframes fv-pulse { 50% { transform: scale(1.3) rotate(40deg); color: var(--text); } }

.tb-menu-btn.fv-pulse { animation: fv-pulse-menu 1.6s ease-in-out 2; }
@keyframes fv-pulse-menu { 50% { transform: scale(1.3); color: var(--text); } }
