/* 0.14.99 fix 4D: phone tab bar + story top bar. Phones only; desktop unchanged. */
.pl-tabnav, .pl-stbar, .pl-tn-sheet, .pl-tn-back { display: none; }

@media (max-width: 760px) {
	html.pl-has-tabnav { --pl-tabbar-h: calc(56px + env(safe-area-inset-bottom, 0px)); }
	html.pl-has-tabnav body { padding-bottom: var(--pl-tabbar-h); }
	.pl-tabnav { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: rgba(255,255,255,.94); -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px); border-top: 1px solid var(--pl-line, #e3e0e5); padding: 4px max(6px, env(safe-area-inset-left, 0px)) env(safe-area-inset-bottom, 0px) max(6px, env(safe-area-inset-right, 0px)); transition: transform .25s ease; }
	.pl-tabnav a, .pl-tabnav button, .pl-tabnav button:hover, .pl-tabnav button:focus { display: grid; justify-items: center; align-content: center; gap: 1px; min-height: 50px; padding: 2px 0; background: none; border: 0; margin: 0; color: #77717c; text-decoration: none; font: 600 10.5px/1.2 var(--pl-ui, "Archivo", Arial, sans-serif); letter-spacing: .01em; cursor: pointer; -webkit-tap-highlight-color: transparent; }
	.pl-tabnav [aria-current="page"], .pl-tabnav [aria-expanded="true"] { color: var(--pl-ink, #121212); }
	.pl-tabnav [aria-current="page"] svg { stroke-width: 2.1; }
	.pl-tabnav a:focus-visible, .pl-tabnav button:focus-visible { outline: 2px solid var(--pl-ink, #121212); outline-offset: -3px; }
	html.pl-tn-hide .pl-tabnav { transform: translateY(105%); }

	/* Things that sat at the bottom move up above the bar, and follow it down when it hides. */
	html.pl-has-tabnav .pl-tools { bottom: calc(var(--pl-tabbar-h) + 10px) !important; transition: bottom .25s ease; }
	html.pl-has-tabnav.pl-tn-hide .pl-tools { bottom: max(14px, env(safe-area-inset-bottom, 0px)) !important; }
	html.pl-has-tabnav .pl-toast { bottom: calc(var(--pl-tabbar-h) + 14px); }
	html.pl-has-tabnav .pl-gacb { transition: bottom .25s ease; }
	html.pl-has-tabnav.pl-tn-hide .pl-gacb { bottom: 0; padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
	html.pl-has-tabnav .pl-aa-panel { bottom: calc(var(--pl-tabbar-h) + 66px); }
	/* The app's old tab bar is replaced by this one. */
	html.pl-has-tabnav .pl-tabbar { display: none !important; }
	html.pl-app.pl-has-tabnav body { padding-bottom: var(--pl-tabbar-h); }

	/* Sections sheet */
	.pl-tn-back { display: block; position: fixed; inset: 0; z-index: 9990; background: rgba(10,9,11,.4); opacity: 0; pointer-events: none; transition: opacity .2s; }
	.pl-tn-back.is-on { opacity: 1; pointer-events: auto; }
	.pl-tn-sheet { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9991; max-height: 82vh; overflow-y: auto; background: #fff; color: var(--pl-ink, #121212); border-radius: 14px 14px 0 0; padding: 8px max(20px, env(safe-area-inset-left, 0px)) calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateY(105%); transition: transform .25s ease; box-shadow: 0 -8px 30px rgba(0,0,0,.18); font-family: var(--pl-ui, "Archivo", Arial, sans-serif); }
	.pl-tn-sheet.is-on { transform: none; }
	html.pl-tn-locked { overflow: hidden; }
	.pl-tn-grab { width: 38px; height: 4px; border-radius: 2px; background: #cfcbd2; margin: 0 auto 10px; }
	.pl-tn-sh-hd { display: flex; align-items: center; justify-content: space-between; }
	.pl-tn-sh-hd h2 { margin: 0; font: 700 28px/1.1 var(--pl-head, "Fraunces", Georgia, serif); }
	.pl-tn-sheet .pl-tn-x, .pl-tn-sheet .pl-tn-x:hover { background: #f1eff2; border: 0; border-radius: 50%; width: 34px; height: 34px; display: grid; place-items: center; color: var(--pl-ink, #121212); cursor: pointer; }
	.pl-tn-x svg { width: 18px; height: 18px; }
	.pl-tn-secs, .pl-tn-more { list-style: none; margin: 14px 0 0; padding: 0; }
	.pl-tn-secs a { display: flex; align-items: center; gap: 12px; padding: 13px 2px; border-bottom: 1px solid var(--pl-line, #e3e0e5); color: inherit; text-decoration: none; font: 700 20px/1.2 var(--pl-head, "Fraunces", Georgia, serif); }
	.pl-tn-secs i { width: 12px; height: 12px; border-radius: 50%; background: var(--pc, #121212); flex: none; }
	.pl-tn-secs a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--pc); text-underline-offset: 5px; }
	.pl-tn-more { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; margin-top: 10px; }
	.pl-tn-more a { display: block; padding: 11px 0; color: #4a4450; text-decoration: none; font-size: 15px; font-weight: 600; border-bottom: 1px solid #f0edf1; }

	/* Story top bar: appears once the masthead has scrolled away. */
	.pl-stbar { display: flex; align-items: center; gap: 6px; position: fixed; top: 0; left: 0; right: 0; z-index: 91; height: calc(48px + env(safe-area-inset-top, 0px)); padding: env(safe-area-inset-top, 0px) max(8px, env(safe-area-inset-right, 0px)) 0 max(8px, env(safe-area-inset-left, 0px)); background: rgba(255,255,255,.94); -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid var(--pl-line, #e3e0e5); font-family: var(--pl-ui, "Archivo", Arial, sans-serif); transform: translateY(-105%); transition: transform .22s ease; }
	.pl-stbar.is-on { transform: none; }
	.admin-bar .pl-stbar { top: 46px; }
	.pl-stbar-back { flex: none; color: var(--pc, var(--pl-ink, #121212)); text-decoration: none; font-weight: 700; font-size: 15px; padding: 8px 6px; white-space: nowrap; }
	.pl-stbar-back span { font-size: 22px; line-height: 0; position: relative; top: 1px; margin-right: 2px; }
	.pl-stbar-t { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 600 14px var(--pl-head, "Fraunces", Georgia, serif); color: var(--pl-ink, #121212); opacity: 0; transition: opacity .2s; }
	.pl-stbar.is-past .pl-stbar-t { opacity: 1; }
	.pl-stbar .pl-stbar-b, .pl-stbar .pl-stbar-b:hover, .pl-stbar .pl-stbar-b:focus { flex: none; display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; padding: 8px 6px; color: var(--pl-ink, #121212); font: 600 13.5px var(--pl-ui, "Archivo", Arial, sans-serif); cursor: pointer; }
	.pl-stbar-b svg { width: 19px; height: 19px; }
	.pl-stbar-b[data-st="listen"] svg { fill: currentColor; stroke: none; }
	.pl-stbar.is-past .pl-stbar-b span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.pl-stbar-b:focus-visible, .pl-stbar-back:focus-visible { outline: 2px solid var(--pl-ink, #121212); outline-offset: -2px; }
}
@media (max-width: 760px) and (prefers-reduced-motion: reduce) { .pl-tabnav, .pl-stbar, .pl-tn-sheet, .pl-tn-back { transition: none; } }
@media print { .pl-tabnav, .pl-stbar, .pl-tn-sheet, .pl-tn-back { display: none !important; } }
