:root{color-scheme:light;--bg:#f7f9fc;--surface:#fff;--field:#f7f9fc;--ink:#10223a;--muted:#69819e;--subtle:#8194ad;--line:#dce6f2;--accent:#0bb889;--accent-hover:#079b74;--accent-text:#00866b;--soft:#ecfdf5;--accent-line:#a1ead3;--danger:#b74343;--shadow:0 5px 16px #172b4405}
:root[data-section=facebook]{--accent:#1877f2;--accent-hover:#0866d5;--accent-text:#075bd6;--soft:#eff6ff;--accent-line:#bbd5ff}
:root[data-section=youtube]{--accent:#ef4444;--accent-hover:#d72f35;--accent-text:#d12730;--soft:#fff1f2;--accent-line:#ffbfc3}
:root[data-theme=dark]{color-scheme:dark;--bg:#0f1729;--surface:#1e293b;--field:#111a2c;--ink:#f3f7ff;--muted:#96b2d3;--subtle:#829bb9;--line:#334155;--accent-text:#37dfb0;--soft:#092e2a;--accent-line:#15594f;--danger:#ff9999;--shadow:none}
:root[data-theme=dark][data-section=facebook]{--accent-text:#82b3ff;--soft:#132c50;--accent-line:#294f80}
:root[data-theme=dark][data-section=youtube]{--accent-text:#ff8c93;--soft:#3a202c;--accent-line:#693440}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:20px}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.6 ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}button,input,select{font:inherit}a{color:inherit;text-decoration:none}button,summary{cursor:pointer}button:disabled{cursor:default;opacity:.5}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--accent);outline-offset:3px}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.svg-defs{position:absolute;width:0;height:0;overflow:hidden}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.dot{display:inline-block;flex:0 0 7px;width:7px;height:7px;border-radius:50%;background:currentColor}
.header{max-width:1000px;padding:23px 20px 0;margin:auto;display:flex;justify-content:space-between;align-items:center;gap:18px}.system-badge{display:inline-flex;align-items:center;gap:7px;background:#d3fae9;color:#00886b;border-radius:20px;padding:4px 11px;font-size:11px;font-weight:650;line-height:1.6}.system-badge .dot{background:#58d6ae}.header-actions{display:flex;align-items:center;gap:12px}.theme-toggle{width:36px;min-height:40px;display:grid;place-items:center;border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:12px}.theme-toggle svg{width:18px;height:18px}.hero-security{display:flex;gap:10px;align-items:center;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:12px;text-align:left;padding:8px 12px;box-shadow:0 2px 3px #172b4404}.hero-security:hover{border-color:var(--accent)}.hero-security-icon{display:grid;place-items:center;flex:0 0 31px;width:31px;height:31px;border-radius:8px;background:var(--field);color:var(--muted)}.hero-security-icon svg{width:21px;height:21px}.privacy-trigger-copy strong{display:block;font-size:11px;line-height:1.3;font-weight:650}.privacy-trigger-label{display:block;font-size:10px;color:var(--muted);line-height:1.5}.privacy-trigger-label>span{font-size:10px;margin-left:3px}
main{max-width:1000px;margin:auto;padding:0 20px}.hero{padding:28px 0 30px}.hero-topic-row{display:flex;align-items:center;gap:16px}.hero-topic-icon{width:64px;height:64px;flex:0 0 64px;display:grid;place-items:center;background:var(--accent);border-radius:17px;box-shadow:0 7px 14px #172b4412;color:#fff}.hero-topic-icon>svg{width:46px;height:46px}.hero-topic-text{min-width:0}.hero-meta{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.hero-tag{display:flex;align-items:center;gap:5px;font-size:10px;font-weight:750;letter-spacing:.3px;color:var(--accent-text)}.hero-tag .dot{width:4px;height:4px;flex-basis:4px}.hero-free{font-size:9px;font-weight:500;padding:2px 8px;line-height:1.6;border-radius:20px;background:#e2e8f0;color:#21425f}h1{font-size:31px;font-weight:760;letter-spacing:-.9px;line-height:1.15;margin:4px 0 5px}h1 span{color:inherit}.hero-description{margin:0;color:#365a7d;font-size:12px;line-height:1.75}.section-nav{display:flex;justify-content:flex-start;align-items:center;gap:12px;padding:0 0 16px;margin:0 0 32px;border-bottom:1px solid var(--line)}.section-nav>a{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:10px 18px;border:1px solid var(--line);background:var(--surface);border-radius:11px;font-size:12px;font-weight:550;color:#334b67;white-space:nowrap}.section-nav>a:hover{border-color:var(--accent);color:var(--accent-text)}.section-nav>a.nav-active{background:var(--accent);border-color:var(--accent);color:#fff;font-weight:700}.nav-topic-icon{width:17px;height:17px;stroke-width:2}
.view-label{display:none}.layout{display:block}.tool-card,.tutorial-view{border:1.5px solid var(--accent-line);border-radius:17px;background:var(--surface);padding:26px;box-shadow:var(--shadow)}.card-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;padding-bottom:22px;border-bottom:1px solid var(--line);margin-bottom:22px}.overline{font-size:9px;letter-spacing:.35px;font-weight:750;color:var(--accent-text)}h2{font-size:20px;letter-spacing:-.35px;font-weight:700;line-height:1.35;margin:4px 0 0}.session-badge{display:inline-flex;align-items:center;gap:5px;font-size:10px;color:var(--accent-text);background:var(--soft);border:1px solid var(--accent-line);padding:3px 9px;border-radius:20px;white-space:nowrap}.session-badge .dot{width:5px;height:5px;flex-basis:5px}.label-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px;flex-wrap:wrap}label{display:block;font-size:12px;font-weight:550;color:var(--ink)}.secret-actions{display:flex;align-items:center;gap:9px;margin-left:auto}.text-button{display:inline-flex;align-items:center;gap:5px;border:1px solid var(--line);border-radius:7px;background:var(--field);color:var(--muted);padding:5px 9px;font-size:10px;line-height:1.3}.text-button svg{width:13px;height:13px}#paste{border-color:var(--accent-line);background:var(--soft);color:var(--accent-text)}.history-count{display:grid;place-items:center;min-width:16px;height:16px;padding:0 4px;font-size:9px;font-weight:700;background:var(--accent);color:#fff;border-radius:20px}.input-wrap{display:flex;align-items:center;border:1px solid #c8d7eb;background:var(--field);border-radius:11px;transition:border-color .15s,box-shadow .15s}.input-wrap:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px var(--soft)}#secret{width:100%;min-width:0;min-height:46px;padding:12px 15px;background:transparent;border:0;outline:0;color:var(--ink);font-size:13px;font-weight:500}#secret::placeholder{color:var(--subtle);font-weight:400}.show-button{margin:0 7px;border:0;background:transparent;color:var(--subtle);padding:8px;display:grid;place-items:center}.show-button svg{width:19px;height:19px}.show-button[aria-pressed=true]{color:var(--accent-text)}.input-wrap.invalid{border-color:var(--danger)}.field-help{font-size:10px;color:var(--muted);line-height:1.8;margin:6px 0 0}#secret-help{font-style:italic}.advanced{border:1px solid var(--accent-line);border-radius:11px;margin:22px 0;background:var(--surface);overflow:hidden}.advanced summary{display:flex;align-items:center;gap:10px;padding:12px 13px;list-style:none;background:var(--soft);color:var(--accent-text);font-size:11px;font-weight:650;min-height:41px}.advanced summary::-webkit-details-marker{display:none}.settings-preview{margin-left:auto;font:10px ui-monospace,monospace;font-weight:400;color:var(--muted)}.chevron{font-size:14px;font-weight:400}.advanced[open] .chevron{transform:rotate(180deg)}.advanced[open] summary{border-bottom:1px solid var(--accent-line)}.settings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;padding:15px 13px 0}.settings label{font-size:11px}.settings input,.settings select{display:block;width:100%;min-height:42px;margin-top:6px;padding:8px 10px;font-size:12px;border:1px solid var(--line);border-radius:8px;background:var(--field);color:var(--ink)}.advanced>.field-help{margin:8px 13px 13px;font-size:10px}.error{font-size:11px;line-height:1.8;color:var(--danger);border-left:2px solid var(--danger);background:var(--field);padding:9px 12px;margin:10px 0}.result{border:2px solid var(--accent);border-radius:13px;padding:18px 20px 0;background:var(--surface);margin-top:24px}.result-header{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--accent-text);font-size:10px;font-weight:700;letter-spacing:.6px}.code-status{padding:3px 10px;font-size:10px;line-height:1.4;font-weight:500;letter-spacing:0;background:var(--soft);color:var(--accent-text);border-radius:20px}.account{font-size:11px;overflow-wrap:anywhere;color:var(--muted);margin-top:9px}.code-row{display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:84px;margin:13px 0 15px;padding:14px 16px;background:var(--field);border:1px solid var(--line);border-radius:12px}.code-copy-button{display:flex;align-items:center;gap:19px;min-width:0;max-width:calc(100% - 58px);border:0;padding:1px 0;background:transparent;color:var(--accent-text);text-align:left;cursor:pointer}.code-copy-button:disabled{opacity:1;cursor:default}.code-value{display:block;font:700 34px/1.2 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:4px;font-variant-numeric:tabular-nums;white-space:nowrap;user-select:all}.code-value[data-digits="8"]{font-size:31px;letter-spacing:2px}.copy-mark{width:29px;height:31px;padding:7px;background:var(--accent);color:#fff;border-radius:8px}.code-copy-button:disabled .copy-mark{visibility:hidden}.code-copy-button:disabled .code-value{color:var(--subtle)}.code-copy-button[data-copied=true] .copy-mark{background:var(--accent-hover)}.countdown{width:44px;height:44px;flex:0 0 44px;position:relative;display:grid;place-items:center;color:var(--ink)}.countdown>svg{position:absolute;inset:0;width:100%;height:100%;stroke-width:3.5;transform:rotate(-90deg)}.ring-bg{stroke:var(--line)}.ring-fill{stroke:var(--accent);stroke-dasharray:125.664;stroke-dashoffset:125.664}.countdown>span{font:650 12px ui-monospace,monospace}.result[data-expiring=true] .countdown,.result[data-expiring=true] .code-status{color:var(--danger)}.result[data-expiring=true] .ring-fill{stroke:var(--danger)}.result-foot{display:flex;align-items:center;gap:5px;border-top:1px solid var(--line);padding:11px 0;font-size:10px;color:var(--muted)}.status-dot{width:5px;height:5px;border-radius:50%;background:var(--accent);flex:0 0 5px}.tool-foot{display:flex;align-items:center;gap:5px;font-size:10px;color:var(--muted);padding-top:12px}.tool-foot svg{width:13px;height:13px;color:var(--accent)}
.side-column{margin-top:24px}.ad-card{border:1px dashed var(--line);border-radius:12px;color:var(--subtle);background:var(--surface);padding:12px 18px}.ad-label{font-size:8px;letter-spacing:1px;display:flex;justify-content:space-between}.ad-slot{min-height:75px;display:flex;align-items:center;justify-content:center;gap:17px;text-align:center}.ad-slot strong{font-size:12px;font-weight:500;line-height:1.5}.ad-slot strong br{display:none}.ad-slot p{font-size:10px;margin:0}.ad-size{font-size:9px;padding:2px 6px;border:1px solid var(--line);border-radius:5px}.ad-shape,.ad-caption{display:none}.ad-slot img{max-width:100%;max-height:250px}.ad-slot iframe{width:100%;height:250px;border:0}footer{max-width:960px;margin:24px auto 0;padding:19px 0 26px;border-top:1px solid var(--line);display:flex;align-items:center;gap:17px;font-size:10px;color:var(--muted)}.brand{font-size:20px;font-weight:750;letter-spacing:-.8px;line-height:1.2;white-space:nowrap}.brandaccent{color:var(--accent-text)}footer>a:last-child{margin-left:auto}.toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);background:var(--ink);color:var(--surface);font-size:12px;line-height:1.7;padding:11px 18px;border-radius:10px;box-shadow:0 5px 20px #0002;max-width:calc(100% - 32px);text-align:center;z-index:20}
.tutorial-view{margin-bottom:24px;padding:26px}.tutorial-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-bottom:22px;border-bottom:1px solid var(--line)}.tutorial-heading-main{display:flex;align-items:center;gap:13px;min-width:0}.library-topic-icon{width:49px;height:49px;flex:0 0 49px;display:grid;place-items:center;background:var(--accent);color:#fff;border-radius:12px;box-shadow:0 4px 10px #172b4410}.library-topic-icon svg{width:33px;height:33px}.tutorial-heading h2{font-size:19px;margin:3px 0 0}.tutorial-heading p{font-size:11px;margin:0;color:var(--muted);line-height:1.8}.article-count{font-size:10px;white-space:nowrap;background:var(--soft);border:1px solid var(--line);color:var(--accent-text);border-radius:20px;padding:4px 10px}.tutorial-toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:22px 0}.topic-list{display:flex;flex-wrap:wrap;gap:7px;min-width:0}.topic-chip{border:0;background:#edf2f8;color:#385572;padding:6px 10px;border-radius:7px;font-size:10px;line-height:1.6;white-space:nowrap}.topic-chip[aria-pressed=true]{background:var(--accent);color:#fff;font-weight:650}.tutorial-search{position:relative;flex:0 1 235px;min-width:165px}.tutorial-search>svg{position:absolute;left:10px;top:9px;width:15px;height:15px;color:var(--subtle)}.tutorial-search input{width:100%;height:33px;padding:7px 10px 7px 33px;border:1px solid var(--line);border-radius:8px;background:var(--field);color:var(--ink);font-size:11px}.tutorial-search input::placeholder{color:var(--subtle)}.tutorial-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.tutorial-card{display:flex;align-items:flex-start;gap:13px;min-width:0;padding:17px;border:1px solid var(--line);border-radius:12px;background:#fbfcfe;transition:border-color .15s,box-shadow .15s}.tutorial-card:hover{border-color:var(--accent);box-shadow:0 4px 15px #172b4407}.card-emblem{width:39px;height:43px;flex:0 0 39px;display:grid;place-items:center;background:var(--soft);color:var(--accent-text);border-radius:9px}.card-emblem svg{width:23px;height:23px}.tutorial-card-body{min-width:0;flex:1;display:flex;flex-direction:column;min-height:111px}.card-topic-row{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:5px;flex-wrap:wrap}.card-topic{font-size:8px;letter-spacing:.2px;text-transform:uppercase;font-weight:750;color:var(--accent-text)}.sample-tag{font-size:8px;color:var(--muted);padding:1px 5px;border-radius:4px;background:var(--field);border:1px solid var(--line);white-space:nowrap}.tutorial-card h3{font-size:12px;font-weight:700;line-height:1.55;margin:0 0 4px;overflow-wrap:anywhere}.tutorial-card p{font-size:10px;color:var(--muted);line-height:1.7;margin:0 0 10px}.card-foot{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:auto}.card-foot-note{font-size:9px;color:var(--subtle)}.read-article{font-size:10px;color:var(--accent-text);white-space:nowrap}.tutorial-empty{display:flex;flex-direction:column;align-items:center;text-align:center;padding:25px 15px 35px}.empty-illustration{width:150px;height:93px;color:var(--accent);margin-bottom:18px}.empty-illustration>svg{width:100%;height:100%}.tutorial-empty h3{font-size:19px;margin:8px 0}.tutorial-empty p{max-width:430px;color:var(--muted);font-size:11px;line-height:1.9;margin:0}.tutorial-empty>a{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:7px;padding:8px 12px;font-size:11px;color:var(--accent-text);margin-top:18px}.tutorial-empty>a svg{width:15px;height:15px}.tutorial-article{max-width:740px;margin:24px auto 10px;overflow-wrap:anywhere}.article-back{display:block;font-size:11px;color:var(--accent-text);margin-bottom:25px}.tutorial-article h2{font-size:28px;line-height:1.45;margin:9px 0 12px}.article-summary{font-size:14px;line-height:1.9;color:var(--muted);padding-bottom:20px;border-bottom:1px solid var(--line)}.tutorial-article h3{font-size:18px;margin:25px 0 10px}.tutorial-article p,.tutorial-article li{font-size:13px;line-height:1.9;color:var(--muted)}.tutorial-article li{margin-bottom:8px}
.paste-status{font-size:11px;line-height:1.8;color:var(--muted);margin:11px 0 0;padding:9px 12px;border:1px solid var(--line);border-radius:7px;background:var(--field)}.paste-status[data-kind=success]{color:var(--accent-text);border-color:var(--accent-line)}.paste-status[data-kind=notice]{color:#96702d;border-color:#c7b58b;background:#fffaf0}.paste-help{font-size:11px;line-height:1.9;color:var(--muted);margin:10px 0 0;padding:13px 14px;border:1px solid var(--line);border-left:3px solid var(--accent);border-radius:8px;background:var(--surface)}.paste-help strong{display:block;font-size:12px;color:var(--ink)}.paste-help p{margin:6px 0 9px}.paste-help>a{color:var(--accent-text);font-weight:600;text-decoration:underline}.paste-help>span{font-size:10px}kbd{font-size:10px;padding:1px 4px;border:1px solid var(--line);border-radius:4px;background:var(--field);color:var(--ink)}
/* Privacy notice and reader */
.hero .privacy-trigger{font:inherit;text-align:left;color:var(--ink);width:100%;cursor:pointer;align-items:center;transition:border-color .15s,box-shadow .15s}
.hero .privacy-trigger:hover{border-color:var(--accent);box-shadow:0 3px 15px #00000006}
.privacy-trigger-copy{display:block;min-width:0}.privacy-trigger-label{display:block;font-size:10px;color:var(--accent);line-height:1.9}.privacy-trigger-label>span{margin-left:5px}
body.privacy-is-open{overflow:hidden}
.privacy-dialog{padding:0;border:1px solid var(--line);border-radius:16px;width:calc(100% - 40px);max-width:700px;max-height:calc(100dvh - 48px);background:#fff;color:var(--ink);box-shadow:0 24px 90px #10251c33;overflow:hidden}
.privacy-dialog::backdrop{background:#16251e70;backdrop-filter:blur(3px)}
.privacy-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:23px 27px 19px;border-bottom:1px solid var(--line)}
.privacy-dialog-head h2{font-size:24px;margin:7px 0 0;line-height:1.4}
.privacy-close{display:grid;place-items:center;flex-shrink:0;border:1px solid var(--line);border-radius:8px;width:36px;height:36px;padding:0;background:#fff;color:var(--muted);font-size:24px;line-height:1}
.privacy-close:hover{border-color:var(--accent);color:var(--accent)}
.privacy-dialog-body{padding:23px 27px 12px;max-height:calc(100dvh - 260px);overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.privacy-dialog-body:focus-visible{outline-offset:-4px}
.privacy-dialog-body p,.privacy-dialog-body li{font-size:12px;line-height:1.95;color:var(--muted)}
.privacy-dialog-body p{margin:0 0 13px}.privacy-dialog-body .privacy-intro{font-size:13px;color:var(--ink);margin-bottom:23px}
.privacy-dialog-body h3{font-size:15px;line-height:1.5;margin:0 0 10px;font-weight:650;letter-spacing:-.15px}
.privacy-dialog-body section{margin:0 0 23px}.privacy-dialog-body ul{margin:10px 0 0;padding-left:19px}.privacy-dialog-body li{margin-bottom:10px;padding-left:3px}
.privacy-dialog-body .privacy-user-controls{padding:19px;border:1px solid var(--line);background:var(--soft);border-radius:10px}
.privacy-user-controls h3{margin-top:7px}.privacy-user-controls li:last-child{margin-bottom:0}
.privacy-dialog-foot{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:16px 27px;border-top:1px solid var(--line);background:#fff}
.privacy-dialog-foot>span{color:var(--subtle);font-size:10px}.privacy-dialog-foot button{border:0;border-radius:7px;padding:10px 22px;background:var(--accent);color:#fff;font-size:12px;font-weight:600}
.privacy-dialog-foot button:hover{background:var(--accent-hover)}
@media(max-width:700px){.privacy-dialog{width:calc(100% - 24px);max-height:calc(100dvh - 24px);border-radius:12px}.privacy-dialog-head{padding:18px 18px 16px;gap:10px}.privacy-dialog-head h2{font-size:20px}.privacy-dialog-body{padding:18px 18px 5px;max-height:calc(100dvh - 225px)}.privacy-dialog-body p,.privacy-dialog-body li{font-size:12px}.privacy-dialog-body .privacy-user-controls{padding:15px}.privacy-dialog-foot{padding:13px 18px;gap:14px}.privacy-dialog-foot>span{font-size:9px}.privacy-dialog-foot button{min-height:42px;padding:10px 20px}}
/* The generated code is the copy control. */
.code-copy-button{display:flex;align-items:center;gap:13px;min-width:0;max-width:calc(100% - 58px);padding:9px 7px;margin-left:-7px;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--ink);text-align:left}
.code-copy-button:disabled{opacity:1;cursor:default}.code-copy-button:not(:disabled):hover{background:var(--soft);border-color:var(--line)}
.code-copy-button .code-value{display:block;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:44px;line-height:1.2;font-weight:500;letter-spacing:5px;color:var(--subtle);white-space:nowrap;font-variant-numeric:tabular-nums;user-select:all}
.result[data-state=active] .code-value{color:var(--ink)}.code-copy-button .code-value[data-digits="8"]{font-size:37px;letter-spacing:3px}
.copy-mark{width:17px;height:17px;color:var(--accent);opacity:.7}.code-copy-button:disabled .copy-mark{visibility:hidden}
.code-copy-button[data-copied=true]{border-color:var(--accent);background:var(--soft)}
.copy-hint{color:var(--muted);font-size:10px;line-height:1.7}.result-actions{gap:10px}
@media(max-width:900px){.code-copy-button .code-value{font-size:39px;letter-spacing:3px}.code-copy-button .code-value[data-digits="8"]{font-size:30px;letter-spacing:1px}.code-copy-button{gap:8px}}
@media(max-width:700px){.code-copy-button .code-value{font-size:36px;letter-spacing:2px}.code-copy-button .code-value[data-digits="8"]{font-size:29px;letter-spacing:1px}.code-copy-button{gap:9px}.copy-mark{width:15px;height:15px}.copy-hint{font-size:9px}}
@media(max-width:370px){.code-copy-button .code-value{font-size:32px;letter-spacing:1px}.code-copy-button .code-value[data-digits="8"]{font-size:26px;letter-spacing:0}.code-copy-button{gap:7px}.copy-mark{width:13px;height:13px}}
/* Session-only key history */
.secret-actions{display:flex;align-items:center;gap:17px}.history-count{font-size:9px;line-height:1;background:var(--soft);border:1px solid var(--line);padding:3px 5px;border-radius:5px;min-width:19px;text-align:center}
body.history-is-open{overflow:hidden}
.history-dialog{border:1px solid var(--line);padding:0;border-radius:15px;background:#fff;color:var(--ink);width:calc(100% - 32px);max-width:580px;max-height:calc(100dvh - 40px);overflow:hidden;box-shadow:0 24px 90px #10251c33}
.history-dialog::backdrop{background:#16251e70;backdrop-filter:blur(3px)}
.history-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:23px 24px 16px}.history-head h2{font-size:23px;margin:7px 0 0}
#history-description{font-size:11px;line-height:1.9;margin:0;padding:0 24px 18px;color:var(--muted);border-bottom:1px solid var(--line)}
.history-list{margin:0;padding:0 24px;list-style:none;overflow-y:auto;max-height:calc(100dvh - 290px);overscroll-behavior:contain;scrollbar-gutter:stable}.history-list:empty{padding:0}
.history-entry{padding:19px 0;border-bottom:1px solid var(--line)}.history-entry:last-child{border-bottom:0}
.history-entry-top{display:flex;align-items:center;justify-content:space-between;gap:18px}.history-entry-top strong{font-size:12px;font-weight:600;overflow-wrap:anywhere}.history-entry-top time{font-size:10px;color:var(--subtle);font-variant-numeric:tabular-nums;white-space:nowrap}
.history-secret-row{display:flex;align-items:flex-start;gap:12px;margin:12px 0}.history-secret{display:block;min-width:0;flex:1;word-break:break-all;font-size:13px;line-height:1.8;padding:9px 12px;border:1px solid var(--line);border-radius:7px;background:var(--bg);user-select:all}
.history-reveal{border:0;background:var(--soft);border-radius:5px;padding:7px 9px;color:var(--accent);font-size:10px;min-height:35px;min-width:40px}
.history-entry-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px}.history-entry-bottom>span{font-size:9px;color:var(--muted)}
.history-reuse,.history-done{border:0;background:var(--accent);color:white;border-radius:6px;padding:9px 15px;font-size:11px;white-space:nowrap}.history-reuse:hover,.history-done:hover{background:var(--accent-hover)}
.history-empty{text-align:center;padding:38px 24px;color:var(--muted)}.history-empty>svg{width:28px;height:28px;color:var(--accent);margin-bottom:8px}.history-empty h3{font-size:16px;font-weight:600;color:var(--ink);margin:0 0 9px}.history-empty p{font-size:11px;line-height:1.9;margin:0}
.history-foot{display:flex;align-items:center;justify-content:space-between;padding:16px 24px;border-top:1px solid var(--line);gap:16px}.history-erase{border:0;background:none;color:var(--danger);font-size:11px;padding:8px 0}
@media(max-width:700px){.secret-actions{gap:12px}.secret-actions .text-button{font-size:9px}.history-head{padding:20px 18px 15px}.history-head h2{font-size:21px}#history-description{padding:0 18px 16px;font-size:10px}.history-list{padding:0 18px;max-height:calc(100dvh - 280px)}.history-foot{padding:13px 18px}.history-reveal,.history-reuse,.history-done{min-height:40px}.history-entry-bottom>span{font-size:8px}.history-secret{font-size:12px}.history-entry-top strong{font-size:11px}}
@media(max-width:370px){.label-row>label{font-size:10px}.secret-actions{gap:9px}.history-count{font-size:8px;padding:3px 4px;min-width:17px}}
/* Shared dialog colors follow the selected theme. */
.privacy-dialog,.history-dialog,.privacy-dialog-foot{background:var(--surface);color:var(--ink);border-color:var(--line)}.privacy-close{background:var(--field);color:var(--muted);border-color:var(--line)}.privacy-trigger-label{color:var(--muted)}.privacy-dialog-body .privacy-user-controls{background:var(--soft)}.privacy-dialog-foot button,.history-reuse,.history-done{background:var(--accent);color:#fff}.history-secret{background:var(--field)}.history-reveal{background:var(--soft);color:var(--accent-text)}.history-count{background:var(--accent);color:#fff;border:0}.history-empty>svg,.history-erase{color:var(--accent-text)}.history-erase{color:var(--danger)}.hero-security strong{font-size:11px}.privacy-dialog-body p,.privacy-dialog-body li,.history-entry-bottom>span{color:var(--muted)}
:root[data-theme=dark] .system-badge{background:#092e2a;color:#3fe3b4}:root[data-theme=dark] .hero-free{background:#3a4a62;color:#deebfb}:root[data-theme=dark] .hero-description{color:var(--muted)}:root[data-theme=dark] .section-nav>a{background:var(--surface);border-color:var(--line);color:#dce8f7}:root[data-theme=dark] .section-nav>a.nav-active{background:var(--accent);border-color:var(--accent);color:#fff}:root[data-theme=dark] .input-wrap{border-color:#435570}:root[data-theme=dark] .input-wrap.invalid{border-color:var(--danger)}:root[data-theme=dark] .topic-chip{background:#334155;color:#dbe8f9}:root[data-theme=dark] .topic-chip[aria-pressed=true]{background:var(--accent);color:#fff}:root[data-theme=dark] .tutorial-card{background:#192536}:root[data-theme=dark] .toast{background:#eaf2ff;color:#17243a}:root[data-theme=dark] .paste-status[data-kind=notice]{color:#f0ce88;background:#352d1b;border-color:#68552c}
@media(max-width:850px){.tutorial-toolbar{align-items:flex-start;flex-wrap:wrap}.tutorial-search{flex-basis:230px}.tutorial-card{padding:15px;gap:11px}.tutorial-card-body{min-height:125px}.card-foot-note{font-size:8px}}
@media(max-width:700px){.header{padding:16px 16px 0;gap:10px;align-items:center}.system-badge{font-size:9px;padding:4px 8px}.header-actions{gap:7px}.theme-toggle{width:32px;min-height:36px;border-radius:10px}.hero-security{padding:7px 8px;gap:7px}.hero-security-icon{display:none}.privacy-trigger-copy strong{font-size:10px}.privacy-trigger-label{font-size:9px}.hero-security svg{width:17px;height:17px}main{padding:0 16px}.hero{padding:26px 0 25px}.hero-topic-row{gap:13px;align-items:flex-start}.hero-topic-icon{width:56px;height:59px;flex-basis:56px;border-radius:15px;margin-top:4px}.hero-topic-icon>svg{width:39px;height:39px}.hero-meta{gap:6px}.hero-tag{font-size:8px;letter-spacing:.1px}.hero-free{font-size:8px;padding:1px 7px}h1{font-size:27px;letter-spacing:-.7px;margin:5px 0}.hero-description{font-size:11px;line-height:1.8}.section-nav{gap:8px;margin-bottom:24px}.section-nav>a{padding:10px 11px;font-size:10px;min-height:40px;border-radius:9px}.nav-topic-icon{width:15px;height:15px}.tool-card,.tutorial-view{padding:20px 17px;border-radius:15px}.card-heading{padding-bottom:17px;margin-bottom:19px}.card-heading h2{font-size:18px}.overline{font-size:8px}.session-badge{font-size:8px;padding:3px 7px}.label-row{gap:8px}.label-row>label{font-size:11px}.secret-actions{gap:7px}.text-button{font-size:9px;padding:5px 7px}#secret{font-size:16px;padding:12px;min-height:46px}.field-help{font-size:9px}.settings-preview{font-size:9px}.advanced summary{font-size:10px;padding:11px}.settings{padding:13px 11px 0;gap:9px}.settings label{font-size:10px}.settings select,.settings input{font-size:12px;padding:8px 6px}.advanced>.field-help{font-size:9px;margin:8px 11px 12px}.result{padding:16px 15px 0;margin-top:21px}.result-header{font-size:9px}.code-status{font-size:9px;padding:3px 7px}.code-row{padding:12px;gap:9px;min-height:77px;margin:12px 0}.code-copy-button{gap:10px;max-width:calc(100% - 50px)}.code-value{font-size:30px;letter-spacing:2px}.code-value[data-digits="8"]{font-size:26px;letter-spacing:.5px}.copy-mark{width:25px;height:27px;padding:6px;border-radius:7px}.countdown{width:40px;height:40px;flex-basis:40px}.result-foot{font-size:9px}.tool-foot{font-size:9px;align-items:flex-start;line-height:1.8}.side-column{margin-top:20px}.ad-slot{min-height:85px;flex-wrap:wrap;gap:7px}.ad-slot p{font-size:9px}.ad-slot strong{font-size:11px}footer{margin:22px 16px 0;gap:12px;font-size:9px;align-items:center}.brand{font-size:18px}footer>a:last-child{font-size:9px}.tutorial-heading{gap:12px;padding-bottom:18px}.tutorial-heading-main{gap:10px;align-items:flex-start}.library-topic-icon{width:40px;height:44px;flex-basis:40px;margin-top:2px;border-radius:10px}.library-topic-icon svg{width:29px;height:29px}.tutorial-heading h2{font-size:18px}.tutorial-heading p{font-size:10px}.article-count{font-size:9px;padding:4px 8px}.tutorial-toolbar{margin:18px 0;gap:12px}.topic-list{gap:6px}.topic-chip{font-size:9px;padding:5px 8px}.tutorial-search{flex:1 0 100%;width:100%}.tutorial-search input{height:39px;font-size:16px}.tutorial-search>svg{top:12px}.tutorial-list{grid-template-columns:1fr;gap:12px}.tutorial-card{padding:16px;gap:12px}.tutorial-card-body{min-height:105px}.tutorial-card h3{font-size:13px}.tutorial-card p{font-size:11px}.card-topic{font-size:8px}.card-foot-note{font-size:9px}.read-article{font-size:10px}.tutorial-article h2{font-size:24px}.article-summary{font-size:13px}.tutorial-article p,.tutorial-article li{font-size:12px}.paste-status,.paste-help{font-size:10px}.paste-help>span{display:block;margin-top:4px}}
@media(max-width:390px){.header{padding-left:12px;padding-right:12px}.system-badge{font-size:8px;gap:5px}.system-badge .dot{width:5px;height:5px;flex-basis:5px}.header-actions{gap:5px}.hero-security{padding:7px}.privacy-trigger-label{font-size:8px}main{padding:0 12px}h1{font-size:25px}.hero-tag{font-size:7px}.hero-topic-icon{width:50px;height:54px;flex-basis:50px}.hero-topic-icon>svg{width:35px;height:35px}.section-nav{gap:6px}.section-nav>a{font-size:9px;padding:9px 9px;gap:5px}.tool-card{padding:19px 14px}.card-heading{gap:10px}.card-heading h2{font-size:17px}.session-badge{font-size:7px}.label-row>label{font-size:10px}.text-button{font-size:8px;padding:5px}.secret-actions{gap:6px}.result{padding-left:12px;padding-right:12px}.code-row{padding:10px;gap:7px}.code-value{font-size:27px;letter-spacing:1px}.code-value[data-digits="8"]{font-size:23px;letter-spacing:0}.code-copy-button{gap:8px}.copy-mark{width:23px;height:25px}.countdown{width:36px;height:36px;flex-basis:36px}.code-copy-button{max-width:calc(100% - 43px)}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* Main advertising placement beside the tool, stacked on small screens. */
.side-column{margin-top:24px;min-width:0}
.ad-card{padding:16px;background:var(--surface);border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow)}
.ad-label{display:flex;justify-content:space-between;color:var(--muted);font-size:10px;letter-spacing:1px;margin-bottom:14px}
.ad-slot{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:14px;min-height:250px;padding:20px 12px;text-align:center;background:var(--soft);border:1px dashed var(--accent-line);border-radius:10px}
.ad-slot strong{font-size:20px;line-height:1.45;font-weight:650;color:var(--ink)}
.ad-slot p{font-size:11px;color:var(--muted);margin:0}
.ad-size{display:inline-block;border:1px solid var(--accent-line);border-radius:5px;padding:4px 8px;font-size:10px;color:var(--accent-text)}
.ad-caption{display:block;text-align:center;padding-top:13px;font-size:10px;color:var(--muted);line-height:1.6}
.ad-shape{display:none}
@media(min-width:1000px){html[data-section=tool] main{max-width:1200px}.layout{display:grid;grid-template-columns:minmax(0,1fr) 334px;gap:24px;align-items:start}.side-column{margin-top:0}}
@media(max-width:999px){.side-column{max-width:420px;margin:24px auto 0}.ad-slot{min-height:250px}}

/* Keep website branding distinct from the current page heading. */
.site-brand{display:inline-flex;align-items:center;gap:10px;flex-shrink:0;color:var(--ink);font-size:23px;font-weight:750;letter-spacing:-.7px;line-height:1.2;white-space:nowrap}
.site-brand-logo{display:grid;place-items:center;width:38px;height:40px;flex:0 0 38px;border-radius:11px;background:#0bb889;color:#fff}
.site-brand-logo svg{width:28px;height:28px}
.site-brand:focus-visible{outline:2px solid var(--accent);outline-offset:5px;border-radius:8px}
@media(max-width:700px){.header{gap:12px}.site-brand{font-size:19px;gap:8px}.site-brand-logo{width:32px;height:35px;flex-basis:32px;border-radius:9px}.site-brand-logo svg{width:25px;height:25px}}
@media(max-width:390px){.header{gap:8px}.site-brand{font-size:17px;gap:6px}.site-brand-logo{width:28px;height:31px;flex-basis:28px;border-radius:8px}.site-brand-logo svg{width:23px;height:23px}}

/* Original ALL 2FA monogram: two linked strokes forming an A. */
.site-brand-logo{background:transparent;border-radius:0;width:40px;flex-basis:40px}
.site-brand-logo img{display:block;width:40px;height:40px}
.footer-brand{display:inline-flex;gap:7px;align-items:center}
.footer-brand>img{display:block;flex:0 0 30px}
@media(max-width:700px){.site-brand-logo{width:34px;flex-basis:34px}.site-brand-logo img{width:34px;height:34px}.section-nav{flex-wrap:wrap;gap:8px}.section-nav>a{padding:10px 11px;font-size:10px;gap:6px}}
@media(max-width:390px){.site-brand-logo{width:30px;flex-basis:30px}.site-brand-logo img{width:30px;height:30px}.section-nav{gap:6px}.section-nav>a{padding:9px 8px;font-size:9px;gap:4px}}

/* Help and the separate footer advertisement. */
.faq-section {
  margin: 28px 0 20px;
  padding: 22px 26px 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}
.faq-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.faq-icon {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--accent-text);
}
.faq-icon svg { width: 19px; height: 19px; }
.faq-heading h2 { margin: 0; font-size: 20px; font-weight: 650; }
.faq-heading p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.faqs details {
  border-top: 1px solid var(--line);
}
.faqs summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 11px 3px 11px 0;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 550;
  list-style: none;
}
.faqs summary::-webkit-details-marker { display: none; }
.faqs summary:focus-visible { outline-width: 2px; outline-offset: 2px; }
.faqs summary:hover, .faqs details[open] summary { color: var(--accent-text); }
.faq-toggle {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  margin: -4px 4px 0 0;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  color: var(--muted);
  transform: rotate(45deg);
}
.faqs details[open] .faq-toggle {
  margin-top: 4px;
  color: var(--accent-text);
  transform: rotate(225deg);
}
.faqs p {
  max-width: 86ch;
  margin: 0;
  padding: 0 24px 14px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}
.wide-ad {
  display: grid;
  place-items: center;
  min-height: 90px;
  margin: 20px 0 24px;
  padding: 12px 16px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: var(--field);
}
.wide-ad-placeholder {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 10px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}
.wide-ad-label, .wide-ad-size {
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface);
  white-space: nowrap;
}
.wide-ad-label { font-size: 9px; font-weight: 700; letter-spacing: .08em; }
.wide-ad-size { font-size: 11px; font-variant-numeric: tabular-nums; }
.wide-ad iframe { width: 100%; height: 90px; border: 0; }
.wide-ad img { display: block; max-width: 100%; max-height: 90px; }

@media (max-width: 700px) {
  .faq-section { margin-top: 24px; padding: 17px 16px 9px; }
  .faq-heading { margin-bottom: 14px; }
  .faq-heading h2 { font-size: 18px; }
  .faq-heading p { font-size: 11px; }
}

/* Isometric cubes sit behind the page and ignore pointer hit tests. */
body { isolation: isolate; min-height: 100vh; }
.cubes-background {
  position: fixed;
  inset: 0;
  z-index: -1;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Keep a quiet grid visible when the graphics context is unavailable. */
.cubes-background {
  --cube-seam: color-mix(in srgb, var(--accent) 13%, transparent);
  --cube-spacing: 74px;
  background-image:
    repeating-linear-gradient(30deg, transparent 0 var(--cube-spacing), var(--cube-seam) var(--cube-spacing) calc(var(--cube-spacing) + 1px)),
    repeating-linear-gradient(150deg, transparent 0 var(--cube-spacing), var(--cube-seam) var(--cube-spacing) calc(var(--cube-spacing) + 1px));
}
.cubes-background canvas {
  display: block;
  width: 100%;
  height: 100%;
  visibility: hidden;
}
.cubes-background[data-renderer] canvas { visibility: visible; }
@media (max-width: 700px) {
  .cubes-background { --cube-spacing: 48px; }
}
