

/* Six proposals for the menu, on a small copy of the site with its seven pages, on Tau's own tokens. */
:root, :root[data-theme] {
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --page: #fcfcfb; --ground: #f1f0ed; --raised: #ffffff; --ink: #0b0b0b; --ink2: #52514e; --ink3: #6c6b69; --faded: #97958d;
  --line: rgb(11 11 11 / 10%); --line-strong: rgb(11 11 11 / 20%);
  --glass: rgb(255 255 255 / 78%); --accent: #6250d6;
  --e1: 0 3px 6px -2px rgb(0 0 0 / .02), 0 1px 1px rgb(0 0 0 / .04);
  --e2: 0 0 0 .5px rgb(0 0 0 / .06), 0 6px 18px rgb(0 0 0 / .05), 0 3px 9px rgb(0 0 0 / .06), 0 1px 1px rgb(0 0 0 / .04);
  --e3: 0 0 0 .5px rgb(0 0 0 / .06), 0 24px 64px rgb(0 0 0 / .16), 0 8px 24px rgb(0 0 0 / .10), 0 1px 1px rgb(0 0 0 / .04);
  --m: clamp(16px, 2.8vw, 40px);
  --statement: clamp(38px, 6.4vw, 96px);
  --tau-ease: linear(0, 0.0234 0.39%, 0.0740 1.28%, 0.1420 2.54%, 0.2210 4.15%, 0.3058 6.06%, 0.3921 8.27%, 0.4764 10.75%, 0.5561 13.48%, 0.6294 16.47%, 0.6951 19.70%, 0.7528 23.17%, 0.8025 26.86%, 0.8443 30.78%, 0.8791 34.91%, 0.9074 39.26%, 0.9301 43.81%, 0.9481 48.56%, 0.9621 53.52%, 0.9728 58.67%, 0.9810 64.02%, 0.9870 69.55%, 0.9915 75.28%, 0.9948 81.19%, 0.9972 87.28%, 0.9988 93.55%, 1);
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  color-scheme: dark; --page: #0d0d0d; --ground: #161615; --raised: #1f1f1e; --ink: #f0efec; --ink2: #c3c2b7; --ink3: #8f8e89; --faded: #5f5e5a;
  --line: rgb(255 255 255 / 10%); --line-strong: rgb(255 255 255 / 20%); --glass: rgb(40 40 40 / 75%);
  --e2: 0 0 0 .5px rgb(255 255 255 / 8%), 0 6px 18px rgb(0 0 0 / .4), 0 1px 1px rgb(0 0 0 / .3);
  --e3: 0 0 0 .5px rgb(255 255 255 / 9%), 0 24px 64px rgb(0 0 0 / .6), 0 8px 24px rgb(0 0 0 / .4); } }
:root[data-theme="dark"] {
  color-scheme: dark; --page: #0d0d0d; --ground: #161615; --raised: #1f1f1e; --ink: #f0efec; --ink2: #c3c2b7; --ink3: #8f8e89; --faded: #5f5e5a;
  --line: rgb(255 255 255 / 10%); --line-strong: rgb(255 255 255 / 20%); --glass: rgb(40 40 40 / 75%);
  --e2: 0 0 0 .5px rgb(255 255 255 / 8%), 0 6px 18px rgb(0 0 0 / .4), 0 1px 1px rgb(0 0 0 / .3);
  --e3: 0 0 0 .5px rgb(255 255 255 / 9%), 0 24px 64px rgb(0 0 0 / .6), 0 8px 24px rgb(0 0 0 / .4); }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--page); color: var(--ink); }
