:root{background-color:#2c72b8;font-family:kanit,sans-serif}.navbar-container{width:100%;display:flex;justify-content:center}.navbar{width:1440px;height:96px;border-radius:24px;display:flex;align-items:center;justify-content:space-between;padding:0 40px;background:#fff}.logo{height:50px;width:auto}.navbar ul{display:flex;list-style:none;margin:0;padding:0;gap:24px}.navbar li{cursor:pointer;font-weight:400;padding:20px;transition:all .1s ease;font-size:21px;color:#b3b3b3;position:relative}.navbar li a{color:#b3b3b3;text-decoration:none;display:flex;align-items:center;gap:8px}.navbar li img{width:20px;height:20px;position:absolute;left:-6px;top:50%;transform:translateY(-50%);opacity:0;transition:opacity .1s ease}.navbar li.active img{opacity:1}.navbar li.active a{color:#2c72b8;font-weight:400}@media(max-width:768px){.navbar{width:100%;max-width:100%;height:80px;padding:0 20px;border-radius:0}.logo{height:40px}.navbar ul{gap:12px}.navbar li{padding:12px;font-size:16px}}@media(max-width:480px){.navbar{height:70px;padding:0 15px}.logo{height:35px}.navbar ul{gap:8px}.navbar li{padding:10px 8px;font-size:14px}.navbar li img{width:16px;height:16px;left:-4px}}.hamburger{display:none;font-size:28px;cursor:pointer;color:#2c72b8}@media(max-width:768px){.navbar{flex-wrap:wrap;justify-content:space-between;position:relative;border-radius:12px}.navbar ul{display:none;flex-direction:column;width:100%;margin:0;padding:0;gap:8px;background:#fff;position:absolute;top:64px;left:0;border-radius:0 0 12px 12px;box-shadow:0 4px 8px #0000001a;z-index:100;align-items:center}.navbar ul.active{display:flex;text-align:center}.navbar li{font-size:16px;padding:10px 12px;justify-content:flex-start}.navbar li img{width:16px;height:16px;left:-12px}.hamburger{display:block}}.home-container{display:flex;align-items:center;justify-content:space-between;padding:0;max-width:1440px;margin:150px auto}.intro{flex:1;padding-right:40px;display:flex;flex-direction:column;align-items:flex-start}.intro button{background-color:transparent;color:#9acdff;border:2px solid #9acdff;width:172px;height:57px;padding:16px 32px;font-size:21px;border-radius:100px;cursor:pointer;font-weight:400;gap:10px}.description h3{color:#fff;font-size:38px;text-align:left;width:100%;font-weight:500;margin:0;padding:0}.description h1{color:#fff;font-size:48px;margin:10px 0;text-align:left;width:100%}.battle-text{color:#fff;font-size:24px;line-height:1.6;text-align:left;width:100%;white-space:pre-line;max-width:628px}.pokemon-image{flex:1;text-align:center}.pokemon-image img{max-width:100%;height:auto}@media screen and (max-width:1024px){.home-container{margin:100px auto;padding:0 20px}.battle-text{white-space:normal}}@media screen and (max-width:768px){.battle-text{white-space:normal}.home-container{flex-direction:column;margin:80px auto;padding:0 15px}.intro{padding-right:0;margin-bottom:40px}.intro button{width:180px;height:54px;padding:15px 30px;font-size:20px;align-self:center}.description h3{font-size:28px}.description h1{font-size:36px}.description p{font-size:18px;margin-bottom:30px}.pokemon-image{width:100%}.pokemon-image img{max-width:80%}}@media screen and (max-width:480px){.home-container{margin:60px auto;padding:0 10px}.description h3{font-size:24px}.description h1{font-size:32px;margin:8px 0}.description p{font-size:16px;margin-bottom:25px}.intro button{width:160px;height:50px;padding:14px 28px;font-size:18px}.pokemon-image img{max-width:90%;order:-1}}.battle{display:flex;flex-direction:column;align-items:center;max-width:1440px;margin:0 auto}.battle h1{color:#fff;font-size:40px;font-weight:400;margin:45px 0}.battle-instruction{display:flex;flex-direction:row;align-items:center;gap:140px}.battle-container-1{display:flex;flex-direction:column}.battle-input-container{position:relative;max-width:518px;width:518px;height:55px;border-radius:16px;overflow:hidden;border:4px solid rgba(255,255,255,.3)}.battle-clickable-bar{display:flex;align-items:center;justify-content:space-between;background:#fff;border-radius:12px;cursor:pointer;position:relative;height:100%}.battle-clickable-bar select{flex:1;border:none;outline:none;font-size:18px;background:transparent;color:#666;appearance:none;-webkit-appearance:none;-moz-appearance:none;cursor:pointer;padding:18px 0}.battle-clickable-bar img.right-up{position:absolute;right:10px;pointer-events:none;width:20px;height:20px}.battle-clickable-bar img.left-icon{margin-right:10px;pointer-events:none}.battle-search-label{color:#fff;text-align:left;max-width:518px}.battle-search-label h4{color:#fff;font-weight:500;margin-top:0;margin-bottom:10px;text-align:left}.battle-search-input{border:none;outline:none;font-size:18px;flex:1}.battle-search-input{appearance:none}.battle-input-option{color:#666;font-weight:300;font-size:18px}.battle-card-detail{display:flex;flex-direction:column;gap:8px;text-align:center}.battle-card-detail h2{font-size:32px;color:#212121;font-weight:500;margin:20px 0 0}.battle-card-detail span{font-size:18px;color:#636363;font-weight:400}.pokemon-card-1{justify-content:center;align-items:center;margin-top:40px;width:518px;height:356px;background:#fff;display:flex;gap:24px;border-radius:16px;border:4px solid rgb(129,169,212)}.pokemon{width:192px;height:186px}.pokemon-stats{display:flex;flex-direction:column;margin-top:16px;text-align:left}.pokemon-stats label{display:flex;flex-direction:column;margin-top:16px}.stats-hr{border:none;height:1px;background-color:#3b3b3b}.hp{display:inline-flex;align-items:baseline;gap:16px}.hp label{font-family:300;font-size:18px;color:#636363}.hp span{font-family:400;font-size:18px;color:#454545;margin-left:68px}.moves{display:flex;flex-direction:row;gap:16px}.moves ul{list-style:none}.moves label{font-family:300;font-size:18px;color:#636363}.moves span ul li{font-family:400;font-size:18px;color:#454545}.stats-hr{border:none;border:1px solid #dfdfdf;margin:10px 0}.vs{margin-top:100px;display:inline-flex}.vs-img{width:107px;height:182px}.battle-container-2{display:flex;flex-direction:column}.start-battle-button{margin-top:40px;background-color:transparent;color:#9acdff;border:2px solid #9acdff;width:375px;height:94px;font-size:24px;border-radius:100px;cursor:pointer;font-weight:400;padding:28px 64px}.winner-badge{position:absolute;width:102px;height:102px;animation:pop .4s ease;margin:-270px 0 0 -410px}@keyframes pop{0%{transform:translate(-50%) scale(.8);opacity:0}to{transform:translate(-50%) scale(1);opacity:1}}.faded{opacity:.4;transition:opacity .3s ease}.pokemon-card-1{position:relative}@media screen and (max-width:1200px){.battle{padding:0 20px}}@media screen and (max-width:1024px){.battle-instruction{gap:80px}.pokemon-card-1{width:450px;height:320px}.battle-input-container{width:450px}.winner-badge{margin:-250px 0 0 -360px;width:90px;height:90px}}@media screen and (max-width:900px){.battle-instruction{gap:50px}.pokemon-card-1{width:400px;height:300px;gap:20px}.battle-input-container{width:400px}.pokemon{width:170px;height:165px}.winner-badge{margin:-230px 0 0 -320px;width:80px;height:80px}}@media screen and (max-width:768px){.battle{padding:0 15px}.battle h1{font-size:32px;margin:30px 0;text-align:center}.battle-instruction{flex-direction:column;gap:40px}.battle-container-1,.battle-container-2{align-items:center}.battle-search-label{text-align:center;max-width:100%}.battle-search-label h4{text-align:center}.battle-input-container{width:100%;max-width:488px;height:50px}.pokemon-card-1{width:100%;max-width:488px;height:auto;min-height:300px;flex-direction:column;padding:20px;margin-top:20px;gap:16px}.pokemon{width:150px;height:145px}.battle-card-detail h2{font-size:28px;margin:10px 0 0}.battle-card-detail span{font-size:16px}.pokemon-stats{width:100%;align-items:center}.hp span{margin-left:40px}.hp label,.hp span,.moves label,.moves span ul li{font-size:16px}.vs{margin-top:20px;margin-bottom:20px}.vs-img{width:80px;height:136px}.start-battle-button{width:100%;max-width:375px;height:80px;font-size:22px;padding:20px 40px;margin-top:30px}.winner-badge{position:absolute;width:70px;height:70px;margin:-310px 0 0 -140px;left:50%;top:50%}}@media screen and (max-width:480px){.battle{padding:0 10px}.battle h1{font-size:28px;margin:20px 0}.battle-input-container{height:48px;border-radius:14px}.battle-clickable-bar select{font-size:16px;padding:16px 0}.battle-clickable-bar img.right-up{width:18px;height:18px}.battle-search-input,.battle-input-option{font-size:16px}.pokemon-card-1{padding:16px;min-height:280px}.pokemon{width:130px;height:125px}.battle-card-detail h2{font-size:24px}.battle-card-detail span{font-size:14px}.hp,.moves{font-size:16px}.hp span{margin-left:30px}.pokemon-stats h2,.stats-hr{margin:0}.vs-img{width:60px;height:102px}.start-battle-button{height:70px;font-size:20px;padding:16px 32px;margin-top:20px}.winner-badge{width:60px;height:60px;margin:-180px 0 0 -180px}}@media screen and (max-width:360px){.battle h1{font-size:24px}.pokemon-card-1{padding:12px}.battle-card-detail h2{font-size:22px}.start-battle-button{height:60px;font-size:18px;padding:14px 28px}.hp span{margin-left:20px}.hp label,.hp span,.moves label,.moves span ul li{font-size:14px}.winner-badge{width:50px;height:50px;margin:-220px 0 0 -120px}}@media screen and (max-width:768px)and (orientation:landscape){.battle-instruction{flex-direction:row;gap:30px}.pokemon-card-1{min-height:250px;padding:15px}.pokemon{width:120px;height:115px}.battle-card-detail h2{font-size:22px}.winner-badge{width:50px;height:50px;margin:-150px 0 0 -150px}}@media(pointer:coarse){.battle-clickable-bar{cursor:pointer}.start-battle-button{min-height:44px}}@media(prefers-reduced-motion:reduce){.winner-badge{animation:none}.faded{transition:none}}.pokedex-container{max-width:1440px;margin:0 auto;font-family:Arial,sans-serif}.header{margin-bottom:30px}.pokedex-hr{border:none;height:1px;background-color:#5295de;margin:30px 0}.title{font-size:40px;font-weight:400;color:#fff;margin:40px 0;text-align:left}.semi-title{font-weight:300;color:#fff;font-size:16px}.search-section-container{display:flex;gap:24px;justify-content:space-between}.search-clickable-bar{display:flex;align-items:center;justify-content:space-between;background:#fff;border-radius:12px;cursor:pointer;position:relative;width:100%}.search-clickable-bar select{flex:1;border:none;outline:none;font-size:18px;background:transparent;color:#666;appearance:none;-webkit-appearance:none;-moz-appearance:none;cursor:pointer;padding:18px 0}.search-clickable-bar img.right-up{position:absolute;right:10px;pointer-events:none;width:20px;height:20px}.search-clickable-bar img.left-icon{margin-right:10px;pointer-events:none}.search-label h4{color:#fff;font-weight:500;margin-top:0;margin-bottom:10px;text-align:left}.search-container{width:auto}.search-input-container{display:flex;align-items:center;background:#fff;border-radius:16px;width:410px;height:55px;border:4px solid rgb(129,169,212)}.search-input-container button{background:none;border:none;padding:0;margin:0}.search-input-container select{appearance:none}.left-icon{width:18px;height:18px;margin-right:10px;padding-left:15px}.search-input{border:none;outline:none;flex:1;font-size:16px}.search-input-option{color:#666;font-weight:300;font-size:18px}.right-icon{width:52px;height:52px;cursor:pointer}.right-up{width:16px;height:16px;cursor:pointer;margin-right:15px}.vertical-line{width:1px;background-color:#e5e7eb;height:55px;margin:0 8px}.pokemon-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(236px,1fr));gap:24px;margin-top:30px;margin-bottom:60px;justify-items:center}.card{max-width:236px;max-height:286px;width:236px;height:286px;background:#fff;border-radius:16px;border:4px solid rgb(129,169,212)}.card img{align-self:center;width:160px;height:160px;margin:16px auto 0}.card-detail{text-align:center}.card-detail h2{font-size:24px;font-weight:500;color:#212121;margin:12px 0}.card-detail span{font-size:18px;font-weight:400;color:#636363}@media screen and (max-width:1200px){.pokedex-container{padding:0 20px}}@media screen and (max-width:1024px){.search-section-container{flex-wrap:wrap;gap:20px}.pokemon-list{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:20px}}@media screen and (max-width:768px){.pokedex-container{padding:0 15px}.title{font-size:32px;margin:30px 0;text-align:center}.semi-title{font-size:14px;text-align:center}.search-section-container{flex-direction:column;align-items:center;gap:15px}.search-label{width:100%;max-width:410px}.search-label h4{text-align:center}.search-container{width:100%;display:flex;flex-direction:column;align-items:center}.search-input-container{width:100%;max-width:410px;height:50px}.search-clickable-bar{width:100%;max-width:410px}.search-clickable-bar select{font-size:16px;padding:16px 0}.search-clickable-bar img.right-up{width:18px;height:18px}.pokemon-list{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:16px;margin-top:20px;margin-bottom:40px}.card{max-width:160px;max-height:220px;width:160px;height:220px}.card img{width:120px;height:120px;margin:12px auto 0}.card-detail h2{font-size:20px;margin:8px 0}.card-detail span{font-size:16px}.pokedex-hr{margin:20px 0}}@media screen and (max-width:480px){.pokedex-container{padding:0 10px}.title{font-size:28px;margin:20px 0}.semi-title{font-size:13px}.search-input-container{height:48px;border-radius:14px}.search-clickable-bar{border-radius:10px}.search-clickable-bar select{font-size:14px;padding:14px 0}.search-clickable-bar img.right-up{width:16px;height:16px;right:8px}.search-clickable-bar img.left-icon{width:16px;height:16px;margin-right:8px}.pokemon-list{grid-template-columns:repeat(2,1fr);gap:12px;margin-top:15px;margin-bottom:30px}.card{max-width:100%;max-height:200px;width:100%;height:200px}.card img{width:100px;height:100px;margin:10px auto 0}.card-detail h2{font-size:18px;margin:6px 0}.card-detail span,.search-input{font-size:14px}.search-input-option{font-size:16px}.left-icon{width:16px;height:16px}.right-icon{width:44px;height:44px}.vertical-line{height:48px}}@media screen and (max-width:360px){.pokemon-list{grid-template-columns:1fr;gap:10px}.card{max-width:280px;margin:0 auto}.title{font-size:24px}}@media screen and (max-width:768px)and (orientation:landscape){.pokemon-list{grid-template-columns:repeat(3,1fr);gap:10px}.card{max-height:180px;height:180px}.card img{width:80px;height:80px}.card-detail h2{font-size:16px;margin:4px 0}.card-detail span{font-size:12px}}@media(pointer:coarse){.card{cursor:pointer}.right-icon{min-height:44px;min-width:44px}.search-clickable-bar{cursor:pointer}}@media screen and (min-resolution:2dppx){.card img{image-rendering:-webkit-optimize-contrast;image-rendering:crisp-edges}}@media(prefers-reduced-motion:reduce){.card{transition:none}}@media screen and (max-width:320px){.pokedex-container{padding:0 8px}.pokemon-list{grid-template-columns:1fr;gap:8px}.card{max-width:100%;height:180px}}.loading-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#000;display:flex;justify-content:center;align-items:center;z-index:9999;transition:opacity .5s ease-out}.loading-content{text-align:center}.loading-logo{width:989px;height:362px;margin-bottom:20px;animation:pulse 2s infinite}@keyframes pulse{0%{opacity:.7}50%{opacity:1}to{opacity:.7}}.loading-overlay.fade-out{opacity:0;pointer-events:none}@media screen and (max-width:768px){.loading-logo{width:80vw;height:auto;max-width:300px;max-height:110px;margin-bottom:15px}}@media screen and (max-width:480px){.loading-logo{width:85vw;max-width:250px;max-height:90px;margin-bottom:10px}.loading-overlay{padding:20px}}#root{max-width:1440px;margin:0 auto;padding:2rem;text-align:center}html{overflow-y:scroll}
