@font-face{font-family:TierhotUI;src:url("./fonts/tierhot-ui.woff2?v=470b3ee7d0") format("woff2");font-weight:100 900;font-style:normal;font-display:swap}
:root{--paper:#faf9f6;--ink:#252722;--muted:#575d52;--line:#d6d9ce;--accent:#68563f;font-family:TierhotUI,-apple-system,BlinkMacSystemFont,"Segoe UI","Apple SD Gothic Neo","Malgun Gothic",sans-serif;font-size:20px;color:var(--ink);background:var(--paper);font-synthesis:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
*{box-sizing:border-box}body{margin:0;line-height:1.7}button,input,textarea,select{font:inherit}button,a,summary{touch-action:manipulation;-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{color:inherit;cursor:pointer}button:disabled{color:#60675b;background:#e8ebe3;border-color:#c8cec0;cursor:default}h1,h2,h3,p,figure{margin:0}h1,h2,h3{line-height:1.45;word-break:keep-all}p,li{overflow-wrap:anywhere}svg{vertical-align:middle;flex:none}.icon{width:24px;height:24px}input,textarea,select{min-width:0;color:var(--ink)}button,input,a,textarea,select,summary{outline-offset:4px;scroll-margin-block:24px}:focus-visible{outline:3px solid #755f40}[hidden]{display:none!important}.container{width:min(1040px,calc(100% - 48px));margin-inline:auto}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip-link{position:fixed;top:-100px;left:20px;padding:16px;background:var(--ink);color:#fff;z-index:99}.skip-link:focus{top:8px}.noscript{padding:20px;background:#eee9df}.copy-buffer{position:fixed;left:-9999px;top:0}
.site-header{border-bottom:1px solid var(--line);background:var(--paper)}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:88px;padding-block:12px}.brand{display:inline-flex;align-items:center;gap:12px;font-size:27px;font-weight:750;line-height:1.3;white-space:nowrap;min-height:60px}.brand img{width:36px;height:36px;border-radius:8px}.button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:60px;padding:14px 22px;border:1px solid transparent;border-radius:10px;font-size:20px;font-weight:650;line-height:1.5;text-align:center}.button-primary{background:var(--ink);color:#fff}.button-primary:hover{background:#444b3d}.button-secondary{background:#fff;border-color:#a3ac97}.button-secondary:hover{background:#f1f3ec}.home-link{font-size:18px}.home-heading{padding:44px 0 30px}.free-note{font-size:18px;color:var(--accent);margin-bottom:12px}.home-heading h1{font-size:40px;letter-spacing:-1.1px;font-weight:700}.home-heading>p:last-child{margin-top:14px;color:var(--muted)}.tools-section{padding-bottom:56px;scroll-margin-top:24px}.catalog-options{margin-bottom:24px}.catalog-options>summary{font-size:18px;color:var(--muted);padding-inline:0;border-bottom:1px solid var(--line);border-radius:0}.catalog-controls{padding:24px 0;display:grid;gap:18px}.filter-tabs{display:flex;flex-wrap:wrap;gap:12px}.filter-tabs .active{background:var(--ink);color:#fff}.tool-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.tool-card{min-width:0;border:1px solid var(--line);border-radius:16px;background:#fff;overflow:hidden}.tool-card-link{display:flex;flex-direction:column;height:100%;padding:28px;gap:20px}.tool-card-link:hover{background:#fcfcf9}.tool-card-link:focus-visible{outline-offset:-4px}.card-heading{display:flex;align-items:center;gap:18px}.card-image{width:64px;height:64px;flex:none;object-fit:cover;border-radius:12px}.tool-card h3{font-size:26px;letter-spacing:-.7px;font-weight:700}.tool-card p{color:var(--muted);font-size:20px;flex:1;word-break:keep-all}.card-cta{width:100%;justify-content:space-between}.empty-state{padding:40px 16px;text-align:center}.empty-state p{margin-block:16px 24px;color:var(--muted)}
.tool-page{max-width:760px;padding-top:32px;padding-bottom:56px}.tool-page-heading{margin-bottom:24px}.tool-page-heading h1{font-size:36px;font-weight:700;letter-spacing:-1px}.tool-lead{margin-top:12px;color:var(--muted);font-size:20px;word-break:keep-all}.tool-layout{display:flex;flex-direction:column;gap:16px}.app-panel{border:1px solid var(--line);border-radius:16px;background:#fff;min-width:0;width:100%}.tool-form{display:flex;flex-direction:column;padding:32px;gap:22px;min-width:0}.form-step{display:flex;align-items:center;gap:12px;font-size:24px;font-weight:700;margin:0 0 4px;text-align:left}.form-step>span,.button-step{display:inline-flex;align-items:center;justify-content:center;flex:none;width:32px;height:32px;border:1px solid #a2aa97;border-radius:50%;font-size:19px;font-weight:650}.button-step{border-color:#bfc7b6;color:#fff}.tool-form>button[type=submit]{position:relative;min-height:64px;font-size:22px}.tool-form>button[type=submit]>.icon{margin-left:auto}.tool-form>button[type=submit]>.button-step{margin-right:auto}.field{display:flex;flex-direction:column;gap:10px;min-width:0}.field>span,.password-options legend{font-size:20px;font-weight:650;line-height:1.6}.field input,.field select,.field textarea{min-width:0;width:100%;height:64px;padding:12px 16px;border:1px solid #8f9b83;border-radius:9px;background:#fff;font-size:22px;line-height:1.6}.field input[type=date]{appearance:none;-webkit-appearance:none;max-width:100%;min-width:0}.field input[type=number]{appearance:textfield;-moz-appearance:textfield}.field input[type=number]::-webkit-inner-spin-button,.field input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.field select{padding-right:30px;font-size:20px}.field textarea{height:auto;min-height:200px;resize:vertical}.field textarea::placeholder,.field input::placeholder{color:#60675a;opacity:1}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:20px}.field-help,.local-note{font-size:18px;line-height:1.7;color:var(--muted)}.field-help{margin-top:-8px}.local-note{text-align:center}.options-content{display:grid;gap:12px;padding-top:12px}.check-label{display:flex;align-items:center;gap:14px;min-height:56px;padding:8px 0;font-size:20px;line-height:1.6;cursor:pointer}.check-label input{width:26px;height:26px;accent-color:var(--ink);flex:none;margin:0}.password-options{border:0;margin:0;padding:0;min-width:0}.password-options legend{padding:0;margin-bottom:10px}.form-error{color:#922c20;background:#fff1e9;border:1px solid #d8a090;border-radius:9px;padding:16px;font-size:20px;line-height:1.7}.form-error:empty{display:none}.result-panel{padding:26px;background:#f2f4ed;border:1px solid var(--line);border-radius:12px;text-align:center;min-width:0;scroll-margin-top:24px}.result-panel .form-step{font-size:23px;margin-bottom:18px}.result-label{display:block;color:var(--muted);font-size:20px;overflow-wrap:anywhere}.result-hint{font-size:18px;color:var(--muted);margin-top:14px;line-height:1.8;overflow-wrap:anywhere}.number-balls{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-block:24px}.number-ball{display:inline-flex;align-items:center;justify-content:center;width:76px;height:76px;min-width:76px;padding:6px;border:1px solid #b8c2ad;border-radius:50%;background:#fff;font-size:34px;font-weight:650;line-height:1.3}.number-ball.empty{color:var(--muted)}.number-ball.wide-ball{width:auto;border-radius:10px;font-size:24px;max-width:100%;overflow-wrap:anywhere}.large-result,.dday-number{display:block;font-size:58px;font-weight:700;letter-spacing:-1px;line-height:1.5;margin-top:16px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.large-result small{font-size:24px;margin-left:8px}.dday-number{font-size:68px}.password-output{display:block;font-family:ui-monospace,Consolas,monospace;font-size:30px;font-weight:600;letter-spacing:1px;overflow-wrap:anywhere;word-break:break-all;line-height:1.8}.draw-history ol{padding:0;list-style:none}.draw-history li{display:flex;justify-content:space-between;gap:16px;border-top:1px solid var(--line);padding-block:14px;font-size:20px}.draw-history li span{min-width:0;overflow-wrap:anywhere}.draw-history time{font-size:18px;white-space:nowrap;color:var(--muted)}
summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:64px;list-style:none;border-radius:8px;padding:16px 20px;font-size:20px;line-height:1.6;font-weight:550}summary::-webkit-details-marker{display:none}summary:after{content:'+';font-family:Arial,sans-serif;font-size:28px;line-height:1;flex:none;font-weight:400}details[open]>summary:after{content:'−'}summary:hover{background:#f0f2eb}.extra-options{border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.extra-options>summary{padding-inline:0;font-size:18px}.extra-options[open]{padding-bottom:16px}.text-results{display:grid;gap:18px}.text-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.text-stats>div{padding:20px 12px;border-radius:10px;background:#f2f4ed;border:1px solid var(--line);text-align:center;min-width:0}.text-stats span{display:block;font-size:18px;color:var(--muted)}.text-stats strong{font-size:44px;line-height:1.8;overflow-wrap:anywhere}.text-stats small{font-size:20px;margin-left:6px}.extra-stats{margin-top:12px;grid-template-columns:1fr}.text-actions{display:flex;flex-direction:column;gap:12px}
.guide-content{margin-top:28px}.help-panel{border-bottom:1px solid var(--line);scroll-margin-top:24px}.help-panel>summary{padding-inline:4px;font-size:20px}.help-content{padding:20px 4px 32px;font-size:20px;line-height:1.9}.help-content h2{font-size:26px;margin-bottom:24px}.help-content h3{font-size:23px;margin:24px 0 16px}.help-content p{color:var(--muted)}.help-intro{display:flex;align-items:flex-start;gap:20px;margin-block:20px}.help-intro>img{width:100px;height:100px;object-fit:cover;border-radius:12px;flex:none}.help-intro ol{padding-left:26px;margin:0}.help-intro li{padding:0 0 16px 6px}.usage-figure{margin-top:24px;padding:16px;border:1px solid var(--line);border-radius:10px;background:#fff}.usage-figure img{display:block;width:100%;max-width:100%;height:auto}.usage-figure a{display:block}.usage-figure figcaption{font-size:18px;line-height:1.9;padding-top:20px;margin-top:16px;border-top:1px solid var(--line);color:var(--muted)}.example-table{overflow-x:auto;margin-block:24px}.example-table table{width:100%;border-collapse:collapse;font-size:18px;line-height:1.8;table-layout:fixed}.example-table th{font-weight:650;background:#eef0e7;text-align:left}.example-table th,.example-table td{padding:14px 10px;border-bottom:1px solid var(--line);vertical-align:top;overflow-wrap:anywhere}.faq-list details{border-top:1px solid var(--line)}.faq-list summary{padding-inline:0;font-size:20px}.faq-list p{padding:4px 0 24px}.related-links{display:grid;gap:8px;margin-block:24px}.related-links a{min-height:60px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line);font-size:20px}.site-footer{border-top:1px solid var(--line);padding-block:32px;color:var(--muted)}.footer-inner{display:grid;gap:16px}.site-footer p,.site-footer nav{font-size:18px}.site-footer nav{display:flex;gap:12px 28px;flex-wrap:wrap}.site-footer nav a{min-height:48px;display:inline-flex;align-items:center;text-decoration:underline;text-underline-offset:5px}.site-footer small{font-size:16px}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,10px);background:var(--ink);color:#fff;padding:16px 24px;border-radius:10px;font-size:20px;max-width:calc(100% - 32px);width:max-content;text-align:center;line-height:1.7;z-index:99;opacity:0;pointer-events:none}.toast.visible{opacity:1;transform:translate(-50%,0)}
.prose-page{max-width:800px;padding-block:48px}.eyebrow{font-size:18px;color:var(--muted)}.prose-page h1{font-size:36px;margin-block:16px 28px}.prose{font-size:20px;line-height:1.9}.prose .lead{font-size:24px}.prose h2{font-size:26px;margin-block:32px 18px}.prose p{margin-bottom:20px}.prose ul{padding-left:26px}.prose li{margin-bottom:12px}.prose a{text-decoration:underline;text-underline-offset:4px;overflow-wrap:anywhere}.prose-page>.button{margin-top:24px}.not-found{max-width:760px;text-align:center;padding-block:64px}.error-code{font-size:80px}.not-found h1{font-size:32px;margin-bottom:24px}.not-found p{margin-bottom:28px}
@media(max-width:700px){.container{width:calc(100% - 32px)}.header-inner{min-height:80px;gap:12px}.brand{font-size:24px;gap:8px}.brand img{width:32px;height:32px}.home-link{padding:12px;font-size:18px;gap:8px;min-height:56px}.home-link .icon{display:none}.home-heading{padding-block:30px 24px}.home-heading h1{font-size:32px;letter-spacing:-1px}.home-heading>p:last-child{font-size:20px}.tool-grid{grid-template-columns:1fr;gap:20px}.tool-card-link{padding:24px;gap:18px}.tool-card h3{font-size:25px}.card-heading{gap:16px}.card-image{width:60px;height:60px}.catalog-options{margin-bottom:20px}.tool-page{padding-top:26px}.tool-page-heading h1{font-size:32px}.tool-lead{font-size:20px;margin-top:10px}.tool-form{padding:24px;gap:20px}.form-step{font-size:23px;gap:10px}.form-step>span{width:30px;height:30px;font-size:18px}.field-row{gap:16px}.field>span{font-size:20px}.field input{padding-inline:12px}.field select{font-size:20px;padding-left:12px}.field-help,.local-note{font-size:18px}.result-panel{padding:22px 16px}.result-panel .form-step{font-size:22px}.number-ball{width:68px;height:68px;min-width:68px;font-size:32px}.large-result{font-size:50px}.dday-number{font-size:60px}.password-output{font-size:25px}.text-stats{gap:12px}.text-stats>div{padding:18px 6px}.text-stats strong{font-size:38px}.text-stats small{font-size:18px}.help-intro{flex-direction:column}.help-intro>img{width:100%;height:auto;max-height:180px;object-fit:contain;background:#f1f0e9}.help-content h2{font-size:24px}.help-content h3{font-size:22px}.usage-figure{padding:8px}.example-table th,.example-table td{padding:12px 7px}.site-footer{padding-block:28px}.prose-page{padding-block:30px}.prose-page h1{font-size:30px}.toast{font-size:18px}}
@media(max-width:370px){.tool-card-link{padding:20px}.card-heading{gap:12px}.card-image{width:52px;height:52px}.tool-card h3{font-size:24px}.home-heading h1{font-size:30px}.tool-page-heading h1{font-size:30px}.tool-form{padding:20px}.field-row{grid-template-columns:1fr}.form-step{font-size:22px}.tool-form>button[type=submit]{font-size:20px;padding-inline:16px}.tool-form>button[type=submit]>.icon{display:none}.tool-form>button[type=submit]>.button-step{margin-right:0}.text-stats{grid-template-columns:1fr}.example-table table{table-layout:auto}.example-table th,.example-table td{font-size:18px}.check-label{font-size:20px}.password-output{font-size:24px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
@media print{.site-header,.site-footer,.toast,.container{width:100%}.app-panel,.result-panel{break-inside:avoid}.tool-form{padding:16px}.help-content{display:block!important}}
form[data-app="date"] .field-row,form[data-app="percent"] .field-row{grid-template-columns:1fr}
.participant-note{margin:14px 0 16px}.team-results,.lotto-results{display:grid;gap:20px;margin-top:20px}.team-results:empty,.lotto-results:empty{display:none}.team-card,.lotto-game{min-width:0;border:1px solid #c7cfbc;background:#fff;border-radius:12px;padding:20px;text-align:left}.team-card h3,.lotto-game h3{font-size:22px;margin-bottom:16px}.team-members{display:flex;flex-wrap:wrap;gap:10px;margin:0;padding:0;list-style:none}.team-members li{padding:8px 12px;border-radius:8px;background:#f0f2e9;font-size:22px;max-width:100%;overflow-wrap:anywhere}.lotto-balls{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.lotto-balls .number-ball{width:100%;min-width:0;height:auto;aspect-ratio:1;font-size:30px}.lucky-date{font-size:24px;font-weight:650}.lucky-output{display:block;font-size:88px;font-weight:700;line-height:1.5}.help-content a{text-decoration:underline;text-underline-offset:4px}
@media(max-width:700px){.lotto-balls{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.team-card,.lotto-game{padding:16px}.lucky-date{font-size:22px}.lucky-output{font-size:78px}.lotto-balls .number-ball{max-width:76px;font-size:30px;justify-self:center}}
@media(max-width:370px){.lotto-balls{gap:8px}.lotto-balls .number-ball{font-size:26px}.team-members li{font-size:22px;padding-inline:10px}}
.skip-link:not(:focus){clip-path:inset(50%);width:1px;height:1px;padding:0;overflow:hidden;white-space:nowrap}
.draw-form{gap:16px;padding:24px}.draw-main-fields{grid-template-columns:1fr 1fr!important;gap:16px}.draw-controls{display:grid;gap:4px}.draw-options>summary{min-height:56px;font-size:18px}.draw-controls>.check-label{font-size:20px;min-height:48px}.draw-form>button[type=submit]{justify-content:center;min-height:64px}.draw-form>button[type=submit]>.icon{margin-left:4px}.draw-result-wrap{display:grid;gap:16px}.draw-result-wrap>.button{width:100%}.draw-result-title{font-size:23px;text-align:left}.draw-form .number-balls{margin-block:16px}.draw-form .result-hint{margin-top:8px}.quick-entry-content{display:grid;gap:16px;padding-top:14px}.quick-entry-content .field-help{margin:0}.quick-entry>summary{font-size:18px;min-height:56px}.draw-form .field-help{margin-top:0}.draw-form .sr-only{margin:0}
@media(max-width:700px){.draw-form{padding:20px}.draw-form .field>span{font-size:20px}.draw-form .field input{height:60px}.draw-form .result-panel{padding:20px 16px}}