body { font: 400 15px/24px var(--font); letter-spacing: -0.011em; -webkit-font-smoothing: antialiased; font-feature-settings: "ss01", "cv01", "cv11"; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

.small { margin: 0; font-size: 13px; line-height: 20px; color: var(--ink3); }
.mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: 0; }
.kick { font: 500 11px/16px ui-monospace, "SF Mono", Menlo, monospace; color: var(--ink3); text-transform: uppercase; letter-spacing: .04em; }
.glass { background: var(--glass); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 0 0 .5px var(--line), var(--e2); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border: 0; border-radius: 9999px; background: var(--ink); color: var(--page); font: 500 14px/1 var(--font); cursor: pointer; white-space: nowrap; }
.cta { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 9999px; background: var(--ink); color: var(--page); font: 500 13px/1 var(--font); white-space: nowrap; }
.icon-btn { flex: none; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 9999px; background: none; color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.icon-btn:is(:hover, [data-hover]) { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.mark { width: 22px; height: 22px; flex: none; overflow: visible; }
.mark .mark-t { stroke: var(--accent); }
.gpill { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px 0 12px; border-radius: 9999px; font: 550 14px/1 var(--font); white-space: nowrap; }
button.gpill { border: 0; color: var(--ink); cursor: pointer; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible, input:focus-visible { outline: 1.5px solid var(--accent); outline-offset: 2px; }
img { -webkit-user-drag: none; }
html.is-locked, html.is-locked body { overflow: hidden; }

/* ---------------------------------------------------------------- the copy of the site */
.pg { padding: 148px var(--m) 0; min-height: 100vh; }
.pg-h { margin: 0; font: 450 clamp(60px, 10vw, 156px)/.9 var(--font); letter-spacing: -0.048em; }
.pg-h sup { position: relative; top: .3em; margin-left: .1em; vertical-align: top; font-size: .2em; font-weight: 450; letter-spacing: -0.01em; color: var(--ink3); }
.pg-h.is-line { max-width: 13em; font-size: clamp(42px, 6.6vw, 104px); line-height: .98; letter-spacing: -0.042em; }
.pg-lede { max-width: 33em; margin: 32px 0 0; font-size: clamp(17px, 1.45vw, 21px); line-height: 1.48; letter-spacing: -0.014em; color: var(--ink2); }
.pg-now { display: flex; align-items: center; gap: 10px; margin: 36px 0 0; font-size: 14px; color: var(--ink2); }
.pg-now i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); }
.pg-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 32px; }
.pg-more { font-size: 15px; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; }
.pg-sec { margin-top: clamp(96px, 11vw, 168px); }
.pg-sec > h2 { margin: 0 0 36px; font: 450 clamp(28px, 3.1vw, 48px)/1.06 var(--font); letter-spacing: -0.026em; }
.pg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 56px 24px; }
.pg-grid.is-two { grid-template-columns: repeat(auto-fill, minmax(min(100%, 480px), 1fr)); }
.tile { position: relative; border-radius: 14px; }
.tile-shot { aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; border-radius: 12px; background: var(--ground); }
.tile-shot img { display: block; width: 76%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 3px; box-shadow: 0 0 0 .5px var(--line), var(--e2); background: var(--raised); }
.tile h3 { margin: 16px 0 2px; font: 500 17px/24px var(--font); letter-spacing: -0.014em; }
.tile p { margin: 0; max-width: 30em; font-size: 14px; line-height: 21px; color: var(--ink3); }
.pg-arc { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 16px; }
.pg-arc img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 6px; background: var(--ground); box-shadow: 0 0 0 .5px var(--line); }
.pg-list { margin: 0; padding: 0; list-style: none; border-bottom: .5px solid var(--line-strong); }
.pg-list li { display: grid; grid-template-columns: 56px 1fr auto; align-items: baseline; gap: 16px; padding: 14px 0; border-top: .5px solid var(--line-strong); border-radius: 4px; }
.pg-list li b { font: 450 clamp(20px, 2vw, 28px)/1.2 var(--font); letter-spacing: -0.02em; }
.pg-list li span { font-size: 14px; color: var(--ink3); }
.pg-kinds { margin: 0; padding: 0; list-style: none; }
.pg-kinds li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px 48px; padding: 32px 0 40px; border-top: .5px solid var(--line-strong); }
.pg-kinds h3 { margin: 0; font: 450 clamp(28px, 3.4vw, 52px)/1.04 var(--font); letter-spacing: -0.03em; }
.pg-kinds p { margin: 0 0 14px; max-width: 34em; color: var(--ink2); font-size: 16px; line-height: 25px; }
.pg-two { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 64px; margin-top: 48px; }
.pg-two p { margin: 0 0 18px; max-width: 34em; font-size: 17px; line-height: 27px; color: var(--ink2); }
.facts { margin: 0; padding: 0; list-style: none; }
.facts li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-top: .5px solid var(--line-strong); font-size: 14px; line-height: 20px; }
.facts li span:first-child { color: var(--ink3); }
.pg-form { display: grid; gap: 28px; max-width: 720px; margin-top: 56px; }
.pg-form label { display: grid; gap: 8px; font-size: 13px; color: var(--ink3); }
.pg-form input, .pg-form textarea { width: 100%; padding: 6px 0 12px; border: 0; border-bottom: .5px solid var(--line-strong); border-radius: 0; background: none; color: var(--ink); font: 450 clamp(20px, 2vw, 26px)/1.3 var(--font); letter-spacing: -0.02em; resize: vertical; outline: 0; }
.pg-form input:focus, .pg-form textarea:focus { border-bottom-color: var(--ink); }
.pg-form .btn { justify-self: start; }
.pg-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 168px; padding: 28px 0 140px; border-top: .5px solid var(--line); font-size: 13px; color: var(--ink3); }
.is-spot { animation: spot 1.8s var(--tau-ease) .25s both; }
@keyframes spot { from { box-shadow: 0 0 0 2px var(--accent), 0 0 0 10px color-mix(in srgb, var(--accent) 14%, transparent); } to { box-shadow: 0 0 0 2px transparent, 0 0 0 10px transparent; } }
@media (max-width: 720px) {
  .pg { padding-top: 120px; }
  .pg-kinds li, .pg-two { grid-template-columns: 1fr; }
  .pg-list li { grid-template-columns: 36px 1fr; }
  .pg-list li span:last-child { grid-column: 2; }
  .pg-arc { grid-template-columns: 1fr 1fr; gap: 10px; }
}

