/* workspace-v3 */
/* Homepage workspace. Noto Sans SC subset: see FONT-PROVENANCE.json and OFL.txt. */
@font-face{font-family:'Noto Sans SC Home';src:url('/assets/fonts/noto-sans-sc-home-20261117b.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:optional;unicode-range:U+3000-303F,U+3400-9FFF,U+FF00-FFEF}
:root{color-scheme:dark;--bg:#0a0a0a;--surface:#141415;--raised:#1b1b1d;--ink:#f1f1f2;--muted:#9a9a9f;--subtle:#6f6f75;--page-gutter:48px;--content-offset:314px;--side-left:max(var(--page-gutter),calc((100% - var(--content-offset) - 1270px)/2));--side-width:236px;--content-left:calc(var(--page-gutter) + var(--content-offset));--sans:'Geist','Noto Sans SC Home','PingFang SC','Microsoft YaHei UI',sans-serif;--ease:cubic-bezier(.2,.8,.2,1)}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:35px}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.65 var(--sans);-webkit-font-smoothing:antialiased}button,input{font:inherit}a{color:inherit;text-decoration:none}button{color:inherit;cursor:pointer}button,input,a{-webkit-tap-highlight-color:transparent}button:disabled{cursor:not-allowed}h1,h2,h3,p,figure{margin:0}svg{display:block;flex-shrink:0;width:20px;height:20px}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid #d8d8dc;outline-offset:5px}[hidden]{display:none!important}::selection{background:#e9e9eb;color:#111}*{scrollbar-width:thin;scrollbar-color:#414145 transparent}*::-webkit-scrollbar{width:6px;height:5px}*::-webkit-scrollbar-thumb{background:#414145;border-radius:10px}*::-webkit-scrollbar-track{background:transparent}.skip-link{position:fixed;left:var(--content-left);top:12px;z-index:80;padding:10px 18px;border-radius:8px;background:#eee;color:#111;transform:translateY(-150%)}.skip-link:focus{transform:none}

/* Navigation has its own outer gutter, then a separate inner text alignment. */
.sidebar{position:fixed;left:var(--side-left);top:0;bottom:0;width:var(--side-width);padding:36px 0 25px;z-index:35;display:flex;flex-direction:column;overflow-y:auto;background:var(--bg)}
.sidebar-brand-row{display:flex;align-items:center;margin:0 12px 29px}.brand{display:inline-flex;align-items:center;gap:12px;font-family:'Space Grotesk',var(--sans);font-size:26px;font-weight:650;letter-spacing:-.7px;line-height:1.2;transition:opacity .2s}.brand:hover{opacity:.7}.brand img{display:block;border-radius:50%;flex:none}.brand small{font-family:'Geist',sans-serif;font-size:8px;letter-spacing:1.35px;color:#727279;font-weight:400;display:block;margin-top:8px}.sidebar-intro{display:flex;align-items:center;gap:11px;padding:13px 12px;background:#161618;border-radius:11px;margin:0 0 31px}.workspace-mark{display:grid;place-items:center;width:34px;height:34px;flex:none;border-radius:8px;background:#242427;color:#ccc}.workspace-mark svg{width:17px;height:17px}.sidebar-intro>span:nth-child(2){font-size:13px;font-weight:450;flex:1}.sidebar-intro small{display:block;font-size:10px;font-weight:400;color:#7a7a81;margin-top:3px}.workspace-label{font-family:'Geist Mono',monospace;font-size:8px;color:#626269;letter-spacing:1px}.side-caption{font-size:11px;color:#68686f;letter-spacing:1px;margin:0 17px 13px}.sidebar .sidebar-main-nav{display:flex;flex-direction:column;gap:7px}.sidebar .sidebar-main-nav a{position:relative;display:flex;align-items:center;gap:15px;min-height:53px;padding:0 17px;border-radius:10px;color:#9b9ba2;transition:background .2s,color .2s}.sidebar .sidebar-main-nav a:hover{background:#18181a;color:#eee}.sidebar .sidebar-main-nav a[aria-current]{background:#eeeeef;color:#202023}.sidebar .sidebar-main-nav a svg{width:23px;height:23px;stroke-width:1.5}.sidebar .sidebar-main-nav a span{font-size:16px;font-weight:400;white-space:nowrap}.sidebar .sidebar-main-nav small{font-size:9px;margin-left:auto;white-space:nowrap;color:#5e5e65}.sidebar .sidebar-main-nav a[aria-current] small{color:#707077}.sidebar-bottom{margin-top:auto;padding-top:42px}.sidebar-note{margin:0 16px 29px}.sidebar-note b{font-size:12px;font-weight:500;display:block;color:#bebec5}.sidebar-note p{font-size:11px;color:#696971;line-height:1.95;margin:9px 0 12px}.sidebar-note .text-link{font-size:10px;color:#96969e}.desktop-download{display:flex;align-items:center;gap:10px;padding:13px 16px;min-height:45px;background:#1a1a1d;border-radius:9px;font-size:12px;font-weight:450;color:#d9d9df;transition:background .2s}.desktop-download:hover{background:#29292d}.desktop-download>i{font-size:17px}.desktop-download>svg{width:14px;height:14px;margin-left:auto;color:#8a8a92}.mobile-header,#sidebar-close,.sidebar-backdrop{display:none}

.main{margin-left:var(--content-left);padding:0 var(--page-gutter) 0 0;min-width:0}.module,footer{max-width:1270px;margin:0 auto}.eyebrow{display:block;font:10px/1.6 'Geist',sans-serif;font-weight:450;letter-spacing:1.8px;color:#85858e}.text-link{display:inline-flex;align-items:center;gap:11px;font-size:13px;color:#c5c5cd;transition:color .2s}.text-link svg{width:16px;height:16px;transition:transform .2s}.text-link:hover{color:#fff}.text-link:hover svg{transform:translateX(4px)}
.home-hero{padding:39px 0 26px}.hero-topline{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:32px}.hero-topline .eyebrow{display:flex;align-items:center;gap:9px;font-size:9px;letter-spacing:1.8px}.hero-topline i{display:block;width:4px;height:4px;background:#aaaab2;border-radius:50%}.hero-body{display:grid;grid-template-columns:minmax(0,1fr) 240px;align-items:center;gap:15px;min-height:308px;padding:25px 0 12px}.hero-copy h1{font-size:clamp(32px,2.8vw,47px);line-height:1.45;font-weight:580;letter-spacing:-1.5px;text-wrap:balance}.hero-copy h1 span{color:#8c8c94;font-weight:430}.hero-copy p{font-size:14px;line-height:1.95;color:#8f8f99;margin-top:17px}.hero-actions{display:flex;align-items:center;gap:18px;margin-top:23px}.hero-actions>span{color:#60606b;font-size:10px}.button{display:inline-flex;align-items:center;justify-content:center;gap:14px;border:0;background:#212124;color:#e9e9ee;min-height:43px;padding:11px 20px;border-radius:8px;font-size:12px;line-height:1.5;transition:transform .22s,background .22s}.button:hover{transform:translateY(-2px);background:#303035}.button svg{width:16px;height:16px}.primary{background:#ededf0;color:#1a1a20;font-weight:500}.primary:hover{background:#fff}.hero-art{height:266px;position:relative;isolation:isolate;overflow:clip}

.favorites{padding:15px 0 21px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:24px}.section-heading h2{font-size:25px;font-weight:520;letter-spacing:-.7px;line-height:1.5;margin-top:10px}.favorites .section-heading h2{font-size:22px;margin-top:0}.section-heading h2 span{font-size:12px;font-weight:400;color:#6f6f7c;letter-spacing:0;margin-left:15px}.section-heading>div>p{font-size:13px;line-height:1.9;color:#84848f;margin-top:12px}.quiet-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:32px;border:0;background:transparent;padding:5px 0;color:#91919d;font-size:12px;white-space:nowrap;transition:color .2s}.quiet-button:hover{color:#fff}.quiet-button svg{width:15px;height:15px}.favorite-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:19px 0 18px}.favorite-toolbar [role=tablist]{display:flex;gap:3px;max-width:100%;overflow-x:auto}.favorite-tab{border:0;background:transparent;color:#7b7b87;padding:6px 13px;border-radius:6px;min-height:32px;font-size:11px;white-space:nowrap;font-weight:400;transition:color .2s,background .2s}.favorite-tab[aria-selected=true]{background:#242428;color:#e5e5ee}.favorite-tab:hover{background:#1b1b20;color:#ddd}.favorite-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.favorite-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;min-width:0;min-height:132px;gap:16px;padding:19px 18px 17px;background:#161619;border:0;border-radius:13px;transition:background .2s,transform .2s,box-shadow .2s}.favorite-card>.ph{font-size:24px;color:#9e9eaa;line-height:1.1}.favorite-card>div{min-width:0;max-width:100%}.favorite-card h3{font-size:13px;line-height:1.5;font-weight:450;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;letter-spacing:0}.favorite-card p{font-size:10px;color:#777785;margin-top:5px}.favorite-card>svg{position:absolute;right:17px;top:22px;width:15px;height:15px;color:#555562;transition:transform .2s}.favorite-card:hover{background:#202025;transform:translateY(-4px);box-shadow:0 16px 30px #0003}.favorite-card:hover>svg{transform:translateX(3px);color:#b5b5c0}.favorite-add{color:#999;justify-content:center;align-items:center;font-size:12px}.storage-status{font-size:10px;line-height:1.6;margin-top:16px;min-height:16px;color:#61616e}

.section-space{padding:74px 0}.structured{padding-top:63px}.structured .section-heading h2{font-size:28px;line-height:1.5}
.why-section,.processing-section{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:50px;align-items:start}.why-section{padding:45px 35px;background:#131316;border-radius:17px;margin:17px 0 25px}.why-section h2,.processing-section h2,.start-section h2{font-size:clamp(27px,2.6vw,39px);line-height:1.5;font-weight:540;letter-spacing:-1px;margin:19px 0 26px}.why-section h2 span,.processing-section h2 span,.start-section h2 span{color:#6f6f7c;font-weight:430}.why-section .text-link{font-size:12px}.why-copy{padding-top:3px}.why-copy p{font-size:13px;line-height:2;color:#83838f}.why-copy .why-lead{font-size:16px;line-height:1.9;font-weight:450;color:#c5c5d0;margin-bottom:16px}.principles{display:flex;flex-direction:column;gap:21px;margin-top:28px}.principles>div{display:grid;grid-template-columns:20px 1fr;gap:3px 10px}.principles b{font:9px/2 'Geist Mono',monospace;font-weight:400;color:#595967;grid-row:span 2}.principles h3{font-size:12px;font-weight:450;color:#d0d0dc}.principles p{font-size:11px;line-height:1.9}
.processing-section{align-items:center;padding-top:80px;gap:45px}.processing-section>div>p{font-size:13px;color:#92929e;line-height:1.95}.processing-points{display:flex;flex-direction:column;gap:23px;list-style:none;padding:0;margin:26px 0 29px}.processing-points li{display:flex;align-items:flex-start;gap:14px}.processing-points i{display:grid;place-items:center;flex-shrink:0;width:37px;height:37px;background:#1b1b20;color:#9696a4;border-radius:10px;font-size:20px}.processing-points h3{font-size:13px;font-weight:450;margin-bottom:5px}.processing-points p{font-size:11px;color:#7c7c8a;line-height:1.9}.desktop-preview{min-width:0;position:relative;transform:perspective(1000px) rotateY(-5deg);padding-left:5px}.preview-frame{background:#16161b;padding:7px;border-radius:12px;box-shadow:0 25px 70px #0005}.preview-frame img{display:block;width:100%;height:auto;border-radius:7px;filter:grayscale(1)}.desktop-preview figcaption{font-size:10px;color:#616171;text-align:center;margin-top:21px}.start-section{text-align:center;padding:66px 0 80px}.start-section h2{font-size:40px;margin:16px 0 20px}.start-section p{font-size:13px;color:#8e8e9c}.start-section .start-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:29px}.start-section .button{border-radius:99px;padding-left:24px;padding-right:24px}

.section-intro{padding:50px 0 35px}.section-intro h2{font-size:38px;font-weight:530;line-height:1.5;letter-spacing:-1px;margin:14px 0}.section-intro p{font-size:14px;color:#93939f;line-height:1.8}.search{display:flex;align-items:center;gap:13px;background:#17171c;border:1px solid transparent;border-radius:10px;min-height:51px;padding:0 17px;transition:border-color .2s}.search:focus-within{border-color:#6b6b7b}.search>.ph{font-size:20px;color:#7c7c8c}.search input{border:0;background:transparent;color:#dddde8;font:13px var(--sans);width:100%;height:49px;min-width:0;outline:0}.search input:focus-visible{outline:0}.search input::placeholder{color:#68687a}.tools-module #tool-empty{padding:50px 0 80px;text-align:center;color:#9696a8}.feed-more{margin:19px 0 55px}.community-module{min-height:65vh}.community-placeholder{height:250px;display:grid;place-items:center;color:#343442}.community-placeholder svg{width:80px;height:80px;stroke-width:.8}



body:has(dialog[open]){overflow:hidden}

@media(min-width:1680px){:root{--page-gutter:64px;--content-offset:336px;--side-width:248px}.home-hero{padding-top:44px}.hero-body{min-height:330px;grid-template-columns:minmax(0,1fr) 300px;gap:40px}.hero-copy h1{font-size:49px}.hero-art{height:287px}.hero-copy p{font-size:15px}.favorite-card{min-height:148px;padding:22px}.favorite-card h3{font-size:15px}.favorite-card p{font-size:11px}.favorite-card>.ph{font-size:27px}.favorites{padding-top:19px}}
@media(max-width:1230px){:root{--page-gutter:32px;--content-offset:263px;--side-width:218px}.sidebar{padding-top:32px}.sidebar-brand-row{margin-left:7px;margin-right:7px}.brand{font-size:24px;gap:10px}.brand small{font-size:7px;letter-spacing:1px}.sidebar .sidebar-main-nav small{display:none}.sidebar .sidebar-main-nav a{gap:13px;padding-left:17px}.hero-body{grid-template-columns:minmax(0,1fr) 165px;gap:0;min-height:305px}.hero-copy h1{font-size:34px;letter-spacing:-.8px}.hero-copy p{font-size:13px}.hero-actions>span{display:none}.hero-art{height:240px}.favorite-grid{gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}.favorite-card{min-height:91px;flex-direction:row;align-items:center;padding:19px 16px;gap:13px}.favorite-card>svg{position:static;margin-left:auto;flex:none;width:13px}.favorite-card h3{font-size:13px}.favorite-card p{margin-top:4px}.favorites .section-heading h2 span{display:none}.section-heading h2{font-size:23px}.structured .section-heading h2{font-size:25px}.why-section{grid-template-columns:1fr;gap:28px;padding:30px}.why-section h2{margin-bottom:20px}.why-copy .why-lead{font-size:17px}.principles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.principles>div{display:block}.principles h3{margin:7px 0}.processing-section{grid-template-columns:1fr;gap:34px}.desktop-preview{max-width:570px;margin:0 auto;width:100%}.sidebar-note{margin-bottom:24px}.sidebar-bottom{padding-top:30px}}

@media(max-height:800px) and (min-width:761px){.sidebar{padding-top:25px;padding-bottom:20px}.sidebar-brand-row{margin-bottom:23px}.sidebar-intro{margin-bottom:23px;padding-top:11px;padding-bottom:11px}.sidebar .sidebar-main-nav a{min-height:48px}.sidebar .sidebar-main-nav{gap:5px}.sidebar-bottom{padding-top:25px}.sidebar-note{margin-bottom:22px}.sidebar-note p{margin-top:6px;margin-bottom:9px}.home-hero{padding-top:25px}.hero-body{min-height:285px;padding-top:18px}.favorites{padding-top:9px}.favorite-card{min-height:121px}.favorite-toolbar{margin-top:14px;margin-bottom:15px}.storage-status{margin-top:12px}.section-space{padding-top:61px;padding-bottom:61px}}
@media(max-width:760px){:root{--page-gutter:25px;--side-left:0px;--side-width:280px;--content-left:0px}.main{margin-left:0;padding:0 var(--page-gutter)}.mobile-header{display:flex;align-items:center;justify-content:space-between;padding:20px 25px 10px;min-height:72px}.mobile-header .brand{font-size:24px}.mobile-header button{display:grid;place-items:center;background:#1b1b21;border:0;border-radius:9px;width:38px;height:38px}.mobile-header svg{width:22px;height:22px}.sidebar{width:280px;padding:29px 22px 23px;background:#101014;left:0;transform:translateX(-102%);visibility:hidden;transition:transform .25s var(--ease),visibility .25s}.sidebar.is-open{transform:translateX(0);visibility:visible}.sidebar-brand-row{margin:0 5px 25px}.sidebar-brand-row .brand img{width:36px;height:36px}.sidebar-brand-row .brand small{font-size:6px;letter-spacing:.8px}.sidebar-brand-row .brand{font-size:23px}.sidebar-intro{margin-bottom:25px}.sidebar .sidebar-main-nav a{min-height:49px}.sidebar .sidebar-main-nav small{display:block;font-size:8px}.sidebar .sidebar-main-nav a span{font-size:15px}.sidebar .sidebar-main-nav a svg{width:21px;height:21px}.sidebar-bottom{padding-top:30px}.sidebar-note{display:none}#sidebar-close{margin-left:auto;width:28px;height:32px;display:grid;place-items:center;border:0;background:transparent;color:#aaa;font-size:26px;font-weight:300}.sidebar-backdrop:not([hidden]){display:block;position:fixed;inset:0;border:0;background:#0009;backdrop-filter:blur(4px);z-index:30}.home-hero{padding:18px 0 25px}.hero-topline{min-height:24px}.hero-topline .eyebrow{font-size:8px;letter-spacing:1.1px}.hero-body{grid-template-columns:minmax(0,1fr) 170px;min-height:290px;padding-top:23px}.hero-copy h1{font-size:33px}.hero-copy p{font-size:12px}.hero-art{height:235px}.hero-actions{margin-top:20px}.hero-actions>.button{font-size:11px;min-height:40px;padding:10px 17px}.favorites{padding-top:8px}.section-heading h2{font-size:23px}.favorites .section-heading h2{font-size:22px}.favorite-toolbar{margin-top:17px}.favorite-tab{padding:6px 12px}.favorite-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.favorite-card{min-height:100px;gap:12px;padding:19px 15px}.favorite-card h3{font-size:14px}.favorite-card p{font-size:10px}.favorite-card>.ph{font-size:25px}.section-space{padding:58px 0}.structured .section-heading h2{font-size:26px}.section-heading>div>p{font-size:13px}.why-section{padding:32px;margin-top:5px}.why-section h2,.processing-section h2{font-size:32px}.principles{gap:24px}.start-section{padding-top:40px;padding-bottom:60px}.start-section h2{font-size:35px}.section-intro{padding-top:30px}.section-intro h2{font-size:32px}.skip-link{left:25px}body:has(.sidebar.is-open){overflow:hidden}}
@media(max-width:540px){:root{--page-gutter:22px}.mobile-header{padding:17px 22px 8px;min-height:67px}.hero-topline .eyebrow{font-size:7px;letter-spacing:1px}.home-hero{padding-top:19px;padding-bottom:22px}.hero-body{position:relative;display:block;padding:29px 0 0;min-height:0}.hero-copy h1{position:relative;z-index:1;max-width:100%;font-size:29px;line-height:1.5;letter-spacing:-.8px}.hero-copy h1 span{display:inline-block;max-width:100%;font-weight:430}.hero-copy p{font-size:12px;line-height:1.9;margin-top:14px;max-width:295px}.hero-actions{margin-top:18px}.hero-art{position:absolute;right:-4px;top:-33px;width:92px;height:89px;pointer-events:none}.favorites{padding-top:15px}.section-heading{gap:10px;align-items:center}.favorites .section-heading h2{font-size:21px;font-weight:520}.quiet-button{font-size:11px}.favorite-toolbar{gap:7px;margin-top:14px;margin-bottom:14px}.favorite-toolbar [role=tablist]{gap:1px;min-width:0}.favorite-tab{font-size:10px;padding:6px 9px;min-height:30px}.edit-button{font-size:0;flex:none;padding-left:7px}.edit-button svg{width:16px;height:16px}.favorite-grid{gap:9px}.favorite-card{min-height:94px;gap:9px;padding:16px 12px;border-radius:11px}.favorite-card>.ph{font-size:22px}.favorite-card h3{font-size:12px}.favorite-card p{font-size:9px;margin-top:5px}.favorite-card>svg{display:none}.storage-status{font-size:9px;margin-top:13px}.section-space{padding:48px 0}.structured{padding-top:44px}.structured .section-heading{align-items:flex-start}.section-heading>.text-link{display:none}.eyebrow{font-size:8px;letter-spacing:1.25px}.structured .section-heading h2{font-size:25px;line-height:1.6;letter-spacing:-.7px;margin-top:12px}.section-heading>div>p{font-size:12px;line-height:1.9}.why-section{padding:28px 24px;margin-top:2px;gap:24px;border-radius:13px}.why-section h2,.processing-section h2{font-size:28px;letter-spacing:-.7px;margin:13px 0 18px}.why-copy .why-lead{font-size:15px}.why-copy p{font-size:12px}.principles{display:flex;gap:20px}.principles>div{display:grid;grid-template-columns:19px 1fr;gap:4px 8px}.principles h3{margin:0;font-size:12px}.principles p{font-size:11px}.processing-section{gap:33px;padding-top:50px}.processing-section>div>p{font-size:12px}.processing-points p{font-size:11px}.processing-points h3{font-size:12px}.desktop-preview{padding:0;transform:none}.desktop-preview figcaption{font-size:9px}.start-section h2{font-size:32px}.start-section p{font-size:12px}.start-section .start-actions{gap:8px;margin-top:23px}.start-section .button{font-size:11px;padding:10px 16px;min-height:38px}.section-intro{padding:25px 0 25px}.section-intro h2{font-size:29px;line-height:1.5}.section-intro p{font-size:12px}.search{min-height:48px;padding:0 14px}.search input{height:46px;font-size:12px}.feed-more{margin-top:15px;margin-bottom:35px}.community-placeholder{height:190px}.skip-link{left:22px}}
@media(max-width:360px){:root{--page-gutter:18px}.mobile-header{padding-left:18px;padding-right:18px}.hero-copy h1{font-size:27px;letter-spacing:-1px}.hero-copy p{font-size:11px}.favorite-card{padding:13px 10px;min-height:90px;gap:8px}.favorite-card>.ph{font-size:20px}.favorite-card h3{font-size:11px}.favorite-tab{font-size:9px;padding-left:8px;padding-right:8px}.structured .section-heading h2{font-size:23px}.favorites .section-heading h2{font-size:20px}.quiet-button{font-size:10px}}

@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}

/* A self-contained, two-option language switch, separate from the main menu. */
.sidebar .sidebar-intro{display:block;padding:0;background:transparent;border-radius:0}
.sidebar .tk-sidebar-languages{width:100%;min-width:0}
.sidebar .sidebar-locale{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:4px;border:1px solid #ffffff0d;border-radius:15px;padding:4px;margin:0;background:#19191c;white-space:nowrap}
.sidebar .sidebar-locale a{position:relative;display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px!important;min-width:0;padding:0 8px!important;border:0;border-radius:11px!important;background:transparent!important;color:#aaaab2;opacity:1;font-family:inherit;font-size:13px!important;line-height:1.25;font-weight:600;text-decoration:none;transition:background-color .2s,color .2s,transform .16s}
.sidebar .sidebar-locale a svg{display:block;width:17px;height:17px;flex:none;stroke-width:1.7}
.sidebar .sidebar-locale .sidebar-locale-name{font-size:13px;font-weight:600;white-space:nowrap}
.sidebar .sidebar-locale a[aria-current="page"]{background:#f5f5f6!important;color:#151517;box-shadow:0 2px 7px #0002;opacity:1}
.sidebar .sidebar-locale a:not([aria-current="page"]):hover{background:#ffffff0a!important;color:#f3f3f5}
.sidebar .sidebar-locale a:active{transform:scale(.97)}
.sidebar .sidebar-locale a:focus-visible{outline:2px solid #b4b4bd;outline-offset:3px}
@media(prefers-reduced-motion:reduce){.sidebar .sidebar-locale a{transition:none}}

/* hero-companion */
/* Let the scene use the empty column beside the actual headline. */
.hero-body {
  grid-template-columns: minmax(0, max-content) minmax(0, 1fr);
  gap: clamp(20px, 2.2vw, 44px);
}
.hero-copy { max-width: min(47vw, 590px); }
.hero-art.spider-stage {
  position: relative;
  inset: auto;
  align-self: stretch;
  min-width: 0;
  min-height: 315px;
  height: auto;
  width: auto;
  overflow: hidden;
  pointer-events: none;
}
.spider-stage-canvas { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
.spider-wordmark { display: none; }
@media (min-width: 1680px) {
  .hero-art.spider-stage { min-height: 350px; }
}
@media (min-width: 761px) and (max-width: 1230px) {
  .hero-body { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 12px; }
  .hero-art.spider-stage { min-height: 268px; }
}
@media (min-width: 761px) and (max-width: 1000px) {
  .hero-copy h1 { font-size: 30px; }
}
@media (max-width: 760px) {
  .hero-body { grid-template-columns: minmax(0, 1fr) minmax(140px, 30%); gap: 10px; }
  .hero-copy { max-width: none; }
  .hero-art.spider-stage { min-height: 230px; }
}
@media (max-width: 540px) {
  .hero-body { display: block; }
  .hero-art.spider-stage { position: absolute; left: auto; right: 0; top: 10px; width: 116px; height: 134px; min-height: 0; }
  .hero-copy h1 { max-width: calc(100% - 119px); }
  .hero-copy h1 > br { display: none; }
  .hero-copy h1 span { text-wrap: balance; }
  .hero-copy p { position: relative; margin-top: 20px; max-width: none; font-size: 12px; }
  .hero-copy p br { display: none; }
  .hero-actions { margin-top: 16px; }
  .home-hero { padding-bottom: 15px; }
}
@media (max-width: 360px) {
  .hero-art.spider-stage { width: 100px; height: 122px; }
  .hero-copy h1 { max-width: calc(100% - 106px); }
  .hero-copy p { font-size: 11px; }
}

/* The desktop canvas spans the steps and the playground in one coordinate space. */
@media (min-width: 761px) {
  .home-hero .hero-body {
    display: block;
    position: relative;
    padding-top: 44px;
    min-height: 332px;
  }
  .home-hero .hero-art.spider-stage {
    position: absolute;
    inset: 0;
    min-height: 0;
  }
  .home-hero .hero-copy { max-width: none; }
  .home-hero .hero-copy h1 {
    width: fit-content;
    max-width: 76%;
    line-height: 1.38;
    letter-spacing: 0;
  }
  .home-hero .hero-copy h1 > span {
    width: fit-content;
    max-width: 100%;
    margin-inline-start: 0;
  }
  .spider-wordmark {
    position: absolute;
    inset: 0 0 0 var(--play-left, 52%);
    display: flex;
    align-items: center;
    justify-content: center;
    container-type: inline-size;
    overflow: hidden;
    user-select: none;
  }
  html:lang(en) .home-hero .hero-mainline { font-size: .91em; }
  .spider-wordmark::before {
    content: 'ToolKnit';
    font-family: 'Space Grotesk', 'Geist', sans-serif;
    font-weight: 650;
    font-size: 23cqi;
    letter-spacing: 0;
    line-height: 1.04;
    color: var(--watermark, #1e1e23);
  }
  .home-hero .hero-copy p,
  .home-hero .hero-actions { width: fit-content; max-width: 75%; }
}
@media (min-width: 761px) and (max-width: 1080px) {
  .home-hero .hero-copy h1, html:lang(en) .home-hero .hero-copy h1 { font-size: 26px; }
}

/* home-about */
/* Independent Desktop introduction and shared GitHub badge. */
.github-pill{display:inline-flex;align-items:center;gap:8px;min-height:38px;border:1px solid #bdbdc7;padding:8px 12px;border-radius:8px;font-size:11px;white-space:nowrap;transition:background .2s,transform .2s}
.github-pill>svg{width:17px;height:17px}
.github-pill:hover{background:#dcdce3;transform:translateY(-2px)}
.github-star-count{display:flex;align-items:center;gap:5px;margin-left:6px;font:10px 'Geist Mono',monospace}
.github-star-count>svg{width:12px;height:12px}
.github-star-count>strong{font-weight:500}
.desktop-section{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.15fr);gap:46px;align-items:center;padding-top:69px;padding-bottom:62px;scroll-margin-top:35px}
.desktop-copy{min-width:0}
.desktop-copy h2{font-size:clamp(30px,2.6vw,40px);font-weight:540;line-height:1.5;letter-spacing:-1px;margin:18px 0 21px}
.desktop-copy h2>span{color:#85858f;font-weight:430}
.desktop-summary{color:#9696a1;font-size:13px;line-height:1.95;max-width:480px}
.desktop-metrics{display:flex;gap:30px;margin:27px 0}
.desktop-metrics>div{display:flex;flex-direction:column;gap:5px}
.desktop-metrics strong{font:500 25px/1.4 'Space Grotesk',sans-serif;color:#d6d6df;letter-spacing:-.5px}
.desktop-metrics strong>span{font:11px var(--sans);color:#747480;margin-left:5px}
.desktop-metrics>div>span{font-size:10px;color:#6f6f7d}
.desktop-features{display:flex;flex-direction:column;gap:19px;list-style:none;padding:0;margin:25px 0}
.desktop-features li{display:flex;align-items:flex-start;gap:13px}
.desktop-features li>svg{width:22px;height:22px;color:#9c9caa;margin-top:2px}
.desktop-features h3{font-size:12px;font-weight:450;color:#c9c9d4;margin-bottom:5px}
.desktop-features p{font-size:11px;color:#7d7d8b;line-height:1.9}
.desktop-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:29px}
.desktop-actions>.button{font-size:11px;gap:10px;padding:11px 16px}
.desktop-actions>.button>svg{width:15px;height:15px}
.desktop-github{border-color:#34343e;color:#c5c5cf;min-height:43px;padding:10px 13px}
.desktop-github:hover{background:#202027;color:#eee}
.desktop-showcase{min-width:0;align-self:center}
.desktop-image-link{display:block;background:#16161c;border:1px solid #292931;padding:7px;border-radius:14px;box-shadow:0 25px 70px #0005;transform:perspective(1200px) rotateY(-3deg);transition:transform .35s var(--ease),border-color .35s}
.desktop-image-link:hover{transform:perspective(1200px) rotateY(0) translateY(-4px);border-color:#555561}
.desktop-window-label{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 7px 13px;color:#7c7c8b;font:9px 'Geist',sans-serif}
.desktop-window-label>span:first-child{display:flex;gap:5px}
.desktop-window-label i{display:block;width:5px;height:5px;border-radius:50%;background:#51515e}
.desktop-window-label small{font-size:8px;color:#626270}
.desktop-showcase img{display:block;width:100%;height:auto;border-radius:8px;filter:grayscale(1)}
.desktop-showcase figcaption{display:flex;align-items:center;justify-content:flex-end;gap:15px;color:#666676;font-size:9px;line-height:1.9;margin-top:19px}
.desktop-showcase figcaption>a{display:inline-flex;align-items:center;gap:6px;color:#9292a0;white-space:nowrap}
.desktop-showcase figcaption svg{width:12px;height:12px}
@media(min-width:1680px){.desktop-section{gap:65px}
.desktop-summary{font-size:14px}
.desktop-features p{font-size:12px}
.desktop-features h3{font-size:13px}
.desktop-showcase figcaption{font-size:10px}}
@media(max-width:1230px){.desktop-section{grid-template-columns:1fr;gap:38px;padding-top:55px}
.desktop-copy{max-width:680px}
.desktop-summary{max-width:600px}
.desktop-features{flex-direction:row;gap:25px}
.desktop-features li{flex:1}
.desktop-showcase{width:min(100%,720px);margin:0 auto}
.desktop-copy h2{font-size:35px}}
@media(max-width:760px){.desktop-section{padding-top:42px;padding-bottom:40px}
.desktop-copy h2{font-size:33px}
.desktop-features{gap:22px}
.desktop-summary{font-size:13px}
.desktop-metrics{gap:38px}
.desktop-image-link{transform:none}
.desktop-showcase figcaption{margin-top:15px}}
@media(max-width:540px){.github-pill{font-size:10px;padding:8px 10px;gap:6px}
.github-star-count{font-size:9px;margin-left:2px}
.github-pill>svg{width:16px;height:16px}
.desktop-copy h2{font-size:29px;margin-top:15px}
.desktop-summary{font-size:12px}
.desktop-metrics{gap:31px;margin:23px 0}
.desktop-metrics strong{font-size:23px}
.desktop-metrics>div>span{font-size:9px}
.desktop-features{flex-direction:column;gap:18px}
.desktop-features p{font-size:11px}
.desktop-features h3{font-size:12px}
.desktop-actions{gap:10px}
.desktop-actions>.button{font-size:10px;padding:10px 13px}
.desktop-github{min-height:40px}
.desktop-showcase figcaption{align-items:flex-start;font-size:8px;gap:10px}
.desktop-window-label{font-size:8px;padding:6px 4px 11px}
.desktop-image-link{padding:5px;border-radius:11px}}
@media(prefers-reduced-motion:reduce){.desktop-section *{transition:none!important;animation:none!important}
.desktop-image-link{transform:none!important}}

/* home-deck */
/* Five illustrated pages in a single monochrome accordion. */
.about-section{padding-top:22px;padding-bottom:38px}
.about-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:25px;margin-bottom:28px}
.about-intro h2{font-size:29px;font-weight:520;line-height:1.6;letter-spacing:-.65px;margin:12px 0 9px}
.about-intro h2>span{color:#85858f;font-weight:420;margin-left:12px}
.about-intro p{color:#85858f;font-size:13px;line-height:1.9}
.deck-position{flex:none;min-width:94px;padding-bottom:5px;color:#666673}
.deck-position>span{display:flex;align-items:center;justify-content:flex-end;gap:9px;font:10px 'Geist Mono',monospace}
.deck-position b{font-weight:500;color:#d0d0da}.deck-position i{font-style:normal;color:#494954}
.deck-position-bars{display:flex;justify-content:flex-end;gap:4px;margin-top:11px}
.deck-position-bars>i{width:14px;height:3px;background:#303039;border-radius:3px;transition:background .25s,width .35s var(--ease)}
.deck-position-bars>i.is-current{width:23px;background:#c4c4d1}
.story-deck{--deck-rail:78px;--deck-active-rail:58px;--deck-overlap:15px;--deck-width:1030px;display:grid;gap:16px;isolation:isolate}
.deck-card{position:relative;isolation:isolate;display:flex;min-width:0;color:#25252f;background:#efeff3;border-radius:21px;overflow:hidden;border:1px solid #41414b}
.deck-heading{flex:0 0 var(--deck-rail);width:var(--deck-rail);font-size:15px;font-weight:450;min-width:0}
.deck-trigger{display:grid;grid-template-rows:auto auto 1fr auto;justify-items:center;align-items:center;gap:16px;border:0;background:transparent;width:100%;height:100%;padding:26px 0 25px;text-align:center;color:inherit;transition:background .25s,color .25s}
.deck-trigger:focus-visible{outline:2px solid currentColor;outline-offset:-7px;border-radius:19px}
.deck-trigger[aria-disabled=true]{cursor:default}
.deck-number{font:10px 'Geist Mono',monospace;letter-spacing:.4px;color:#858594}
.deck-rail-icon{display:grid;place-items:center;width:30px;height:30px;border:1px solid #ffffff0d;border-radius:9px;background:#ffffff04;transition:background .25s,transform .3s var(--ease)}
.deck-symbol{width:19px;height:19px;opacity:.85}
.deck-rail-label{writing-mode:vertical-rl;text-orientation:mixed;letter-spacing:1.5px;font-size:16px;line-height:1.45;white-space:nowrap;transition:opacity .18s}
.deck-toggle{display:grid;place-items:center;width:27px;height:27px;border:1px solid #ffffff16;border-radius:50%;font-size:19px;font-weight:300;line-height:1;color:#a5a5b6;transition:transform .3s var(--ease),background .25s,color .25s}
.deck-panel-wrap{min-width:0;flex:1}.deck-panel{min-width:0;min-height:0;overflow:hidden}
.deck-content{position:relative;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(190px,.85fr);grid-template-rows:1fr auto;gap:22px 18px;min-height:402px;padding:32px 30px 29px 20px}
.deck-main{min-width:0;align-self:center;position:relative;z-index:1}
.deck-kicker{display:block;font:7.5px/1.8 'Geist',sans-serif;letter-spacing:1.35px;color:#777785;max-width:390px}
.deck-lead{font-size:33px;line-height:1.43;letter-spacing:-1px;font-weight:560;margin:17px 0 14px;text-wrap:balance}
.deck-copy{font-size:12px;line-height:1.95;color:#62626f;max-width:490px;position:relative;z-index:1}
.deck-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:17px}
.deck-tags>span{font-size:9px;line-height:1.7;padding:4px 8px;border:1px solid #d4d4df;border-radius:5px;background:#e6e6ed;color:#6c6c7b}
.deck-visual{display:flex;flex-direction:column;align-items:center;justify-content:center;align-self:center;min-width:0;pointer-events:none;position:relative}
.deck-visual>svg{display:block;width:100%;height:auto;max-width:315px;overflow:visible;color:#444455}
.deck-art-caption{font:6px/1.8 'Geist',sans-serif;letter-spacing:1.2px;color:#8c8c9c;text-align:center;white-space:nowrap;margin-top:0}
.deck-footer{grid-column:1/-1;min-width:0;position:relative;z-index:2;align-self:end}
.deck-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px 23px;margin:0;padding:0}
.deck-primary{background:#282830;color:#f4f4f8;min-height:41px;padding:11px 17px;font-size:11px;border-radius:8px;box-shadow:0 4px 10px #14142412;gap:13px}
.deck-primary:hover{background:#3b3b48;box-shadow:0 9px 18px #14142424;transform:translateY(-2px)}
.deck-primary>svg{width:14px;height:14px;transition:transform .22s var(--ease)}
.deck-primary:hover>svg{transform:translate(2px,-1px)}
.deck-text-link{display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:11px;color:#626272;border:0;background:transparent;padding:10px 0;transition:color .2s}
.deck-text-link>svg{width:14px;height:14px;transition:transform .25s var(--ease)}
.deck-text-link:hover{color:#181822}.deck-text-link:hover>svg{transform:translateX(4px)}
.deck-repo-row{display:flex;align-items:center;flex-wrap:wrap;gap:10px 12px;margin-top:17px;position:relative;z-index:1}
.deck-small{font-size:9px;color:#7d7d8c}
.deck-main .github-pill{font-size:10px;min-height:36px;padding:8px 10px;border-color:#c3c3d0;background:#e6e6ee;gap:6px}
.deck-main .github-pill:hover{background:#dcdce7}.deck-main .github-pill>svg{width:15px;height:15px}
.deck-main .github-star-count{font-size:9px;gap:4px;margin-left:3px}
.contact-email{font-family:'Space Grotesk','Geist',sans-serif;font-size:22px;letter-spacing:-.6px;display:flex;align-items:center;gap:11px;margin-top:17px;width:max-content;max-width:100%}
.contact-email>svg{width:17px;height:17px;transition:transform .2s}.contact-email:hover>svg{transform:translate(3px,-1px)}
.share-address{display:flex;align-items:center;justify-content:space-between;gap:18px;width:max-content;max-width:100%;margin-top:16px;padding:10px 12px;background:#e0e0e9;border:1px solid #d0d0df;border-radius:7px;color:#626275;font:10px 'Geist Mono',monospace}
.share-address>span{font-size:15px;line-height:1}
.deck-feedback{min-height:18px;font-size:10px;color:#686879;margin:9px 0 0;line-height:1.8}
.copy-fallback{width:100%;margin-top:10px;padding:9px 11px;border:1px solid #b8b8c4;border-radius:6px;background:#fff;color:#222;font-size:13px}

.story-deck.is-ready{display:flex;gap:0;min-height:404px;align-items:stretch}
.is-ready .deck-card{flex:0 0 var(--deck-rail);background:var(--closed-surface);color:#bebecb;z-index:var(--card-order);box-shadow:-7px 0 18px #0003;transition:flex-basis .58s var(--ease),flex-grow .58s var(--ease),background .4s,color .35s,border-color .35s}
.is-ready .deck-card+.deck-card{margin-left:calc(-1 * var(--deck-overlap))}
.is-ready .deck-card.is-active{flex:1 0 var(--deck-rail);z-index:6;background:#efeff3;color:#272731;border-color:#efeff3}
.is-ready .deck-heading{transition:width .4s var(--ease),flex-basis .4s var(--ease)}
.is-ready .is-active .deck-heading{flex-basis:var(--deck-active-rail);width:var(--deck-active-rail)}
.is-ready .deck-card:not(.is-active) .deck-trigger:hover{background:#ffffff05;color:#fff}
.is-ready .deck-card:not(.is-active) .deck-trigger:hover .deck-rail-icon{background:#ffffff0c;transform:translateY(-2px)}
.is-ready .deck-card:not(.is-active) .deck-trigger:hover .deck-toggle{background:#ffffff0c;color:#fff;transform:rotate(90deg)}
.is-ready .is-active .deck-number{color:#9191a1}.is-ready .is-active .deck-rail-icon{border-color:transparent;background:transparent;color:#8c8c9e;opacity:.6}
.is-ready .is-active .deck-rail-label{opacity:0}
.is-ready .is-active .deck-toggle{background:transparent;border-color:#cfcfdb;color:#69697d;font-size:17px}
.is-ready .deck-panel-wrap{width:calc(var(--deck-width) - 4 * (var(--deck-rail) - var(--deck-overlap)) - var(--deck-active-rail) - 2px);flex:none}
.is-ready .deck-content{min-height:402px;height:100%}
.is-ready .deck-panel{height:100%;visibility:hidden;opacity:0;transition:opacity .16s}
.is-ready .is-active .deck-panel{visibility:visible;opacity:1;transition:opacity .28s .1s}
.is-ready .deck-main,.is-ready .deck-footer{opacity:0;transform:translateX(8px);transition:opacity .15s,transform .25s var(--ease)}
.is-ready .is-active .deck-main,.is-ready .is-active .deck-footer{opacity:1;transform:none;transition:opacity .3s .13s,transform .45s .1s var(--ease)}
.is-ready .deck-visual{opacity:0;transform:translateY(10px) scale(.96);transition:opacity .15s,transform .25s}
.is-ready .is-active .deck-visual{opacity:1;transform:none;transition:opacity .4s .18s,transform .55s .1s var(--ease)}
.story-deck.is-ready:not(.has-interacted) *{transition:none!important}

@media(min-width:1680px){.story-deck{--deck-rail:84px;--deck-active-rail:62px;--deck-overlap:16px}.story-deck.is-ready{min-height:422px}.is-ready .deck-content{min-height:420px;padding:34px 42px 32px 24px;gap:24px 24px}.deck-lead{font-size:38px;margin-top:19px}.deck-copy{font-size:13px}.deck-kicker{font-size:8px}.deck-tags>span{font-size:10px}.deck-visual>svg{max-width:330px}.deck-art-caption{font-size:7px}.deck-primary{font-size:12px}.deck-text-link{font-size:12px}.contact-email{font-size:26px}.deck-small{font-size:10px}}
@media(max-width:1230px){.story-deck{--deck-rail:66px;--deck-active-rail:50px;--deck-overlap:12px}.deck-rail-label{font-size:14px;letter-spacing:1px}.deck-content,.is-ready .deck-content{grid-template-columns:minmax(0,1fr) minmax(165px,.7fr);padding-right:22px;padding-left:13px;gap:22px 13px}.deck-lead{font-size:29px}.deck-copy{font-size:11px}.deck-tags>span{font-size:8px;padding:4px 6px}.deck-kicker{font-size:7px;letter-spacing:.9px}.deck-art-caption{font-size:5px;letter-spacing:.8px}.contact-email{font-size:19px}.deck-primary,.deck-text-link{font-size:10px}.deck-main .github-pill{font-size:9px}.deck-small{font-size:8px}}
@media(max-width:1100px){
 .about-intro h2{font-size:26px}.about-intro h2>span{display:block;margin-left:0}.deck-position{padding-bottom:6px;min-width:85px}
 .story-deck.is-ready{display:block;min-height:0}.deck-card,.is-ready .deck-card{display:block;box-shadow:0 -5px 17px #0002;border-radius:18px}.is-ready .deck-card+.deck-card{margin-left:0;margin-top:-9px}
 .deck-heading,.is-ready .is-active .deck-heading{width:auto;flex-basis:auto}.deck-trigger{min-height:73px;display:grid;grid-template-columns:24px 28px minmax(0,1fr) 27px;grid-template-rows:auto;padding:18px 25px;gap:12px;text-align:left}
 .deck-number{font-size:10px}.deck-rail-icon{width:28px;height:28px;border-radius:8px}.deck-symbol{width:18px;height:18px}.deck-rail-label{writing-mode:horizontal-tb;font-size:15px;letter-spacing:.1px;justify-self:start;overflow:hidden;text-overflow:ellipsis;max-width:100%}.deck-toggle{font-size:18px}.is-ready .is-active .deck-rail-label{opacity:1}
 .is-ready .deck-panel-wrap{display:grid;grid-template-rows:0fr;width:100%;transition:grid-template-rows .45s var(--ease)}.is-ready .is-active .deck-panel-wrap{grid-template-rows:1fr}.is-ready .deck-panel{height:auto}
 .deck-content,.is-ready .deck-content{grid-template-columns:minmax(0,1.15fr) minmax(165px,.85fr);grid-template-rows:1fr auto;min-height:0;height:auto;padding:9px 28px 29px;gap:24px 18px}.deck-lead{font-size:31px}.deck-copy{font-size:12px}.deck-kicker{font-size:7px;letter-spacing:1px}.deck-tags>span{font-size:9px;padding:4px 7px}.deck-primary,.deck-text-link{font-size:11px}.deck-visual>svg{max-width:270px}.deck-art-caption{font-size:5.5px;letter-spacing:.8px}.contact-email{font-size:21px}.deck-main .github-pill{font-size:10px}.deck-small{font-size:9px}
}
@media(max-width:760px){.about-section{padding-top:15px;padding-bottom:25px}.about-intro{margin-bottom:24px}.about-intro h2{font-size:28px}.about-intro p{font-size:12px}.deck-content,.is-ready .deck-content{padding-bottom:29px}.deck-visual>svg{max-width:250px}}
@media(max-width:600px){
 .about-intro{align-items:flex-start;gap:12px}.about-intro h2{font-size:25px}.about-intro p{font-size:11px;line-height:1.9}.deck-position{min-width:56px;padding-top:4px}.deck-position>span{font-size:9px;gap:5px}.deck-position-bars{gap:3px}.deck-position-bars>i{width:5px}.deck-position-bars>i.is-current{width:12px}
 .deck-content,.is-ready .deck-content{grid-template-columns:minmax(0,1fr) 100px;grid-template-rows:auto auto;padding:8px 23px 25px;gap:21px 18px}.deck-main{grid-column:1/-1;align-self:start}.deck-visual{grid-column:2;grid-row:2;align-self:center}.deck-art-caption{display:none}.deck-footer{grid-column:1;grid-row:2;align-self:center}.deck-actions{flex-direction:column;align-items:flex-start;gap:4px}.deck-lead{font-size:28px;margin:15px 0 14px}.deck-copy{font-size:12px}.deck-kicker{font-size:7px;letter-spacing:1px}.deck-tags{gap:6px;margin-top:16px}.deck-tags>span{font-size:9px}.deck-feedback{font-size:9px;min-height:17px}.copy-fallback{font-size:11px;padding:8px 9px}.deck-primary{font-size:10px;gap:9px;padding:11px 13px;min-height:39px}.deck-text-link{font-size:10px;padding:8px 0;gap:7px}.deck-primary>svg,.deck-text-link>svg{width:13px;height:13px}.share-address{font-size:10px;margin-top:16px}.contact-email{font-size:22px}
}
@media(max-width:540px){.about-section{padding-top:6px}.deck-card,.is-ready .deck-card{border-radius:16px}.deck-trigger{min-height:67px;padding:16px 19px;grid-template-columns:20px 25px minmax(0,1fr) 24px;gap:9px}.deck-rail-label{font-size:13px}.deck-number{font-size:9px}.deck-rail-icon{width:25px;height:25px;border-radius:7px}.deck-symbol{width:16px;height:16px}.deck-toggle{width:24px;height:24px}.deck-content,.is-ready .deck-content{padding-left:21px;padding-right:21px;grid-template-columns:minmax(0,1fr) 94px;gap:19px 15px}.deck-small{font-size:9px}}
@media(max-width:360px){.about-intro h2{font-size:23px}.deck-position{min-width:47px}.deck-position-bars{gap:2px}.deck-position-bars>i{width:4px}.deck-position-bars>i.is-current{width:10px}.deck-content,.is-ready .deck-content{padding-left:19px;padding-right:19px;grid-template-columns:minmax(0,1fr) 80px;gap:18px 12px}.deck-lead{font-size:25px}.deck-kicker{font-size:6px;letter-spacing:.8px}.deck-copy{font-size:11px}.deck-tags>span{font-size:8px}.contact-email{font-size:20px}.deck-main .github-pill{font-size:9px}.deck-main .github-star-count{font-size:8px}.deck-small{font-size:8px}.deck-trigger{padding-left:16px;padding-right:16px;gap:8px}}
@media(prefers-reduced-motion:reduce){.about-section *{transition:none!important;animation:none!important}.is-ready .deck-main,.is-ready .deck-footer,.is-ready .deck-visual{transform:none}}

/* start-weave */
/* Decorative silk stays beneath the content and never receives pointer events. */
.start-section{position:relative;isolation:isolate;overflow:hidden;min-height:490px;padding:96px 0 108px}
.start-section .start-copy{position:relative;z-index:2;width:100%;pointer-events:none}
.start-copy>*{pointer-events:auto}
.start-copy h2{position:relative}
.start-copy h2::before{content:"";position:absolute;z-index:-1;inset:-45px -15%;background:radial-gradient(ellipse,#0a0a0af0 8%,#0a0a0a99 48%,transparent 73%);pointer-events:none}
.start-section .start-actions{position:relative;gap:12px}
.start-actions .button{background:#202023;border:1px solid #323237;transition:background .2s,border-color .2s,transform .25s var(--ease),box-shadow .25s}
.start-actions .button:hover{background:#ededf1;color:#141417;border-color:#ededf1;transform:translateY(-3px);box-shadow:0 8px 24px #0003}
.start-actions .button:focus-visible{outline:2px solid #f0f0f2;outline-offset:5px}
.start-section .start-weave{position:absolute;z-index:0;inset:0;pointer-events:none;contain:layout paint;--weave-state:paused}
.start-section.is-running .start-weave{--weave-state:running}
.start-weave::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#0a0a0a 0%,transparent 13%,transparent 84%,#0a0a0a 100%);pointer-events:none}
.start-weave .weave-canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
.weave-canvas path{vector-effect:non-scaling-stroke}
.weave-net{stroke:#b9b9c4;stroke-width:.75;opacity:.16}
.weave-net-right{opacity:.13}
.weave-ray{stroke-opacity:.6}
.weave-anchor{stroke:#9c9ca6;stroke-width:.6;opacity:.18}
.weave-guide{stroke:#bdbdc8;stroke-width:.75;opacity:.09}
.weave-new-thread{stroke:#d8d8e0;stroke-width:1;opacity:.32}
.weave-knots{fill:#d8d8e0;opacity:.32}
.weave-traveler{position:absolute;inset:0;transform:translate(16%,55%)}
.weave-heading{position:absolute;left:0;top:0;transform:rotate(-25deg);width:0;height:0}
.start-weave .weave-spider{position:absolute;left:0;top:0;width:49px;height:45px;transform:translate(-50%,-50%);color:#a2a2ad;filter:drop-shadow(0 3px 4px #0009)}
.weave-legs{transform-origin:0 0}
.start-section.is-ready .weave-traveler{animation:weave-travel 26s linear infinite;animation-play-state:var(--weave-state)}
.start-section.is-ready .weave-heading{animation:weave-heading 26s linear infinite;animation-play-state:var(--weave-state)}
.start-section.is-ready .weave-new-thread{stroke-dasharray:1;animation:weave-silk 26s linear infinite;animation-play-state:var(--weave-state)}
.start-section.is-ready .weave-ring{animation:weave-shimmer 13s ease-in-out infinite;animation-delay:var(--ring-delay);animation-play-state:var(--weave-state)}
.start-section.is-ready .weave-legs-a{animation:weave-step .28s ease-in-out infinite alternate;animation-play-state:var(--weave-state)}
.start-section.is-ready .weave-legs-b{animation:weave-step .28s ease-in-out -.28s infinite alternate;animation-play-state:var(--weave-state)}
.weave-control{position:absolute;z-index:3;right:6px;bottom:30px;width:32px;height:32px;display:grid;place-items:center;border:1px solid #34343c;border-radius:50%;background:#111114;color:#8e8e9b;cursor:pointer;transition:color .2s,border-color .2s}
.weave-control[hidden]{display:none}
.weave-control:hover{color:#eeeef1;border-color:#777780}
.weave-control:focus-visible{outline:2px solid #ddd;outline-offset:4px}
.weave-control svg{width:16px;height:16px}
.weave-play-icon{display:none}
.weave-control[aria-pressed=true] .weave-pause-icon{display:none}
.weave-control[aria-pressed=true] .weave-play-icon{display:block}
@keyframes weave-silk{0%,4%{stroke-dashoffset:1;opacity:0}5%{opacity:.32}92%{stroke-dashoffset:0;opacity:.32}97%,100%{stroke-dashoffset:0;opacity:0}}
@keyframes weave-shimmer{0%,100%{stroke-opacity:.58}45%,65%{stroke-opacity:1}}
@keyframes weave-step{from{transform:skewX(-7deg) scaleY(.93)}to{transform:skewX(7deg) scaleY(1.04)}}
@media(max-width:760px){.start-section{min-height:450px;padding:82px 0 93px}.weave-net{opacity:.15}.start-weave .weave-spider{width:42px;height:39px}.start-copy h2::before{inset:-30px -10%}.weave-control{bottom:22px}}
@media(max-width:540px){.start-section{min-height:430px;padding:76px 0 92px}.start-section .start-actions{gap:8px;margin:26px auto 0;max-width:320px}.start-section .start-actions .button{min-height:42px;padding:10px 16px}.start-weave .weave-spider{width:36px;height:33px}.weave-net{stroke-width:.65;opacity:.19}.weave-net-right{opacity:.16}.start-copy h2::before{inset:-35px -6%}}
@media(prefers-reduced-motion:reduce){.start-section.is-ready .start-weave *{animation:none!important}.start-section .weave-traveler{transform:translate(16%,55%)}.start-section .weave-new-thread{stroke-dasharray:none;opacity:.22}.weave-control{display:none}.start-actions .button:hover{transform:none}}

/* Normalized knot positions keep the traveler on the same silk at every width. */
@keyframes weave-travel{0%{transform:translate(2%,70%);opacity:0}4.000%{transform:translate(2.000000%,70.000000%);opacity:1}15.621%{transform:translate(16.000000%,55.000000%);opacity:1}27.292%{transform:translate(31.000000%,62.500000%);opacity:1}41.431%{transform:translate(45.000000%,32.142857%);opacity:1}53.135%{transform:translate(58.000000%,52.500000%);opacity:1}65.774%{transform:translate(72.000000%,30.357143%);opacity:1}75.962%{transform:translate(84.000000%,45.000000%);opacity:1}92.000%{transform:translate(102.000000%,17.857143%);opacity:0}100%{transform:translate(102%,17.857143%);opacity:0}}
@keyframes weave-heading{4.000%{transform:rotate(var(--weave-angle-0,-23.20deg))}15.321%{transform:rotate(var(--weave-angle-0,-23.20deg))}15.621%{transform:rotate(var(--weave-angle-1,11.31deg))}26.992%{transform:rotate(var(--weave-angle-1,11.31deg))}27.292%{transform:rotate(var(--weave-angle-2,-40.94deg))}41.131%{transform:rotate(var(--weave-angle-2,-40.94deg))}41.431%{transform:rotate(var(--weave-angle-3,32.06deg))}52.835%{transform:rotate(var(--weave-angle-3,32.06deg))}53.135%{transform:rotate(var(--weave-angle-4,-32.32deg))}65.474%{transform:rotate(var(--weave-angle-4,-32.32deg))}65.774%{transform:rotate(var(--weave-angle-5,26.02deg))}75.662%{transform:rotate(var(--weave-angle-5,26.02deg))}75.962%{transform:rotate(var(--weave-angle-6,-31.10deg))}91.700%{transform:rotate(var(--weave-angle-6,-31.10deg))}}

/* home-footer */
/* One quiet footer shared by the draft modules; no cards or divider rules. */
.site-footer{padding:68px 0 28px}
.footer-grid{display:grid;grid-template-columns:minmax(205px,1.45fr) repeat(3,minmax(0,1fr));gap:38px;align-items:start}
.footer-brand{min-width:0}
.footer-brand .brand{gap:12px;font-size:28px;letter-spacing:-.9px}
.footer-brand .brand img{width:42px;height:42px}
.footer-description{font-size:19px;line-height:1.8;letter-spacing:.2px;font-weight:450;color:#d2d2d8;margin-top:22px}
.footer-description>span{color:#898993;font-weight:400}
.footer-contact{display:inline-flex;align-items:center;gap:9px;min-height:44px;margin-top:18px;color:#a4a4ae;font-family:'Geist',var(--sans);font-size:12px;transition:color .2s}
.footer-contact>svg:first-child{width:16px;height:16px;color:#777783}
.footer-contact>svg:last-child{width:13px;height:13px;margin-left:5px;transition:transform .2s}
.footer-contact:hover{color:#f1f1f2}
.footer-contact:hover>svg:last-child{transform:translate(3px,-2px)}
.footer-group{min-width:0;padding-top:8px}
.footer-group h2{font-size:12px;line-height:1.5;font-weight:500;letter-spacing:1.1px;color:#898995;margin:0 0 19px}
.footer-group ul{list-style:none;padding:0;margin:0}
.footer-group a{display:flex;align-items:center;gap:7px;width:fit-content;max-width:100%;min-height:40px;color:#b4b4bf;font-size:13px;line-height:1.5;transition:color .2s}
.footer-group a>svg{width:12px;height:12px;opacity:0;transform:translateX(-4px);transition:opacity .2s,transform .2s}
.footer-group a:hover,.footer-group a:focus-visible{color:#fff}
.footer-group a:hover>svg,.footer-group a:focus-visible>svg{opacity:1;transform:translateX(0)}
.footer-signature{display:flex;align-items:center;justify-content:space-between;gap:32px;margin-top:42px;user-select:none;pointer-events:none}
.footer-signature>span:first-child{font-family:'Space Grotesk','Geist',sans-serif;font-weight:650;font-size:clamp(90px,14vw,207px);letter-spacing:-.075em;line-height:1.04;color:#1e1e23}
.footer-signoff{padding-top:20px;font-size:12px;line-height:2.1;color:#62626d;letter-spacing:2px;white-space:nowrap}
.footer-end{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:22px;font-size:11px;line-height:1.8;color:#858590}
.footer-author{color:#858590}
.footer-locales{display:flex;align-items:center;gap:21px;flex:none}
.footer-locales>span{color:#bcbcc5}
.footer-locales>a{display:inline-flex;align-items:center;gap:6px;min-height:40px;font-family:'Geist',sans-serif;font-size:11px;color:#8b8b98;transition:color .2s}
.footer-locales>a>svg{width:11px;height:11px;transition:transform .2s}
.footer-locales>a:hover{color:#eeeef1}
.footer-locales>a:hover>svg{transform:translateX(3px)}
@media(min-width:1680px){.footer-grid{grid-template-columns:minmax(240px,1.5fr) repeat(3,minmax(0,1fr));gap:52px}.footer-group a{font-size:14px;min-height:42px}.footer-description{font-size:21px}.footer-contact{font-size:13px}.footer-signature{margin-top:48px}.footer-signature>span:first-child{font-size:235px}}
@media(max-width:1230px){.footer-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:33px 26px}.footer-brand{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:25px}.footer-brand .brand{grid-column:1;grid-row:1;font-size:27px}.footer-description{grid-column:1;grid-row:2;font-size:15px;line-height:1.8;margin-top:15px}.footer-description br{display:none}.footer-contact{grid-column:2;grid-row:1/3;align-self:center;margin-top:0}.footer-group{padding-top:0}.footer-signature>span:first-child{font-size:clamp(90px,13.6vw,155px)}.footer-signoff{font-size:11px;letter-spacing:1px}.footer-end{align-items:flex-start;gap:15px}.footer-author{display:block}}
@media(max-width:1000px){.footer-signoff{display:none}}
@media(max-width:760px){.site-footer{padding:49px 0 20px}.footer-grid{gap:32px 24px}.footer-brand .brand{font-size:26px}.footer-brand .brand img{width:38px;height:38px}.footer-description{font-size:15px}.footer-group a{min-height:41px}.footer-signature{margin-top:26px}.footer-signature>span:first-child{font-size:clamp(100px,19vw,150px)}.footer-signoff{font-size:10px;line-height:2;letter-spacing:1px;padding-top:8px}.footer-end{font-size:10px;margin-top:18px}}
@media(max-width:540px){.site-footer{padding-top:36px}.footer-grid{gap:30px 14px}.footer-brand{display:block}.footer-brand .brand{font-size:27px}.footer-description{margin-top:15px;font-size:15px}.footer-contact{margin-top:8px;font-size:12px;min-height:42px}.footer-group h2{font-size:11px;letter-spacing:.6px;margin-bottom:13px}.footer-group a{font-size:12px;gap:0;min-height:44px;white-space:nowrap}.footer-group a>svg{display:none}.footer-signature{gap:12px;margin-top:29px}.footer-signature>span:first-child{font-size:clamp(71px,23vw,111px)}.footer-signoff{font-size:8px;letter-spacing:0;line-height:2;padding-top:3px}.footer-end{gap:13px;flex-direction:column-reverse;align-items:flex-start;margin-top:18px}.footer-locales{gap:20px}.footer-locales>a{min-height:42px}.footer-author{display:inline;font-size:10px}.footer-end p{font-size:10px}}
@media(max-width:360px){.footer-grid{column-gap:11px}.footer-group h2{font-size:11px}.footer-group a{font-size:12px}.footer-signoff{font-size:8px}.footer-signature>span:first-child{font-size:72px}.footer-author{display:block}}
@media(prefers-reduced-motion:reduce){.site-footer *{transition:none!important}}

/* Partner text links belong only below the homepage copyright. */
.footer-credits{min-width:0}.footer-credits>p{margin:0}.footer-partners{display:flex;flex-wrap:wrap;gap:2px 18px;margin-top:8px;font-size:10px;line-height:1.8}.footer-partners>a{display:inline-flex;align-items:center;min-height:28px;color:#777782;transition:color .2s}.footer-partners>a:hover,.footer-partners>a:focus-visible{color:#ccc}.footer-partners>a:focus-visible{outline:2px solid #aaa;outline-offset:4px}

/* tool-catalog */
/* Category overview: the background stays still; only the icon responds. */
.category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 42px;margin-top:35px}
.category-entry{position:relative;display:block;min-width:0;padding:20px 28px 20px 0;border-radius:10px;background:transparent}
.category-entry h3{display:flex;align-items:center;gap:10px;font-size:18px;font-weight:500;line-height:1.5;letter-spacing:-.2px}
.category-glyph{display:grid;place-items:center;flex:none;width:42px;height:42px;margin-right:2px;border-radius:12px;background:#19191c;color:#c5c5ce}
.category-glyph .category-svg{width:25px;height:25px;overflow:visible}
.category-title{min-width:0}
.category-entry .count-badge{display:inline-grid;place-items:center;min-width:48px;height:28px;padding:0 13px;margin-left:2px;border-radius:999px;background:#f4f4f6;color:#17171b;font:700 13px/1 'Geist Mono',monospace;font-variant-numeric:tabular-nums;flex:none;letter-spacing:0}
.category-entry p{font-size:13px;line-height:1.9;color:#9b9ba6;margin:10px 12px 0 54px;max-width:390px}
.category-examples{display:block;font-size:11px;line-height:1.85;color:#73737f;margin:12px 12px 0 54px}
.category-entry>.category-arrow{width:16px;height:16px;position:absolute;right:3px;top:33px;color:#666673;transition:transform .2s,color .2s}
.category-entry:is(:hover,:focus-visible)>.category-arrow{transform:translateX(3px);color:#ededf2}
.category-entry:is(:hover,:focus-visible) .category-glyph{color:#f5f5f7}
.category-svg [class^=glyph-]{transform-box:fill-box;transform-origin:center}
.category-glyph{transition:color .2s}
:is(.category-entry,.category-tabs a).is-icon-active .glyph-print{animation:glyph-print .65s var(--ease)}
:is(.category-entry,.category-tabs a).is-icon-active .glyph-landscape{animation:glyph-landscape .7s var(--ease)}
:is(.category-entry,.category-tabs a).is-icon-active .glyph-play{animation:glyph-play .65s var(--ease)}
:is(.category-entry,.category-tabs a).is-icon-active .glyph-bar{animation:glyph-wave .65s ease-in-out}
.glyph-bar-2{animation-delay:.07s!important}.glyph-bar-3{animation-delay:.14s!important}.glyph-bar-4{animation-delay:.21s!important}.glyph-bar-5{animation-delay:.28s!important}
:is(.category-entry,.category-tabs a).is-icon-active .glyph-type{animation:glyph-type .7s var(--ease)}
:is(.category-entry,.category-tabs a).is-icon-active .glyph-cursor{animation:glyph-blink .8s ease-in-out}
:is(.category-entry,.category-tabs a).is-icon-active .glyph-keys{animation:glyph-blink .6s ease-in-out}
.category-svg .glyph-clock{transform-box:view-box;transform-origin:12px 12px}
:is(.category-entry,.category-tabs a).is-icon-active .glyph-clock{animation:glyph-clock .8s var(--ease)}
:is(.category-entry,.category-tabs a).is-icon-active .glyph-brush{animation:glyph-brush .7s var(--ease)}
:is(.category-entry,.category-tabs a).is-icon-active .glyph-stroke{animation:glyph-stroke .7s var(--ease)}
:is(.category-entry,.category-tabs a).is-icon-active .glyph-star{animation:glyph-star .85s var(--ease)}
:is(.category-entry,.category-tabs a).is-icon-active .glyph-twinkle{animation:glyph-play .7s var(--ease)}
:is(.category-entry,.category-tabs a).is-icon-active .glyph-heart{animation:glyph-heart .7s ease-in-out}
:is(.category-entry,.category-tabs a).is-icon-active .glyph-grid{animation:glyph-play .65s var(--ease)}
/* Icon and text filters retain their surface through every state. */
.tools-module .category-tabs{display:flex;flex-wrap:wrap;gap:9px;padding:24px 0 28px}
.tools-module .category-tabs{column-gap:18px;row-gap:8px}
.tools-module .category-tabs a{display:inline-flex;align-items:center;gap:7px;min-height:42px;padding:6px 2px;border:0;border-radius:0;background:transparent;color:#80808b;font-size:12px;font-weight:500;line-height:1.3;white-space:nowrap;transition:color .2s}
.tools-module .category-tabs a:is(:hover,:focus-visible){background:transparent;color:#c9c9d1}
.tools-module .category-tabs a[aria-selected=true]{background:transparent;color:#f5f5f8;box-shadow:none}
.tools-module .category-tabs a[aria-selected=true]:hover{background:transparent;color:#fff}
.filter-icon{display:inline-flex;align-items:center;justify-content:center;flex:none}
.filter-icon .category-svg{width:18px;height:18px;overflow:visible}
.tools-module .category-tabs .filter-name{display:inline}
.tools-module .catalog-search{background:#fff;border-color:#fff;border-radius:999px;min-height:58px;padding:0 7px 0 21px;gap:13px;overflow:hidden;transition:border-color .2s,box-shadow .2s}
.tools-module .catalog-search:focus-within{border-color:#fff;box-shadow:0 0 0 4px #ffffff18}
.catalog-search-icon{width:21px;height:21px;color:#666672}
.tools-module .catalog-search input{font-size:14px;height:56px;color:#1d1d23;caret-color:#1d1d23}
.tools-module .catalog-search input::placeholder{color:#777782}
.tools-module #tool-search::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none;display:none}
.search-clear-slot{display:grid;place-items:center;width:44px;height:44px;flex:none;overflow:hidden}
.search-clear{display:grid;place-items:center;width:42px;height:42px;padding:0;border:0;border-radius:50%;background:#e5e5e9;color:#383841;opacity:0;visibility:hidden;transform:translateY(48px);pointer-events:none;transition:transform .28s var(--ease),opacity .2s,visibility 0s .28s}
.catalog-search.has-query .search-clear{opacity:1;visibility:visible;transform:translateY(0);pointer-events:auto;transition:transform .32s var(--ease),opacity .2s,visibility 0s}
.search-clear svg{width:17px;height:17px}
.search-clear:hover{background:#222227;color:#fff}
.search-clear:focus-visible{outline:2px solid #3f3f49;outline-offset:-4px}
.catalog-symbols{position:absolute!important;width:0!important;height:0!important;overflow:hidden;pointer-events:none}
/* Tool cards keep their own icon and stable surface while the edge opens up. */
.tools-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:16px;padding-bottom:40px}
.tool-card{position:relative;display:flex;flex-direction:column;align-items:stretch;gap:17px;min-width:0;min-height:198px;padding:22px;border:1px solid #29292f;border-radius:16px;background:#141416;transition:border-color .25s,transform .3s var(--ease),box-shadow .3s}
.tool-card-top{display:flex;align-items:center;justify-content:space-between;gap:16px}
.tool-card-icon{display:grid;place-items:center;width:39px;height:39px;border:1px solid #303038;border-radius:11px;background:#1c1c20;color:#ceced7;flex:none}
.tool-card-icon svg{width:25px;height:25px;fill:currentColor;transition:transform .4s var(--ease),color .2s}
.tool-card-open{display:grid;place-items:center;width:29px;height:29px;border:1px solid #36363f;border-radius:50%;color:#8a8a98;transition:background .2s,border-color .2s,color .2s,transform .3s var(--ease)}
.tool-card-open svg{width:15px;height:15px;transform:rotate(-35deg)}
.tool-card-copy{min-width:0;flex:1}
.tool-card h3{font-size:15px;line-height:1.65;font-weight:520;letter-spacing:.1px;color:#eeeeF2}
.tool-card p{font-size:12px;line-height:1.9;color:#9696a4;margin-top:7px}
.tool-card-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:2px;min-height:22px;font-size:10px;line-height:1.5}
.tool-card-foot>span:first-child{color:#92929f;letter-spacing:.3px}
.tool-card-action{display:inline-flex;align-items:center;gap:7px;color:#c5c5d0;opacity:0;transform:translateX(-5px);transition:opacity .25s,transform .25s}
.tool-card-action svg{width:13px;height:13px}
.tool-card:is(:hover,:focus-visible){background:#141416;border-color:#797982;transform:translateY(-4px);box-shadow:0 12px 28px #0003}
.tool-card:is(:hover,:focus-visible) .tool-card-icon svg{transform:rotate(-7deg) scale(1.08);color:#fff}
.tool-card:is(:hover,:focus-visible) .tool-card-open{background:#efeff3;border-color:#efeff3;color:#17171d;transform:rotate(35deg)}
.tool-card:is(:hover,:focus-visible) .tool-card-action{opacity:1;transform:translateX(0)}
@keyframes glyph-print{0%,100%{transform:translateY(0);opacity:1}35%{transform:translateY(-2px);opacity:.25}65%{transform:translateY(1px);opacity:1}}
@keyframes glyph-landscape{0%,100%{transform:translateY(0)}40%{transform:translateY(-1.5px)}70%{transform:translateY(.6px)}}
@keyframes glyph-play{0%,100%{transform:scale(1)}40%{transform:scale(1.25)}70%{transform:scale(.94)}}
@keyframes glyph-wave{0%,100%{transform:scaleY(1)}35%{transform:scaleY(.4)}70%{transform:scaleY(1.15)}}
@keyframes glyph-type{0%,100%{transform:translateX(0)}35%{transform:translateX(1.5px)}65%{transform:translateX(-.5px)}}
@keyframes glyph-blink{0%,60%,100%{opacity:1}30%{opacity:.35}80%{opacity:.65}}
@keyframes glyph-clock{0%,100%{transform:rotate(0)}45%{transform:rotate(35deg)}70%{transform:rotate(24deg)}}
@keyframes glyph-brush{0%,100%{transform:rotate(0)}35%{transform:rotate(-12deg) translate(-1px,1px)}70%{transform:rotate(5deg)}}
@keyframes glyph-stroke{0%,100%{transform:scaleX(1);opacity:1}40%{transform:scaleX(.65);opacity:.65}70%{transform:scaleX(1.06);opacity:1}}
@keyframes glyph-star{0%,100%{transform:rotate(0) scale(1)}35%{transform:rotate(-18deg) scale(.94)}65%{transform:rotate(8deg) scale(1.04)}}
@keyframes glyph-heart{0%,100%{transform:scale(1)}25%{transform:scale(1.15)}45%{transform:scale(1)}65%{transform:scale(1.08)}}
@media(min-width:1680px){.category-grid{gap:28px 54px}.category-entry h3{font-size:20px}.category-entry p{font-size:14px}.category-examples{font-size:12px}.tool-card{min-height:212px;padding:25px;gap:18px}.tool-card h3{font-size:16px}.tool-card p{font-size:13px}.tool-card-foot{font-size:11px}}
@media(max-width:1230px){.category-grid{gap:20px 28px}.category-entry h3{font-size:17px;gap:8px}.category-glyph{width:36px;height:36px;border-radius:10px}.category-glyph .category-svg{width:23px;height:23px}.category-entry p,.category-examples{margin-left:0;margin-right:4px}.category-entry .count-badge{height:28px;min-width:48px;font-size:13px}.category-entry>.category-arrow{top:30px;right:0}.tools-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tool-card{min-height:194px;padding:21px;gap:16px}.tools-module .category-tabs{gap:9px}.tools-module .category-tabs a{font-size:12px;padding:6px 2px;gap:7px}}
@media(min-width:761px) and (max-width:920px){.category-grid{grid-template-columns:1fr;gap:10px}.category-entry p,.category-examples{margin-left:48px}.tools-grid{grid-template-columns:1fr}.tool-card{min-height:180px}.tool-card-copy{max-width:95%}}
@media(max-width:760px){.category-grid{gap:16px 25px}.category-entry h3{font-size:17px}.category-entry p{font-size:12px}.category-examples{font-size:10px}.tools-grid{gap:13px}.tool-card{padding:20px;min-height:192px}.tool-card h3{font-size:15px}.tool-card-action{opacity:1;transform:none}}
@media(max-width:540px){.category-grid{grid-template-columns:1fr;gap:9px;margin-top:25px}.category-entry{padding:17px 25px 19px 0}.category-entry h3{font-size:18px;gap:10px}.category-glyph{width:39px;height:39px}.category-glyph .category-svg{width:24px;height:24px}.category-entry .count-badge{height:28px;min-width:48px;font-size:13px}.category-entry p{font-size:12px;margin-left:51px;margin-top:9px}.category-examples{font-size:10px;margin-left:51px;margin-top:10px}.category-entry>.category-arrow{top:29px;right:0}.tools-module .category-tabs{flex-wrap:nowrap;overflow-x:auto;gap:9px;padding:19px 4px 23px;scroll-padding-inline:5px}.tools-module .category-tabs a{flex:none;min-height:42px;padding:6px 2px;font-size:12px;gap:7px}.tools-module .search input{font-size:13px}.tools-grid{grid-template-columns:1fr;gap:13px}.tool-card{min-height:186px;padding:21px;gap:15px;border-radius:15px}.tool-card h3{font-size:16px}.tool-card p{font-size:12px}.tool-card-foot{font-size:10px}.tool-card-action{opacity:1;transform:none}}
@media(hover:none){.tool-card-action{opacity:1;transform:none}.tool-card:active{border-color:#92929d}.tool-card:hover{transform:none}.tools-module .category-tabs a:hover{transform:none}}
@media(prefers-reduced-motion:reduce){.category-entry *,.category-tabs *{animation:none!important;transition:none!important}.tool-card,.tool-card *,.tools-module .category-tabs a,.catalog-search,.search-clear{transition:none!important}.tool-card:is(:hover,:focus-visible),.tool-card:is(:hover,:focus-visible) .tool-card-icon svg,.tools-module .category-tabs a:is(:hover,:focus-visible){transform:none}}

/* collection-dialog */
/* The collection editor uses a light palette while retaining native dialog semantics. */
#group-dialog{color-scheme:light;width:min(700px,calc(100vw - 40px));height:min(736px,calc(100dvh - 48px));max-width:none;max-height:calc(100dvh - 48px);margin:auto;padding:0;overflow:hidden;border:1px solid #fff;border-radius:25px;background:#fff;color:#202024;box-shadow:0 28px 100px #0007;font:14px/1.6 var(--sans)}
#group-dialog[open]{animation:collection-enter .22s var(--ease)}
#group-dialog::backdrop{background:#0009;backdrop-filter:blur(7px)}
#group-form{display:flex;flex-direction:column;height:100%;min-height:0;margin:0}
.collection-header{flex:none;padding:27px 29px 19px}
#group-dialog .dialog-heading{display:flex;align-items:center;gap:13px;margin:0}
.collection-mark{display:grid;place-items:center;width:45px;height:45px;flex:none;border-radius:14px;background:#1c1c20;color:#fff}
.collection-mark svg{width:24px;height:24px}
.collection-eyebrow{display:block;font-size:10px;font-weight:500;line-height:1.5;letter-spacing:1.2px;color:#86868e;margin-bottom:3px}
#group-dialog .dialog-heading h2{margin:0;font-size:24px;font-weight:620;line-height:1.5;letter-spacing:-.4px}
#group-dialog .dialog-close{display:grid;place-items:center;flex:none;width:36px;height:36px;padding:0;margin-left:auto;border:0;border-radius:50%;background:#f3f3f5;color:#6e6e77;transition:background .2s,color .2s,transform .2s}
#group-dialog .dialog-close svg{width:17px;height:17px}
#group-dialog .dialog-close:hover{background:#e8e8ec;color:#18181c;transform:rotate(8deg)}
#group-dialog-description{font-size:12px;line-height:1.85;color:#787881;margin-top:14px}
.collection-body{display:flex;flex-direction:column;flex:1;min-height:0;padding:0 29px}
#group-dialog .form-label{display:block;flex:none;font-size:12px;font-weight:520;color:#484850}
#group-name{display:block;width:100%;height:46px;margin-top:8px;padding:0 14px;border:1px solid #dedee3;border-radius:11px;background:#fff;color:#222228;font:500 14px var(--sans);transition:border-color .2s,box-shadow .2s}
#group-name::placeholder{color:#a1a1aa;font-weight:400}
#group-name:focus{border-color:#60606a;box-shadow:0 0 0 3px #24242c08}
#group-dialog #group-message{flex:none;min-height:0;margin:7px 0 0;color:#9b4444;font-size:11px;line-height:1.6}
#group-dialog #group-message:empty{display:none}
#group-name[aria-invalid=true]{border-color:#a85b5b}
#group-dialog .picker-summary{display:flex;align-items:center;justify-content:space-between;gap:15px;flex:none;margin:20px 0 12px}
.picker-summary>div{display:flex;align-items:baseline;gap:10px;min-width:0}
.picker-summary h3{font-size:13px;font-weight:550;line-height:1.5;color:#35353e;margin:0}
.picker-summary>div>span{font-size:10px;color:#95959e;white-space:nowrap}
#picker-count{display:inline-flex;align-items:center;justify-content:center;min-width:64px;height:27px;padding:0 12px;border-radius:99px;background:#242429;color:#fff;font:550 11px/1 'Geist Mono',monospace;white-space:nowrap;flex:none}
#group-dialog .picker-search{display:flex;align-items:center;gap:10px;flex:none;min-height:46px;margin:0;padding:0 6px 0 14px;overflow:hidden;border:1px solid transparent;border-radius:99px;background:#f3f3f5;transition:border-color .2s,box-shadow .2s}
#group-dialog .picker-search:focus-within{border-color:#8c8c96;box-shadow:0 0 0 3px #24242c05}
.picker-search-icon{width:18px;height:18px;color:#8a8a95}
#group-dialog .picker-search input{width:100%;height:44px;min-width:0;border:0;background:transparent;color:#33333b;font-size:12px;outline:0}
#group-dialog .picker-search input::placeholder{color:#9999a3}
#picker-search::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none;display:none}
.picker-clear-slot{display:grid;place-items:center;width:34px;height:34px;overflow:hidden;flex:none}
.picker-search .search-clear{width:32px;height:32px;background:#e6e6eb;color:#64646f}
.picker-search.has-query .search-clear{opacity:1;visibility:visible;transform:translateY(0);pointer-events:auto;transition:transform .32s var(--ease),opacity .2s,visibility 0s}
.picker-search .search-clear:hover{background:#dadae1;color:#22222a}
.picker-search .search-clear svg{width:15px;height:15px}
#picker-limit-hint{margin:9px 0 0;flex:none;font-size:11px;line-height:1.65;color:#787881}
.picker-list-shell{position:relative;flex:1;min-height:60px;margin-top:13px}
#group-dialog #tool-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:5px 8px;height:100%;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:0 5px 4px 0;scrollbar-width:thin;scrollbar-color:#c5c5cd #fff}
#tool-picker::-webkit-scrollbar{width:5px}
#tool-picker::-webkit-scrollbar-thumb{background:#c5c5cd;border-radius:10px}
#tool-picker::-webkit-scrollbar-track{background:#fff}
#group-dialog .picker-option{display:grid;grid-template-columns:34px minmax(0,1fr) 19px;align-items:center;gap:10px;min-width:0;min-height:64px;padding:10px;border-radius:11px;background:#fff;color:#34343e;cursor:pointer;transition:background .16s}
#group-dialog .picker-option:hover{background:#f7f7f9}
#group-dialog .picker-option:has(input:checked){background:#f2f2f5}
.picker-icon{display:grid;place-items:center;width:34px;height:34px;border:1px solid #e7e7eb;border-radius:10px;background:#fafafb;color:#787885;flex:none}
.picker-icon svg{width:22px;height:22px;fill:currentColor}
.picker-option:has(input:checked) .picker-icon{color:#373743;border-color:#d9d9e0;background:#fff}
.picker-copy{display:flex;flex-direction:column;gap:3px;min-width:0}
.picker-title{font-size:12px;line-height:1.65;font-weight:500;overflow-wrap:anywhere}
#group-dialog .picker-option small{display:block;margin:0;color:#9696a1;font-size:10px;line-height:1.5}
#group-dialog .picker-option input{appearance:none;-webkit-appearance:none;width:19px;height:19px;margin:0;border:1px solid #cfcfd7;border-radius:6px;background-color:#fff;background-repeat:no-repeat;background-position:center;background-size:12px;flex:none;cursor:pointer;transition:background-color .15s,border-color .15s}
#group-dialog .picker-option input:checked{background-color:#242429;border-color:#242429;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 8 3 3 7-7' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
#group-dialog .picker-option:has(input:disabled){opacity:.45;cursor:not-allowed;background:#fff}
#group-dialog .picker-option input:disabled{cursor:not-allowed}
#picker-empty{position:absolute;inset:0;display:grid;place-items:center;margin:0;padding:25px;color:#85858f;font-size:12px;text-align:center;pointer-events:none}
.collection-footer{flex:none;width:100%;max-width:none;margin:0;padding:16px 29px 23px;background:#fff}
.collection-local{display:flex;align-items:center;gap:6px;font-size:10px;line-height:1.6;color:#a0a0aa;margin:0 0 13px}
.collection-local svg{width:12px;height:12px}
#group-dialog .dialog-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0}
.dialog-actions-end{display:flex;align-items:center;justify-content:flex-end;gap:9px;margin-left:auto}
.collection-delete{display:inline-flex;align-items:center;gap:7px;min-height:42px;padding:0;border:0;background:transparent;color:#95959f;font-size:11px;transition:color .2s}
.collection-delete svg{width:14px;height:14px}
.collection-delete:hover{color:#984b4b}
.collection-cancel,.collection-save{display:inline-flex;align-items:center;justify-content:center;gap:14px;min-height:44px;padding:0 20px;border-radius:99px;font-size:12px;font-weight:500;white-space:nowrap;transition:background .2s,border-color .2s,transform .2s}
.collection-cancel{border:1px solid #e1e1e7;background:#fff;color:#777782}
.collection-cancel:hover{background:#f5f5f7;border-color:#c6c6d0}
.collection-save{border:1px solid #242429;background:#242429;color:#fff;min-width:136px}
.collection-save svg{width:16px;height:16px;transition:transform .2s}
.collection-save:hover{background:#101014;border-color:#101014;transform:translateY(-1px)}
.collection-save:hover svg{transform:translateX(3px)}
#group-dialog :is(button,input):focus-visible{outline:2px solid #5d5d68;outline-offset:3px}
#group-dialog #group-name:focus-visible{outline:0;border-color:#60606a;box-shadow:0 0 0 3px #24242c0b}
#group-dialog .picker-search input:focus-visible{outline:0}
@keyframes collection-enter{from{opacity:0;transform:translateY(10px) scale(.992)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:540px){#group-dialog{width:calc(100vw - 24px);height:min(736px,calc(100dvh - 24px));max-height:calc(100dvh - 24px);border-radius:21px}.collection-header{padding:23px 20px 18px}.collection-mark{width:39px;height:39px;border-radius:12px}.collection-mark svg{width:21px;height:21px}#group-dialog .dialog-heading{gap:10px}#group-dialog .dialog-heading h2{font-size:21px}.collection-eyebrow{font-size:9px}#group-dialog .dialog-close{width:32px;height:32px}#group-dialog-description{font-size:11px;margin-top:13px}.collection-body{padding:0 20px}#group-name{font-size:16px}#group-dialog .picker-summary{margin-top:18px}.picker-summary>div{gap:8px}.picker-summary>div>span{font-size:9px}.picker-summary h3{font-size:12px}#group-dialog #tool-picker{grid-template-columns:1fr;gap:5px}.picker-title{font-size:13px}#group-dialog .picker-option{min-height:62px;padding:9px 11px;grid-template-columns:35px minmax(0,1fr) 20px}.picker-icon{width:35px;height:35px}#group-dialog .picker-option input{width:20px;height:20px}.collection-footer{padding:14px 20px 18px}.collection-local{font-size:9px;margin-bottom:11px}.collection-delete{font-size:10px;gap:5px}.collection-delete svg{width:13px;height:13px}.collection-cancel,.collection-save{min-height:43px;padding:0 15px;font-size:11px}.collection-save{min-width:112px;gap:10px}.dialog-actions-end{gap:7px}}
@media(max-width:360px){.collection-header{padding-left:16px;padding-right:16px}.collection-body{padding:0 16px}.collection-footer{padding-left:16px;padding-right:16px}#group-dialog .dialog-heading h2{font-size:20px}.collection-mark{display:none}.picker-summary>div>span{font-size:8px}.collection-cancel{padding:0 13px}.collection-save{min-width:106px}.collection-delete{font-size:10px}}
@media(max-height:620px){#group-dialog{height:calc(100dvh - 24px);max-height:calc(100dvh - 24px)}.collection-header{padding:14px 20px 12px}.collection-mark{width:34px;height:34px;border-radius:10px}.collection-mark svg{width:19px;height:19px}.collection-eyebrow{display:none}#group-dialog .dialog-heading h2{font-size:20px}#group-dialog-description{display:none}.collection-body{padding:0 20px}#group-name{height:39px;margin-top:5px}#group-dialog .picker-summary{margin:11px 0 8px}#group-dialog .picker-search{min-height:40px}#group-dialog .picker-search input{height:38px}.picker-list-shell{margin-top:9px;min-height:0}.collection-footer{padding:12px 20px 14px}.collection-local{display:none}.collection-cancel,.collection-save{min-height:40px}.collection-delete{min-height:40px}}
@media(hover:none){#group-dialog .picker-option:not(:has(input:checked)):hover{background:#fff}}
@media(prefers-reduced-motion:reduce){#group-dialog,#group-dialog *{animation:none!important;transition:none!important}}

/* surface-effects */
/* Values matched to the production homepage's neutral tokens and .tc glow. */
:root{--bg:#0a0a0a;--surface:rgba(255,255,255,.025);--raised:#1b1b1b;--ink:#f1f1f1;--muted:#9a9a9a;--subtle:#6f6f6f;--draft-card-hover:rgba(255,255,255,.05);--draft-card-border:rgba(255,255,255,.07);--draft-card-border-hover:rgba(255,255,255,.14);--draft-glow:rgba(255,255,255,.14)}
.tool-card,.favorite-card{position:relative;isolation:isolate;overflow:hidden;background:var(--surface);border:1px solid var(--draft-card-border);box-shadow:none}
.tool-card::before,.favorite-card::before{content:"";position:absolute;z-index:0;inset:0;border-radius:inherit;pointer-events:none;background:radial-gradient(circle 240px at var(--mx,50%) var(--my,50%),var(--draft-glow) 0%,transparent 60%);opacity:0;transition:opacity .35s var(--ease)}
.tool-card>*{position:relative;z-index:1}
.favorite-card>*{z-index:1}
.tool-card:is(:hover,:focus-visible),.favorite-card:is(:hover,:focus-visible){background:var(--draft-card-hover);border-color:var(--draft-card-border-hover);box-shadow:0 16px 40px #00000059,0 0 0 1px #ffffff05 inset}
.tool-card:is(:hover,:focus-visible)::before,.favorite-card:is(:hover,:focus-visible)::before{opacity:1}
.tool-card-icon{background:#ffffff04;border-color:#ffffff1a;color:#cfcfcf}
.tool-card:is(:hover,:focus-visible) .tool-card-icon{border-color:#ffffff57;background:#ffffff12;box-shadow:0 0 24px #ffffff21}
.tool-card h3{color:#eee}.tool-card p{color:#999}.tool-card-foot>span:first-child{color:#929292}.tool-card-action{color:#c5c5c5}.tool-card-open{color:#8a8a8a;border-color:#363636}
.favorite-card>.ph{color:#aaa}.favorite-card p{color:#888}.favorite-card>svg{color:#777}
.tool-card:is(:hover,:focus-visible) .tool-card-open{background:#efefef;border-color:#efefef;color:#171717}
.category-entry{isolation:isolate;overflow:hidden;background:transparent;border-radius:14px}
.category-entry::before{content:"";position:absolute;z-index:0;inset:0;border-radius:inherit;pointer-events:none;background:radial-gradient(circle 270px at 0% 100%,var(--draft-glow) 0%,transparent 65%);opacity:0;transition:opacity .35s var(--ease)}
.category-entry>h3,.category-entry>p,.category-entry>.category-examples{position:relative;z-index:1}
.category-entry>.category-arrow{z-index:1}
.category-entry:is(:hover,:focus-visible){background:transparent;transform:none}
.category-entry:is(:hover,:focus-visible)::before{opacity:1}
.category-glyph{background:#ffffff07;color:#c5c5c5;transition:color .2s,background-color .35s var(--ease)}
.category-entry:is(:hover,:focus-visible) .category-glyph{background-color:transparent}
.category-entry p{color:#9b9b9b}.category-examples{color:#737373}.category-entry>.category-arrow{color:#666}
.category-entry .count-badge{background:#f4f4f4;color:#171717}
.tools-module .category-tabs a{color:#808080}.tools-module .category-tabs a:is(:hover,:focus-visible){color:#ccc}.tools-module .category-tabs a[aria-selected=true]{color:#f5f5f5}
.tool-card-icon,.favorite-card>.ph{transition:color .25s,border-color .25s,background .25s,box-shadow .25s}
@media(hover:hover) and (pointer:fine){.tool-card.is-tilting,.favorite-card.is-tilting{transition:background .25s,border-color .25s,box-shadow .3s,transform .12s cubic-bezier(.22,1,.36,1);will-change:transform}.tool-card:hover{transform:perspective(860px) translateY(-4px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) scale3d(1.01,1.01,1.01)}.favorite-card:hover{transform:perspective(760px) translateY(-4px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) scale3d(1.012,1.012,1.012)}}
@media(hover:none){.tool-card:not(:focus-visible):hover,.favorite-card:not(:focus-visible):hover{background:var(--surface);border-color:var(--draft-card-border);box-shadow:none;transform:none}.tool-card:not(:focus-visible):hover::before,.favorite-card:not(:focus-visible):hover::before,.category-entry:not(:focus-visible):hover::before{opacity:0}.category-entry:not(:focus-visible):hover .category-glyph{background-color:#ffffff07}}
@media(prefers-reduced-motion:reduce){.tool-card::before,.favorite-card::before,.category-entry::before,.tool-card-icon{transition:none}.tool-card:hover,.favorite-card:hover,.tool-card.is-tilting,.favorite-card.is-tilting{transform:none!important;transition:none!important}}

/* editorial-feed */
/* Original text posters sit behind the real titles, dates and article links. */
.editorial-feed .section-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:26px}
.editorial-intro-copy{min-width:0}
.editorial-intro-copy h2{text-wrap:balance}
.editorial-edition{display:flex;align-items:baseline;gap:8px;flex:none;padding-bottom:13px;color:#686868;user-select:none}
.editorial-edition strong{font:450 50px/1 'Space Grotesk',sans-serif;letter-spacing:-3px;color:#d6d6d6}
.editorial-edition span{max-width:65px;font:9px/1.6 'Geist Mono',monospace;letter-spacing:.7px}
.editorial-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:23px;padding-top:4px}
.editorial-card{position:relative;isolation:isolate;display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid #242424;border-radius:18px;background:transparent;color:#eee;text-decoration:none;transition:border-color .25s}
.editorial-card::before{content:"";position:absolute;z-index:1;inset:0;pointer-events:none;border-radius:inherit;background:radial-gradient(circle 430px at 100% 100%,#ffffff24 0%,transparent 65%);opacity:0;transition:opacity .35s var(--ease)}
.editorial-card:is(:hover,:focus-visible){background:transparent;border-color:#494949;transform:none}
.editorial-card:is(:hover,:focus-visible)::before{opacity:1}
.editorial-poster{position:relative;isolation:isolate;min-width:0;height:275px;overflow:hidden;background:#ffffff04;color:#a9a9a9;padding:22px 25px;display:flex;flex-direction:column;justify-content:space-between;pointer-events:none}
.editorial-poster::after{content:"";position:absolute;z-index:-1;width:180px;height:180px;border:1px solid #ffffff07;border-radius:50%;left:17%;top:28%}
.poster-top{display:flex;align-items:center;justify-content:space-between;gap:14px;font:8px/1.6 'Geist Mono',monospace;letter-spacing:1px;color:#7b7b7b;z-index:1}
.poster-word{position:absolute;z-index:-1;left:21px;top:30px;font:550 clamp(73px,8vw,122px)/1.1 'Space Grotesk',sans-serif;letter-spacing:-.06em;color:#ffffff0c;white-space:nowrap}
.poster-illustration{position:absolute;right:4%;bottom:19px;width:43%;height:180px;color:#bdbdbd;opacity:.62;transform:rotate(-4deg)}
.poster-illustration svg{display:block;width:100%;height:100%;stroke-width:1.2}
.poster-headline{position:relative;z-index:1;display:block;margin-top:auto;margin-bottom:13px;font-size:clamp(23px,2.2vw,33px);line-height:1.55;letter-spacing:-1px;color:#ededed;font-weight:520}
.poster-signature{position:relative;z-index:1;font:500 10px/1 'Space Grotesk',sans-serif;color:#747474;letter-spacing:-.2px}
.poster-keyboard .poster-illustration{transform:rotate(9deg);right:1%;bottom:23px}
.poster-keyboard .poster-word{font-size:110px}
.poster-photos .poster-word{font-size:153px;top:24px}
.poster-fate .poster-word{font-size:144px;top:22px}
.poster-gif .poster-illustration{transform:rotate(5deg)}
.poster-dice .poster-illustration{transform:rotate(4deg)}
.poster-color .poster-word{font-size:98px}
.poster-tarot .poster-word{font-size:140px}
.editorial-copy{position:relative;z-index:2;display:flex;flex-direction:column;flex:1;gap:0;padding:24px 25px 23px;min-width:0}
.editorial-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#808080;font-size:10px;line-height:1.8}
.editorial-meta time{font:10px/1.8 'Geist Mono',monospace;white-space:nowrap;flex:none}
.editorial-meta>span{min-width:0}
.editorial-copy h3{font-size:23px;font-weight:500;line-height:1.6;letter-spacing:-.4px;margin:13px 0 11px;color:#eee}
.editorial-copy p{font-size:13px;color:#999;line-height:1.95;margin:0;max-width:100%}
.editorial-read{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding-top:24px;color:#aaa;font-size:11px;line-height:1.5}
.editorial-read>svg{width:30px;height:30px;padding:7px;border:1px solid #414141;border-radius:50%;color:#ccc;transition:transform .25s,color .25s,border-color .25s}
.editorial-card:is(:hover,:focus-visible) .editorial-read>svg{border-color:#bcbcbc;color:#fff;transform:translateX(3px)}
.editorial-featured{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr)}
.editorial-featured .editorial-poster{height:100%;min-height:350px;padding:26px 29px}
.editorial-featured .poster-word{font-size:164px;left:24px;top:40px}
.editorial-featured .poster-illustration{width:49%;right:2%;height:240px;bottom:19px;opacity:.6}
.editorial-featured .poster-headline{font-size:clamp(29px,2.6vw,40px);margin-bottom:18px}
.editorial-featured .editorial-copy{padding:29px 31px 27px}
.editorial-featured .editorial-copy h3{font-size:27px;margin-top:23px;line-height:1.6}
.editorial-featured .editorial-copy p{font-size:13px}
.editorial-featured .editorial-read{padding-top:27px}
.editorial-feed .feed-more{margin-top:27px;margin-bottom:50px;min-height:45px;background:#161616;border:1px solid #3b3b3b;color:#ddd;border-radius:99px;transition:border-color .2s,color .2s}
.editorial-feed .feed-more:hover{background:#161616;border-color:#838383;color:#fff;transform:none}
@media(min-width:1680px){.editorial-grid{gap:25px}.editorial-poster{height:300px;padding:25px 28px}.poster-headline{font-size:35px}.poster-illustration{height:209px}.editorial-copy{padding:26px 28px}.editorial-copy h3{font-size:25px}.editorial-copy p{font-size:14px}.editorial-featured .editorial-poster{min-height:380px}.editorial-featured .poster-headline{font-size:44px}.editorial-featured .poster-word{font-size:190px}.editorial-featured .poster-illustration{height:260px}.editorial-featured .editorial-copy{padding:34px 35px}.editorial-featured .editorial-copy h3{font-size:31px}.editorial-featured .editorial-copy p{font-size:14px}}
@media(max-width:1230px){.editorial-edition strong{font-size:44px}.editorial-grid{gap:18px}.editorial-featured{display:flex;grid-column:auto}.editorial-featured .editorial-poster,.editorial-poster{height:240px;min-height:0;padding:21px}.editorial-featured .poster-headline,.poster-headline{font-size:26px;line-height:1.55;margin-bottom:14px}.editorial-featured .poster-word,.poster-word{font-size:100px;top:35px;left:17px}.editorial-featured .poster-illustration,.poster-illustration{height:159px;width:49%;bottom:14px}.editorial-featured .editorial-copy,.editorial-copy{padding:22px}.editorial-featured .editorial-copy h3,.editorial-copy h3{font-size:22px;line-height:1.6;margin:15px 0 10px}.editorial-featured .editorial-copy p,.editorial-copy p{font-size:12px}.editorial-meta{flex-direction:column;align-items:flex-start;gap:3px}.poster-top{font-size:7px;letter-spacing:.6px}.poster-color .poster-word{font-size:78px}.poster-photos .poster-word{font-size:125px}.editorial-grid .editorial-card:last-child{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr}.editorial-grid .editorial-card:last-child .editorial-poster{height:100%;min-height:260px}}
@media(min-width:761px) and (max-width:920px){.editorial-grid{grid-template-columns:1fr}.editorial-edition{display:none}.editorial-grid .editorial-card:last-child{display:flex}.editorial-grid .editorial-card:last-child .editorial-poster{height:240px;min-height:0}.editorial-meta{flex-direction:row;align-items:center}.editorial-copy h3{font-size:23px}.editorial-poster .poster-headline{font-size:30px}.editorial-poster .poster-illustration{height:180px;width:44%}.poster-word{font-size:120px}}
@media(max-width:760px){.editorial-edition{display:none}.editorial-grid{gap:16px}.editorial-card{border-radius:16px}.editorial-featured .editorial-copy,.editorial-copy{padding:19px}.editorial-copy h3,.editorial-featured .editorial-copy h3{font-size:21px}.editorial-poster,.editorial-featured .editorial-poster{height:235px;padding:20px}.poster-headline,.editorial-featured .poster-headline{font-size:25px}.editorial-read{padding-top:20px}}
@media(max-width:540px){.editorial-grid{grid-template-columns:1fr;gap:21px}.editorial-grid .editorial-card:last-child{grid-column:auto;display:flex}.editorial-poster,.editorial-featured .editorial-poster,.editorial-grid .editorial-card:last-child .editorial-poster{height:244px;min-height:0;padding:22px}.poster-top{font-size:7px;letter-spacing:.8px}.poster-headline,.editorial-featured .poster-headline{font-size:29px;line-height:1.55}.editorial-poster .poster-word{font-size:110px;top:30px}.poster-photos .poster-word{font-size:138px}.poster-color .poster-word{font-size:86px}.editorial-poster .poster-illustration{height:170px;width:47%;bottom:15px;right:1%}.editorial-featured .editorial-copy,.editorial-copy{padding:21px}.editorial-meta{flex-direction:row;gap:8px;font-size:9px}.editorial-meta time{font-size:9px}.editorial-copy h3,.editorial-featured .editorial-copy h3{font-size:22px;line-height:1.65;margin:15px 0 10px}.editorial-copy p,.editorial-featured .editorial-copy p{font-size:12px}.editorial-read{font-size:11px;padding-top:21px}.editorial-feed .feed-more{font-size:12px;margin-bottom:30px}}
@media(max-width:360px){.editorial-poster,.editorial-featured .editorial-poster,.editorial-grid .editorial-card:last-child .editorial-poster{height:223px;padding:19px}.poster-headline,.editorial-featured .poster-headline{font-size:26px}.editorial-poster .poster-illustration{height:146px;width:45%}.poster-top{font-size:6px}.editorial-featured .editorial-copy,.editorial-copy{padding:18px}.editorial-meta{flex-direction:column;align-items:flex-start;gap:4px}.editorial-copy h3,.editorial-featured .editorial-copy h3{font-size:21px}}
@media(hover:none){.editorial-card:not(:focus-visible):hover::before{opacity:0}.editorial-card:not(:focus-visible):hover{border-color:#242424}.editorial-card:not(:focus-visible):hover .editorial-read>svg{transform:none}}
@media(prefers-reduced-motion:reduce){.editorial-card,.editorial-card::before,.editorial-card *{transition:none!important}.editorial-card:is(:hover,:focus-visible) .editorial-read>svg{transform:none}}

/* community */
/* Conversation posters reuse the homepage's monochrome editorial language. */
.community-module{padding-bottom:45px}
.community-intro{display:flex;align-items:center;justify-content:space-between;gap:32px;max-width:none}
.community-intro-copy{max-width:760px;min-width:0}
.community-intro h2{font-size:clamp(32px,3.5vw,51px);font-weight:550;line-height:1.45;letter-spacing:-1.8px;text-wrap:balance}
.community-intro h2>span{display:inline-block}
.community-symbol{width:145px;height:120px;flex:none;color:#c2c2c2;stroke:currentColor;stroke-width:1.3;transform:rotate(-8deg);opacity:.7}
.community-symbol circle{fill:currentColor;stroke:none}
.community-disclosure{max-width:790px;font-size:11px;line-height:1.9;color:#929292;margin-bottom:28px}
.community-disclosure a{display:inline-block;color:#c9c9c9;margin-top:7px;text-decoration:underline;text-underline-offset:4px}
.community-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:32px 0 22px}
.community-tabs{display:flex;gap:25px}
.community-tabs button{display:flex;align-items:center;gap:10px;border:0;background:none;padding:10px 0;font-size:16px;color:#808080;white-space:nowrap}
.community-tabs button[aria-selected=true]{color:#f6f6f6;font-weight:650}
.community-tabs button span{display:grid;place-items:center;background:#fff;color:#171717;min-width:29px;height:26px;padding:0 9px;border-radius:999px;font:650 12px var(--sans)}
.community-create.button,.community-replies-heading .button{min-height:43px;padding:10px 19px;font-size:13px;border-radius:999px}
.community-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;width:100%}
.community-entry{position:relative;min-width:0}
.community-entry-poster,.community-entry-main{display:flex;flex-direction:column;isolation:isolate;overflow:hidden;padding:26px 27px 22px;border:1px solid #292929;border-radius:18px;background:#ffffff02;transition:border-color .25s}
.community-entry-poster{min-height:320px}
.community-entry-poster::before{content:"";position:absolute;z-index:-1;inset:0;pointer-events:none;background:radial-gradient(circle 360px at 0 100%,#ffffff18,transparent 65%);opacity:0;transition:opacity .3s}
.community-entry-poster:is(:hover,:focus-within){border-color:#515151}
.community-entry-poster:is(:hover,:focus-within)::before{opacity:1}
.community-poster-edition{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:25px;font:9px/1.5 'Geist Mono',monospace;letter-spacing:1.1px;color:#747474}
.community-poster-mark{position:absolute;z-index:-1;right:5px;top:18px;user-select:none;pointer-events:none;font:400 270px/1 Georgia,serif;color:#ffffff06;transform:rotate(-7deg)}
.community-author{display:flex;align-items:center;gap:11px}
.community-avatar{width:35px;height:35px;object-fit:cover;border-radius:50%;flex:none}
.community-visitor{display:grid;place-items:center;background:#fff;color:#262626;font-size:16px;font-weight:600}
.community-identity{display:flex;align-items:center;gap:8px;min-width:0;flex-wrap:wrap}
.community-identity b{font-size:14px;font-weight:550;overflow-wrap:anywhere}
.community-official{font-size:10px;background:#ededed;color:#242424;border-radius:4px;padding:1px 6px;font-weight:650}
.community-automated{font-size:10px;color:#b8b8b8;border:1px solid #ffffff35;border-radius:4px;padding:1px 6px}.community-email-field label{display:block;font-size:12px;font-weight:650;margin:18px 0 7px}.community-email-field p{font-size:11px;line-height:1.8;color:#666;margin:8px 0}.community-email-field[hidden]{display:none}
.community-author time{margin-left:auto;font-size:10px;color:#858585;white-space:nowrap}
.community-message{display:block;width:100%;border:0;background:none;text-align:left;color:#e3e3e3;font-size:clamp(21px,1.9vw,28px);font-weight:500;letter-spacing:-.5px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;margin:26px 0 29px;padding:0}
.community-message-long{font-size:18px;line-height:1.9;letter-spacing:0;font-weight:450}
.community-message:is(button):hover{color:#fff}
.community-message:is(button):focus-visible{outline:1px solid #aaa;outline-offset:6px;border-radius:2px}
.community-entry-foot{display:flex;align-items:center;gap:19px;font-size:11px;color:#929292;margin-top:auto;padding-top:17px;border-top:1px solid #ffffff12}
.community-like{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:38px;min-width:68px;padding:7px 13px;border:1px solid #ffffff32;border-radius:999px;background:none;color:#c7c7c7;font:600 13px/1 var(--sans);transition:color .18s,border-color .18s,background .18s}
.community-thumb{display:block;width:19px;height:19px;fill:currentColor;flex:none;transform-origin:40% 90%;transition:transform .2s}
.community-like:not(:disabled):hover{border-color:#888;color:#fff}
.community-like:not(:disabled):hover .community-thumb{transform:scale(1.12) rotate(-7deg)}
.community-like[aria-pressed=true]{background:#eee;color:#171717;border-color:#eee}
.community-like:disabled{cursor:default}
.community-like.is-celebrating .community-thumb{animation:community-thumb .45s ease-out}
.community-like-count{min-width:1ch;font-variant-numeric:tabular-nums}
.community-open{display:flex;align-items:center;gap:5px;margin-left:auto;font-size:12px}
.community-open:hover{color:#fff}
.community-entry-id{margin-left:auto;font:10px 'Geist Mono',monospace;color:#626262}
.community-more{margin-top:25px}
.community-back{margin:6px 0 23px}
.community-entry-main{padding:29px 32px 25px}
.community-entry-main .community-message{font-size:clamp(23px,2.4vw,33px);max-width:1000px;margin-top:28px}
.community-entry-main .community-message-long{font-size:21px;line-height:1.9}
.community-entry-main .community-entry-foot{border-top:0;padding-top:0}
.community-entry-reply{padding:27px 0;border-bottom:1px solid #ffffff14}
.community-entry-reply .community-message{font-size:16px;font-weight:400;letter-spacing:0;line-height:1.9;margin:16px 0 20px;padding-left:46px}
.community-entry-reply .community-entry-foot{border-top:0;padding:0 0 0 46px}
.community-replies-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-top:28px;margin-top:18px}
.community-replies-heading h3{font-size:20px;font-weight:550}
.community-closed-note,.community-status{font-size:12px;line-height:1.8;color:#a2a2a2;margin-top:22px}
.community-status:empty{display:none}
.community-dialog{width:min(570px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:30px;border:0;border-radius:18px;background:#fff;color:#19191d;box-shadow:0 24px 100px #0008;overflow-y:auto;color-scheme:light}.community-dialog::backdrop{background:#000b;backdrop-filter:blur(5px)}.community-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}.community-dialog-heading h3{font-size:21px;line-height:1.45;font-weight:650}.community-close{width:36px;height:36px;border:0;border-radius:50%;background:#f0f0f2;color:#222;font-size:25px;flex:none}.community-dialog form>label{display:block;font-size:12px;font-weight:650;margin:15px 0 7px}.community-dialog input,.community-dialog textarea{display:block;width:100%;border:1px solid #d8d8dd;border-radius:9px;background:#fafafa;color:#161619;font:14px/1.7 var(--sans);padding:11px 13px;outline-offset:2px}.community-dialog textarea{resize:vertical;min-height:145px;max-height:35dvh}.community-dialog :is(input,textarea):focus-visible{outline:2px solid #77777f}.community-counter{display:flex;justify-content:space-between;gap:12px;font-size:10px;color:#777780;margin-top:8px}.community-counter output{white-space:nowrap}.community-counter .is-over{color:#a52929}.community-honeypot{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);pointer-events:none}.community-submit-note{font-size:11px;line-height:1.8;color:#777780;margin-top:17px}.community-submit-status{font-size:12px;line-height:1.8;color:#5c2930;margin-top:12px}.community-submit.button{display:block;width:100%;border:0;background:#171719;color:#fff;margin-top:20px;font-size:13px;font-weight:600}.community-submit:disabled{opacity:.5;cursor:wait}.community-confetti{position:fixed;inset:0;z-index:10000;pointer-events:none;width:100%;height:100%}

@keyframes community-thumb{0%,100%{transform:scale(1) rotate(0)}40%{transform:scale(1.35) rotate(-18deg)}70%{transform:scale(.95) rotate(3deg)}}
@media(max-width:1100px){.community-list{grid-template-columns:1fr}.community-entry-poster{min-height:270px}.community-message{font-size:26px}.community-message-long{font-size:18px}.community-symbol{width:110px;height:100px}.community-intro h2{font-size:37px}}
@media(max-width:540px){.community-intro{gap:12px;position:relative}.community-intro h2{font-size:32px;line-height:1.5;letter-spacing:-1px}.community-symbol{display:none}.community-toolbar{align-items:center;flex-wrap:wrap;gap:14px;margin:24px 0 20px}.community-tabs{gap:19px}.community-tabs button{font-size:14px;gap:8px}.community-tabs button span{height:24px;min-width:25px;font-size:11px;padding:0 7px}.community-create.button{font-size:12px;min-height:39px;padding:9px 14px}.community-list{gap:18px}.community-entry-poster,.community-entry-main{padding:22px 21px 20px;border-radius:16px}.community-entry-poster{min-height:285px}.community-poster-edition{font-size:8px;letter-spacing:.8px;margin-bottom:23px}.community-author{gap:9px;flex-wrap:wrap}.community-avatar{width:32px;height:32px}.community-author time{font-size:9px}.community-identity b{font-size:13px}.community-message,.community-entry-main .community-message{font-size:23px;line-height:1.8;margin:24px 0}.community-message-long,.community-entry-main .community-message-long{font-size:17px;line-height:1.9}.community-entry-foot{gap:14px}.community-like{min-height:38px;min-width:67px}.community-entry-reply .community-message{font-size:15px;padding-left:0}.community-entry-reply .community-entry-foot{padding-left:0}.community-dialog{padding:23px 19px}.community-dialog-heading h3{font-size:19px}.community-counter{font-size:9px}.community-disclosure{font-size:11px}.community-replies-heading h3{font-size:18px}}
@media(max-width:360px){.community-toolbar{align-items:flex-start}.community-create.button{width:100%}.community-intro h2{font-size:29px}.community-entry-poster,.community-entry-main{padding:20px 18px}.community-message,.community-entry-main .community-message{font-size:22px}.community-message-long,.community-entry-main .community-message-long{font-size:16px}.community-author time{width:100%;padding-left:41px;margin-top:-5px}}
@media(prefers-reduced-motion:reduce){.community-entry-poster,.community-entry-poster::before,.community-like,.community-thumb{animation:none!important;transition:none!important}.community-confetti{display:none}.community-like:not(:disabled):hover .community-thumb{transform:none}}

/* production */
/* Preserve the approved text links while keeping real locale navigation. */
.footer-locales.home-locale-text{border:0;border-radius:0;padding:0;background:transparent}
.footer-locales.home-locale-text a[aria-current]{color:#bcbcc5;background:transparent}
.desktop-github{border:2px solid #fff;color:#eee}
.desktop-showcase figcaption>a{font-size:14px;font-weight:700;gap:9px;color:#ccc}
.desktop-showcase figcaption svg{width:16px;height:16px}
.deck-position{min-width:112px}
.deck-position>span{font-size:20px;font-weight:750;gap:10px}
.deck-position b{font-weight:800;color:#eee}
.deck-position i{font-weight:700;color:#85858f}
.category-entry h3{display:flex;flex-wrap:wrap;gap:12px}
.category-entry .count-badge{min-width:92.4px;height:25.2px;padding:0 12.6px;margin-left:0;font:750 11.2px/1 var(--sans);white-space:nowrap}
.start-actions .button{max-width:100%;white-space:normal;text-align:center}
@media(max-width:1230px){.category-entry h3{display:grid;grid-template-columns:42px minmax(0,1fr);gap:10px 12px}.category-entry .count-badge{grid-column:2;justify-self:start}}
@media(max-width:760px){.desktop-showcase figcaption>a{font-size:13px}.deck-position{min-width:100px}.deck-position>span{font-size:18px}}
@media(max-width:540px){.category-entry h3{grid-template-columns:39px minmax(0,1fr);gap:9px 12px}.category-entry .count-badge{min-width:92.4px;font-size:10.5px;height:23.8px}.deck-position{min-width:84px}.deck-position>span{font-size:17px;gap:7px}}
.favorite-icon{display:grid;place-items:center;width:27px;height:27px;flex:none;color:#aaa}
.favorite-icon svg{width:100%;height:100%;fill:currentColor}
html:lang(en) .hero-copy h1{font-size:clamp(30px,2.55vw,43px);line-height:1.28;letter-spacing:-1.2px}
html:lang(en) .hero-copy h1 span{max-width:650px}
html:lang(en) .sidebar nav a span{font-size:15px}
html:lang(en) .hero-actions>span{max-width:190px}
html:lang(en) .deck-rail-label{writing-mode:horizontal-tb;transform:rotate(-90deg);width:185px;max-width:none;text-align:center;font-size:15px;letter-spacing:.1px}
html:lang(en) .deck-card.is-active .deck-rail-label{transform:none;width:auto;text-align:left}
html:lang(en) .poster-headline{font-size:clamp(22px,2.5vw,34px);line-height:1.15;letter-spacing:-1px}
html:lang(en) .community-stage h3{line-height:1.4}
.home-module .favorites .favorite-grid:empty{min-height:100px}
/* Controls have useful static alternatives when JavaScript is unavailable. */
.no-script-note{margin:16px 0;color:#999;font-size:12px}
@media(max-width:1100px){html:lang(en) .deck-rail-label{transform:none;width:auto;text-align:left}}
@media(max-width:760px){html:lang(en) .hero-copy h1{font-size:32px}.favorite-icon{width:24px;height:24px}}
@media(max-width:540px){html:lang(en) .hero-copy h1{font-size:29px}html:lang(en) .hero-copy p{max-width:100%}html:lang(en) .poster-headline{font-size:26px}.favorite-icon{width:21px;height:21px}html:lang(en) .sidebar nav a span{font-size:15px}}

.home-locale-text{font-family:system-ui,sans-serif}
.desktop-download>svg:first-child{margin-left:0;width:17px;height:17px}

/* footer-ticker */
/* All tool names share one masked lane over the quiet brand wordmark. */
.footer-signature{position:relative;isolation:isolate}
.footer-marquee{position:absolute;z-index:2;inset-inline:0;bottom:8px;padding:12px 0;overflow:hidden;color:#b7b7bf;text-shadow:0 1px 8px #000;mask-image:linear-gradient(to right,transparent,#000 12%,#000 88%,transparent);-webkit-mask-image:linear-gradient(to right,transparent,#000 12%,#000 88%,transparent)}
.footer-marquee::before,.footer-marquee::after{content:"";position:absolute;z-index:2;top:0;bottom:0;width:clamp(32px,8vw,110px);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);pointer-events:none}
.footer-marquee::before{left:0;mask-image:linear-gradient(to right,#000,transparent);-webkit-mask-image:linear-gradient(to right,#000,transparent)}
.footer-marquee::after{right:0;mask-image:linear-gradient(to left,#000,transparent);-webkit-mask-image:linear-gradient(to left,#000,transparent)}
.footer-ticker-track{display:flex;width:max-content;max-width:none;will-change:transform}
.footer-ticker-group{display:flex;align-items:center;flex:none;gap:25px;padding-right:25px;white-space:nowrap;font-size:16px;font-weight:650;line-height:1.7;letter-spacing:.2px}
.footer-ticker-item{display:inline-flex;align-items:center;gap:25px;flex:none}
.footer-ticker-item i{font-size:10px;font-weight:400;font-style:normal;color:#65656f}
.footer-end-actions{display:flex;align-items:center;gap:18px;flex:none;padding-inline-end:48px}
.footer-ticker-toggle{display:grid;place-items:center;flex:none;width:32px;height:32px;padding:0;border:0;border-radius:50%;background:transparent;color:#858590;font:13px/1 system-ui,sans-serif;transition:color .2s,transform .2s}
.footer-ticker-toggle:hover{color:#eee;transform:scale(1.08)}
@media(max-width:760px){.footer-marquee{bottom:3px;padding:9px 0}.footer-ticker-group{font-size:14px;gap:19px;padding-right:19px}.footer-ticker-item{gap:19px}.footer-end-actions{gap:17px;padding-inline-end:0}.footer-ticker-toggle{width:40px;height:40px}}
@media(max-width:540px){.footer-marquee{bottom:0;padding:6px 0}.footer-ticker-group{font-size:13px}.footer-ticker-item i{font-size:8px}}
@media(prefers-reduced-motion:reduce){.footer-ticker-track{will-change:auto}.footer-ticker-toggle{transition:none;transform:none}}

/* hero-layout */
/* The primary locale control belongs to the hero topline, without a capsule. */
.hero-topline .hero-locale{display:inline-flex;align-items:center;gap:12px;flex:none;border:0;padding:0;background:transparent;white-space:nowrap;font-family:var(--sans)}
.hero-locale a{display:inline-flex;align-items:center;gap:7px;min-height:36px;color:#85858f;font-size:13px;font-weight:650;transition:color .2s}
.hero-locale a[aria-current=page],.hero-locale a:hover{color:#f1f1f2}
.hero-locale a svg{display:block;width:17px;height:17px}
.hero-locale-divider{font-size:13px;color:#4d4d56;font-weight:400}
.sidebar-status{margin-top:10px}
.sidebar-status>svg:first-child{margin-left:0;width:17px;height:17px}
.hero-copy h1{--hero-muted:#85858f}
.hero-copy h1 .hero-count-line{display:flex;align-items:baseline;gap:.12em;color:var(--ink);font-weight:inherit;max-width:none}
.hero-copy h1 .hero-count-number{display:inline-flex;color:inherit;font-weight:inherit;max-width:none}
.hero-copy h1 .hero-count-digit{display:inline;color:var(--ink);font-weight:inherit;max-width:none}
.hero-copy h1 .hero-count-digit:nth-child(2n){color:var(--hero-muted)}
.hero-copy h1 .hero-count-suffix,.hero-copy h1 .hero-mainline{color:var(--ink);font-weight:inherit;max-width:none}
.hero-copy h1 .hero-count-suffix{display:inline}
.hero-copy h1 .hero-mainline,.hero-copy h1 .hero-conclusion{display:block}
.hero-copy h1 .hero-conclusion{color:var(--hero-muted);font-weight:430;max-width:none}
html:lang(zh-CN) .hero-copy h1 .hero-count-line{gap:0}
@media(max-width:760px){.hero-topline{gap:12px}.hero-topline .hero-locale{gap:10px}.hero-locale a{font-size:12px;gap:5px;min-height:32px}.hero-locale a svg{width:16px;height:16px}}
@media(max-width:540px){.hero-copy h1,html:lang(en) .hero-copy h1{font-size:clamp(18.5px,5.7vw,24px);line-height:1.5}.hero-topline .eyebrow{font-size:7px;letter-spacing:.8px}}
@media(max-width:360px){.hero-topline{gap:8px}.hero-topline .hero-locale{gap:8px}.hero-locale a{font-size:11px}.hero-locale a svg{width:15px;height:15px}.hero-topline .eyebrow{font-size:6.5px;letter-spacing:.6px}}
@media(prefers-reduced-motion:reduce){.hero-locale a{transition:none}}

/* notice */
/* A single-action announcement; native dialog keeps the background inert. */
#home-notice{color-scheme:light;width:min(560px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);margin:auto;padding:0;overflow:hidden;border:1px solid #fff;border-radius:24px;background:#fff;color:#202024;box-shadow:0 30px 110px #0008;font:14px/1.8 var(--sans)}
#home-notice[open]{display:flex;flex-direction:column;animation:notice-enter .22s var(--ease)}
#home-notice::backdrop{background:#0009;backdrop-filter:blur(7px)}
.notice-header{flex:none;padding:28px 30px 17px}
.notice-mark{display:grid;place-items:center;width:43px;height:43px;margin-bottom:18px;border-radius:13px;background:#f1f1f3;color:#2c2c32}
.notice-mark svg{width:25px;height:25px}
.notice-eyebrow{display:block;color:#777780;font-size:10px;font-weight:650;letter-spacing:1.4px;text-transform:uppercase}
#home-notice-title{margin:8px 0 0;font-size:27px;font-weight:680;line-height:1.4;letter-spacing:-.6px}
.notice-body{min-height:0;padding:0 30px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#ccc #fff}
.notice-body::-webkit-scrollbar{width:5px}.notice-body::-webkit-scrollbar-thumb{background:#ccc;border-radius:9px}
.notice-body p{color:#666670;font-size:13px;line-height:1.9}
.notice-policy{padding-top:20px;margin-top:20px;border-top:1px solid #ededf0}
.notice-policy h3{margin:0 0 8px;font-size:15px;font-weight:650;color:#28282e}
.notice-policy p+p{margin-top:8px}
.notice-policy a{display:inline-flex;align-items:center;gap:7px;min-height:36px;margin-top:8px;color:#25252b;font-size:12px;font-weight:600;text-decoration:underline;text-decoration-color:#b0b0b8;text-underline-offset:4px}
.notice-policy a svg{width:14px;height:14px}
.notice-body .notice-device-note{margin-top:17px;color:#85858d;font-size:11px;line-height:1.8}
.notice-footer{flex:none;padding:23px 30px 28px}
#home-notice-accept{display:flex;align-items:center;justify-content:center;gap:14px;width:100%;min-height:49px;padding:12px 22px;border:0;border-radius:999px;background:#202024;color:#fff;font:650 13px/1.6 var(--sans);cursor:pointer;transition:background .2s}
#home-notice-accept svg{width:17px;height:17px;transition:transform .2s var(--ease)}
#home-notice-accept:hover{background:#39393f}#home-notice-accept:hover svg{transform:translateX(3px)}
#home-notice :is(button,a):focus-visible{outline:2px solid #777783;outline-offset:4px}
@keyframes notice-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:540px){#home-notice{width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:21px}.notice-header{padding:23px 22px 14px}.notice-mark{width:37px;height:37px;margin-bottom:14px}.notice-mark svg{width:22px;height:22px}#home-notice-title{font-size:23px}.notice-body{padding:0 22px}.notice-body p{font-size:12px}.notice-policy{padding-top:16px;margin-top:16px}.notice-policy h3{font-size:14px}.notice-body .notice-device-note{font-size:10px}.notice-footer{padding:20px 22px 23px}}
@media(max-height:540px){.notice-header{padding-top:17px;padding-bottom:12px}.notice-mark{display:none}#home-notice-title{font-size:22px}.notice-footer{padding-top:14px;padding-bottom:17px}}
@media(prefers-reduced-motion:reduce){#home-notice,#home-notice *{animation:none!important;transition:none!important}}

/* mobile-workspace */
/* Mobile corrections stay isolated from the approved desktop workspace. */
.sidebar-scroll{display:contents}
.sidebar-scrollbar,.favorite-group-count{display:none}
@media(max-width:760px){
 .sidebar[data-scroll-shell]{padding:0;overflow:hidden}
 .sidebar-scroll{display:flex;flex-direction:column;flex:1;min-height:0;overflow-y:auto;overscroll-behavior-y:contain;padding:29px 22px 23px;scrollbar-width:none}
 .sidebar-scroll::-webkit-scrollbar{display:none}
 .sidebar-scroll>*{flex-shrink:0}
 .sidebar-scrollbar{display:block;position:absolute;inset:0 0 0 auto;width:4px;background:#ffffff29;pointer-events:none;border-radius:0}
 .sidebar-scrollbar-thumb{display:block;position:absolute;inset:0 0 auto;width:100%;height:100%;background:#fff;border-radius:0}
 .favorites .section-heading{align-items:flex-start}
 .favorites .section-heading>div{min-width:0}
 .favorites .section-heading h2 .favorite-group-count{display:inline;margin-left:8px;font-size:13px;letter-spacing:0;font-weight:450;color:#9a9a9f;white-space:nowrap}
 .favorites #new-group{flex:none}
 .favorites #edit-group{font-size:11px;padding:0;min-height:32px;margin-top:6px}
 .favorite-toolbar{display:block;margin:13px 0 18px}
 .favorite-toolbar [role=tablist]{width:100%;gap:3px;padding:0 0 8px;scroll-padding-inline:4px}
 .favorite-tab{flex:none;min-height:34px}
 .favorite-card{flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:112px;gap:10px}
 .favorite-card>div{width:100%}
 .favorite-card>svg{display:none}
 .tools-module .category-tabs{flex-wrap:nowrap;overflow-x:auto;gap:12px;padding:19px 4px 8px;margin-bottom:16px;scroll-padding-inline:5px}
 .tools-module .category-tabs a{flex:none}
}
@media(max-width:360px){.favorites .section-heading h2 .favorite-group-count{margin-left:6px;font-size:12px}}

/* footer-badges */
/* Original platform artwork; one shared height, compact rows below the ticker. */
.site-footer{padding-bottom:max(72px,env(safe-area-inset-bottom))}
.footer-badges{container-type:inline-size;position:relative;margin-top:26px}
.footer-badges-row{--badge-height:min(32px,calc((100cqw - var(--badge-total-gaps)*8px)/var(--badge-total-ratio)));display:flex;align-items:center;justify-content:center;gap:8px}
.footer-badge-line{display:contents}
.footer-badges .footer-badge{position:relative;display:inline-grid;place-items:center;flex:none;isolation:isolate;width:calc(var(--badge-height)*var(--badge-ratio));height:var(--badge-height);min-height:28px;max-width:100%;border-radius:5px;text-decoration:none;transition:opacity .2s ease}
.footer-badges .footer-badge:hover{opacity:.78}
.footer-badges .footer-badge:focus-visible{outline:2px solid #ddd;outline-offset:4px}
.footer-badges .footer-badge-image{position:absolute;inset:0;width:100%;height:var(--badge-height);margin:auto;object-fit:contain;opacity:1;transition:opacity .2s ease}
.footer-badges .footer-badge-fallback{display:block;max-width:100%;padding:2px;color:#a8a8ad;font:550 clamp(7px,.8cqw,11px)/1.3 var(--sans);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:0}
.footer-badges .footer-badge[data-badge-error] .footer-badge-image{opacity:0}
.footer-badges .footer-badge[data-badge-error] .footer-badge-fallback{opacity:1}
.footer-badges .footer-dr-badge{min-width:0;display:flex;align-items:center;justify-content:center;gap:calc(var(--badge-height)*.3);padding:0 calc(var(--badge-height)*.35);color:#eee;line-height:1;white-space:nowrap}
.footer-dr-badge::before{content:"";position:absolute;inset:0;height:var(--badge-height);margin:auto;border:1px solid #ffffff2b;border-radius:calc(var(--badge-height)*.19);background:#171717;box-sizing:border-box;z-index:-1}
.footer-dr-badge>span:first-child{color:#bbb;font:600 calc(var(--badge-height)*.4)/1 'Geist',var(--sans);letter-spacing:-.035em}
.footer-dr-badge>strong{font:750 calc(var(--badge-height)*.55)/1 'Geist Mono',monospace;font-variant-numeric:tabular-nums;letter-spacing:-.055em}
.footer-dr-badge [data-ahrefs-dr-note]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:1100px){.footer-badges-row{--badge-height:min(24px,calc((100cqw - var(--badge-line-gaps)*8px)/var(--badge-line-ratio)));flex-direction:column;gap:7px}.footer-badge-line{display:flex;align-items:center;justify-content:center;gap:8px}}
@media(max-width:760px){.site-footer{padding-bottom:max(92px,env(safe-area-inset-bottom))}.footer-badges{margin-top:18px}.footer-badges-row{--badge-height:min(20px,calc((100cqw - var(--badge-line-gaps)*5px)/var(--badge-line-ratio)));gap:5px}.footer-badge-line{gap:5px}.footer-badges .footer-badge-fallback{font-size:8px}}
@media(prefers-reduced-motion:reduce){.footer-badges .footer-badge,.footer-badges .footer-badge-image{transition:none}}

/* coffee */
/* Voluntary support: same-height hero actions and a readable white native dialog. */
.hero-actions{flex-wrap:wrap;gap:12px}
.coffee-offer{display:inline-flex;align-items:center;gap:9px;max-width:100%}
.coffee-perk-note{font-size:12px;line-height:1.4;color:var(--muted,#92929e)}
.hero-actions .coffee-button{border:1px solid #ffffff32;background:transparent;color:#dddde1;gap:9px;padding-block:10px;white-space:nowrap}
.coffee-button>svg{width:18px;height:18px;flex:none}
.hero-actions .coffee-button:hover{background:#ffffff0a;border-color:#ffffff70}
.coffee-button-caption{position:relative}
.coffee-button .coffee-wave{position:absolute;left:0;bottom:-5px;width:100%;height:6px;overflow:visible;pointer-events:none;color:currentColor;opacity:.82}
.coffee-ink{stroke-dasharray:1 1;animation:coffee-pencil 4.6s linear infinite}
.coffee-eraser{animation:coffee-rub 4.6s linear infinite}
@keyframes coffee-pencil{
  0%,7%{stroke-dashoffset:1}
  18%{stroke-dashoffset:.65}
  27%{stroke-dashoffset:.43}
  40%,100%{stroke-dashoffset:0}
}
@keyframes coffee-rub{
  0%,57%{transform:translateX(0)}
  68%{transform:translateX(38px)}
  71%{transform:translateX(35px)}
  84%{transform:translateX(88px)}
  92%,100%{transform:translateX(127px)}
}
.coffee-steam{transform-box:fill-box;transform-origin:center;transition:transform .3s ease,opacity .3s ease}
.coffee-button:hover .coffee-steam{transform:translateY(-1px);opacity:.55}
.hero-actions>span{flex-basis:100%;max-width:none;font-size:12px;color:#92929e}
#coffee-dialog{color-scheme:light;width:min(744px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);margin:auto;padding:0;border:0;border-radius:25px;background:#fff;color:#242424;box-shadow:0 28px 110px #0008;font:13px/1.8 var(--sans);overflow:hidden}
#coffee-dialog[open]{display:grid;grid-template-columns:minmax(192px,222px) minmax(0,744px);column-gap:24px;align-items:center}
#coffee-dialog[id]{width:min(1034px,calc(100% - 16px));box-sizing:border-box;max-height:calc(100dvh - 12px);padding:14px 22px;border:0;background:transparent;box-shadow:none;border-radius:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
.coffee-main{grid-area:1/2;z-index:1;display:flex;flex-direction:column;min-width:0;max-height:calc(100dvh - 46px);border-radius:25px;background:#fff;overflow:hidden;box-shadow:0 10px 24px #0002}
#coffee-dialog .coffee-payments{grid-area:1/1;display:grid;grid-template-columns:1fr;gap:16px;margin:0;align-self:center}
#coffee-dialog .coffee-payment{--ticket:#fbfaf6;--stamp:#5476a2;width:100%;box-sizing:border-box;margin:0;padding:12px 18px 6px;border:1px solid #dcdad0;border-radius:12px;background:var(--ticket);box-shadow:0 4px 12px #0002}
#coffee-dialog .coffee-payment:last-child{--ticket:#f4f6ef;--stamp:#467964}
#coffee-dialog .coffee-payment figcaption{gap:7px;margin:0 0 6px}
#coffee-dialog .coffee-payment figcaption::after{content:"";width:23px;height:5px;margin-left:auto;color:var(--stamp);background:repeating-linear-gradient(90deg,currentColor 0 2px,transparent 2px 4px);opacity:.65}
#coffee-dialog .coffee-payment figcaption span{color:var(--stamp)}
#coffee-dialog .coffee-payment img{width:min(100%,clamp(122px,22dvh,176px));border:5px solid white;box-sizing:border-box;border-radius:3px}
#coffee-dialog .coffee-payment a{min-height:30px}
@media(prefers-reduced-motion:no-preference){
  #coffee-dialog[open] .coffee-main{animation:coffee-enter .3s ease-out both}
  #coffee-dialog[open] .coffee-payment{animation:coffee-enter .3s ease-out both}
}
.coffee-ribbons{position:fixed;inset:0;z-index:3;pointer-events:none;overflow:hidden}
.coffee-ribbons canvas{display:block;width:100%;height:100%}
@media(max-width:900px){
  #coffee-dialog[open]{grid-template-columns:minmax(0,1fr);gap:12px}
  #coffee-dialog[id]{width:min(768px,calc(100% - 8px));padding:9px 12px 16px}
  .coffee-main{grid-area:1/1;max-height:none}
  #coffee-dialog .coffee-body{overflow:visible}
  #coffee-dialog .coffee-payments{grid-area:2/1;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:6px 3px}
  #coffee-dialog .coffee-payment{max-width:240px;justify-self:center;padding:10px 6px 4px}
}
#coffee-dialog::backdrop{background:#000a;backdrop-filter:blur(7px)}
.coffee-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;flex:none;padding:27px 32px 15px}
.coffee-eyebrow,.coffee-label{display:block;font:650 9px/1.6 var(--sans);letter-spacing:1.25px;color:#858585}
#coffee-title{margin:7px 0 0;font-size:29px;line-height:1.35;font-weight:740;letter-spacing:-.9px;color:#212121}
.coffee-close{display:grid;place-items:center;flex:none;width:36px;height:36px;border:0;border-radius:50%;background:#f1f1f0;color:#555;cursor:pointer;transition:background .2s,transform .2s}
.coffee-close svg{width:18px;height:18px}.coffee-close:hover{background:#e8e8e5;transform:rotate(6deg)}
.coffee-body{padding:0 32px;overflow-y:auto;overscroll-behavior:contain;min-height:0;scrollbar-width:thin;scrollbar-color:#c4c4c1 #fff}
.coffee-body::-webkit-scrollbar{width:5px}.coffee-body::-webkit-scrollbar-thumb{background:#c4c4c1}
#coffee-intro{margin:0;color:#707070;font-size:12px;line-height:1.85;max-width:640px}
.coffee-payments{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:19px}
.coffee-payment{min-width:0;margin:0;padding:13px 17px 6px;background:#f5f5f3;border:1px solid #eaeae7;border-radius:17px}
.coffee-payment figcaption{display:flex;align-items:center;gap:9px;color:#292929;margin:0 0 8px;font-size:13px}
.coffee-payment figcaption>span{font:500 10px/1 'Geist Mono',monospace;color:#a2a29b}
.coffee-payment figcaption>strong{font-weight:700}
.coffee-payment img{display:block;width:min(100%,220px);height:auto;aspect-ratio:1;margin:auto;object-fit:contain;background:#fff;border-radius:9px}
.coffee-payment a{display:flex;align-items:center;justify-content:center;gap:8px;min-height:36px;color:#6e6e68;font-size:10px;text-decoration:none}
.coffee-payment a svg{width:13px;height:13px}.coffee-payment a:hover{color:#111}
.coffee-scan-note{margin:8px 0 7px;text-align:center;color:#8e8e87;font-size:10px;line-height:1.7}
.coffee-benefits{margin:20px 0 17px}
.coffee-benefits h3{margin:0;font:700 17px/1.4 var(--sans)}
.coffee-benefits>p{margin:5px 0 13px;font:400 12px/1.7 var(--sans);color:#575953}
.coffee-tiers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:0;gap:9px}
.coffee-tiers>div{min-width:0;position:relative;display:grid;align-content:center;gap:5px;min-height:92px;box-sizing:border-box;padding:12px 76px 12px 13px;background:#f3f3ef;color:#292b26;border-radius:8px}
.coffee-tiers>div.coffee-buyout{background:#30342d;color:#fffefa}
.coffee-tiers dt{font:600 12px/1.45 var(--sans)}
.coffee-tiers dt small{display:block;margin-top:2px;font:400 12px/1.45 var(--sans);overflow-wrap:break-word}
.coffee-tiers dd{margin:0;font:720 27px/1.15 'Geist',var(--sans);font-variant-numeric:tabular-nums}
.coffee-spider{--spider-rim:#645d58;--spider-thread:#9a8871;position:absolute;pointer-events:none;right:8px;top:50%;transform:translateY(-50%);width:66px;height:58px}
.coffee-buyout .coffee-spider{--spider-rim:#cabfb2;--spider-thread:#d8bf96}
.coffee-swing{transform-origin:40px 1px}
.coffee-weaver{transform-origin:40px 39px}
.coffee-weave-thread{stroke:#f2dbad;stroke-width:2.2;stroke-dasharray:23 77}
@media(prefers-reduced-motion:no-preference){
  #coffee-dialog[open] .coffee-swing{animation:coffee-swing 3.4s ease-in-out infinite}
  #coffee-dialog[open] .coffee-peek{animation:coffee-peek 3.8s ease-in-out infinite}
  #coffee-dialog[open] .coffee-steam{animation:coffee-steam 3.8s ease-out infinite}
  #coffee-dialog[open] .coffee-weaver{animation:coffee-weave 4.2s ease-in-out infinite}
  #coffee-dialog[open] .coffee-weave-thread{animation:coffee-silk 4.2s linear infinite}
}
@keyframes coffee-swing{0%,100%{transform:rotate(-12deg)}50%{transform:rotate(12deg)}}
@keyframes coffee-peek{0%,100%{transform:translateY(2px)}35%,55%{transform:translateY(-3px)}}
@keyframes coffee-steam{0%{opacity:0;transform:translateY(3px)}32%{opacity:.9}90%,100%{opacity:0;transform:translateY(-4px)}}
@keyframes coffee-weave{0%,100%{transform:rotate(-7deg)}50%{transform:rotate(8deg)}}
@keyframes coffee-silk{to{stroke-dashoffset:-100}}
@media(max-width:720px){
  .coffee-tiers{grid-template-columns:minmax(0,1fr);gap:5px}
  .coffee-tiers>div{grid-template-columns:minmax(0,1fr) auto;align-items:center;min-height:56px;padding:8px 12px 8px 68px}
  .coffee-spider{left:7px;right:auto;width:54px;height:46px}
  .coffee-tiers dd{font-size:21px}
}
.coffee-free{min-width:0;padding:22px 0;text-align:center;border-top:1px solid #e9e9e5}
.coffee-free .coffee-label{font-size:11px}
.coffee-free>strong{display:block;margin-top:8px;font-size:20px;line-height:1.5;font-weight:700}
.coffee-free time{display:block;margin:2px auto 0;font-size:32px;line-height:1.3;font-weight:740}
.coffee-free p{margin:9px auto 0;max-width:55ch;font-size:12px;line-height:1.8;color:#666}
.coffee-register{margin:0 0 14px;padding:10px 13px;border-radius:8px;background:#f5f5f2}
.coffee-register p{margin:0;font:500 12px/1.65 var(--sans);color:#353631;overflow-wrap:anywhere}
.coffee-register p+p{margin-top:3px;font:400 10px/1.6 var(--sans);color:#6a6c65}
.coffee-register a{color:inherit;font-weight:650;text-decoration:underline;text-underline-offset:2px}
.coffee-footer{display:flex;align-items:center;justify-content:flex-end;flex:none;gap:12px;padding:19px 32px 24px}
.coffee-footer button{display:inline-flex;align-items:center;justify-content:center;gap:14px;min-height:43px;padding:10px 20px;border:0;border-radius:99px;background:#222;color:#fff;font:650 11px/1.6 var(--sans);cursor:pointer;white-space:nowrap;transition:background .2s}
.coffee-footer button:hover{background:#444}.coffee-footer svg{width:15px;height:15px}
#coffee-dialog :is(a,button):focus-visible{outline:2px solid #71716b;outline-offset:3px}
@keyframes coffee-enter{from{opacity:0;transform:translateY(8px) scale(.99)}to{opacity:1;transform:none}}
@media(max-width:760px){.hero-actions .coffee-button{font-size:11px;min-height:40px;padding:9px 15px}.hero-actions{gap:9px}.coffee-offer{gap:7px}.hero-actions .coffee-button>svg{width:17px;height:17px}}
@media(max-width:540px){#coffee-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px);border-radius:21px}.coffee-header{padding:20px 19px 12px;gap:10px}.coffee-eyebrow{font-size:7px;letter-spacing:.8px}#coffee-title{font-size:23px;margin-top:6px}.coffee-close{width:32px;height:32px}.coffee-body{padding:0 19px}#coffee-intro{font-size:11px}.coffee-payments{gap:9px;margin-top:15px}.coffee-payment{padding:10px 8px 3px;border-radius:13px}.coffee-payment figcaption{font-size:11px;gap:6px;margin-bottom:7px}.coffee-payment figcaption>span{font-size:8px}.coffee-payment a{font-size:9px;min-height:35px;gap:5px}.coffee-scan-note{font-size:9px;margin-bottom:14px}.coffee-free{padding:18px 0}.coffee-free>strong{font-size:18px}.coffee-free time{font-size:26px}.coffee-register p{font-size:10px}.coffee-register{padding:9px 11px}.coffee-footer{padding:15px 19px 19px}.coffee-footer button{padding:10px 15px;gap:8px;font-size:10px}}
@media(max-width:360px){.hero-actions{gap:7px}.hero-actions .button{padding-inline:12px;font-size:10px}.hero-actions .coffee-button>svg{width:16px;height:16px}.coffee-header,.coffee-body,.coffee-footer{padding-inline:15px}.coffee-free time{display:block;margin-left:0}}
@media(max-height:540px){.coffee-header{padding-top:15px;padding-bottom:10px}.coffee-eyebrow{display:none}#coffee-title{font-size:23px;margin-top:0}.coffee-footer{padding-top:10px;padding-bottom:13px}}
@media(prefers-reduced-motion:reduce){#coffee-dialog,.coffee-button *,#coffee-dialog *{animation:none!important;transition:none!important}}

/* inbox */
/* Homepage-only private inbox. The dock itself is owned by site-ui. */
.tk-actions .inbox-launcher{position:relative}.tk-actions .inbox-launcher:focus-visible{outline:2px solid #777;outline-offset:4px}.inbox-badge{position:absolute;top:-7px;right:-7px;display:grid;place-items:center;box-sizing:content-box;width:20px;height:20px;border:3px solid #0a0a0a;border-radius:50%;background:#fff;color:#111;font:800 10px/1 system-ui,sans-serif;font-variant-numeric:tabular-nums}.inbox-badge[hidden]{display:none}.inbox-bell-body{transform-origin:12px 3px}.inbox-bell-ring{opacity:0}.has-unread .inbox-bell-body{animation:inbox-ring 10s ease-in-out infinite}.has-unread .inbox-bell-ring{animation:inbox-ring-lines 10s ease-in-out infinite}body.tk-ui-background .inbox-bell *{animation-play-state:paused}@keyframes inbox-ring{0%,3%,14%,100%{transform:rotate(0)}5%,9%{transform:rotate(14deg)}7%,11%{transform:rotate(-14deg)}12%{transform:rotate(5deg)}}@keyframes inbox-ring-lines{0%,3%,14%,100%{opacity:0}5%,11%{opacity:.7}}
.inbox-dialog{box-sizing:border-box;width:min(660px,calc(100vw - 40px));height:min(780px,calc(100dvh - 64px));max-width:none;max-height:none;overflow:hidden;padding:28px;margin:auto;border:0;border-radius:28px;background:#fff;color:#151515;box-shadow:0 32px 130px #0008;font-family:inherit}.inbox-dialog[open]{display:grid;grid-template-rows:auto auto auto auto minmax(0,1fr) auto auto;gap:0}.inbox-dialog::backdrop{background:#000a;backdrop-filter:blur(5px)}.inbox-dialog *{box-sizing:border-box}.inbox-dialog [hidden]{display:none!important}.inbox-header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:22px}.inbox-heading{display:flex;align-items:center;gap:12px;min-width:0}.inbox-heading>img{border-radius:50%;flex:none}.inbox-eyebrow{margin:0 0 6px;color:#888;font-size:9px;letter-spacing:.14em;line-height:1.3;font-weight:650}.inbox-heading h2{font-size:24px;line-height:1.25;font-weight:800;letter-spacing:-.04em;margin:0;color:#111}.inbox-dialog button{font-family:inherit;cursor:pointer;border:0}.inbox-close{display:grid;place-items:center;width:36px;height:36px;flex:none;border-radius:50%;background:#f2f2f2;color:#333;transition:background .2s,color .2s}.inbox-close:hover{background:#111;color:#fff}.inbox-close svg{width:17px;height:17px}.inbox-tabs{display:flex;gap:6px;margin-bottom:8px;flex-wrap:wrap}.inbox-tabs button{padding:10px 15px;border-radius:999px;background:transparent;color:#888;font-size:12px;font-weight:700;transition:background .2s,color .2s}.inbox-tabs button[aria-pressed=true]{background:#111;color:#fff}.inbox-tabs button:not([aria-pressed=true]):hover{background:#f4f4f4;color:#111}.inbox-status{margin:0;font-size:12px;line-height:1.65;color:#777}.inbox-status:not(:empty){padding:10px 0}.inbox-load-actions{display:flex;gap:10px;justify-content:flex-start}.inbox-load-actions:has(button:not([hidden])){padding:8px 0}.inbox-load-actions button{background:#eee;color:#111;padding:9px 14px;border-radius:99px;font-size:11px;font-weight:700}.inbox-list{min-height:0;overflow:auto;overscroll-behavior:contain;padding:8px 10px 6px 0;scrollbar-width:thin;scrollbar-color:#bbb transparent}.inbox-list::-webkit-scrollbar{width:5px}.inbox-list::-webkit-scrollbar-thumb{background:#bbb;border-radius:99px}.inbox-list::-webkit-scrollbar-track{background:transparent}.inbox-card{padding:22px;border-radius:20px;background:#f6f6f6;margin-bottom:12px}.inbox-card:last-child{margin-bottom:0}.inbox-card-top{display:flex;align-items:center;gap:7px;margin-bottom:13px;color:#8a8a8a;font-size:10px;font-weight:600;line-height:1.4}.inbox-kind-icon{display:grid;place-items:center;color:#555}.inbox-kind-icon svg{width:15px;height:15px}.inbox-card time{margin-left:auto;font-size:9px;font-weight:500;text-align:right}.inbox-card h3{font-size:19px;line-height:1.4;letter-spacing:-.025em;font-weight:750;color:#151515;margin:0 0 12px;overflow-wrap:anywhere}.inbox-message{font-size:13px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;color:#555;margin:0}.inbox-author{display:flex;align-items:center;gap:7px;margin:0 0 10px;font-size:11px;color:#555}.inbox-author img{border-radius:50%}.inbox-author strong{font-weight:700}.inbox-author span{font-size:9px;background:#e9e9e9;color:#777;border-radius:99px;padding:3px 7px}.inbox-excerpt{font-size:11px;line-height:1.8;color:#999;padding-left:12px;border-left:2px solid #ddd;margin:14px 0 0;overflow-wrap:anywhere}.inbox-link{display:inline-flex;gap:10px;align-items:center;margin-top:18px;font-size:12px;font-weight:750;text-decoration:none;color:#111;transition:gap .2s}.inbox-link:hover{gap:15px}.inbox-more{justify-self:center;background:transparent;color:#777;font-size:11px;font-weight:650;padding:13px 18px;border-radius:99px;margin-top:10px}.inbox-more:hover{background:#f3f3f3;color:#111}.inbox-more:disabled{opacity:.4;cursor:wait}.inbox-footer{padding-top:16px;color:#999;font-size:10px;line-height:1.7;text-align:center}.inbox-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:100%;padding:30px 20px}.inbox-empty>svg{width:160px;height:110px;flex:none;color:#222;margin-bottom:20px}.inbox-empty h3{font-size:22px;font-weight:750;letter-spacing:-.03em;line-height:1.4;margin:0 0 12px}.inbox-empty p{font-size:13px;line-height:1.9;color:#888;max-width:300px;margin:0}.inbox-empty-spider{animation:inbox-empty-sway 4s ease-in-out infinite;transform-origin:90px 2px}@keyframes inbox-empty-sway{0%,100%{transform:rotate(-5deg)}50%{transform:rotate(5deg)}}.inbox-dialog :is(button,a,[tabindex]):focus-visible{outline:2px solid #777;outline-offset:3px}
@media(max-width:600px){.inbox-dialog{width:calc(100vw - 24px);height:calc(100dvh - 28px);padding:22px 18px max(18px,env(safe-area-inset-bottom));border-radius:24px}.inbox-header{margin-bottom:20px}.inbox-heading h2{font-size:22px}.inbox-heading>img{width:36px;height:36px}.inbox-eyebrow{font-size:8px}.inbox-close{width:34px;height:34px}.inbox-tabs button{font-size:11px;padding:10px 12px}.inbox-card{padding:19px 17px;border-radius:17px}.inbox-card h3{font-size:18px}.inbox-message{font-size:12px}.inbox-list{padding-right:7px}.inbox-card time{font-size:8px}.inbox-kind{max-width:48%}.inbox-footer{font-size:9px}.inbox-close,.inbox-more{min-height:36px}}
@media(prefers-reduced-motion:reduce){.inbox-bell *,.inbox-empty-spider{animation:none!important}.has-unread .inbox-bell-ring{opacity:.5}.inbox-dialog *{transition:none!important}}

.inbox-dialog{grid-template-columns:minmax(0,1fr)}.inbox-heading>div{min-width:0}.inbox-heading h2{overflow-wrap:anywhere}@media(max-width:360px){.inbox-tabs{gap:4px}.inbox-tabs button{font-size:10px;padding:10px 9px}.inbox-heading h2{font-size:20px}}

/* light-themes */
/* Single curated daytime theme: Warm Paper & Inkstone (暖雾纸砚). */

/* Topbar & mobile theme toggle buttons (active in both dark and light modes). */
.hero-topline-actions{display:inline-flex;align-items:center;gap:14px;flex:none}
.mobile-header-actions{display:inline-flex;align-items:center;gap:8px;flex:none}
.theme-toggle-btn{display:inline-grid;place-items:center;padding:0;border:1px solid #ffffff1a;border-radius:10px;background:#18181b;color:#b8b8c2;cursor:pointer;flex:none;transition:background .2s,border-color .2s,color .2s,box-shadow .2s,transform .18s}
.hero-theme-toggle{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 11px;border-radius:999px;border:1px solid #ffffff1c;background:#17171a;color:#b8b8c2;font-size:12px;font-weight:600;line-height:1;white-space:nowrap}
.mobile-theme-toggle{width:38px;height:38px}
.theme-toggle-btn svg{width:15px;height:15px;display:block;flex:none}
.mobile-theme-toggle svg{width:17px;height:17px}
.theme-toggle-btn:hover{background:#232329;border-color:#ffffff36;color:#fff;transform:translateY(-1px)}
.theme-toggle-btn:focus-visible{outline:2px solid #d4d4dc;outline-offset:3px}
.theme-toggle-btn .theme-icon-moon{display:none}
html.light-mode .theme-toggle-btn .theme-icon-sun{display:none}
html.light-mode .theme-toggle-btn .theme-icon-moon{display:block}
@media(max-width:760px){.hero-theme-toggle{display:none}}

/* ==========================================================================
   Warm Paper & Inkstone (暖雾纸砚 · Tactile Paper + Toasted Sandstone)
   ========================================================================== */
html.light-mode{
 color-scheme:light;
 --bg:#edeae2;
 --surface:#f6f4ee;
 --surface-hover:#fbfaf6;
 --surface-2:#e3ded2;
 --raised:#fbfaf6;
 --ink:#1e1c19;
 --muted:#575248;
 --subtle:#595348;
 --muted-hero:#756e60;
 --border:#dcd6c8;
 --border-hover:#bfb5a1;
 --btn-primary-top:#e6decb;
 --btn-primary-bot:#dad0ba;
 --btn-primary-border:#bcb097;
 --btn-primary-hover-top:#ddd4be;
 --btn-primary-hover-bot:#cfc3a8;
 --btn-primary-hover-border:#a6987c;
 --accent-soft:#e4ddd0;
 --accent-mark:#85765e;
 --draft-glow:rgba(255,253,248,.78);
 --card-shadow:inset 0 1px 0 rgba(255,255,255,.75),0 2px 8px -2px rgba(40,35,26,.045);
 --card-shadow-hover:inset 0 1px 0 #fff,0 12px 28px -6px rgba(40,35,26,.085);
 --weave-veil:rgba(237,234,226,.94);
 --weave-veil-mid:rgba(237,234,226,.64);
 --poster-bg:#ece7db;
 --watermark:rgba(40,35,26,.055);
 --watermark-stroke:rgba(68,61,48,.16);
 --rail-1:#f7f4ec;
 --rail-2:#f0ece2;
 --rail-3:#e9e4d8;
 --rail-4:#e2dcce;
 --rail-5:#dbd4c4;
 background:var(--bg);
}

/* Canvas Backdrop, Scrollbars & Base Typography */
html.light-mode body{background:transparent;color:var(--ink)}
html.light-mode body::before{content:"";position:fixed;inset:0;z-index:0;pointer-events:none;background:radial-gradient(1400px 620px at 55% -12%,rgba(255,253,248,.56),transparent 72%)}
html.light-mode .main{position:relative;z-index:1}
html.light-mode *{scrollbar-color:rgba(68,61,48,.24) transparent}
html.light-mode *::-webkit-scrollbar-thumb{background:rgba(68,61,48,.22)}
html.light-mode *::-webkit-scrollbar-thumb:hover{background:rgba(68,61,48,.36)}
html.light-mode ::selection{background:var(--accent-soft);color:var(--ink)}
html.light-mode .skip-link{background:var(--btn-primary-bot);border:1px solid var(--btn-primary-border);color:var(--ink)}
html.light-mode button:focus-visible,html.light-mode a:focus-visible,html.light-mode input:focus-visible{outline-color:var(--accent-mark)}

/* Topbar & Mobile Header */
html.light-mode .mobile-header{position:relative;z-index:2}
html.light-mode .mobile-header .brand{color:var(--ink)}
html.light-mode .theme-toggle-btn.hero-theme-toggle{background:rgba(251,250,246,.72);border-color:#d8d1c2;color:#49443b;box-shadow:inset 0 1px 0 #fff,0 1px 3px rgba(40,35,26,.04)}
html.light-mode .theme-toggle-btn.hero-theme-toggle:hover{background:var(--raised);border-color:var(--border-hover);color:var(--ink)}
html.light-mode .mobile-header button{background:rgba(251,250,246,.78);border:1px solid var(--border);color:var(--ink);box-shadow:var(--card-shadow)}
html.light-mode .mobile-header button:hover{background:var(--raised);border-color:var(--border-hover)}
html.light-mode .sidebar-backdrop:not([hidden]){background:rgba(40,35,26,.22)}

/* Sidebar Navigation (Seamless paper canvas on desktop; raised paper sheet on mobile) */
html.light-mode .sidebar{background:transparent;border-right:0;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
@media(min-width:761px){html.light-mode .sidebar{scrollbar-width:none}html.light-mode .sidebar::-webkit-scrollbar{display:none}}
html.light-mode .brand,html.light-mode .sidebar-brand-row .brand{color:var(--ink)}
html.light-mode .brand small{color:var(--subtle)}
html.light-mode .side-caption{color:var(--subtle)}
html.light-mode .sidebar .sidebar-locale{background:var(--surface-2);border-color:#d8d1c3;box-shadow:inset 0 1px 2px rgba(40,35,26,.04)}
html.light-mode .sidebar .sidebar-locale a{color:var(--muted)}
html.light-mode .sidebar .sidebar-locale a[aria-current="page"]{background:var(--raised)!important;color:var(--ink);box-shadow:inset 0 0 0 1px rgba(40,35,26,.08),inset 0 1px 0 #fff,0 1px 3px rgba(40,35,26,.05)}
html.light-mode .sidebar .sidebar-locale a:not([aria-current="page"]):hover{background:rgba(45,38,28,.048)!important;color:var(--ink)}
html.light-mode .sidebar .sidebar-main-nav a{color:var(--muted)}
html.light-mode .sidebar .sidebar-main-nav a:not([aria-current]):hover{background:rgba(45,38,28,.048);color:var(--ink);box-shadow:none}
html.light-mode .sidebar .sidebar-main-nav a[aria-current]{background:var(--raised);color:var(--ink);box-shadow:inset 0 0 0 1px #d7cfc0,inset 0 1px 0 #fff,0 2px 5px -1px rgba(40,35,26,.05)}
html.light-mode .sidebar .sidebar-main-nav a[aria-current]::before{content:"";position:absolute;left:6px;top:50%;width:3px;height:17px;border-radius:99px;background:var(--accent-mark);transform:translateY(-50%)}
html.light-mode .sidebar .sidebar-main-nav a[aria-current]:hover{background:#fffefb;color:var(--ink)}
html.light-mode .sidebar .sidebar-main-nav a[aria-current] span{font-weight:560;color:var(--ink)}
html.light-mode .sidebar .sidebar-main-nav a[aria-current] svg{color:var(--ink);stroke-width:1.7}
html.light-mode .sidebar-note b{color:var(--ink)}
html.light-mode .sidebar-note p{color:var(--subtle)}
html.light-mode .sidebar-note .text-link{color:var(--muted)}
html.light-mode .desktop-download{background:rgba(251,250,246,.52);border:1px solid #ddd6c8;color:#3d3932}
html.light-mode .desktop-download:hover{background:var(--raised);border-color:var(--border-hover);color:var(--ink)}
html.light-mode .desktop-download>svg:last-child{color:var(--subtle)}
html.light-mode #sidebar-close{color:var(--muted)}
@media(max-width:760px){html.light-mode .sidebar{background:#f8f6f0;border-right:1px solid #dcd5c7;box-shadow:18px 0 44px rgba(40,35,26,.14)}html.light-mode .sidebar-scrollbar{background:rgba(40,35,26,.10)}html.light-mode .sidebar-scrollbar-thumb{background:#6e6659}}

/* Hero, Tactile Primary Sandstone & Secondary Vellum Buttons */
html.light-mode .eyebrow{color:var(--subtle)}
html.light-mode .hero-topline i{background:var(--accent-mark)}
html.light-mode .hero-locale a{color:var(--subtle)}
html.light-mode .hero-locale a[aria-current=page],html.light-mode .hero-locale a:hover{color:var(--ink)}
html.light-mode .hero-locale-divider{color:var(--border-hover)}
html.light-mode .hero-copy h1{--hero-muted:var(--muted-hero);color:var(--ink)}
html.light-mode .hero-copy h1 .hero-count-digit{color:var(--ink)}
html.light-mode .hero-copy h1 .hero-count-digit:nth-child(2n){color:var(--muted-hero)}
html.light-mode .hero-copy h1 .hero-conclusion{color:var(--muted-hero)}
html.light-mode .hero-copy p,html.light-mode .hero-actions>span{color:var(--muted)}
html.light-mode .button:not(.primary):not(.deck-primary):not(.community-create),html.light-mode .hero-actions .coffee-button,html.light-mode .desktop-github,html.light-mode .editorial-feed .feed-more{background:rgba(251,250,246,.62);border:1px solid #dad3c5;color:#49443b;box-shadow:inset 0 1px 0 rgba(255,255,255,.65)}
html.light-mode .button:not(.primary):not(.deck-primary):not(.community-create):hover,html.light-mode .hero-actions .coffee-button:hover,html.light-mode .desktop-github:hover,html.light-mode .editorial-feed .feed-more:hover{background:var(--raised);border-color:var(--border-hover);color:var(--ink);box-shadow:0 4px 12px -2px rgba(40,35,26,.06)}
html.light-mode .category-sheet-icon,
html.light-mode .button.primary,html.light-mode .deck-primary,html.light-mode .community-create.button,html.light-mode .community-replies-heading .button{background:linear-gradient(180deg,var(--btn-primary-top) 0%,var(--btn-primary-bot) 100%);border:1px solid var(--btn-primary-border);color:#1c1a16;font-weight:600;box-shadow:inset 0 1px 0 rgba(255,253,248,.82),0 1px 2px rgba(30,26,20,.06),0 4px 10px -2px rgba(45,38,26,.07)}
html.light-mode .button.primary:hover,html.light-mode .deck-primary:hover,html.light-mode .community-create.button:hover,html.light-mode .community-replies-heading .button:hover{background:linear-gradient(180deg,var(--btn-primary-hover-top) 0%,var(--btn-primary-hover-bot) 100%);border-color:var(--btn-primary-hover-border);color:#151310;box-shadow:inset 0 1px 0 rgba(255,253,248,.88),0 5px 14px -3px rgba(45,38,26,.11)}
html.light-mode .text-link{color:var(--muted)}
html.light-mode .text-link:hover{color:var(--ink)}

/* Favorites & Categories */
html.light-mode .section-heading h2{color:var(--ink)}
html.light-mode .section-heading h2 span,html.light-mode .favorites .section-heading h2 .favorite-group-count{color:var(--subtle)}
html.light-mode .section-heading>div>p,html.light-mode .quiet-button,html.light-mode .storage-status{color:var(--muted)}
html.light-mode .quiet-button:hover{color:var(--ink)}
html.light-mode .favorite-tab{color:var(--muted)}
html.light-mode .favorite-tab:hover{background:rgba(45,38,28,.045);color:var(--ink)}
html.light-mode .favorite-tab[aria-selected=true]{background:var(--raised);color:var(--ink);font-weight:560;border:0;box-shadow:inset 0 0 0 1px #d7cfc0,inset 0 1px 0 #fff,0 1px 3px rgba(40,35,26,.05)}

/* Cards (Tactile Layered Paper) */
html.light-mode .tool-card,html.light-mode .favorite-card{background:var(--surface);border-color:var(--border);box-shadow:var(--card-shadow)}
html.light-mode :is(.tool-card,.favorite-card):is(:hover,:focus-visible){background:var(--surface-hover);border-color:var(--border-hover);box-shadow:var(--card-shadow-hover)}
html.light-mode .favorite-card>.ph,html.light-mode .favorite-icon{color:var(--muted)}
html.light-mode .favorite-card h3{color:var(--ink)}
html.light-mode .favorite-card p{color:var(--subtle)}
html.light-mode .favorite-card>svg{color:var(--subtle)}
html.light-mode .favorite-card:hover>svg{color:var(--ink)}
html.light-mode .favorite-add{color:var(--muted)}
html.light-mode .no-script-note{color:var(--muted)}

html.light-mode .category-entry h3{color:var(--ink)}
html.light-mode .category-glyph{background:var(--surface);color:var(--muted);border:1px solid var(--border)}
html.light-mode .category-entry:is(:hover,:focus-visible) .category-glyph{background:var(--accent-soft);border-color:#c8beaa;color:var(--ink)}
html.light-mode .category-entry .count-badge{background:var(--surface);border:1px solid #dbd4c5;color:#4f4a40}
html.light-mode .category-entry p{color:var(--muted)}
html.light-mode .category-examples{color:var(--subtle)}
html.light-mode .category-entry>.category-arrow{color:var(--subtle)}
html.light-mode .category-entry:is(:hover,:focus-visible)>.category-arrow{color:var(--ink)}
html.light-mode .category-entry:is(:hover,:focus-visible){background:transparent}
@media(hover:none){html.light-mode .tool-card:not(:focus-visible):hover,html.light-mode .favorite-card:not(:focus-visible):hover{background:var(--surface);border-color:var(--border);box-shadow:var(--card-shadow)}html.light-mode .category-entry:not(:focus-visible):hover .category-glyph{background-color:var(--surface)}}

/* Tool Catalog Search & Cards */
html.light-mode .section-intro h2{color:var(--ink)}
html.light-mode .section-intro p,html.light-mode .tools-module #tool-empty{color:var(--muted)}
html.light-mode .tools-module .catalog-search{background:var(--raised);border:1px solid #d7cfc0;box-shadow:inset 0 1px 0 #fff,0 2px 8px -2px rgba(40,35,26,.04)}
html.light-mode .tools-module .catalog-search:focus-within{border-color:#a6987e;box-shadow:0 0 0 4px rgba(166,152,126,.16)}
html.light-mode .catalog-search-icon{color:var(--subtle)}
html.light-mode .tools-module .catalog-search input{color:var(--ink);caret-color:var(--ink)}
html.light-mode .tools-module .catalog-search input::placeholder{color:var(--subtle)}
html.light-mode .search-clear{background:var(--surface-2);color:var(--muted)}
html.light-mode .search-clear:hover{background:var(--btn-primary-bot);color:#1c1a16}
html.light-mode .tools-module .category-tabs a{color:var(--subtle)}
html.light-mode .tools-module .category-tabs a:is(:hover,:focus-visible){color:var(--ink)}
html.light-mode .tools-module .category-tabs a[aria-selected=true]{color:var(--ink);font-weight:650;box-shadow:inset 0 -2px 0 var(--accent-mark)}
html.light-mode .tools-module .category-tabs a[aria-selected=true]:hover{color:#000}
html.light-mode .tool-card-icon{background:#ede9df;border-color:var(--border);color:var(--muted)}
html.light-mode .tool-card:is(:hover,:focus-visible) .tool-card-icon{background:var(--accent-soft);border-color:#c8beaa;color:var(--ink);box-shadow:none}
html.light-mode .tool-card:is(:hover,:focus-visible) .tool-card-icon svg{color:var(--ink)}
html.light-mode .tool-card-open{border-color:var(--border);color:var(--subtle)}
html.light-mode .tool-card:is(:hover,:focus-visible) .tool-card-open{background:#e5decb;border-color:#bfb39a;color:#1c1a16}
html.light-mode .tool-card h3{color:var(--ink)}
html.light-mode .tool-card p{color:var(--muted)}
html.light-mode .tool-card-foot>span:first-child{color:var(--subtle)}
html.light-mode .tool-card-action{color:#4f483d}

/* About Deck (5 Stacked Warm Linen & Parchment Pages) */
html.light-mode .about-intro h2{color:var(--ink)}
html.light-mode .about-intro h2>span,html.light-mode .about-intro p,html.light-mode .deck-position{color:var(--muted)}
html.light-mode .deck-position b{color:var(--ink)}
html.light-mode .deck-position i{color:var(--subtle)}
html.light-mode .deck-position-bars>i{background:var(--border-hover)}
html.light-mode .deck-position-bars>i.is-current{background:var(--ink)}
html.light-mode .story-deck.is-ready .deck-card{color:var(--muted);border-color:var(--border);box-shadow:-7px 0 18px rgba(40,35,26,.055)}
html.light-mode .story-deck.is-ready .deck-card:not(.is-active):nth-child(1){background:var(--rail-1)}
html.light-mode .story-deck.is-ready .deck-card:not(.is-active):nth-child(2){background:var(--rail-2)}
html.light-mode .story-deck.is-ready .deck-card:not(.is-active):nth-child(3){background:var(--rail-3)}
html.light-mode .story-deck.is-ready .deck-card:not(.is-active):nth-child(4){background:var(--rail-4)}
html.light-mode .story-deck.is-ready .deck-card:not(.is-active):nth-child(5){background:var(--rail-5)}
html.light-mode .story-deck.is-ready .deck-card:not(.is-active) .deck-number{color:var(--subtle)}
html.light-mode .story-deck.is-ready .deck-card:not(.is-active) .deck-rail-icon{background:rgba(251,250,246,.56);border-color:var(--border);color:var(--muted)}
html.light-mode .story-deck.is-ready .deck-card:not(.is-active) .deck-toggle{border-color:var(--border-hover);color:var(--muted)}
html.light-mode .story-deck.is-ready .deck-card:not(.is-active) .deck-trigger:hover{background:rgba(251,250,246,.38);color:var(--ink)}
html.light-mode .story-deck.is-ready .deck-card:not(.is-active) .deck-trigger:hover .deck-toggle{background:var(--raised);color:var(--ink)}
html.light-mode .story-deck.is-ready .deck-card.is-active{background:var(--raised);color:var(--ink);border-color:#d7cfc0;box-shadow:0 16px 38px -10px rgba(40,35,26,.085)}
html.light-mode .is-ready .is-active .deck-number,html.light-mode .deck-kicker,html.light-mode .deck-art-caption,html.light-mode .deck-small{color:var(--subtle)}
html.light-mode .deck-copy{color:var(--muted)}
html.light-mode .is-ready .is-active .deck-rail-icon{color:var(--subtle)}
html.light-mode .is-ready .is-active .deck-toggle{border-color:#d5cdbd;color:var(--muted)}
html.light-mode .deck-tags>span{background:#efeadd;border-color:#dcd5c6;color:var(--muted)}
html.light-mode .deck-text-link{color:var(--muted)}
html.light-mode .deck-text-link:hover{color:var(--ink)}
html.light-mode .deck-main .github-pill{background:#f2eee4;border-color:#d4cbb8;color:var(--ink)}
html.light-mode .deck-main .github-pill:hover{background:#e7e1d3;border-color:var(--border-hover)}
html.light-mode .share-address{background:#f2eee4;border-color:#dcd4c4;color:var(--muted)}
html.light-mode .deck-visual>svg{color:#494238}
html.light-mode .deck-visual svg :is([fill="#24242c"],[fill="#2a2a34"],[fill="#292934"]){fill:#464037}
html.light-mode .deck-visual svg :is([fill="#32323d"],[fill="#373744"],[fill="#30303d"],[fill="#41414f"],[fill="#464655"]){fill:#595247}
html.light-mode .deck-visual svg :is([fill="#d5d5dc"],[fill="#c3c3cf"],[fill="#b7b7c6"],[fill="#d1d1de"],[fill="#dedee7"],[fill="#d4d4e0"]){fill:#ddd6c6}
html.light-mode .deck-visual svg :is([fill="#e5e5eb"],[fill="#e5e5ed"],[fill="#e7e7ef"],[fill="#ececf3"],[fill="#e8e8ef"]){fill:#ebe6da}
html.light-mode .deck-visual svg :is([fill="#f9f9fb"],[fill="#fafafc"],[fill="#fdfdfe"],[fill="#fbfbfd"]){fill:#faf8f2}

/* Desktop Showcase Section */
html.light-mode .desktop-copy h2{color:var(--ink)}
html.light-mode .desktop-copy h2>span,html.light-mode .desktop-summary{color:var(--muted)}
html.light-mode .desktop-metrics strong{color:var(--ink)}
html.light-mode .desktop-metrics strong>span,html.light-mode .desktop-metrics>div>span{color:var(--subtle)}
html.light-mode .desktop-features li>svg{color:var(--subtle)}
html.light-mode .desktop-features h3{color:var(--ink)}
html.light-mode .desktop-features p{color:var(--muted)}
html.light-mode .desktop-image-link{background:#f8f6f0;border-color:#d8d1c2;box-shadow:0 20px 48px -12px rgba(40,35,26,.10)}
html.light-mode .desktop-image-link:hover{border-color:var(--border-hover)}
html.light-mode .desktop-showcase img{filter:grayscale(1) sepia(.13) brightness(.98) contrast(.94)}
html.light-mode .desktop-window-label{color:var(--muted)}
html.light-mode .desktop-window-label small{color:var(--subtle)}
html.light-mode .desktop-window-label i{background:var(--subtle)}
html.light-mode .desktop-showcase figcaption,html.light-mode .desktop-showcase figcaption>a{color:var(--muted)}
html.light-mode .desktop-showcase figcaption>a:hover{color:var(--ink)}

/* Start Weave Section */
html.light-mode .start-section h2{color:var(--ink)}
html.light-mode .start-section h2 span{color:var(--muted-hero)}
html.light-mode .start-section p{color:var(--muted)}
html.light-mode .start-copy h2::before{background:radial-gradient(ellipse,var(--weave-veil) 12%,var(--weave-veil-mid) 52%,transparent 75%)}
html.light-mode .start-weave{mask-image:radial-gradient(ellipse 72% 68% at 50% 50%,#000 48%,transparent 98%);-webkit-mask-image:radial-gradient(ellipse 72% 68% at 50% 50%,#000 48%,transparent 98%)}
html.light-mode .start-weave::after{background:none}
html.light-mode .weave-net{stroke:#6f6657;opacity:.20}
html.light-mode .weave-net-right{opacity:.16}
html.light-mode .weave-anchor{stroke:#6f6657;opacity:.18}
html.light-mode .weave-guide{stroke:#5b5346;opacity:.13}
html.light-mode .weave-new-thread{stroke:#7e705a;opacity:.52}
html.light-mode .weave-knots{fill:#7e705a;opacity:.62}
html.light-mode .start-weave .weave-spider{color:#494238;filter:drop-shadow(0 3px 4px rgba(40,35,26,.16))}
html.light-mode .weave-control{background:var(--raised);border-color:var(--border);color:var(--muted)}
html.light-mode .weave-control:hover{color:var(--ink);border-color:var(--border-hover)}
html.light-mode .start-actions .button{background:#f9f7f1;border:1px solid #d9d2c4;color:#2b2822;box-shadow:inset 0 1px 0 #fff,0 2px 6px -1px rgba(40,35,26,.04)}
html.light-mode .start-actions .button:hover{background:linear-gradient(180deg,var(--btn-primary-top) 0%,var(--btn-primary-bot) 100%);border-color:var(--btn-primary-border);color:#1c1a16;box-shadow:inset 0 1px 0 rgba(255,253,248,.85),0 6px 16px -3px rgba(45,38,26,.10)}

/* Editorial Feed (Stories, Blog, Updates) */
html.light-mode .editorial-edition{color:var(--subtle)}
html.light-mode .editorial-edition strong{color:var(--ink)}
html.light-mode .editorial-card{background:var(--surface);border-color:var(--border);color:var(--ink);box-shadow:var(--card-shadow)}
html.light-mode .editorial-card::before{background:radial-gradient(circle 430px at 100% 100%,var(--draft-glow) 0%,transparent 65%)}
html.light-mode .editorial-card:is(:hover,:focus-visible){background:var(--surface-hover);border-color:var(--border-hover);box-shadow:var(--card-shadow-hover)}
html.light-mode .editorial-poster{background:var(--poster-bg);color:var(--muted)}
html.light-mode .editorial-poster::after{border-color:rgba(68,61,48,.12)}
html.light-mode .poster-top{color:var(--subtle)}
html.light-mode .poster-word{color:var(--watermark)}
html.light-mode .poster-illustration{color:#6b6152;opacity:.48}
html.light-mode .poster-headline{color:var(--ink)}
html.light-mode .poster-signature{color:var(--subtle)}
html.light-mode .editorial-meta{color:var(--subtle)}
html.light-mode .editorial-copy h3{color:var(--ink)}
html.light-mode .editorial-copy p{color:var(--muted)}
html.light-mode .editorial-read{color:var(--muted)}
html.light-mode .editorial-read>svg{border-color:var(--border);color:var(--muted)}
html.light-mode .editorial-card:is(:hover,:focus-visible) .editorial-read{color:var(--ink)}
html.light-mode .editorial-card:is(:hover,:focus-visible) .editorial-read>svg{background:#e5decb;border-color:#bfb39a;color:#1c1a16}

/* Community Posters */
html.light-mode .community-intro h2{color:var(--ink)}
html.light-mode .community-symbol{color:var(--muted);opacity:.52}
html.light-mode .community-disclosure{color:var(--muted)}
html.light-mode .community-disclosure a{color:var(--ink);text-decoration-color:var(--border-hover)}
html.light-mode .community-tabs button{color:var(--subtle)}
html.light-mode .community-tabs button[aria-selected=true]{color:var(--ink)}
html.light-mode .community-tabs button span{background:var(--surface-2);color:var(--muted)}
html.light-mode .community-tabs button[aria-selected=true] span{background:#e3dbca;color:var(--ink);border:1px solid #d1c7b2}
html.light-mode .community-entry-poster,html.light-mode .community-entry-main{background:var(--surface);border-color:var(--border);box-shadow:var(--card-shadow)}
html.light-mode .community-entry-poster::before{background:radial-gradient(circle 360px at 0 100%,var(--draft-glow),transparent 65%)}
html.light-mode .community-entry-poster:is(:hover,:focus-within){border-color:var(--border-hover);box-shadow:var(--card-shadow-hover)}
html.light-mode .community-poster-edition,html.light-mode .community-entry-id{color:var(--subtle)}
html.light-mode .community-poster-mark{color:rgba(40,35,26,.048)}
html.light-mode .community-visitor{background:var(--surface-2);color:var(--ink);border:1px solid var(--border)}
html.light-mode .community-identity b{color:var(--ink)}
html.light-mode .community-official{background:#e6decd;color:#363026;border:1px solid #d2c8b4}
html.light-mode .community-automated{color:var(--muted);border-color:var(--border)}
html.light-mode .community-author time{color:var(--subtle)}
html.light-mode .community-message{color:var(--ink)}
html.light-mode .community-message:is(button):hover{color:#000}
html.light-mode .community-entry-foot{color:var(--muted);border-top-color:var(--border)}
html.light-mode .community-like{border-color:#d5cebf;color:var(--muted);background:rgba(251,250,246,.5)}
html.light-mode .community-like:not(:disabled):hover{border-color:var(--border-hover);color:var(--ink);background:var(--raised)}
html.light-mode .community-like[aria-pressed=true]{background:linear-gradient(180deg,#e7dfcd 0%,#dcd2bc 100%);border-color:#bdb097;color:#1c1a16}
html.light-mode .community-open:hover{color:var(--ink)}
html.light-mode .community-entry-reply{border-bottom-color:var(--border)}
html.light-mode .community-replies-heading h3{color:var(--ink)}
html.light-mode .community-closed-note,html.light-mode .community-status{color:var(--muted)}

/* Floating Dock & Native Dialogs Harmonized in Warm Paper */
html.light-mode .tk-actions button,html.light-mode #tk-sound-toggle{background:var(--raised);color:#2b2822;border:1px solid #d7cfc0;box-shadow:inset 0 1px 0 #fff,0 4px 14px -2px rgba(40,35,26,.10)}
html.light-mode .tk-actions button:hover,html.light-mode #tk-sound-toggle:hover{background:#f2ece0;border-color:#b8ac95;color:#1c1a16}
html.light-mode .inbox-badge{border-color:var(--bg);background:#705b44;color:var(--raised)}
html.light-mode .tk-toast{background:var(--raised)!important;color:#1c1a16!important;border:1px solid #d7cfc0!important;box-shadow:0 8px 24px -4px rgba(40,35,26,.14)!important}

html.light-mode :is(#home-notice,#coffee-dialog,#group-dialog,.community-dialog,.inbox-dialog,.tk-bug-dialog)::backdrop{background:rgba(40,35,26,.24)}
html.light-mode :is(#home-notice,#group-dialog,.community-dialog,.inbox-dialog,.tk-bug-dialog){background:var(--raised);color:var(--ink);border:1px solid #dbd4c5;box-shadow:0 24px 68px -12px rgba(40,35,26,.18)}
html.light-mode .coffee-main{background:var(--raised);color:var(--ink)}
html.light-mode :is(.coffee-header,.coffee-body,.coffee-footer,.collection-footer,.notice-header,.notice-body,.notice-footer){background:var(--raised)}
html.light-mode :is(#coffee-title,#home-notice-title,.inbox-heading h2,.community-dialog-heading h3,#group-dialog .dialog-heading h2,.tk-bug-dialog h2){color:var(--ink)!important}
html.light-mode :is(#coffee-intro,.coffee-free p,.coffee-benefits p,.coffee-register p,.coffee-scan-note,.notice-body p,#group-dialog-description,.inbox-message,.community-submit-note,.tk-bug-dialog p){color:var(--muted)!important}
html.light-mode .coffee-payment,html.light-mode .inbox-card,html.light-mode .tk-bug-preview,html.light-mode .picker-search{background:#f3f0e8;border:1px solid #dcd5c7}
html.light-mode #group-name,html.light-mode .community-dialog input,html.light-mode .community-dialog textarea,html.light-mode .tk-bug-email input{background:#fffdf8;border-color:#d5cdbd;color:var(--ink)}
html.light-mode #group-dialog #tool-picker{background:var(--raised);scrollbar-color:#c6bda9 var(--raised)}
html.light-mode #group-dialog .picker-option{background:var(--raised);color:var(--ink)}
html.light-mode #group-dialog .picker-option:hover{background:#f3f0e8}
html.light-mode #group-dialog .picker-option:has(input:checked){background:#ede7da}
html.light-mode .picker-icon{background:#f3f0e8;border-color:#dfd8c8;color:var(--muted)}
html.light-mode .picker-option input:checked{background-color:#6e604b;border-color:#6e604b}
html.light-mode .collection-mark,html.light-mode #picker-count{background:#e5decb;border:1px solid #cbbda3;color:#1c1a16}
html.light-mode :is(.coffee-close,#group-dialog .dialog-close,.community-close,.inbox-close,.tk-bug-close){background:#ede8dc;color:var(--muted)}
html.light-mode :is(.coffee-close,#group-dialog .dialog-close,.community-close,.inbox-close,.tk-bug-close):hover{background:#dfd8c8;color:var(--ink)}
html.light-mode .inbox-tabs button[aria-pressed=true]{background:linear-gradient(180deg,var(--btn-primary-top) 0%,var(--btn-primary-bot) 100%);border:1px solid var(--btn-primary-border);color:#1c1a16}
html.light-mode :is(.coffee-footer button,.collection-save,.community-submit.button,#home-notice-accept,.tk-bug-submit){background:linear-gradient(180deg,var(--btn-primary-top) 0%,var(--btn-primary-bot) 100%);border:1px solid var(--btn-primary-border);color:#1c1a16}
html.light-mode :is(.coffee-footer button,.collection-save,.community-submit.button,#home-notice-accept,.tk-bug-submit):hover{background:linear-gradient(180deg,var(--btn-primary-hover-top) 0%,var(--btn-primary-hover-bot) 100%);border-color:var(--btn-primary-hover-border);color:#151310}

/* Footer, Badges & Ticker */
html.light-mode .footer-description{color:var(--ink)}
html.light-mode .footer-description>span,html.light-mode .footer-contact,html.light-mode .footer-group a{color:var(--muted)}
html.light-mode .footer-contact>svg:first-child,html.light-mode .footer-group h2,html.light-mode .footer-signoff,html.light-mode .footer-end,html.light-mode .footer-author,html.light-mode .footer-partners>a{color:var(--subtle)}
html.light-mode .footer-contact:hover,html.light-mode .footer-group a:hover,html.light-mode .footer-group a:focus-visible,html.light-mode .footer-partners>a:hover{color:var(--ink)}
html.light-mode .footer-signature>span:first-child{color:var(--watermark)}
html.light-mode .footer-marquee{color:var(--muted);text-shadow:0 1px 10px var(--bg)}
html.light-mode .footer-ticker-item i{color:var(--accent-mark)}
html.light-mode .footer-ticker-toggle{color:var(--muted)}
html.light-mode .footer-ticker-toggle:hover{color:var(--ink)}
html.light-mode .footer-locales.home-locale-text a{color:var(--subtle)}
html.light-mode .footer-locales.home-locale-text a:hover{color:var(--ink)}
html.light-mode .footer-locales.home-locale-text a[aria-current]{color:var(--ink);font-weight:600}
html.light-mode .footer-dr-badge{color:var(--ink)}
html.light-mode .footer-dr-badge::before{background:var(--surface);border-color:var(--border)}
html.light-mode .footer-dr-badge>span:first-child{color:var(--muted)}
html.light-mode .footer-badges .footer-badge{box-shadow:none}
html.light-mode .footer-badges .footer-badge-image{filter:sepia(.08) brightness(.98)}
html.light-mode .footer-badges .footer-badge[data-badge-error]{background:var(--surface);border:1px solid var(--border)}
html.light-mode .footer-badges .footer-badge-fallback{color:var(--muted)}

/* category-disclosure */
/* The heading, featured links and catalogue jump remain independent controls. */
.category-grid .category-entry { overflow: visible; }
.category-entry.category-open { z-index: 5; }
.category-entry.category-exiting { z-index: 4; }
.category-trigger {
  display: inline-flex; align-items: center; gap: inherit; min-width: 0; max-width: 100%;
  padding: 0; border: 0; background: transparent; color: inherit;
  text-align: start; font: inherit; cursor: pointer; border-radius: 8px;
}
.category-trigger .count-badge { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.category-trigger .count-badge::after {
  content: ''; width: 5px; height: 5px; border: solid currentColor;
  border-width: 0 1px 1px 0; transform: translateY(-1px) rotate(45deg);
  transition: transform 180ms ease;
}
.category-trigger[aria-expanded=true] .count-badge::after { transform: translateY(1px) rotate(225deg); }
.category-entry .category-examples { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 5px; }
.category-examples a { color: inherit; text-decoration: none; }
.category-examples a:is(:hover,:focus-visible) { color: var(--ink, #f5f5f5); text-decoration: underline; text-underline-offset: 3px; }
.category-entry > a.category-arrow {
  display: grid; place-items: center; width: 36px; height: 36px;
  inset-inline-end: -2px; top: 22px; border-radius: 50%;
}
.category-arrow svg { display: block; width: 16px; height: 16px; }
.category-entry :is(button,a):focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

.category-popover {
  --sheet-inset: 17px;
  --paper: #232426; --line: #444649; --text: #f3f4f5; --quiet: #b5b7bc;
  --chip: #303134; --hover: #f0f1f2; --on-hover: #202124; --shadow: #0006;
  --rise-x: 0px; --rise-y: -5px;
  color: var(--text); display: grid; grid-template-rows: 0fr; opacity: 0;
  transform: translate(var(--rise-x),var(--rise-y)); transition: opacity 145ms ease, transform 170ms ease, grid-template-rows 180ms ease;
}
html.light-mode .category-popover {
  --paper: #fffefa; --line: #d9d7cf; --text: #262723; --quiet: #676961;
  --chip: #f2f2ec; --hover: #30332d; --on-hover: #fff; --shadow: #30291924;
}
.category-popover[hidden] { display: none; }
.category-popover[data-state=open] {
  grid-template-rows: 1fr; opacity: 1; transform: translate(0,0);
  transition-duration: 155ms, 220ms, 220ms; transition-timing-function: cubic-bezier(.2,.75,.25,1);
}
.category-clip { min-height: 0; min-width: 0; overflow: hidden; }
.category-sheet {
  display: flex; flex-direction: column; min-height: 0; box-sizing: border-box;
  border: 1px solid var(--line); border-radius: 12px; background: var(--paper); overflow: hidden;
}
.category-sheet-head {
  display: flex; flex: none; align-items: center; gap: 9px;
  padding: 15px var(--sheet-inset) 0;
}
.category-sheet-head strong { font-size: 17px; font-weight: 650; line-height: 1.35; letter-spacing: 0; }
html.light-mode .category-sheet-head strong { color: var(--ink); }
.category-sheet-icon {
  display: grid; flex: none; place-items: center; width: 30px; height: 30px;
  border-radius: 9px; background: var(--text); color: var(--paper);
}
.category-sheet-icon .category-svg { width: 18px; height: 18px; }
.category-close {
  margin-inline-start: auto; display: grid; place-items: center; flex: none; width: 30px; height: 30px;
  background: transparent; color: var(--quiet); border: 0; border-radius: 50%; cursor: pointer;
  font: 400 22px/1 system-ui,sans-serif; transition: background-color 140ms, color 140ms;
}
.category-close:is(:hover,:focus-visible) { background: var(--chip); color: var(--text); }
.category-pills {
  min-height: 0; overflow-y: auto; padding: 16px var(--sheet-inset) 18px;
  overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.category-group + .category-group { margin-top: 19px; }
.category-group h4 { margin: 0 0 8px; font-size: 12px; line-height: 1.4; font-weight: 550; letter-spacing: 0; color: var(--quiet); }
.category-options { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.category-options a {
  display: inline-flex; flex: none; align-items: center; gap: 6px; max-inline-size: 100%; min-height: 32px;
  padding: 6px 12px; box-sizing: border-box; background: var(--chip); color: var(--text);
  border-radius: 999px; font-size: 12px; line-height: 1.4; text-decoration: none;
  transition: color 140ms ease, background-color 140ms ease;
}
.category-options a span { min-inline-size: 0; overflow-wrap: anywhere; }
.category-options a svg { width: 15px; height: 15px; flex: none; fill: currentColor; opacity: .7; transition: transform 160ms ease; }
.category-options a:is(:hover,:focus-visible) { background: var(--hover); color: var(--on-hover); }
.category-options a:is(:hover,:focus-visible) svg { opacity: 1; transform: translateX(2px); }
.category-close:active, .category-options a:active svg { transform: scale(.94); }

@media (min-width: 761px) and (hover: hover) and (pointer: fine) {
  .category-popover {
    position: absolute; top: var(--panel-top); left: var(--panel-left); width: var(--panel-width);
    grid-template-rows: 1fr; z-index: 2;
  }
  .category-popover[data-placement=left] { --rise-x: 5px; --rise-y: 0px; }
  .category-popover[data-placement=right] { --rise-x: -5px; --rise-y: 0px; }
  .category-popover[data-placement=above] { --rise-y: 5px; }
  .category-clip { border-radius: 12px; box-shadow: 0 9px 28px var(--shadow), 0 2px 4px var(--shadow); }
  .category-sheet { max-height: var(--panel-height, 430px); }
  /* A transparent bridge keeps the pointer inside the owner across the gap. */
  .category-popover::before { content: ''; position: absolute; }
  .category-popover[data-placement=right]::before { inset: 0 100% 0 auto; width: 12px; }
  .category-popover[data-placement=left]::before { inset: 0 auto 0 100%; width: 12px; }
  .category-popover[data-placement=below]::before { inset: auto 0 100%; height: 12px; }
  .category-popover[data-placement=above]::before { inset: 100% 0 auto; height: 12px; }
  .category-popover::after {
    content: ''; position: absolute; width: 9px; height: 9px; box-sizing: border-box;
    background: var(--paper); border: solid var(--line); border-width: 1px 0 0 1px; pointer-events: none;
  }
  .category-popover[data-placement=right]::after { top: var(--notch); left: 0; transform: translate(-45%,-50%) rotate(-45deg); }
  .category-popover[data-placement=left]::after { top: var(--notch); right: 0; transform: translate(45%,-50%) rotate(135deg); }
  .category-popover[data-placement=below]::after { left: 28px; top: 0; transform: translateY(-42%) rotate(45deg); }
  .category-popover[data-placement=above]::after { left: 28px; bottom: 0; transform: translateY(42%) rotate(225deg); }
}
@media (max-width: 760px), (hover: none), (pointer: coarse) {
  .category-popover { position: relative; }
  .category-sheet { margin-top: 12px; max-height: min(48vh, 410px); }
  .category-popover { --sheet-inset: 14px; }
  .category-sheet-head { padding-top: 13px; }
  .category-options a { min-height: 40px; padding: 7px 11px; }
  .category-examples a { padding-block: 3px; }
}
@media (max-width: 760px) {
  .category-grid { grid-template-columns: minmax(0,1fr); }
  .category-grid .category-entry { padding-inline: 0; }
  .category-entry h3 { display: block; padding-inline-end: 40px; }
  .category-trigger { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 10px; justify-items: start; align-items: center; }
  .category-trigger .category-glyph { grid-row: span 2; }
  .category-trigger .category-title, .category-trigger .count-badge { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) {
  .category-grid .category-entry *, .category-trigger .count-badge::after { transition: none; animation: none; }
}
