/* /fyi: a sparse landing page. The catalog is a sheet of perfect squares drawn with hairlines, not cards. */
.fyi-wrap { max-width: 1120px; margin: 0 auto; padding: 72px 24px 96px; }
.fyi-head h1 { font-size: clamp(26px, 4vw, 40px); line-height: 1.15; letter-spacing: -.02em; font-weight: 600; margin: 0 0 10px; max-width: 18em; text-wrap: balance; }
.fyi-head p { font-size: 17px; margin: 0; }
.fyi-search { margin: 40px 0 16px; max-width: 520px; }
.fyi-search input { font-size: 16px; padding: 12px 14px; border-radius: 8px; }
.fyi-search input:focus { outline: 2px solid var(--accent); outline-offset: -1px; }

.fyi-request { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 0 0 20px; padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: 8px; max-width: 520px; box-sizing: border-box; }
.fyi-request p { margin: 0; flex: 1 1 220px; }
.fyi-request #request-host { font-weight: 600; }
.fyi-empty { margin: 0 0 20px; }

/* Landing page: a hero with room to breathe, a row of industry filters, then the sheet edge to edge. */
.fyi-page { --gutter: clamp(16px, 5vw, 72px); overflow-x: clip; }
.fyi-hero { padding: clamp(64px, 10vh, 128px) var(--gutter) clamp(28px, 4.5vh, 56px); max-width: 1180px; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; }
.fyi-hero .fyi-head h1 { font-size: clamp(32px, 5.2vw, 64px); line-height: 1.06; letter-spacing: -.035em; max-width: 15em; margin-bottom: 18px; }
.fyi-hero .fyi-head p { font-size: clamp(17px, 1.6vw, 21px); }
.fyi-hero .fyi-search { margin: clamp(32px, 6vh, 56px) 0 0; max-width: 560px; display: flex; gap: 10px; }
.fyi-hero .fyi-search input { flex: 1; min-width: 0; }

.fyi-hero .fyi-search input { font-size: 17px; padding: 15px 18px; border-radius: 10px; }
/* Desktops get a bigger search box. */
@media (min-width: 900px) { .fyi-hero .fyi-search { max-width: 780px; } .fyi-hero .fyi-search input { font-size: 19px; padding: 20px 24px; border-radius: 12px; } }
.fyi-hero .fyi-request, .fyi-hero .fyi-empty { margin: 16px 0 0; }


/* Lines come from the cells: each draws its right and bottom edge, the sheet draws its top. It runs the full
   width of the page; the last column's right edge sits on the edge of the screen. */
