/* Stable painted marks, with undistorted labels and generous tap areas. */
html.minimal-ui body .minimal-header .minimal-dots,
html.minimal-ui body .minimal-header:has(.view-title-date) .minimal-dots{max-width:calc(100% - 96px);width:max-content;bottom:6px!important;height:48px;overflow-x:auto;touch-action:pan-x}
html.minimal-ui body .minimal-header .minimal-dots button{flex:0 0 44px;width:44px;min-width:44px;height:48px;min-height:48px}
html.minimal-ui body .minimal-header .minimal-dots span{width:16px;height:16px;background:var(--control-wash,#c8e7f2)!important;border:1.6px solid #68777e!important;border-radius:47% 53% 44% 56% / 52% 45% 55% 48%!important}
html.minimal-ui body .minimal-header .minimal-dots [aria-pressed=true] span{width:16px;height:16px;background:var(--control-orange,#f47721)!important;border-color:var(--control-orange,#f47721)!important;outline:0}
html.minimal-ui body .view-matrix{padding-top:calc(64px + env(safe-area-inset-top));gap:12px}
html.minimal-ui body .view-matrix .view-favorites-edit{position:absolute;top:calc(8px + env(safe-area-inset-top));left:max(12px,env(safe-area-inset-left));display:grid;place-items:center;width:48px;height:44px;min-width:48px;margin:0;padding:0;border:0;box-shadow:none;background:transparent!important;color:#0a68b0!important}
.view-favorites-edit svg{width:35px;height:40px;stroke-width:1.55;filter:url(#hand-control-ink)}
.view-favorites-edit .fingerprint-wash{fill:currentColor;opacity:.13}
html.minimal-ui body .view-matrix .view-favorites-edit[aria-pressed=true]{color:#e8b51b!important}
html.help-mode-active body .view-matrix:has(>#helpModeNotice) .view-favorites-edit{top:calc(8px + env(safe-area-inset-top) + var(--help-mode-height,0px))}
html.minimal-ui body .view-matrix-grid{margin:0 auto;flex:none}
html.minimal-ui body .view-matrix-cell{grid-column:span 2!important}
html.minimal-ui body .view-matrix .view-matrix-tile{touch-action:pan-y;cursor:pointer}
html.minimal-ui body .view-matrix .view-matrix-circle{position:relative;border:0!important;border-radius:47% 53% 45% 55% / 51% 45% 55% 49%!important;background:transparent!important}
html.minimal-ui body .view-matrix .is-favorite .view-matrix-circle{background:#ffcc33!important}
html.minimal-ui body .view-matrix .is-favorite .view-wash-icon{--view-wash-color:#ffcc33;--view-bloom-color:#efb823}
html.minimal-ui body .view-matrix [aria-current=page] .view-matrix-circle::after{content:'';position:absolute;inset:1px;border:3px solid #ff6600;border-radius:47% 53% 45% 55% / 51% 45% 55% 49%!important;pointer-events:none;transform:rotate(-3deg)}
html.minimal-ui body .view-matrix .view-matrix-tile:focus-visible{outline:2px solid #0a68b0!important;outline-offset:3px}
.view-favorites-divider{width:100%;max-width:500px;height:18px;margin:0 auto;flex:none}
.view-favorites-divider svg{width:100%;height:16px;fill:none;stroke:#777;stroke-width:1.8;stroke-linecap:round}
.view-matrix-grid:empty{display:none}
html.minimal-ui body .view-matrix .matrix-order-status:not(:empty){position:fixed;bottom:10px;left:12px;right:12px;width:auto;height:auto;clip-path:none;background:var(--fw-surface);color:var(--fw-text);padding:8px;z-index:2}
html.minimal-ui body .view-matrix .view-matrix-cell:not(.is-favorite) .view-wash-icon{--view-wash-color:#c8e7f2;--view-bloom-color:#9dd5e9}

/* A shared divider band, separate from the navigation controls. */
html.minimal-ui body[data-view]:not(.view-bar-hidden) .minimal-header:not(.is-entry-people-header){border:0!important}
html.minimal-ui body[data-view]:not(.view-bar-hidden) .minimal-header:not(.is-entry-people-header)::after{content:'';position:absolute;left:0;right:0;bottom:0;height:var(--argh-list-gap,8px);background:var(--argh-list-gap-color,#ecf9fd);pointer-events:none}
html.minimal-ui body .minimal-header :is(.minimal-menu:not(.is-details-back),.view-matrix-toggle){top:auto!important;bottom:6px!important}