/* ---------------------------------------------------------------- the switcher, a rail on the right edge */
.pick { position: fixed; z-index: 90; right: 10px; top: 50%; transform: translateY(-50%); -webkit-user-select: none; user-select: none; }
.pick-rail { display: flex; flex-direction: column; gap: 2px; padding: 4px; border-radius: 9999px; }
.pick-rail button { width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: none; font: 500 12px/1 var(--font); color: var(--ink3); cursor: pointer; }
.pick-rail button[aria-pressed="true"] { background: var(--ink); color: var(--page); }
.pick-note { position: absolute; right: calc(100% + 10px); top: 50%; width: min(300px, calc(100vw - 72px)); margin: 0; padding: 12px 14px; border-radius: 12px; transform: translateY(-50%); font-size: 13px; line-height: 19px; color: var(--ink2);
  opacity: 0; pointer-events: none; transition: opacity .3s var(--tau-ease); }
.pick-note b { display: block; margin-bottom: 2px; font-weight: 600; color: var(--ink); }
.pick.is-note .pick-note { opacity: 1; }
/* no stacking context here, so the corners can blend with the page under them */
#nav { position: static; }
@media (max-width: 720px) {
  .pick { top: auto; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); transform: none; right: 6px; }
  .pick-rail button { width: 26px; height: 26px; font-size: 11px; }
  .pick-note { top: auto; bottom: 0; transform: none; }
}

