body{background-color:#f0f2f5;color:#333;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-size:18px;line-height:1.6}.App{display:flex;flex-direction:column;min-height:100vh}.App main{flex:1 1}@media (max-width:768px){body{font-size:16px}}.pension-input-row{display:flex;gap:1rem}.pension-input-unify{background:#fff;border:1px solid #dfe4ea;border-radius:8px;box-sizing:border-box;font-family:Inter,Noto Sans KR,sans-serif;font-size:1.05em;height:44px;margin-bottom:.15em;min-width:0;padding:.7em 1em;width:100%}.pension-info-section{margin-bottom:2rem}.pension-warning-box{background:#fff3cd;border:1px solid #ffeaa7;border-radius:8px;color:#6c757d;font-size:1em;margin-bottom:2rem;padding:1rem}.pension-result-box{background:#eaf6ff;border-radius:16px}.pension-result-text{font-size:1.1em;text-align:left}.pension-result-value{color:#2c3e50;font-size:1.6em;font-weight:700}.engineering-display-area{align-items:center;background:#f8f9fa;border-radius:12px;display:flex;font-size:1.5rem;justify-content:flex-end;margin-bottom:12px;min-height:56px;padding:1.1rem}.engineering-current-input{color:#1e2a40;font-size:2.2em;font-weight:700;letter-spacing:1.5px;text-align:right;width:100%;word-break:break-all}.engineering-keypad{grid-gap:6px;display:grid;gap:6px;grid-template-columns:repeat(8,1fr);width:100%}.engineering-keypad .game-btn{font-size:1.08em;margin:0;min-height:38px;min-width:0;padding:0;width:100%}.engineering-keypad .game-btn-secondary{background:linear-gradient(45deg,#b6b8b9,#cbcbcb)}.engineering-keypad .game-btn-success{background:linear-gradient(45deg,#2ecc71,#27ae60)}@media (max-width:600px){.engineering-card{max-width:97vw}.engineering-current-input{font-size:1.48em}.engineering-keypad .game-btn{font-size:.98em;min-height:30px}}.content-wrapper{flex-wrap:wrap}.form-section{flex:1 1 320px;min-width:320px}.input-group{margin-bottom:1rem}.info-section{flex:1 1 300px;min-width:300px}.result-box.currency-result-box{background:#eaf6ff;border-radius:16px;box-shadow:0 4px 20px #3498db14;font-size:1.05em;margin-top:1.5rem;padding:1rem;text-align:left}.result-value{color:#2c3e50;font-size:1.5em;font-weight:700}.ladder-layout{align-items:flex-start;display:flex;flex-wrap:wrap;gap:2rem;justify-content:center;width:100%}.ladder-canvas-container{align-items:center;display:flex;flex-direction:column;gap:1.5rem}.ladder-canvas{background:#fff;border:1px solid #e3e7ea;border-radius:14px;box-shadow:0 6px 24px #1e508c14;height:500px;max-width:100%;min-width:280px;width:350px}.ladder-result-box{width:100%}.input-section{display:flex;flex:1 1;flex-direction:column;max-width:400px;min-width:280px}.error-message-box,.participant-add-section{margin-bottom:24px}.outcome-add-section{margin-bottom:22px}.section-title{font-weight:600;margin-bottom:8px}.input-with-button-row{align-items:center;display:flex;gap:8px}.flex-wrap-gap{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.badge{align-items:center;background:#e6faeb;border-radius:18px;color:#222;display:flex;font-size:1em;font-weight:600;margin-bottom:4px;padding:4px 14px}.badge-blue{background:#e6f7fb}.button-group{margin-bottom:1.5rem}.additional-info.ladder-info{margin-top:2rem}.additional-info.ladder-info ul{list-style-type:"✓ ";padding-left:20px}.additional-info.ladder-info li,.additional-info.ladder-info p{font-size:.95em;line-height:1.7}.roulette-canvas{background:#fff;border-radius:50%;box-shadow:0 6px 24px #2c3e5014;display:block;height:320px;margin:0 auto;width:320px}.roulette-result-box{background:#eaf6ff;border-radius:16px;box-shadow:0 4px 20px #3498db14;color:#36c;font-size:1.2em;font-weight:700;margin-top:2em;padding:1.5em 1em;text-align:center}.roulette-item-list{background:#f7fafc;border-radius:12px;display:flex;flex-wrap:wrap;font-size:1.02em;gap:.5em;margin:1.2em 0 1.5em;min-height:3.5em;padding:1em}.roulette-item-label{align-items:center;background:#eaf6ff;border-radius:1em;color:#1565c0;display:flex;font-size:1em;font-weight:600;gap:.3em;padding:.37em 1em}.roulette-item-prob{color:#888;font-weight:400;margin-left:3px}.roulette-flex-row{align-items:flex-start;display:flex;flex-wrap:wrap;gap:2rem;justify-content:center}.roulette-canvas-wrap{flex:1 1 350px;min-width:320px;text-align:center}.roulette-controls-col{flex:1 1 320px;min-width:320px}.roulette-buttons{gap:1em;margin-top:2em}.roulette-item-empty{color:#bbb;text-align:center;width:100%}.content-wrapper{gap:2rem}.info-section{align-items:flex-start;display:flex;flex-direction:column;gap:1.2rem}.dicegame-dice-container{align-items:flex-end;display:flex;flex-wrap:wrap;gap:1.1rem;margin-top:.5rem;min-height:56px}.dicegame-empty-message{color:#95a5a6;font-size:1.08em;padding:1.5rem 0 1rem}.dicegame-result-value{color:#1976d2;font-size:1.24em;font-weight:700}.dicegame-history-section{margin-bottom:2rem}.dicegame-history-title{color:#343a40;font-size:1.05em;font-weight:700;margin-bottom:.7rem}.dicegame-history-list{background:#f8f9fa;border-radius:12px;box-shadow:0 2px 8px #2c3e5012;max-height:190px;overflow-y:auto;padding:1rem}.dicegame-history-item{border-radius:7px;box-shadow:0 1px 2px rgba(44,62,80,.025);font-size:1em;justify-content:space-between;margin:.23rem 0;padding:.6rem .8rem}.dicegame-history-item,.die{align-items:center;background:#fff;display:flex}.die{border-radius:10px;box-shadow:0 2px 9px #3498db24,0 .5px 1.5px #d4dbe3;flex-wrap:wrap;height:44px;justify-content:center;position:relative;transition:box-shadow .2s;width:44px}.die.rolling{animation:dice-roll-shake .28s cubic-bezier(.22,.61,.36,1) infinite}@keyframes dice-roll-shake{0%,to{transform:translate(0) rotate(0deg)}20%{transform:translate(-2px,-1.7px) rotate(-12deg)}40%{transform:translate(1.2px,1.5px) rotate(14deg)}60%{transform:translate(-1.5px) rotate(-7deg)}80%{transform:translate(1px,-1.5px) rotate(8deg)}}.die-dot{background:#1976d2;border-radius:50%;height:8px;position:absolute;width:8px}.die-dot.top-left{left:6px;top:6px}.die-dot.top-right{right:6px;top:6px}.die-dot.bottom-left{bottom:6px;left:6px}.die-dot.bottom-right{bottom:6px;right:6px}.die-dot.middle-center{left:calc(50% - 4px);top:calc(50% - 4px)}.die-dot.middle-left{left:6px;top:calc(50% - 4px)}.die-dot.middle-right{right:6px;top:calc(50% - 4px)}.dicegame-error-message{color:#e74c3c;font-size:1em;font-weight:500;margin-top:1.1rem}.race-track{background:linear-gradient(90deg,#90ee90 0,#90ee90 95%,gold 0,gold);border:2px solid #333;border-radius:12px;box-shadow:0 4px 15px #0000001a;height:400px;margin:1.5rem 0;overflow:hidden;position:relative;width:100%}.start-line{background:#27ae60;box-shadow:2px 0 4px #27ae6080;width:4px;z-index:2}.start-line,.start-line:before{bottom:0;left:0;position:absolute;top:0}.start-line:before{background:repeating-linear-gradient(45deg,#27ae60,#27ae60 8px,#2ecc71 0,#2ecc71 16px);content:"";right:0}.horse{align-items:center;display:flex;flex-direction:column;font-weight:600;gap:2px;left:8px;position:absolute;text-shadow:1px 1px 2px #0000004d;transition:none;white-space:nowrap;z-index:1}.horse-emoji{font-size:32px;line-height:1}.horse-name{background:#ffffffe6;border:1px solid #0000001a;border-radius:4px;color:#2c3e50;font-size:10px;font-weight:700;line-height:1.2;max-width:60px;overflow:hidden;padding:2px 5px;text-align:center;text-overflow:ellipsis;text-shadow:0 0 3px #fff}.finish-line{background:gold;box-shadow:-2px 0 4px #ffd70080;width:4px;z-index:2}.finish-line,.finish-line:before{bottom:0;position:absolute;right:0;top:0}.finish-line:before{background:repeating-linear-gradient(45deg,gold,gold 8px,orange 0,orange 16px);content:"";left:0}.winner-display{animation:winnerPulse 2s infinite;background:#f8fff8;border:2px solid #2ecc71;border-radius:12px;box-shadow:0 4px 12px #2ecc7126;color:#2ecc71;font-size:1.6em;font-weight:700;margin:1rem 0;padding:1.5rem;text-align:center}@keyframes winnerPulse{0%,to{transform:scale(1)}50%{transform:scale(1.02)}}.race-history{background:#f8f9fa;border:1px solid #e9ecef;border-radius:12px;margin-top:1rem;padding:1rem}.race-history h4{color:#495057;font-size:1.1em;font-weight:600;margin:0 0 .8rem;text-align:center}.race-history-item{border-bottom:1px solid #f1f3f4;color:#6c757d;font-size:.95em;padding:.5rem 0}.race-history-item:last-child{border-bottom:none}.participant-input-row{align-items:center;display:flex;gap:.5rem;margin-bottom:.5rem}.participant-input-row .game-input{flex:1 1;margin-bottom:0}.participants-section{background:#f8f9fa;border:1px solid #e9ecef;border-radius:12px;margin-top:2rem;padding:1.5rem}.participants-section h4{color:#495057;font-size:1.2em;font-weight:600;margin:0 0 1rem;text-align:center}.btn-add-participant{background:linear-gradient(45deg,#e67e22,#d35400);border:none;border-radius:8px;box-shadow:0 4px 14px #e67e2226;color:#fff;cursor:pointer;display:block;font-size:1.05em;font-weight:700;margin:1rem auto 0;max-width:350px;padding:1rem 2rem;transition:all .3s;width:100%}.btn-add-participant:hover:not(:disabled){box-shadow:0 8px 22px #e67e2238;filter:brightness(.97)}.btn-add-participant:disabled{background:#bdc3c7!important;box-shadow:none!important;color:#7f8c8d!important;cursor:not-allowed}@media (min-width:768px){.race-track{height:450px}.horse-emoji{font-size:36px}.horse-name{font-size:11px;max-width:70px}.winner-display{font-size:1.8em;padding:2rem}.participant-input-row{gap:.8rem}}@media (min-width:1200px){.race-track{height:500px}.horse-emoji{font-size:40px}.horse-name{font-size:12px;max-width:80px}.winner-display{font-size:2em;padding:2.5rem}}.racing-active .race-track{animation:trackShimmer 3s infinite;background:linear-gradient(45deg,#90ee90,#98fb98 25%,#90ee90 50%,#98fb98 75%,#90ee90 95%,gold 0,gold)}@keyframes trackShimmer{0%,to{filter:brightness(1)}50%{filter:brightness(1.05)}}.coin-container{margin-bottom:18px;min-height:110px}.coin,.coin-container{align-items:center;display:flex;justify-content:center}.coin{background:linear-gradient(135deg,#e0e4ed 60%,#f5fbfe);border:2px solid #b8c7e0;border-radius:50%;box-shadow:0 4px 22px #2c568521;color:#2c3e50;font-size:2.1em;font-weight:700;height:90px;margin:0 auto;transition:background .3s,transform .3s;-webkit-user-select:none;user-select:none;width:90px}.flipping{animation:coin-flip 1.5s cubic-bezier(.22,.61,.36,1) forwards}.show-heads{background:linear-gradient(135deg,#e6faf1 60%,#dff3fc);border-color:#33e1ad;color:#158d62}.show-tails{background:linear-gradient(135deg,#fae6ee 30%,#f7e6ee);border-color:#f88cc4;color:#924480}@keyframes coin-flip{0%{transform:scale(1) rotateY(0)}40%{transform:scale(1.1) rotateY(180deg)}80%{transform:scale(1) rotateY(1turn)}to{transform:scale(1) rotateY(1turn)}}.game-textarea{background:#f7fafc;border:1.7px solid #e3e7ea;border-radius:12px;box-sizing:border-box;font-family:Inter,Noto Sans KR,sans-serif;font-size:1.15em;margin-bottom:1rem;min-height:180px;padding:1em;resize:vertical;width:100%}.game-controls{gap:1.3rem;margin-top:1.3rem}.game-controls .calculate-btn,.game-controls .reset-btn{max-width:150px;min-width:120px}@media (max-width:768px){.game-controls{gap:1rem}.game-controls .calculate-btn,.game-controls .reset-btn{font-size:.95em;height:44px;max-width:130px;min-width:100px}}@media (max-width:480px){.game-controls .calculate-btn,.game-controls .reset-btn{font-size:.9em;height:42px;max-width:120px;min-width:90px}}.game-error-message{margin-top:1rem}.seat-result-box{background:#eaf6ff;border-radius:16px;box-shadow:0 2px 12px #37b4ff14;margin-bottom:1.5rem;padding:2rem 1.5rem;text-align:left}.seat-row{align-items:center;background:#f8f9fa;border:1px solid #dee2e6;border-radius:8px;display:flex;justify-content:space-between;margin:.5rem 0;padding:.75rem}.seat-row:nth-child(odd){background:#fff}.seat-row-num{color:#495057;font-weight:700}.seat-row-name{font-size:1.1em}.seat-placeholder{background:#f8f9fa;border:2px dashed #dee2e6;border-radius:8px;color:#6c757d;margin-bottom:1.5rem;padding:3rem;text-align:center}.seat-placeholder-icon{font-size:3em;margin-bottom:1rem}.fortune-cookie-container{align-items:center;background:linear-gradient(135deg,#fff8e1,#ffe0b2);border-radius:20px;box-shadow:0 8px 25px #ffc10726;display:flex;justify-content:center;margin-bottom:2.5rem;padding:2rem}.fortune-cookie{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff4d;border-radius:50%;cursor:pointer;padding:1rem;position:relative;text-align:center;transition:all .3s ease}.fortune-cookie:hover{box-shadow:0 8px 20px #ffc1074d;transform:scale(1.1)}.cookie-shell{display:inline-block;font-size:4rem;transition:all .6s ease}.fortune-cookie.opening .cookie-shell{animation:cookieShake .6s ease-in-out infinite}@keyframes cookieShake{0%,to{transform:rotate(0deg) scale(1)}25%{transform:rotate(-5deg) scale(1.1)}75%{transform:rotate(5deg) scale(1.1)}}.fortune-cookie.opened .cookie-shell{opacity:.7;transform:scale(.8)}.fortune-paper{animation:paperAppear .8s ease-out;font-size:2rem;position:absolute;right:-10px;top:-10px;z-index:2}@keyframes paperAppear{0%{opacity:0;transform:scale(0) rotate(-180deg)}50%{opacity:.5;transform:scale(.5) rotate(-90deg)}to{opacity:1;transform:scale(1) rotate(0deg)}}.game-result-box.fortune-result{background:linear-gradient(135deg,#e8f5e8,#c8e6c9);border:2px solid #4caf501a}.fortune-message{background:#fff9;border-left:4px solid #4caf50;border-radius:12px;color:#1b5e20;font-size:1.2em;font-weight:500;line-height:1.6;margin-top:1rem;padding:1rem}.game-instructions{margin:0 0 1.5rem}@media (max-width:768px){.fortune-cookie-container{margin-bottom:2rem;padding:1.5rem}.cookie-shell{font-size:3rem}.fortune-paper{font-size:1.5rem;right:-5px;top:-5px}.fortune-message{font-size:1.1em}}@media (max-width:480px){.cookie-shell{font-size:2.5rem}.fortune-message{font-size:1em;padding:.8rem}}.omikuji-container{background:linear-gradient(135deg,#fff3e0,#ffccbc);border-radius:20px;box-shadow:0 8px 25px #ff980026;margin-bottom:2.5rem}.omikuji-box,.omikuji-container{align-items:center;display:flex;justify-content:center;padding:2rem}.omikuji-box{background:linear-gradient(145deg,#fff,#f5f5f5);border:2px solid #e0e0e0;border-radius:16px;box-shadow:0 8px 20px #0000001a;cursor:pointer;flex-direction:column;min-height:180px;min-width:240px;position:relative;text-align:center;transition:all .3s ease}.omikuji-box:hover{border-color:#ff9800;box-shadow:0 12px 30px #ff980033;transform:translateY(-5px)}.omikuji-box.drawing{animation:omikujiShake .5s ease-in-out infinite;cursor:not-allowed}@keyframes omikujiShake{0%,to{transform:translateX(0) translateY(0)}25%{transform:translateX(-3px) translateY(-2px)}75%{transform:translateX(3px) translateY(2px)}}.omikuji-icon{font-size:4rem;margin-bottom:1rem;transition:all .3s ease}.omikuji-box.drawing .omikuji-icon{animation:iconSpin 1s linear infinite}@keyframes iconSpin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.omikuji-placeholder{color:#666;font-size:1.1em;font-weight:500}.omikuji-result{background:linear-gradient(135deg,#f8f9ff,#e8eaf6);border:2px solid #c5cae9;text-align:left}.omikuji-level{background:#fffc;border-left:4px solid;border-radius:12px;margin-bottom:1.5rem;padding:1rem;text-align:center}.level-kanji{display:block;font-size:2.5em;font-weight:900;margin-bottom:.3rem;text-shadow:2px 2px 4px #0000001a}.level-korean{font-size:1.2em;font-weight:600;opacity:.8}.omikuji-message{background:#fff9;color:#2c3e50;font-size:1.2em;font-weight:600;text-align:center}.omikuji-advice,.omikuji-message{border-radius:8px;line-height:1.6;margin-bottom:1.5rem;padding:1rem}.omikuji-advice{background:#3498db0d;border-left:4px solid #3498db;color:#34495e;font-size:1.1em}.omikuji-details{margin-top:1.5rem}.omikuji-details h4{color:#2c3e50;font-size:1.2em;margin:0 0 1rem;text-align:center}.details-grid{grid-gap:.8rem;display:grid;gap:.8rem;grid-template-columns:1fr}.detail-item{background:#ffffffb3;border-left:3px solid #e74c3c;border-radius:6px;font-size:.95em;line-height:1.5;padding:.8rem}.detail-item strong{color:#e74c3c;margin-right:.5rem}.tie-to-tree-notice{animation:gentleGlow 2s ease-in-out infinite alternate;background:linear-gradient(135deg,#fff8e1,#ffecb3);border:2px solid #ffc107;border-radius:8px;color:#f57f17;font-size:1em;font-weight:600;line-height:1.6;margin-top:1.5rem;padding:1rem;text-align:center}@keyframes gentleGlow{0%{box-shadow:0 0 5px #ffc1074d}to{box-shadow:0 0 15px #ffc10799}}.game-input-section{background:#f8f9fa;border:1px solid #e9ecef;border-radius:12px;margin-bottom:1.5rem;padding:1.5rem}.game-input-section h3,.game-input-section h4{color:#495057;margin:0 0 1rem}.game-input-section h3{font-size:1.2em;font-weight:600}.game-input-section h4{font-size:1.1em;font-weight:600}.game-instructions{color:#6c757d;line-height:1.6;margin:0;padding-left:1.2rem}.game-instructions li{font-size:.95em;margin-bottom:.5rem}.fortune-levels{grid-gap:.5rem;display:grid;gap:.5rem;grid-template-columns:1fr}.fortune-level{align-items:center;background:#fffc;border:1px solid #e9ecef;border-radius:6px;display:flex;justify-content:space-between;padding:.6rem .8rem}.level-name{font-size:.95em;font-weight:600;white-space:nowrap}.level-prob{color:#6c757d;font-size:.9em;font-weight:500}.game-info-grid{display:block}.info-title{color:#495057;font-size:1.1em;font-weight:600;margin:0 0 1rem}@media (min-width:768px){.game-info-grid{grid-gap:.5rem 2rem;align-items:start;display:grid;gap:.5rem 2rem;grid-template-columns:1fr 1fr;grid-template-rows:auto 1fr}.info-title{margin:0 0 .5rem}.details-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:768px){.omikuji-container{margin-bottom:2rem;padding:1.5rem}.omikuji-box{min-height:120px;min-width:150px;padding:1.5rem}.omikuji-icon{font-size:3rem}.level-kanji{font-size:2em}.details-grid{grid-template-columns:1fr}.game-controls{gap:.8rem}.game-controls .calculate-btn,.game-controls .reset-btn{font-size:.95em;height:44px;max-width:170px;min-width:130px}}@media (max-width:480px){.omikuji-icon{font-size:2.5rem}.level-kanji{font-size:1.8em}.omikuji-message{font-size:1.1em}.game-controls .calculate-btn,.game-controls .reset-btn{font-size:.9em;height:42px;max-width:150px;min-width:110px}}.rps-game-area{align-items:center;background:linear-gradient(135deg,#f0f8ff,#e6f3ff);border-radius:20px;box-shadow:0 8px 25px #3498db26;display:flex;justify-content:space-between;margin-bottom:2.5rem;min-height:200px;padding:2rem}.rps-computer-section,.rps-player-section{flex:1 1;padding:1rem;text-align:center}.rps-computer-section h3,.rps-player-section h3{color:#2c3e50;font-size:1.2em;font-weight:600;margin:0 0 1rem}.rps-vs-section{align-items:center;display:flex;flex:0.3 1;justify-content:center}.rps-vs-text{animation:vsGlow 2s ease-in-out infinite alternate;color:#e74c3c;font-size:2em;font-weight:900;text-shadow:2px 2px 4px #0000001a}@keyframes vsGlow{0%{text-shadow:2px 2px 4px #e74c3c4d}to{text-shadow:2px 2px 8px #e74c3c99}}.rps-choice-display{align-items:center;background:#fffc;border:2px solid #e9ecef;border-radius:16px;box-shadow:0 4px 15px #0000001a;display:flex;flex-direction:column;justify-content:center;min-height:120px;padding:2rem 1rem;transition:all .3s ease}.rps-choice-result{animation:choiceAppear .5s ease-out;text-align:center}@keyframes choiceAppear{0%{opacity:0;transform:scale(.5) rotate(180deg)}to{opacity:1;transform:scale(1) rotate(0deg)}}.rps-emoji{display:block;font-size:3rem;margin-bottom:.5rem}.rps-name{color:#2c3e50;font-size:1.2em;font-weight:600}.rps-waiting{color:#7f8c8d;font-size:1.1em;font-style:italic}.rps-result{animation:resultSlideIn .6s ease-out;text-align:center}@keyframes resultSlideIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.rps-result.win{background:linear-gradient(135deg,#d5f4e6,#a2e5c1);border:2px solid #27ae60;color:#1e8449}.rps-result.lose{background:linear-gradient(135deg,#fdeaea,#f8d7da);border:2px solid #e74c3c;color:#c0392b}.rps-result.draw{background:linear-gradient(135deg,#fff3cd,#ffeaa7);border:2px solid #f39c12;color:#b7950b}.rps-result-message{font-size:1.3em;font-weight:600;line-height:1.5}.rps-choice-buttons{text-align:center}.rps-buttons-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(3,1fr);margin-top:1rem}.rps-choice-btn{background:linear-gradient(45deg,#3498db,#2980b9)!important;border:none!important;border-radius:16px!important;box-shadow:0 6px 15px #3498db4d!important;cursor:pointer!important;min-height:120px!important;padding:1.5rem 1rem!important;transition:all .3s ease!important}.rps-choice-btn:hover:not(:disabled){box-shadow:0 8px 20px #3498db66!important;transform:translateY(-3px)!important}.rps-choice-btn:active{transform:translateY(-1px)!important}.rps-btn-content{align-items:center;color:#fff;display:flex;flex-direction:column;gap:.5rem}.rps-btn-emoji{font-size:2.5rem}.rps-btn-name{font-size:1.1em;font-weight:600}.stat-item.rps-win{background:linear-gradient(135deg,#d5f4e6,#fff);border-color:#27ae60}.stat-item.rps-lose{background:linear-gradient(135deg,#fdeaea,#fff);border-color:#e74c3c}.stat-item.rps-draw{background:linear-gradient(135deg,#fff3cd,#fff);border-color:#f39c12}.stat-item.rps-winrate{background:linear-gradient(135deg,#f4ecf7,#fff);border-color:#9b59b6}.rps-history-list{border-radius:8px;margin-top:1rem;max-height:300px;overflow-y:auto}.rps-history-item{align-items:center;background:#fff;border-left:4px solid #e9ecef;border-radius:8px;display:flex;justify-content:space-between;margin-bottom:.5rem;padding:.8rem;transition:all .3s ease}.rps-history-item:hover{box-shadow:0 2px 8px #0000001a;transform:translateX(5px)}.rps-history-item.win{background:linear-gradient(90deg,#d5f4e6,#fff);border-left-color:#27ae60}.rps-history-item.lose{background:linear-gradient(90deg,#fdeaea,#fff);border-left-color:#e74c3c}.rps-history-item.draw{background:linear-gradient(90deg,#fff3cd,#fff);border-left-color:#f39c12}.rps-history-choices{align-items:center;display:flex;font-size:1.2em;gap:.5rem}.rps-history-choices .vs{color:#7f8c8d;font-size:.8em;font-weight:600}.rps-history-result{color:#2c3e50;font-weight:600}.rps-history-time{color:#7f8c8d;font-size:.85em}@media (max-width:768px){.rps-game-area{flex-direction:column;gap:1rem;min-height:auto;padding:1.5rem}.rps-vs-section{flex:none;order:2}.rps-vs-text{font-size:1.5em}.rps-buttons-grid{gap:.8rem;grid-template-columns:1fr}.rps-choice-btn{min-height:100px!important;padding:1rem!important}.rps-btn-emoji{font-size:2rem}.rps-history-item{flex-direction:column;gap:.5rem;text-align:center}}@media (max-width:480px){.rps-choice-display{min-height:100px;padding:1.5rem .8rem}.rps-emoji{font-size:2.5rem}.rps-btn-emoji{font-size:1.8rem}.rps-choice-btn{min-height:90px!important;padding:.8rem!important}}:root{--board-width:10;--board-height:20;--cell-gap:1px;--board-padding:5px;--cell-size:28px;--next-cell-size:20px}.tetris-card{padding:1rem!important}.tetris-layout{display:flex;flex-direction:column;gap:1.5rem}.tetris-game-info{flex:1 1 100%;order:2}.tetris-main-area{align-items:center;display:flex;flex-direction:column;order:1;width:100%}.tetris-board-container{background:#1d1f27;border:3px solid #555;border-radius:8px;box-shadow:inset 0 0 10px #000000b3;overflow:hidden;padding:5px;padding:var(--board-padding);position:relative}.tetris-board{grid-gap:1px;grid-gap:var(--cell-gap);display:grid;gap:1px;gap:var(--cell-gap);grid-template-columns:repeat(10,28px);grid-template-columns:repeat(var(--board-width),var(--cell-size));grid-template-rows:repeat(20,28px);grid-template-rows:repeat(var(--board-height),var(--cell-size))}.tetris-cell{height:28px;height:var(--cell-size);width:28px;width:var(--cell-size)}.tetris-cell.empty{background:#282c34}.tetris-cell.filled{border:1px solid #ffffff1a;box-shadow:inset 2px 2px 4px #ffffff4d,inset -2px -2px 4px #0000004d}.tetris-side-panel{display:flex;gap:1rem;justify-content:space-around;margin-bottom:1rem;width:100%}.hold-piece-container,.next-piece-container{background:#1a1a2ecc;border-radius:8px;flex:1 1;padding:.8rem;text-align:center}.hold-piece-container h4,.next-piece-container h4{color:#e0e0e0;font-size:.9em;margin:0 0 .8rem}.next-piece-grid{grid-gap:1px;display:grid;gap:1px;grid-template-columns:repeat(4,20px);grid-template-columns:repeat(4,var(--next-cell-size));grid-template-rows:repeat(4,20px);grid-template-rows:repeat(4,var(--next-cell-size));margin:0 auto}.next-piece-cell{height:20px;height:var(--next-cell-size);width:20px;width:var(--next-cell-size)}.next-piece-cell.empty{background:#0000}.tetris-game-over,.tetris-pause-overlay,.tetris-start-screen{align-items:center;background:#000000d9;border-radius:8px;bottom:0;color:#fff;display:flex;flex-direction:column;justify-content:center;left:0;padding:1rem;position:absolute;right:0;text-align:center;top:0;z-index:10}.controls-info{display:flex;gap:1.5rem;justify-content:space-around;margin-top:1.5rem;max-width:400px;text-align:left;width:100%}.controls-section h4{border-bottom:1px solid #00ffff4d;color:#0ff;font-size:1.1em;margin:0 0 .8rem;padding-bottom:.5rem}.controls-section ul{list-style:none;margin:0;padding:0}.controls-section li{color:#ecf0f1;font-size:.95em;margin-bottom:.5rem}kbd{background-color:#ecf0f1;border:1px solid #bdc3c7;border-radius:3px;box-shadow:0 1px 1px #0003,inset 0 2px 0 #ffffffb3;color:#34495e;font-family:monospace;font-size:.85em;font-weight:700;padding:2px 4px;white-space:nowrap}.mobile-controls{background:#0000001a;border-radius:12px;display:none;gap:1rem;margin-top:1.5rem;max-width:320px;padding:1rem;-webkit-user-select:none;user-select:none}.control-row{display:flex;gap:1rem;justify-content:center}@media (min-width:992px){:root{--cell-size:30px;--next-cell-size:22px}.tetris-layout{align-items:flex-start;flex-direction:row}.tetris-game-info{flex-basis:320px;order:2}.tetris-main-area{align-items:flex-start;flex-direction:row;gap:1.5rem;order:1}.tetris-side-panel{flex-direction:column;margin-bottom:0;margin-right:1.5rem;order:1;width:auto}}@media (max-width:480px){:root{--cell-size:calc(10vw - 4px);--next-cell-size:calc(var(--cell-size)*0.7)}.controls-info{flex-direction:column;gap:1rem}}@media (hover:none) and (pointer:coarse){.mobile-controls{display:flex!important}}@media (hover:hover) and (pointer:fine){.mobile-controls{display:none!important}}.ranking-board{background:#f8f9fa;border:1px solid #e9ecef;border-radius:12px;margin-top:2rem;padding:1.5rem}.ranking-board h3{color:#495057;font-size:1.3em;margin:0 0 1.5rem;text-align:center}.ranking-list{list-style:none;margin:0;padding:0}.ranking-item{align-items:center;border-bottom:1px solid #f1f3f4;display:flex;font-size:1.05em;padding:.8rem .5rem}.ranking-item:last-child{border-bottom:none}.rank{color:#868e96;font-style:italic;font-weight:700;text-align:center;width:40px}.rank.gold{color:#f1c40f}.rank.silver{color:#95a5a6}.rank.bronze{color:#d35400}.nickname{color:#2c3e50;flex:1 1;font-weight:600;padding:0 1rem}.score{color:#3498db;font-weight:700}.error-message,.loading-message,.no-ranking-message{color:#6c757d;padding:2rem 0;text-align:center}.ranking-modal-overlay{align-items:center;animation:fadeIn .3s ease;background:#000000b3;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.ranking-modal-content{background:#fff;border-radius:16px;box-shadow:0 10px 30px #0003;max-width:400px;padding:2rem;text-align:center;width:90%}.ranking-modal-content h3{color:#2c3e50;font-size:1.5em;margin:0 0 1rem}.ranking-modal-content p{color:#495057;font-size:1.1em;margin:0 0 1.5rem}.ranking-modal-content .final-score{color:#e74c3c;font-size:2em;font-weight:700;margin-bottom:1.5rem}.ranking-modal-content .input-group{margin-bottom:1.5rem}.ranking-modal-content .button-group{margin-top:0}.sudoku-container{align-items:center;display:flex;flex-direction:column;gap:24px;width:100%}.sudoku-board{background-color:#fff;border:4px solid #333;box-shadow:0 4px 8px #0000001a;display:flex;flex-wrap:wrap;width:324px}.sudoku-row{width:100%}.sudoku-cell,.sudoku-row{box-sizing:border-box;display:flex}.sudoku-cell{align-items:center;border:1px solid #ddd;color:#333;cursor:pointer;font-size:1.25rem;font-weight:700;height:36px;justify-content:center;transition:background-color .2s,border-color .2s;width:11.11111%}.sudoku-cell:nth-child(3n){border-right:3px solid #333}.sudoku-cell:nth-child(9n){border-right:1px solid #ddd}.sudoku-row:nth-child(3n) .sudoku-cell{border-bottom:3px solid #333}.sudoku-row:nth-child(9n) .sudoku-cell{border-bottom:1px solid #ddd}.sudoku-cell:hover{background-color:#e8f5e9}.selected-cell{background-color:#bbdefb}.initial-cell{background-color:#eceff1;color:#263238;cursor:not-allowed}.error-cell{background-color:#ffcdd2;color:#c62828}.button-group{gap:12px}.game-btn{border:none;border-radius:6px;cursor:pointer;font-size:1rem;padding:10px 20px;transition:background-color .3s,transform .1s}.game-btn-primary{background-color:#4caf50;color:#fff}.game-btn-secondary{background-color:#9e9e9e;color:#fff}.game-btn-danger{background-color:#f44336;color:#fff}.game-btn-info{background-color:#2196f3;color:#fff}.mobile-controls{align-items:center;display:flex;flex-direction:column;width:100%}.number-pad{grid-gap:10px;display:grid;gap:10px;grid-template-columns:repeat(3,1fr);margin-top:10px;width:200px}.game-btn-touch-control{align-items:center;background-color:#e0e0e0;border-radius:50%;display:flex;font-size:1.5rem;font-weight:700;height:60px;justify-content:center;width:60px}.game-btn-touch-control.clear-button{background-color:#bdbdbd}:root{--cell-size-mobile:18px;--cell-size-tablet:25px;--cell-size-desktop:32px;--cell-border-width:2px;--board-border-width:4px}.minesweeper-card{margin:0 auto;max-width:100%;position:relative}.minesweeper-controls{align-items:center;display:flex;flex-direction:column;gap:15px;margin-bottom:20px}.difficulty-buttons{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}.game-info{align-items:center;display:flex;font-size:.9rem;font-weight:600;gap:15px;justify-content:space-between;max-width:300px;width:100%}.minesweeper-board-container{-webkit-touch-callout:none;background:linear-gradient(135deg,#f0f0f0,#e0e0e0);border-radius:12px;box-shadow:inset 0 2px 8px #0000001a;display:flex;justify-content:center;margin-bottom:20px;overflow:hidden;padding:15px;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none}.minesweeper-board{grid-gap:0;background-color:#bdbdbd;border:4px solid #7b7b7b;border-bottom:var(--board-border-width) solid #fff;border-left:var(--board-border-width) solid #a3a3a3;border-right:var(--board-border-width) solid #fff;border-top:var(--board-border-width) solid #a3a3a3;box-sizing:initial;display:grid;grid-template-columns:repeat(var(--grid-cols),18px);grid-template-columns:repeat(var(--grid-cols),var(--dynamic-cell-size,var(--cell-size-mobile)));grid-template-rows:repeat(var(--grid-rows),18px);grid-template-rows:repeat(var(--grid-rows),var(--dynamic-cell-size,var(--cell-size-mobile)))}.cell{-webkit-touch-callout:none;align-items:center;background-color:#bdbdbd;border:2px solid;border:var(--cell-border-width) solid;border-color:#fff #7b7b7b #7b7b7b #fff;box-sizing:border-box;cursor:pointer;display:flex;font-size:8.1px;font-size:calc(var(--dynamic-cell-size, var(--cell-size-mobile))*.45);font-weight:700;height:18px;height:var(--dynamic-cell-size,var(--cell-size-mobile));justify-content:center;transition:all .1s ease-in-out;user-select:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;width:18px;width:var(--dynamic-cell-size,var(--cell-size-mobile))}.cell:active:not(.cell-open):not(.cell-flag):not(.cell-question){border-color:#7b7b7b #fff #fff #7b7b7b;transform:translate(1px,1px)}.cell-open{background-color:#cecece;border-color:#9c9c9c;border-width:1px;cursor:default}.cell-mine{background-color:#e57373!important}.cell-flag,.cell-question{background-color:#bdbdbd}.cell-open.cell-number-1{color:#00f}.cell-open.cell-number-2{color:green}.cell-open.cell-number-3{color:red}.cell-open.cell-number-4{color:navy}.cell-open.cell-number-5{color:maroon}.cell-open.cell-number-6{color:teal}.cell-open.cell-number-7{color:#000}.cell-open.cell-number-8{color:grey}.game-result-box{background:linear-gradient(135deg,#fff3cd,#ffeaa7);border:2px solid #f39c12;border-radius:12px;font-size:1.1rem;font-weight:600;margin-top:20px;padding:20px}.game-result-box p{font-size:1.2rem;margin:0 0 15px}@media screen and (max-width:767px){.minesweeper-board-container{overflow:hidden;padding:5px}.minesweeper-board[style*="--grid-cols: 8"]{--dynamic-cell-size:min(35px,calc(12.5vw - 7.5px))}.minesweeper-board[style*="--grid-cols: 16"]{--dynamic-cell-size:min(20px,calc(6.25vw - 3.75px))}.minesweeper-board[style*="--grid-cols: 30"]{--dynamic-cell-size:min(11px,calc(3.33333vw - 2px));--cell-border-width:1px;--board-border-width:2px}.minesweeper-board[style*="--grid-cols: 30"] .cell{border-width:1px;font-size:calc(var(--dynamic-cell-size)*.5)}.minesweeper-board[style*="--grid-cols: 30"]{border-width:2px}}@media screen and (min-width:768px){.minesweeper-board{--dynamic-cell-size:var(--cell-size-tablet)}.game-info{font-size:1rem;max-width:350px}.minesweeper-board-container{padding:20px}}@media screen and (min-width:1024px){.minesweeper-card{max-width:1000px}.minesweeper-board{--dynamic-cell-size:var(--cell-size-desktop)}.game-info{font-size:1.1rem;max-width:400px}.minesweeper-controls{gap:20px}.difficulty-buttons{gap:12px}.minesweeper-board-container{padding:25px}}@media screen and (min-width:1440px){.minesweeper-card{max-width:1200px}.game-info{font-size:1.2rem;max-width:450px}}@media (prefers-reduced-motion:reduce){.cell{transition:none}}@media (prefers-contrast:high){.cell{border-width:3px}.minesweeper-board{border-width:6px}.cell-open.cell-number-1{color:navy}.cell-open.cell-number-2{color:#004000}.cell-open.cell-number-3{color:maroon}}.pinball-stats{background:#0000001a;border:1px solid #e0e0e0;border-radius:10px;display:flex;justify-content:space-around;margin-bottom:1.5rem;padding:1rem}.stat-label{color:#666;font-size:.75em;letter-spacing:1px;text-transform:uppercase}.stat-value{color:#333;font-size:1.6em;font-weight:700}.stat-value.lives{color:#e74c3c;font-size:1.3em}.pinball-container{align-items:flex-start;display:flex;gap:1rem;justify-content:center;position:relative}.pinball-table{background:linear-gradient(180deg,#d7e8f7 0,#a0c4e4);border:8px solid #5a3a22;border-radius:20px;box-shadow:inset 0 0 30px #0000004d,0 5px 20px #0006;overflow:hidden;position:relative;-webkit-user-select:none;user-select:none}.game-overlay{align-items:center;background:#000000bf;border-radius:12px;display:flex;flex-direction:column;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%;z-index:100}.overlay-title{color:#fff;font-size:3.5em;font-weight:700;margin:0;text-shadow:0 0 20px #ffc107}.overlay-score{color:#eee;font-size:1.8em;margin-top:1rem}.ball{background:radial-gradient(circle at 5px 5px,#fff,#ccc);box-shadow:0 2px 5px #00000080;height:16px;width:16px;z-index:50}.ball,.bumper{border-radius:50%;position:absolute}.bumper{border:2px solid #fff9;box-shadow:0 0 10px currentColor,inset 0 0 8px #ffffff80;transition:transform .05s ease,box-shadow .05s ease}.bumper-b0{background:#e74c3c;height:64px;left:168px;top:118px;width:64px}.bumper-b1{background:#2ecc71;left:92px}.bumper-b1,.bumper-b2{height:56px;top:222px;width:56px}.bumper-b2{background:#3498db;left:252px}.bumper-b3{background:#f1c40f;left:136px}.bumper-b3,.bumper-b4{height:48px;top:326px;width:48px}.bumper-b4{background:#9b59b6;left:216px}.bumper-b5{background:#1abc9c;height:52px;left:174px;top:424px;width:52px}.bumper-hit{box-shadow:0 0 30px #fff,0 0 40px currentColor!important;transform:scale(1.1)}.flipper{background:#c0392b;border-radius:8px;box-shadow:0 3px 8px #0009;height:16px;position:absolute;transition:transform .08s linear;width:90px;z-index:40}.flipper-left{bottom:52px;left:75px;transform:rotate(28deg);transform-origin:8% 50%}.flipper-left.active{transform:rotate(-22deg)}.flipper-right{bottom:52px;right:75px;transform:rotate(-28deg);transform-origin:92% 50%}.flipper-right.active{transform:rotate(22deg)}.slingshot{border-style:solid;height:0;position:absolute;width:0;z-index:30}.slingshot-left{border-color:#0000 #34495e #0000 #0000;border-width:0 60px 84px 0;bottom:64px;left:10px}.slingshot-right{border-color:#34495e #0000 #0000;border-width:84px 60px 0 0;bottom:64px;right:10px}.launcher-guide{background:#0000001a;border-left:3px solid #7f8c8d;height:295px;position:absolute;right:5px;top:400px;width:50px}.power-gauge-container{align-items:center;display:flex;flex-direction:column;gap:.5rem}.power-label{color:#333;font-size:.9em;font-weight:700}.power-gauge{background:#ecf0f1;border:3px solid #bdc3c7;border-radius:8px;height:200px;position:relative;width:40px}.power-fill{background:linear-gradient(0deg,#27ae60,#f1c40f,#e74c3c);border-radius:5px;bottom:0;left:0;position:absolute;transition:height .05s linear;width:100%}.game-message{animation:fadeOut 1.5s ease-out forwards;color:#fff;font-size:2.5em;font-weight:700;left:50%;pointer-events:none;position:absolute;text-shadow:0 0 15px #000000b3;top:40%;transform:translate(-50%,-50%);z-index:60}@keyframes fadeOut{0%{opacity:1;transform:translate(-50%,-50%) scale(1)}to{opacity:0;transform:translate(-50%,-80%) scale(1.3)}}.pinball-controls{margin-top:1.5rem;text-align:center}.control-instructions{color:#666;font-size:.9em;line-height:1.6;margin-top:1rem}.control-instructions strong{color:#333}html{box-sizing:border-box;font-size:16px;height:100%}body{background:linear-gradient(135deg,#f5f7fa,#c3cfe2);font-family:Inter,Noto Sans KR,sans-serif;margin:0;min-height:100vh;overflow-x:hidden;padding:0;width:100%}*,:after,:before{box-sizing:inherit}.calculator-app-container{background-color:#f8f9fa;border-radius:16px;box-shadow:0 10px 30px #0000001a;margin:1rem auto;max-width:none;padding:1rem .5rem;width:100%}.main-title{color:#2c3e50;font-size:1.8em;font-weight:800;margin-bottom:1.5rem;text-align:center}.calculator-card,.game-card{background:#fff;border-radius:20px;box-shadow:0 10px 30px #00000014;color:#333;font-family:Inter,Noto Sans KR,sans-serif;margin:0 auto;max-width:100%;padding:2rem}.calculator-card,.content-wrapper,.game-card{display:flex;flex-direction:column;width:100%}.content-wrapper{gap:1.5rem}.input-section{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:1fr}.input-group{margin-bottom:0}.input-group label{color:#555;display:block;font-size:.98em;font-weight:600;margin-bottom:.4em}.calculator-input,.game-input,input.calculator-input,input.game-input,select.calculator-input{background:#fff;border:1px solid #dfe4ea;border-radius:8px;box-sizing:border-box;font-family:Inter,Noto Sans KR,sans-serif;font-size:1.05em;padding:.7em 1em;width:100%}.calculator-input:focus,.game-input:focus,input.calculator-input:focus,input.game-input:focus,select.calculator-input:focus{border-color:#3498db;box-shadow:0 0 0 2px #3498db12;outline:none;transition:border-color .3s ease,box-shadow .3s ease}.calculator-input:disabled,.game-input:disabled,input.calculator-input:disabled,input.game-input:disabled,select.calculator-input:disabled{background-color:#f1f3f5;color:#adb5bd;cursor:not-allowed}.button-group{align-items:center;display:flex;flex-wrap:wrap;gap:1rem;justify-content:center;margin-top:1.5rem}.main-menu-container{background-color:#fff;border-radius:16px;box-shadow:0 8px 25px #00000014;margin-bottom:2.5rem;overflow:hidden}.category-tabs{background-color:#f8f9fa;border-bottom:1px solid #e9ecef;display:flex;flex-wrap:wrap}.category-tab{background:none;border:none;border-bottom:3px solid #0000;color:#868e96;cursor:pointer;flex:1 1;font-size:1em;font-weight:700;padding:1rem .5rem;text-align:center;transition:all .3s ease;white-space:nowrap}.category-tab:hover{color:#343a40}.category-tab.active{border-bottom-color:#3498db;color:#3498db}.category-content-area{min-height:100px;padding:1.5rem}.switcher-buttons{display:flex;flex-wrap:wrap;gap:.8rem;justify-content:center}.switcher-button{background-color:#dee2e6;border-radius:14px;box-shadow:0 4px 12px #00000014;color:#495057;cursor:pointer;font-size:.95em;font-weight:700;padding:.6rem 1.2rem;text-decoration:none;transition:all .3s ease;white-space:nowrap}.switcher-button:hover{background-color:#ced4da;transform:translateY(-1px)}.switcher-button.active-calc,.switcher-button.active-game{color:#fff;transform:translateY(-3px)}.switcher-button.active-calc{background:linear-gradient(45deg,#1abc9c,#16a085);box-shadow:0 8px 20px #1abc9c59}.switcher-button.active-game{background:linear-gradient(45deg,#2ecc71,#27ae60);box-shadow:0 8px 20px #2ecc7159}.search-container{margin-bottom:2rem;margin-left:auto;margin-right:auto;max-width:600px}.search-input{border:1px solid #dfe4ea;border-radius:16px;box-shadow:0 4px 15px #0000000d;font-size:1.1em;padding:1rem 1.5rem;width:100%}.search-input:focus{border-color:#3498db;box-shadow:0 0 0 3px #3498db1a}.feature-content-area{margin-top:2rem}.content-guide-container{background-color:#fff;border-radius:20px;box-shadow:0 10px 30px #00000014;margin:0 auto;padding:2.5rem}.content-guide-container .page-main-title{color:#2c3e50;font-size:2.2em;font-weight:800;line-height:1.3;margin-bottom:1rem;text-align:center}.content-guide-container .page-intro{color:#495057;font-size:1.1em;line-height:1.7;margin-bottom:2.5rem;margin-left:auto;margin-right:auto;max-width:800px;text-align:center}.content-guide-container .section-title{border-bottom:2px solid #ecf0f1;color:#3498db;font-size:1.8em;font-weight:700;margin-bottom:1.5rem;margin-top:3.5rem;padding-bottom:.5rem}.content-guide-container .section-content li,.content-guide-container .section-content p{color:#34495e;font-size:1.05em;line-height:1.8;margin-bottom:1rem}.content-guide-container .section-content ul{list-style-type:"✓ ";padding-left:25px}.content-guide-container .section-content strong{color:#2980b9}.content-guide-container>.calculator-card,.content-guide-container>.game-card{box-shadow:none;margin-top:2.5rem;padding:0}.result-box{background:#eaf6ff;border-radius:16px;box-shadow:0 4px 20px #3498db14;font-size:1.05em;margin-top:1.5rem;padding:1.8rem;text-align:left}.result-item{align-items:center;border-bottom:1px solid #3498db1a;display:flex;font-size:1.05em;justify-content:space-between;padding:.7rem 0}.result-item:last-child{border-bottom:none}.result-item strong{color:#2c3e50;font-weight:600}.result-item.total{font-size:1.1em;font-weight:700}.result-item-divider{background-color:#3498db33;height:1px;margin:.5rem 0}.game-result-box{background:#eaf6ff;border-radius:16px;box-shadow:0 4px 20px #3498db14;font-size:1.05em;margin-left:auto;margin-right:auto;margin-top:1.5rem;max-width:600px;padding:1.8rem;text-align:center;width:100%}.additional-info,.game-input-section,.stats-section{background:#f8f9fa;border:1px solid #e9ecef;border-radius:12px;margin-bottom:1.5rem;padding:1.5rem}.additional-info h4,.game-input-section h3,.game-input-section h4,.stats-section h3,.stats-section h4{color:#495057;font-size:1.2em;font-weight:600;margin:0 0 1rem;text-align:left}.stats-section h3,.stats-section h4{text-align:center}.additional-info p{color:#6c757d;font-size:1em;line-height:1.5;margin:0 0 .5rem}.stats-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(100px,1fr))}.stat-item{align-items:center;background:#fff;border:1px solid #e9ecef;border-radius:12px;display:flex;flex-direction:column;justify-content:center;min-height:80px;padding:1rem .5rem;text-align:center;transition:all .3s ease}.stat-item:hover{box-shadow:0 4px 12px #00000014;transform:translateY(-2px)}.stat-label{color:#6c757d;font-size:.9em;font-weight:500;margin-bottom:.3rem}.stats-section .stat-item .stat-value{color:#2c3e50;font-size:1.4em;font-weight:700}.game-controls{align-items:center;display:flex;gap:1rem;justify-content:center;margin-top:1.5rem}.game-controls .calculate-btn,.game-controls .reset-btn{align-items:center;box-sizing:border-box;display:flex;flex:1 1;font-size:1rem;height:48px;justify-content:center;max-width:200px;min-width:150px;padding:0;white-space:nowrap}.tab-buttons{border-bottom:2px solid #e9ecef;display:flex;gap:.5rem;margin-bottom:2rem;padding-bottom:1rem}.tab-buttons .game-btn{flex:1 1}.target-price-section{border-top:1px solid #3498db33;margin-top:1.5rem;padding-top:1.5rem}.target-price-section h4{color:#2c3e50;font-size:1.1em;margin:0 0 1rem;text-align:left}.target-price-result{background-color:#f8f9fa;border-radius:8px;font-size:1.1em;margin-top:1rem;padding:1rem;text-align:center}.target-price-result strong{color:#e74c3c;font-size:1.2em}.trade-list{margin-bottom:1.5rem}.trade-item,.trade-list h4{margin-bottom:.5rem}.trade-item{background-color:#f8f9fa;border-radius:6px;padding:.5rem 1rem}.success-message{background-color:#d4edda;border:1px solid #c3e6cb;color:#155724}.content-wrapper.layout-vertical .info-section{align-items:center;display:flex;flex-direction:column;justify-content:center}@media (max-width:768px){.content-guide-container{padding:1.5rem}.content-guide-container .page-main-title{font-size:1.8em}.content-guide-container .section-title{font-size:1.5em}}@media (min-width:768px){.calculator-app-container{max-width:100%;padding:1.5rem}.main-title{font-size:2.2em;margin-bottom:2rem}.content-wrapper{flex-direction:row}.form-section{flex:1 1 60%;min-width:280px}.info-section{flex:1 1 40%;min-width:280px}}@media (min-width:1200px){.calculator-app-container{max-width:1200px;padding:2rem 2.5rem}.main-title{font-size:2.5em;margin-bottom:2.5rem}}@media (min-width:768px){.content-wrapper.layout-vertical{flex-direction:column!important}.content-wrapper.layout-vertical .form-section,.content-wrapper.layout-vertical .info-section{flex-basis:auto;width:100%}}.main-navigation{background:linear-gradient(135deg,#667eea,#764ba2);box-shadow:0 2px 10px #0000001a;padding:1rem 0}.nav-container{align-items:center;display:flex;justify-content:space-between;margin:0 auto;max-width:1200px;padding:0 2rem}.nav-logo{color:#fff;font-size:1.5rem;font-weight:700;text-decoration:none;transition:all .3s ease}.nav-logo:hover{transform:scale(1.05)}.nav-menu{align-items:center;display:flex;gap:2rem}.nav-link{border-radius:8px;color:#fff;font-weight:500;padding:.5rem 1rem;text-decoration:none;transition:all .3s ease}.nav-link:hover{background-color:#fff3;transform:translateY(-2px)}.nav-hamburger{cursor:pointer;display:none;flex-direction:column}.nav-bar{background-color:#fff;height:3px;margin:3px 0;transition:.3s;width:25px}@media (max-width:768px){.nav-menu{background:linear-gradient(135deg,#667eea,#764ba2);box-shadow:0 10px 27px #0000000d;flex-direction:column;left:-100%;padding:2rem 0;position:fixed;text-align:center;top:70px;transition:.3s;width:100%;z-index:1000}.nav-menu-active{left:0}.nav-hamburger{display:flex}}.main-footer{background:linear-gradient(135deg,#2c3e50,#34495e);color:#fff;margin-top:4rem}.footer-container{margin:0 auto;max-width:1200px;padding:3rem 2rem 1rem}.footer-content{grid-gap:2rem;display:grid;gap:2rem;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));margin-bottom:2rem}.footer-section h3{color:#3498db;margin-bottom:1rem}.footer-section h4{color:#ecf0f1;font-size:1.1rem;margin-bottom:1rem}.footer-section p{color:#bdc3c7;line-height:1.6}.footer-section ul{list-style:none;padding:0}.footer-section ul li{margin-bottom:.5rem}.footer-section ul li a{color:#bdc3c7;text-decoration:none;transition:color .3s ease}.footer-section ul li a:hover{color:#3498db}.footer-bottom{border-top:1px solid #34495e;color:#95a5a6;padding-top:1rem;text-align:center}@media (max-width:768px){.footer-content{gap:1.5rem;grid-template-columns:1fr}.footer-container{padding:2rem 1rem 1rem}}.policy-page{background:linear-gradient(135deg,#f5f7fa,#c3cfe2);min-height:80vh;padding:2rem 0}.policy-container{background:#fff;border-radius:20px;box-shadow:0 10px 30px #0000001a;margin:0 auto;max-width:100%;padding:2rem 1rem;width:100%}.policy-title{color:#2c3e50;font-size:1.8rem;font-weight:700;margin-bottom:1rem;text-align:center}.policy-updated{color:#7f8c8d;font-style:italic;margin-bottom:2rem;text-align:center}.policy-content{color:#2c3e50;line-height:1.8}.policy-section{margin-bottom:2rem}.policy-section h2{border-bottom:2px solid #ecf0f1;color:#3498db;font-size:1.2rem;margin-bottom:1rem;padding-bottom:.5rem}.policy-section h3{color:#2c3e50;font-size:1.1rem;margin:1.5rem 0 .8rem}.policy-section ol,.policy-section ul{margin:1rem 0;padding-left:2rem}.policy-section li{margin-bottom:.5rem}.policy-section a{color:#3498db;text-decoration:none}.policy-section a:hover{text-decoration:underline}.contact-info{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:1fr;margin-bottom:2rem}.contact-item{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:12px;color:#fff;padding:1.5rem;text-align:center}.contact-item h3{font-size:1.2rem;margin-bottom:1rem}.contact-form{background:#f8f9fa;margin-top:1.5rem}.form-group{margin-bottom:1.5rem}.form-group label{color:#2c3e50;display:block;font-weight:600;margin-bottom:.5rem}.form-group input,.form-group textarea{border:2px solid #e9ecef;border-radius:8px;font-size:1rem;padding:1rem;transition:border-color .3s ease;width:100%}.form-group input:focus,.form-group textarea:focus{border-color:#3498db;outline:none}.submit-btn{background:linear-gradient(45deg,#3498db,#2980b9);border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:1.1rem;font-weight:600;padding:1rem 2rem;transition:all .3s ease;width:100%}.submit-btn:hover:not(:disabled){box-shadow:0 6px 16px #3498db4d;transform:translateY(-2px)}.submit-btn:disabled{background:#95a5a6;cursor:not-allowed;transform:none}.success-message{background:linear-gradient(135deg,#2ecc71,#27ae60);border-radius:8px;color:#fff;font-weight:600;margin-top:1rem;padding:1rem;text-align:center}.disclaimer-notice{background:linear-gradient(135deg,#f39c12,#e67e22);border-radius:12px;color:#fff;margin-top:2rem;padding:1.5rem;text-align:center}.contact-content{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:1fr;margin:0 auto;max-width:100%}.contact-form{background:#fff;border-radius:12px;box-shadow:0 4px 12px #0000001a;padding:1.5rem}.contact-actions{display:flex;flex-direction:column;gap:1rem;margin-top:1rem}.submit-btn.primary{background:#007bff;color:#fff}.submit-btn.secondary{background:#6c757d;color:#fff}@media (min-width:768px){.policy-container{max-width:900px;padding:2.5rem 2rem}.policy-title{font-size:2.2rem;margin-bottom:2rem}.policy-updated{margin-bottom:3rem}.policy-section{margin-bottom:2.5rem}.policy-section h2{font-size:1.4rem}.policy-section h3{font-size:1.2rem}.contact-info{gap:2rem;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));margin-bottom:3rem}.contact-item{padding:2rem}.contact-item h3{font-size:1.3rem}.contact-form{margin-top:2rem;padding:2rem}.contact-content{gap:2rem;grid-template-columns:2fr 1fr}.contact-actions{flex-direction:row}}@media (min-width:1200px){.policy-container{max-width:1200px;padding:3rem 2.5rem}.policy-title{font-size:2.5rem;margin-bottom:2.5rem}.policy-section h2{font-size:1.5rem}.policy-section h3{font-size:1.3rem}.contact-form,.contact-item{padding:2.5rem}}@media (max-width:767px){.policy-page{padding:1rem .5rem}.policy-container{border-radius:15px;box-sizing:border-box;margin:0;padding:2rem 1.5rem}.policy-title{font-size:1.8rem}}.history-list{display:flex;flex-direction:column;gap:1.5rem}.history-item{background:#fff;border:1px solid #e9ecef;border-radius:12px;box-shadow:0 4px 12px #0000000d;padding:1.5rem;transition:box-shadow .3s ease}.history-item:hover{box-shadow:0 6px 16px #00000014}.history-item-header{align-items:center;border-bottom:1px solid #f1f3f4;display:flex;justify-content:space-between;margin-bottom:1rem;padding-bottom:1rem}.history-item-type{color:#3498db;font-size:1.2em;font-weight:700}.history-item-timestamp{color:#7f8c8d;font-size:.9em}.history-item-body{margin-bottom:1.5rem}.history-item-result{color:#2c3e50;font-size:1.1em;margin:0}.history-item-result strong{font-weight:600;margin-right:.5rem}.history-item-footer{text-align:right}.history-button{font-size:.9em!important;height:auto!important;min-width:auto!important;padding:.5rem 1rem!important}.history-empty{background:#f8f9fa;border:2px dashed #dee2e6;border-radius:12px;padding:4rem 2rem;text-align:center}.history-empty p{color:#6c757d;font-size:1.1em;margin:.5rem 0}.history-clear-container{margin-top:2rem;text-align:center}.game-records-grid{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}.record-item{background:linear-gradient(135deg,#f8f9fa,#e9ecef);border:1px solid #dee2e6;border-radius:12px;padding:1.5rem;text-align:center}.record-item h4{color:#495057;font-size:1.2em;margin:0 0 1rem}.record-score{color:#3498db;font-size:2em;font-weight:700;margin:0}.record-sub-items p{color:#2c3e50;font-size:1em;margin:.5rem 0}
/*# sourceMappingURL=main.14b5efe5.css.map*/