/* Hacker Typer: isolated page extension using the main site's palette */
.ht-page{--ht-green:#00ff41;--ht-white:#e7ffed;--ht-muted:#a4d3af;}
.ht-page .ht-hero{padding:clamp(46px,6vw,88px) 24px 68px;background:radial-gradient(ellipse at 50% 0,rgba(0,255,65,.095),transparent 60%),linear-gradient(180deg,#071209,#050b06)}
.ht-hero-inner{text-align:center}.ht-hero .crumbs{display:flex;justify-content:center;margin:0 0 32px}
.ht-kicker,.ht-section-kicker{font:700 .73rem/1.5 var(--mono);letter-spacing:.12em;color:#84f7a1}
.ht-kicker{display:inline-flex;gap:10px;align-items:center;border:1px solid rgba(0,255,65,.22);background:#102314;border-radius:50px;padding:9px 15px;margin-bottom:16px}
.ht-live-dot,.ht-led{display:inline-block;width:8px;height:8px;background:#44ff73;border-radius:50%;box-shadow:0 0 0 4px #41ff7120,0 0 15px #29ff5b70;flex:none}
.ht-hero h1{font:800 clamp(2.1rem,4.65vw,4.2rem)/1.13 var(--sans);letter-spacing:-.045em;max-width:850px;margin:5px auto 20px;color:#f5fff5;text-wrap:balance}
.ht-hero h1 span{display:block;color:#44ff7d;font-size:clamp(1.45rem,3.25vw,2.7rem);margin-top:10px}
.ht-hero .ht-lead{max-width:780px;font-size:clamp(.99rem,1.7vw,1.1rem);line-height:1.82;margin:0 auto 23px;color:#b7d2bc}
.ht-hero-points{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:8px 25px;margin:0 auto 32px;color:#c9edd1;font-size:.87rem}
.ht-hero-points span::before{content:'✓';color:#47fa80;font-weight:800;margin-right:8px}
.ht-jump{display:inline-flex;align-items:center;justify-content:center;gap:20px;border:1px solid #4afa78;background:#30ea64;color:#06240d;text-decoration:none;font:800 .91rem var(--sans);border-radius:8px;min-height:50px;padding:10px 22px;transition:transform .2s ease,background-color .2s ease}
.ht-jump:hover{color:#071a0c;background:#94ffab;transform:translateY(-2px)}
.ht-page .ht-play{padding:68px 24px 72px;background:#061008}.ht-section-head{text-align:center;max-width:850px;margin:0 auto 36px}
.ht-section-head h2{font:780 clamp(1.7rem,3vw,2.48rem)/1.24 var(--sans);letter-spacing:-.025em;color:#eaffed;margin:11px auto 10px}
.ht-section-head p{color:#aecab5;font-size:1rem;line-height:1.75;max-width:720px;margin:0 auto}
.ht-workspace{border:1px solid #2b5433;box-shadow:0 24px 70px #0008,0 0 0 1px #0b2811 inset;overflow:hidden;border-radius:14px;background:#071007;max-width:1080px;margin:0 auto}
.ht-workspace-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;background:#101d12;border-bottom:1px solid #26472b;font:700 .75rem/1.5 var(--mono);color:#a9f3b8;letter-spacing:.03em}
.ht-workspace-left{display:flex;gap:11px;align-items:center;min-width:0;overflow-wrap:anywhere}.ht-workspace-right{font-size:.67rem;color:#6db783;flex:none}
.ht-controls{display:flex;align-items:center;flex-wrap:wrap;gap:9px;padding:15px 17px;background:#0a170d;border-bottom:1px solid #244129}
.ht-btn,.ht-theme-label select{height:41px;border-radius:7px;border:1px solid #356642;background:#102417;color:#d8f8e1;padding:0 14px;font:700 .82rem var(--sans);cursor:pointer}
.ht-btn:hover,.ht-btn:focus-visible{border-color:#60f38c;color:#fff}.ht-btn-primary{background:#3ff076;border-color:#3ff076;color:#05210d}.ht-btn-primary:hover{background:#a6ffb8;color:#05210d}
.ht-btn-outline{background:#122316}.ht-btn-quiet{border-color:transparent;background:transparent;color:#b6d5bd}.ht-btn[aria-pressed=true]{background:#1b6636;color:#d4ffe0;border-color:#40e86f}
.ht-theme-label{display:flex;align-items:center;gap:8px;color:#b0e2ba;font-size:.8rem;margin-left:auto}.ht-theme-label select{max-width:158px;color:#d9ffe4;font-weight:500;background:#0b180e}
.ht-stage{height:clamp(340px,42vw,500px);min-height:0;outline:none;cursor:crosshair;background:#000;position:relative;overflow:hidden}
.ht-stage:focus-visible{outline:2px solid #4eff78;outline-offset:-3px}.ht-screen{position:absolute;inset:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-color:#246738 #000}
.ht-code{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;min-height:100%;padding:22px 24px;color:var(--code-color,#00ff00);background:#000;border:0!important;border-radius:0!important;font:500 clamp(15px,1.6vw,20px)/1.75 "Fira Mono",ui-monospace,Menlo,Consolas,monospace;letter-spacing:.012em;tab-size:4;text-shadow:0 0 2px color-mix(in srgb,var(--code-color,#00ff00) 35%,transparent);user-select:none;}
.ht-cursor{display:inline-block;height:1.08em;width:10px;background:var(--code-color,#00ff00);vertical-align:-.13em;animation:htblink 1.1s step-end infinite}
@keyframes htblink{50%{opacity:0}}
.ht-prompt{position:absolute;left:50%;top:57%;transform:translate(-50%,-50%);pointer-events:none;display:flex;gap:16px;align-items:center;background:#06170abf;border:1px solid #38ee694a;border-radius:10px;padding:15px 22px;box-shadow:0 8px 38px #000a;color:#8cffaa;font:700 .78rem/1.7 var(--mono);letter-spacing:.045em;max-width:calc(100% - 34px)}
.ht-prompt small{font-size:.66rem;color:#b2d8b9;letter-spacing:.025em}.ht-prompt-icon{font-size:1.6rem;color:#52ff89}
.ht-stage.ht-has-content .ht-prompt,.ht-stage:fullscreen .ht-prompt{display:none}
.ht-console-foot{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:6px 16px;padding:12px 18px;background:#0a180d;border-top:1px solid #244129;color:#86c999;font:500 .72rem/1.5 var(--mono)}.ht-console-foot span:last-child{color:#699f79}.ht-sep{margin:0 8px;color:#467953}
.ht-help-inline{max-width:1040px;margin:18px auto 0;font-size:.86rem;color:#a7cfb1;text-align:center}.ht-help-inline strong{color:#d7ffdf}
.ht-stage:fullscreen,.ht-stage:-webkit-full-screen{background:#000;width:100vw;height:100vh;border-radius:0;cursor:default}
.ht-stage:fullscreen .ht-screen,.ht-stage:-webkit-full-screen .ht-screen{height:100%;width:100%}
.ht-stage:fullscreen .ht-code,.ht-stage:-webkit-full-screen .ht-code{padding:7px 10px;font-size:clamp(16px,1.53vw,21px);line-height:1.82}
.ht-stage:fullscreen .ht-prompt,.ht-stage:-webkit-full-screen .ht-prompt{display:none}
.ht-page .ht-guide,.ht-page .ht-details,.ht-page .ht-ideas,.ht-page .ht-faq,.ht-page .ht-bottom{padding:clamp(54px,6vw,85px) 24px}
.ht-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.ht-steps article{display:flex;gap:15px;border-top:1px solid #3c6844;padding-top:21px}.ht-step-no{color:#5fff91;font:700 1.65rem/1.15 var(--mono);flex:none}
.ht-steps h3,.ht-idea-list h3{font:720 1.12rem/1.4 var(--sans);color:#e2ffe9;margin:0 0 9px}.ht-steps p,.ht-idea-list p{font-size:.91rem;line-height:1.8;color:#b4d1ba;margin:0}
.ht-details-wrap{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(280px,.82fr);gap:clamp(25px,5vw,85px);align-items:center}
.ht-details-copy h2{font:780 clamp(1.65rem,3vw,2.4rem)/1.28 var(--sans);color:#eaffed;margin:14px 0 18px;letter-spacing:-.02em}.ht-details-copy p{line-height:1.82;font-size:.97rem;color:#b7d0bc}
.ht-keyboard{padding:26px 29px;border:1px solid #2b5735;background:radial-gradient(ellipse at 100% 0,#0c2415,#0b160d 70%);border-radius:12px}
.ht-keyboard-heading{font:800 .76rem var(--mono);letter-spacing:.1em;color:#67f78d;margin-bottom:24px}
.ht-keyboard>div{display:flex;justify-content:space-between;align-items:center;gap:8px;border-bottom:1px solid #245030;padding:12px 0;color:#b7d8be;font-size:.85rem}.ht-keyboard>div:last-of-type{border-bottom:0}
.ht-page kbd{font:650 .73rem var(--mono);color:#ddffe3;background:#152b1a;border:1px solid #326c3e;border-radius:5px;padding:5px 8px;box-shadow:0 2px 0 #224a2b;white-space:nowrap}.ht-keyboard-note{color:#82bb90;font-size:.81rem;line-height:1.65;border-top:1px dashed #2e5438;margin:18px 0 0;padding-top:18px}
.ht-idea-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.ht-idea-list article{border-top:1px solid #325d3b;padding:21px 8px 8px}.ht-idea-list article>span{display:block;font:750 .7rem var(--mono);color:#61f28b;letter-spacing:.08em;margin-bottom:12px}.ht-idea-disclaimer{font-size:.82rem;color:#80b58d;text-align:center;margin:24px 0 0}
.ht-faq-list{max-width:900px;margin:0 auto;border-top:1px solid #355b3e}.ht-faq-list details{border-bottom:1px solid #31523a;padding:0 8px}.ht-faq-list summary{font:650 1rem/1.5 var(--sans);color:#e4ffe9;cursor:pointer;list-style:none;padding:19px 36px 19px 0;position:relative}.ht-faq-list summary::-webkit-details-marker{display:none}.ht-faq-list summary:after{content:'+';position:absolute;right:3px;top:16px;color:#50ed7d;font-size:1.45rem}.ht-faq-list details[open] summary:after{content:'−'}.ht-faq-list details p{padding:0 30px 20px 0;line-height:1.82;color:#b1d2b8;margin:0}
.ht-bottom-inner{display:flex;justify-content:space-between;align-items:center;gap:20px 50px}.ht-bottom h2{font:780 clamp(1.55rem,2.5vw,2rem)/1.25 var(--sans);color:#f1fff4;margin:10px 0}.ht-bottom p{color:#a9cdb4;max-width:600px;margin:0}.ht-bottom .ht-jump{flex:none}
@media(max-width:1020px){.ht-workspace-right{display:none}.ht-steps{gap:15px}.ht-details-wrap{grid-template-columns:1fr 1fr;gap:30px}}
@media(max-width:740px){.ht-page .ht-hero{padding-top:40px;padding-bottom:45px}.ht-section-head{margin-bottom:25px}.ht-steps,.ht-idea-list,.ht-details-wrap{grid-template-columns:1fr}.ht-steps{gap:24px}.ht-steps article{padding-top:17px}.ht-idea-list{gap:14px}.ht-idea-list article{padding-top:18px}.ht-controls{padding:12px}.ht-btn{flex:1 1 auto}.ht-theme-label{width:100%;justify-content:flex-start;margin:4px 0 0}.ht-stage{height:370px}.ht-code{padding:15px 13px;font-size:15px;line-height:1.65}.ht-prompt{top:70%;padding:11px 13px;gap:10px;font-size:.66rem}.ht-prompt-icon{font-size:1.1rem}.ht-console-foot{font-size:.65rem}.ht-bottom-inner{align-items:flex-start;flex-direction:column}.ht-bottom .ht-jump{width:100%}}
@media(max-width:430px){.ht-workspace-bar{padding:12px;font-size:.66rem}.ht-btn{font-size:.75rem;padding-inline:8px}.ht-hero-points{gap:7px 13px}.ht-keyboard{padding:22px 17px}.ht-keyboard>div{font-size:.76rem}.ht-code{font-size:13.5px}.ht-stage:fullscreen .ht-code{font-size:15px}}
@media(prefers-reduced-motion:reduce){.ht-cursor{animation:none}.ht-jump{transition:none}}
