/* Tutorial blocks v2 — new block designs (Claude). Builds on the .tp card in tutorial-panel-v2.css
   and only uses its tokens (--ink, --muted, --bg, --line, --tp-*), so light/dark follow the site.
   Rules sit under :is(#main,body) .tp so they outrank the shell's #main button/textarea defaults. */

:is(#main,body) .tp{--tv-radius:16px;--tv-arrow:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12h16M13 6l6 6-6 6'/%3E%3C/svg%3E")}

/* Shared bits */
:is(#main,body) .tp .tv-ui{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
:is(#main,body) .tp .tv-tag{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;border-radius:999px;background:var(--tp-purple-soft);color:var(--tp-purple);font-size:11px;font-weight:600;letter-spacing:.02em}
:is(#main,body) .tp .tv-tag.is-plain{background:var(--tp-soft);color:var(--muted)}
:is(#main,body) .tp .tv-ic{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:12px;background:var(--tp-purple-soft);color:var(--tp-purple)}
:is(#main,body) .tp .tv-ic svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
:is(#main,body) .tp .tv-chev{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;color:var(--muted)}
:is(#main,body) .tp .tv-row-btn{all:unset;box-sizing:border-box;display:flex;align-items:center;gap:12px;width:100%;padding:12px 14px;border:1px solid var(--tp-hair);border-radius:var(--tv-radius);background:var(--bg);color:var(--ink);cursor:pointer;transition:border-color .15s,background .15s}
:is(#main,body) .tp .tv-row-btn:hover{border-color:color-mix(in srgb,var(--tp-purple) 45%,var(--tp-hair))}
:is(#main,body) .tp .tv-row-btn:focus-visible{outline:2px solid var(--tp-purple);outline-offset:2px}
:is(#main,body) .tp .tv-row-btn>span:not(.tv-ic){flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
:is(#main,body) .tp .tv-row-btn b{font-size:15px;font-weight:600;line-height:1.35}
:is(#main,body) .tp .tv-row-btn small{font-size:12px;color:var(--muted);line-height:1.4}
:is(#main,body) .tp .tv-note{margin:10px 0 0;font-size:12.5px;color:var(--tp-warn)}
:is(#main,body) .tp .tv-tip{margin:10px 0 0;font-size:12px;line-height:1.5;color:var(--muted)}
:is(#main,body) .tp .tv-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
:is(#main,body) .tp .tv-done-line{display:flex;align-items:center;gap:6px;margin:10px 0 0;font-size:13px;color:var(--tp-green);font-weight:600}
:is(#main,body) .tp .tv-done-line .tv-ui{width:16px;height:16px;stroke-width:2.4}
/* Blocks embedded in blog posts. Blog pages don't load tutorial-panel-v2.css, so the card and its tokens are set here. */
:is(#main,body) .tp:is([data-v2-blog],.tv-embed){--tp-purple:#7532d6;--tp-purple-soft:color-mix(in srgb,#7532d6 10%,var(--bg));--tp-green:#3f8f0d;--tp-green-bg:#eef8e6;--tp-warn:#c2410c;--tp-warn-bg:#fff2ea;--tp-soft:color-mix(in srgb,var(--ink) 4%,var(--bg));--tp-hair:color-mix(in srgb,var(--ink) 10%,var(--bg));display:block;position:relative;margin:28px 0;border:1px solid var(--line);border-radius:20px;background:var(--bg);color:var(--ink);font-variant-numeric:tabular-nums}
:is(#main,body) .tp:is([data-v2-blog],.tv-embed) .tp-body{padding:22px}
:is(#main,body) .tp:is([data-v2-blog],.tv-embed) .tp-kicker{margin:0 0 6px;font-size:12px;font-weight:600;letter-spacing:.02em;color:var(--tp-purple)}
:is(#main,body) .tp:is([data-v2-blog],.tv-embed) .tp-title{margin:0 0 14px;font-size:19px;font-weight:700;line-height:1.35;letter-spacing:-.01em}
:is(#main,body) .tp:is([data-v2-blog],.tv-embed):has(> .tp-body > .tv-cta:only-child){border:0;background:none}
:is(#main,body) .tp:is([data-v2-blog],.tv-embed):has(> .tp-body > .tv-cta:only-child) .tp-body{padding:0}

/* Summary card (the article opens in the drawer) */
:is(#main,body) .tp .tv-points{list-style:none;margin:0 0 14px;padding:0;display:flex;flex-direction:column;gap:10px;counter-reset:pt}
:is(#main,body) .tp .tv-points li{position:relative;padding:12px 14px 12px 44px;border-radius:var(--tv-radius);background:var(--tp-soft);font-size:15px;line-height:1.55;counter-increment:pt}
:is(#main,body) .tp .tv-points li::before{content:counter(pt);position:absolute;left:14px;top:13px;display:grid;place-items:center;width:20px;height:20px;border-radius:999px;background:var(--tp-purple);color:var(--bg);font-size:12px;font-weight:700}
:is(#main,body) .tp .tv-points b{font-weight:600;margin-right:.4em}

/* Flow: steps joined by arrows; the path up to the chosen step lights up */
:is(#main,body) .tp .tv-flow{list-style:none;margin:0 0 12px;padding:0;display:grid;grid-template-columns:repeat(var(--n,4),minmax(0,1fr));gap:30px}
:is(#main,body) .tp .tv-flow li{position:relative}
:is(#main,body) .tp .tv-flow li:not(:last-child)::after{content:"";position:absolute;top:50%;right:-27px;width:24px;height:24px;margin-top:-12px;background:color-mix(in srgb,var(--ink) 28%,var(--bg));-webkit-mask:var(--tv-arrow) center/contain no-repeat;mask:var(--tv-arrow) center/contain no-repeat;transition:background .2s}
:is(#main,body) .tp .tv-flow li.is-pass::after{background:var(--tp-purple)}
:is(#main,body) .tp .tv-flow button{all:unset;box-sizing:border-box;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:8px;width:100%;height:100%;padding:14px 6px 12px;border-radius:var(--tv-radius);border:1.5px solid var(--tp-hair);background:var(--bg);text-align:center;transition:border-color .15s,background .15s}
:is(#main,body) .tp .tv-flow button:focus-visible{outline:2px solid var(--tp-purple);outline-offset:2px}
:is(#main,body) .tp .tv-flow li.is-lit button{border-color:color-mix(in srgb,var(--tp-purple) 40%,var(--tp-hair))}
:is(#main,body) .tp .tv-flow button[aria-pressed="true"]{border-color:var(--tp-purple);background:var(--tp-purple-soft)}
:is(#main,body) .tp .tv-flow-t{display:flex;flex-direction:column;gap:2px;min-width:0}
:is(#main,body) .tp .tv-flow b{font-size:14.5px;font-weight:600}
:is(#main,body) .tp .tv-flow small{font-size:11.5px;line-height:1.4;color:var(--muted)}
:is(#main,body) .tp .tv-flow-detail{min-height:52px;padding:12px 14px;border-radius:var(--tv-radius);background:var(--tp-soft);font-size:14px;line-height:1.65}
:is(#main,body) .tp .tv-flow-detail b{color:var(--tp-purple)}
:is(#main,body) .tp:not(.is-inline) .tv-flow{grid-template-columns:1fr;gap:24px}
:is(#main,body) .tp:not(.is-inline) .tv-flow li:not(:last-child)::after{top:auto;right:auto;left:30px;bottom:-24px;margin:0;width:22px;height:22px;transform:rotate(90deg)}
:is(#main,body) .tp:not(.is-inline) .tv-flow button{flex-direction:row;text-align:left;gap:12px;padding:10px 12px}

/* Versus: both sides get a fair column; the pick only explains, it never marks wrong */
:is(#main,body) .tp .tv-vs{border:1px solid var(--tp-hair);border-radius:var(--tv-radius);overflow:hidden}
:is(#main,body) .tp .tv-vs-row{display:grid;grid-template-columns:64px minmax(0,1fr) minmax(0,1fr)}
:is(#main,body) .tp .tv-vs-row+.tv-vs-row{border-top:1px solid var(--tp-hair)}
:is(#main,body) .tp .tv-vs-row>*{padding:10px 12px;font-size:13.5px;line-height:1.5}
:is(#main,body) .tp .tv-vs-row>span:first-child{color:var(--muted);font-size:12px;font-weight:600;background:var(--tp-soft)}
:is(#main,body) .tp .tv-vs-row>span:nth-child(3){border-left:1px solid var(--tp-hair)}
:is(#main,body) .tp .tv-vs-head>*{font-weight:700;font-size:14px}
:is(#main,body) .tp .tv-pick{margin:14px 0 0}
:is(#main,body) .tp .tv-pick>p:first-child{margin:0 0 8px;font-size:14px;font-weight:600}
:is(#main,body) .tp .tv-pick>div{display:flex;flex-wrap:wrap;gap:8px}
:is(#main,body) .tp .tv-pick button{all:unset;cursor:pointer;padding:9px 14px;border-radius:999px;border:1px solid var(--tp-hair);background:var(--bg);font-size:14px}
:is(#main,body) .tp .tv-pick button:focus-visible{outline:2px solid var(--tp-purple);outline-offset:2px}
:is(#main,body) .tp .tv-pick button[aria-pressed="true"]{border-color:var(--tp-purple);background:var(--tp-purple-soft);color:var(--tp-purple);font-weight:600}
:is(#main,body) .tp .tv-says{margin:10px 0 0;padding:12px 14px;border-radius:12px;background:var(--tp-purple-soft);font-size:14px;line-height:1.65}
:is(#main,body) .tp:not(.is-inline) .tv-vs-row{grid-template-columns:52px minmax(0,1fr) minmax(0,1fr)}
:is(#main,body) .tp:not(.is-inline) .tv-vs-row>*{padding:9px 8px;font-size:12.5px}

/* Tool round trip */
:is(#main,body) .tp .tv-tool{border:1px solid var(--tp-hair);border-radius:var(--tv-radius);padding:14px}
:is(#main,body) .tp .tv-tool-head{display:flex;align-items:center;gap:12px;margin:0 0 12px}
:is(#main,body) .tp .tv-tool-head b{display:block;font-size:15px;font-weight:600}
:is(#main,body) .tp .tv-tool-head small{font-size:12px;color:var(--muted)}
:is(#main,body) .tp .tv-chips{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 12px}
:is(#main,body) .tp .tv-chips span{padding:6px 10px;border-radius:10px;background:var(--tp-soft);font-size:13px;color:var(--muted)}
:is(#main,body) .tp .tv-chips b{color:var(--ink);font-variant-numeric:tabular-nums}
:is(#main,body) .tp .tv-go{all:unset;box-sizing:border-box;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:12px;border-radius:12px;background:var(--tp-purple);color:var(--bg);font-size:15px;font-weight:600}
:is(#main,body) .tp .tv-go:focus-visible{outline:2px solid var(--tp-purple);outline-offset:2px}
:is(#main,body) .tp .tv-go[aria-busy="true"]{opacity:.7;cursor:progress}
:is(#main,body) .tp .tv-return{display:flex;align-items:center;gap:12px;margin:12px 0 0;padding:12px 14px;border-radius:12px;background:var(--tp-green-bg);color:var(--ink)}
:is(#main,body) .tp .tv-return .tv-ic{background:color-mix(in srgb,var(--tp-green) 18%,var(--bg));color:var(--tp-green)}
:is(#main,body) .tp .tv-return b{display:block;font-size:14px}
:is(#main,body) .tp .tv-return small{font-size:12.5px;color:var(--muted)}
:is(#main,body) .tp .tv-return strong{color:var(--tp-green);font-variant-numeric:tabular-nums}

/* Save to workbench */
:is(#main,body) .tp .tv-save-card{position:relative;display:flex;gap:12px;align-items:center;padding:12px;border-radius:var(--tv-radius);border:1px solid var(--tp-hair);background:var(--bg);transition:border-color .2s}
:is(#main,body) .tp .tv-thumb{flex:none;width:56px;height:56px;border-radius:12px;background:var(--tp-soft);display:grid;place-items:center;color:var(--tp-purple)}
:is(#main,body) .tp .tv-thumb svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
:is(#main,body) .tp .tv-save-card b{display:block;font-size:15px;font-weight:600}
:is(#main,body) .tp .tv-save-card small{display:block;font-size:12.5px;color:var(--muted);font-variant-numeric:tabular-nums}
:is(#main,body) .tp .tv-save-card .tv-tag{position:absolute;top:10px;right:10px}
:is(#main,body) .tp .tv-save-card.is-saved{border-color:var(--tp-green)}
:is(#main,body) .tp .tv-save-btn{all:unset;box-sizing:border-box;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px;width:100%;margin:12px 0 0;padding:12px;border-radius:12px;border:1.5px dashed color-mix(in srgb,var(--tp-purple) 55%,var(--tp-hair));background:var(--bg);color:var(--tp-purple);font-size:15px;font-weight:600}
:is(#main,body) .tp .tv-save-btn.is-saved{border-style:solid;border-color:var(--tp-green);color:var(--tp-green);background:var(--tp-green-bg);cursor:default}

/* Live data */
:is(#main,body) .tp .tv-live{border:1px solid var(--tp-hair);border-radius:var(--tv-radius);overflow:hidden}
:is(#main,body) .tp .tv-live header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 14px;border-bottom:1px solid var(--tp-hair)}
:is(#main,body) .tp .tv-live header b{font-size:15px}
:is(#main,body) .tp .tv-live ol{list-style:none;margin:0;padding:0}
:is(#main,body) .tp .tv-live li{display:grid;grid-template-columns:22px minmax(0,1fr) 64px 56px;gap:10px;align-items:center;min-height:50px;padding:10px 14px;font-size:13.5px}
:is(#main,body) .tp .tv-live li+li{border-top:1px solid var(--tp-hair)}
:is(#main,body) .tp .tv-live .tv-rank{font-weight:700;color:var(--tp-purple);font-variant-numeric:tabular-nums}
:is(#main,body) .tp .tv-live .tv-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
:is(#main,body) .tp .tv-live .tv-name small{display:block;color:var(--muted);font-size:11.5px}
:is(#main,body) .tp .tv-live li.is-wait .tv-name i{display:block;width:70%;height:10px;border-radius:5px;background:var(--tp-hair)}
:is(#main,body) .tp .tv-live svg{width:64px;height:24px;overflow:visible}
:is(#main,body) .tp .tv-live svg path{fill:none;stroke:var(--tp-purple);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
:is(#main,body) .tp .tv-live svg path.tv-area{fill:var(--tp-purple-soft);stroke:none}
:is(#main,body) .tp .tv-live .tv-heat{text-align:right;font-weight:600;font-variant-numeric:tabular-nums}
:is(#main,body) .tp .tv-live footer{padding:9px 14px;font-size:11.5px;color:var(--muted);background:var(--tp-soft)}
:is(#main,body) .tp:not(.is-inline) .tv-live li{grid-template-columns:18px minmax(0,1fr) 56px;gap:8px}
:is(#main,body) .tp:not(.is-inline) .tv-live li svg{display:none}

/* Term flip: a deck of cards; the front says plainly that it turns over */
:is(#main,body) .tp .tv-stack{position:relative;isolation:isolate;margin:0 0 20px}
:is(#main,body) .tp .tv-stack::before,:is(#main,body) .tp .tv-stack::after{content:"";position:absolute;border-radius:var(--tv-radius);transition:opacity .3s}
:is(#main,body) .tp .tv-stack::before{inset:9px 10px -9px;z-index:-1;background:color-mix(in srgb,var(--tp-purple) 34%,var(--bg))}
:is(#main,body) .tp .tv-stack::after{inset:18px 22px -18px;z-index:-2;background:color-mix(in srgb,var(--tp-purple) 16%,var(--bg))}
:is(#main,body) .tp .tv-deck:not(.has-more) .tv-stack::before,:is(#main,body) .tp .tv-deck:not(.has-more) .tv-stack::after,:is(#main,body) .tp .tv-deck.is-last .tv-stack::before,:is(#main,body) .tp .tv-deck.is-last .tv-stack::after{opacity:0}
:is(#main,body) .tp .tv-flip{all:unset;box-sizing:border-box;cursor:pointer;position:relative;display:block;width:100%;perspective:1000px}
:is(#main,body) .tp .tv-flip-in{position:relative;display:grid;min-height:170px;transform-style:preserve-3d;transition:transform .55s cubic-bezier(.2,.8,.2,1)}
:is(#main,body) .tp .tv-flip:hover:not([aria-pressed="true"]) .tv-flip-in{transform:rotateY(-9deg) translateY(-2px)}
:is(#main,body) .tp .tv-flip[aria-pressed="true"] .tv-flip-in{transform:rotateY(180deg)}
:is(#main,body) .tp .tv-flip:focus-visible .tv-flip-in{outline:2px solid var(--tp-purple);outline-offset:3px;border-radius:var(--tv-radius)}
:is(#main,body) .tp .tv-face{position:relative;grid-area:1/1;display:flex;flex-direction:column;justify-content:center;gap:8px;padding:20px 20px 58px;border-radius:var(--tv-radius);backface-visibility:hidden;-webkit-backface-visibility:hidden}
:is(#main,body) .tp .tv-front{background:var(--tp-purple);color:var(--bg)}
:is(#main,body) .tp .tv-front b{font-size:27px;font-weight:700;letter-spacing:-.01em}
:is(#main,body) .tp .tv-back{transform:rotateY(180deg);background:var(--bg);border:1.5px solid var(--tp-purple);font-size:15px;line-height:1.65}
:is(#main,body) .tp .tv-back b{color:var(--tp-purple)}
:is(#main,body) .tp .tv-flip-hint{position:absolute;right:14px;bottom:14px;display:inline-flex;align-items:center;gap:6px;padding:7px 13px;border-radius:999px;font-size:13px;font-weight:700}
:is(#main,body) .tp .tv-flip-hint .tv-ui{width:16px;height:16px;stroke-width:2.2}
:is(#main,body) .tp .tv-front .tv-flip-hint{background:var(--bg);color:var(--tp-purple)}
:is(#main,body) .tp .tv-back .tv-flip-hint{background:var(--tp-purple-soft);color:var(--tp-purple)}
:is(#main,body) .tp .tv-deck:not(.is-used) .tv-front .tv-flip-hint{animation:tv-ring 1.9s ease-out infinite}
@keyframes tv-ring{0%{box-shadow:0 0 0 0 color-mix(in srgb,var(--bg) 75%,transparent)}80%,100%{box-shadow:0 0 0 12px color-mix(in srgb,var(--bg) 0%,transparent)}}
:is(#main,body) .tp .tv-deck.is-peek .tv-flip:not([aria-pressed="true"]) .tv-flip-in{animation:tv-peek 1.1s cubic-bezier(.3,.7,.3,1)}
@keyframes tv-peek{0%,100%{transform:none}35%{transform:rotateY(-32deg)}65%{transform:rotateY(8deg)}}
:is(#main,body) .tp .tv-flip-nav{display:flex;align-items:center;justify-content:space-between;gap:12px}
:is(#main,body) .tp .tv-flip-dots{display:flex;align-items:center;gap:6px}
:is(#main,body) .tp .tv-flip-dots button{all:unset;cursor:pointer;width:9px;height:9px;border-radius:999px;background:var(--tp-hair);transition:width .2s,background .2s}
:is(#main,body) .tp .tv-flip-dots button[aria-current="true"]{width:22px;background:var(--tp-purple)}
:is(#main,body) .tp .tv-flip-dots button:focus-visible{outline:2px solid var(--tp-purple);outline-offset:2px}
:is(#main,body) .tp .tv-flip-next{all:unset;cursor:pointer;display:inline-flex;align-items:center;gap:6px;padding:9px 14px;border-radius:999px;background:var(--ink);color:var(--bg);font-size:13.5px;font-weight:600}
:is(#main,body) .tp .tv-flip-next:focus-visible{outline:2px solid var(--tp-purple);outline-offset:2px}
:is(#main,body) .tp .tv-flip-next .tv-ui{width:16px;height:16px}

/* Branch: a fork in the road; every route ends at the same goal */
:is(#main,body) .tp .tv-route{position:relative;display:flex;flex-direction:column;align-items:center;gap:30px;padding:2px 0}
:is(#main,body) .tp .tv-route-node{position:relative;z-index:1;display:inline-flex;align-items:center;gap:8px;padding:9px 16px;border-radius:999px;background:var(--tp-soft);font-size:14px;font-weight:600}
:is(#main,body) .tp .tv-route-node svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8}
:is(#main,body) .tp .tv-route-node.is-goal{background:var(--ink);color:var(--bg)}
:is(#main,body) .tp .tv-pin{width:9px;height:9px;border-radius:999px;background:var(--tp-purple);box-shadow:0 0 0 4px var(--tp-purple-soft)}
:is(#main,body) .tp .tv-route-opts{position:relative;z-index:1;display:grid;grid-template-columns:repeat(var(--n,2),minmax(0,1fr));gap:14px;width:100%}
:is(#main,body) .tp .tv-route-opt{all:unset;box-sizing:border-box;cursor:pointer;display:flex;flex-direction:column;gap:12px;padding:18px 16px 16px;border-radius:20px;border:1.5px solid var(--tp-hair);background:var(--bg);transition:border-color .2s,background .2s,opacity .25s,transform .2s}
:is(#main,body) .tp .tv-route-opt:hover{border-color:color-mix(in srgb,var(--tp-purple) 50%,var(--tp-hair));transform:translateY(-2px)}
:is(#main,body) .tp .tv-route-opt:focus-visible{outline:2px solid var(--tp-purple);outline-offset:2px}
:is(#main,body) .tp .tv-quote{position:relative;padding:14px 0 0;font-size:16.5px;font-weight:600;line-height:1.45}
:is(#main,body) .tp .tv-quote::before{content:"“";position:absolute;top:-12px;left:-3px;font:700 44px/1 Georgia,"Times New Roman",serif;color:var(--tp-purple)}
:is(#main,body) .tp .tv-route-path{font-size:12.5px;font-weight:600;color:var(--tp-purple)}
:is(#main,body) .tp .tv-stops{list-style:none;margin:0;padding:0 0 0 2px;display:flex;flex-direction:column;gap:9px;border-left:2px dashed var(--tp-hair)}
:is(#main,body) .tp .tv-stops li{position:relative;padding:0 0 0 16px;font-size:13px;line-height:1.4;color:var(--muted)}
:is(#main,body) .tp .tv-stops li::before{content:"";position:absolute;left:-7px;top:4px;width:8px;height:8px;border-radius:999px;background:var(--bg);border:2px solid var(--tp-hair)}
:is(#main,body) .tp .tv-route-opt[aria-pressed="true"]{border-color:var(--tp-purple);background:var(--tp-purple-soft)}
:is(#main,body) .tp .tv-route-opt[aria-pressed="true"] .tv-stops{border-left-style:solid;border-left-color:var(--tp-purple)}
:is(#main,body) .tp .tv-route-opt[aria-pressed="true"] .tv-stops li{color:var(--ink)}
:is(#main,body) .tp .tv-route-opt[aria-pressed="true"] .tv-stops li::before{background:var(--tp-purple);border-color:var(--tp-purple)}
:is(#main,body) .tp .tv-route.is-picked .tv-route-opt[aria-pressed="false"]{opacity:.45}
:is(#main,body) .tp .tv-route-lines{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;z-index:0}
:is(#main,body) .tp .tv-rl{fill:none;stroke:color-mix(in srgb,var(--ink) 24%,var(--bg));stroke-width:1.6;stroke-dasharray:4 5}
:is(#main,body) .tp .tv-rl.is-on{stroke:var(--tp-purple);stroke-width:2.4;stroke-dasharray:none}
:is(#main,body) .tp .tv-rl.is-off{opacity:.35}
:is(#main,body) .tp:not(.is-inline) .tv-route{gap:14px}
:is(#main,body) .tp:not(.is-inline) .tv-route-opts{grid-template-columns:1fr;gap:10px}
:is(#main,body) .tp:not(.is-inline) .tv-quote{font-size:15.5px}

/* Sort: drag cards along numbered slots */
:is(#main,body) .tp .tv-scene{margin:0 0 12px;padding:12px 14px;border-radius:12px;background:var(--tp-soft);font-size:14.5px;line-height:1.6}
:is(#main,body) .tp .tv-order{position:relative;padding-left:42px}
:is(#main,body) .tp .tv-rail{list-style:none;margin:0;padding:0;position:absolute;left:0;top:0;bottom:0;width:28px}
:is(#main,body) .tp .tv-rail::before{content:"";position:absolute;left:13px;width:2px;top:var(--rail-a,0px);height:calc(var(--rail-b,0px) - var(--rail-a,0px));background:var(--tp-hair)}
:is(#main,body) .tp .tv-rail li{position:absolute;left:0;width:28px;height:28px;margin-top:-14px;box-sizing:border-box;display:grid;place-items:center;border-radius:999px;background:var(--bg);border:1.5px solid var(--tp-hair);font-size:12.5px;font-weight:700;font-variant-numeric:tabular-nums;color:var(--muted);transition:background .2s,border-color .2s,color .2s}
:is(#main,body) .tp .tv-rail li.is-right{background:var(--tp-green);border-color:var(--tp-green);color:var(--bg)}
:is(#main,body) .tp .tv-rail li.is-wrong{background:var(--tp-warn);border-color:var(--tp-warn);color:var(--bg)}
:is(#main,body) .tp .tv-cards{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
:is(#main,body) .tp .tv-card{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 38px;align-items:center;column-gap:8px;min-height:58px;box-sizing:border-box;padding:8px 6px 8px 16px;border-radius:14px;border:1.5px solid var(--tp-hair);background:var(--bg);font-size:15px;line-height:1.45;cursor:grab;user-select:none;-webkit-user-select:none;transition:transform .2s cubic-bezier(.2,.8,.2,1),border-color .2s,background .2s,box-shadow .2s}
:is(#main,body) .tp .tv-card:hover{border-color:color-mix(in srgb,var(--tp-purple) 40%,var(--tp-hair))}
:is(#main,body) .tp .tv-card:focus-visible{outline:2px solid var(--tp-purple);outline-offset:2px}
:is(#main,body) .tp .tv-card.is-drag{z-index:2;cursor:grabbing;border-color:var(--tp-purple);box-shadow:0 14px 30px color-mix(in srgb,#000 16%,transparent);transition:border-color .2s,box-shadow .2s}
:is(#main,body) .tp .tv-card.is-grab{border-color:var(--tp-purple);box-shadow:0 0 0 3px var(--tp-purple-soft)}
:is(#main,body) .tp .tv-grip{display:grid;place-items:center;width:38px;height:42px;border-radius:10px;color:var(--muted);touch-action:none;cursor:grab}
:is(#main,body) .tp .tv-card:hover .tv-grip,:is(#main,body) .tp .tv-card.is-drag .tv-grip{background:var(--tp-soft);color:var(--ink)}
:is(#main,body) .tp .tv-why{grid-column:1/-1;margin:4px 0 2px;font-size:13px;line-height:1.55;color:var(--muted)}
:is(#main,body) .tp .tv-card.is-right{border-color:var(--tp-green);background:var(--tp-green-bg)}
:is(#main,body) .tp .tv-card.is-wrong{border-color:var(--tp-warn);background:var(--tp-warn-bg)}
:is(#main,body) .tp .tv-cards.is-solved .tv-card{cursor:default}
:is(#main,body) .tp .tv-cards.is-solved .tv-grip{opacity:0}
@media(prefers-reduced-motion:reduce){:is(#main,body) .tp .tv-card{transition:border-color .2s,background .2s}}

/* Match: draw a line from each word to its meaning */
:is(#main,body) .tp .tv-link{position:relative;display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);column-gap:56px}
:is(#main,body) .tp .tv-link-col{position:relative;z-index:1;display:flex;flex-direction:column;gap:10px}
:is(#main,body) .tp .tv-link-item{all:unset;box-sizing:border-box;cursor:pointer;position:relative;display:flex;align-items:center;min-height:52px;padding:10px 14px;border-radius:14px;border:1.5px solid var(--tp-hair);background:var(--bg);font-size:14px;line-height:1.45;transition:border-color .15s,background .15s,box-shadow .15s}
:is(#main,body) .tp .tv-link-item:hover{border-color:color-mix(in srgb,var(--tp-purple) 45%,var(--tp-hair))}
:is(#main,body) .tp .tv-link-item:focus-visible{outline:2px solid var(--tp-purple);outline-offset:2px}
:is(#main,body) .tp .tv-link-item.is-l{font-weight:600;touch-action:none}
:is(#main,body) .tp .tv-dot{position:absolute;top:50%;width:12px;height:12px;margin-top:-6px;box-sizing:border-box;border-radius:999px;background:var(--bg);border:2px solid color-mix(in srgb,var(--ink) 35%,var(--bg));transition:background .15s,border-color .15s}
:is(#main,body) .tp .tv-link-item.is-l .tv-dot{right:-7px}
:is(#main,body) .tp .tv-link-item.is-r .tv-dot{left:-7px}
:is(#main,body) .tp .tv-link-item.is-on .tv-dot{background:var(--tp-purple);border-color:var(--tp-purple)}
:is(#main,body) .tp .tv-link-item[aria-pressed="true"]{border-color:var(--tp-purple);box-shadow:0 0 0 3px var(--tp-purple-soft)}
:is(#main,body) .tp .tv-link-item.is-right{border-color:var(--tp-green);background:var(--tp-green-bg)}
:is(#main,body) .tp .tv-link-item.is-right .tv-dot{background:var(--tp-green);border-color:var(--tp-green)}
:is(#main,body) .tp .tv-link-item.is-wrong{border-color:var(--tp-warn);background:var(--tp-warn-bg)}
:is(#main,body) .tp .tv-link-item.is-wrong .tv-dot{background:var(--tp-warn);border-color:var(--tp-warn)}
:is(#main,body) .tp .tv-link.is-solved .tv-link-item{cursor:default}
:is(#main,body) .tp .tv-link-lines{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;z-index:2}
:is(#main,body) .tp .tv-ln{fill:none;stroke:var(--tp-purple);stroke-width:2.4;stroke-linecap:round}
:is(#main,body) .tp .tv-ln.is-live{stroke-dasharray:5 6;opacity:.8}
:is(#main,body) .tp .tv-ln.is-right{stroke:var(--tp-green)}
:is(#main,body) .tp .tv-ln.is-wrong{stroke:var(--tp-warn)}
:is(#main,body) .tp:not(.is-inline) .tv-link{column-gap:34px;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}
:is(#main,body) .tp:not(.is-inline) .tv-link-item{padding:9px 10px;font-size:13px}

/* Hotspot on a page */
:is(#main,body) .tp .tv-spot{position:relative;padding:12px;border-radius:var(--tv-radius);background:var(--tp-soft)}
:is(#main,body) .tp .tv-mock{display:grid;grid-template-columns:96px minmax(0,1fr);gap:12px;padding:12px;border-radius:14px;background:var(--bg);border:1px solid var(--tp-hair)}
:is(#main,body) .tp .tv-mock-img{aspect-ratio:1;border-radius:10px;background:color-mix(in srgb,var(--tp-purple) 14%,var(--bg))}
:is(#main,body) .tp .tv-mock-lines{display:flex;flex-direction:column;gap:6px;min-width:0}
:is(#main,body) .tp .tv-mock-lines i{display:block;height:9px;border-radius:5px;background:var(--tp-hair)}
:is(#main,body) .tp .tv-mock-lines i:nth-child(2){width:70%}
:is(#main,body) .tp .tv-mock-price{font-size:18px;font-weight:700;font-variant-numeric:tabular-nums}
:is(#main,body) .tp .tv-mock-chart{grid-column:1/-1;height:70px;border-radius:10px;background:var(--tp-soft);position:relative;overflow:hidden}
:is(#main,body) .tp .tv-mock-chart svg{position:absolute;inset:8px 10px;width:calc(100% - 20px);height:calc(100% - 16px)}
:is(#main,body) .tp .tv-mock-chart path{fill:none;stroke:var(--tp-purple);stroke-width:2;stroke-linecap:round}
:is(#main,body) .tp .tv-mock-btns{grid-column:1/-1;display:flex;gap:8px}
:is(#main,body) .tp .tv-mock-btns i{flex:1;height:30px;border-radius:999px;background:var(--tp-hair)}
:is(#main,body) .tp .tv-mock-btns i:first-child{background:var(--ink);opacity:.85}
:is(#main,body) .tp .tv-hot{all:unset;position:absolute;cursor:pointer;border-radius:12px;outline:2px dashed transparent;background:transparent;transition:outline-color .15s,background .15s}
:is(#main,body) .tp .tv-hot:hover,:is(#main,body) .tp .tv-hot:focus-visible{outline-color:color-mix(in srgb,var(--tp-purple) 55%,transparent)}
:is(#main,body) .tp .tv-hot.is-right{outline:2.5px solid var(--tp-green);background:color-mix(in srgb,var(--tp-green) 12%,transparent)}
:is(#main,body) .tp .tv-hot.is-wrong{outline:2.5px solid var(--tp-warn);background:color-mix(in srgb,var(--tp-warn) 10%,transparent)}
:is(#main,body) .tp .tv-spot-say{margin:10px 0 0;min-height:20px;font-size:13.5px;color:var(--muted)}
:is(#main,body) .tp .tv-spot-say.is-right{color:var(--tp-green);font-weight:600}
:is(#main,body) .tp .tv-spot-say.is-wrong{color:var(--tp-warn);font-weight:600}

/* Step player */
:is(#main,body) .tp .tv-player{border-radius:var(--tv-radius);background:var(--tp-soft);padding:12px}
:is(#main,body) .tp .tv-stage{position:relative;aspect-ratio:16/10;max-height:240px;width:100%;border-radius:12px;background:var(--bg);border:1px solid var(--tp-hair);overflow:hidden}
:is(#main,body) .tp .tv-frame{position:absolute;inset:0;padding:14px;display:flex;flex-direction:column;gap:8px;opacity:0;transform:translateY(6px);transition:opacity .35s,transform .35s}
:is(#main,body) .tp .tv-frame.is-on{opacity:1;transform:none}
:is(#main,body) .tp .tv-frame i{display:block;height:10px;border-radius:5px;background:var(--tp-hair)}
:is(#main,body) .tp .tv-fgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;flex:1}
:is(#main,body) .tp .tv-fgrid span{border-radius:10px;background:var(--tp-soft)}
:is(#main,body) .tp .tv-fgrid span.is-hit{outline:2px solid var(--tp-purple);background:var(--tp-purple-soft)}
:is(#main,body) .tp .tv-fdetail{flex:1;display:grid;grid-template-columns:40% 1fr;gap:10px}
:is(#main,body) .tp .tv-fdetail>span{border-radius:10px;background:var(--tp-soft)}
:is(#main,body) .tp .tv-fdetail div{display:flex;flex-direction:column;gap:8px}
:is(#main,body) .tp .tv-fbook{align-self:flex-start;display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;border:1.5px solid var(--tp-hair);font-size:12px;font-weight:600}
:is(#main,body) .tp .tv-fbook.is-hit{border-color:var(--tp-purple);color:var(--tp-purple);background:var(--tp-purple-soft)}
:is(#main,body) .tp .tv-fbook svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2}
:is(#main,body) .tp .tv-fsaved{flex:1;display:flex;flex-direction:column;gap:8px}
:is(#main,body) .tp .tv-fsaved span{display:flex;align-items:center;gap:10px;padding:8px;border-radius:10px;background:var(--tp-soft)}
:is(#main,body) .tp .tv-fsaved span::before{content:"";flex:none;width:26px;height:26px;border-radius:8px;background:var(--tp-hair)}
:is(#main,body) .tp .tv-frame .tv-fsaved span i{flex:1;max-width:60%;height:8px}
:is(#main,body) .tp .tv-fsaved span.is-new{background:var(--tp-purple-soft)}
:is(#main,body) .tp .tv-fsaved span.is-new::before{background:color-mix(in srgb,var(--tp-purple) 30%,var(--bg))}
:is(#main,body) .tp .tv-frame .tv-fsaved span.is-new i{background:color-mix(in srgb,var(--tp-purple) 45%,var(--bg))}
:is(#main,body) .tp .tv-cursor{position:absolute;left:50%;top:40%;width:18px;height:18px;border-radius:999px;background:color-mix(in srgb,var(--ink) 75%,transparent);box-shadow:0 0 0 6px color-mix(in srgb,var(--ink) 12%,transparent);transition:left .5s,top .5s;pointer-events:none}
:is(#main,body) .tp .tv-player-bar{display:flex;align-items:center;gap:10px;margin:10px 0 0}
:is(#main,body) .tp .tv-player-bar button{all:unset;cursor:pointer;display:grid;place-items:center;width:34px;height:34px;border-radius:999px;background:var(--bg);border:1px solid var(--tp-hair)}
:is(#main,body) .tp .tv-player-bar button svg{width:16px;height:16px;fill:currentColor}
:is(#main,body) .tp .tv-dots{flex:1;display:flex;gap:6px;padding:12px 0;cursor:pointer}
:is(#main,body) .tp .tv-dots i{flex:1;height:4px;border-radius:2px;background:var(--tp-hair)}
:is(#main,body) .tp .tv-dots i.is-done{background:var(--tp-purple)}
:is(#main,body) .tp .tv-caption{margin:8px 0 0;font-size:13.5px;font-weight:600}
@media(prefers-reduced-motion:reduce){:is(#main,body) .tp .tv-frame,:is(#main,body) .tp .tv-cursor{transition:none}}

/* Blog CTA (inside a blog article) */
:is(#main,body) .tp .tv-blog{padding:4px 2px}
:is(#main,body) .tp .tv-blog p{margin:0 0 12px;font-size:15px;line-height:1.75;max-width:62ch}
:is(#main,body) .tp .tv-blog .tv-blog-meta{margin:0 0 10px;font-size:12px;color:var(--muted)}
:is(#main,body) .tp .tv-cta{display:flex;align-items:center;gap:14px;margin:6px 0 14px;padding:14px;border-radius:var(--tv-radius);background:var(--tp-purple-soft);border:1px solid color-mix(in srgb,var(--tp-purple) 30%,transparent)}
:is(#main,body) .tp .tv-cta .tv-num{flex:none;display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:var(--tp-purple);color:var(--bg);font-size:15px;font-weight:700;font-variant-numeric:tabular-nums}
:is(#main,body) .tp .tv-cta .tv-num svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8}
:is(#main,body) .tp .tv-cta div{flex:1;min-width:0}
:is(#main,body) .tp .tv-cta b{display:block;font-size:15px;line-height:1.4}
:is(#main,body) .tp .tv-cta small{font-size:12.5px;color:var(--muted)}
:is(#main,body) .tp .tv-cta a{flex:none;padding:9px 14px;border-radius:999px;background:var(--ink);color:var(--bg);font-size:13.5px;font-weight:600;text-decoration:none}
:is(#main,body) .tp:not(.is-inline) .tv-cta{flex-wrap:wrap}
:is(#main,body) .tp:not(.is-inline) .tv-cta a{width:100%;text-align:center}

/* Lesson exits: the article is the big door; tool and workbench sit underneath */
:is(#main,body) .tp .tv-exits{display:flex;flex-direction:column;gap:10px}
:is(#main,body) .tp .tv-blogcard{all:unset;box-sizing:border-box;cursor:pointer;display:grid;grid-template-columns:200px minmax(0,1fr);border-radius:20px;overflow:hidden;border:1.5px solid color-mix(in srgb,var(--tp-purple) 35%,var(--tp-hair));background:var(--bg);transition:transform .2s,box-shadow .2s,border-color .2s}
:is(#main,body) .tp .tv-blogcard:hover{transform:translateY(-2px);border-color:var(--tp-purple);box-shadow:0 14px 30px color-mix(in srgb,var(--tp-purple) 16%,transparent)}
:is(#main,body) .tp .tv-blogcard:focus-visible{outline:2px solid var(--tp-purple);outline-offset:3px}
:is(#main,body) .tp .tv-cover{position:relative;display:grid;place-items:center;min-height:184px;overflow:hidden;color:var(--tp-purple);background:radial-gradient(120% 90% at 20% 15%,color-mix(in srgb,var(--tp-purple) 30%,var(--bg)) 0%,var(--tp-purple-soft) 60%,var(--tp-soft) 100%)}
:is(#main,body) .tp .tv-cover>svg{width:78px;height:78px;fill:none;stroke:currentColor;stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round}
:is(#main,body) .tp .tv-cover::before,:is(#main,body) .tp .tv-cover::after{content:"";position:absolute;border-radius:999px;border:1.5px solid color-mix(in srgb,var(--tp-purple) 24%,transparent)}
:is(#main,body) .tp .tv-cover::before{width:190px;height:190px;right:-80px;bottom:-90px}
:is(#main,body) .tp .tv-cover::after{width:110px;height:110px;left:-44px;top:-52px}
:is(#main,body) .tp .tv-cover-tag{position:absolute;left:14px;top:14px;padding:4px 10px;border-radius:999px;background:var(--bg);color:var(--tp-purple);font-size:12px;font-weight:700}
:is(#main,body) .tp .tv-blogcard-body{display:flex;flex-direction:column;gap:8px;padding:20px 22px}
:is(#main,body) .tp .tv-blogcard-body small{font-size:12.5px;font-weight:600;color:var(--muted)}
:is(#main,body) .tp .tv-blogcard-body b{font-size:21px;line-height:1.3;font-weight:700;letter-spacing:-.01em;text-wrap:balance}
:is(#main,body) .tp .tv-excerpt{font-size:14.5px;line-height:1.65;color:var(--muted)}
:is(#main,body) .tp .tv-read{align-self:flex-start;display:inline-flex;align-items:center;gap:6px;margin-top:4px;padding:10px 16px;border-radius:999px;background:var(--tp-purple);color:var(--bg);font-size:14px;font-weight:700}
:is(#main,body) .tp .tv-read .tv-ui{width:16px;height:16px}
:is(#main,body) .tp .tv-exit-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px}
:is(#main,body) .tp .tv-exits .tv-row-btn.is-done{border-color:var(--tp-green);background:var(--tp-green-bg)}
:is(#main,body) .tp .tv-exits .tv-row-btn.is-done .tv-ic{background:color-mix(in srgb,var(--tp-green) 18%,var(--bg));color:var(--tp-green)}
:is(#main,body) .tp:not(.is-inline) .tv-blogcard{grid-template-columns:1fr}
:is(#main,body) .tp:not(.is-inline) .tv-cover{min-height:120px}
:is(#main,body) .tp:not(.is-inline) .tv-blogcard-body{padding:16px}
:is(#main,body) .tp:not(.is-inline) .tv-blogcard-body b{font-size:18px}
:is(#main,body) .tp:not(.is-inline) .tv-exit-row{grid-template-columns:1fr}

@media(prefers-reduced-motion:reduce){:is(#main,body) .tp .tv-flip-in,:is(#main,body) .tp .tv-blogcard,:is(#main,body) .tp .tv-route-opt{transition:none}:is(#main,body) .tp .tv-deck .tv-front .tv-flip-hint,:is(#main,body) .tp .tv-deck.is-peek .tv-flip .tv-flip-in{animation:none}}

/* Article drawer (lives on <body>, outside .tp, so it carries the tokens it uses) */
.tv-drawer{--tp-purple:#7532d6;--tp-purple-soft:color-mix(in srgb,#7532d6 10%,var(--bg));--tp-soft:color-mix(in srgb,var(--ink) 4%,var(--bg))}
:root[data-theme=dark] .tv-drawer{--tp-purple:#b39cf7;--tp-soft:color-mix(in srgb,var(--ink) 7%,var(--bg))}
.tv-drawer-scrim{position:fixed;inset:0;z-index:90;background:color-mix(in srgb,#000 38%,transparent);opacity:0;pointer-events:none;transition:opacity .25s}
.tv-drawer-scrim.is-open{opacity:1;pointer-events:auto}
.tv-drawer{position:fixed;z-index:91;top:0;right:0;bottom:0;width:min(480px,100%);display:flex;flex-direction:column;background:var(--bg);color:var(--ink);border-left:1px solid var(--line);transform:translateX(100%);visibility:hidden;transition:transform .32s cubic-bezier(.2,.8,.2,1),visibility 0s .32s}
.tv-drawer.is-open{transform:none;visibility:visible;transition:transform .32s cubic-bezier(.2,.8,.2,1)}
.tv-drawer header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;border-bottom:1px solid var(--line)}
.tv-drawer header button{all:unset;cursor:pointer;display:inline-flex;align-items:center;gap:6px;padding:8px 12px;border-radius:999px;background:var(--tp-soft);color:var(--ink);font-size:13px;font-weight:600}
.tv-drawer header button:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.tv-drawer .tv-ui{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.tv-drawer .tv-tag{display:inline-flex;padding:3px 10px;border-radius:999px;background:var(--tp-purple-soft);color:var(--tp-purple);font-size:12px;font-weight:600}
.tv-drawer article{flex:1;overflow:auto;padding:22px 24px 32px}
.tv-drawer .tv-drawer-title{margin:8px 0 14px;font-size:24px;line-height:1.3;font-weight:700;letter-spacing:-.01em;text-wrap:balance}
.tv-drawer article p{margin:0 0 14px;font-size:15.5px;line-height:1.75;max-width:62ch}
.tv-drawer article h2{margin:24px 0 8px;font-size:18px;font-weight:700;line-height:1.4}
.tv-drawer article :is(h3:not(.tv-drawer-title),h4){margin:20px 0 8px;font-size:16px;font-weight:600}
.tv-drawer article :is(ul,ol){margin:0 0 14px;padding-left:20px;font-size:15px;line-height:1.75}
.tv-drawer article img{display:block;max-width:100%;height:auto;margin:8px 0 16px;border-radius:12px}
.tv-drawer footer{padding:14px 20px calc(14px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--line)}
.tv-drawer-done{all:unset;box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:100%;height:48px;border-radius:14px;background:var(--ink);color:var(--bg);font-size:15px;font-weight:700;cursor:pointer}
.tv-drawer-done:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
@media(max-width:640px){.tv-drawer{top:auto;left:0;width:100%;height:88vh;border-left:0;border-top:1px solid var(--line);border-radius:22px 22px 0 0;transform:translateY(100%)}}
@media(prefers-reduced-motion:reduce){.tv-drawer,.tv-drawer-scrim{transition:none}}

/* Review page only */
:is(#main,body) .rv{display:flex;flex-wrap:wrap;align-items:flex-start;gap:10px;margin:0 0 16px;padding:12px;border-radius:16px;background:color-mix(in srgb,var(--ink) 4%,var(--bg))}
:is(#main,body) .rv-seg{display:inline-flex;padding:3px;border-radius:999px;background:var(--bg);border:1px solid var(--line)}
:is(#main,body) .rv-seg button{all:unset;cursor:pointer;padding:7px 14px;border-radius:999px;font-size:13.5px;font-weight:600;color:var(--muted)}
:is(#main,body) .rv-seg button:focus-visible{outline:2px solid #7532d6;outline-offset:1px}
:is(#main,body) .rv-seg button[aria-pressed="true"][data-v="keep"]{background:#58a700;color:#fff}
:is(#main,body) .rv-seg button[aria-pressed="true"][data-v="change"]{background:#7532d6;color:#fff}
:is(#main,body) .rv-seg button[aria-pressed="true"][data-v="drop"]{background:#e8590c;color:#fff}
:is(#main,body) .rv textarea{flex:1;min-width:220px;min-height:38px;height:40px;padding:9px 12px;border-radius:12px;border:1px solid var(--line);background:var(--bg);color:var(--ink);font:inherit;font-size:14px;resize:vertical}
:is(#main,body) .rv-src{display:inline-flex;align-items:center;padding:2px 8px;margin:0 0 0 8px;border-radius:999px;font-size:11px;font-weight:600;vertical-align:middle;background:color-mix(in srgb,var(--ink) 7%,var(--bg));color:var(--muted)}
:is(#main,body) .rv-src.is-new{background:color-mix(in srgb,#7532d6 12%,var(--bg));color:#7532d6}
:is(#main,body) .rv-rev{display:inline-flex;margin:8px 0 0;padding:5px 12px;border-radius:999px;background:color-mix(in srgb,#58a700 14%,var(--bg));color:#3f8f0d;font-size:12.5px;font-weight:600}
:is(#main,body) .rv-bar{position:sticky;top:0;z-index:20;display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 20px;padding:12px 14px;border-radius:16px;background:var(--bg);border:1px solid var(--line);box-shadow:0 6px 18px color-mix(in srgb,#000 6%,transparent)}
:is(#main,body) .rv-bar b{font-variant-numeric:tabular-nums}
:is(#main,body) .rv-bar>span{font-size:13.5px;color:var(--muted)}
:is(#main,body) .rv-bar>button{all:unset;cursor:pointer;margin-left:auto;padding:9px 16px;border-radius:999px;background:var(--ink);color:var(--bg);font-size:13.5px;font-weight:600}
:is(#main,body) .rv-filter{display:inline-flex;gap:4px}
:is(#main,body) .rv-filter button{all:unset;cursor:pointer;padding:6px 12px;border-radius:999px;background:color-mix(in srgb,var(--ink) 6%,var(--bg));color:var(--ink);font-size:13.5px}
:is(#main,body) .rv-filter button[aria-pressed="true"]{background:var(--ink);color:var(--bg)}
:is(#main,body) .rv-group{margin:36px 0 18px;font-size:22px;font-weight:700;letter-spacing:-.01em}
:is(#main,body) .rv-group small{display:block;margin:4px 0 0;font-size:13.5px;font-weight:400;color:var(--muted)}
@media(max-width:640px){:is(#main,body) .rv-bar{gap:8px;padding:8px 10px}:is(#main,body) .rv-bar>span{display:none}:is(#main,body) .rv-filter button{padding:5px 10px}:is(#main,body) .rv-bar>button{padding:7px 12px}}
:root[data-theme=dark] :is(#main,body) .tp:is([data-v2-blog],.tv-embed){--tp-purple:#b39cf7;--tp-green:#7fd24a;--tp-green-bg:#16240d;--tp-warn:#ff9a62;--tp-warn-bg:#2a160c;--tp-soft:color-mix(in srgb,var(--ink) 7%,var(--bg));--tp-hair:color-mix(in srgb,var(--ink) 15%,var(--bg))}
:root[data-theme=dark] :is(#main,body) .rv-src.is-new{background:color-mix(in srgb,#b39cf7 16%,var(--bg));color:#b39cf7}
:root[data-theme=dark] :is(#main,body) .rv-rev{background:color-mix(in srgb,#7fd24a 14%,var(--bg));color:#7fd24a}
