@font-face{font-family:"Bricolage Grotesque";src:url(/assets/fonts/bricolage.woff2) format("woff2");font-weight:600 800;font-style:normal;font-display:swap}
@font-face{font-family:"Figtree";src:url(/assets/fonts/figtree.woff2) format("woff2");font-weight:400 700;font-style:normal;font-display:swap}
:root{--border:var(--line);--surface:var(--paper);--surface2:var(--soft);--accent:var(--coral);--bg:#fff8ec;--paper:#fff;--soft:#f6ecd8;--ink:#14110f;--text:#14110f;--muted:#6a6157;--line:#14110f;--shc:#14110f;--coral:#ff6b4a;--teal:#19c3a6;--yellow:#ffc933;--blue:#5b8cff;--violet:#a885ff;--green:#4fd16b;--ok:#0e9f57;--bad:#d6382b;--r:16px;--sh:4px 4px 0 var(--shc);--sh2:6px 6px 0 var(--shc);--head:"Bricolage Grotesque","Figtree",system-ui,sans-serif;--body:"Figtree",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color-scheme:light}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){--bg:#17130f;--paper:#231d17;--soft:#2c241d;--ink:#17130f;--text:#fff3dc;--muted:#b3a794;--line:#e9dcc4;--shc:#000;color-scheme:dark}}
:root[data-theme="dark"]{--bg:#17130f;--paper:#231d17;--soft:#2c241d;--ink:#17130f;--text:#fff3dc;--muted:#b3a794;--line:#e9dcc4;--shc:#000;color-scheme:dark}
*{box-sizing:border-box}html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font:17px/1.65 var(--body);overflow-x:hidden}
body::before{content:"";position:fixed;inset:0;z-index:-1;background-image:radial-gradient(var(--line) 1px,transparent 1.2px);background-size:26px 26px;opacity:.07;pointer-events:none}
h1,h2,h3,h4{font-family:var(--head);line-height:1.12;margin:0;letter-spacing:-.02em;font-weight:800}
a{color:inherit}
img,svg,canvas{max-width:100%}
.i{display:block;flex:none}
.wrap{max-width:1120px;margin:0 auto;padding:0 18px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.hidden{display:none!important}
/* ---------- header ---------- */
header.site{position:sticky;top:0;z-index:30;background:var(--bg);border-bottom:2px solid var(--line)}
header.site .wrap{display:flex;align-items:center;gap:14px;height:66px}
.logo{display:flex;align-items:center;gap:9px;text-decoration:none;font-family:var(--head);font-weight:800;font-size:22px;letter-spacing:-.03em}
.logo small{font-size:12px;font-weight:700;background:var(--ink);color:#fff3dc;border-radius:7px;padding:2px 7px;letter-spacing:0;margin-left:2px;transform:rotate(-4deg);display:inline-block}
:root[data-theme="dark"] .logo small,:root:not([data-theme="light"]) .logo small{}
.logo-mark{transition:transform .5s cubic-bezier(.34,1.56,.64,1)}
.logo:hover .logo-mark{transform:rotate(90deg) scale(1.08)}
nav.main{display:flex;gap:6px;margin-left:auto;overflow-x:auto;scrollbar-width:none;padding:4px 2px}
nav.main::-webkit-scrollbar{display:none}
nav.main a{display:flex;align-items:center;gap:6px;text-decoration:none;font-weight:700;font-size:14px;padding:7px 10px;border-radius:999px;border:2px solid transparent;white-space:nowrap;transition:.15s}
nav.main a:hover,nav.main a[aria-current]{border-color:var(--line);background:var(--paper);box-shadow:2px 2px 0 var(--shc)}
nav.main a .i{width:17px;height:17px}
.tgl{display:flex;gap:6px;flex:none}
.tbtn{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;border:2px solid var(--line);background:var(--paper);color:var(--text);cursor:pointer;box-shadow:2px 2px 0 var(--shc);transition:transform .1s,box-shadow .1s}
.tbtn:hover{transform:translate(-1px,-1px);box-shadow:3px 3px 0 var(--shc)}
.tbtn:active{transform:translate(2px,2px);box-shadow:0 0 0 var(--shc)}
.tbtn .i{width:20px;height:20px}
.tbtn .off{display:none}.tbtn[aria-pressed="false"] .on{display:none}.tbtn[aria-pressed="false"] .off{display:block}
.tbtn .sun{display:none}:root[data-theme="dark"] .tbtn .moon{display:none}:root[data-theme="dark"] .tbtn .sun{display:block}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .tbtn .moon{display:none}:root:not([data-theme="light"]) .tbtn .sun{display:block}}
/* ---------- hero ---------- */
.hero{display:grid;grid-template-columns:1.05fr .95fr;gap:30px;align-items:center;padding:46px 0 30px}
.eyebrow{display:inline-flex;align-items:center;gap:7px;font-weight:800;font-size:13.5px;text-transform:uppercase;letter-spacing:.06em;background:var(--yellow);color:#14110f;border:2px solid var(--line);border-radius:999px;padding:5px 13px 5px 9px;box-shadow:2px 2px 0 var(--shc);transform:rotate(-1.5deg)}
.eyebrow .i{width:16px;height:16px}
.hero h1{font-size:clamp(38px,6.2vw,66px);margin:18px 0 14px;line-height:1.02}
.mark{position:relative;white-space:nowrap;z-index:0}
.mark::after{content:"";position:absolute;left:-4px;right:-4px;bottom:.06em;height:.36em;background:var(--yellow);z-index:-1;border-radius:6px;transform:rotate(-1deg);animation:markIn .8s .3s cubic-bezier(.2,.9,.3,1) both}
@keyframes markIn{from{transform:scaleX(0) rotate(-1deg);transform-origin:left}to{transform:scaleX(1) rotate(-1deg);transform-origin:left}}
.hero p.sub{font-size:19px;color:var(--muted);max-width:520px;margin:0 0 22px}
.search{position:relative;max-width:520px}
.search .i{position:absolute;left:16px;top:50%;transform:translateY(-50%);width:22px;height:22px;color:var(--muted)}
.search input[type=search]{width:100%;font:inherit;font-size:17px;font-weight:600;padding:15px 16px 15px 48px;border:2px solid var(--line);border-radius:14px;background:var(--paper);color:var(--text);box-shadow:var(--sh)}
.search input[type=search]:focus{outline:none;transform:translate(-1px,-1px);box-shadow:var(--sh2)}
.chips{display:flex;flex-wrap:wrap;gap:9px;margin-top:18px}
.chip{display:inline-flex;align-items:center;gap:7px;font-weight:700;font-size:14px;background:var(--paper);border:2px solid var(--line);border-radius:999px;padding:6px 13px 6px 10px}
.chip .i{width:17px;height:17px}
.art{position:relative;min-height:380px}
.win{position:absolute;left:50%;top:50%;width:min(360px,92%);transform:translate(-50%,-50%) rotate(1.5deg);background:var(--paper);border:2px solid var(--line);border-radius:18px;box-shadow:8px 8px 0 var(--shc);overflow:hidden;z-index:2}
.win .bar{display:flex;align-items:center;gap:6px;padding:10px 14px;background:var(--coral);border-bottom:2px solid var(--line)}
.win .bar i{width:11px;height:11px;border-radius:50%;background:#fff3dc;border:2px solid #14110f;display:block}
.win .bar b{margin-left:8px;font-family:var(--head);font-size:14px;color:#14110f}
.win .body{padding:16px}
.frow{display:flex;align-items:center;gap:10px;border:2px solid var(--line);border-radius:12px;padding:8px 10px;margin-bottom:9px;background:var(--bg);font-weight:700;font-size:14.5px}
.frow .ft{width:30px;height:30px;border-radius:8px;background:var(--coral);border:2px solid var(--line);display:grid;place-items:center;color:#14110f}
.frow .ft .i{width:17px;height:17px}.frow small{margin-left:auto;color:var(--muted);font-weight:600}
.pbar{height:16px;border:2px solid var(--line);border-radius:99px;background:var(--bg);overflow:hidden;margin:14px 0 12px}
.pbar i{display:block;height:100%;width:0;background:repeating-linear-gradient(135deg,var(--green) 0 10px,#3bb957 10px 20px);animation:fillbar 4.5s ease-in-out infinite;border-right:2px solid var(--line)}
@keyframes fillbar{0%{width:0}55%,92%{width:100%}100%{width:100%}}
.win .btn{width:100%;animation:nudge 4.5s infinite}
@keyframes nudge{0%,55%{transform:none}60%{transform:scale(1.04)}66%,100%{transform:none}}
.stk{position:absolute;z-index:3;width:78px;height:78px;border-radius:22px;border:2px solid var(--line);box-shadow:var(--sh);display:grid;place-items:center;color:#14110f;animation:flt 6s ease-in-out infinite}
.stk .i{width:38px;height:38px;stroke-width:1.9}
.stk.s1{left:2%;top:6%;background:var(--teal);--rot:-10deg}
.stk.s2{right:1%;top:2%;background:var(--yellow);--rot:9deg;animation-delay:-1.2s}
.stk.s3{left:-2%;bottom:6%;background:var(--violet);--rot:8deg;animation-delay:-2.4s}
.stk.s4{right:2%;bottom:2%;background:var(--blue);--rot:-8deg;animation-delay:-3.4s}
.stk.s5{left:40%;top:-3%;width:58px;height:58px;border-radius:17px;background:var(--green);--rot:6deg;animation-delay:-4.4s}
.stk.s5 .i{width:28px;height:28px}
@keyframes flt{0%,100%{transform:translateY(0) rotate(var(--rot))}50%{transform:translateY(-12px) rotate(calc(var(--rot) * -.5))}}
.spark{position:absolute;color:var(--yellow);animation:twk 3s ease-in-out infinite;z-index:1}
.spark svg{width:26px;height:26px;fill:currentColor;stroke:var(--line);stroke-width:1.6}
.sp1{left:12%;top:46%}.sp2{right:10%;top:34%;animation-delay:-1s}.sp3{right:30%;bottom:-2%;animation-delay:-2s}
@keyframes twk{0%,100%{transform:scale(.7) rotate(0);opacity:.7}50%{transform:scale(1.15) rotate(25deg);opacity:1}}
/* ---------- sections ---------- */
.sec-h{display:flex;align-items:center;gap:12px;margin:46px 0 16px}
.sec-h h2{font-size:clamp(26px,3.4vw,34px)}
.sec-h .tile{width:46px;height:46px;border-radius:14px}
.sec-h a.all{margin-left:auto;font-weight:800;font-size:15px;text-decoration:none;display:flex;align-items:center;gap:5px;white-space:nowrap}
.sec-h a.all:hover{text-decoration:underline}.sec-h a.all .i{width:18px;height:18px}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:16px}
.grid.cats{grid-template-columns:repeat(3,1fr)}
.grid.big{grid-template-columns:repeat(auto-fill,minmax(320px,1fr))}
.tile{display:grid;place-items:center;flex:none;width:50px;height:50px;border-radius:15px;background:var(--c,var(--yellow));border:2px solid var(--line);color:#14110f;box-shadow:2px 2px 0 var(--shc);transition:transform .25s cubic-bezier(.34,1.56,.64,1)}
.tile .i{width:26px;height:26px}
.card{display:flex;gap:14px;align-items:flex-start;text-decoration:none;background:var(--paper);border:2px solid var(--line);border-radius:var(--r);padding:16px;box-shadow:var(--sh);transition:transform .12s,box-shadow .12s}
.card:hover{transform:translate(-2px,-2px);box-shadow:var(--sh2)}
.card:hover .tile{transform:rotate(-8deg) scale(1.1)}
.card:active{transform:translate(2px,2px);box-shadow:1px 1px 0 var(--shc)}
.card b{display:block;font-family:var(--head);font-size:18px;line-height:1.2;letter-spacing:-.01em}
.card small{display:block;color:var(--muted);font-size:14.5px;line-height:1.45;margin-top:4px}
.card.cat{flex-direction:column;gap:10px}.card.cat .tile{width:58px;height:58px;border-radius:17px}.card.cat .tile .i{width:30px;height:30px}
.card .go{margin-top:auto;display:inline-flex;align-items:center;gap:5px;font-weight:800;font-size:14px}
.card .go .i{width:16px;height:16px;transition:transform .15s}.card:hover .go .i{transform:translateX(4px)}
/* steps + features */
.steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:18px;counter-reset:s}
.step{position:relative;background:var(--paper);border:2px solid var(--line);border-radius:var(--r);padding:24px 18px 18px;box-shadow:var(--sh)}
.step::before{counter-increment:s;content:counter(s);position:absolute;top:-17px;left:16px;width:38px;height:38px;border-radius:12px;background:var(--yellow);color:#14110f;border:2px solid var(--line);display:grid;place-items:center;font:800 19px var(--head);transform:rotate(-6deg);box-shadow:2px 2px 0 var(--shc)}
.step:nth-child(2)::before{background:var(--teal);transform:rotate(5deg)}.step:nth-child(3)::before{background:var(--coral);transform:rotate(-3deg)}
.step h3{font-size:19px;margin-bottom:6px}.step p{margin:0;color:var(--muted);font-size:15.5px}
.feat{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px}
.feat div{display:flex;gap:13px;align-items:flex-start;background:var(--soft);border:2px dashed var(--line);border-radius:var(--r);padding:16px}
.feat h3{font-size:17px;margin-bottom:3px}.feat p{margin:0;font-size:15px;color:var(--muted)}
/* ---------- tool page ---------- */
.crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:7px;font-size:14px;font-weight:600;color:var(--muted);padding:20px 0 6px}
.crumbs a{text-decoration:none}.crumbs a:hover{color:var(--text);text-decoration:underline}
.thead{display:flex;gap:18px;align-items:center;margin:8px 0 22px}
.thead .tile{width:82px;height:82px;border-radius:24px;box-shadow:var(--sh);animation:pop .7s cubic-bezier(.34,1.56,.64,1) both}
.thead .tile .i{width:44px;height:44px;stroke-width:1.9}
@keyframes pop{from{transform:scale(.3) rotate(-30deg);opacity:0}to{transform:none;opacity:1}}
h1.tool{font-size:clamp(30px,4.8vw,46px);line-height:1.05}
.lead{color:var(--muted);font-size:18.5px;margin:10px 0 0;max-width:720px}
.tool-box{background:var(--paper);border:2px solid var(--line);border-radius:20px;box-shadow:var(--sh2);overflow:hidden;margin-bottom:8px}
.tool-box>.tb-bar{display:flex;align-items:center;gap:7px;padding:10px 16px;background:var(--c,var(--yellow));border-bottom:2px solid var(--line);color:#14110f}
.tb-bar i{width:11px;height:11px;border-radius:50%;background:#fff3dc;border:2px solid #14110f;display:block}
.tb-bar b{margin-left:8px;font:800 14.5px var(--head)}
.tb-bar span{margin-left:auto;display:flex;align-items:center;gap:6px;font-size:13px;font-weight:700}
.tb-bar span .i{width:15px;height:15px}
.tb-body{padding:22px}
.tb-body .tool-box{box-shadow:none;background:var(--bg);margin:0}.tb-body .tool-box .tb-body{padding:14px}
.drop{position:relative;border:3px dashed var(--line);border-radius:18px;padding:36px 16px;text-align:center;background:var(--bg);cursor:pointer;transition:transform .15s,background .15s}
.drop .dic{display:grid;place-items:center;width:62px;height:62px;margin:0 auto 10px;border-radius:18px;background:var(--c,var(--yellow));border:2px solid var(--line);box-shadow:3px 3px 0 var(--shc);color:#14110f;animation:bob 3s ease-in-out infinite}
.drop .dic .i{width:32px;height:32px}
@keyframes bob{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-6px) rotate(3deg)}}
.drop:hover,.drop.over,.drop:focus-visible{background:var(--soft);transform:scale(1.01);outline:none}
.drop.over{border-style:solid}
.drop b{display:block;font:800 20px var(--head);margin-bottom:3px}.drop span{color:var(--muted);font-size:15px}
.row{display:flex;flex-wrap:wrap;gap:14px;align-items:flex-end;margin:16px 0}
.field{display:flex;flex-direction:column;gap:6px;flex:1 1 150px;min-width:0}
.field label,.lbl{font-size:13.5px;font-weight:800;color:var(--text)}
input[type=text],input[type=number],input[type=date],input[type=search],select,textarea{width:100%;padding:12px 13px;border:2px solid var(--line);border-radius:12px;background:var(--paper);color:var(--text);font:inherit;font-size:16px;font-weight:600}
textarea{min-height:170px;resize:vertical;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:14.5px;line-height:1.55;font-weight:500}
input:focus,select:focus,textarea:focus{outline:none;box-shadow:3px 3px 0 var(--shc);transform:translate(-1px,-1px)}
input[type=range]{width:100%;accent-color:var(--coral);height:28px}
input[type=checkbox]{accent-color:var(--coral);width:20px;height:20px}
input[type=color]{border:2px solid var(--line);border-radius:12px;background:var(--paper);cursor:pointer;width:100%}
.chk{display:flex;align-items:center;gap:9px;font-weight:700;font-size:15.5px;cursor:pointer}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font:800 16px var(--head);letter-spacing:-.01em;border:2px solid var(--line);border-radius:13px;padding:12px 22px;background:var(--coral);color:#14110f;cursor:pointer;box-shadow:var(--sh);transition:transform .1s,box-shadow .1s,filter .15s;text-decoration:none}
.btn:hover{transform:translate(-2px,-2px);box-shadow:var(--sh2);filter:brightness(1.04)}
.btn:active{transform:translate(3px,3px);box-shadow:0 0 0 var(--shc)}
.btn[disabled]{opacity:.45;cursor:not-allowed;transform:none;box-shadow:var(--sh);filter:grayscale(.4)}
.btn.alt{background:var(--paper);color:var(--text)}
.btn.sm{padding:7px 13px;font-size:14px;border-radius:10px;box-shadow:2px 2px 0 var(--shc)}
.btn .i{width:19px;height:19px}
.btns{display:flex;flex-wrap:wrap;gap:12px;margin-top:16px}
.files{list-style:none;margin:16px 0 0;padding:0;display:grid;gap:10px}
.files li{display:flex;align-items:center;gap:10px;background:var(--bg);border:2px solid var(--line);border-radius:13px;padding:9px 12px;animation:slide .25s ease both}
@keyframes slide{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.files .nm{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700;font-size:15px}
.files .sz{color:var(--muted);font-size:13.5px;white-space:nowrap;font-weight:600}
.files img{width:42px;height:42px;object-fit:cover;border-radius:9px;border:2px solid var(--line)}
.ib{border:2px solid var(--line);background:var(--paper);color:var(--text);border-radius:10px;width:34px;height:34px;cursor:pointer;font-size:15px;font-weight:800;line-height:1}
.ib:hover{background:var(--yellow);color:#14110f}
.out{position:relative;margin-top:16px;padding:14px 16px 14px 56px;border-radius:14px;background:var(--soft);border:2px solid var(--line);font-weight:600;animation:slide .3s ease both}
.out::before{content:"";position:absolute;left:14px;top:13px;width:28px;height:28px;border-radius:50%;background:var(--yellow);border:2px solid var(--line)}
.out.ok{background:color-mix(in srgb,var(--green) 22%,var(--paper))}
.out.ok::before{background:var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314110f' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/18px no-repeat;animation:pop .5s cubic-bezier(.34,1.56,.64,1) both}
.out.err{background:color-mix(in srgb,var(--coral) 20%,var(--paper))}
.out.err::before{background:var(--coral) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314110f' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7 7 17'/%3E%3C/svg%3E") center/16px no-repeat;animation:shake .4s both}
@keyframes shake{20%,60%{transform:translateX(-4px)}40%,80%{transform:translateX(4px)}}
.stat{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px;margin-top:16px}
.stat div{background:var(--bg);border:2px solid var(--line);border-radius:14px;padding:13px 10px;text-align:center}
.stat b{display:block;font:800 26px var(--head);line-height:1.15}.stat span{font-size:13px;color:var(--muted);font-weight:700}
.out .stat div{background:var(--paper)}
.big{font:800 36px var(--head);letter-spacing:-.02em;line-height:1.1}
.mono{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
.hint{font-size:14px;color:var(--muted);font-weight:600}
.privacy-note{display:flex;gap:9px;align-items:center;font-size:14px;color:var(--muted);font-weight:700;margin:16px 0 0}
.privacy-note .i{width:18px;height:18px;color:var(--ok)}
/* confetti */
.cf{position:fixed;z-index:60;width:9px;height:9px;border-radius:2px;pointer-events:none;animation:cf .9s cubic-bezier(.2,.8,.3,1) forwards}
@keyframes cf{from{transform:translate(0,0) rotate(0);opacity:1}to{transform:translate(var(--dx),var(--dy)) rotate(var(--rt));opacity:0}}
/* ---------- article ---------- */
article.content{margin-top:42px}
article.content h2{font-size:clamp(24px,3vw,30px);margin:38px 0 14px}
article.content p,article.content li{color:var(--text);opacity:.92}
article.content ul{padding-left:22px}
.how{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px;list-style:none;padding:0;margin:0;counter-reset:h}
.how li{position:relative;background:var(--paper);border:2px solid var(--line);border-radius:var(--r);padding:20px 16px 16px 16px;box-shadow:var(--sh);opacity:1;counter-increment:h}
.how li::before{content:counter(h);display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--c,var(--yellow));border:2px solid var(--line);font:800 17px var(--head);color:#14110f;margin-bottom:9px;transform:rotate(-5deg)}
details{background:var(--paper);border:2px solid var(--line);border-radius:14px;padding:0;margin:11px 0;box-shadow:3px 3px 0 var(--shc);overflow:hidden}
details summary{cursor:pointer;font:800 17px var(--head);padding:15px 50px 15px 18px;list-style:none;position:relative}
details summary::-webkit-details-marker{display:none}
details summary::after{content:"+";position:absolute;right:14px;top:50%;transform:translateY(-50%);width:28px;height:28px;border-radius:9px;background:var(--yellow);border:2px solid var(--line);display:grid;place-items:center;font:800 18px var(--head);color:#14110f;transition:transform .2s}
details[open] summary::after{content:"–";transform:translateY(-50%) rotate(180deg)}
details p{margin:0;padding:0 18px 16px;color:var(--muted)}
.related{margin-top:42px}
/* ---------- footer ---------- */
footer.site{margin-top:70px;background:var(--ink);color:#fff3dc;border-top:2px solid var(--line);padding:40px 0 26px}
:root[data-theme="dark"] footer.site,:root:not([data-theme="light"]) footer.site{}
footer.site .cols{display:grid;grid-template-columns:1.5fr repeat(auto-fit,minmax(150px,1fr));gap:26px}
footer.site h4{font-size:15px;margin:0 0 10px;color:var(--yellow)}
footer.site a{display:block;color:#fff3dc;opacity:.78;text-decoration:none;padding:3px 0;font-size:15px}
footer.site a:hover{opacity:1;text-decoration:underline}
footer.site p{opacity:.8;font-size:15px;margin:10px 0 0;max-width:340px}
footer.site .logo{color:#fff3dc}
footer.site .copy{margin-top:30px;padding-top:18px;border-top:1px solid #ffffff22;font-size:13.5px;opacity:.65}
:root[data-theme="dark"] footer.site,:root:not([data-theme="light"]) footer.site{background:#0e0b09}
/* ---------- reveal + motion ---------- */
.rv{opacity:0;transform:translateY(18px);transition:opacity .5s ease,transform .5s cubic-bezier(.2,.8,.3,1)}
.rv.in{opacity:1;transform:none}
:focus-visible{outline:3px solid var(--blue);outline-offset:3px;border-radius:8px}
@media (max-width:900px){.grid.cats{grid-template-columns:repeat(2,1fr)}.hero{grid-template-columns:1fr;padding-top:30px}.art{min-height:330px;order:-1;margin-bottom:-6px}}
@media (max-width:640px){body{font-size:16.5px}header.site .wrap{height:auto;padding-top:9px;padding-bottom:9px;flex-wrap:wrap;gap:8px}.logo{order:1}.tgl{order:2;margin-left:auto}nav.main{order:3;margin-left:0;width:100%}.hero h1{font-size:40px}.art{min-height:300px}.stk{width:60px;height:60px;border-radius:17px}.stk .i{width:30px;height:30px}.stk.s5{width:46px;height:46px}.thead{flex-direction:column;align-items:flex-start;gap:12px}.thead .tile{width:68px;height:68px}.tb-body{padding:14px}.btn{width:100%}.btns .btn{flex:1 1 100%}.sec-h a.all span{display:none}.grid,.grid.big,.grid.cats{grid-template-columns:1fr}.files .btn{width:auto;flex:none}.card{padding:14px}}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}.rv{opacity:1;transform:none}}

.pwbox{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:14px 16px;border-radius:14px;background:var(--soft);border:2px solid var(--line)}.pwbox .btn{width:auto;flex:none}
/* ---- everyday tools ---- */
.wheelwrap{position:relative;display:inline-block;max-width:100%}
.wheelwrap canvas{width:min(400px,100%);height:auto;aspect-ratio:1;cursor:pointer;display:block;margin:0 auto}
.ptr{position:absolute;top:-8px;left:50%;transform:translateX(-50%);width:0;height:0;border-left:15px solid transparent;border-right:15px solid transparent;border-top:32px solid var(--coral);filter:drop-shadow(0 2px 0 var(--shc));z-index:2}
.coinwrap{perspective:800px;display:grid;place-items:center;padding:16px 0}
.coin{position:relative;width:150px;height:150px;transform-style:preserve-3d;transition:transform 1.3s cubic-bezier(.2,.7,.2,1)}
.coin>div{position:absolute;inset:0;border-radius:50%;display:grid;place-items:center;border:4px solid var(--line);font:800 24px var(--head);backface-visibility:hidden;color:#14110f;box-shadow:inset 0 0 0 8px rgba(0,0,0,.12)}
.coin .f{background:#ffc933}.coin .b{background:#ffe08a;transform:rotateY(180deg)}
.dice{display:flex;flex-wrap:wrap;gap:14px;justify-content:center;margin:20px 0}
.die{width:84px;height:84px;border-radius:20px;border:3px solid var(--line);background:var(--paper);display:grid;place-items:center;box-shadow:var(--sh);animation:roll .55s cubic-bezier(.34,1.56,.64,1) both}
.die b{font:800 30px var(--head)}
.pips{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;width:56px;height:56px}
.pips i{border-radius:50%;background:transparent}.pips i.on{background:var(--text)}
@keyframes roll{from{transform:rotate(-200deg) scale(.4);opacity:0}to{transform:none;opacity:1}}

/* pdf organizer */
.pgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;margin-top:12px}.pg{border:2px solid var(--line);border-radius:14px;padding:8px;background:var(--bg);text-align:center}.pgimg{display:grid;place-items:center;height:164px;overflow:hidden}.pgimg canvas{max-width:100%;max-height:150px;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.28);transition:transform .25s}.pgnum{font-weight:800;font-size:13.5px;margin-top:6px}.pgb{display:flex;gap:4px;justify-content:center;margin-top:6px;flex-wrap:wrap}.pgb .ib{width:30px;height:30px;font-size:14px}.pg.del{opacity:.4}.pg.del .pgimg{filter:grayscale(1)}