/* ---------------------------------------------------------------- 1 the pill */
.p1 { position: fixed; z-index: 50; top: calc(12px + env(safe-area-inset-top, 0px)); left: 50%; transform: translateX(-50%); }
.p1-pill { position: relative; height: 48px; border-radius: 24px; overflow: hidden; }
.p1-row { position: absolute; left: 50%; top: 0; height: 48px; display: flex; align-items: center; gap: 4px; padding: 0 4px 0 14px; white-space: nowrap; transform: translateX(-50%); }
.p1-brand { display: flex; align-items: center; gap: 8px; height: 40px; margin-right: 10px; font: 550 14px/1 var(--font); }
.p1-nav { position: relative; display: flex; }
.p1-nav a { position: relative; z-index: 1; height: 32px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 9999px; font: 500 13px/1 var(--font); color: var(--ink2); }
.p1-nav a[aria-current="page"], .p1-nav a:is(:hover, [data-hover]) { color: var(--ink); }
.p1-knob { position: absolute; left: 0; top: 50%; height: 32px; margin-top: -16px; border-radius: 9999px; background: color-mix(in srgb, var(--ink) 8%, transparent); pointer-events: none; }
.p1-fold { padding: 0 18px 0 14px; gap: 10px; font: 500 13px/1 var(--font); }
.p1-fold .p1-brand { margin: 0; }
.p1-sep { width: .5px; height: 18px; background: var(--line-strong); }
.p1-ring { width: 16px; height: 16px; transform: rotate(-90deg); }
.p1-ring circle { fill: none; stroke-width: 2; }
.p1-ring .bg { stroke: var(--line-strong); }
.p1-ring .fg { stroke: var(--ink); stroke-linecap: round; }
.p1-menu { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border: 0; border-radius: 9999px; background: color-mix(in srgb, var(--ink) 7%, transparent); color: var(--ink); font: 500 13px/1 var(--font); cursor: pointer; }
.p1-menu svg { transition: transform .3s var(--tau-ease); }
.p1-menu[aria-expanded="true"] svg { transform: rotate(180deg); }
/* an open list stands on a nearly solid ground, so the page under it cannot be read through it */
.p1-pill.is-sheet, .p6-dock.is-on, .p2-panel, .p5-list { background: color-mix(in srgb, var(--page) 94%, transparent); }
.p1-sheet { position: absolute; left: 0; right: 0; top: 48px; display: flex; flex-direction: column; padding: 8px 20px 18px; }
.p1-sheet a { font: 450 30px/44px var(--font); letter-spacing: -0.03em; color: var(--ink3); }
.p1-sheet a[aria-current="page"] { color: var(--ink); }

