.native-generator{max-width:1060px;margin:auto}.native-generator *{box-sizing:border-box}.native-generator [hidden]{display:none!important}.native-generator button{cursor:pointer;font:inherit;border:1px solid #b9cce2;border-radius:12px;padding:12px 16px;background:#fff;color:#17325c}.native-generator button:hover{border-color:#155eef}.native-generator button:focus-visible{outline:3px solid #f5b700;outline-offset:3px}.native-generator button:disabled{opacity:.6;cursor:wait}.method-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:24px 0}.method-grid button{font-weight:800;padding:24px 12px}.method-grid small{display:block;margin-top:8px;color:#536b86;font-weight:400}.native-generator button[aria-pressed=true]{background:#155eef;color:white;border-color:#155eef;box-shadow:0 5px 18px #155eef25}.method-grid button[aria-pressed=true] small{color:#fff}.native-generator fieldset{min-width:0;border:1px solid #cbd9ea;border-radius:18px;padding:24px;background:#f5f9ff}.native-generator legend{font-weight:800}.tarot-deck{display:flex;gap:8px;overflow:auto;padding:24px 5px;scrollbar-width:thin}.native-generator .tarot-card{flex:0 0 54px;height:94px;background:#391713 url('/lotto/tarot/eungi-card-back.webp') center/cover no-repeat;color:white;border:2px solid #a77e36;padding:0}.native-generator .tarot-card[aria-pressed=true]{transform:translateY(-14px);outline:3px solid #155eef}.birth-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:16px}.birth-grid label{font-weight:700}.birth-grid input,.birth-grid select{display:block;width:100%;padding:14px;margin-top:8px;border:1px solid #b9cce2;border-radius:8px;background:#fff;font:inherit;color:#17325c}.element-choice,.game-count,.gen-actions{display:flex;gap:8px;flex-wrap:wrap}.element-choice button{flex:1;font-size:24px}.game-count small{display:block;font-size:12px;margin-top:4px}.native-generator .gen-primary{display:block;width:100%;background:#123f70;color:white;font-size:20px;font-weight:900;margin-top:24px;padding:18px}.trend-preview{display:grid;grid-template-columns:1fr 1fr;gap:20px}.trend-preview p{margin:6px 0}.trend-preview progress{height:16px;width:60%;margin:0 8px}#gen-progress progress{width:100%;margin-top:24px;height:14px}#gen-result{margin:24px 0;padding:24px;background:#fff;border:2px solid #cbd9ea;border-radius:18px}.gen-reveal{display:flex;gap:24px;align-items:center;margin:20px 0}.gen-reveal img{width:110px;height:auto;border-radius:12px}.gen-games{max-height:650px;overflow:auto;display:grid;gap:10px}.gen-game{display:flex;gap:16px;align-items:center;padding:12px;border:1px solid #d8e2f3;border-radius:12px}.gen-balls{display:flex;gap:8px;flex-wrap:wrap}.gen-ball{display:flex;align-items:center;justify-content:center;color:white;border-radius:50%;width:40px;height:40px;box-shadow:inset 0 -4px #0002;font-weight:900;background:#e1aa12}.gen-ball.b2{background:#388ccd}.gen-ball.b3{background:#e86461}.gen-ball.b4{background:#707b89}.gen-ball.b5{background:#4c9b70}#gen-history{background:#f3f7ff;border:1px solid #cbd9ea;border-radius:18px;padding:24px}#gen-history pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:350px;overflow:auto;background:white;padding:16px;font:14px/1.8 monospace}.generator-home-card{background:linear-gradient(135deg,#123f70,#197391);color:white;padding:24px;border-radius:18px;margin:20px 0}.generator-home-card h2{color:white;margin-top:0}.generator-home-card a{display:inline-block;background:#f5b700;color:#102941;padding:12px 18px;font-weight:900;border-radius:10px;text-decoration:none}@media(max-width:700px){.method-grid{grid-template-columns:1fr 1fr}.birth-grid,.trend-preview{grid-template-columns:1fr}.native-generator fieldset,#gen-result,#gen-history{padding:16px}.gen-game{flex-direction:column;gap:8px}.gen-ball{width:36px;height:36px}.gen-reveal{gap:14px}.gen-reveal img{width:85px}.native-generator h1{font-size:1.9rem}}
