main{position:relative}.battle-bg-image{position:absolute;top:0;left:0;width:100%;height:100%;-o-object-fit:cover;object-fit:cover;-o-object-position:top center;object-position:top center;z-index:0;mix-blend-mode:color-burn;pointer-events:none;opacity:.3;filter:blur(3px)}body{background:linear-gradient(to bottom,#c7e2ff,#fff 500px 100%);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;overflow-x:hidden;margin:0;padding:0}.battle-page-content{position:relative;max-width:1120px;margin:0 auto;padding:40px 20px 0;display:flex;justify-content:center;align-items:flex-start;gap:20px;min-height:calc(100vh - 180px)}.battle-container{max-width:800px;width:65%;margin-top:0;display:flex;flex-direction:column;align-items:center;gap:1vw;background:#fff6;border-radius:1rem;border:1px solid rgba(255,255,255,.9)}.ranking-tabs{display:flex;width:100%;margin:15px 0;border-bottom:1px solid #e8f0fe}.battle-tab-item{flex:1;text-align:center;padding:8px 16px;cursor:pointer;font-size:14px;font-weight:500;color:#768fab;transition:all .3s ease;position:relative}.battle-tab-item:after{content:"";position:absolute;bottom:0;left:50%;transform:translate(-50%);width:var(--underline-width, 0);height:2px;border-radius:1px;background:transparent;transition:background .3s ease}.battle-tab-item:hover{color:#0e2f52}.battle-tab-item.active{color:#1675e0;font-weight:600}.battle-tab-item.active:after{background:#1675e0}.ranking-content{display:none;width:100%}.ranking-content.active{display:block}.personal-ranking-section{width:100%;text-align:left}.personal-ranking-section .section-title{font-size:16px;font-weight:600;color:#0e2f52;margin:0 0 15px;padding-bottom:2rem;border-bottom:1px solid #e8f0fe}.user-avatar{min-width:30px;max-width:30px;height:30px;margin:0 8px;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center;background:#f0f0f0;border:1px solid #ffffff;flex-shrink:0}.user-avatar img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.user-info{display:flex;align-items:center;justify-content:flex-start;flex:1}.user-name{font-size:14px;font-weight:400;color:#0e2f52}.battle-ranking-title{margin-top:0;font-size:18px;font-weight:600;line-height:26.06px;color:#0e2f52;text-align:center}.country-ranking-container{max-width:800px;width:35%;margin-top:0;display:flex;flex-direction:column;align-items:center;gap:10px;background:#fff6;backdrop-filter:blur(10px);border-radius:1rem;padding:20px 14px;border:1px solid rgba(255,255,255,.9);min-height:600px}.my-country-section,.world-ranking-section{width:100%;text-align:left}.section-title{font-size:16px;font-weight:600;color:#0e2f52;margin:0 0 15px;padding-bottom:8px;border-bottom:1px solid #e8f0fe}.ranking-item{display:flex;align-items:center;padding:12px 8px;border-radius:12px;margin-bottom:4px;transition:all .3s ease}.ranking-item:hover{background:#ebf1f7e6;transform:translateY(-2px)}.my-country-item{border:0px solid rgba(14,47,82,.2)}.my-country-item:hover{background:linear-gradient(135deg,#0e2f5226,#0e2f5214);border-color:#0e2f524d}.country-ranking-container .rank-number{min-width:40px;max-width:40px;text-align:center;font-size:16px;color:#0e2f52;opacity:1!important;visibility:visible!important;flex-shrink:0;z-index:1;position:static!important;transform:none!important;text-shadow:none!important;mix-blend-mode:normal!important;font-weight:400}.country-flag{min-width:30px;max-width:30px;height:30px;margin:0 8px;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center;background:#f0f0f0;border:1px solid #ffffff;flex-shrink:0}.country-flag img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.country-flag .flag-emoji{font-size:18px;line-height:1}.country-info{display:flex;align-items:center;justify-content:flex-start;flex:1}.country-name{font-size:14px;font-weight:400;color:#0e2f52}.wins-count,.losses-count{min-width:50px;max-width:50px;text-align:center;font-size:14px;flex-shrink:0}.wins-count,.losses-count{color:#0e2f52}.ranking-header{display:flex;align-items:center;padding:0 8px;border-radius:8px;margin-bottom:1.5rem;font-size:13px;color:#0e2f52}.header-rank{min-width:40px;max-width:40px;text-align:center;flex-shrink:0}.header-country{flex:1;display:flex;align-items:center;justify-content:flex-start;padding-left:38px}.header-stats{display:flex;flex-shrink:0}.header-stats .header-country{min-width:50px;max-width:50px;text-align:center;flex:none;justify-content:center;padding-left:0}.ranking-list{width:100%}.ranking-note{font-size:12px;color:#768fab;text-align:center;padding:8px 12px;background:#768fab1a;border-radius:20px;font-style:italic}.date-section{width:94%;height:50px;display:flex;justify-content:space-between;align-items:center;z-index:1;border-radius:10px 40px 40px 10px;background:#fffc;backdrop-filter:blur(10px);box-shadow:0 2px 4px #00000005;margin-top:20px}.date-left-section{display:flex;flex-direction:row;justify-content:left;align-items:center;flex:1;height:100%}.date-text{font-size:18px;font-weight:500;color:#0e2f52;padding:6px 24px}.scroll-container{position:relative;height:20px;overflow:hidden;margin-right:20px}.scroll-content{position:absolute;top:0;left:0;width:100%;height:40px;transition:transform .5s cubic-bezier(.4,0,.2,1)}.rank-info{display:flex;align-items:center;gap:4px;height:20px;position:relative;z-index:1;font-size:14px;color:#0e2f52;padding:2px 4px;cursor:pointer;transition:opacity .2s ease;font-weight:500}.rank-info:hover{opacity:.7;text-decoration:underline}.flag-container{position:relative;cursor:pointer}.flag-icon{width:20px;height:20px;position:absolute;bottom:0;right:0;padding:0;z-index:11;fill:#0e2f52;cursor:pointer;transition:transform .2s ease}.flag-icon:hover{transform:scale(1.1)}.flag-placeholder{width:50px;height:50px;border-radius:50%;background:#fff;border:3px solid white;position:relative;box-shadow:0 2px 4px #0000001a}.flag-placeholder:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:24px}.rank-section{display:flex;flex-direction:column;align-items:center;margin:20px 0 0}.stars-container{display:flex;gap:25px;margin-bottom:15px}.star{width:40px;height:40px;transition:transform .3s ease;cursor:pointer}.star:hover{transform:scale(1.1) rotate(10deg)}.star:nth-child(2){animation-delay:.5s}@keyframes starTwinkle{0%{transform:scale(1) rotate(0)}to{transform:scale(1.1) rotate(5deg)}}.rank-badge{position:relative;transition:transform .3s ease}.rank-badge:hover{transform:scale(1.05)}.badge-container{position:relative;display:flex;align-items:center;justify-content:center}.rank-badge-img{height:max(100px,min(18.6vh,400px));width:auto;-o-object-fit:contain;object-fit:contain}.battle-highlight{position:absolute;top:0;left:0;height:max(100px,min(18vh,400px));width:auto;-o-object-fit:contain;object-fit:contain;z-index:5}.rank-number{position:absolute;top:45%;left:50%;transform:translate(-50%,-50%);font-size:36px;font-weight:700;color:#fff;text-shadow:0 2px 2px rgba(0,0,0,.4);mix-blend-mode:overlay;z-index:4}.stats-section{margin:4px 0}.stats-container{display:flex;align-items:center;gap:60px;background:#ffffff4d;backdrop-filter:blur(10px);border-radius:25px}.stat-item{text-align:center;cursor:pointer;transition:transform .3s ease}.stat-item:hover{transform:translateY(-5px)}.stat-number{font-size:28px;font-weight:500;line-height:1}.stat-item.wins .stat-number,.stat-item.losses .stat-number{color:#0e2f52}.stat-label{font-size:13px;color:#768fab;text-transform:uppercase;letter-spacing:2px;font-weight:500}.stat-divider{width:1px;height:80px;background:linear-gradient(to bottom,transparent,#ddd,transparent)}.reward-section{margin:20px 0}.reward-item{display:flex;height:42px;align-items:center;justify-content:center;border-radius:24px;background:#ebf1f7e6;padding:0 15px;gap:4px;cursor:pointer;transition:all .3s ease}.reward-item:hover{transform:translateY(-3px);background:#ebf1f7}.reward-ticket{width:48px;height:36px}.reward-count{font-size:24px;font-weight:400;color:#333;text-align:center;min-width:30px}.reward-add-icon{width:28px;height:28px;transition:transform .3s ease}.reward-add-icon:hover{transform:rotate(90deg)}.difficulty-section{width:100%;display:flex;flex-direction:row;gap:24px;margin-top:60px;padding:0 30px}.difficulty-btn{width:100%;height:64px;border-radius:6px;display:flex;justify-content:center;gap:10px;align-items:center;padding:0 40px;font-size:20px;font-weight:700;cursor:pointer;transition:all .3s ease;box-shadow:0 2px 8px #0000001a;position:relative;overflow:hidden;border:0px}.difficulty-btn:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.2),transparent);transition:left .5s ease}.difficulty-btn:hover:before{left:100%}.difficulty-ticket{width:24px}.master-btn{background:linear-gradient(135deg,#0e2f52,#1a4d7d);color:#fff}.master-btn:hover{background:linear-gradient(135deg,#1a4d7d,#0e2f52);transform:translateY(-3px);box-shadow:0 4px 12px #0003}.master-btn:active{transform:translateY(-1px)}.normal-btn{background:linear-gradient(135deg,#1675e0,#4a9cf2);color:#fff}.normal-btn:hover{background:linear-gradient(135deg,#4a9cf2,#1675e0);transform:translateY(-3px);box-shadow:0 4px 12px #0003}.normal-btn:active{transform:translateY(-1px)}.difficulty-text{font-size:20px;font-weight:500}.difficulty-reward{display:flex;align-items:center;gap:6px;font-size:20px;border-radius:120px;padding:4px 16px}.difficulty-ticket-number{font-size:16px;font-weight:500;color:#fff}@keyframes fadeInUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}.date-section{animation:fadeInUp .6s ease-out}.rank-section{animation:fadeInUp .6s ease-out .1s both}.stats-section{animation:fadeInUp .6s ease-out .2s both}.reward-section{animation:fadeInUp .6s ease-out .3s both}.difficulty-section{animation:fadeInUp .6s ease-out .4s both}.ticket-modal{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background:#000c;z-index:9999;justify-content:center;flex-direction:column;align-items:center;padding:0 20px;opacity:0;visibility:hidden;transition:all .3s ease}.ticket-modal.show{display:flex;opacity:1;visibility:visible}.ticket-modal-content{width:100%;max-width:900px;display:flex;flex-direction:column;align-items:center;position:relative;background:transparent}.current-tickets{width:120px;height:45px;border-radius:25px;background:#ffffffe6;backdrop-filter:blur(10px);display:flex;align-items:center;justify-content:center;gap:12px;margin-bottom:60px;box-shadow:0 4px 20px #0000001a}.current-ticket-icon{width:40px;height:32px}.current-ticket-count{font-size:24px;font-weight:600;color:#000}.ticket-purchase-container{width:100%;display:flex;flex-direction:column;align-items:center;gap:20px}.purchase-items-row{width:100%;display:flex;gap:20px;justify-content:space-between}.purchase-item{flex:1;height:220px;border-radius:20px;background:#fffffff2;backdrop-filter:blur(10px);display:flex;flex-direction:column;position:relative;cursor:pointer;transition:all .3s ease;box-shadow:0 8px 30px #0000001a}.purchase-item:hover{transform:translateY(-5px);box-shadow:0 12px 40px #00000026}.purchase-item:active{transform:translateY(-2px)}.ticket-content{height:170px;border-radius:20px 20px 0 0;background:#ebf1f7e6;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px}.ticket-content p{font-size:12px;color:#768fab;margin:0;padding:0;position:absolute;bottom:65px;font-weight:500}.purchase-ticket-icon{width:90px}.ticket-quantity{font-size:24px;font-weight:700;color:#000;text-align:center}.ticket-price{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;font-size:18px;font-weight:700;color:#1675e0;padding:15px 0}.ticket-price.free-trial{color:#e74c3c;font-size:20px}.original-price{font-size:14px;font-weight:400;color:#768fab;text-decoration:line-through}.video-price{color:#1675e0}.video-exchange-item{width:100%;height:220px;border-radius:20px;background:#fffffff2;backdrop-filter:blur(10px);display:flex;flex-direction:column;position:relative;cursor:pointer;transition:all .3s ease;box-shadow:0 8px 30px #0000001a;margin:0 auto}.video-exchange-item:hover{transform:translateY(-5px);box-shadow:0 12px 40px #00000026}.video-exchange-item:active{transform:translateY(-2px)}.ticket-card-pay{width:100%;max-width:420px;margin:24px auto 0;padding:20px;border-radius:20px;background:#fffffff2;backdrop-filter:blur(10px);box-shadow:0 8px 30px #0000001a}.ticket-card-pay-title{font-size:16px;font-weight:700;color:#172033;margin-bottom:14px}.ticket-card-pay-packages{display:flex;gap:12px;margin-bottom:14px}.ticket-card-pkg{flex:1;padding:10px 12px;border:1px solid #c2c9d1;border-radius:10px;background:#fff;font-size:15px;font-weight:600;color:#172033;cursor:pointer;transition:all .2s ease}.ticket-card-pkg.selected{border-color:#0070ba;background:#f0f7ff}.ticket-card-form{display:flex;flex-direction:column;gap:12px}.ticket-card-field-row{display:flex;gap:12px}.ticket-card-field-row .ticket-card-field{flex:1}.ticket-card-field{min-height:46px}.ticket-card-submit{height:46px;border:none;border-radius:10px;background:#0070ba;color:#fff;font-size:16px;font-weight:700;cursor:pointer;transition:opacity .2s ease}.ticket-card-submit:active{opacity:.85}.discount-tag{position:absolute;top:-20px;left:-10px;width:50px;height:50px;z-index:10}.discount-text{position:absolute;top:0;left:0;width:50px;height:50px;display:flex;flex-direction:column;align-items:center;justify-content:center;transform:rotate(-30deg);font-size:10px;font-weight:700;color:#fff;text-align:center;background:transparent;border-radius:50%;text-shadow:0 1px 2px rgba(0,0,0,.3)}.discount-svg{position:absolute;top:0;left:0;width:50px;height:50px;fill:#ff6b6b;stroke:#fff;stroke-width:20px;z-index:-1}.modal-close-btn{width:50px;height:50px;background:#ffffffe6;backdrop-filter:blur(10px);border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;margin-top:40px;transition:all .3s ease;box-shadow:0 4px 20px #0000001a}.modal-close-btn:active{transform:scale(.95)}.close-icon{width:28px;height:28px;color:#000c}.ticket-modal.show .ticket-modal-content{animation:modalSlideIn .5s cubic-bezier(.68,-.55,.265,1.55)}@keyframes modalSlideIn{0%{transform:translateY(50px) scale(.9);opacity:0}to{transform:translateY(0) scale(1);opacity:1}}.free-tag{position:absolute;top:-20px;left:-10px;width:50px;height:50px;z-index:10}.free-text{position:absolute;top:0;left:0;width:50px;height:50px;display:flex;align-items:center;justify-content:center;transform:rotate(-30deg);font-size:10px;font-weight:700;color:#fff;text-align:center;background:transparent;border-radius:50%;text-shadow:0 1px 2px rgba(0,0,0,.3)}.free-svg{position:absolute;top:0;left:0;width:50px;height:50px;fill:#8e44ad;stroke:#fff;stroke-width:20px;z-index:-1}@media (min-width: 1024px){.battle-page-content{flex-direction:row;align-items:flex-start;justify-content:center;gap:2rem;padding-top:.2rem}}@media (min-width: 1200px){.battle-container{max-width:900px}.stats-container{gap:40px}.difficulty-btn{max-width:550px;margin:0 auto}}@media (max-width: 1200px){.battle-page-content{flex-direction:column;align-items:center}.battle-container,.country-ranking-container{width:100%;max-width:800px}}@media (max-width: 768px){.battle-page-content{padding:0 15px 80px;gap:1.5rem}.battle-container{margin-top:0;min-height:calc(100dvh - 160px)}.date-section{margin-top:1rem}.rank-section{margin-top:min(20px,max(2vh,10px));margin-bottom:min(20px,max(2vh,10px))}.rank-badge-img,.battle-highlight{height:max(80px,min(18vh,360px))}.stars-container{gap:20px;margin-bottom:7px}.star{width:32px;height:32px}.stats-section{margin-bottom:10px;width:100%;display:flex;justify-content:center}.stats-container{padding:0;gap:40px;justify-content:space-between}.stat-divider{height:60px}.stat-number{font-size:22px}.reward-section{margin-bottom:max(10px,min(2vh,20px))}.reward-item{height:32px}.difficulty-section{flex-direction:column;gap:16px;width:100%;max-width:366px;margin-top:auto;margin-bottom:.1%;padding:0}.difficulty-btn{width:100%;height:52px;padding:9px 51px;font-size:14px;font-weight:700;border-radius:6px}.difficulty-text{font-size:18px}.country-ranking-container{margin-top:1rem;padding:20px;min-height:400px}}html{scroll-behavior:smooth}.loading-data{color:#0e2f52;opacity:.6;animation:pulse 1.5s ease-in-out infinite alternate}@keyframes pulse{0%{opacity:.4}to{opacity:.8}}.skeleton-item{pointer-events:none}#worldRankingList,#personalRankingList{position:relative}.skeleton-item .skeleton-bar{display:inline-block;height:12px;border-radius:2px;background:#0e2f5214;vertical-align:middle}.skeleton-item .skeleton-bar-rank{width:18px}.skeleton-item .skeleton-bar-name{width:88px}.skeleton-item .skeleton-bar-stat{width:30px}.skeleton-item .skeleton-flag{background:#0e2f5214}.skeleton-shine{position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,#0e2f5200 35%,#0e2f521f,#0e2f5200 65%);background-size:200% 100%;animation:skeleton-shimmer 1.6s ease-in-out infinite;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%}@keyframes skeleton-shimmer{0%{background-position:100% 0}to{background-position:-100% 0}}.ranking-load-error .skeleton-shine{animation:none}.ranking-load-error .skeleton-item .skeleton-bar,.ranking-load-error .skeleton-item .skeleton-flag{opacity:.5}@media (prefers-reduced-motion: reduce){.skeleton-shine{animation:none}}.battle-faq{position:relative;z-index:1;width:100%;max-width:800px;margin:24px auto 0;padding:0 15px;box-sizing:border-box}@media (min-width: 1200px){.battle-faq{max-width:900px;padding:20px}}.rank-rules-icon{width:20px;height:20px;display:flex;align-items:center;justify-content:center;cursor:pointer;margin-left:auto;margin-right:10px;border-radius:50%;padding:2px;transition:background-color .2s ease}.rank-rules-icon:hover{background-color:#0e2f521a}.info-icon{width:16px;height:16px;fill:#0e2f5266;transition:fill .2s ease}.rank-rules-icon:hover .info-icon{fill:#1675e0}.img-contain{-o-object-fit:contain;object-fit:contain}.video-watch-icon{margin-left:4px;fill:currentColor}.rank-rules-modal{display:none;position:fixed;top:0;left:0;width:100%;height:100%;z-index:10000;background:#000c;opacity:0;visibility:hidden;transition:all .3s ease}.rank-rules-modal.show{opacity:1;visibility:visible}.rank-rules-modal-overlay{position:absolute;top:0;left:0;width:100%;height:100%}.rank-rules-modal-content{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) scale(.7);width:calc(100% - 40px);max-width:500px;background:#fff;border-radius:10px;padding:16px;box-shadow:0 10px 30px #0000004d;transition:transform .3s ease;max-height:60vh;display:flex;flex-direction:column;overflow:hidden}.rank-rules-modal.show .rank-rules-modal-content{transform:translate(-50%,-50%) scale(1)}.rank-rules-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:15px;padding-bottom:10px;border-bottom:1px solid #eee}.rank-rules-header h3{margin:0;font-size:18px;font-weight:700;color:#0e2f52;flex:1}.rank-rules-close-btn{background:none;border:none;cursor:pointer;padding:5px;border-radius:4px;display:flex;align-items:center;justify-content:center;transition:background-color .2s ease}.rank-rules-close-btn:hover{background-color:#f0f0f0}.rank-rules-close-btn .close-icon{width:20px;height:20px;fill:#666}.rank-rules-body{font-size:14px;line-height:1.6;color:#333;flex:1;overflow-y:auto;max-height:60vh;padding-right:8px}.rank-rules-body h4{margin:15px 0 8px;color:#0e2f52;font-size:16px}.rank-rules-body p{margin:8px 0;color:#555}.rank-rules-body ul{margin:5px 0;padding-left:20px}.rank-rules-body li{margin:4px 0;color:#555}.rank-rules-body::-webkit-scrollbar{width:3px}.rank-rules-body::-webkit-scrollbar-track{background:#f1f1f1;border-radius:2px}.rank-rules-body::-webkit-scrollbar-thumb{background:#ccc;border-radius:2px}.rank-rules-body::-webkit-scrollbar-thumb:hover{background:#aaa}.ranking-content.slide-in-left{animation:contentSlideInLeft .4s cubic-bezier(.4,0,.2,1)}.ranking-content.slide-in-right{animation:contentSlideInRight .4s cubic-bezier(.4,0,.2,1)}@keyframes contentSlideInLeft{0%{opacity:0;transform:translate(-30px) scale(.95)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes contentSlideInRight{0%{opacity:0;transform:translate(30px) scale(.95)}to{opacity:1;transform:translate(0) scale(1)}}
