:root{font-family:Comic Sans MS,Comic Sans,system-ui,sans-serif;color:#1c0033;background:#8bfffd;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}html{min-width:320px;background:#8bfffd}body{margin:0;min-width:320px;min-height:100vh;overflow-x:hidden}button,input,textarea{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:4px solid #00f0ff;outline-offset:2px}button:disabled{cursor:not-allowed;opacity:.55}.app-shell{min-height:100vh;padding:12px;background:radial-gradient(circle at 15% 10%,rgba(255,255,0,.6),transparent 18%),radial-gradient(circle at 85% 5%,rgba(255,0,200,.45),transparent 20%),linear-gradient(135deg,#7dff00,#8bfffd 22%,#ff87e7 52%,#fff36b 78%,#8bfffd);background-size:150% 150%}.app-shell.overstimulated{animation:bgShift 10s linear infinite alternate}.app-shell.konami-mode{filter:hue-rotate(90deg) saturate(1.8)}.bg-stars{position:fixed;inset:auto 0 8px;z-index:0;text-align:center;font-size:clamp(28px,6vw,76px);opacity:.22;pointer-events:none;white-space:nowrap}.site-header,.game-grid{position:relative;z-index:1}.site-header{max-width:1800px;margin:0 auto 12px;border:5px ridge #ff2fbc;background:#fff900;box-shadow:0 0 0 4px #00d9ff,8px 8px #00000040;overflow:hidden}.title-button{width:100%;border:0;padding:14px 56px 12px;color:#fff;font-weight:900;font-size:clamp(22px,4vw,54px);line-height:1.05;text-shadow:3px 3px 0 #000,0 0 12px #ffff00;background:linear-gradient(90deg,red,#ff00f5,#3b00ff,#00c8ff,#00d14a,#ffe600,red);background-size:300% 100%;animation:rainbow 5s linear infinite}.settings-button{position:absolute;z-index:3;right:10px;top:10px;width:44px;height:44px;border-radius:10px;border:3px outset #fff;background:#000;color:#fff;font-size:22px}.marquee{overflow:hidden;border-top:4px solid #000;background:#000;color:#0f6;font-weight:900}.marquee div{width:max-content;padding:6px 0;animation:marquee 16s linear infinite}.game-grid{max-width:1800px;margin:0 auto;display:grid;grid-template-columns:minmax(230px,.8fr) minmax(360px,1.35fr) minmax(330px,1fr);gap:12px;align-items:start}.left-column,.right-column,.center-column{display:grid;gap:12px;min-width:0}.panel,.click-zone{border:4px ridge #ff00d4;box-shadow:7px 7px #0000003d,0 0 16px #ffff00b3;background:#ffffffeb}.panel{padding:12px}.panel h2{margin:0 0 10px;font-size:clamp(17px,2vw,24px);text-shadow:1px 1px 0 #fff}.scoreboard-panel{background:linear-gradient(#ffe600,#ff9ef2)}.scoreboard-list{margin:0;padding-left:28px}.scoreboard-list li{display:grid;grid-template-columns:1fr auto;gap:8px;padding:4px 0;border-bottom:1px dashed rgba(0,0,0,.25)}.scoreboard-list .you-row{background:#00ff80;font-weight:900;padding-inline:4px}.stats-panel{background:linear-gradient(135deg,#9affff,#fff)}.stats-panel dl{margin:0}.stats-panel dl div{display:grid;grid-template-columns:1fr auto;gap:10px;padding:5px 0;border-bottom:1px dotted #70206e}.stats-panel dt{font-size:13px}.stats-panel dd{margin:0;font-weight:900}.meme-widget{background:#d6ff61}.click-zone{text-align:center;padding:16px;background:repeating-linear-gradient(45deg,#ff03 0 16px,#ff00d41a 16px 32px),#ffffffed}.score-label{font-size:clamp(34px,6vw,74px);font-weight:900;line-height:1;color:#ff0078;text-shadow:3px 3px 0 #fff600,6px 6px 0 #2720ff,0 0 20px #fff;word-break:break-word}.production-line{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin:12px 0;font-size:clamp(15px,2.3vw,24px);font-weight:900}.production-line span{border:3px outset #fff;padding:6px 10px;background:#00ffbf;box-shadow:3px 3px #000}.nicole-button{position:relative;display:block;width:min(78vw,520px);aspect-ratio:1;margin:14px auto;padding:0;border:10px ridge #ffea00;border-radius:28%;overflow:hidden;background:#f0f;box-shadow:0 0 0 8px #00fff0,0 0 40px #f0a,12px 14px #00000040;transform:rotate(-1deg);transition:transform .08s ease;touch-action:manipulation}.nicole-button img{width:100%;height:100%;object-fit:cover;user-select:none;pointer-events:none;display:block}.nicole-button.is-clicked{transform:scale(.95) rotate(2deg)}.nicole-button.chaos-on{animation:microWobble 4s ease-in-out infinite}.click-particle{position:absolute;z-index:3;transform:translate(-50%,-50%);font-size:clamp(18px,3vw,34px);font-weight:900;color:#fff;text-shadow:2px 2px 0 #000,0 0 8px #ff0;pointer-events:none;animation:particleFly .9s ease-out forwards;white-space:nowrap}.smash-hint{font-size:clamp(18px,3vw,30px);font-weight:900;color:#5900ff;animation:pulse 1.2s ease-in-out infinite alternate}.satire-note{margin-top:4px;padding:8px;font-size:12px;text-align:center;background:#fffc;border:2px dashed #000}.slideshow-panel{background:linear-gradient(145deg,#fff,#a6ffea)}.slideshow-frame{position:relative;aspect-ratio:1.4 / 1;overflow:hidden;border:6px groove #9400ff;background:#000;transform:rotate(.5deg)}.slideshow-frame img{width:100%;height:100%;object-fit:cover;animation:slideIn .9s ease both,slideshowZoom 3.2s linear both}.slideshow-sticker{position:absolute;right:6px;top:6px;padding:4px 8px;background:#ff0;border:3px solid #f00;transform:rotate(10deg);font-size:24px;font-weight:900}.dots{display:flex;justify-content:center;gap:6px;margin-top:8px}.dots button{width:16px;height:16px;padding:0;border:2px solid #000;border-radius:50%;background:#fff}.dots button.active{background:#ff00bf}.shop-panel{padding:0;overflow:hidden;background:#fff0b6}.shop-panel>h2{padding:12px 12px 0}.shop-scroll{max-height:68vh;overflow:auto;padding:8px 12px 12px;display:grid;gap:10px}.upgrade-card{display:grid;grid-template-columns:90px 1fr;gap:10px;border:4px outset #fff;background:linear-gradient(135deg,#baffff,#ffb6eb);padding:8px;box-shadow:3px 3px #00000040}.upgrade-card img{width:90px;aspect-ratio:1;object-fit:cover;border:3px solid #000;background:#ddd}.upgrade-card h3{margin:0;font-size:18px}.upgrade-card p{margin:5px 0;font-size:13px;line-height:1.25}.upgrade-title-row{display:flex;align-items:center;gap:8px;justify-content:space-between}.level-pill{background:#1c0033;color:#fff;padding:2px 6px;border-radius:99px;font-size:12px}.upgrade-effect{font-weight:900;font-size:12px;margin:5px 0}.upgrade-card button{width:100%;border:3px outset #fff;padding:6px;background:#00e36b;color:#001a0b;font-weight:900;box-shadow:2px 2px #000}.upgrade-card.locked{display:block;min-height:64px;background:repeating-linear-gradient(-45deg,#333 0 12px,#555 12px 24px);color:#fff}.locked-copy{display:grid;place-items:center;min-height:48px;text-align:center}.modal-backdrop{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:16px;background:#14001eb8;backdrop-filter:blur(4px)}.modal{width:min(560px,96vw);max-height:92vh;overflow:auto;padding:20px;border:6px ridge #ff0;background:linear-gradient(135deg,#fff,#ff9ee8);box-shadow:0 0 0 8px #00dfff,0 0 50px #fff}.modal h2{margin-top:0;font-size:clamp(26px,6vw,42px)}.modal input[type=text],.modal input:not([type]),.modal textarea{width:100%;border:4px inset #fff;padding:10px;background:#fff;color:#111}.modal button{min-height:44px;border:4px outset #fff;background:#00df72;font-weight:900;padding:8px 12px}.modal-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:10px}.modal .secondary{background:#77d8ff}.modal .danger{background:#ff4f5f;color:#fff}.settings-modal{display:grid;gap:10px}.toggle-row,.range-row{display:flex;justify-content:space-between;align-items:center;gap:12px;font-weight:900}.toggle-row input{width:24px;height:24px}.range-row{flex-wrap:wrap}.range-row input{flex:1 1 180px}.save-transfer{display:grid;gap:7px}.settings-message{margin:0;background:#fff;border:2px dashed #000;padding:6px}.muted{opacity:.7}.milestone-pop,.flash-message{position:fixed;z-index:120;left:50%;transform:translate(-50%);text-align:center;font-weight:900}.milestone-pop{top:12%;width:min(680px,90vw);padding:18px;border:7px ridge #ff0;background:#ff4fd2;color:#fff;box-shadow:0 0 50px #fff,12px 12px #000;animation:milestoneIn .35s cubic-bezier(.18,.89,.32,1.28)}.milestone-pop strong{display:block;font-size:clamp(30px,7vw,62px);text-shadow:3px 3px 0 #000}.milestone-pop span{font-size:clamp(18px,3vw,28px)}.confetti-line{font-size:28px;letter-spacing:4px;animation:wiggle .35s linear infinite alternate}.flash-message{top:8px;padding:10px 16px;border:5px outset #fff;background:#000;color:#00ff9d;font-size:clamp(22px,4vw,42px);text-shadow:0 0 8px #00ff9d}@keyframes rainbow{to{background-position:300% 0}}@keyframes marquee{0%{transform:translate(100vw)}to{transform:translate(-100%)}}@keyframes bgShift{0%{background-position:0 0}to{background-position:100% 100%}}@keyframes microWobble{0%,to{transform:rotate(-1deg)}50%{transform:rotate(1deg) scale(1.01)}}@keyframes particleFly{0%{opacity:1;transform:translate(-50%,-40%) scale(.8)}to{opacity:0;transform:translate(-50%,-170px) scale(1.4) rotate(12deg)}}@keyframes pulse{to{transform:scale(1.05);filter:hue-rotate(70deg)}}@keyframes slideIn{0%{opacity:0;transform:scale(1.12) rotate(-2deg)}to{opacity:1;transform:scale(1) rotate(0)}}@keyframes slideshowZoom{to{transform:scale(1.08) rotate(.8deg)}}@keyframes milestoneIn{0%{transform:translate(-50%) scale(.25) rotate(-8deg);opacity:0}to{transform:translate(-50%) scale(1) rotate(0);opacity:1}}@keyframes wiggle{to{transform:rotate(2deg) scale(1.03)}}@media (max-width: 1100px){.game-grid{grid-template-columns:1fr 1.45fr}.right-column{grid-column:1 / -1;grid-template-columns:.8fr 1.2fr}.shop-scroll{max-height:520px}}@media (max-width: 720px){.app-shell{padding:6px}.site-header{margin-bottom:8px}.title-button{padding:10px 50px 10px 8px}.game-grid{display:flex;flex-direction:column}.center-column{order:1;width:100%}.right-column{order:2;display:contents}.shop-panel{order:3;width:100%}.slideshow-panel{order:4;width:100%}.left-column{order:5;width:100%;display:contents}.stats-panel{order:2;width:100%}.scoreboard-panel{order:5;width:100%}.meme-widget{order:6;width:100%}.nicole-button{width:min(88vw,500px)}.shop-scroll{max-height:none}.upgrade-card{grid-template-columns:78px 1fr}.upgrade-card img{width:78px}.slideshow-frame{aspect-ratio:1.15 / 1}}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.001ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.001ms!important}}.emoji-rain{position:fixed;z-index:0;inset:-10vh 0 auto;display:flex;justify-content:space-around;gap:2vw;font-size:clamp(24px,4vw,58px);pointer-events:none;opacity:.22;animation:emojiRain 9s linear infinite}.overstimulated.chaos-2 .panel{box-shadow:7px 7px #0000003d,0 0 24px #ff00d4d9}.overstimulated.chaos-2 .nicole-button{animation-duration:2.5s}.overstimulated.chaos-3 .game-grid{animation:tinyShake 1.8s steps(2,end) infinite}.overstimulated.chaos-3 .score-label{animation:scoreGlow .7s ease-in-out infinite alternate}@keyframes emojiRain{0%{transform:translateY(-10vh) rotate(-4deg)}to{transform:translateY(120vh) rotate(12deg)}}@keyframes tinyShake{0%,92%,to{transform:translate(0)}94%{transform:translate(1px,-1px)}96%{transform:translate(-1px,1px)}98%{transform:translate(1px,1px)}}@keyframes scoreGlow{to{filter:saturate(1.8) hue-rotate(35deg);transform:scale(1.015)}}.confetti-burst{position:absolute;inset:50% 50% auto auto;width:1px;height:1px;pointer-events:none}.confetti-burst i{--angle: calc(var(--piece) * 20deg);position:absolute;left:0;top:0;font-style:normal;font-size:22px;animation:confettiBurst 1.1s ease-out both;animation-delay:calc(var(--piece) * -12ms)}@keyframes confettiBurst{0%{opacity:1;transform:rotate(var(--angle)) translate(0) rotate(calc(var(--angle) * -1)) scale(.5)}to{opacity:0;transform:rotate(var(--angle)) translate(240px) rotate(calc(var(--angle) * -1 + 240deg)) scale(1.25)}}.online-panel{background:linear-gradient(145deg,#13002d,#003866);color:#fff}.online-panel h2{color:#fff;text-shadow:2px 2px 0 #ff00b7}.online-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.online-status{display:inline-flex;align-items:center;gap:5px;padding:4px 7px;border:2px solid #fff;background:#111;font-size:11px;font-weight:900;white-space:nowrap}.online-status i,.score-online-dot{width:9px;height:9px;border-radius:50%;display:inline-block;background:#777;box-shadow:0 0 8px currentColor}.online-status.online i,.score-online-dot{background:#00ff8a;color:#00ff8a}.online-status.connecting i{background:#ffe100;color:#ffe100}.online-status.offline i{background:#ff3d62;color:#ff3d62}.online-count{margin:2px 0 10px;font-size:13px;font-weight:900}.public-server-box{display:grid;gap:5px;padding:10px;border:3px dashed #ffef00;background:#ff00a859;text-align:center}.public-server-box strong{font-size:20px;color:#ffef00;text-shadow:2px 2px #000}.public-server-box span{font-size:11px;font-weight:800}.online-message{display:block;margin-top:8px;padding:5px;border:1px dashed rgba(255,255,255,.55);background:#ffffff1f;word-break:break-word}.online-note{display:block;margin-top:7px;opacity:.7;font-size:10px}.global-scoreboard-label{margin:-4px 0 8px;padding:4px 7px;text-align:center;background:#1d0038;color:#fff;font-weight:900;letter-spacing:.08em;border:2px solid #fff}.version-badge{position:fixed;left:10px;bottom:10px;z-index:80;display:grid;gap:1px;max-width:calc(100vw - 20px);padding:6px 8px;border:2px outset #fff;background:#000000db;color:#fff;font-family:Courier New,monospace;font-size:9px;line-height:1.2;box-shadow:2px 2px #ff00b7b3}.version-badge strong{color:#00ff9d;font-size:11px}.version-badge span{opacity:.82}@media (max-width: 720px){.version-badge{position:static;width:max-content;margin:12px 0 0}.online-panel{order:5;width:100%}.scoreboard-panel{order:6}.meme-widget{order:7}}