/* ---------------------------------------------------------------- 2 the corners */
.p2-c { position: fixed; z-index: 50; color: var(--ink); }
/* the page fades out under the corners, so they always stand on clean ground */
.p2-fade { position: fixed; z-index: 48; left: 0; right: 0; pointer-events: none; }
.p2-fade.is-top { top: 0; height: 96px; background: linear-gradient(var(--page) 35%, color-mix(in srgb, var(--page) 0%, transparent)); }
.p2-fade.is-bot { bottom: 0; height: calc(150px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(color-mix(in srgb, var(--page) 0%, transparent), var(--page) 62%); }
.p2-tl { top: calc(20px + env(safe-area-inset-top, 0px)); left: var(--m); display: flex; align-items: center; gap: 8px; height: 40px; font: 550 15px/1 var(--font); }
.p2-tr { top: calc(20px + env(safe-area-inset-top, 0px)); right: calc(var(--m) + 36px); display: flex; align-items: center; gap: 12px; height: 40px; }
.p2-tr .icon-btn { color: inherit; }
.p2-no, .p2-br .small { color: var(--ink3); }
.p2-link { font: 500 15px/1 var(--font); background: linear-gradient(currentColor, currentColor) left 100% / 0 1px no-repeat; padding-bottom: 3px; transition: background-size .4s var(--tau-ease); }
.p2-link:is(:hover, [data-hover]) { background-size: 100% 1px; }
.p2-bl { left: var(--m); bottom: calc(22px + env(safe-area-inset-bottom, 0px)); }
.p2-here { display: block; padding: 0; border: 0; background: none; color: inherit; text-align: left; cursor: pointer; }
.p2-no { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; font-size: 11px; line-height: 14px; }
.p2-no svg { transition: transform .35s var(--tau-ease); }
.p2-here[aria-expanded="true"] .p2-no svg { transform: rotate(180deg); }
.p2-word { display: block; font: 450 clamp(34px, 3.6vw, 56px)/1 var(--font); letter-spacing: -0.035em; white-space: nowrap; }
.p2-br { right: calc(var(--m) + 36px); bottom: calc(22px + env(safe-area-inset-bottom, 0px)); text-align: right; }
.p2-br .small { font-size: 11px; line-height: 14px; margin-bottom: 8px; }
.p2-next { display: block; }
.p2-next-t { display: inline-flex; align-items: baseline; gap: .3em; font: 450 clamp(20px, 1.8vw, 28px)/1 var(--font); letter-spacing: -0.025em; }
.roll { display: inline-block; vertical-align: bottom; }
.roll > span { display: inline-block; overflow: hidden; height: 1.1em; margin-bottom: -.1em; vertical-align: bottom; }
.roll > span > span { display: flex; flex-direction: column; }
.roll > span > span > span { height: 1.1em; line-height: 1.1em; white-space: pre; }
.p2-panel { position: fixed; z-index: 49; left: calc(var(--m) - 14px); bottom: calc(22px + env(safe-area-inset-bottom, 0px) + clamp(34px, 3.6vw, 56px) + 34px); min-width: 280px; padding: 10px 6px; border-radius: 16px; }
.p2-panel a { display: flex; align-items: baseline; gap: 14px; padding: 6px 12px; border-radius: 10px; font: 450 24px/32px var(--font); letter-spacing: -0.025em; color: var(--ink3); }
.p2-panel a:is(:hover, [data-hover]), .p2-panel a[aria-current="page"] { color: var(--ink); }
.p2-panel a:is(:hover, [data-hover]) { background: color-mix(in srgb, var(--ink) 5%, transparent); }
.p2-panel a span { width: 22px; font: 500 11px/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: 0; color: var(--ink3); }
.p2-panel a em { margin-left: auto; font: 400 13px/1 var(--font); font-style: normal; letter-spacing: 0; color: var(--ink3); }
@media (max-width: 720px) {
  .p2-tr { right: calc(var(--m) + 30px); }
  .p2-br { right: var(--m); }
  .p2-panel { left: 8px; right: 8px; min-width: 0; }
}

/* ---------------------------------------------------------------- 3 the contents */
.p3-brand { position: fixed; z-index: 62; top: calc(14px + env(safe-area-inset-top, 0px)); left: var(--m); }
.p3-open { position: fixed; z-index: 62; top: calc(14px + env(safe-area-inset-top, 0px)); right: calc(var(--m) + 36px); gap: 12px; padding: 0 8px 0 18px; }
.p3-open .mono { display: inline-grid; place-items: center; min-width: 28px; height: 28px; padding: 0 6px; border-radius: 9999px; background: color-mix(in srgb, var(--ink) 7%, transparent); font-size: 11px; }
.p3-sheet { position: fixed; z-index: 61; inset: 0; overflow-y: auto; overscroll-behavior: contain; background: var(--page); }
.p3-in { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 40px 64px; min-height: 100%; padding: 112px calc(var(--m) + 36px) 48px var(--m); }
.p3-top { grid-column: 1 / -1; display: flex; justify-content: space-between; padding-bottom: 14px; border-bottom: .5px solid var(--line-strong); }
.p3-rows { --rs: clamp(36px, 5vw, 76px); margin: 0; padding: 0; list-style: none; }
.p3-rows a { display: grid; grid-template-columns: 52px auto minmax(24px, 1fr) auto; align-items: baseline; padding: .06em 0; }
.p3-no { font: 500 12px/1 ui-monospace, "SF Mono", Menlo, monospace; color: var(--ink3); display: flex; align-items: center; gap: 6px; }
.p3-r[aria-current="page"] .p3-no::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.p3-name { font: 450 var(--rs)/1.08 var(--font); letter-spacing: -0.042em; }
.p3-lead { align-self: end; height: 3px; margin: 0 16px calc(var(--rs) * .2); background: radial-gradient(circle, var(--ink3) 1.1px, transparent 1.4px) left center / 9px 3px repeat-x; opacity: .7; transform-origin: left; }
.p3-what { font-size: 15px; color: var(--ink3); white-space: nowrap; }
.p3-rows a { transition: opacity .35s var(--tau-ease); }
.p3-rows:is(:hover, [data-hover]) a:not(:is(:hover, [data-hover])) { opacity: .32; }
.p3-side { position: sticky; top: 112px; align-self: start; padding-top: 12px; }
.p3-side .kick { display: block; margin-bottom: 18px; }
.p3-side h4 { margin: 0 0 14px; font: 450 22px/1.2 var(--font); letter-spacing: -0.02em; }
.p3-side ul { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 20px; font-size: 14px; line-height: 23px; color: var(--ink2); }
.p3-side ul.is-one { columns: 1; }
.p3-side p { margin: 0 0 14px; font-size: 14px; line-height: 21px; color: var(--ink2); }
.p3-side .shot { aspect-ratio: 16 / 10; margin-bottom: 18px; display: grid; place-items: center; border-radius: 10px; background: var(--ground); }
.p3-side .shot img { width: 76%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 3px; box-shadow: 0 0 0 .5px var(--line), var(--e2); }
.p3-side .thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.p3-side .thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; border-radius: 4px; box-shadow: 0 0 0 .5px var(--line); }
.p3-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: .5px solid var(--line-strong); }
@media (max-width: 720px) {
  .p3-in { grid-template-columns: 1fr; padding-top: 96px; }
  .p3-rows { --rs: 36px; }
  .p3-rows a { grid-template-columns: 34px auto minmax(16px, 1fr) auto; }
  .p3-what { font-size: 13px; }
  .p3-side { display: none; }
}

