html,body{margin:0;padding:0;height:100%;font-family:Arial,sans-serif}.calculator{width:100vw;height:100vh;background:#f0f0f0;display:flex;flex-direction:column;box-sizing:border-box;color:#000;overflow:hidden}.display{flex:0 0 auto;font-size:clamp(2.5rem,8vw,4rem);text-align:right;padding:clamp(1rem,3vw,1.5rem) clamp(1rem,4vw,2rem);margin:0 clamp(.5rem,2vw,1rem) clamp(.5rem,2vw,1rem);background:#fff;border-radius:.5rem;box-shadow:inset 0 2px 4px #0000001a;overflow-x:auto;overflow-y:hidden;white-space:nowrap;line-height:1.2;min-height:clamp(3rem,10vw,5rem);display:flex;align-items:center;justify-content:flex-end}.display::-webkit-scrollbar{height:4px}.display::-webkit-scrollbar-track{background:#f1f1f1;border-radius:2px}.display::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:2px}.display::-webkit-scrollbar-thumb:hover{background:#a8a8a8}.keypad{flex:1;display:grid;grid-template-columns:repeat(4,1fr);grid-template-rows:repeat(5,1fr);gap:0;padding:clamp(.25rem,1vw,.5rem);box-sizing:border-box}.keypad button{width:100%;height:100%;border:none;background:#e0e0e0;color:#000;font-size:clamp(1rem,4vw,1.5rem);font-weight:700;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .1s ease;box-shadow:0 1px 3px #0003,inset 0 1px #ffffff80;position:relative;overflow:hidden;border-radius:.25rem;margin:0;padding:0;-webkit-user-select:none;-moz-user-select:none;user-select:none;outline:none}.keypad button:hover{background:#f5f5f5;box-shadow:0 2px 4px #0003,inset 0 1px #fffc}.keypad button:active{background:#d0d0d0;box-shadow:inset 0 2px 4px #0003,0 1px 2px #0000001a;transform:translateY(1px)}.keypad button.ripple:before{content:"";position:absolute;top:50%;left:50%;width:0;height:0;border-radius:50%;background:#0003;transform:translate(-50%,-50%);transition:width .6s,height .6s}.keypad button.ripple:active:before{width:300px;height:300px}.operator{background:#ff9500;color:#fff}.operator:hover{background:#ffb347}.operator:active{background:#e68900}.equals{background:#ff9500;color:#fff}.equals:hover{background:#ffb347}.equals:active{background:#e68900}.function{background:#a6a6a6;color:#000}.function:hover{background:#b3b3b3}.function:active{background:#999}.numeric{background:#e0e0e0;color:#000}.numeric:hover{background:#f5f5f5}.numeric:active{background:#d0d0d0}.double-zero{font-size:clamp(.8rem,3.5vw,1.2rem)}@media (max-width: 480px){.display{font-size:clamp(2rem,10vw,3rem)}.keypad button{font-size:clamp(.9rem,5vw,1.2rem)}.double-zero{font-size:clamp(.7rem,4.5vw,1rem)}}@media (min-width: 768px){.display{font-size:clamp(3rem,6vw,5rem)}.keypad button{font-size:clamp(1.2rem,3vw,2rem)}.double-zero{font-size:clamp(1rem,2.5vw,1.5rem)}}@media (min-height: 800px){.keypad{padding:.5rem}}.macos-desktop{width:100vw;height:100vh;position:relative;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;user-select:none;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;background:#000}.desktop-wallpaper{position:absolute;top:0;left:0;width:100%;height:100%;-o-object-fit:cover;object-fit:cover;z-index:0;pointer-events:none}.macos-menubar{position:absolute;top:0;left:0;right:0;height:28px;background:#0000002e;backdrop-filter:blur(30px);-webkit-backdrop-filter:blur(30px);color:#fffffff2;display:flex;justify-content:space-between;align-items:center;padding:0 12px;font-size:13px;z-index:100;border-bottom:1px solid rgba(255,255,255,.08);box-shadow:0 1px 3px #0000001a}.menu-left,.menu-right{display:flex;align-items:center;gap:16px}.apple-logo{font-size:15px;cursor:default}.menu-item{cursor:default;font-weight:500;padding:2px 6px;border-radius:4px}.menu-item:hover{background:#ffffff26}.menu-icon{cursor:default;font-size:12px}.desktop-widgets{position:absolute;top:52px;left:32px;display:flex;flex-direction:column;gap:16px;z-index:5}.widget{background:#1e1e1e59;backdrop-filter:blur(30px);-webkit-backdrop-filter:blur(30px);border:1px solid rgba(255,255,255,.15);border-radius:20px;padding:14px;color:#fff;display:flex;flex-direction:column;box-shadow:0 10px 30px #0003;width:144px;height:144px;box-sizing:border-box}.stock-widget{justify-content:space-between}.widget-header{display:flex;justify-content:space-between;font-size:11px}.widget-chart{height:36px;display:flex;align-items:center}.sparkline{width:100%;height:100%}.widget-footer p{margin:0}.battery-widget{justify-content:space-between;align-items:center;padding:16px 14px}.battery-circle{position:relative;width:60px;height:60px;display:flex;align-items:center;justify-content:center}.circular-chart{display:block;margin:0 auto;max-width:100%;max-height:100%}.circle-bg{fill:none;stroke:#ffffff1f;stroke-width:3.5}.circle{fill:none;stroke:#30d158;stroke-width:3.5;stroke-linecap:round}.battery-value{position:absolute;color:#fff;font-size:13px}.battery-device{font-size:10px;color:#ffffffb3}.clock-widget{align-items:center;justify-content:center;padding:8px}.clock-face{position:relative;width:112px;height:112px;border-radius:50%;background:#14141499;border:1px solid rgba(255,255,255,.2)}.clock-hand{position:absolute;bottom:50%;left:50%;transform-origin:bottom center;border-radius:4px}.hour-hand{width:3.5px;height:28px;background:#fff;margin-left:-1.75px}.minute-hand{width:2px;height:40px;background:#fff;margin-left:-1px}.second-hand{width:1px;height:44px;background:#ff453a;margin-left:-.5px}.clock-center{position:absolute;top:50%;left:50%;width:6px;height:6px;border-radius:50%;background:#ff453a;margin-top:-3px;margin-left:-3px}.clock-num{position:absolute;color:#ffffffb3;font-size:9px;font-weight:600}.num-12{top:6px;left:50%;transform:translate(-50%)}.num-3{right:8px;top:50%;transform:translateY(-50%)}.num-6{bottom:6px;left:50%;transform:translate(-50%)}.num-9{left:8px;top:50%;transform:translateY(-50%)}.mac-calculator-window{z-index:50;background:#1e1e1ebf;backdrop-filter:blur(35px);-webkit-backdrop-filter:blur(35px);border:1px solid rgba(255,255,255,.15);border-radius:20px;box-shadow:0 30px 60px #0006,0 0 1px #fff3;padding:16px 14px 18px;box-sizing:border-box;display:flex;flex-direction:column}.mac-window-header{height:28px;display:flex;justify-content:space-between;align-items:center;cursor:default;margin-bottom:12px;padding:0 4px}.window-controls{display:flex;gap:8px}.control-dot{width:12px;height:12px;border-radius:50%;position:relative;cursor:default;display:flex;align-items:center;justify-content:center;border:.5px solid rgba(0,0,0,.15)}.control-dot.red{background:#ff5f56}.control-dot.yellow{background:#ffbd2e}.control-dot.green{background:#4a4a4a}.control-icon{display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .1s ease;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none}.window-controls:hover .control-icon{opacity:1}.mac-display-container{display:flex;justify-content:flex-end;align-items:flex-end;padding:8px 12px 14px;height:75px;box-sizing:border-box}.mac-display-text{color:#fff;font-weight:300;text-align:right;overflow-x:auto;overflow-y:hidden;white-space:nowrap;width:100%;scrollbar-width:none;-ms-overflow-style:none}.mac-display-text::-webkit-scrollbar{display:none}.mac-keypad{display:grid;grid-template-columns:repeat(4,52px);grid-template-rows:repeat(5,52px);gap:6px}.mac-btn{width:52px;height:52px;border-radius:50%;border:none;font-size:18px;font-weight:400;display:flex;align-items:center;justify-content:center;cursor:default;transition:background-color .12s ease,transform .05s ease;-webkit-user-select:none;-moz-user-select:none;user-select:none;outline:none}.mac-btn:active{transform:scale(.95)}.btn-grey{background:#ffffff59;color:#fff}.btn-grey:hover{background:#ffffff73}.btn-grey:active{background:#ffffff40}.btn-dark{background:#ffffff26;color:#fff}.btn-dark:hover{background:#ffffff40}.btn-dark:active{background:#ffffff1a}.btn-orange{background:#ff9f0a;color:#fff}.btn-orange:hover{background:#ffb340}.btn-orange:active{background:#cc7f08}html.electron-locked,body.electron-locked{background:transparent!important;background-color:transparent!important;overflow:hidden!important}html.electron-unlocked,body.electron-unlocked{background:#f3f4f6!important}.electron-draggable{-webkit-app-region:drag!important}.no-drag,.electron-draggable button,.electron-draggable a,.electron-draggable input,.electron-draggable select,.electron-draggable [role=button]{-webkit-app-region:no-drag!important}