.fyi-grid { display: grid; grid-template-columns: repeat(var(--cols, 5), minmax(0, 1fr)); border-top: 1px solid var(--line); }
.fyi-page .fyi-scroll { margin-right: -1px; }
.fyi-cell { aspect-ratio: 1 / 1; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; display: grid; place-items: center; padding: 16px; box-sizing: border-box; min-width: 0; color: var(--ink); transition: background .12s; }
a.fyi-cell:hover, a.fyi-cell:focus-visible { background: var(--panel); outline: none; }
a.fyi-cell:focus-visible { box-shadow: inset 0 0 0 2px var(--accent); }
.fyi-meta { position: absolute; left: 8px; right: 8px; bottom: 12px; text-align: center; font: 11.5px/1.3 var(--mono); color: var(--muted); opacity: 0; transform: translateY(3px); transition: opacity .15s, transform .15s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
a.fyi-cell:hover .fyi-meta, a.fyi-cell:focus-visible .fyi-meta { opacity: 1; transform: none; }
.fyi-cell.skel::after { content: ''; width: 50%; height: 12px; border-radius: 3px; background: var(--chip); }

/* Logos: grayscale at rest, the brand's own colours on hover. Every logo fits the same box, so wordmarks and
   icons sit at a similar weight. A mark that would vanish against the page is flipped (lightness only: invert
   with a half-turn of hue keeps the brand's colours on hover). */
.fyi-logo { width: 54%; height: 30%; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .2s, opacity .2s, transform .2s; }
.fyi-logo[data-tone="tile"] { width: 34%; height: 34%; border-radius: 22%; }
.fyi-logo[data-wide] { width: 72%; }
/* Detailed badges get a larger box; on a dark page they sit on a light plate so their black parts still show. */
.fyi-logo[data-tone="mixed"] { width: 46%; height: 46%; }
:root[data-theme="dark"] .fyi-logo[data-tone="mixed"] { background: #f1f0eb; padding: 6%; border-radius: 12px; box-sizing: border-box; }
a.fyi-cell:hover .fyi-logo, a.fyi-cell:focus-visible .fyi-logo { filter: none; opacity: 1; transform: scale(1.04); }
:root[data-theme="light"] .fyi-logo[data-tone="light"] { filter: grayscale(1) invert(1); }
:root[data-theme="light"] a.fyi-cell:hover .fyi-logo[data-tone="light"] { filter: invert(1) hue-rotate(180deg); }
/* Pale marks (yellow, pastel) wash out in gray on a light page; dim ones sink on a dark page. */
:root[data-theme="light"] .fyi-logo[data-tone="pale"] { filter: grayscale(1) brightness(.55) contrast(1.3); }
:root[data-theme="dark"] .fyi-logo[data-tone="dim"] { filter: grayscale(1) brightness(1.7); }
:root[data-theme="dark"] .fyi-logo[data-tone="dark"] { filter: grayscale(1) invert(1); }
:root[data-theme="dark"] a.fyi-cell:hover .fyi-logo[data-tone="dark"] { filter: invert(1) hue-rotate(180deg); }
/* A brand with no logo found is set in type. */
.fyi-word { max-width: 84%; font: 600 clamp(14px, 1.5vw, 19px)/1.15 "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: -.02em; color: var(--muted); text-align: center; text-wrap: balance; overflow-wrap: break-word; hyphens: auto; transition: color .2s; }
a.fyi-cell:hover .fyi-word { color: var(--ink); }
@media (hover: none) { .fyi-meta { opacity: 1; transform: none; } }

/* The sheet scrolls with the page. Squares fade in as they scroll into view. */
.fyi-grid > .fyi-cell { opacity: 0; transform: translateY(14px); transition: opacity .5s ease-out, transform .5s ease-out, background .12s; }
.fyi-grid > .fyi-cell.in { opacity: 1; transform: none; }
/* Glide: as a square comes in, its logo trails it. The square travels a short way quickly; the logo travels
   further, starts a beat later and eases in slowly, so it looks pulled along behind its row. Transforms only. */
.fyi-mark { position: absolute; inset: 0; display: grid; place-items: center; transition: transform .95s cubic-bezier(.16, .84, .3, 1) .08s; will-change: transform; }
.fyi-grid > .fyi-cell:not(.in) .fyi-mark { transform: translateY(calc(var(--cell, 180px) * .22)); }
.fyi-grid > .fyi-cell.in .fyi-mark { will-change: auto; }
@media (prefers-reduced-motion: reduce) { .fyi-grid > .fyi-cell { transform: none; transition: opacity .2s; } .fyi-mark { transition: none; } .fyi-grid > .fyi-cell:not(.in) .fyi-mark { transform: none; } }

.rp-pending { max-width: 560px; }
.rp-pending img { display: block; height: 56px; max-width: 220px; object-fit: contain; object-position: left; margin-bottom: 28px; }
.rp-pending .fyi-word { display: block; text-align: left; margin-bottom: 28px; font-size: 28px; color: var(--ink); }
.rp-pending h1 { font-size: clamp(24px, 3.5vw, 34px); letter-spacing: -.02em; margin: 0 0 10px; }
.rp-pending p { font-size: 16px; line-height: 1.55; margin: 0 0 24px; }

.fyi-dialog { border: 1px solid var(--line-strong); border-radius: 12px; padding: 0; width: min(460px, calc(100vw - 32px)); background: var(--panel); color: var(--ink); box-shadow: 0 20px 60px rgba(0,0,0,.18); }
.fyi-dialog::backdrop { background: rgba(0,0,0,.35); }
.fyi-dialog form { padding: 22px 24px 24px; }
.fyi-dlg-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.fyi-dlg-head h2 { margin: 0; font-size: 19px; }
.fyi-x { border: 0; background: none; font-size: 22px; line-height: 1; padding: 2px 6px; color: var(--muted); }
.fyi-dialog label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.fyi-dialog label input { margin-top: 4px; color: var(--ink); box-sizing: border-box; font-size: 15px; }
.fyi-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fyi-err { color: var(--bad); margin: 0 0 12px; font-size: 13px; }
.fyi-ts { margin: 0 0 12px; min-height: 65px; }
.fyi-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 6px; }
.fyi-actions button { padding: 8px 14px; }
.fyi-done p { margin: 0 0 16px; font-size: 15px; }
@media (max-width: 480px) { .fyi-wrap { padding: 40px 16px 64px; } .fyi-row { grid-template-columns: 1fr; gap: 0; } .fyi-name { font-size: 14px; } }

/* ---------- Report (/fyi/<host>) ---------- */
.rp { padding-top: 32px; }
.rp-back { display: inline-block; color: var(--muted); font-size: 13px; margin-bottom: 36px; }
.rp-back:hover { color: var(--ink); }
.rp-head p { max-width: 40em; font-size: 16px; line-height: 1.55; margin-top: 4px; }
.rp-missing { font-size: 24px; margin: 0 0 16px; }

/* Headline numbers share the landing page's hairline sheet. */
.rp-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin: 36px 0 20px; }
.rp-stat { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 18px 16px; }
.rp-stat-k { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; }
.rp-stat-v { font-size: 28px; font-weight: 600; letter-spacing: -.02em; margin-top: 6px; font-variant-numeric: tabular-nums; }
.rp-stat-u { font-size: 12.5px; }
.rp-was { color: var(--muted); font-weight: 500; }
.rp-arrow { color: var(--muted); margin: 0 .3em; font-weight: 400; }
.rp-now { color: var(--good); }
.rp-same { color: var(--ink); }
@media (max-width: 760px) { .rp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.rp-nav { display: flex; gap: 20px; flex-wrap: wrap; font-size: 13.5px; margin-bottom: 8px; }
.rp-nav a { color: var(--muted); }
.rp-nav a:hover { color: var(--ink); }

.rp-sec { border-top: 1px solid var(--line); margin-top: 48px; padding-top: 36px; scroll-margin-top: 16px; }
.rp-sec h2 { font-size: 24px; letter-spacing: -.01em; margin: 0 0 18px; display: flex; align-items: center; gap: 12px; }
.rp-sec h3 { font-size: 15px; margin: 28px 0 10px; }
.rp-two > div > h3:first-child { margin-top: 0; }
.rp-num { display: inline-grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--line-strong); border-radius: 50%; font-size: 14px; font-weight: 600; flex: none; }
.rp-lede { max-width: 44em; font-size: 15px; margin: 0 0 16px; }
.rp-two { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.rp-two p { margin: 0 0 10px; line-height: 1.55; }
@media (max-width: 820px) { .rp-two { grid-template-columns: 1fr; gap: 24px; } }

.rp-steps { margin: 0; padding-left: 20px; line-height: 1.55; }
.rp-steps li { margin-bottom: 12px; }
.rp-prompt { display: flex; gap: 8px; align-items: flex-start; margin-top: 8px; border: 1px solid var(--line); border-radius: 8px; padding: 10px 10px 10px 12px; background: var(--panel); }
.rp-prompt code { flex: 1; font: 12.5px/1.5 var(--mono); overflow-wrap: anywhere; }
.rp-prompt button { flex: none; font-size: 12px; padding: 3px 10px; }

.rp-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.rp-table th, .rp-table td { padding: 10px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.rp-table thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 600; position: static; background: none; box-shadow: none; border-bottom: 1px solid var(--line-strong); }
.rp-table tbody th { font-weight: 600; text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--ink); width: 55%; }
.rp-table td { width: 1%; white-space: nowrap; }
.rp-def { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; margin-top: 2px; line-height: 1.45; }
.rp-scores tbody th { width: 46%; }
.rp-bar-cell { width: 30% !important; white-space: normal !important; }
.rp-bars { display: grid; gap: 3px; margin-top: 4px; }
.rp-bar { position: relative; height: 6px; border-radius: 3px; background: var(--chip); overflow: hidden; }
.rp-bar span { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; }
.rp-bar-a { background: var(--good); }
.rp-bar-b { background: var(--muted); opacity: .6; }
.rp-legend { display: inline-flex; gap: 6px; align-items: center; text-transform: none; letter-spacing: 0; font-weight: 400; }
.rp-legend i { display: inline-block; width: 12px; height: 6px; border-radius: 3px; margin-left: 6px; }
.rp-legend i.b { background: var(--muted); opacity: .6; } .rp-legend i.a { background: var(--good); }
.rp-attrs tr.rp-more { display: none; }
.rp-attrs.all tr.rp-more { display: table-row; }
.rp-show { margin-top: 12px; }
@media (max-width: 600px) { .rp-bar-cell { display: none; } .rp-table tbody th { width: auto; } }

.rp-index { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: end; margin-bottom: 8px; }
.rp-index p { margin: 0; max-width: 34em; }
.rp-big { font-size: 44px; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1.1; margin-top: 4px; }
.rp-of { font-size: 18px; margin-left: 6px; font-weight: 400; }
@media (max-width: 600px) { .rp-index { grid-template-columns: 1fr; gap: 8px; } }

.rp-gloss { display: grid; grid-template-columns: 180px 1fr; gap: 8px 20px; margin: 0; font-size: 13.5px; }
.rp-gloss dt { font-weight: 600; }
.rp-gloss dd { margin: 0; color: var(--muted); }
@media (max-width: 600px) { .rp-gloss { grid-template-columns: 1fr; gap: 2px; } .rp-gloss dd { margin-bottom: 10px; } }

.rp-cta { border-top: 1px solid var(--line); margin-top: 48px; padding-top: 36px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.rp-cta h2 { margin: 0; font-size: 22px; }
.rp-cta button { padding: 10px 18px; font-size: 15px; }
.rp-foot { font-size: 12.5px; margin-top: 8px; }

/* Traces: plain monospace rows on a dark sheet, one per request, revealed in step on both sides. */
.tr-controls { display: flex; gap: 8px; max-width: 720px; }
.tr-controls select { flex: 1; min-width: 0; font-size: 14px; }
.tr-controls button { flex: none; padding: 8px 18px; }
.tr-for { margin: 12px 0 14px; font-size: 13.5px; }
.tr-for strong { color: var(--ink); }
.tr-cols { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.tr-cols > * { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-width: 0; }
.tr-head { padding: 10px 14px; font-weight: 600; font-size: 13.5px; border-bottom: 1px solid var(--line); }
.tr-log { background: #0f0f0e; color: #d9d8d2; font: 12px/1.55 var(--mono); padding: 12px 14px; min-height: 380px; }
.tr-row { display: grid; grid-template-columns: 74px 1fr; gap: 10px; padding: 4px 0; animation: tr-in .25s ease-out; }
.tr-k { color: #8d8c86; }
.tr-t { overflow-wrap: anywhere; }
.tr-s { display: block; color: #8d8c86; }
.tr-row.good .tr-k { color: #6fcf8e; }
.tr-row.bad .tr-k { color: #ff8a80; }
.tr-row.warn .tr-k { color: #e5b45c; }
@keyframes tr-in { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .tr-row { animation: none; } }
.tr-sum { padding: 14px; font-size: 13.5px; }
.tr-cell:empty { display: none; }
.tr-sum p { margin: 6px 0 8px; line-height: 1.5; }
.tr-sum-k { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; color: var(--muted); }
.tr-sum dl { display: grid; grid-template-columns: 90px 1fr; gap: 4px 10px; margin: 8px 0; }
.tr-sum dt { color: var(--muted); }
.tr-sum dd { margin: 0; overflow-wrap: anywhere; }
.tr-check { font-size: 12.5px; font-weight: 600; }
.tr-check.ok { color: var(--good); }
.tr-check.no { color: var(--bad); }
.rp-handoff { margin-top: 20px; font-size: 14px; }
@media (max-width: 820px) {
  .tr-cols { grid-template-columns: 1fr; } .tr-log { min-height: 0; }
  .tr-head.tr-o { order: 1; } .tr-log.tr-o { order: 2; } .tr-cell.tr-o { order: 3; }
  .tr-head.tr-y { order: 4; } .tr-log.tr-y { order: 5; } .tr-cell.tr-y { order: 6; }
}

/* Claim this page: shown on a brand's page while its report is being built. */
.rp-claim { max-width: 560px; border-top: 1px solid var(--line); margin-top: 40px; padding-top: 32px; }
.rp-claim h2 { font-size: 20px; letter-spacing: -.01em; margin: 0 0 6px; }
.rp-claim > p { margin: 0 0 18px; line-height: 1.5; }
.rp-claim label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.rp-claim label input, .rp-claim label textarea { margin-top: 4px; color: var(--ink); box-sizing: border-box; font-size: 15px; }
.rp-claim textarea { width: 100%; resize: vertical; font: inherit; font-size: 15px; }
.rp-claim-note { font-size: 13px; color: var(--muted); margin: -4px 0 12px; min-height: 1em; }
.rp-claim-note:empty { display: none; }
.rp-claim-note.ok { color: var(--good); }
.rp-claim button[type="submit"] { padding: 9px 16px; }
.rp-claim-done { border: 1px solid var(--line-strong); border-radius: 8px; padding: 14px 16px; line-height: 1.5; background: var(--panel); }
.rp-pending > button { margin-top: 0; }

/* Fixed banner: hidden above the page until the hero's search scrolls away, then slides down. Logo and title on
   the left, search and filter on the right. */
.fyi-bar { --gutter: clamp(16px, 5vw, 72px); position: fixed; top: 0; left: 0; right: 0; z-index: 40; display: flex; align-items: center; gap: 24px; height: 64px; padding: 0 var(--gutter); box-sizing: border-box;
  background: color-mix(in srgb, var(--bg) 86%, transparent); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid var(--line);
  transform: translateY(-101%); transition: transform .28s cubic-bezier(.2, .8, .2, 1), box-shadow .28s; }
.fyi-bar.on { transform: none; box-shadow: 0 6px 24px rgba(0, 0, 0, .06); }
.fyi-bar-tools { margin-left: auto; display: flex; gap: 8px; align-items: center; width: min(560px, 100%); min-width: 0; }

.fyi-bar-tools input:focus { outline: 2px solid var(--accent); outline-offset: -1px; }
.fyi-bar-tools > button { flex: none; padding: 8px 12px; white-space: nowrap; }

@media (prefers-reduced-motion: reduce) { .fyi-bar { transition: none; } }

/* Day/night switch, fixed top right above the banner. A moon by day, a sun by night. */
.fyi-theme { position: fixed; top: 12px; right: clamp(12px, 3vw, 28px); z-index: 50; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--ink); display: grid; place-items: center; cursor: pointer; isolation: isolate; }
.fyi-theme svg { position: relative; z-index: 1; width: 21px; height: 21px; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.fyi-moon { fill: currentColor; }
.fyi-sun { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.fyi-sun circle { fill: currentColor; stroke: none; }
:root[data-theme="light"] .fyi-sun, :root[data-theme="dark"] .fyi-moon { display: none; }
.fyi-theme:hover svg, .fyi-theme:focus-visible svg { transform: rotate(-18deg) scale(1.08); }
.fyi-theme:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.fyi-bar { padding-right: calc(clamp(12px, 3vw, 28px) + 52px); }

/* Watercolor wash: three soft pigment blobs that keep changing shape and drift, run through the #watercolor SVG
   filter for a ragged, bleeding edge. On hover the wash blooms out from the icon and keeps growing a little. */
.fyi-wash { position: absolute; left: 50%; top: 50%; width: 150px; height: 150px; margin: -75px 0 0 -75px; z-index: 0; pointer-events: none; filter: url(#watercolor); opacity: 0; transform: scale(.15) rotate(-20deg); transition: transform 1.1s cubic-bezier(.16, .84, .3, 1), opacity .45s ease-out; }
.fyi-wash i { position: absolute; inset: 14%; border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; mix-blend-mode: multiply; animation: fyi-morph 7s ease-in-out infinite alternate; animation-play-state: paused; }
.fyi-wash i:nth-child(1) { background: radial-gradient(circle at 40% 40%, rgba(108, 124, 240, .55), rgba(108, 124, 240, .08) 70%, transparent 72%); }
.fyi-wash i:nth-child(2) { inset: 22% 8% 10% 24%; background: radial-gradient(circle at 55% 50%, rgba(176, 124, 240, .5), rgba(176, 124, 240, .06) 68%, transparent 70%); animation-duration: 9s; animation-delay: -3s; }
.fyi-wash i:nth-child(3) { inset: 8% 26% 26% 10%; background: radial-gradient(circle at 50% 55%, rgba(92, 198, 214, .45), rgba(92, 198, 214, .05) 66%, transparent 68%); animation-duration: 11s; animation-delay: -6s; }
:root[data-theme="dark"] .fyi-wash i { mix-blend-mode: screen; }
:root[data-theme="dark"] .fyi-wash i:nth-child(1) { background: radial-gradient(circle at 40% 40%, rgba(255, 179, 71, .55), rgba(255, 179, 71, .08) 70%, transparent 72%); }
:root[data-theme="dark"] .fyi-wash i:nth-child(2) { background: radial-gradient(circle at 55% 50%, rgba(255, 122, 89, .5), rgba(255, 122, 89, .06) 68%, transparent 70%); }
:root[data-theme="dark"] .fyi-wash i:nth-child(3) { background: radial-gradient(circle at 50% 55%, rgba(255, 215, 106, .45), rgba(255, 215, 106, .05) 66%, transparent 68%); }
.fyi-theme:hover .fyi-wash, .fyi-theme:focus-visible .fyi-wash { opacity: 1; transform: scale(1.12) rotate(0deg); }
.fyi-theme:hover .fyi-wash i, .fyi-theme:focus-visible .fyi-wash i { animation-play-state: running; }
@keyframes fyi-morph {
  0%   { border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; transform: translate(0, 0) rotate(0deg) scale(1); }
  33%  { border-radius: 63% 37% 45% 55% / 55% 62% 38% 45%; transform: translate(6%, -4%) rotate(40deg) scale(1.08); }
  66%  { border-radius: 38% 62% 56% 44% / 62% 38% 62% 38%; transform: translate(-5%, 5%) rotate(85deg) scale(.96); }
  100% { border-radius: 55% 45% 35% 65% / 45% 58% 42% 55%; transform: translate(3%, 3%) rotate(130deg) scale(1.12); }
}
@media (prefers-reduced-motion: reduce) { .fyi-wash { transition: opacity .3s; transform: scale(1); } .fyi-wash i { animation: none; } .fyi-theme svg { transition: none; } }

/* Theme change: the new look grows out of the click (animated in fyi.js); the old one stays put underneath. */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { z-index: 2; }
::view-transition-old(root) { z-index: 1; }

/* Yip brand, fixed top left above the banner, so it stays put whether or not the banner is showing. */
.fyi-brand { position: fixed; top: 12px; left: clamp(16px, 5vw, 72px); z-index: 50; height: 40px; display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.fyi-brand:hover { text-decoration: none; }
.fyi-brand img { height: 34px; width: auto; display: block; }
.fyi-brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.fyi-brand-text strong { font: 900 18px/1 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; letter-spacing: .02em; }
.fyi-brand-text em { font-style: normal; font-size: 11.5px; color: var(--muted); margin-top: 3px; white-space: nowrap; }
.fyi-hero { padding-top: clamp(88px, 11vh, 136px); } /* clears the fixed brand */
/* The banner leaves room on the left for the brand. */
.fyi-bar { padding-left: calc(clamp(16px, 5vw, 72px) + 240px); }
.fyi-bar-tools { width: auto; justify-content: flex-end; }

/* Banner search: a magnifier that opens into a field. */
.fyi-bar-search { position: relative; display: flex; align-items: center; justify-content: flex-end; }
.fyi-bar-search input { width: 0; padding: 8px 0; border-color: transparent; background: transparent; opacity: 0; font-size: 14.5px; border-radius: 8px; transition: width .3s cubic-bezier(.2, .8, .2, 1), padding .3s, opacity .2s, border-color .2s, background .2s; }
.fyi-bar-tools.searching .fyi-bar-search input { width: min(340px, 42vw); padding: 8px 40px 8px 12px; opacity: 1; border-color: var(--line-strong); background: var(--panel); }
.fyi-search-btn { position: absolute; right: 2px; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.fyi-bar-tools:not(.searching) .fyi-search-btn { position: static; }
.fyi-search-btn:hover { background: var(--chip); }
.fyi-search-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
@media (max-width: 720px) { .fyi-bar { padding-left: calc(clamp(16px, 5vw, 72px) + 100px); } .fyi-brand-text em { display: none; } }
@media (max-width: 560px) { .fyi-bar-tools > button { display: none; } .fyi-bar-tools.searching .fyi-bar-search input { width: calc(100vw - 210px); } }

/* Industry filter: plain text with a caret, right-aligned just above the grid. The row is sticky at the banner's
   height, so after enough scrolling the filter stops in the banner, lined up beside the day/night switch. */
.fyi-filter-row { position: sticky; top: 12px; z-index: 50; height: 40px; margin-bottom: 12px; display: flex; justify-content: flex-end; padding-right: calc(clamp(12px, 3vw, 28px) + 48px); pointer-events: none; }
.fyi-filter { height: 40px; margin: 0; display: flex; align-items: center; font-weight: 500; pointer-events: auto; }
.fyi-filter select { width: auto; field-sizing: content; margin: 0; border: 0; border-radius: 6px; padding: 6px 22px 6px 6px; font-family: inherit; font-size: 14px; font-weight: 500; line-height: 20px; height: 32px; color: var(--ink); cursor: pointer; appearance: none; -webkit-appearance: none;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2710%27 height=%277%27 viewBox=%270 0 10 7%27%3E%3Cpath d=%27M1 1.2l4 4 4-4%27 fill=%27none%27 stroke=%27%23888%27 stroke-width=%271.5%27/%3E%3C/svg%3E") no-repeat right 6px center; transition: color .15s; }
.fyi-filter select:hover { color: var(--accent); }
.fyi-filter select:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.fyi-filter option { color: initial; }
/* The banner's own tools (the search) end before the 3D switch, the filter and the day/night switch, with room to breathe. */
.fyi-bar { padding-right: calc(clamp(12px, 3vw, 28px) + 48px + 200px); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (max-width: 560px) { .fyi-filter select { max-width: 34vw; text-overflow: ellipsis; } .fyi-bar { padding-right: calc(12px + 48px + 34vw + 8px); } .fyi-bar-tools.searching .fyi-bar-search input { width: calc(100vw - 100px - 34vw - 80px); } }

/* The banner strip is always there, solid in the page's own color, so the fixed logo, filter and switch never sit
   on top of the hero text as it scrolls under them. Its line, shadow and search appear once you scroll past the
   hero's search box. */
.fyi-bar { transform: none; background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom-color: transparent; box-shadow: none; transition: border-color .25s, box-shadow .25s; }
.fyi-bar.on { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(0, 0, 0, .06); }
.fyi-bar .fyi-bar-tools { opacity: 0; transform: translateY(-6px); transition: opacity .25s, transform .25s; }
.fyi-bar.on .fyi-bar-tools { opacity: 1; transform: none; }

/* Pitch for a website we have not built, shown in place of the sheet. Parallax slide-in: each layer starts lower
   the deeper it sits (--d) and takes longer to arrive, so the layers glide in at different speeds and settle
   together. The soft color washes behind it drift against the scroll (--py, set in fyi.js). Transforms and opacity
   only. */
.fyi-pitch { position: relative; overflow: hidden; border-top: 1px solid var(--line); padding: clamp(56px, 10vh, 120px) var(--gutter) clamp(64px, 12vh, 140px); min-height: 62vh; box-sizing: border-box; }
.pitch-inner { position: relative; z-index: 1; max-width: 1120px; }
.pitch-inner > *, .pitch-steps li { opacity: 0; transform: translateY(calc(48px + var(--d, 0) * 22px)); transition: opacity .6s ease-out calc(var(--d, 0) * 70ms), transform calc(.75s + var(--d, 0) * 90ms) cubic-bezier(.16, .84, .3, 1) calc(var(--d, 0) * 70ms); }
.fyi-pitch.in .pitch-inner > *, .fyi-pitch.in .pitch-steps li { opacity: 1; transform: none; }
.pitch-steps { opacity: 1 !important; transform: none !important; }
.pitch-eyebrow { margin: 0 0 14px; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.pitch-title { margin: 0; font-size: clamp(34px, 5.4vw, 76px); line-height: 1.02; letter-spacing: -.04em; font-weight: 650; max-width: 16em; text-wrap: balance; }
.pitch-title span { color: var(--accent); overflow-wrap: anywhere; }
.pitch-sub { margin: 22px 0 0; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.5; color: var(--muted); max-width: 46em; }
.pitch-steps { list-style: none; margin: clamp(40px, 7vh, 72px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.pitch-steps li { padding: 26px 24px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 70%, transparent); }
.pitch-steps strong { display: block; font-size: 20px; letter-spacing: -.01em; margin: 14px 0 8px; }
.pitch-steps p { margin: 0; color: var(--muted); line-height: 1.5; font-size: 15px; }
.pitch-n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-strong); font-size: 13px; font-weight: 600; }
.pitch-cta { margin-top: clamp(32px, 6vh, 56px); display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.pitch-cta button { font-size: 16px; padding: 13px 22px; border-radius: 10px; }
.pitch-bg { position: absolute; inset: -20% -10%; z-index: 0; pointer-events: none; filter: url(#watercolor) blur(18px); opacity: 0; transition: opacity 1.2s ease-out; }
.fyi-pitch.in .pitch-bg { opacity: .9; }
.pitch-bg i { position: absolute; border-radius: 50%; transform: translateY(calc(var(--py, 0) * var(--k) * 1px)); transition: transform .2s linear; }
.pitch-bg i:nth-child(1) { --k: 140; width: 46%; height: 60%; right: 2%; top: 4%; background: radial-gradient(circle, rgba(108, 124, 240, .28), transparent 68%); }
.pitch-bg i:nth-child(2) { --k: -90; width: 38%; height: 52%; right: 24%; top: 34%; background: radial-gradient(circle, rgba(176, 124, 240, .22), transparent 68%); }
.pitch-bg i:nth-child(3) { --k: 200; width: 30%; height: 44%; left: 4%; bottom: 0; background: radial-gradient(circle, rgba(92, 198, 214, .2), transparent 68%); }
:root[data-theme="dark"] .pitch-bg i:nth-child(1) { background: radial-gradient(circle, rgba(124, 156, 245, .22), transparent 68%); }
:root[data-theme="dark"] .pitch-bg i:nth-child(2) { background: radial-gradient(circle, rgba(255, 140, 100, .14), transparent 68%); }
:root[data-theme="dark"] .pitch-bg i:nth-child(3) { background: radial-gradient(circle, rgba(255, 210, 110, .12), transparent 68%); }
@media (max-width: 1100px) { .pitch-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .pitch-steps { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .pitch-inner > *, .pitch-steps li { transform: none; transition: opacity .3s; } .pitch-bg i { transform: none; } }
.fyi-page > .fyi-empty { padding: 32px var(--gutter); margin: 0; border-top: 1px solid var(--line); }

/* LIVE tag on a square whose site streams its real agent traffic. */
.fyi-live { position: absolute; top: 10px; left: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px 3px 7px; border-radius: 999px; font: 700 10.5px/1 ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #d92d20; background: color-mix(in srgb, #d92d20 10%, transparent); }
:root[data-theme="dark"] .fyi-live { color: #ff6b5e; background: color-mix(in srgb, #ff6b5e 14%, transparent); }
.fyi-live i, .lv-pill i { position: relative; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.fyi-live i::after, .lv-pill i::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: currentColor; animation: fyi-pulse 1.6s ease-out infinite; }
@keyframes fyi-pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(2.8); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .fyi-live i::after, .lv-pill i::after { animation: none; } }

/* ---------- Live page (/fyi/<host> for a live site) ---------- */
.lv-head { margin-bottom: 8px; }
.lv-title { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.lv-title img { width: 44px; height: 44px; object-fit: contain; }
.lv-title h1 { margin: 0; font-size: clamp(28px, 4vw, 44px); letter-spacing: -.03em; line-height: 1.1; }
.lv-pill { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px 5px 10px; border-radius: 999px; color: #d92d20; background: color-mix(in srgb, #d92d20 11%, transparent); font: 700 12px/1 ui-sans-serif, system-ui, sans-serif; letter-spacing: .1em; text-transform: uppercase; }
:root[data-theme="dark"] .lv-pill { color: #ff6b5e; background: color-mix(in srgb, #ff6b5e 15%, transparent); }
.lv-pill.off { color: var(--muted); background: var(--chip); }
.lv-pill.off i::after { animation: none; }
.lv-lede { font-size: 16.5px; line-height: 1.55; max-width: 44em; margin: 16px 0 6px; }
.lv-status { font-size: 13px; margin: 0; }
.lv-status.bad { color: var(--bad); }
.lv-stats { margin: 28px 0 24px; }

.lv-flow { list-style: none; padding: 0; margin: 0 0 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.lv-flow li { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; row-gap: 2px; align-items: start; padding: 16px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 13.5px; line-height: 1.45; position: relative; }
.lv-flow li .lv-ic { grid-row: span 2; }
.lv-flow li + li::before { content: '→'; position: absolute; left: -9px; top: 50%; transform: translateY(-50%); background: var(--bg); color: var(--muted); font-size: 13px; padding: 2px 0; }
@media (max-width: 720px) { .lv-flow { grid-template-columns: 1fr; } .lv-flow li + li::before { content: '↓'; left: 18px; top: -11px; transform: none; } }

.lv-ic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; flex: none; background: var(--chip); color: var(--ink); }
.lv-ic svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lv-ic-person { background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); }
.lv-ic-match { background: color-mix(in srgb, var(--good) 15%, transparent); color: var(--good); }

.lv-stream-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 26px; margin-bottom: 8px; }
.lv-stream-head h2 { margin: 0; font-size: 20px; letter-spacing: -.01em; }
.lv-stream-head span { font-size: 13px; }
.lv-empty { padding: 24px 0; }
.lv-stream { list-style: none; margin: 0; padding: 0; }
/* Each row carries its session's color as a rule down the left edge; a person's arrival carries the color of the
   assistant session that sent them. */
.lv-row { --h: 220; display: grid; grid-template-columns: 92px auto minmax(0, 1fr); gap: 14px; align-items: start; padding: 12px 12px 12px 16px; border-bottom: 1px solid var(--line); position: relative; transition: background .2s, opacity .2s; }
.lv-row::before { content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 3px; border-radius: 2px; background: hsl(var(--h) 65% 55%); }
.lv-row.no-session::before { background: var(--line-strong); }
.lv-arrival { background: color-mix(in srgb, hsl(var(--h) 65% 55%) 7%, transparent); }
.lv-arrival.no-session { background: transparent; }
.lv-row.is-minor { padding-top: 7px; padding-bottom: 7px; opacity: .62; }
.lv-row.is-minor .lv-tags { display: none; }
.lv-row.is-minor .lv-ic { width: 24px; height: 24px; }
.lv-stream[data-following] .lv-row { opacity: .35; }
.lv-stream[data-following] .lv-row.is-on { opacity: 1; background: color-mix(in srgb, hsl(var(--h) 65% 55%) 11%, transparent); }
.lv-time { display: flex; flex-direction: column; font: 12.5px/1.35 var(--mono); font-variant-numeric: tabular-nums; }
.lv-ago { color: var(--muted); font-size: 11.5px; }
.lv-line { font-size: 14.5px; line-height: 1.45; overflow-wrap: anywhere; }
.lv-line code { font: 13px var(--mono); background: var(--chip); padding: 1px 6px; border-radius: 4px; }
.lv-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.lv-tag { font-size: 11.5px; padding: 2px 8px; border-radius: 999px; background: var(--chip); color: var(--muted); }
.lv-tag.ok { color: var(--good); background: color-mix(in srgb, var(--good) 12%, transparent); }
.lv-tag.warn { color: var(--warn); background: color-mix(in srgb, var(--warn) 12%, transparent); }
.lv-tag.accent { color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.lv-tag.lv-sess { color: hsl(var(--h) 60% 42%); background: color-mix(in srgb, hsl(var(--h) 65% 55%) 14%, transparent); font-family: var(--mono); }
:root[data-theme="dark"] .lv-tag.lv-sess { color: hsl(var(--h) 70% 72%); }
.lv-tag.lv-why { background: none; padding-left: 2px; }
/* New rows slide down into place and glow once. */
.lv-row.is-new { animation: lv-in .55s cubic-bezier(.16, .84, .3, 1), lv-glow 2.4s ease-out; }
@keyframes lv-in { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes lv-glow { from { box-shadow: inset 0 0 0 999px color-mix(in srgb, hsl(var(--h) 65% 55%) 16%, transparent); } to { box-shadow: inset 0 0 0 999px transparent; } }
@media (prefers-reduced-motion: reduce) { .lv-row.is-new { animation: none; } }
@media (max-width: 600px) { .lv-row { grid-template-columns: auto minmax(0, 1fr); } .lv-time { grid-column: 2; grid-row: 1; flex-direction: row; gap: 8px; } .lv-row .lv-ic { grid-row: 1 / span 2; } .lv-body { grid-column: 2; } }

/* Report pages share the landing page's frame: the fixed Yip logo, the day/night switch, and the solid strip
   behind them. Content starts below the strip, and jumping to a section lands just under it. */
.rp { padding-top: 96px; }
.rp-sec { scroll-margin-top: 84px; }

/* Sticky header in the strip: site name, the report's three parts (the one in view underlined), call to action.
   Hidden until the report's title scrolls away. */
.fyi-bar.rp-bar { padding-right: calc(clamp(12px, 3vw, 28px) + 60px); }
.rp-bar-inner { display: flex; align-items: center; gap: 22px; width: 100%; min-width: 0; opacity: 0; transform: translateY(-6px); transition: opacity .25s, transform .25s; }
.fyi-bar.on .rp-bar-inner { opacity: 1; transform: none; }
.rp-bar-title { font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; max-width: 32ch; }
.rp-bar-title:hover { text-decoration: none; color: var(--accent); }
.rp-bar-nav { display: flex; gap: 18px; margin-left: auto; }
.rp-bar-nav a { color: var(--muted); font-size: 14px; white-space: nowrap; padding: 6px 0; border-bottom: 2px solid transparent; }
.rp-bar-nav a:hover { color: var(--ink); text-decoration: none; }
.rp-bar-nav a.on { color: var(--ink); border-bottom-color: var(--accent); }
.rp-bar-cta { flex: none; padding: 7px 14px; font-size: 14px; }
@media (max-width: 980px) { .rp-bar-nav { display: none; } .rp-bar-cta { margin-left: auto; } }
@media (max-width: 720px) { .fyi-bar.rp-bar { padding-left: calc(clamp(16px, 5vw, 72px) + 100px); } }
@media (max-width: 520px) { .rp-bar-title { display: none; } }

/* Industry filter as a custom list: the trigger keeps the plain-text look; the open list is a small panel in the
   page's own colors, with each group's count and a check on the one chosen. */
.fyi-filter { position: relative; }
.fyi-filter-btn { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 6px 8px; border: 0; border-radius: 6px; background: transparent; color: var(--ink); font-family: inherit; font-size: 14px; font-weight: 500; line-height: 20px; cursor: pointer; transition: color .15s, background .15s; }
.fyi-filter-btn:hover, .fyi-filter-btn[aria-expanded="true"] { color: var(--accent); }
.fyi-filter-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.fyi-filter-btn svg { width: 10px; height: 7px; fill: none; stroke: currentColor; stroke-width: 1.5; opacity: .7; transition: transform .2s; }
.fyi-filter-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.fyi-filter-menu { position: absolute; top: calc(100% + 6px); right: 0; min-width: 220px; margin: 0; padding: 6px; list-style: none; background: var(--panel); border: 1px solid var(--line-strong); border-radius: 10px; box-shadow: 0 12px 32px rgba(0, 0, 0, .12); z-index: 60; outline: none; animation: fyi-menu-in .16s ease-out; }
.fyi-filter-menu li { display: grid; grid-template-columns: 16px 1fr auto; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 6px; font-size: 14px; color: var(--ink); cursor: pointer; }
.fyi-filter-menu li.active { background: var(--chip); }
.fyi-filter-menu li em { font-style: normal; font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.fyi-filter-menu li[aria-selected="true"] { font-weight: 600; }
.fyi-check { width: 16px; height: 16px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; visibility: hidden; }
.fyi-filter-menu li[aria-selected="true"] .fyi-check { visibility: visible; }
@keyframes fyi-menu-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .fyi-filter-menu { animation: none; } }
:root[data-theme="dark"] .fyi-filter-menu { box-shadow: 0 12px 32px rgba(0, 0, 0, .45); }

/* 3D tilt: the sheet is one plane that leans a few degrees toward the mouse. JS sets --rx/--ry (eased every frame)
   and the origin to the middle of the screen, so the lean pivots around what you are looking at. */
.fyi-grid.tilting { transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-origin: 50% var(--oy, 50%); will-change: transform; }

/* Its switch, left of the filter: a small checkbox labelled with a cube. */
/* The checkbox, the cube and the filter share one centre line with the banner's search and day/night icons. */
.fyi-filter-row { gap: 6px; align-items: center; }
.fyi-tilt { display: inline-flex; align-items: center; gap: 6px; height: 32px; margin: 0; padding: 0 8px; box-sizing: border-box; border-radius: 6px; cursor: pointer; pointer-events: auto; color: var(--muted); transition: color .15s; }
.fyi-tilt:hover, .fyi-tilt:has(input:checked) { color: var(--ink); }
.fyi-tilt:hover { color: var(--accent); }
.fyi-tilt input { width: 13px; height: 13px; margin: 0; accent-color: var(--accent); cursor: pointer; }
.fyi-tilt input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.fyi-tilt svg { display: block; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; transition: opacity .2s; }
.fyi-tilt .cube-top { fill: currentColor; fill-opacity: .14; stroke: none; }
.fyi-tilt:not(:has(input:checked)) svg { opacity: .55; }
@media (hover: none) { .fyi-tilt { display: none; } }