/* ---------------------------------------------------------------- 4 the overview */
html.is-p4 #site { display: none; }
.p4 { position: fixed; inset: 0; z-index: 1; overflow: hidden; background: var(--ground); touch-action: pan-y; }
.p4.is-ov { cursor: grab; touch-action: none; }
.p4.is-drag { cursor: grabbing; }
.p4-card { position: absolute; left: 0; top: 0; overflow: hidden; transform-origin: 0 0; background: var(--page); }
.p4-card.is-live { overflow-y: auto; overscroll-behavior: contain; }
.p4.is-ov .p4-card { pointer-events: none; }
.p4-lab { position: absolute; left: 0; top: 0; display: flex; justify-content: space-between; gap: 8px; font-size: 13px; line-height: 18px; pointer-events: none; white-space: nowrap; }
.p4-lab b { font-weight: 500; }
.p4-lab span { color: var(--ink3); }
.p4-brand { position: fixed; z-index: 50; top: calc(14px + env(safe-area-inset-top, 0px)); left: var(--m); }
.p4-tr { position: fixed; z-index: 50; top: calc(14px + env(safe-area-inset-top, 0px)); right: calc(var(--m) + 36px); display: flex; gap: 8px; }
.p4-tr .gpill { padding: 0 16px 0 14px; gap: 10px; }
.p4-dots { display: grid; grid-template-columns: repeat(4, 3px); gap: 2.5px; }
.p4-dots i { width: 3px; height: 5px; border-radius: 1px; background: currentColor; opacity: .55; }
.p4-dots i.is-on { opacity: 1; }
.p4-theme { width: 44px; height: 44px; }
.p4-hint { position: fixed; z-index: 50; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); font-size: 13px; color: var(--ink3); pointer-events: none; white-space: nowrap; }

