@import"https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap";:root{--frozen-lake: #69ddff;--sky-blue: #96cdff;--lavender: #d8e1ff;--pink-orchid: #dbbadd;--old-rose: #be92a2;--bg: #d8e1ff;--card-bg: #ffffff;--card-border: #be92a2;--card-shadow: #dbbadd;--card-shadow2: #9e7282;--digit-color: #5c2d5e;--digit-glow: #dbbadd99;--label-color: #9a6878;--ts-color: #be92a2;--btn-refresh-fg: #1a7d9a;--btn-refresh-bg: #e0f8ff;--btn-theme-fg: #7a3d65;--btn-theme-bg: #f5eaf5;--btn-cta-fg: #c01655;--btn-cta-bg: #fff0e8;--btn-cta-glow: #ff5a8a;--divider: #96cdff;--title-color: #5c2d5e;--title-shadow: #dbbadd;--error-color: #b03050}[data-theme=dark]{--bg: #111111;--card-bg: #1a1c2e;--card-border: #96cdff;--card-shadow: #69ddff;--card-shadow2: #96cdff;--digit-color: #d8e1ff;--digit-glow: #69ddff55;--label-color: #96cdff;--ts-color: #dbbadd;--btn-refresh-fg: #69ddff;--btn-refresh-bg: #092030;--btn-theme-fg: #dbbadd;--btn-theme-bg: #1e1228;--btn-cta-fg: #ffe14a;--btn-cta-bg: #2a2208;--btn-cta-glow: #ffe14a;--divider: #96cdff44;--title-color: #d8e1ff;--title-shadow: #69ddff22;--error-color: #ff6b7a}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html,body,#root{height:100%}body{font-family:"Press Start 2P",monospace;background-color:var(--bg);min-height:100%}.app{height:100vh;height:100dvh;min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;overflow:hidden;padding:clamp(.4rem,1.5vh,1rem) .75rem}.header{text-align:center;margin-bottom:clamp(.5rem,1.8vh,1.25rem);position:relative;z-index:10;max-width:100%;flex-shrink:0}.header-icons{display:flex;gap:.6rem;justify-content:center;align-items:flex-end;margin-bottom:clamp(.35rem,1.3vh,1rem);direction:ltr}.header-baby{width:clamp(40px,8.5vh,64px);height:clamp(40px,8.5vh,64px);image-rendering:pixelated}.counter-diaper{width:clamp(36px,7vh,56px);height:clamp(36px,7vh,56px);image-rendering:pixelated;margin-top:-.25rem}@media(min-width:480px)and (min-height:720px){.app{padding:2rem 1rem}.header{margin-bottom:2rem}.header-icons{gap:1rem;margin-bottom:1.5rem}.header-baby{width:90px;height:90px}.counter-diaper{width:72px;height:72px}}@keyframes gentle-bounce{0%,to{transform:translateY(0)}50%{transform:translateY(-8px)}}.bounce-a{animation:gentle-bounce 2.2s ease-in-out infinite}.bounce-b{animation:gentle-bounce 2.2s ease-in-out infinite;animation-delay:.4s}.header-title{font-size:clamp(.75rem,2.2vh,1.05rem);letter-spacing:.15em;color:var(--title-color);text-shadow:2px 2px 0 var(--title-shadow)}@media(min-width:480px)and (min-height:720px){.header-title{font-size:1.6rem;letter-spacing:.2em}}.card{position:relative;z-index:10;background:var(--card-bg);border:4px solid var(--card-border);box-shadow:6px 6px 0 0 var(--card-shadow),9px 9px 0 0 var(--card-shadow2);padding:clamp(.75rem,2vh,1.5rem) 1.1rem;width:100%;max-width:440px;display:flex;flex-direction:column;align-items:center;gap:clamp(.4rem,1.2vh,1.1rem);overflow:hidden;flex-shrink:1;min-height:0}@media(min-width:480px)and (min-height:720px){.card{padding:2.5rem 2rem;gap:1.5rem;box-shadow:8px 8px 0 0 var(--card-shadow),12px 12px 0 0 var(--card-shadow2)}}.card:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:repeating-linear-gradient(to bottom,transparent 0px,transparent 3px,rgba(0,0,0,.04) 3px,rgba(0,0,0,.04) 4px);pointer-events:none;z-index:0}.card>*{position:relative;z-index:1}.number-wrap{display:grid;align-items:center;justify-items:center}.number-wrap>*{grid-area:1 / 1}.number-ghost{visibility:hidden;pointer-events:none;-webkit-user-select:none;user-select:none;font-family:"Press Start 2P",monospace;font-size:clamp(2.25rem,min(18vw,11vh),9rem)}.number-display{font-family:"Press Start 2P",monospace!important;font-size:clamp(2.25rem,min(18vw,11vh),9rem);color:var(--digit-color);filter:drop-shadow(0 0 10px var(--digit-glow));--number-flow-char-height: .85em;--number-flow-mask-height: .25em}.status-error{font-family:"Press Start 2P",monospace;font-size:.6rem;color:var(--error-color);text-align:center;max-width:220px;line-height:2;padding:1rem;white-space:pre-line}.counter-label{font-size:clamp(.7rem,2vh,.95rem);letter-spacing:.12em;color:var(--label-color);text-align:center;margin-top:-.25rem;line-height:1.5}.counter-ts{font-size:clamp(.65rem,1.7vh,.9rem);color:var(--ts-color);opacity:.85;text-align:center;margin-top:-.15rem;line-height:1.6;word-break:break-word}.counter-stats{width:100%;display:flex;flex-direction:column;gap:clamp(.25rem,.8vh,.45rem);margin-top:-.1rem}.counter-stats-row{font-family:"Press Start 2P",monospace;font-size:clamp(.65rem,1.7vh,.9rem);color:var(--ts-color);opacity:.9;text-align:center;letter-spacing:.06em;line-height:1.55}@media(min-width:480px)and (min-height:720px){.counter-label{font-size:1.4rem;letter-spacing:.15em;margin-top:-.75rem}.counter-ts{font-size:1.1rem;margin-top:-.5rem}.counter-stats{gap:.5rem;margin-top:-.25rem}.counter-stats-row{font-size:1.1rem}}.divider{width:100%;height:3px;background:var(--divider);flex-shrink:0}.controls{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap;justify-content:center;width:100%}@media(min-width:480px)and (min-height:720px){.controls{gap:1rem}}.pixel-btn{font-family:"Press Start 2P",monospace;font-size:clamp(.55rem,1.5vh,.7rem);padding:clamp(.45rem,1.3vh,.75rem) clamp(.7rem,2vw,1.25rem);border:4px solid currentColor;box-shadow:4px 4px 0 0 currentColor;background:transparent;cursor:pointer;transition:box-shadow .08s,transform .08s;letter-spacing:.05em;display:inline-flex;align-items:center;justify-content:center;gap:.5em;min-height:38px}.pixel-btn:active{box-shadow:0 0 0 0 currentColor;transform:translate(4px,4px)}.pixel-btn.refresh{color:var(--btn-refresh-fg);background-color:var(--btn-refresh-bg)}.pixel-btn.theme-toggle{color:var(--btn-theme-fg);background-color:var(--btn-theme-bg)}@media(min-width:480px)and (min-height:720px){.pixel-btn{font-size:.7rem;padding:.75rem 1.25rem}}.pixel-btn.login-cta{color:var(--btn-cta-fg);background-color:var(--btn-cta-bg);font-size:clamp(.7rem,1.9vh,.8rem);padding:clamp(.6rem,1.6vh,.95rem) 1.25rem;letter-spacing:.12em;width:100%;max-width:320px;animation:cta-pulse 2.2s ease-in-out infinite;position:relative}.pixel-btn.login-cta:hover,.pixel-btn.login-cta:focus-visible{animation-play-state:paused;outline:none}@keyframes cta-pulse{0%,to{box-shadow:4px 4px 0 0 currentColor;transform:translate(0)}50%{box-shadow:4px 4px 0 0 currentColor,0 0 18px var(--btn-cta-glow);transform:translateY(-2px)}}@media(min-width:480px)and (min-height:720px){.pixel-btn.login-cta{font-size:.95rem;padding:1.05rem 1.75rem;letter-spacing:.15em}}@media(prefers-reduced-motion:reduce){.pixel-btn.login-cta{animation:none}}.lang-switcher{display:flex;gap:.4rem;flex-wrap:wrap;justify-content:center}.lang-btn{font-size:.5rem;padding:.35rem .55rem;color:var(--label-color);background-color:transparent;opacity:.55;min-height:0}.lang-btn--active{opacity:1;color:var(--digit-color);background-color:var(--divider)}[dir=rtl] .header-title{letter-spacing:0}.login-form{display:flex;flex-direction:column;align-items:stretch;gap:1rem;width:100%;max-width:280px}.login-form .counter-label{margin-top:0}.login-form .pixel-btn{font-size:.85rem;padding:.95rem 1rem;letter-spacing:.12em}.pixel-input{font-family:"Press Start 2P",monospace;font-size:clamp(.65rem,1.8vh,.75rem);padding:clamp(.55rem,1.5vh,.85rem) .75rem;background:var(--bg);color:var(--digit-color);border:4px solid var(--card-border);box-shadow:inset 2px 2px 0 0 var(--card-shadow);outline:none;letter-spacing:.15em;text-align:center;width:100%;min-height:42px}.pixel-input:focus{border-color:var(--digit-color)}@media(min-width:480px)and (min-height:720px){.pixel-input{font-size:.8rem;padding:.75rem .85rem}.login-form{gap:1.25rem}}.big-plus-wrap{position:relative;display:flex;justify-content:center;width:100%}.pixel-btn.big-plus{font-size:clamp(.85rem,2.2vh,1rem);padding:clamp(.7rem,1.8vh,1rem) 1.25rem;color:var(--btn-refresh-fg);background-color:var(--btn-refresh-bg);letter-spacing:.12em;width:100%;max-width:280px;min-height:0;flex-direction:column;gap:clamp(.3rem,.8vh,.5rem)}.pixel-btn.big-plus:disabled{opacity:.6;cursor:not-allowed}.big-plus-icon{width:clamp(32px,6.5vh,48px);height:clamp(32px,6.5vh,48px);image-rendering:pixelated;flex-shrink:0}@media(min-width:480px)and (min-height:720px){.pixel-btn.big-plus{font-size:1.4rem;padding:1.5rem 2.25rem;letter-spacing:.15em;min-width:240px;flex-direction:row;gap:.75rem}.big-plus-icon{width:56px;height:56px}}.control-diaper{width:140px;height:140px;image-rendering:pixelated}.control-link{margin-top:.5rem;background:transparent;border:none;cursor:pointer;font-size:.9rem;opacity:.35;padding:.4rem .6rem;color:var(--ts-color);transition:opacity .15s;line-height:1}.control-link:hover,.control-link:focus-visible{opacity:.9}.footer{position:relative;z-index:10;margin-top:2rem;display:flex;gap:.75rem;font-size:1.25rem}.plus-badge{position:absolute;top:50%;left:50%;font-family:"Press Start 2P",monospace;font-size:.75rem;color:var(--btn-refresh-fg);text-shadow:0 0 8px var(--btn-refresh-fg);pointer-events:none;z-index:20;white-space:nowrap}.splash{position:fixed;top:0;right:0;bottom:0;left:0;background:#000;display:flex;align-items:center;justify-content:center;z-index:1000;overflow:hidden;padding:.5rem}.splash-scanlines{position:absolute;top:0;right:0;bottom:0;left:0;background:repeating-linear-gradient(to bottom,transparent 0px,transparent 3px,rgba(0,0,0,.3) 3px,rgba(0,0,0,.3) 4px);pointer-events:none;z-index:2}.splash-rain{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden;pointer-events:none;z-index:1}@keyframes diaper-rain{0%{transform:translateY(-15vh)}to{transform:translateY(115vh)}}.splash-rain-drop{position:absolute;top:0;image-rendering:pixelated;animation-name:diaper-rain;animation-timing-function:linear;animation-iteration-count:infinite;will-change:transform}.splash-frame{position:relative;z-index:3;border:4px solid #69ddff;box-shadow:0 0 0 4px #000,0 0 0 8px #dbbadd,0 0 40px #69ddff66,inset 0 0 40px #69ddff11;padding:clamp(.75rem,2.5vh,1.5rem) clamp(.85rem,4vw,1.25rem);display:flex;flex-direction:column;align-items:center;gap:clamp(.5rem,1.6vh,1.25rem);text-align:center;width:min(480px,92vw);max-width:92vw;max-height:96dvh;overflow:hidden}@media(min-width:480px)and (min-height:720px){.splash-frame{padding:3rem 4rem;gap:2rem}}.splash-hi{font-family:"Press Start 2P",monospace;font-size:clamp(.5rem,1.5vh,.65rem);color:#69ddff;letter-spacing:.25em;display:flex;gap:1.5rem}.splash-hi-score{color:#fff}.splash-logo{display:flex;align-items:center;gap:clamp(.75rem,2vw,1.5rem)}.splash-title{font-family:"Press Start 2P",monospace;font-size:clamp(1.25rem,min(7vw,5.5vh),3rem);color:#fff;line-height:1.5;letter-spacing:.08em;text-shadow:0 0 10px #69ddff,0 0 30px #69ddff88,4px 4px 0 #dbbadd}.splash-icon{width:clamp(32px,6vh,56px);height:clamp(32px,6vh,56px);image-rendering:pixelated}.splash-icon-a{animation:gentle-bounce 1.1s ease-in-out infinite}.splash-icon-b{animation:gentle-bounce 1.1s ease-in-out infinite;animation-delay:.35s}.splash-tagline{font-family:"Press Start 2P",monospace;font-size:clamp(.5rem,1.5vh,.65rem);color:#dbbadd;letter-spacing:.1em;text-shadow:0 0 8px #dbbadd88}@keyframes blink{0%,49%{opacity:1}50%,to{opacity:0}}.splash-terminal{width:100%;background:#000;border:2px solid #333;padding:clamp(.4rem,1.2vh,.75rem) clamp(.55rem,2vw,1rem);text-align:left;direction:ltr;min-height:clamp(4rem,16vh,7rem);overflow:hidden}.splash-terminal-line{font-family:"Press Start 2P",monospace;font-size:clamp(.4rem,1.3vh,.5rem);color:#d0d0d0;line-height:1.9;letter-spacing:.05em;white-space:nowrap;overflow:hidden;text-overflow:clip}.splash-ok{color:#00ff41}.splash-fail{color:#f44}.splash-ts{color:#666}@keyframes cursor-blink{0%,49%{opacity:1}50%,to{opacity:0}}.splash-cursor{color:#d0d0d0;animation:cursor-blink .55s step-start infinite}.splash-progress{font-family:"Press Start 2P",monospace;font-size:clamp(.5rem,1.5vh,.65rem);letter-spacing:.05em;direction:ltr;display:flex;gap:.4rem;align-items:center;justify-content:center;white-space:pre}.splash-progress-bracket{color:#666}.splash-progress-fill{color:#00ff41;text-shadow:0 0 6px #00ff4188}.splash-progress-empty{color:#2a2a2a}.splash-progress-pct{color:#d0d0d0;min-width:3.2em;text-align:right}.splash-insert{font-family:"Press Start 2P",monospace;font-size:clamp(.6rem,1.8vh,.8rem);color:#fff200;letter-spacing:.15em;text-shadow:0 0 10px #fff200aa;animation:blink .85s step-start infinite}.splash-copy{font-family:"Press Start 2P",monospace;font-size:clamp(.38rem,1.1vh,.45rem);color:#444;letter-spacing:.1em}@keyframes bob{0%,to{transform:translateY(0)}50%{transform:translateY(-8px)}}.footer span{display:inline-block;animation:bob 2s ease-in-out infinite}.footer span:nth-child(1){animation-delay:0s}.footer span:nth-child(2){animation-delay:.3s}.footer span:nth-child(3){animation-delay:.6s}.footer span:nth-child(4){animation-delay:.9s}.footer span:nth-child(5){animation-delay:1.2s}
