/* Product output cards (/products/, the homepage, Related on product pages): each card shows what the product hands back, and hover replays how
   it is produced. Ported from the hidden Reimagined study "The Output". Phones play a card as it reaches
   mid screen (assets/product-outputs.js). The hotel and its figures are invented. */
@property --n { syntax: "<integer>"; inherits: false; initial-value: 0; }
.po-grid, .po-track { --rx-paper: var(--bg, #faf7f2); --rx-paper-2: #f1ebf8; --rx-ink: var(--text, #1d1526); --rx-soft: var(--text-soft, #5d5468); --rx-violet: var(--primary, #5b21b6); --rx-line: var(--border-strong, #d6c7ea); --rx-display: var(--font-display, "Fraunces", Georgia, serif); --rx-body: var(--font-body, "Instrument Sans", system-ui, sans-serif); --rx-ease: cubic-bezier(.22, .8, .24, 1); --oc-ok: #1f7a4d; --oc-well: var(--rx-paper); --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.po-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem clamp(1rem, 2.4vw, 1.8rem); margin-top: 1.6rem; }
.po-track { grid-auto-columns: minmax(320px, 340px); }
.po-grid > .po-card, .po-track > .po-card { margin: 0; }
.po-track > .po-card { scroll-snap-align: start; }
.po-card { display: block; min-width: 0; color: inherit; text-decoration: none; border-radius: 14px; }
.oc-card { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; background: var(--surface, #fff); border: 1px solid var(--rx-line); border-radius: 14px; transition: border-color .25s, box-shadow .3s var(--rx-ease); }
.oc-opt:is(:hover, :focus-within, .is-hot) .oc-card { border-color: var(--rx-violet); box-shadow: 0 14px 28px -20px rgba(34, 18, 56, .45); }
.oc-txt { padding: 1rem 1.05rem .9rem; }
.oc-name { display: flex; align-items: baseline; justify-content: space-between; gap: .6rem; margin: 0; font-family: var(--rx-display); font-weight: 600; font-size: 1.28rem; letter-spacing: -.015em; line-height: 1.15; color: var(--rx-ink); }
.po-card:hover .oc-name > span:first-child { color: var(--rx-violet); }
.po-status { flex: none; padding: .1rem .5rem; border-radius: 999px; border: 1px solid #b9e2cb; background: #e6f5ed; color: var(--oc-ok); font-family: var(--rx-body); font-size: .64rem; font-weight: 700; letter-spacing: .02em; }
.po-status.is-soon { border: 1px dashed var(--rx-soft); background: transparent; color: var(--rx-soft); }
.oc-snip { margin: .3rem 0 0; max-width: none; font-size: .88rem; line-height: 1.4; color: var(--rx-soft); }
.po-card.is-soon .oc-card { border-style: dashed; border-color: var(--rx-soft); background: transparent; }
.po-card.is-soon .oc-art { background: transparent; border-top-style: dashed; border-top-color: var(--rx-soft); }
.oc-art { position: relative; flex: none; height: 232px; padding: .9rem 1rem; overflow: hidden; background: var(--oc-well); border-top: 1px solid var(--rx-line); font-size: .78rem; line-height: 1.35; color: var(--rx-ink); display: flex; flex-direction: column; gap: .5rem; }
.oc-art :where(p, ul, dl) { margin: 0; padding: 0; list-style: none; max-width: none; }
.oc-art :where(li) { margin: 0; padding: 0; max-width: none; }
.oc-art s { text-decoration: none; }
@media (max-width: 980px) { .po-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .po-grid { grid-template-columns: 1fr; } .oc-art { height: 224px; } }
.k-mono { font-family: var(--mono); }
.k-grow { flex: 1; min-height: 0; }
.k-note { margin-top: auto !important; font-size: .68rem; color: var(--rx-soft); line-height: 1.35; }
.k-note.k-mono { font-size: .62rem; }
.k-head { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding-bottom: .4rem; border-bottom: 1px solid var(--rx-line); }
.k-head b { font-family: var(--rx-display); font-size: 1rem; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.k-head small { font-size: .64rem; font-weight: 700; color: var(--rx-soft); white-space: nowrap; }
.k-id { font-family: var(--mono); font-size: .68rem; font-weight: 700; color: var(--rx-violet); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.k-tag { display: inline-block; padding: .1rem .45rem; border-radius: 999px; border: 1px solid var(--rx-line); background: #fff; color: var(--rx-violet); font-size: .62rem; font-weight: 700; font-style: normal; line-height: 1.35; white-space: nowrap; }
.k-tag.g { background: var(--oc-ok); border-color: var(--oc-ok); color: #fff; }
.k-tag.r { background: #b4233c; border-color: #b4233c; color: #fff; }
.k-code { padding: .55rem .7rem; border-radius: 8px; background: var(--rx-ink); color: #e9e3f5; font-family: var(--mono); font-size: .62rem; line-height: 1.55; overflow: hidden; }
.k-code span { display: block; white-space: pre; overflow: hidden; text-overflow: ellipsis; }
.k-code b { font-weight: 400; }
.k-code .s { color: #b7f0cf; }
.k-code i { font-style: normal; color: #c4a6ff; }
.k-cfg { font-size: .6rem; color: var(--rx-violet); line-height: 1.45; }
.k-lbl { font-size: .62rem; font-weight: 700; color: var(--rx-soft); }
.k-btn { display: inline-block; align-self: flex-start; padding: .38rem .8rem; border-radius: 999px; background: var(--rx-ink); color: #fff; font-size: .7rem; font-weight: 700; white-space: nowrap; }
.k-btn.v { background: var(--rx-violet); }
.k-tbl { display: flex; flex-direction: column; }
.k-tbl > div { position: relative; display: grid; grid-template-columns: var(--cols); gap: .4rem; align-items: center; padding: .25rem 0; border-top: 1px solid var(--rx-line); font-size: .7rem; }
.k-tbl > div:first-child { border-top: 0; padding-top: 0; font-size: .58rem; font-weight: 700; color: var(--rx-soft); }
.k-tbl > div > :not(i):not(.k-tag) { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.k-tbl .n { text-align: right; font-variant-numeric: tabular-nums; }
.k-tbl b { font-weight: 700; }
.y { color: var(--oc-ok); font-weight: 700; }
.x { color: #b4233c; font-weight: 700; }
.sg { color: var(--oc-ok); }
.sa { color: #b9770a; }
.sr { color: #b4233c; }
.k-kv > div { display: flex; justify-content: space-between; gap: .6rem; padding: .25rem 0; border-top: 1px solid var(--rx-line); font-size: .7rem; }
.k-kv > div:first-child { border-top: 0; }
.k-kv span { color: var(--rx-soft); white-space: nowrap; }
.k-kv b { min-width: 0; font-weight: 600; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.k-prose { font-family: var(--rx-display); font-weight: 500; font-size: .98rem; line-height: 1.38; }
.k-cur { position: absolute; left: 62%; top: 62%; width: 15px; height: 19px; opacity: 0; pointer-events: none; z-index: 4; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .25)); }
.k-skel { display: flex; flex-direction: column; gap: .45rem; }
.k-skel i { display: block; height: 7px; border-radius: 3px; background: var(--rx-paper-2); }
.a-gx { transform-origin: left center; }
.a-gy { transform-origin: center bottom; }
.a-draw { stroke-dasharray: 1; }
.a-type, .a-wipe { display: inline-block; vertical-align: bottom; white-space: nowrap; }
.oc-opt:is(:hover, :focus-within, .is-hot) .a-in { animation: oc-in .45s var(--rx-ease) var(--d, 0s) both; }
.oc-opt:is(:hover, :focus-within, .is-hot) .a-l { animation: oc-l .45s var(--rx-ease) var(--d, 0s) both; }
.oc-opt:is(:hover, :focus-within, .is-hot) .a-pop { animation: oc-pop .45s var(--d, 0s) both; }
.oc-opt:is(:hover, :focus-within, .is-hot) .a-type { animation: oc-wipe var(--t, .7s) steps(var(--s, 20)) var(--d, 0s) both; }
.oc-opt:is(:hover, :focus-within, .is-hot) .a-wipe { animation: oc-wipe var(--t, .45s) var(--rx-ease) var(--d, 0s) both; }
.oc-opt:is(:hover, :focus-within, .is-hot) .a-gx { animation: oc-gx var(--t, .7s) var(--rx-ease) var(--d, 0s) both; }
.oc-opt:is(:hover, :focus-within, .is-hot) .a-gy { animation: oc-gy var(--t, .6s) var(--rx-ease) var(--d, 0s) both; }
.oc-opt:is(:hover, :focus-within, .is-hot) .a-draw { animation: oc-draw var(--t, 1s) ease-out var(--d, 0s) both; }
.oc-opt:is(:hover, :focus-within, .is-hot) .a-press { animation: oc-press .4s var(--d, 0s); }
.oc-opt:is(:hover, :focus-within, .is-hot) .a-fade { animation: oc-fade .5s var(--d, 0s) both; }
.oc-opt:is(:hover, :focus-within, .is-hot) .a-render { animation: oc-render var(--t, .75s) steps(var(--s, 7)) var(--d, 0s) both; }
.oc-opt:is(:hover, :focus-within, .is-hot) .a-strike { animation: oc-strike .45s var(--d, 0s) both; }
.oc-opt:is(:hover, :focus-within, .is-hot) .a-rise { animation: oc-rise .45s var(--rx-ease) var(--d, 0s) both; }
.k-inj { display: block; margin: 0 -.7rem; padding: 0 .7rem; overflow: hidden; background-color: rgba(110, 231, 161, .13); box-shadow: inset 2px 0 #6ee7a1; }
.k-live { display: inline-block; width: 7px; height: 7px; margin-right: .4rem; border-radius: 50%; background: var(--oc-ok); vertical-align: 0; }
.oc-opt:is(:hover, :focus-within, .is-hot) .x-schema-a .k-src { animation: oc-flash .5s .05s both; }
.oc-opt:is(:hover, :focus-within, .is-hot) .x-schema-a .k-inj { animation: oc-insert 1.2s var(--rx-ease) .4s both; }
.oc-audit { display: block; }
.oc-pdf, .oc-sheet { position: absolute; background: #fff; border: 1px solid var(--rx-line); border-radius: 6px; box-shadow: 0 8px 18px -10px rgba(34, 18, 56, .35); transition: transform .5s var(--rx-ease); }
.oc-pdf { left: 1rem; top: .9rem; width: 44%; height: 186px; padding: .9rem .7rem; transform: rotate(-4deg); display: flex; flex-direction: column; gap: .4rem; }
.oc-pdf b { font-family: var(--rx-display); font-size: .95rem; line-height: 1.1; }
.oc-pdf span { font-size: .64rem; color: var(--rx-soft); margin-bottom: .3rem; }
.oc-pdf i { display: block; height: 4px; border-radius: 2px; background: var(--rx-paper-2); }
.oc-sheet { right: .8rem; bottom: .9rem; width: 70%; padding-bottom: 1.3rem; transform: rotate(2deg); font-size: .64rem; }
.oc-sheet p { display: grid; grid-template-columns: 2.9rem 1fr 2.7rem; border-bottom: 1px solid var(--rx-paper-2); }
.oc-sheet p > * { padding: .32rem .4rem; border-right: 1px solid var(--rx-paper-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oc-sheet p > :first-child { font-family: var(--mono); font-size: .6rem; }
.oc-sheet p:first-child { background: var(--rx-paper-2); }
.oc-sheet .p1 { color: #b4233c; font-weight: 700; }
.oc-sheet .p2 { color: #b9770a; font-weight: 700; }
.oc-pdf small, .oc-sheet small { position: absolute; right: .45rem; bottom: .3rem; font-size: .6rem; font-weight: 700; color: var(--rx-violet); }
.oc-opt:is(:hover, :focus-within, .is-hot) .oc-pdf { transform: rotate(-7deg) translate(-4px, -3px); }
.oc-opt:is(:hover, :focus-within, .is-hot) .oc-sheet { transform: rotate(4deg) translate(4px, 3px); }
.k-term { font-size: .64rem; line-height: 1.75; }
.k-sweep { position: absolute; inset: 2px 0; border-radius: 4px; background: linear-gradient(90deg, rgba(91, 33, 182, .02), rgba(91, 33, 182, .18)); transform-origin: left center; transform: scaleX(0); opacity: 0; pointer-events: none; }
.oc-opt:is(:hover, :focus-within, .is-hot) .x-speed-c .k-sweep { animation: oc-sweep .5s var(--d, 0s) both; }
.k-field { padding: .45rem .55rem; border-radius: 6px; background: #fff; border: 1px solid var(--rx-line); font-size: .74rem; line-height: 1.5; }
.k-chip { display: inline-block; padding: .12rem .5rem; border-radius: 999px; border: 1px solid var(--rx-line); background: #fff; color: var(--rx-soft); font-size: .62rem; font-weight: 700; white-space: nowrap; }
.k-chip.on { background: var(--rx-ink); border-color: var(--rx-ink); color: #fff; }
.k-seg { display: inline-flex; align-self: flex-start; padding: 2px; border-radius: 999px; background: #fff; border: 1px solid var(--rx-line); }
.k-seg span { padding: .12rem .6rem; border-radius: 999px; font-size: .62rem; font-weight: 700; color: var(--rx-soft); }
.k-seg .on { background: var(--rx-ink); color: #fff; }
.k-row2 { display: flex; align-items: center; gap: .3rem; }
.k-row2 .k-btn { margin-left: auto; }
.k-commit { margin-top: auto; display: flex; flex-direction: column; gap: .3rem; padding: .45rem .55rem; border-radius: 8px; background: #fff; border: 1px solid var(--rx-line); }
.k-commit p { display: flex; align-items: center; gap: .4rem; font-size: .66rem; }
.k-commit p b { margin-left: auto; font-size: .62rem; color: var(--rx-violet); }
.k-sha { font-family: var(--mono); font-weight: 700; color: var(--rx-violet); }
.k-plus { font-style: normal; font-weight: 700; color: var(--oc-ok); }
.k-minus { font-style: normal; font-weight: 700; color: #b4233c; }
.k-diff { border-radius: 4px; overflow: hidden; font-family: var(--mono); font-size: .58rem; }
.k-diff span { display: block; padding: .1rem .35rem; white-space: pre; overflow: hidden; text-overflow: ellipsis; }
.k-diff .dl { background: #fde7ea; color: #8f1d31; }
.k-diff .ad { background: #dcf3e6; color: #17603c; }
.x-ctx-a .k-term { position: relative; font: inherit; color: var(--rx-violet); background: none; border: 0; padding: 0 .1em; border-radius: 3px; cursor: pointer; text-decoration: underline dotted; text-underline-offset: .2em; transition: background .3s; }
.x-ctx-a .k-cur { left: 55%; top: 55%; }
.oc-opt:is(:hover, :focus-within, .is-hot) .x-ctx-a .k-term { background: #e6dcf5; }
.oc-opt:is(:hover, :focus-within, .is-hot) .x-ctx-a .k-cur { animation: oc-cur .9s var(--rx-ease) both; }
.k-pop { position: relative; margin-top: .15rem; padding: .55rem .7rem; border-radius: 10px; background: #fffdf8; border: 1px solid var(--rx-line); box-shadow: 0 14px 24px -16px rgba(34, 18, 56, .55); transform-origin: 30% 0; transition: transform .3s var(--rx-ease), opacity .25s; }
.k-pop::before { content: ""; position: absolute; left: 30%; top: -6px; width: 10px; height: 10px; background: #fffdf8; border: solid var(--rx-line); border-width: 1px 0 0 1px; transform: rotate(45deg); }
.k-pop p:first-child { display: flex; align-items: center; gap: .4rem; }
.k-pop b { font-family: var(--rx-display); font-size: .95rem; }
.k-pop p + p { margin: .15rem 0 .3rem; font-size: .74rem; color: var(--rx-soft); }
.k-pop small { font-size: .6rem; font-weight: 700; color: var(--rx-violet); }
.oc-opt:is(:hover, :focus-within, .is-hot) .x-ctx-a:not(.is-shut) .k-pop { animation: oc-popin .45s var(--rx-ease) .55s both; }
.k-stack { position: absolute; right: .8rem; bottom: .8rem; display: flex; flex-direction: column; align-items: flex-end; gap: .3rem; }
.k-stack > span { display: flex; align-items: center; gap: .35rem; }
.k-stack em { padding: .12rem .45rem; border-radius: 999px; background: var(--rx-ink); color: #fff; font-style: normal; font-size: .6rem; font-weight: 700; }
.k-stack > span > b svg { width: 13px; height: 13px; }
.k-stack > span > b { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 1px solid var(--rx-line); font-size: .66rem; font-weight: 800; }
.k-fab { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--rx-violet); color: #fff; box-shadow: 0 8px 16px -8px rgba(91, 33, 182, .8); }
.x-share-a .k-skel { margin-right: 6.5rem; }
.k-dl li { display: flex; align-items: center; gap: .45rem; padding: .36rem 0; border-top: 1px solid var(--rx-line); font-size: .74rem; }
.k-dl li:first-child { border-top: 0; }
.k-dl li span { flex: 1; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.k-view { display: inline-block; font-size: .62rem; font-weight: 700; color: var(--rx-violet); }
.k-viewer { position: absolute; top: .7rem; right: .7rem; bottom: .7rem; width: 54%; display: flex; flex-direction: column; gap: .35rem; padding: .5rem; border-radius: 8px; background: #3a3342; box-shadow: -12px 0 24px -16px rgba(0, 0, 0, .55); transform: translateX(118%); transition: transform .5s var(--rx-ease); }
.k-pdfpage { flex: 1; display: flex; flex-direction: column; gap: .3rem; padding: .55rem; border-radius: 3px; background: #fff; }
.k-pdfpage b { font-family: var(--rx-display); font-size: .82rem; }
.k-pdfpage span { font-size: .56rem; color: var(--rx-soft); margin-bottom: .2rem; }
.k-pdfpage i { display: block; height: 3px; border-radius: 2px; background: var(--rx-paper-2); }
.k-viewer small { color: #e9e3f5; font-size: .54rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oc-opt:is(:hover, :focus-within, .is-hot) .x-portal-b .k-viewer { transform: none; transition-delay: .4s; }
.oc-opt:is(:hover, :focus-within, .is-hot) .x-portal-b li:first-child .k-view { animation: oc-press .4s .15s; }
.k-gcard { position: absolute; inset: 0 0 1.5rem; display: flex; flex-direction: column; gap: .4rem; padding: .7rem .8rem; border-radius: 12px; background: #1d1526; color: #fff; box-shadow: 0 10px 20px -14px rgba(0, 0, 0, .6); }
.k-gcard.solo { position: relative; inset: auto; flex: 1; }
.k-gcard small { font-size: .6rem; font-weight: 700; color: #c4a6ff; }
.k-gcard p { font-family: var(--rx-display); font-weight: 500; font-size: 1.04rem; line-height: 1.2; }
.k-2 { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; }
.k-2 span { display: block; padding: .36rem; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .25); text-align: center; font-size: .7rem; font-weight: 700; }
.k-2 .t { background: #fff; border-color: #fff; color: #1d1526; }
.k-ch4 { display: grid; grid-template-columns: 1fr 1fr; gap: .32rem .5rem; }
.k-ch4 li { display: flex; align-items: center; gap: .4rem; font-size: .72rem; }
.k-ch4 i { flex: none; width: 14px; height: 14px; display: grid; place-items: center; border-radius: 4px; border: 1.5px solid rgba(255, 255, 255, .5); }
.k-ch4 .on i { background: #fff; border-color: #fff; }
.k-ch4 i b { display: block; width: 4px; height: 7px; margin-top: -2px; border: solid #1d1526; border-width: 0 1.6px 1.6px 0; transform: rotate(40deg); }
.k-big { font-size: .7rem; color: var(--rx-soft); }
.k-big b { font-family: var(--rx-display); font-size: 1.35rem; color: var(--rx-ink); margin-right: .2rem; }
.k-chart { display: block; width: 100%; height: auto; overflow: visible; }
.k-obs { fill: none; stroke: var(--rx-ink); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.k-fband { fill: rgba(91, 33, 182, .16); }
.k-fline { fill: none; stroke: var(--rx-violet); stroke-width: 1.6; stroke-dasharray: 4 3; }
.k-now { stroke: var(--rx-line); stroke-width: 1; stroke-dasharray: 2 3; }
.k-fc { transform-box: fill-box; transform-origin: left center; }
.k-land { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .45rem; padding: .7rem .6rem .45rem; border-radius: 8px; background: #17111f; }
.k-land > div { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.k-b5 { flex: 1; display: flex; align-items: flex-end; gap: 2px; }
.k-b5 i { flex: 1; border-radius: 2px 2px 0 0; background: linear-gradient(#9db8ff, #4a6fe0); }
.k-b5 i.n { background: linear-gradient(#ffa3b0, #d8435c); }
.k-land span { font-size: .54rem; color: rgba(255, 255, 255, .7); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.x-ai-b .k-note { font-size: .6rem; }
.k-props li { display: grid; grid-template-columns: 1fr 2.8rem 2.7rem; gap: .4rem; align-items: center; padding: .3rem 0; border-top: 1px solid var(--rx-line); font-size: .7rem; }
.k-props li:first-child { border-top: 0; }
.k-props li > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.k-props em { font-style: normal; font-family: var(--mono); font-size: .56rem; color: var(--rx-violet); }
.k-props .k-tag { justify-self: end; }
.k-simbar { position: relative; height: 6px; border-radius: 3px; background: var(--rx-paper-2); }
.k-simbar s { position: absolute; left: 0; top: 0; bottom: 0; border-radius: inherit; background: var(--rx-violet); }
.k-simbar u { position: absolute; left: 42%; top: -3px; bottom: -3px; width: 1.5px; background: var(--rx-ink); }
.k-tbl .k-tag { justify-self: start; }
.k-gaprow { color: #b4233c; }
.k-tag.k-empty { background: transparent; border-style: dashed; border-color: #b4233c; color: #b4233c; }
.k-oldv { color: #8f1d31; text-decoration: line-through #8f1d31 1.5px !important; }
.k-newv { color: #17603c; font-weight: 600; }
.k-thumb { aspect-ratio: 1200 / 630; display: flex; align-items: flex-end; padding: .4rem .45rem; border-radius: 6px; overflow: hidden; color: #fff; background: radial-gradient(circle at 85% 10%, #8b5cf6, transparent 55%), linear-gradient(135deg, #2a1650, var(--rx-violet)); }
.k-thumb b { display: block; font-family: var(--rx-display); font-size: var(--fs, .55rem); line-height: 1.04; letter-spacing: -.015em; transform-origin: left bottom; }
.k-pages li { display: grid; grid-template-columns: minmax(0, 1fr) 5.6rem; gap: .6rem; align-items: center; padding: .32rem 0; border-top: 1px solid var(--rx-line); }
.k-pages li:first-child { border-top: 0; }
.k-pages li > span { min-width: 0; font-family: var(--mono); font-size: .58rem; color: var(--rx-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.k-pages li > span b { display: block; font-family: var(--rx-body); font-size: .74rem; font-weight: 600; color: var(--rx-ink); }
.k-pages .k-thumb { padding: .25rem .3rem; }
.k-pages .k-thumb b { font-size: .5rem; }
.k-drill li { position: relative; display: flex; align-items: center; gap: .5rem; margin-left: calc(var(--lv) * .95rem); padding: .32rem .5rem; border-radius: 6px; font-size: .72rem; }
.k-drill li + li::before { content: ""; position: absolute; left: -.6rem; top: -3px; width: .5rem; height: 60%; border-left: 1.5px solid var(--rx-line); border-bottom: 1.5px solid var(--rx-line); border-bottom-left-radius: 4px; }
.k-drill li > span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.k-drill li + li > span { font-family: var(--mono); font-size: .64rem; }
.k-drill b { color: #b4233c; font-variant-numeric: tabular-nums; }
.k-drill li.on { background: #fff; box-shadow: inset 0 0 0 1px var(--rx-violet); }
.k-ba { display: flex; flex-direction: column; gap: .35rem; padding: .45rem .55rem; border-radius: 8px; background: #fff; border: 1px solid var(--rx-line); }
.k-ba p { font-size: .8rem; line-height: 1.3; }
.k-ba small { display: block; font-size: .58rem; font-weight: 700; color: var(--rx-soft); }
.k-ba .k-oldv { text-decoration-thickness: 1.5px; }
@media (prefers-reduced-motion: reduce) { .oc-opt *, .oc-opt *::before, .oc-opt *::after { animation: none !important; transition-duration: 0s !important; transition-delay: 0s !important; } }
@media (prefers-reduced-motion: reduce) { .oc-opt *, .oc-opt *::before, .oc-opt *::after { animation: none !important; transition-duration: 0s !important; transition-delay: 0s !important; } }
.x-dl-b { gap: .4rem; } .x-dl-b .k-ba { padding: .35rem .5rem; gap: .2rem; } .x-dl-b .k-ba p { font-size: .74rem; } .x-dl-b .k-ba s { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .x-dl-b .k-kv > div { padding: .18rem 0; } .x-dl-b .k-head small, .x-dl-b .k-id { white-space: nowrap; }
.x-og-f .k-pages li { padding: .26rem 0; }

/* Motion */
@keyframes oc-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes oc-l { from { opacity: 0; transform: translateX(-12px); } }
@keyframes oc-pop { 0% { opacity: 0; transform: scale(0); } 60% { opacity: 1; transform: scale(1.18); } 100% { transform: none; } }
@keyframes oc-wipe { from { clip-path: inset(0 100% 0 0); } }
@keyframes oc-gx { from { transform: scaleX(0); } }
@keyframes oc-gy { from { transform: scaleY(0); } }
@keyframes oc-draw { from { stroke-dashoffset: 1; } }
@keyframes oc-press { 40% { transform: scale(.9); filter: brightness(1.3); } }
@keyframes oc-fade { from { opacity: 0; } }
@keyframes oc-render { from { clip-path: inset(0 0 100% 0); } }
@keyframes oc-flash { 45% { background: rgba(196, 166, 255, .4); color: #fff; } }
@keyframes oc-strike { from { text-decoration-color: transparent; color: var(--rx-ink); } }
@keyframes oc-rise { from { opacity: 0; transform: translateY(var(--y, 30px)) scale(.5); } }
@keyframes oc-sweep { 0% { transform: scaleX(0); opacity: 1; } 75% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
@keyframes oc-cur { 0% { opacity: 0; transform: translate(90px, 70px); } 12% { opacity: 1; } 55% { transform: none; } 64% { transform: scale(.8); } 74% { transform: none; opacity: 1; } 100% { opacity: 0; } }
@keyframes oc-insert { 0% { max-height: 0; opacity: 0; background-color: rgba(196, 166, 255, .5); } 40% { max-height: 8em; opacity: 1; background-color: rgba(196, 166, 255, .45); } 100% { max-height: 8em; } }
@keyframes oc-popin { from { opacity: 0; transform: scale(.92) translateY(-6px); } }