/* ---------------------------------------------------------------- 5 the address */
.p5-field { position: fixed; z-index: 52; top: calc(14px + env(safe-area-inset-top, 0px)); left: var(--m); width: min(500px, calc(100vw - 2 * var(--m) - 220px)); height: 48px; display: flex; align-items: center; gap: 4px; padding: 0 6px 0 12px; border-radius: 24px; cursor: text; }
.p5-field.is-edit { box-shadow: 0 0 0 1px var(--line-strong), var(--e3); }
.p5-mark { display: grid; place-items: center; width: 32px; height: 32px; margin-right: 2px; border-radius: 50%; cursor: pointer; }
.p5-mark:is(:hover, [data-hover]) { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.p5-path { flex: 1; min-width: 0; display: flex; align-items: center; height: 100%; overflow: hidden; white-space: pre; font: 500 15px/1 var(--font); letter-spacing: -0.01em; }
.p5-path .s { color: var(--faded); margin: 0 .38em; }
.p5-path .a { color: var(--ink3); }
.p5-path .z { color: var(--ink); }
.p5-caret { width: 1.5px; height: 18px; margin-left: 1px; background: var(--accent); animation: caret 1.1s steps(1) infinite; opacity: 0; }
.p5-field.is-typing .p5-caret { animation: none; opacity: 1; }
@keyframes caret { 50% { opacity: 1; } }
.p5-in:focus-visible { outline: 0; }
.p5-in { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; background: none; color: var(--ink); font: 500 15px/1 var(--font); letter-spacing: -0.01em; outline: 0; }
.p5-in::placeholder { color: var(--faded); }
.p5-pre { color: var(--ink3); font: 500 15px/1 var(--font); white-space: pre; }
.p5-kbd { display: inline-grid; place-items: center; min-width: 26px; height: 26px; margin-right: 4px; border-radius: 6px; box-shadow: 0 0 0 .5px var(--line-strong); font: 500 12px/1 ui-monospace, "SF Mono", Menlo, monospace; color: var(--ink3); }
.p5-list { position: fixed; z-index: 51; top: calc(70px + env(safe-area-inset-top, 0px)); left: var(--m); width: min(500px, calc(100vw - 2 * var(--m) - 220px)); max-height: calc(100vh - 120px); overflow-y: auto; margin: 0; padding: 6px; list-style: none; border-radius: 16px; }
.p5-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 10px 8px 8px; border-radius: 10px; cursor: pointer; }
.p5-list li.is-on { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.p5-list .ic { width: 44px; height: 30px; display: grid; place-items: center; border-radius: 5px; background: var(--ground); overflow: hidden; font: 500 11px/1 ui-monospace, "SF Mono", Menlo, monospace; color: var(--ink3); }
.p5-list .ic img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.p5-list b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 500 14px/19px var(--font); }
.p5-list b mark { background: none; color: var(--accent); }
.p5-list small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 400 12px/16px ui-monospace, "SF Mono", Menlo, monospace; color: var(--ink3); }
.p5-list em { font-style: normal; font-size: 12px; color: var(--ink3); }
.p5-list .none { display: block; padding: 12px; font-size: 14px; color: var(--ink3); cursor: default; }
.p5-tr { position: fixed; z-index: 50; top: calc(18px + env(safe-area-inset-top, 0px)); right: calc(var(--m) + 36px); display: flex; align-items: center; gap: 8px; }
@media (max-width: 720px) {
  .p5-field, .p5-list { width: calc(100vw - 2 * var(--m) - 40px); }
  .p5-kbd, .p5-tr { display: none; }
}

/* ---------------------------------------------------------------- 6 the dock */
.p6-brand { position: fixed; z-index: 50; top: calc(14px + env(safe-area-inset-top, 0px)); left: var(--m); }
.p6-dock { position: fixed; z-index: 52; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); width: 120px; height: 48px; border-radius: 24px; overflow: hidden; transform: translateX(-50%); touch-action: none; -webkit-user-select: none; user-select: none; }
.p6-fold, .p6-open { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); }
.p6-fold { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 18px 0 16px; white-space: nowrap; font: 500 14px/1 var(--font); cursor: pointer; }
.p6-fold:focus-visible { outline-offset: -3px; border-radius: 24px; }
.p6-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.p6-fold svg { color: var(--ink3); }
.p6-open { display: flex; align-items: center; gap: 2px; padding: 6px; }
.p6-open a { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; height: 36px; padding: 0 13px; border-radius: 9999px; font: 500 13px/1 var(--font); color: var(--ink2); white-space: nowrap; transform-origin: 50% 100%; }
.p6-open a[aria-current="page"], .p6-open a.is-on { color: var(--ink); }
.p6-knob { position: absolute; left: 0; top: 0; border-radius: 9999px; background: color-mix(in srgb, var(--ink) 9%, transparent); pointer-events: none; }
.p6-open .p6-sep { width: .5px; height: 18px; margin: 0 4px; background: var(--line-strong); }
.p6-dock.is-v .p6-open { flex-direction: column; align-items: stretch; padding: 8px; }
.p6-dock.is-v .p6-open a { justify-content: flex-start; height: 44px; padding: 0 18px; font-size: 17px; transform-origin: 0 50%; }
.p6-dock.is-v .p6-sep { width: auto; height: .5px; margin: 6px 12px; }
.p6-dock.is-v .p6-open .icon-btn { white-space: nowrap; width: 100%; height: 44px; justify-content: flex-start; display: flex; gap: 10px; padding: 0 16px; border-radius: 9999px; font: 500 15px/1 var(--font); }
