:root{--paper:#f4f0e7;--card:#fffdf8;--ink:#151b19;--muted:#676c62;--line:#dcded0;--amber:#edb73b;--danger:#a43628;--radius:20px;color:var(--ink);background:var(--paper);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-synthesis:none}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;min-width:280px;-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{color:inherit;cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}a{color:inherit}svg{display:block;flex-shrink:0}h1,h2,h3,p{margin:0}[hidden]{display:none!important}:focus-visible{outline:3px solid #80570d;outline-offset:4px}.skip-link{position:fixed;top:-100px;left:12px;z-index:100;padding:13px 20px;color:white;background:var(--ink);border-radius:8px}.skip-link:focus{top:10px}.site-header,main,.site-footer{width:min(1220px,calc(100% - 80px));margin-inline:auto}.site-header{height:94px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.brand{text-decoration:none;font-size:27px;font-weight:800;letter-spacing:-1.3px}.brand span{font-weight:450}.back-link{font-size:12px;font-weight:600;display:flex;align-items:center;gap:8px;text-decoration:none}.back-link svg{width:20px;height:20px;stroke:currentColor;stroke-width:1.6;fill:none}.back-link:hover{color:#936500}
.intro{position:relative;isolation:isolate;padding:49px 0 43px}.eyebrow{font-size:9px;letter-spacing:1.8px;font-weight:700;display:flex;align-items:center;gap:9px}.hex-mark{width:13px;height:15px;display:block;background:var(--amber);clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%)}h1{font-size:clamp(45px,5.2vw,65px);font-weight:730;line-height:1.05;letter-spacing:-3.4px;margin-top:18px}.title-dot{color:#ad7c15}.hero-line{font-size:clamp(26px,3.2vw,39px);letter-spacing:-1.65px;line-height:1.2;font-weight:500;margin-top:6px}.hero-line>span{position:relative;z-index:0}.hero-line>span:after{content:"";position:absolute;left:-2px;right:-5px;height:10px;bottom:3px;z-index:-1;background:var(--amber)}.intro-description{font-size:14px;line-height:1.7;color:var(--muted);margin-top:19px}.intro-notes{display:flex;gap:20px;flex-wrap:wrap;font-size:10px;font-weight:600;margin-top:22px}.intro-notes>span{display:flex;align-items:center;gap:6px}.intro-notes svg{width:14px;height:14px;fill:none;stroke:#856118;stroke-width:2}.intro-art{position:absolute;right:60px;top:43px;width:184px;text-align:center;transform:rotate(8deg);pointer-events:none}.intro-art svg{width:100%;height:auto;fill:none;stroke:var(--ink);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.intro-art .art-hex{fill:var(--amber);stroke-width:1.3}.intro-art>span{display:block;font:7px ui-monospace,SFMono-Regular,monospace;letter-spacing:1.5px;transform:rotate(-8deg);margin-top:8px;color:var(--muted)}
.workspace{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);column-gap:30px;align-items:start}.editor{grid-column:1;grid-row:1;min-width:0}.preview-column{grid-column:2;grid-row:1;position:sticky;top:24px;min-width:0}.panel{border:1px solid var(--line);border-radius:var(--radius);background:var(--card);padding:27px}.panel+.panel{margin-top:19px}.section-heading{display:flex;align-items:center;gap:12px;margin-bottom:23px}.step-number{font:600 10px ui-monospace,SFMono-Regular,monospace;border:1px solid var(--line);border-radius:50%;height:33px;width:33px;display:grid;place-items:center;flex-shrink:0}.section-heading h2{font-size:18px;letter-spacing:-.4px;line-height:1.3}.section-heading p{font-size:11px;color:var(--muted);line-height:1.5;margin-top:5px}.mode-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.mode-option{display:flex;align-items:center;gap:10px;text-align:left;background:transparent;border:1px solid var(--line);border-radius:11px;padding:14px 11px;min-height:79px;transition:border-color .15s,background .15s}.mode-option:hover{border-color:#999f8e;background:#f2f0e7}.mode-option.is-selected,.mode-option[aria-pressed=true]{background:var(--ink);color:#fff;border-color:var(--ink)}.mode-icon{display:grid;place-items:center;width:27px;height:27px;flex-shrink:0}.mode-icon svg{height:24px;width:24px;stroke:currentColor;fill:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.mode-option strong{display:block;font-weight:650;font-size:11px;line-height:1.4}.mode-option small{display:block;font-size:9px;line-height:1.5;color:#747b6e;margin-top:4px}.mode-option.is-selected small,.mode-option[aria-pressed=true] small{color:#c2cabc}.title-field{margin-top:23px}.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 14px}.field{min-width:0}.field-full{grid-column:1/-1}label{display:block;font-size:11px;font-weight:650;line-height:1.5;margin-bottom:7px}input:not([type=checkbox]),select,textarea{width:100%;max-width:100%;display:block;font-size:13px;line-height:1.45;min-height:43px;padding:11px 12px;color:var(--ink);background:#fff;border:1px solid #cdd0c1;border-radius:8px;transition:border-color .15s,box-shadow .15s}input:hover,select:hover,textarea:hover{border-color:#949c88}input:focus,select:focus,textarea:focus{border-color:#7d836b;box-shadow:0 0 0 2px #e8dec5}input::placeholder,textarea::placeholder{color:#94998b}input[aria-invalid=true],select[aria-invalid=true],textarea[aria-invalid=true]{border-color:var(--danger)}textarea{resize:vertical}input[type=date],input[type=time]{min-width:0;min-height:45px}select{text-overflow:ellipsis;padding-right:24px}.field-help{font-size:10px;line-height:1.65;color:var(--muted);margin-top:7px}.field-help code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:10px;color:#4d5644;background:#eeeee4;border-radius:3px;padding:1px 3px}.mode-settings{border-top:1px solid var(--line);padding-top:21px;margin-top:22px}.repeat-fields{margin-top:17px}.ticker-settings{margin-top:18px}.formula-input{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:13px!important}.input-suffix{position:relative}.input-suffix input{padding-right:80px!important}.input-suffix>span{font-size:10px;color:var(--muted);position:absolute;right:13px;top:15px;pointer-events:none}.formula-examples{margin-top:21px;font-size:11px;border:1px solid var(--line);border-radius:9px;padding:13px 14px}.formula-examples summary{cursor:pointer;font-weight:650;list-style-position:inside;line-height:1.5}.formula-examples ul{list-style:none;padding:0;margin:16px 0 10px;display:grid;gap:12px}.formula-examples li{display:flex;flex-direction:column;gap:4px}.formula-examples code{font:11px ui-monospace,SFMono-Regular,Consolas,monospace}.formula-examples li>span,.formula-examples>p{font-size:10px;color:var(--muted);line-height:1.65}.display-toggles{border-top:1px solid var(--line);padding-top:20px;margin-top:22px;display:grid;grid-template-columns:1fr;gap:15px}.check-label{display:flex;align-items:center;gap:10px;font-weight:450;margin:0;cursor:pointer;min-height:21px;line-height:1.5}.check-label input{appearance:auto;margin:0;width:17px;height:17px;accent-color:var(--ink);flex-shrink:0}.reset-row{display:flex;gap:15px;justify-content:space-between;align-items:baseline;font-size:10px;color:var(--muted);margin:18px 2px 0;line-height:1.6}.text-button{font-size:11px;line-height:1.5;font-weight:650;background:none;border:0;padding:3px 0;text-decoration:underline;text-underline-offset:4px;white-space:nowrap}.text-button:hover{color:#956605}.notice{padding:14px 16px;border:1px solid;border-radius:10px;font-size:12px;line-height:1.65;margin-bottom:20px;overflow-wrap:anywhere}.notice-error{color:#8b3023;border-color:#e7b2a8;background:#fff1ec}.notice-warning{color:#725512;border-color:#dcc274;background:#fff7da}.time-warning{margin:18px 0 0}.form-error ul{margin:8px 0 0;padding-left:18px}.viewer-error h2{font-size:20px;letter-spacing:-.4px;margin-bottom:10px}.viewer-error .button{display:inline-flex;margin-top:15px}
.preview-label{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:1px 2px 12px;min-height:16px}.preview-label>span{display:flex;align-items:center;gap:7px;font:9px ui-monospace,SFMono-Regular,monospace;letter-spacing:1.1px;color:var(--muted)}.preview-label i{width:5px;height:5px;border-radius:50%;background:#9b7a29}.preview-label>a{font-size:11px;font-weight:600;text-decoration:underline;text-underline-offset:3px}.preview-card{--counter-bg:#edb73b;--counter-ink:#252615;--counter-muted:#665122;--tile-bg:#fff9df40;--tile-border:#9273243a;position:relative;isolation:isolate;overflow:hidden;background:var(--counter-bg);color:var(--counter-ink);border:1px solid #b99c4733;border-radius:var(--radius);padding:46px 26px 25px;min-height:357px;display:flex;flex-direction:column;justify-content:center;text-align:center;box-shadow:0 12px 30px #6d562208}.theme-honey,[data-theme=honey]{--counter-bg:#edb73b;--counter-ink:#252615;--counter-muted:#665122;--tile-bg:#fff9df40;--tile-border:#9273243a}.theme-night,[data-theme=night]{--counter-bg:#171f1a;--counter-ink:#f1c860;--counter-muted:#adb79e;--tile-bg:#ffffff08;--tile-border:#88976f40;border-color:#2c372b}.theme-paper,[data-theme=paper]{--counter-bg:#fffdf8;--counter-ink:#252c23;--counter-muted:#6c7463;--tile-bg:#e7e9de70;--tile-border:#bdc5ae80;border-color:#daddcf}.preview-honeycomb{position:absolute;inset:0;z-index:-1;opacity:.22;pointer-events:none;overflow:hidden}.preview-honeycomb span{position:absolute;width:150px;height:173px;background:currentColor;clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%)}.preview-honeycomb span:after{content:"";position:absolute;inset:1px;background:var(--counter-bg);clip-path:inherit}.preview-honeycomb span:nth-child(1){left:-83px;top:-54px}.preview-honeycomb span:nth-child(2){right:-57px;bottom:-80px;width:202px;height:234px}.preview-honeycomb span:nth-child(3){right:24px;bottom:-166px;width:202px;height:234px}.counter-display{width:100%;margin-block:auto;min-width:0}.preview-state{font:9px ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:1.3px;color:var(--counter-muted);line-height:1.5;text-transform:uppercase;min-height:14px}.preview-card h2{font-size:25px;letter-spacing:-.9px;font-weight:650;line-height:1.25;margin:11px 0 27px;overflow-wrap:anywhere}.digits{display:grid;grid-template-columns:repeat(auto-fit,minmax(72px,1fr));gap:8px;width:100%;min-width:0;align-items:stretch;margin:0 auto}.digit,.time-unit{container-type:inline-size;min-width:0;display:flex;flex-direction:column;justify-content:center;gap:7px;background:var(--tile-bg);border:1px solid var(--tile-border);border-radius:12px;padding:16px 7px 13px;font-variant-numeric:tabular-nums;font-feature-settings:"tnum"}.digit-value,.time-value{display:block;font-size:min(46px,calc(140cqw / var(--number-length,3)));font-weight:650;line-height:1.08;letter-spacing:-.065em;white-space:nowrap}.digit-label,.time-label{display:block;font-size:9px;line-height:1.5;font-weight:500;color:var(--counter-muted);letter-spacing:.1px}.font-mono .digit-value,.font-mono .clock-value,.font-mono .ticker-value,[data-font=mono] .digit-value,[data-font=mono] .clock-value,[data-font=mono] .ticker-value{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-weight:500;letter-spacing:-.07em}.font-sans .digit-value,[data-font=sans] .digit-value{font-family:inherit}.layout-stacked .digits,[data-layout=stacked] .digits{grid-template-columns:repeat(2,minmax(0,1fr));max-width:330px;gap:10px}.layout-stacked .digit,[data-layout=stacked] .digit{padding-block:18px}.layout-stacked .digit-value,[data-layout=stacked] .digit-value{font-size:min(53px,calc(140cqw / var(--number-length,3)))}.digits:has(.clock-value),.digits:has(.ticker-value){grid-template-columns:minmax(0,1fr);display:block}.clock-value,.ticker-value{font-size:clamp(32px,4.4vw,61px);line-height:1.15;font-weight:600;font-variant-numeric:tabular-nums;font-feature-settings:"tnum";letter-spacing:-.06em;overflow-wrap:anywhere;word-break:break-word}.clock-period,.clock-suffix{font-size:.29em;letter-spacing:0;margin-left:7px;font-weight:500;white-space:nowrap}.ticker-value{font-size:clamp(30px,4vw,56px)}.counter-date{margin-top:22px;color:var(--counter-muted);font-size:10px;line-height:1.6;min-height:29px}.counter-date #date-caption{font-size:9px;line-height:1.5;opacity:.83}.counter-date #preview-date{margin-top:3px}.preview-brand{display:flex;align-items:center;justify-content:center;gap:5px;font-size:9px;color:var(--counter-muted);margin-top:31px}.tiny-hex{width:8px;height:9px;background:currentColor;clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%)}.preview-error{font-size:11px;line-height:1.6;background:#fff1e9;color:#8b3023;border:1px solid #e7b2a8;border-radius:8px;padding:10px 12px;margin-top:17px;overflow-wrap:anywhere}.preview-controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.85fr) 43px 43px;gap:8px;margin-top:14px}.button,.icon-button{display:flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:9px;font-weight:650;font-size:11px;min-height:44px;gap:7px;padding:12px 13px;line-height:1.4;text-decoration:none;transition:background .15s,border-color .15s}.button svg,.icon-button svg{height:17px;width:17px;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.button-dark{background:var(--ink);color:#fff}.button-dark:hover:not(:disabled){background:#343e2e}.button-outline,.icon-button{background:transparent;color:var(--ink);border-color:#b9c0ac}.button-outline:hover:not(:disabled),.icon-button:hover:not(:disabled){background:#e9e9dd;border-color:#7a8769}.icon-button{padding:10px;min-width:0}.save-status{font-size:11px;color:#596345;line-height:1.6;margin-top:10px;min-height:0}.save-status:empty{display:none}.preview-note{display:flex;gap:9px;align-items:flex-start;font-size:10px;line-height:1.7;color:var(--muted);padding:17px 3px 0}.preview-note svg{height:17px;width:17px;fill:none;stroke:#707b62;stroke-width:1.5;margin-top:1px}.new-counter-link{font-size:12px;font-weight:600;margin:20px auto 0;text-decoration:underline;text-underline-offset:3px}.viewer-only{display:none}
.saved-section{margin-top:64px;border-top:1px solid var(--line);padding-top:35px}.saved-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:24px}.saved-heading .eyebrow{color:#7b815f;font-size:8px;letter-spacing:1.3px;margin-bottom:10px}.saved-heading h2{font-size:26px;font-weight:650;letter-spacing:-1px;line-height:1.3}.saved-heading>p{font-size:11px;color:var(--muted);line-height:1.6;padding-bottom:2px}.saved-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.saved-list:empty{display:none}.saved-card,.saved-item{background:var(--card);border:1px solid var(--line);border-radius:12px;min-width:0;padding:19px;position:relative}.saved-card h3,.saved-item h3{font-size:15px;line-height:1.4;font-weight:650;letter-spacing:-.25px;overflow-wrap:anywhere;margin:5px 0 8px}.saved-card p,.saved-item p{font-size:10px;color:var(--muted);line-height:1.7;overflow-wrap:anywhere}.saved-card button,.saved-item button{font-size:11px;background:transparent;border:1px solid #c5cbb8;border-radius:7px;padding:8px 11px;line-height:1.4;margin-top:15px}.saved-card button:hover,.saved-item button:hover{background:#eeeee4}.saved-card button[data-delete],.saved-item button[data-delete]{border-color:transparent;color:#6c735f;margin-left:5px}.saved-card button[data-delete]:hover,.saved-item button[data-delete]:hover{color:var(--danger);background:#fff0e9}.saved-card small,.saved-item small,.saved-mode{font-size:8px;font-weight:650;letter-spacing:1px;text-transform:uppercase;color:#7b815f}.saved-empty{display:flex;align-items:center;justify-content:center;gap:17px;padding:35px 22px;border:1px dashed #c5ccba;border-radius:14px;background:#fffdf838;text-align:left}.saved-empty-icon{height:45px;width:45px;border-radius:50%;background:#e8e9dd;display:grid;place-items:center;flex-shrink:0}.saved-empty-icon svg{height:21px;width:21px;fill:none;stroke:#737d65;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.saved-empty h3{font-size:13px;font-weight:600;line-height:1.4;margin-bottom:5px}.saved-empty p{font-size:11px;line-height:1.6;color:var(--muted)}.local-note{font-size:10px;line-height:1.7;color:var(--muted);margin-top:16px;max-width:850px}.about-tool{display:grid;grid-template-columns:1fr 1.35fr;gap:60px;border-top:1px solid var(--line);padding:40px 0;margin-top:43px}.about-tool h2{font-size:26px;font-weight:620;letter-spacing:-1px;line-height:1.25}.about-tool p{font-size:12px;line-height:1.75;color:var(--muted)}.about-tool p+p{margin-top:10px}.site-footer{border-top:1px solid var(--line);padding:27px 0;display:flex;align-items:center;justify-content:space-between;gap:20px;color:var(--muted);font-size:10px;line-height:1.6}.site-footer>a{color:var(--ink);font-size:14px;font-weight:750;text-decoration:none}
dialog{width:min(460px,calc(100% - 36px));max-height:calc(100% - 36px);overflow:auto;background:var(--card);color:var(--ink);border:1px solid var(--line);border-radius:19px;padding:28px;box-shadow:0 25px 80px #0004}dialog::backdrop{background:#151b1988;backdrop-filter:blur(3px)}dialog h2{font-size:21px;letter-spacing:-.5px;font-weight:650;line-height:1.25}dialog>p{font-size:12px;line-height:1.75;color:var(--muted);margin-top:13px}.dialog-actions{display:flex;align-items:stretch;justify-content:flex-end;gap:10px;margin-top:23px}.dialog-actions .button{padding-inline:16px}.share-dialog{width:min(560px,calc(100% - 36px))}.share-dialog>label{margin-top:20px}.share-dialog textarea{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:11px;min-height:109px;line-height:1.65;overflow-wrap:anywhere}.copy-status{font-size:11px;color:#596345;min-height:0}.copy-status:empty{display:none}
body.viewer .intro,body.viewer .site-footer,body.viewer .editor,body.viewer .saved-section,body.viewer .about-tool,body.viewer .intro-description,body.viewer .intro-notes,body.viewer .intro-art{display:none}body.viewer .viewer-only{display:inline-flex}body.viewer .workspace{grid-template-columns:minmax(0,1fr);max-width:900px;margin:32px auto}body.viewer .preview-column{grid-column:1;grid-row:1;position:static}body.viewer .intro{max-width:900px;margin-inline:auto;padding-bottom:32px}body.viewer h1{font-size:38px;letter-spacing:-1.8px}body.viewer .hero-line{font-size:25px;letter-spacing:-.8px}body.viewer .preview-card{min-height:400px;padding:50px 45px 27px}body.viewer .preview-card h2{font-size:34px}body.viewer .digits{max-width:700px;gap:13px}body.viewer .digit-value{font-size:min(84px,calc(135cqw / var(--number-length,3)))}body.viewer .digit{padding-block:22px}body.viewer .digit-label{font-size:12px}body.viewer .preview-controls{max-width:450px;margin:19px auto 0}body.viewer .preview-note,body.viewer .save-status{max-width:600px;margin-inline:auto;text-align:center}body.viewer .site-footer{margin-top:44px}body.viewer .new-counter-link{display:flex;justify-content:center}
body.embed{background:transparent;min-width:0}body.embed .site-header,body.embed .site-footer,body.embed .intro,body.embed .preview-label,body.embed .preview-controls,body.embed .preview-note,body.embed .save-status,body.embed .new-counter-link,body.embed .editor,body.embed .saved-section,body.embed .about-tool,body.embed .skip-link{display:none}body.embed main{width:100%;margin:0}body.embed .workspace{display:block;max-width:none;margin:0}body.embed .preview-column{position:static}body.embed .preview-card{width:100%;min-height:100vh;border-radius:0;border:0;box-shadow:none;padding:26px 25px 20px}body.embed .preview-card h2{font-size:clamp(20px,4vw,34px)}body.embed .digits{max-width:900px}body.embed .preview-brand{margin-top:24px}body.embed .viewer-error{margin:16px}body.embed .counter-date{margin-top:18px}
#preview-card:fullscreen{border:0;border-radius:0;width:100vw;height:100vh;min-height:0;padding:7vh 7vw 4vh;display:flex;align-items:center;justify-content:center;overflow:auto}#preview-card:fullscreen .counter-display{max-width:1300px;width:100%;margin-block:auto}#preview-card:fullscreen h2{font-size:clamp(28px,5vw,64px);margin-bottom:5vh}#preview-card:fullscreen .preview-state{font-size:clamp(10px,1.3vw,17px)}#preview-card:fullscreen .digits{gap:2vw;max-width:1200px}#preview-card:fullscreen .digit{padding:4vh 1vw;border-radius:22px}#preview-card:fullscreen .digit-value{font-size:min(180px,calc(135cqw / var(--number-length,3)))}#preview-card:fullscreen .digit-label{font-size:clamp(12px,2vw,23px)}#preview-card:fullscreen .clock-value,#preview-card:fullscreen .ticker-value{font-size:clamp(38px,12vw,170px)}#preview-card:fullscreen .counter-date{font-size:clamp(11px,1.6vw,20px);margin-top:4vh}#preview-card:fullscreen .counter-date #date-caption{font-size:.8em}#preview-card:fullscreen .preview-brand{font-size:13px;margin-top:4vh}
@media(max-width:1100px){.site-header,main,.site-footer{width:calc(100% - 48px)}.workspace{gap:22px;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}.panel{padding:23px}.preview-card{padding:39px 20px 23px;min-height:335px}.preview-card h2{font-size:23px}.mode-option{padding:12px 9px;gap:7px}.mode-option strong{font-size:10px}.mode-option small{font-size:8px}.mode-icon{width:24px}.mode-icon svg{width:22px;height:22px}.digits{gap:6px;grid-template-columns:repeat(auto-fit,minmax(61px,1fr))}.digit{padding:15px 4px 12px;border-radius:10px}.digit-label{font-size:8px}.preview-controls{gap:7px;grid-template-columns:minmax(0,1fr) minmax(0,.9fr) 38px 38px}.preview-controls .button{padding-inline:7px;font-size:10px}.preview-controls svg{height:15px;width:15px}.intro-art{right:32px;width:161px;top:51px}.saved-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.site-header,main,.site-footer{width:calc(100% - 40px)}.site-header{height:78px}.brand{font-size:24px}.intro{padding-top:33px;padding-bottom:29px}h1{font-size:51px;letter-spacing:-2.6px}.hero-line{font-size:31px;letter-spacing:-1.2px}.intro-art{right:15px;width:128px;top:47px}.intro-description{max-width:75%;font-size:13px}.intro-notes{font-size:9px;gap:18px}.workspace{display:flex;flex-direction:column;gap:26px}.preview-column{position:static;width:100%;max-width:none}.editor{width:100%}.preview-card{min-height:290px;padding:29px 25px 20px}.preview-card h2{font-size:25px;margin-bottom:24px}.digits{max-width:480px;grid-template-columns:repeat(auto-fit,minmax(70px,1fr));gap:9px}.digit{padding:16px 6px 13px}.digit-value{font-size:min(54px,calc(140cqw / var(--number-length,3)))}.digit-label{font-size:10px}.preview-brand{margin-top:22px}.counter-date{margin-top:18px}.preview-controls{grid-template-columns:minmax(0,1fr) minmax(0,.9fr) 44px 44px;max-width:500px;margin-inline:auto;gap:9px}.preview-controls .button{font-size:11px}.preview-controls svg{height:17px;width:17px}.preview-note{max-width:500px;margin-inline:auto;padding-top:13px}.save-status{max-width:500px;margin-inline:auto}.mode-options{gap:10px}.mode-option{padding:17px 13px;gap:11px;min-height:81px}.mode-option strong{font-size:12px}.mode-option small{font-size:10px}.mode-icon{width:29px}.mode-icon svg{width:26px;height:26px}.panel{padding:25px}.clock-value{font-size:clamp(40px,9vw,65px)}.ticker-value{font-size:clamp(34px,8vw,59px)}.saved-section{margin-top:43px;padding-top:29px}.saved-heading{align-items:flex-start;flex-direction:column;gap:10px;margin-bottom:20px}.saved-heading h2{font-size:25px}.about-tool{grid-template-columns:1fr;gap:19px;margin-top:34px;padding:31px 0}.about-tool h2{font-size:24px}.about-tool p{font-size:12px}body.viewer .preview-card{padding:37px 25px 23px;min-height:340px}body.viewer .preview-card h2{font-size:29px}body.viewer .digit-value{font-size:min(70px,calc(135cqw / var(--number-length,3)))}body.viewer .digit-label{font-size:10px}body.embed .preview-card{min-height:100vh}}
@media(max-width:480px){.site-header,main,.site-footer{width:calc(100% - 32px)}.back-link{font-size:10px;gap:4px}.back-link svg{width:17px}.intro{padding-top:29px}.intro-art{display:none}.eyebrow{font-size:8px;letter-spacing:1.4px}h1{font-size:44px;letter-spacing:-2.2px;margin-top:17px}.hero-line{font-size:27px;letter-spacing:-1.1px}.hero-line>span:after{height:8px}.intro-description{font-size:12px;max-width:none;margin-top:16px}.desktop-break{display:none}.intro-notes{font-size:9px;gap:8px 17px;margin-top:17px}.intro-notes svg{width:12px;height:12px}.preview-label{margin-bottom:10px}.preview-label>span{font-size:8px}.preview-label>a{font-size:10px}.preview-card{padding:26px 21px 19px;border-radius:17px;min-height:0}.preview-card h2{font-size:23px;margin:9px 0 21px}.preview-state{font-size:8px;letter-spacing:1px}.digits{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;max-width:330px}.digits:has(.digit:only-child){grid-template-columns:minmax(0,1fr)}.digit{padding:17px 8px 13px}.digit-value{font-size:min(49px,calc(140cqw / var(--number-length,3)))}.digit-label{font-size:9px}.counter-date{font-size:10px;margin-top:16px}.preview-brand{margin-top:21px}.preview-controls{grid-template-columns:minmax(0,1fr) minmax(0,.9fr) 38px 38px;gap:6px}.preview-controls .button{font-size:10px;gap:5px;padding-inline:5px}.preview-controls .button svg{width:14px;height:14px}.preview-controls .icon-button{padding:8px}.preview-note{font-size:9px;line-height:1.7}.workspace{gap:25px}.panel{padding:20px 17px;border-radius:16px}.section-heading{gap:10px;margin-bottom:20px}.section-heading h2{font-size:17px}.section-heading p{font-size:10px}.step-number{width:29px;height:29px;font-size:9px}.mode-options{gap:7px}.mode-option{flex-direction:column;gap:9px;align-items:flex-start;padding:12px 10px;min-height:108px}.mode-option strong{font-size:10px}.mode-option small{font-size:8px;line-height:1.5}.mode-icon{width:24px;height:24px}.mode-icon svg{height:23px;width:23px}.field-grid{gap:17px 11px}label{font-size:10px}input:not([type=checkbox]),select,textarea{font-size:12px;padding:11px 10px}.field-help{font-size:9px;line-height:1.7}.field-help code{font-size:9px}.check-label{font-size:11px}.reset-row{font-size:9px;gap:14px}.text-button{font-size:10px}.saved-list{grid-template-columns:minmax(0,1fr)}.saved-heading h2{font-size:23px}.saved-heading>p{font-size:10px}.saved-empty{padding:27px 17px;gap:13px;align-items:flex-start}.saved-empty h3{font-size:12px}.saved-empty p{font-size:10px}.saved-empty-icon{width:37px;height:37px}.local-note{font-size:9px;line-height:1.8}.about-tool h2{font-size:22px}.about-tool p{font-size:11px}.site-footer{font-size:9px;gap:20px;padding:22px 0}.site-footer span{max-width:170px;text-align:right}dialog{padding:23px}.dialog-actions{flex-direction:column-reverse}.dialog-actions .button{width:100%;min-height:44px}.share-dialog textarea{font-size:10px}body.viewer .intro{padding:27px 0 24px}body.viewer h1{font-size:33px}body.viewer .hero-line{font-size:23px}body.viewer .preview-card{padding:29px 21px 22px;min-height:0}body.viewer .preview-card h2{font-size:25px}body.viewer .digit-value{font-size:min(60px,calc(135cqw / var(--number-length,3)))}body.viewer .digit{padding-block:20px}body.embed .preview-card{min-height:100vh;padding:23px 18px 18px}body.embed .digits{grid-template-columns:repeat(2,minmax(0,1fr))}body.embed .digits:has(.digit:only-child){grid-template-columns:minmax(0,1fr)}#preview-card:fullscreen .digits{grid-template-columns:repeat(2,minmax(0,1fr));gap:3vw}#preview-card:fullscreen .digit{padding:3vh 1vw;border-radius:14px}#preview-card:fullscreen .digit-value{font-size:min(100px,calc(140cqw / var(--number-length,3)))}#preview-card:fullscreen h2{font-size:30px;margin-bottom:3vh}}
@media(max-width:350px){.field-grid{grid-template-columns:minmax(0,1fr)}.field-full{grid-column:auto}.preview-card{padding-inline:17px}.preview-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 35px 35px;gap:5px}.preview-controls .button{font-size:9px;gap:4px}.preview-controls .button svg{width:12px;height:12px}.preview-controls .icon-button{padding:7px}.preview-note{padding-inline:0}.intro-notes{font-size:8px;gap:8px 12px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}

#time-warning:empty{display:none}body.presentation{overflow:hidden}body.presentation .preview-column{position:fixed;inset:0;z-index:50;width:100%;max-width:none;background:var(--paper);padding:24px;overflow:auto;display:flex;flex-direction:column;align-items:center;gap:16px}body.presentation .preview-label,body.presentation .preview-note,body.presentation .save-status,body.presentation .new-counter-link{display:none}body.presentation .preview-card{width:min(1200px,100%);min-height:calc(100dvh - 120px);padding:6vh 5vw 4vh}body.presentation .preview-card h2{font-size:clamp(26px,5vw,54px)}body.presentation .digits{max-width:950px}body.presentation .digit-value{font-size:min(110px,calc(140cqw / var(--number-length,3)))}body.presentation .preview-controls{display:block;margin:0;width:auto}body.presentation #share,body.presentation #save,body.presentation #embed{display:none}body.presentation #fullscreen{width:auto;min-width:220px;padding:12px 22px}body.presentation .clock-value,body.presentation .ticker-value{font-size:clamp(34px,9vw,120px)}

body.viewer .skip-link{display:none}
