.App{height:100%;padding:.5vh;position:relative;width:100%;max-width:100%;overflow:hidden;display:flex;flex-direction:column}.App>:not(.app-header):not(.orientation-hint-overlay){flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch}@media (max-width: 768px) and (orientation: landscape){.App{padding:.3vh;height:100%}.app-header{padding:.5vh .3vh;margin-bottom:.5vh}.app-header h1{font-size:clamp(.9rem,2.5vh,1.3rem);padding:.5vh 1.5vw}.logo{width:4vh;height:4vh}.header-content{gap:1vw}}@media (max-width: 768px) and (orientation: portrait){.App{padding:.5vh;height:100%}.app-header{padding:1vh .5vh;margin-bottom:1vh}.app-header h1{font-size:clamp(1rem,2.8vh,1.5rem);padding:.8vh 2vw}.logo{width:5vh;height:5vh}}.orientation-hint-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000d9;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);z-index:10000;display:flex;align-items:center;justify-content:center;animation:fadeIn .3s ease;padding:2vh}.orientation-hint-card{background:linear-gradient(135deg,#1a1a2e,#16213e);border:3px solid rgba(255,107,53,.5);border-radius:25px;padding:3vh 2vw;max-width:90vw;max-height:80vh;text-align:center;box-shadow:0 10px 40px #00000080,0 0 0 1px #ffffff1a;animation:slideUp .4s ease}.hint-icon{font-size:clamp(2rem,6vh,4rem);margin-bottom:2vh;animation:rotate360 2s ease-in-out infinite}@keyframes rotate360{0%,to{transform:rotate(0)}50%{transform:rotate(15deg)}}.orientation-hint-card h3{color:#fff;font-size:clamp(1.2rem,3vh,1.8rem);font-weight:700;margin-bottom:1.5vh;text-shadow:2px 2px 4px rgba(0,0,0,.5)}.orientation-hint-card p{color:#ffffffd9;font-size:clamp(.9rem,2vh,1.1rem);line-height:1.6;margin-bottom:3vh}.hint-actions{display:flex;gap:2vw;justify-content:center;flex-wrap:wrap}.hint-btn{padding:1.5vh 4vw;font-size:clamp(.9rem,2vh,1rem);font-weight:600;border:none;border-radius:12px;cursor:pointer;transition:all .3s ease;min-width:25vw;box-shadow:0 4px 15px #0003}.hint-btn-primary{background:linear-gradient(135deg,#ff6b35,#f7931e);color:#fff}.hint-btn-primary:hover{transform:translateY(-2px);box-shadow:0 6px 20px #ff6b3566}.hint-btn-primary:active{transform:translateY(0)}.hint-btn-secondary{background:#ffffff1a;color:#fffc;border:2px solid rgba(255,255,255,.3)}.hint-btn-secondary:hover{background:#ffffff26;border-color:#ffffff80;color:#fff}.hint-btn-secondary:active{background:#ffffff14}.db-actions .hint-btn{min-width:auto;padding:.8vh 1.6vw;font-size:clamp(.8rem,1.6vh,.95rem);box-shadow:none}.db-actions .hint-btn.hint-btn-secondary{border-width:1px}.auth-panel{display:flex;gap:12px;align-items:center;justify-content:center;flex-wrap:wrap;margin:12px auto;padding:16px 20px;width:95%;max-width:800px;background:#0009;border:2px solid rgba(255,255,255,.25);border-radius:16px;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:0 6px 18px #00000040}.auth-field{min-width:160px;padding:10px 12px;border-radius:10px;border:1px solid #ddd;background:#fff;color:#222;outline:none}.auth-field::placeholder{color:#888}.auth-field:focus{border-color:#ff6b35;box-shadow:0 0 0 3px #ff6b3540}.auth-submit{padding:10px 20px;border:none;border-radius:12px;background:linear-gradient(135deg,#ff6b35,#f7931e);color:#fff;font-weight:700;box-shadow:0 8px 20px #ff6b3559;cursor:pointer}.auth-submit:hover{transform:translateY(-1px);box-shadow:0 10px 24px #ff6b3573}.auth-submit:active{transform:translateY(0)}.auth-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000059;z-index:4000;display:flex;align-items:center;justify-content:center;animation:fadeIn .2s ease}.app-header{text-align:center;padding:1vh 0;margin-bottom:1vh;flex-shrink:0}.header-content{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1.5vw;flex-wrap:wrap;position:relative;width:100%}.header-top{display:flex;align-items:center;justify-content:center;gap:1.5vw;flex-wrap:wrap}.auth-controls{position:static;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:8px;background:transparent;border:none;padding:1.2vh 1.5vw;border-radius:12px;-webkit-backdrop-filter:none;backdrop-filter:none;flex-wrap:wrap}.auth-controls .hint-btn{min-width:auto;padding:.8vh 1.5vw;font-size:clamp(.85rem,1.5vh,.95rem);font-weight:500;box-shadow:0 2px 8px #00000026}.logo{width:6vh;height:6vh;object-fit:contain;filter:drop-shadow(0 4px 8px rgba(0,0,0,.3));animation:logoFloat 3s ease-in-out infinite;flex-shrink:0}@keyframes logoFloat{0%,to{transform:translateY(0)}50%{transform:translateY(-8px)}}.app-header h1{color:#fff;font-size:clamp(1rem,3vh,2.5rem);font-weight:800;text-shadow:2px 2px 4px rgba(0,0,0,.8),0 0 10px rgba(0,0,0,.5),0 0 20px rgba(255,107,53,.6);background:linear-gradient(135deg,#ff6b35,#ffd54f);padding:1vh 2vw;border-radius:20px;display:inline-block;box-shadow:0 5px 20px #0000004d,inset 0 -5px 15px #0003;border:3px solid rgba(255,255,255,.3);margin:0;animation:titlePulse 3s ease infinite;white-space:nowrap;flex-shrink:0}@keyframes titlePulse{0%,to{transform:scale(1);box-shadow:0 5px 20px #0000004d,inset 0 -5px 15px #0003}50%{transform:scale(1.02);box-shadow:0 8px 30px #ff6b3580,inset 0 -5px 15px #0003}}@media (max-width: 768px){.App{padding:.5vh;height:100%}.app-header{padding:1vh .5vh;margin-bottom:1vh}.header-content{gap:1.5vw}.header-top{gap:1vw;flex-wrap:wrap}.logo{width:5vh;height:5vh}.app-header h1{font-size:clamp(1rem,2.8vh,1.6rem);padding:1vh 2vw;border-width:2px}.auth-controls{width:100%;gap:6px;padding:1vh 1.2vw}}@media (max-width: 375px){.App{padding:.3vh}.app-header{padding:.8vh .3vh;margin-bottom:.8vh}.header-content{gap:1vw}.header-top{gap:.8vw;flex-wrap:wrap}.logo{width:4vh;height:4vh}.app-header h1{font-size:clamp(.9rem,2.5vh,1.3rem);padding:.8vh 1.5vw}.auth-controls{width:100%;flex-wrap:wrap;gap:4px;padding:.8vh 1vw}.auth-controls .hint-btn{padding:.6vh 1vw;font-size:clamp(.75rem,1.2vh,.8rem)}}.setup-form-wrapper{max-width:1400px;margin:0 auto;padding:1vh;height:100%;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch}.main-title{color:#fff;text-align:center;font-size:clamp(1.3rem,3vh,2rem);font-weight:800;margin-bottom:2vh;text-shadow:2px 2px 4px rgba(0,0,0,.3);animation:titleBounce .8s ease;flex-shrink:0;display:none}.form-sections-row{display:grid;grid-template-columns:1fr 1fr;gap:2vw;margin-bottom:2vh}.setup-form{background:#fff;padding:2vh 2vw;border-radius:15px;box-shadow:0 8px 32px #0000001a;animation:slideUp .5s ease;max-height:70vh;overflow-y:auto;overflow-x:hidden}.setup-form-left,.setup-form-right{width:100%}.setup-form h3{color:#ff6b35;margin-bottom:1.5vh;font-size:clamp(1rem,2.2vh,1.3rem);font-weight:700;text-align:center}.submit-form{display:block;max-width:400px;margin:0 auto 2vh;flex-shrink:0}.setup-form h2{color:#ff6b35;margin-bottom:25px;text-align:center;font-size:1.8rem;font-weight:800;text-shadow:2px 2px 4px rgba(255,107,53,.2);animation:titleBounce .8s ease}@keyframes titleBounce{0%,to{transform:scale(1)}50%{transform:scale(1.05)}}.form-section{margin-bottom:25px;padding-bottom:20px;border-bottom:2px solid #f0f0f0}.form-section:last-of-type{border-bottom:none}.form-section h3{color:#00bcd4;margin-bottom:15px;font-size:1.2rem;font-weight:700}.form-group{margin-bottom:15px}.form-group label{display:block;margin-bottom:8px;color:#333;font-weight:500}.optional-hint{color:#999;font-weight:400;font-size:.85rem;margin-left:5px}.form-group input[type=text],.form-group input[type=number],.form-group select{width:100%;padding:12px;border:2px solid #e0e0e0;border-radius:8px;font-size:16px;transition:all .3s}.form-group input[type=text]:focus,.form-group input[type=number]:focus,.form-group select:focus{outline:none;border-color:#ff6b35;box-shadow:0 0 0 3px #ff6b3533;transform:translateY(-2px);transition:all .3s ease}.checkbox-group label{display:flex;align-items:center;cursor:pointer}.checkbox-group input[type=checkbox]{width:20px;height:20px;margin-right:10px;cursor:pointer}.checkbox-group span{font-size:16px}.start-button{flex:1;min-width:120px;padding:15px;background:linear-gradient(135deg,#ff6b35,#f7931e);color:#fff;border:none;border-radius:8px;font-size:1.2rem;font-weight:700;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 15px #ff6b354d;position:relative;overflow:hidden}.start-button:before{content:"";position:absolute;top:50%;left:50%;width:0;height:0;border-radius:50%;background:#ffffff4d;transform:translate(-50%,-50%);transition:width .6s,height .6s}.start-button:hover:before{width:300px;height:300px}.start-button:hover{transform:translateY(-3px);box-shadow:0 8px 25px #ff6b3580}.start-button:active{transform:translateY(-1px)}.rules-info{background:#fff;padding:2vh 2vw;border-radius:15px;box-shadow:0 8px 32px #0000001a;animation:slideUp .5s ease;display:none}.rules-info h3{color:#ff6b35;margin-bottom:20px;font-size:1.3rem;font-weight:700}.rules-info ul{list-style:none}.rules-info li{padding:10px 0;color:#555;line-height:1.6;border-bottom:1px solid #f0f0f0}.rules-info li:last-child{border-bottom:none}.team-members{margin-top:15px;padding:15px;background:linear-gradient(135deg,#fff3e0,#ffe0b2);border-radius:8px;border-left:4px solid #ff6b35;animation:fadeIn .5s ease}.team-label{display:block;margin-bottom:10px;color:#ff6b35;font-weight:600;font-size:.95rem}.mode-hint{color:#999;font-size:.85rem;font-weight:400;margin-left:5px}.member-input-group{display:flex;gap:8px;margin-bottom:10px;align-items:center}.position-number{min-width:70px;font-weight:600;color:#ff6b35;font-size:.9rem}.member-input-group input{flex:1;padding:10px;border:2px solid #e0e0e0;border-radius:6px;font-size:15px;transition:all .3s}.member-input-group input:focus{outline:none;border-color:#ff6b35;box-shadow:0 0 0 2px #ff6b3533;transform:scale(1.02);transition:all .3s ease}.btn-remove-member{padding:0;width:36px;height:36px;background:linear-gradient(135deg,#ff5252,#f44336);color:#fff;border:none;border-radius:6px;font-size:18px;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 8px #ff52524d}.btn-remove-member:hover{background:linear-gradient(135deg,#f44336,#d32f2f);transform:scale(1.1) rotate(90deg);box-shadow:0 4px 12px #ff525280}.btn-add-member{width:100%;padding:10px;background:linear-gradient(135deg,#00bcd4,#0097a7);color:#fff;border:none;border-radius:6px;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .3s ease;margin-top:5px;box-shadow:0 3px 10px #00bcd44d}.btn-add-member:hover{transform:translateY(-2px);box-shadow:0 5px 15px #00bcd480;background:linear-gradient(135deg,#0097a7,#00838f)}.wuyulunbi-info{background:linear-gradient(135deg,#e8f5e9,#c8e6c9);padding:15px;border-radius:8px;border-left:4px solid #4caf50;margin-top:15px}.wuyulunbi-info p{color:#000!important;font-weight:600;margin-bottom:10px;font-size:.95rem}.wuyulunbi-info ul{list-style:none;padding:0;margin:0}.wuyulunbi-info li{color:#000!important;padding:5px 0;font-size:.9rem;line-height:1.5}.sub-list{margin-left:20px;margin-top:5px}.wuyulunbi-rules-info{background:linear-gradient(135deg,#e1f5fe,#b3e5fc);padding:20px;border-radius:10px;border-left:4px solid #00bcd4;box-shadow:0 2px 8px #00bcd433;animation:slideInRight .5s ease}@keyframes slideInRight{0%{opacity:0;transform:translate(20px)}to{opacity:1;transform:translate(0)}}.wuyulunbi-rules-info .rules-item{display:flex;align-items:center;margin-bottom:12px;padding:10px;background:#fff;border-radius:6px;transition:all .3s ease}.wuyulunbi-rules-info .rules-item:hover{transform:translate(5px);box-shadow:0 3px 10px #00bcd433}.wuyulunbi-rules-info .rules-item:last-child{margin-bottom:0}.wuyulunbi-rules-info .rules-item strong{color:#00bcd4;margin-right:10px;font-size:.95rem;min-width:120px}.wuyulunbi-rules-info .rules-item span{color:#555;font-size:.95rem;line-height:1.5}@media (max-width: 768px){.setup-form-wrapper{padding:.5vh;max-height:none}.main-title{font-size:clamp(1.2rem,2.5vh,1.6rem);margin-bottom:1.5vh}.form-sections-row{grid-template-columns:1fr;gap:1.5vh;margin-bottom:1.5vh}.submit-form{max-width:100%;margin-bottom:1.5vh}.setup-form,.rules-info{padding:1.5vh 2vw;max-height:none}.setup-form h2{font-size:clamp(1.2rem,2.3vh,1.5rem)}.form-section h3{font-size:clamp(1rem,2vh,1.2rem)}.form-group{margin-bottom:1.2vh}.form-group label{font-size:clamp(.9rem,1.8vh,1rem);margin-bottom:.5vh}.form-group input[type=text],.form-group input[type=number],.form-group select{padding:1vh;font-size:clamp(14px,1.8vh,16px)}.checkbox-group span{font-size:clamp(14px,1.8vh,16px)}.start-button{padding:1.5vh;font-size:clamp(1rem,2vh,1.2rem)}.rules-info h3{font-size:clamp(1rem,2vh,1.2rem);margin-bottom:1vh}.rules-info li{font-size:clamp(.85rem,1.7vh,.95rem);padding:.8vh 0;margin-bottom:.8vh}.team-members{padding:1.2vh}.team-label{font-size:clamp(.85rem,1.7vh,.95rem)}.mode-hint{display:block;margin-top:.5vh;margin-left:0}.member-input-group{flex-wrap:wrap;margin-bottom:.8vh}.position-number{min-width:60px;font-size:clamp(.8rem,1.6vh,.9rem)}.member-input-group input{font-size:clamp(13px,1.7vh,15px);padding:.9vh}.btn-remove-member{width:4vh;height:4vh;font-size:clamp(14px,1.8vh,16px)}.btn-add-member{font-size:clamp(.85rem,1.7vh,.95rem);padding:.9vh}.wuyulunbi-rules-info{padding:1.5vh}.wuyulunbi-rules-info .rules-item{flex-direction:column;align-items:flex-start;padding:1.2vh;margin-bottom:1vh}.wuyulunbi-rules-info .rules-item strong{min-width:auto;margin-bottom:.5vh;font-size:clamp(.85rem,1.7vh,.95rem)}.wuyulunbi-rules-info .rules-item span{font-size:clamp(.85rem,1.7vh,.95rem)}}@media (max-width: 375px){.setup-form-container{padding:5px}.setup-form,.rules-info{padding:15px 10px}.setup-form h2{font-size:1.3rem}.form-section h3{font-size:1rem}.start-button{padding:12px;font-size:1rem}.rules-info li{font-size:.85rem}.member-input-group input{font-size:13px}.position-number{min-width:50px;font-size:.8rem}}.submit-form{display:flex;gap:10px;justify-content:center;align-items:center;flex-wrap:wrap}.history-button{flex:1;min-width:120px;padding:15px 20px;background:linear-gradient(135deg,#00bcd4,#0097a7);color:#fff;border:none;border-radius:8px;font-size:1rem;font-weight:700;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 15px #00bcd44d;position:relative;overflow:hidden}.history-button:before{content:"";position:absolute;top:50%;left:50%;width:0;height:0;border-radius:50%;background:#ffffff4d;transform:translate(-50%,-50%);transition:width .6s,height .6s}.history-button:hover:before{width:300px;height:300px}.history-button:hover{transform:translateY(-3px);box-shadow:0 8px 25px #00bcd480}.qrcode-button{flex:1;min-width:120px;padding:15px 20px;background:linear-gradient(135deg,#9c27b0,#7b1fa2);color:#fff;border:none;border-radius:8px;font-size:1rem;font-weight:700;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 15px #9c27b04d;position:relative;overflow:hidden}.qrcode-button:before{content:"";position:absolute;top:50%;left:50%;width:0;height:0;border-radius:50%;background:#ffffff4d;transform:translate(-50%,-50%);transition:width .6s,height .6s}.qrcode-button:hover:before{width:300px;height:300px}.qrcode-button:hover{transform:translateY(-3px);box-shadow:0 8px 25px #9c27b080}.history-panel-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:1000}.history-panel{background:#fff;border-radius:15px;padding:2vh 2vw;max-width:1200px;width:95%;max-height:80vh;display:flex;flex-direction:column;box-shadow:0 8px 32px #0003;animation:slideUp .3s ease}.history-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5vh;padding-bottom:1vh;border-bottom:2px solid #f0f0f0;gap:1vw}.history-header h3{color:#ff6b35;font-size:1.2rem;margin:0;flex-shrink:0}.view-toggle{display:flex;gap:.5vw;flex:1;justify-content:center}.toggle-btn{padding:.6vh 1.2vw;background:#f0f0f0;color:#666;border:2px solid #e0e0e0;border-radius:6px;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .3s ease;white-space:nowrap}.toggle-btn:hover{background:#e8e8e8;border-color:#d0d0d0;transform:translateY(-1px)}.toggle-btn.active{background:linear-gradient(135deg,#ff6b35,#f7931e);color:#fff;border-color:#ff6b35;box-shadow:0 2px 8px #ff6b354d}.close-btn{background:none;border:none;font-size:1.5rem;cursor:pointer;color:#999;transition:all .3s ease;padding:0 5px}.close-btn:hover{color:#ff6b35;transform:scale(1.2)}.history-list{overflow-y:auto;flex:1}.empty-hint{text-align:center;color:#999;padding:2vh;font-size:.95rem}.history-table{width:100%;border-collapse:collapse;font-size:.9rem;background:#fff}.history-table thead{background:linear-gradient(135deg,#ff6b35,#f7931e);color:#fff;position:sticky;top:0;z-index:10}.history-table th{padding:1.2vh 1vw;text-align:left;font-weight:600;white-space:nowrap;border:1px solid #ff6b35}.history-table td{padding:1.2vh 1vw;border-bottom:1px solid #f0f0f0;word-break:break-word}.history-table tbody tr{transition:all .3s ease;cursor:pointer}.history-table tbody tr:hover{background:linear-gradient(135deg,#fff3e0,#ffe0b2)}.history-table tbody tr:last-child td{border-bottom:none}.game-scores{font-size:.85rem;color:#666;max-width:150px;white-space:normal;word-break:break-word;line-height:1.4}.delete-btn-small{padding:6px 8px;background:linear-gradient(135deg,#ff5252,#f44336);color:#fff;border:none;border-radius:4px;font-size:.8rem;cursor:pointer;transition:all .3s ease;white-space:nowrap;min-width:50px}.delete-btn-small:hover{transform:scale(1.05);box-shadow:0 3px 10px #ff525280}.copy-btn-small{padding:6px 8px;background:linear-gradient(135deg,#ff6b35,#f7931e);color:#fff;border:none;border-radius:4px;font-size:.8rem;cursor:pointer;transition:all .3s ease;white-space:nowrap;min-width:50px}.copy-btn-small:hover{transform:scale(1.05);box-shadow:0 3px 10px #ff6b3580}.print-btn-small{padding:6px 8px;background:linear-gradient(135deg,#4285f4,#1967d2);color:#fff;border:none;border-radius:4px;font-size:.8rem;cursor:pointer;transition:all .3s ease;white-space:nowrap;min-width:50px}.print-btn-small:hover{transform:scale(1.05);box-shadow:0 3px 10px #4285f480}.action-buttons{display:flex;gap:6px}.filter-section{padding:1.2vh 1.5vw;background:#f9f9f9;border-bottom:1px solid #e0e0e0;border-radius:0 0 8px 8px}.filter-row{display:flex;gap:1vw;flex-wrap:wrap;align-items:flex-end;margin-bottom:.8vh}.filter-group{display:flex;flex-direction:column;gap:.4vh;position:relative;flex:1;min-width:150px}.filter-group label{font-size:.9rem;font-weight:600;color:#666}.filter-input,.filter-select{padding:.6vh .8vw;border:1px solid #d0d0d0;border-radius:4px;font-size:.85rem;transition:all .3s ease;font-family:inherit;cursor:pointer}.filter-input[type=date]{cursor:pointer}.filter-input[type=date]::-webkit-calendar-picker-indicator{cursor:pointer}.date-input-wrapper{position:relative;display:flex;align-items:center}.filter-input-date{padding:.6vh .8vw;border:1px solid #d0d0d0;border-radius:4px;font-size:.85rem;transition:all .3s ease;font-family:inherit;cursor:pointer;width:100%}.filter-input-date::-webkit-calendar-picker-indicator{cursor:pointer;padding:4px}.filter-input-date:hover{border-color:#ff6b35;box-shadow:0 0 0 3px #ff6b351a}.filter-input:focus,.filter-select:focus{outline:none;border-color:#ff6b35;box-shadow:0 0 0 3px #ff6b351a}.clear-btn{position:absolute;right:8px;bottom:7px;background:none;border:none;color:#999;cursor:pointer;font-size:1rem;padding:0 4px;transition:color .3s ease}.clear-btn:hover{color:#ff6b35}.reset-filters-btn{padding:.6vh 1vw;background:linear-gradient(135deg,#00bcd4,#0097a7);color:#fff;border:none;border-radius:4px;font-size:.85rem;cursor:pointer;transition:all .3s ease;white-space:nowrap}.reset-filters-btn:hover{transform:scale(1.05);box-shadow:0 3px 10px #00bcd466}.history-item{display:flex;flex-direction:column;gap:.8vh;padding:1.2vh 1vw 1.2vh 1vw;padding-right:70px;border-bottom:1px solid #f0f0f0;transition:all .3s ease;cursor:pointer;position:relative}.history-item:hover{background:linear-gradient(135deg,#fff3e0,#ffe0b2)}.match-info{display:flex;gap:1vw;align-items:center;flex:1;width:100%}.match-time{color:#666;font-size:.9rem;min-width:150px}.match-score{color:#ff6b35;font-weight:700;font-size:1rem;min-width:50px}.match-status{color:#00bcd4;font-size:.9rem;padding:3px 8px;background:#e0f7fa;border-radius:4px}.delete-btn{padding:8px 10px;background:linear-gradient(135deg,#ff5252,#f44336);color:#fff;border:none;border-radius:6px;font-size:.85rem;cursor:pointer;transition:all .3s ease;white-space:nowrap;position:absolute;right:1vw;top:50%;transform:translateY(-50%);min-width:60px;text-align:center}.delete-btn:hover{transform:translateY(-50%) scale(1.05);box-shadow:0 4px 12px #ff525280}.history-detail-panel{max-width:700px;max-height:75vh;width:90%;overflow-y:auto}.detail-content{flex:1;overflow-y:auto;padding:1vh 0}.detail-section{padding:1.5vh 1.5vw;border-bottom:1px solid #f0f0f0;background:#fafafa}.detail-section:last-child{border-bottom:none}.detail-section h4{color:#ff6b35;font-size:1rem;margin-bottom:1vh;font-weight:700}.detail-item{display:flex;justify-content:space-between;align-items:center;padding:.8vh 0;font-size:.95rem;border-bottom:1px solid #e8e8e8}.detail-item:last-child{border-bottom:none}.detail-label{font-weight:600;color:#666;min-width:80px}.detail-value{color:#333;word-break:break-all;text-align:right;flex:1;margin-left:1vw}.score-display{display:flex;justify-content:space-around;align-items:center;padding:1.5vh;background:#fff;border-radius:8px;margin:1vh 0;border:2px solid #ff6b35}.score-team{display:flex;flex-direction:column;align-items:center;gap:.5vh}.team-name{font-size:.9rem;color:#666;font-weight:500}.team-score{font-size:2rem;font-weight:700;color:#ff6b35}.score-vs{color:#999;font-weight:700;font-size:1.2rem;margin:0 1vw}.games-list{display:flex;flex-direction:column;gap:.5vh}.game-record{display:flex;justify-content:space-between;align-items:center;padding:.8vh 1vw;background:#fff;border-radius:6px;border-left:3px solid #00bcd4;font-size:.9rem}.game-num{color:#ff6b35;font-weight:600;min-width:50px}.game-score{color:#333;font-weight:700;flex:1;text-align:center}.game-winner{color:#00bcd4;font-size:.85rem;min-width:80px;text-align:right}.detail-actions{display:flex;gap:1vw;justify-content:center;padding:1.5vh 1.5vw;border-top:2px solid #f0f0f0;background:#fff}.btn-copy{padding:10px 20px;background:linear-gradient(135deg,#ff6b35,#f7931e);color:#fff;border:none;border-radius:6px;font-size:.9rem;cursor:pointer;transition:all .3s ease}.btn-close:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00bcd466}.game-record-with-btn{display:flex;justify-content:space-between;align-items:center;padding:.8vh 1vw;background:#fff;border-radius:6px;border-left:3px solid #00bcd4;font-size:.9rem;gap:1vw}.history-scoresheet-panel{max-width:1100px;max-height:85vh;width:95%;overflow-y:auto}.scoresheet-content{flex:1;overflow-y:auto;padding:2vh 2vw;background:#fff}.btn-print{padding:10px 20px;background:linear-gradient(135deg,#4caf50,#388e3c);color:#fff;border:none;border-radius:6px;font-size:.9rem;cursor:pointer;transition:all .3s ease}.btn-print:hover{transform:translateY(-2px);box-shadow:0 4px 12px #4caf5066}.btn-close{padding:10px 20px;background:linear-gradient(135deg,#00bcd4,#0097a7);color:#fff;border:none;border-radius:6px;font-size:.9rem;cursor:pointer;transition:all .3s ease}.btn-back{padding:10px 20px;background:linear-gradient(135deg,#757575,#616161);color:#fff;border:none;border-radius:6px;font-size:.9rem;cursor:pointer;transition:all .3s ease;font-weight:600}.btn-back:hover{transform:translateY(-2px);box-shadow:0 4px 12px #61616166}.error-hint{text-align:center;color:#f44336;padding:2vh;font-size:.95rem}@media (max-width: 768px){.submit-form{flex-wrap:wrap;gap:8px}.start-button,.history-button{flex:1;min-width:100px;padding:12px 10px;font-size:.95rem}.history-panel{width:95%;max-height:80vh}.history-detail-panel{width:95%;max-height:85vh}.history-table{font-size:.8rem}.history-table th,.history-table td{padding:.8vh .5vw}.history-table th{font-size:.75rem}.delete-btn-small,.copy-btn-small,.print-btn-small{padding:4px 6px;font-size:.7rem;min-width:45px}.match-info{flex-direction:column;align-items:flex-start;gap:.5vh}.match-time,.match-score,.match-status{min-width:auto}.detail-section{padding:1.2vh 1vw}.detail-item{flex-direction:column;align-items:flex-start;gap:.5vh}.detail-label{min-width:auto}.detail-value{text-align:left;width:100%}.score-display{flex-direction:column;gap:1vh}.score-vs{margin:0}.game-record{flex-direction:column;align-items:flex-start;gap:.5vh;padding:1vh}.game-score,.game-winner{width:100%;text-align:left}.game-winner{min-width:auto}.filter-row{flex-direction:column;gap:.6vh}.filter-group{width:100%;min-width:auto}.filter-input,.filter-select{font-size:.8rem;padding:.5vh .6vw}.reset-filters-btn{width:100%;padding:.6vh .8vw;font-size:.8rem}.date-input-wrapper,.filter-input-date{width:100%}}.qrcode-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:2000;padding:1vh}.qrcode-modal{background:#fff;border-radius:15px;max-width:600px;width:100%;max-height:85vh;overflow-y:auto;box-shadow:0 10px 50px #0000004d;animation:slideUp .3s ease}.qrcode-header{display:flex;justify-content:space-between;align-items:center;padding:2vh 2vw;border-bottom:1px solid #e0e0e0;background:linear-gradient(135deg,#ff6b35,#f7931e);border-radius:15px 15px 0 0}.qrcode-header h2{color:#fff;margin:0;font-size:1.3rem;font-weight:700}.close-btn{background:#fff3;color:#fff;border:none;width:40px;height:40px;border-radius:50%;font-size:1.2rem;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;justify-content:center}.close-btn:hover{background:#ffffff4d;transform:scale(1.1)}.qrcode-content{padding:2vh 2vw}.team-selector{margin-bottom:2vh}.team-selector label{display:block;color:#333;font-weight:600;margin-bottom:.8vh;font-size:.95rem}.team-buttons{display:flex;gap:1vw}.team-btn{flex:1;padding:1vh 1.5vw;border:2px solid #e0e0e0;background:#fff;color:#666;border-radius:6px;font-weight:600;cursor:pointer;transition:all .3s ease;font-family:inherit;font-size:.95rem}.team-btn:hover{border-color:#ff6b35;color:#ff6b35}.team-btn.active{background:linear-gradient(135deg,#ff6b35,#f7931e);color:#fff;border-color:#ff6b35}.qrcode-display{text-align:center;padding:2vh 1.5vw;background:#f9f9f9;border-radius:8px;margin-bottom:2vh}.qr-container{background:#fff;padding:1.5vh;border-radius:8px;display:inline-block;box-shadow:0 2px 8px #0000001a}.qr-container canvas{display:block}.qr-text{color:#666;margin:1.5vh 0 0;font-size:.9rem;font-weight:600}.qrcode-actions{display:flex;gap:1vw;margin-bottom:2vh}.qrcode-actions button{flex:1;padding:1vh 1.5vw;border:none;border-radius:6px;font-weight:600;cursor:pointer;transition:all .3s ease;font-family:inherit;font-size:.9rem}.btn-download{background:linear-gradient(135deg,#ff6b35,#f7931e);color:#fff}.btn-download:hover{transform:translateY(-2px);box-shadow:0 5px 15px #ff6b354d}.btn-copy-link{background:linear-gradient(135deg,#00bcd4,#0097a7);color:#fff}.btn-copy-link:hover{transform:translateY(-2px);box-shadow:0 5px 15px #00bcd44d}.qrcode-link-display{margin-bottom:2vh}.qrcode-link-display label{display:block;color:#333;font-weight:600;margin-bottom:.6vh;font-size:.9rem}.link-box{display:flex;align-items:center;gap:.8vw;background:#f5f5f5;padding:.8vh 1vw;border-radius:6px;border:1px solid #e0e0e0}.link-box code{flex:1;font-family:Courier New,monospace;color:#666;font-size:.8rem;word-break:break-all;line-height:1.4}.copy-icon{background:none;border:none;font-size:1.2rem;cursor:pointer;padding:.4vh .6vw;transition:all .3s ease;flex-shrink:0}.copy-icon:hover{transform:scale(1.2)}.qrcode-tips{background:#f0f7ff;border-left:4px solid #00bcd4;padding:1.5vh 1.5vw;border-radius:4px}.qrcode-tips p{color:#00bcd4;font-weight:600;margin:0 0 .8vh;font-size:.9rem}.qrcode-tips ul{margin:0;padding-left:1.5vw;color:#666;font-size:.85rem;line-height:1.6}.qrcode-tips li{margin-bottom:.4vh}@media (max-width: 768px){.qrcode-modal{max-width:95vw}.qrcode-header h2{font-size:1.1rem}.qrcode-content{padding:1.5vh 1.5vw}.qrcode-actions{flex-direction:column;gap:.8vh}.team-buttons{flex-direction:column}}.score-sheet-container{background:#fff;border-radius:12px;padding:15px;box-shadow:0 4px 20px #0000001a;margin:15px auto;max-width:100%;min-height:400px;position:relative}.score-sheet-group{margin-bottom:20px}.score-sheet-group:last-child{margin-bottom:0}.group-separator{text-align:center;padding:10px;margin:15px 0 10px;background:linear-gradient(135deg,#fff3e0,#ffe0b2);border-radius:6px;font-weight:700;color:#ff6b35;font-size:.9rem;border:1px solid #ffcc80}.score-sheet-header{text-align:center;margin-bottom:15px;padding-bottom:12px;border-bottom:2px solid #ff6b35;position:relative}.score-sheet-header h3{color:#ff6b35;font-size:1.3rem;font-weight:800;margin-bottom:8px}.score-sheet-details{background:linear-gradient(135deg,#fff3e0,#ffe0b2);border-radius:8px;padding:15px;margin:15px 0;border:2px solid #ffcc80}.detail-columns{display:flex;justify-content:space-between;gap:30px;min-height:100px}.detail-column{flex:1;min-width:250px;display:flex;flex-direction:column;gap:8px}.detail-row{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:8px 0;flex-wrap:wrap}.detail-item{display:flex;align-items:center;gap:5px;font-size:.95rem;margin-bottom:5px;min-height:25px}.detail-item-empty{height:1.5rem}.detail-label{color:#ff6b35;font-weight:700;white-space:nowrap;min-width:100px;text-align:right}.detail-value{color:#333;font-weight:600;white-space:nowrap}.score-sheet-actions{position:absolute;top:0;right:0;display:flex;gap:10px}.btn-export-pdf,.btn-print{padding:8px 15px;font-size:.85rem;font-weight:700;border:none;border-radius:6px;cursor:pointer;transition:all .3s;box-shadow:0 2px 8px #00000026}.btn-export-pdf{background:linear-gradient(135deg,#ff6b35,#f7931e);color:#fff}.btn-export-pdf:hover:not(:disabled){background:linear-gradient(135deg,#f7931e,#ff6b35);transform:translateY(-2px);box-shadow:0 4px 12px #ff6b3566}.btn-export-pdf:disabled{opacity:.6;cursor:not-allowed}.btn-print{background:linear-gradient(135deg,#00bcd4,#0097a7);color:#fff}.btn-print:hover{background:linear-gradient(135deg,#0097a7,#00bcd4);transform:translateY(-2px);box-shadow:0 4px 12px #00bcd466}.score-sheet-info{display:flex;justify-content:center;align-items:center;gap:10px;font-size:1rem;font-weight:600;color:#333}.referee-info{text-align:center;margin-top:8px;color:#666;font-size:.9rem;font-weight:500}.score-sheet-info .vs{color:#00bcd4;font-weight:800;font-size:1rem}.score-sheet-table-wrapper-horizontal{max-width:100%;overflow-x:auto;overflow-y:hidden;border:2px solid #e0e0e0;border-radius:8px;margin-bottom:15px}.score-sheet-table-horizontal{width:auto;min-width:100%;border-collapse:collapse;font-size:.95rem}.score-sheet-table-horizontal thead{background:linear-gradient(135deg,#ff6b35,#f7931e)}.score-sheet-table-horizontal thead th{color:#fff;padding:8px 6px;font-weight:700;text-align:center;border-right:1px solid rgba(255,255,255,.3);white-space:nowrap;font-size:.9rem;min-width:20px;width:20px;max-width:20px}.score-sheet-table-horizontal thead th.row-label{min-width:40px;width:40px;max-width:40px}.score-sheet-table-horizontal thead th.col-serve-status{min-width:20px;width:20px;max-width:20px;padding:4px 2px;line-height:1.2;writing-mode:vertical-rl;text-orientation:upright}.score-sheet-table-horizontal thead th.col-serve-status{background:transparent;color:#fff}.score-sheet-table-horizontal thead th:last-child{border-right:none}.score-sheet-table-horizontal tbody tr{border-bottom:1px solid #e0e0e0;transition:background-color .2s}.score-sheet-table-horizontal tbody tr:hover{background-color:#f5f5f5}.score-sheet-table-horizontal tbody tr:last-child{border-bottom:none}.row-label{position:sticky;left:0;background:linear-gradient(135deg,#ff6b35,#f7931e);font-weight:700;color:#fff;padding:16px 6px;text-align:left;border-right:1px solid rgba(255,255,255,.3);white-space:nowrap;z-index:5;min-width:40px;width:40px;max-width:40px;font-size:.8rem}.col-point-num{min-width:20px;width:20px;max-width:20px;padding:16px 3px;font-size:.75rem}.col-serve-status{min-width:20px;width:20px;max-width:20px;padding:16px 3px;font-size:.8rem;font-weight:700;text-align:center}thead .col-serve-status{color:#fff;background:transparent}tbody .col-serve-status{color:#333;background:#fff;border-right:1px solid #e0e0e0}.initial-score{background:linear-gradient(135deg,#f0f0f0,#e8e8e8);font-weight:700;color:#666}.point-cell{min-width:20px;width:20px;max-width:20px;padding:16px 3px;text-align:center;border-right:1px solid #e0e0e0;background:#fff;height:80px}.point-cell:last-child{border-right:none}.point-cell.scored{font-weight:700}.team-a-scored{background-color:#fff3e0}.team-b-scored{background-color:#e1f5fe}.score-cell{display:flex;justify-content:center;align-items:center;gap:4px;min-height:48px}.score-number{font-size:.9rem;font-weight:800;color:#333}.score-sheet-legend{margin-top:12px;padding:10px;background:linear-gradient(135deg,#f5f5f5,#e0e0e0);border-radius:6px;display:flex;justify-content:center;gap:20px;flex-wrap:wrap}.legend-item{display:flex;align-items:center;gap:6px;font-size:.85rem;color:#555}.legend-text{font-weight:500;color:#666}@media (max-width: 768px){.score-sheet-container{padding:12px;margin:12px 8px}.score-sheet-header h3{font-size:1.1rem;padding-right:10px}.score-sheet-actions{position:static;justify-content:center;margin-top:10px;gap:8px}.btn-export-pdf,.btn-print{padding:6px 12px;font-size:.8rem}.score-sheet-details{padding:12px;margin:12px 0}.detail-columns{flex-direction:column;gap:15px}.detail-row{flex-direction:column;gap:10px}.detail-item{font-size:.85rem;justify-content:center}.score-sheet-info{font-size:.9rem;gap:8px}.score-sheet-table-wrapper-horizontal{max-width:100%}.score-sheet-table-horizontal{font-size:.8rem}.score-sheet-table-horizontal thead th{padding:6px 4px;font-size:.85rem}.row-label{padding:12px 5px;font-size:.75rem;min-width:40px}.col-point-num{min-width:18px;padding:12px 2px;font-size:.7rem}.col-serve-status{min-width:19px;padding:12px 2px;font-size:.75rem}.point-cell{min-width:18px;padding:12px 2px;height:72px}.score-number{font-size:.85rem}.score-sheet-legend{gap:12px;font-size:.8rem;padding:8px}}@media (max-width: 375px){.score-sheet-container{padding:10px}.score-sheet-header h3{font-size:1rem;padding-right:0}.score-sheet-details{padding:10px}.detail-item{font-size:.8rem}.score-sheet-info{font-size:.85rem}.score-sheet-table-horizontal{font-size:.75rem}.row-label{padding:10px 4px;font-size:.7rem;min-width:35px}.col-point-num{min-width:15px;padding:10px 2px}.col-serve-status{min-width:16px;padding:10px 2px;font-size:.7rem}.point-cell{min-width:15px;padding:10px 2px;height:64px}.score-number{font-size:.8rem}.score-sheet-legend{padding:8px;font-size:.75rem}.btn-export-pdf,.btn-print{padding:5px 10px;font-size:.75rem}}@media print{@page{size:A4 landscape;margin:15mm}body{background:#fff!important}body>div:not(#root){display:none!important}#root>*:not(.game-board){display:none!important}.game-board>*:not(.match-winner-overlay){display:none!important}.match-winner-overlay{position:static!important;background:transparent!important}.winner-card{box-shadow:none!important}.winner-scoresheet-section{margin:0!important;padding:0!important;border:none!important;background:transparent!important;max-height:none!important;overflow:visible!important}.score-sheet-actions,.winner-actions,.confirm-result-section,.btn-view-scoresheet,.btn-hide-scoresheet{display:none!important}.score-sheet-container{box-shadow:none;margin:0;padding:20px;page-break-inside:avoid;max-width:100%;width:100%;overflow:visible!important}.score-sheet-details{background:#ffe0b2!important;-webkit-print-color-adjust:exact;print-color-adjust:exact;page-break-inside:avoid}.detail-columns{display:flex!important;flex-direction:row!important;gap:30px!important;min-height:100px!important}.detail-column{flex:1!important;min-width:200px!important;display:flex!important;flex-direction:column!important}.score-sheet-table-wrapper-horizontal{border:1px solid #333;page-break-inside:avoid;overflow:visible!important;max-width:none!important}.score-sheet-table-horizontal thead,.row-label{background:#333!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}.team-a-scored{background-color:#ffe0b2!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}.team-b-scored{background-color:#b3e5fc!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}.initial-score{background:#e8e8e8!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}.group-separator{background:#ffe0b2!important;-webkit-print-color-adjust:exact;print-color-adjust:exact;border:1px solid #ff6b35}.score-sheet-group{page-break-inside:avoid}}.team-fill-container{min-height:100vh;background:linear-gradient(135deg,#ff6b35,#f7931e,#00bcd4);background-attachment:fixed;display:flex;align-items:center;justify-content:center;padding:2vh;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.team-fill-card{background:#fff;border-radius:15px;padding:3vh 3vw;max-width:600px;width:100%;box-shadow:0 10px 40px #0003;animation:slideUp .4s ease}@keyframes slideUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}.fill-header{text-align:center;margin-bottom:2.5vh;border-bottom:2px solid #f0f0f0;padding-bottom:2vh}.fill-header h1{color:#ff6b35;font-size:1.8rem;font-weight:800;margin:0 0 .5vh}.fill-header p{color:#666;font-size:.95rem;margin:0}.alert{padding:1vh 1.5vw;border-radius:6px;margin-bottom:1.5vh;font-size:.9rem;animation:slideDown .3s ease}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.alert-error{background:#fee;color:#c33;border-left:4px solid #c33}.alert-success{background:#efe;color:#3c3;border-left:4px solid #3c3}.team-form{margin:2vh 0}.form-group{margin-bottom:2vh}.form-group label{display:block;color:#333;font-weight:600;margin-bottom:.6vh;font-size:.95rem}.form-input{width:100%;padding:1vh 1vw;border:2px solid #e0e0e0;border-radius:6px;font-size:1rem;font-family:inherit;transition:all .3s ease;box-sizing:border-box}.form-input:focus{outline:none;border-color:#ff6b35;box-shadow:0 0 0 3px #ff6b351a}.players-section{background:#f9f9f9;border-radius:8px;padding:2vh 1.5vw;margin-bottom:2vh}.players-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5vh}.players-header label{color:#333;font-weight:600;font-size:.95rem;margin:0}.player-count{background:linear-gradient(135deg,#ff6b35,#f7931e);color:#fff;padding:.3vh .8vw;border-radius:20px;font-size:.8rem;font-weight:600}.player-input-row{display:flex;gap:.8vw;align-items:center;margin-bottom:1vh}.player-number{min-width:60px;color:#666;font-weight:600;font-size:.9rem}.player-input{flex:1;padding:.8vh 1vw;border:1px solid #d0d0d0;border-radius:4px;font-size:.9rem;font-family:inherit;transition:all .3s ease}.player-input:focus{outline:none;border-color:#ff6b35;box-shadow:0 0 0 3px #ff6b351a}.btn-remove{padding:.6vh .8vw;background:#fee;color:#c33;border:1px solid #c33;border-radius:4px;font-size:.8rem;cursor:pointer;transition:all .3s ease;white-space:nowrap;font-family:inherit;font-weight:600}.btn-remove:hover{background:#c33;color:#fff;transform:scale(1.05)}.btn-add-player{width:100%;padding:1vh 1vw;background:linear-gradient(135deg,#00bcd4,#0097a7);color:#fff;border:none;border-radius:6px;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .3s ease;font-family:inherit;margin-top:.5vh}.btn-add-player:hover{transform:translateY(-2px);box-shadow:0 5px 15px #00bcd44d}.btn-submit{width:100%;padding:1.2vh 2vw;background:linear-gradient(135deg,#ff6b35,#f7931e);color:#fff;border:none;border-radius:8px;font-size:1rem;font-weight:700;cursor:pointer;transition:all .3s ease;font-family:inherit;margin-top:1.5vh}.btn-submit:hover{transform:translateY(-2px);box-shadow:0 8px 20px #ff6b3566}.btn-submit:active{transform:translateY(0)}.fill-tips{background:#f0f7ff;border-left:4px solid #00bcd4;padding:1.5vh 1.5vw;border-radius:4px;margin-top:2vh}.fill-tips p{color:#00bcd4;font-weight:600;margin:0 0 .8vh;font-size:.9rem}.fill-tips ul{margin:0;padding-left:1.5vw;color:#666;font-size:.85rem;line-height:1.6}.fill-tips li{margin-bottom:.4vh}@media (max-width: 768px){.team-fill-card{padding:2vh 2vw}.fill-header h1{font-size:1.4rem}.player-number{min-width:50px;font-size:.85rem}.btn-remove{font-size:.75rem;padding:.5vh .6vw}.player-input-row{gap:.6vw}}.coin-toss-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000d9;display:flex;align-items:center;justify-content:center;z-index:2000;animation:fadeIn .3s ease}.coin-toss-card{background:linear-gradient(135deg,#667eea,#764ba2);padding:40px;border-radius:20px;max-width:900px;width:90%;max-height:90vh;overflow-y:auto;animation:scaleIn .5s ease;box-shadow:0 20px 60px #00000080}.coin-toss-card h2{color:#fff;text-align:center;font-size:2rem;margin-bottom:30px;text-shadow:2px 2px 4px rgba(0,0,0,.3)}.color-selection-section{display:grid;grid-template-columns:1fr auto 1fr;gap:25px;margin-bottom:25px;background:#ffffff14;padding:25px 20px;border-radius:20px;align-items:center;justify-items:center}.coin-toss-card .team-selection{text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#ffffff0d;padding:20px 15px;border-radius:16px;min-height:260px;width:100%}.coin-toss-card .team-selection h3{color:#fff;font-size:1.4rem;margin-bottom:8px;font-weight:700;text-align:center}.coin-toss-card .team-selection h3+.team-members-display{margin-top:-8px}.coin-toss-card .team-selection.has-members h3{display:none}.coin-toss-card .team-members-display{color:#fffffff2;font-size:1.9rem;margin-bottom:10px;padding:8px 16px;background:#ffffff1f;border-radius:20px;text-align:center;line-height:1.5;max-width:100%;box-shadow:0 2px 8px #0000001a;word-break:break-word;font-weight:600}.color-buttons{display:flex;flex-direction:column;gap:12px;align-items:center;justify-content:center;width:100%;margin:0 auto}.color-btn{display:flex;align-items:center;justify-content:center;gap:10px;padding:10px 20px;background:#ffffff26;border:3px solid transparent;border-radius:50px;cursor:pointer;transition:all .3s ease;font-size:1rem;font-weight:600;color:#fff;width:160px;box-shadow:0 2px 8px #00000026;margin:0 auto}.color-btn:hover:not(:disabled){background:#ffffff40;transform:translateY(-3px);box-shadow:0 6px 20px #00000040}.color-btn.selected{border-color:gold;background:#ffd70040;box-shadow:0 4px 20px #ffd70080,0 0 30px #ffd7004d;transform:scale(1.08)}.color-btn.selected .color-preview{border-color:gold;box-shadow:0 0 15px #ffd700cc}.color-btn:disabled{opacity:.6;cursor:not-allowed}.color-circle{width:40px;height:40px;border-radius:50%;border:3px solid white;box-shadow:0 2px 8px #0000004d;overflow:hidden}.color-preview{width:45px;height:45px;border-radius:50%;border:3px solid white;box-shadow:0 2px 8px #0000004d;overflow:hidden;flex-shrink:0}.color-preview-image{width:100%;height:100%;object-fit:cover;display:block}.blue-circle{background:linear-gradient(135deg,#4facfe,#00f2fe)}.red-circle{background:linear-gradient(135deg,#fa709a,#fee140)}.vs-divider-toss{display:flex;align-items:center;justify-content:center;color:#fff;font-size:2.2rem;font-weight:900;text-shadow:0 4px 12px rgba(0,0,0,.4);background:linear-gradient(135deg,#fff,gold,#fff);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;padding:0 10px}.coin-animation-area{min-height:180px;display:flex;align-items:center;justify-content:center;margin:25px 0;background:#00000026;border-radius:20px;padding:25px;border:2px solid rgba(255,255,255,.1)}.coin-flip-animation{perspective:1000px}.coin{width:150px;height:150px;position:relative;transform-style:preserve-3d;animation:flipCoin .6s linear infinite}@keyframes flipCoin{0%{transform:rotateY(0)}to{transform:rotateY(360deg)}}.coin-side{position:absolute;width:100%;height:100%;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:3rem;font-weight:700;color:#fff;backface-visibility:hidden;border:5px solid #ffd700;box-shadow:0 0 30px #ffd70080;overflow:hidden}.coin-image,.result-image{width:100%;height:100%;object-fit:cover;border-radius:50%}.blue-side{background:linear-gradient(135deg,#4facfe,#00f2fe)}.red-side{background:linear-gradient(135deg,#fa709a,#fee140);transform:rotateY(180deg)}.ready-message{color:#fff;font-size:1.2rem;text-align:center;animation:pulse 2s infinite;padding:20px;background:#4caf5026;border-radius:16px;border:2px solid rgba(76,175,80,.3)}@keyframes pulse{0%,to{opacity:1}50%{opacity:.6}}.btn-start-toss{width:100%;max-width:400px;margin:0 auto;padding:16px 35px;background:linear-gradient(135deg,gold,#ffed4e);color:#333;border:none;border-radius:50px;font-size:1.25rem;font-weight:700;cursor:pointer;transition:all .3s ease;box-shadow:0 6px 25px #ffd70073;display:block}.btn-start-toss:hover:not(:disabled){transform:translateY(-4px);box-shadow:0 10px 35px #ffd700a6;background:linear-gradient(135deg,#ffed4e,gold)}.btn-start-toss:disabled{opacity:.5;cursor:not-allowed;background:#999}.toss-result{text-align:center;animation:scaleIn .5s ease}.result-coin{margin:30px 0;display:flex;justify-content:center}.result-circle{width:200px;height:200px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:3rem;font-weight:700;color:#fff;border:6px solid #ffd700;box-shadow:0 0 40px #ffd700cc;animation:resultPulse 1s ease-in-out infinite}.result-circle.blue{background:linear-gradient(135deg,#4facfe,#00f2fe)}.result-circle.red{background:linear-gradient(135deg,#fa709a,#fee140)}@keyframes resultPulse{0%,to{transform:scale(1)}50%{transform:scale(1.05)}}.result-text{color:#fff;font-size:1.5rem;margin-bottom:20px}.winner-announcement{background:#fff3;padding:30px;border-radius:15px;margin:20px 0}.winner-name{color:gold;font-size:2.5rem;font-weight:700;margin-bottom:10px;text-shadow:2px 2px 4px rgba(0,0,0,.5)}.winner-label{color:#fff;font-size:1.3rem;margin-bottom:15px}.winner-color{color:#fff;font-size:1.1rem;display:flex;align-items:center;justify-content:center;gap:10px}.color-tag{padding:8px 20px;border-radius:20px;font-weight:700;font-size:1.2rem}.color-tag.blue{background:linear-gradient(135deg,#4facfe,#00f2fe);color:#fff}.color-tag.red{background:linear-gradient(135deg,#fa709a,#fee140);color:#fff}.btn-confirm-result{width:100%;padding:18px 40px;background:linear-gradient(135deg,#00bcd4,#0097a7);color:#fff;border:none;border-radius:12px;font-size:1.2rem;font-weight:700;cursor:pointer;transition:all .3s ease;margin-top:20px;box-shadow:0 5px 20px #00bcd466}.btn-confirm-result:hover{transform:translateY(-3px);box-shadow:0 8px 30px #00bcd499}@media (max-width: 768px){.coin-toss-card{padding:25px 15px;width:95%}.coin-toss-card h2{font-size:1.5rem;margin-bottom:20px}.color-selection-section{grid-template-columns:1fr auto 1fr;gap:15px;padding:20px 15px}.vs-divider-toss{font-size:1.5rem;padding:10px 0}.coin-toss-card .team-selection h3{font-size:1.2rem}.color-btn{padding:12px 20px;font-size:1rem}.color-circle{width:35px;height:35px}.coin{width:120px;height:120px}.coin-side{font-size:2.5rem}.result-circle{width:150px;height:150px;font-size:2.5rem}.winner-name{font-size:2rem}.winner-label{font-size:1.1rem}.btn-start-toss,.btn-confirm-result{font-size:1.1rem;padding:15px 30px}}@media (max-width: 375px){.coin-toss-card{padding:20px 10px}.coin-toss-card h2{font-size:1.3rem}.color-selection-section{padding:15px 10px}.color-btn{font-size:.9rem;padding:10px 15px}.result-circle{width:120px;height:120px;font-size:2rem}}.toss-choice-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000d9;display:flex;align-items:center;justify-content:center;z-index:2000;animation:fadeIn .3s ease}.toss-choice-card{background:linear-gradient(135deg,#667eea,#764ba2);padding:40px;border-radius:20px;max-width:700px;width:90%;animation:scaleIn .5s ease;box-shadow:0 20px 60px #00000080;max-height:90vh;overflow-y:auto}.toss-choice-card h2{color:#fff;text-align:center;font-size:2rem;margin-bottom:30px;text-shadow:2px 2px 4px rgba(0,0,0,.3)}.winner-announcement{text-align:center;margin-bottom:30px;background:#ffffff26;padding:25px;border-radius:15px}.winner-team{color:gold;font-size:2.5rem;font-weight:700;margin-bottom:15px;text-shadow:2px 2px 4px rgba(0,0,0,.5)}.choice-prompt{color:#fff;font-size:1.2rem;margin:0}.current-chooser{text-align:center;margin-bottom:25px;background:#ffffff26;padding:15px;border-radius:10px}.chooser-label{color:#ffffffe6;font-size:1rem;margin-right:10px}.chooser-name{color:gold;font-size:1.5rem;font-weight:700;text-shadow:2px 2px 4px rgba(0,0,0,.3)}.previous-choice-info{background:#fff3;padding:15px;border-radius:10px;margin-bottom:20px;text-align:center}.previous-choice-info p{color:#fff;margin:0;font-size:1.1rem}.previous-choice-info strong{color:gold;font-weight:700}.choice-buttons{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:20px}.choice-btn{background:#fff3;border:3px solid rgba(255,255,255,.3);border-radius:15px;padding:30px 20px;cursor:pointer;transition:all .3s ease;text-align:center;color:#fff}.choice-btn:hover{transform:translateY(-5px);background:#ffffff4d;border-color:gold;box-shadow:0 10px 30px #ffd70066}.choice-icon{font-size:3rem;margin-bottom:15px}.choice-title{font-size:1.5rem;font-weight:700;margin-bottom:10px}.choice-desc{font-size:.95rem;color:#ffffffd9}.court-visual{margin:30px 0}.court-container{display:grid;grid-template-columns:1fr auto 1fr;gap:0;background:#ffffff1a;border-radius:15px;padding:20px;min-height:300px}.court-half{background:linear-gradient(135deg,#4caf504d,#8bc34a4d);border:3px solid rgba(255,255,255,.3);border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;transition:all .3s ease;padding:20px;position:relative;overflow:hidden}.court-half:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(to bottom,rgba(255,255,255,.1) 0%,transparent 20%,transparent 80%,rgba(0,0,0,.1) 100%);pointer-events:none}.court-half:hover{transform:scale(1.02);border-color:gold;box-shadow:0 0 30px #ffd70080;background:linear-gradient(135deg,#4caf5080,#8bc34a80)}.court-half.selected{border-color:gold;border-width:4px;background:linear-gradient(135deg,#ffd70066,#ffeb3b66);box-shadow:0 0 40px #ffd700b3;animation:courtPulse 1.5s ease-in-out infinite}@keyframes courtPulse{0%,to{box-shadow:0 0 40px #ffd700b3}50%{box-shadow:0 0 60px #ffd700e6}}.court-label{font-size:1.5rem;font-weight:700;color:#fff;margin-bottom:15px;z-index:1;text-shadow:2px 2px 4px rgba(0,0,0,.5)}.court-icon{font-size:4rem;color:#ffffffb3;z-index:1;text-shadow:2px 2px 4px rgba(0,0,0,.3)}.court-half.selected .court-icon{color:gold;animation:bounceIcon .6s ease}@keyframes bounceIcon{0%,to{transform:scale(1)}50%{transform:scale(1.3)}}.court-net{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 15px;position:relative}.net-line{width:4px;height:100%;background:repeating-linear-gradient(to bottom,white 0px,white 10px,transparent 10px,transparent 20px);border-radius:2px;box-shadow:0 0 10px #ffffff80}.net-label{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) rotate(-90deg);color:#fff;font-weight:700;font-size:1.2rem;white-space:nowrap;text-shadow:2px 2px 4px rgba(0,0,0,.5);background:#667eeacc;padding:5px 20px;border-radius:20px}.choice-hint{text-align:center;color:#ffffffe6;font-size:1.1rem;margin-top:20px;background:#ffffff1a;padding:12px;border-radius:8px}.setup-info{background:#ffffff26;padding:15px;border-radius:10px;margin-bottom:25px;text-align:center}.setup-info p{color:#fff;margin:0;font-size:1.1rem}.setup-section{background:#ffffff1a;padding:20px;border-radius:12px;margin-bottom:20px}.setup-section h3{color:#fff;font-size:1.3rem;margin-bottom:15px;text-align:center}.position-setup-container{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:20px}.position-setup{display:grid;grid-template-columns:1fr 1fr;gap:20px}.player-selection{display:flex;flex-direction:column;gap:12px}.player-btn{padding:15px 20px;background:#fff3;border:2px solid rgba(255,255,255,.3);border-radius:10px;color:#fff;font-size:1.05rem;font-weight:600;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;justify-content:center;gap:8px}.player-btn:hover{background:#ffffff4d;transform:translateY(-2px);box-shadow:0 4px 12px #0003}.player-btn.selected{background:#ffd7004d;border-color:gold;box-shadow:0 0 15px #ffd70099;transform:scale(1.03)}.position-column label{color:#fff;font-weight:600;font-size:1rem}.position-select{padding:12px;border-radius:8px;border:2px solid rgba(255,255,255,.3);background:#ffffffe6;font-size:1rem;cursor:pointer;transition:all .3s ease}.position-select:focus{outline:none;border-color:gold;box-shadow:0 0 10px #ffd70080}.wuyulunbi-info{background:#ffd70026;padding:15px;border-radius:10px;margin-bottom:20px;border:2px solid rgba(255,215,0,.3)}.wuyulunbi-info p{color:gold;font-weight:700;margin:0 0 10px;font-size:1.1rem}.wuyulunbi-info ul{margin:0;padding-left:20px;color:#fff}.wuyulunbi-info li{margin-bottom:5px;font-size:.95rem;color:#fff}.serve-info-tips{background:#ffffff1a;padding:15px;border-radius:10px;margin-bottom:20px}.serve-info-tips p{color:#fff;font-weight:700;margin:0 0 10px;font-size:1.05rem}.serve-info-tips ul{margin:0;padding-left:20px;color:#ffffffe6}.serve-info-tips li{margin-bottom:5px;font-size:.9rem}.confirm-btn{width:100%;padding:18px 40px;background:linear-gradient(135deg,gold,#ffed4e);color:#333;border:none;border-radius:12px;font-size:1.3rem;font-weight:700;cursor:pointer;transition:all .3s ease;box-shadow:0 5px 20px #ffd70066;margin:20px 0}.confirm-btn:hover{transform:translateY(-3px);box-shadow:0 8px 30px #ffd70099}@media (max-width: 768px){.toss-choice-card{padding:25px 15px;width:95%}.toss-choice-card h2{font-size:1.5rem;margin-bottom:20px}.winner-team{font-size:2rem}.choice-prompt{font-size:1rem}.choice-buttons{grid-template-columns:1fr;gap:15px}.choice-btn{padding:25px 15px}.choice-icon{font-size:2.5rem}.choice-title{font-size:1.3rem}.court-container{grid-template-columns:1fr 1fr;gap:10px;min-height:auto}.court-net{height:auto;padding:15px 0}.net-line{width:100%;height:4px;background:repeating-linear-gradient(to right,white 0px,white 10px,transparent 10px,transparent 20px)}.net-label{transform:translate(-50%,-50%) rotate(0)}.court-icon{font-size:3rem}.position-setup,.position-setup-container{grid-template-columns:1fr 1fr;gap:10px}.player-selection{gap:10px}.player-btn{padding:12px 16px;font-size:1rem}}@media (max-width: 375px){.toss-choice-card{padding:20px 10px}.toss-choice-card h2{font-size:1.3rem}.winner-team{font-size:1.8rem}.choice-btn{padding:20px 10px}.choice-icon{font-size:2rem}.choice-title{font-size:1.1rem}.court-label{font-size:1.2rem}}@keyframes scaleIn{0%{transform:scale(.9);opacity:0}to{transform:scale(1);opacity:1}}.game-board{max-width:100%;width:100%;margin:0 auto;position:relative;animation:fadeInUp .6s ease}@keyframes fadeInUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.alert-banner{position:fixed;top:20px;left:50%;transform:translate(-50%);background:linear-gradient(135deg,#ffd54f,#ffb300);color:#333;padding:15px 30px;border-radius:50px;font-size:1.3rem;font-weight:700;box-shadow:0 5px 20px #ffb30080;z-index:1000;animation:slideDown .5s ease,pulse 2s infinite}@keyframes pulse{0%,to{box-shadow:0 5px 20px #ffb30080}50%{box-shadow:0 8px 30px #ffb300cc}}@keyframes slideDown{0%{top:-100px;opacity:0}to{top:20px;opacity:1}}.match-winner-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000c;display:flex;align-items:center;justify-content:center;z-index:2000;animation:fadeIn .3s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.winner-card{background:#fff;padding:50px;border-radius:20px;text-align:center;max-width:500px;animation:scaleIn .5s ease}.winner-card-large{max-width:900px;max-height:90vh;overflow-y:auto}.referee-info-winner{text-align:center;margin:15px 0;color:#333;font-size:1.3rem;font-weight:600}.single-game-score h4,.multi-game-scores h4{color:#ff6b35;font-size:1.1rem;margin:15px 0 10px;font-weight:700}.multi-game-scores{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:15px 0}.score-section{background:linear-gradient(135deg,#fff3e0,#ffe0b2);padding:15px;border-radius:10px;border:2px solid #ffcc80}.winner-scoresheet-section{margin:20px 0;max-height:500px;overflow-y:auto;border:2px solid #e0e0e0;border-radius:10px;padding:10px;background:#f9f9f9}.btn-view-scoresheet,.btn-hide-scoresheet{padding:12px 25px;background:linear-gradient(135deg,#00bcd4,#0097a7);color:#fff;border:none;border-radius:8px;font-size:1rem;font-weight:700;cursor:pointer;transition:all .3s;box-shadow:0 3px 10px #00bcd44d}.btn-view-scoresheet:hover,.btn-hide-scoresheet:hover{background:linear-gradient(135deg,#0097a7,#00838f);transform:translateY(-2px);box-shadow:0 5px 15px #00bcd480}.confirm-result-section{margin-top:20px;padding-top:20px;border-top:2px dashed #e0e0e0}.btn-confirm-result{width:100%;padding:15px;background:linear-gradient(135deg,#4caf50,#388e3c);color:#fff;border:none;border-radius:10px;font-size:1.2rem;font-weight:800;cursor:pointer;transition:all .3s;box-shadow:0 4px 15px #4caf504d}.btn-confirm-result:hover{background:linear-gradient(135deg,#388e3c,#2e7d32);transform:translateY(-3px);box-shadow:0 6px 20px #4caf5080}@keyframes scaleIn{0%{transform:scale(.5);opacity:0}to{transform:scale(1);opacity:1}}.winner-card h2{color:#ff6b35;font-size:2.5rem;margin-bottom:20px;font-weight:800;animation:colorShift 3s ease infinite}@keyframes colorShift{0%,to{color:#ff6b35}50%{color:#f7931e}}.winner-name{color:#00bcd4;font-size:2rem;margin-bottom:20px;font-weight:700;text-shadow:2px 2px 4px rgba(0,188,212,.3)}.final-score{font-size:1.5rem;color:#555;margin-bottom:30px}.final-score-detail{display:flex;align-items:center;justify-content:center;gap:30px;margin:30px 0;padding:30px;background:linear-gradient(135deg,#ff6b35,#f7931e);border-radius:15px;box-shadow:0 8px 25px #ff6b3566;animation:gradientFlow 3s ease infinite}@keyframes gradientFlow{0%,to{background:linear-gradient(135deg,#ff6b35,#f7931e)}50%{background:linear-gradient(135deg,#f7931e,#ff6b35)}}.final-score-team{display:flex;flex-direction:column;align-items:center;gap:10px;flex:1}.final-team-name{font-size:1.2rem;color:#fff;font-weight:600;text-align:center;word-break:break-word;max-width:200px}.final-team-score{font-size:4rem;font-weight:700;color:#fff;line-height:1;text-shadow:2px 2px 4px rgba(0,0,0,.2)}.final-team-score.winner-score{color:gold;animation:winnerPulse 1.5s ease-in-out infinite,glowEffect 2s ease infinite;text-shadow:0 0 20px rgba(255,215,0,.8)}@keyframes winnerPulse{0%,to{transform:scale(1)}50%{transform:scale(1.15)}}@keyframes glowEffect{0%,to{text-shadow:0 0 20px rgba(255,215,0,.8),0 0 30px rgba(255,215,0,.6)}50%{text-shadow:0 0 30px rgba(255,215,0,1),0 0 50px rgba(255,215,0,.8)}}.final-score-vs{font-size:3rem;color:#fff;font-weight:300;opacity:.8}.game-score-detail{display:flex;align-items:center;justify-content:center;gap:20px;margin:30px 0;padding:25px;background:linear-gradient(135deg,#e1f5fe,#b3e5fc);border-radius:15px;box-shadow:0 3px 10px #00bcd433;animation:slideIn .5s ease}@keyframes slideIn{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.game-score-detail .score-line{display:flex;flex-direction:column;align-items:center;gap:8px}.game-score-detail .team-name{font-size:1rem;color:#00bcd4;font-weight:600}.game-score-detail .score-value{font-size:3rem;font-weight:700;color:#ff6b35;line-height:1;text-shadow:2px 2px 4px rgba(255,107,53,.2)}.game-score-detail .score-divider{font-size:2.5rem;color:#00bcd4;font-weight:300}.match-score-summary{font-size:1.2rem;color:#666;margin-bottom:30px;padding:15px;background:#f9f9f9;border-radius:10px;font-weight:500}.match-time-info{background:linear-gradient(135deg,#fff3e0,#ffe0b2);padding:20px;border-radius:12px;margin:25px 0;box-shadow:0 3px 12px #ffb30033;border-left:4px solid #ff6b35;animation:slideInLeft .5s ease}@keyframes slideInLeft{0%{opacity:0;transform:translate(-20px)}to{opacity:1;transform:translate(0)}}.match-time-info .time-item{display:flex;justify-content:space-between;align-items:center;padding:8px 0;border-bottom:1px solid rgba(255,179,0,.2);transition:all .3s ease}.match-time-info .time-item:hover{transform:translate(5px);padding-left:10px}.match-time-info .time-item:last-child{border-bottom:none}.match-time-info .time-label{font-weight:600;color:#ff6b35;font-size:1rem}.match-time-info .time-value{font-weight:700;color:#f7931e;font-size:1.1rem}.match-records{margin:25px 0;text-align:left}.match-records h4{color:#00bcd4;margin-bottom:15px;font-size:1.2rem;text-align:center;font-weight:700}.records-list{max-height:200px;overflow-y:auto;background:#f9f9f9;border-radius:10px;padding:10px}.record-item{display:grid;grid-template-columns:80px 100px 1fr 80px;gap:10px;align-items:center;padding:12px;background:#fff;border-radius:8px;margin-bottom:8px;box-shadow:0 2px 4px #0000000d;transition:all .3s ease;border-left:3px solid transparent;cursor:pointer}.record-item:hover{transform:translate(8px);box-shadow:0 4px 12px #ff6b3533;border-left-color:#ff6b35;background:linear-gradient(90deg,#fff3e0,#fff)}.record-item-selected{background:linear-gradient(90deg,#e3f2fd,#bbdefb)!important;border-left-color:#00bcd4!important;box-shadow:0 4px 12px #00bcd466!important;transform:translate(8px)!important}.record-item-selected .record-game{color:#0097a7;font-weight:700}.record-item:last-child{margin-bottom:0}.record-game{font-weight:600;color:#00bcd4;font-size:.95rem}.record-score{font-weight:700;color:#ff6b35;font-size:1.1rem;text-align:center}.record-winner{color:#66bb6a;font-weight:600;font-size:.95rem}.record-time{color:#999;font-size:.9rem;text-align:right}.winner-actions{display:flex;gap:15px;justify-content:center}.btn-restart,.btn-new-game,.btn-end-match{padding:12px 30px;border:none;border-radius:8px;font-size:1.1rem;font-weight:700;cursor:pointer;transition:all .3s ease;position:relative;overflow:hidden}.btn-restart:before,.btn-new-game:before,.btn-end-match:before{content:"";position:absolute;top:50%;left:50%;width:0;height:0;border-radius:50%;background:#ffffff4d;transform:translate(-50%,-50%);transition:width .6s,height .6s}.btn-restart:hover:before,.btn-new-game:hover:before,.btn-end-match:hover:before{width:300px;height:300px}.btn-restart{background:linear-gradient(135deg,#00bcd4,#0097a7);color:#fff;box-shadow:0 4px 15px #00bcd44d}.btn-new-game{background:linear-gradient(135deg,#ffd54f,#ffb300);color:#333;box-shadow:0 4px 15px #ffb3004d;font-weight:800}.btn-end-match{background:linear-gradient(135deg,#ff5252,#f44336);color:#fff;box-shadow:0 4px 15px #ff52524d}.btn-restart:hover,.btn-new-game:hover,.btn-end-match:hover{transform:translateY(-3px);box-shadow:0 8px 25px #0000004d}.game-info{background:#fff;padding:20px;border-radius:15px;margin-bottom:20px;display:flex;justify-content:space-between;align-items:center;box-shadow:0 4px 15px #0000001a}.game-info-buttons{display:flex;gap:15px;align-items:center}.btn-score-sheet{padding:10px 20px;background:linear-gradient(135deg,#00bcd4,#0097a7);color:#fff;border:none;border-radius:8px;font-size:1rem;font-weight:700;cursor:pointer;transition:all .3s;box-shadow:0 3px 10px #00bcd44d}.btn-score-sheet:hover:not(:disabled){background:linear-gradient(135deg,#0097a7,#00838f);transform:translateY(-2px);box-shadow:0 5px 15px #00bcd480}.btn-score-sheet:disabled{opacity:.5;cursor:not-allowed}.serve-info-bar{background:linear-gradient(135deg,#00bcd4,#0097a7);padding:15px 25px;border-radius:12px;margin-bottom:25px;box-shadow:0 4px 15px #00bcd44d;transition:all .3s ease;animation:bounceIn .5s ease}@keyframes bounceIn{0%{opacity:0;transform:scale(.8)}50%{transform:scale(1.05)}to{opacity:1;transform:scale(1)}}.serve-info-bar.consecutive-serve{background:linear-gradient(135deg,#66bb6a,#43a047);animation:pulseGlow 1s ease,bounceIn .5s ease}.serve-info-bar.serve-change{background:linear-gradient(135deg,#ff6b35,#f7931e);animation:slideChange .5s ease,bounceIn .5s ease}@keyframes pulseGlow{0%,to{box-shadow:0 4px 15px #66bb6a66}50%{box-shadow:0 6px 25px #66bb6acc}}@keyframes slideChange{0%{transform:translate(-20px);opacity:.5}to{transform:translate(0);opacity:1}}.serve-info-content{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:15px;color:#fff;font-size:1.1rem}.serve-label{font-weight:700;color:#fff;display:flex;align-items:center;gap:5px}.serve-player{font-weight:700;color:#fff;background:#fff3;padding:5px 15px;border-radius:20px}.serve-player-name{color:gold}.serve-position{background:#fff;color:#19547b;padding:5px 15px;border-radius:20px;font-weight:700;font-size:1rem}.receiver-label{font-weight:600;color:#fff}.receiver-player{color:#fff;background:#fff3;padding:5px 15px;border-radius:20px;font-weight:500}.match-info{font-size:1.2rem;color:#333;font-weight:500}.separator{margin:0 15px;color:#ccc}.btn-reset{padding:10px 25px;background:#f5576c;color:#fff;border:none;border-radius:8px;font-size:1rem;font-weight:700;cursor:pointer;transition:all .3s}.btn-reset:hover{background:#e04455;transform:translateY(-2px);box-shadow:0 4px 12px #f5576c4d}.scoreboard{display:grid;grid-template-columns:1.44fr auto 1.44fr;gap:20px;margin-bottom:30px}.role-icon{font-size:1.2rem;animation:iconBounce .5s ease}.role-icon.serving{display:inline-block;filter:drop-shadow(0 0 8px rgba(255,71,87,.8)) drop-shadow(0 0 15px rgba(255,71,87,.6));animation:servingGlow 1.5s ease-in-out infinite}.role-icon.receiving{display:inline-block;filter:drop-shadow(0 0 8px rgba(56,189,248,.8)) drop-shadow(0 0 15px rgba(56,189,248,.6));animation:receivingGlow 1.5s ease-in-out infinite}@keyframes servingGlow{0%,to{filter:drop-shadow(0 0 8px rgba(255,71,87,.8)) drop-shadow(0 0 15px rgba(255,71,87,.6))}50%{filter:drop-shadow(0 0 12px rgba(255,71,87,1)) drop-shadow(0 0 20px rgba(255,71,87,.8))}}@keyframes receivingGlow{0%,to{filter:drop-shadow(0 0 8px rgba(56,189,248,.8)) drop-shadow(0 0 15px rgba(56,189,248,.6))}50%{filter:drop-shadow(0 0 12px rgba(56,189,248,1)) drop-shadow(0 0 20px rgba(56,189,248,.8))}}@keyframes iconBounce{0%,to{transform:scale(1)}50%{transform:scale(1.2)}}.integrated-court-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:10px;background:transparent;border-radius:10px;border:none;margin-bottom:15px}.integrated-court-area{background:linear-gradient(135deg,#fff,#f0f4f8);border:2px solid #d0d0d0;border-radius:8px;padding:15px 10px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;transition:all .3s;position:relative;min-height:85px}.integrated-court-area.serving-area{background:linear-gradient(135deg,#ff6b6b,#ee5a6f);border-color:#ff4757;border-width:3px;box-shadow:0 0 0 3px #ff47574d,0 4px 15px #ff475766;transform:scale(1.03)}.integrated-court-area.receiving-area{background:linear-gradient(135deg,#9bddff,#1976d2);border-color:#38bdf8;border-width:3px;box-shadow:0 0 0 3px #38bdf84d,0 4px 15px #38bdf866;transform:scale(1.03)}.integrated-court-area .area-label{font-size:.75rem;color:#666;font-weight:700;text-transform:uppercase;position:absolute;top:5px;left:8px;background:#ffffffb3;padding:2px 6px;border-radius:3px}.integrated-court-area .status-label{font-size:.75rem;color:#666;font-weight:700;text-transform:uppercase;position:absolute;top:5px;right:8px;background:#ffffffb3;padding:2px 6px;border-radius:3px}.integrated-court-area.serving-area .area-label,.integrated-court-area.serving-area .status-label,.integrated-court-area.receiving-area .status-label{color:#fff;background:#0000004d}.integrated-court-area .player-in-area{font-size:1.15rem;font-weight:700;color:#333;text-align:center;line-height:1.3}.integrated-court-area.serving-area .player-in-area{color:#fff;font-size:1.25rem;text-shadow:1px 1px 2px rgba(0,0,0,.3)}.court-positions{display:none}.court-side{display:flex;flex-direction:column;gap:12px}.court-side-title{text-align:center;color:#667eea;font-size:1.1rem;font-weight:600;margin:0;padding-bottom:10px;border-bottom:2px solid #e0e0e0}.court-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;min-height:120px}.court-area{background:linear-gradient(135deg,#f5f7fa,#c3cfe2);border:2px solid #d0d0d0;border-radius:10px;padding:15px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;transition:all .3s;position:relative}.court-area.serving-area{background:linear-gradient(135deg,#ff6b6b,#ee5a6f);border-color:#ff4757;border-width:3px;box-shadow:0 0 0 3px #ff47574d;transform:scale(1.05)}.area-label{font-size:.75rem;color:#666;font-weight:600;text-transform:uppercase;position:absolute;top:5px;left:8px}.court-area.serving-area .area-label{color:#fff}.player-in-area{font-size:1.1rem;font-weight:700;color:#333;text-align:center}.court-area.serving-area .player-in-area{color:#fff;font-size:1.2rem}.court-divider{display:flex;align-items:center;justify-content:center}.net{writing-mode:vertical-rl;background:linear-gradient(to bottom,#667eea,#764ba2);color:#fff;font-weight:700;padding:15px 8px;border-radius:8px;font-size:1rem;letter-spacing:3px;box-shadow:0 2px 8px #0003}.player-panel{background:#fff;padding:40px;border-radius:15px;box-shadow:0 8px 25px #0000001a;transition:all .3s;min-height:450px;display:flex;flex-direction:column}.player-panel.serving{box-shadow:0 0 0 4px #ff4757,0 8px 25px #ff47574d;transform:scale(1.02)}.panel-a{border-top:5px solid #667eea}.panel-b{border-top:5px solid #f093fb}.player-info{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:20px}.player-name-container{flex:1}.player-name{font-size:1.8rem;color:#333;margin:0 0 10px}.team-members-display{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.next-player-info{display:flex;align-items:center;justify-content:flex-start;gap:6px;margin:8px 0;padding:4px 8px;background:linear-gradient(135deg,#fff9e6,#ffe8cc);border-radius:6px;border:1px dashed #ffa726;max-width:53.33%}.next-player-label{font-size:.65rem;color:#f57c00;font-weight:600}.next-player-name{font-size:.75rem;color:#e65100;font-weight:700;padding:1px 6px;background:#fff9;border-radius:4px}.member-tag{display:inline-block;padding:4px 12px;background:linear-gradient(135deg,#e0e7ff,#f3e8ff);color:#667eea;border-radius:12px;font-size:.85rem;font-weight:500;border:1px solid rgba(102,126,234,.2);transition:all .3s}.member-tag.serving-player{background:linear-gradient(135deg,gold,#ffed4e);color:#333;border-color:gold;font-weight:700;box-shadow:0 2px 8px #ffd70066;transform:scale(1.05)}.member-tag.receiving-player{background:linear-gradient(135deg,#a8edea,#fed6e3);color:#19547b;border-color:#a8edea;font-weight:600}.member-tag.offcourt-player{background:linear-gradient(135deg,#e0e0e0,#bdbdbd);color:#757575;border-color:#9e9e9e;opacity:.6;font-weight:400}.member-tag.oncourt-player{background:linear-gradient(135deg,#e8f5e9,#c8e6c9);color:#2e7d32;border-color:#66bb6a;font-weight:600}.panel-b .member-tag{background:linear-gradient(135deg,#ffe0f7,#fce7f3);color:#f093fb;border-color:#f093fb33}.panel-b .member-tag.serving-player{background:linear-gradient(135deg,gold,#ffed4e);color:#333;border-color:gold}.panel-b .member-tag.receiving-player{background:linear-gradient(135deg,#a8edea,#fed6e3);color:#19547b;border-color:#a8edea}.panel-b .member-tag.offcourt-player{background:linear-gradient(135deg,#e0e0e0,#bdbdbd);color:#757575;border-color:#9e9e9e;opacity:.6;font-weight:400}.panel-b .member-tag.oncourt-player{background:linear-gradient(135deg,#e8f5e9,#c8e6c9);color:#2e7d32;border-color:#66bb6a;font-weight:600}.wuyulunbi-court-info{display:none}.court-info-title{text-align:center;font-size:1.3rem;color:#667eea;font-weight:700;margin-bottom:20px}.court-info-content{display:grid;grid-template-columns:1fr auto 1fr;gap:20px;align-items:center;margin-bottom:15px}.team-oncourt{text-align:center}.team-oncourt .team-name{font-size:1.1rem;font-weight:600;color:#764ba2;margin-bottom:12px}.oncourt-players{display:flex;flex-direction:column;gap:8px}.oncourt-tag{display:inline-block;padding:8px 16px;background:linear-gradient(135deg,#e0e7ff,#f3e8ff);color:#667eea;border-radius:12px;font-size:1rem;font-weight:600;border:2px solid rgba(102,126,234,.3);transition:all .3s}.oncourt-tag.serving{background:linear-gradient(135deg,gold,#ffed4e);color:#333;border-color:gold;font-weight:700;box-shadow:0 3px 10px #ffd70066;transform:scale(1.05)}.oncourt-tag.receiving{background:linear-gradient(135deg,#a8edea,#fed6e3);color:#19547b;border-color:#a8edea;font-weight:600}.vs-separator{font-size:1.5rem;font-weight:700;color:#764ba2}.rotation-hint{text-align:center;padding:12px;background:linear-gradient(135deg,#fff9e6,#ffe8cc);border-radius:8px;color:#f57c00;font-size:.95rem;font-weight:600;border:2px dashed #ffa726}.oncourt-highlight{border:2px solid #667eea;box-shadow:0 2px 8px #667eea4d}.serve-indicator{background:#ff4757;color:#fff;padding:5px 15px;border-radius:20px;font-size:.9rem;font-weight:700;animation:pulse 1.5s infinite}.serve-indicator-group{display:flex;flex-direction:row;gap:8px;align-items:center;justify-content:flex-end}.serve-position-badge{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:5px 15px;border-radius:20px;font-size:.9rem;font-weight:700;text-align:center;order:-1}.receive-indicator{background:#38bdf8;color:#fff;padding:5px 15px;border-radius:20px;font-size:.9rem;font-weight:700;animation:pulse 1.5s infinite}.receive-position-badge{background:linear-gradient(135deg,#38bdf8,#1976d2);color:#fff;padding:5px 15px;border-radius:20px;font-size:.9rem;font-weight:700;text-align:center;order:-1}.panel-b .serve-position-badge{background:linear-gradient(135deg,#f093fb,#f5576c)}@keyframes pulse{0%,to{opacity:1}50%{opacity:.7}}.score-display{font-size:8rem;font-weight:700;text-align:center;color:#667eea;margin:10px 0;text-shadow:3px 3px 6px rgba(0,0,0,.15);line-height:1;min-height:120px;display:flex;align-items:center;justify-content:center}.panel-b .score-display{color:#f093fb}.games-won{text-align:center;font-size:1.1rem;color:#666;margin-bottom:20px}.score-controls{display:flex;gap:10px;margin-top:auto;order:999}.btn-add,.btn-subtract{flex:1;padding:15px;border:none;border-radius:8px;font-size:1.1rem;font-weight:700;cursor:pointer;transition:all .2s}.btn-add{background:linear-gradient(135deg,#11998e,#38ef7d);color:#fff}.btn-subtract{background:#f0f0f0;color:#666}.btn-add:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 5px 15px #38ef7d4d}.btn-subtract:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 5px 15px #0000001a}.btn-add:disabled,.btn-subtract:disabled{opacity:.5;cursor:not-allowed}.vs-divider{display:flex;align-items:center;justify-content:center}.vs-content{display:flex;flex-direction:column;align-items:center;gap:10px}.vs-divider .vs-text{background:#fff;color:#764ba2;font-size:1.5rem;font-weight:700;width:70px;height:70px;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 15px #0000001a}.btn-swap-sides{padding:10px 18px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:20px;font-size:.85rem;font-weight:700;cursor:pointer;transition:all .3s ease;box-shadow:0 3px 10px #667eea4d;white-space:nowrap}.btn-swap-sides:hover:not(:disabled){transform:translateY(-2px) scale(1.05);box-shadow:0 6px 20px #667eea80;background:linear-gradient(135deg,#764ba2,#667eea)}.btn-swap-sides:active:not(:disabled){transform:translateY(0) scale(.98)}.btn-swap-sides:disabled{opacity:.5;cursor:not-allowed;background:linear-gradient(135deg,#9e9e9e,#757575)}.game-history{background:#fff;padding:25px;border-radius:15px;box-shadow:0 4px 15px #0000001a}.game-history h3{color:#667eea;margin-bottom:15px;font-size:1.3rem}.history-list{display:flex;flex-direction:column;gap:10px}.history-item{display:grid;grid-template-columns:100px 1fr 1fr;align-items:center;padding:12px;background:#f9f9f9;border-radius:8px;border-left:4px solid #667eea}.game-number{font-weight:700;color:#333}.history-score{text-align:center;font-size:1.1rem;font-weight:700;color:#666}.history-winner{text-align:right;color:#764ba2;font-weight:500}@media (max-width: 768px){.game-board{padding:10px}.winner-card{padding:25px 15px;margin:10px;max-width:95vw}.winner-card-large{max-width:95vw;max-height:85vh}.winner-card h2{font-size:1.8rem}.winner-name{font-size:1.3rem}.final-score-detail{gap:15px;padding:20px 10px;flex-direction:column}.final-team-score{font-size:3rem}.final-score-vs{font-size:2rem;transform:rotate(90deg)}.game-score-detail{padding:20px 10px;gap:15px;flex-direction:column}.game-score-detail .score-value{font-size:2.5rem}.game-score-detail .score-divider{font-size:2rem;transform:rotate(90deg)}.match-time-info{padding:15px}.match-time-info .time-item{flex-direction:column;align-items:flex-start;gap:5px}.match-time-info .time-label,.match-time-info .time-value{font-size:.95rem}.record-item{grid-template-columns:70px 80px 1fr 70px;padding:10px 8px;font-size:.85rem}.record-game{font-size:.85rem}.record-score{font-size:1rem}.record-winner{font-size:.85rem}.record-time{font-size:.8rem}.winner-actions{flex-direction:column;gap:10px;width:100%}.btn-restart,.btn-new-game,.btn-end-match,.btn-view-scoresheet,.btn-hide-scoresheet{width:100%;padding:12px 20px;font-size:1rem}.btn-confirm-result{padding:12px;font-size:1.1rem}.multi-game-scores{grid-template-columns:1fr;gap:15px}.score-section{padding:12px}.winner-scoresheet-section{max-height:400px;padding:8px}.scoreboard{grid-template-columns:1fr auto 1fr;gap:10px}.vs-content{gap:10px}.vs-divider .vs-text{width:60px;height:60px;font-size:1.5rem}.btn-swap-sides{padding:8px 15px;font-size:.85rem}.player-panel{padding:25px 18px;min-height:380px}.score-display{font-size:5rem;margin:20px 0}.integrated-court-grid{grid-template-columns:1fr 1fr;gap:8px;padding:12px;margin:15px 0}.integrated-court-area{padding:15px 10px;min-height:80px}.integrated-court-area .area-label{font-size:.75rem;padding:2px 6px}.integrated-court-area .player-in-area{font-size:1rem}.integrated-court-area.serving-area .player-in-area{font-size:1.1rem}.player-name{font-size:1.2rem}.member-tag{font-size:.85rem;padding:4px 8px}.serve-indicator,.serve-position-badge{font-size:.85rem;padding:5px 12px}.games-won{font-size:.95rem}.btn-add,.btn-subtract{padding:12px 20px;font-size:1rem}.game-info{flex-direction:column;gap:12px;padding:15px}.match-info{font-size:.95rem;text-align:center}.btn-reset{width:100%;padding:10px}.serve-info-bar{padding:12px 15px}.serve-info-content{font-size:.9rem;gap:8px;flex-direction:column;align-items:flex-start}.serve-label{font-size:1rem}.serve-player{font-size:.95rem;padding:4px 12px}.serve-position,.receiver-player{font-size:.9rem;padding:4px 12px}.wuyulunbi-court-info{padding:15px}.court-info-content{flex-direction:column;gap:20px}.vs-separator{display:none}.oncourt-tag{font-size:.85rem;padding:5px 10px}.rotation-hint{font-size:.85rem}.court-positions{grid-template-columns:1fr;padding:15px;gap:20px}.court-divider{display:none}.court-side-title{font-size:1rem}.court-grid{min-height:80px}.court-area{padding:10px}.area-label{font-size:.8rem}.player-in-area{font-size:.9rem}.game-history{padding:15px}.game-history h3{font-size:1.1rem}.history-item{grid-template-columns:70px 1fr 1fr;padding:10px;font-size:.85rem}.game-number{font-size:.85rem}.history-score{font-size:.95rem}.history-winner{font-size:.85rem}.alert-banner{padding:12px 20px;font-size:1.1rem;max-width:90%}}.serve-setup-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000d9;display:flex;align-items:center;justify-content:center;z-index:3000;animation:fadeIn .3s ease}.serve-setup-card{background:#fff;padding:40px;border-radius:20px;max-width:600px;width:90%;max-height:90vh;overflow-y:auto;animation:slideUp .4s ease;box-shadow:0 10px 40px #0000004d}@keyframes slideUp{0%{transform:translateY(50px);opacity:0}to{transform:translateY(0);opacity:1}}.serve-setup-card h2{color:#667eea;font-size:2rem;margin-bottom:30px;text-align:center}.setup-section{margin-bottom:25px}.setup-section h3{color:#333;font-size:1.2rem;margin-bottom:15px;font-weight:600}.team-selection{display:grid;grid-template-columns:1fr 1fr;gap:15px}.team-btn{padding:20px;border:3px solid #e0e0e0;border-radius:12px;background:#fff;cursor:pointer;transition:all .3s;position:relative;overflow:hidden}.team-btn:hover{border-color:#667eea;transform:translateY(-2px);box-shadow:0 5px 15px #667eea33}.team-btn.selected{border-color:#667eea;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;transform:scale(1.05);box-shadow:0 5px 20px #667eea66}.team-name{font-size:1.3rem;font-weight:700;margin-bottom:5px}.winner-badge{display:inline-block;margin-top:8px;padding:4px 12px;background:gold;color:#333;border-radius:12px;font-size:.85rem;font-weight:600}.team-btn.selected .winner-badge{background:#ffffff4d;color:#fff}.player-selection{display:flex;flex-wrap:wrap;gap:10px}.player-btn{padding:12px 20px;border:2px solid #e0e0e0;border-radius:8px;background:#fff;cursor:pointer;transition:all .3s;font-size:1rem;font-weight:500;color:#333}.player-btn:hover{border-color:#667eea;background:#f0f4ff;transform:translateY(-2px)}.player-btn.selected{border-color:#667eea;background:#667eea;color:#fff;transform:scale(1.05);box-shadow:0 3px 12px #667eea4d}.position-setup{display:grid;grid-template-columns:1fr 1fr;gap:15px;background:#f9f9f9;padding:20px;border-radius:12px;border:2px dashed #667eea}.position-column{display:flex;flex-direction:column;gap:8px}.position-column label{font-weight:600;color:#555;font-size:.95rem}.position-select{padding:10px;border:2px solid #e0e0e0;border-radius:8px;font-size:1rem;background:#fff;cursor:pointer;transition:all .3s}.position-select:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.position-select option{padding:10px}.serve-info-tips{background:#f9f9f9;padding:20px;border-radius:12px;margin:25px 0;border-left:4px solid #667eea}.serve-info-tips p{color:#667eea;font-weight:600;margin-bottom:10px;font-size:1rem}.serve-info-tips ul{list-style:none;margin:0;padding:0}.serve-info-tips li{padding:6px 0;color:#555;line-height:1.6;font-size:.95rem}.serve-info-tips strong{color:#667eea;font-weight:700}.auto-serve-info{background:linear-gradient(135deg,#e0f7fa,#e1f5fe);padding:20px;border-radius:12px;margin:25px 0;border-left:4px solid #00acc1}.auto-serve-info p{color:#00acc1;font-weight:600;margin-bottom:10px;font-size:1rem}.auto-serve-info ul{list-style:none;margin:0;padding:0}.auto-serve-info li{padding:6px 0;color:#00838f;line-height:1.6;font-size:.95rem}.auto-serve-info strong{color:#006064;font-weight:700}.confirm-btn{width:100%;padding:16px;background:linear-gradient(135deg,#11998e,#38ef7d);color:#fff;border:none;border-radius:10px;font-size:1.2rem;font-weight:700;cursor:pointer;transition:all .3s;margin-top:10px}.confirm-btn:hover{transform:translateY(-2px);box-shadow:0 5px 20px #38ef7d66}.confirm-btn:active{transform:translateY(0)}@media (max-width: 768px){.serve-setup-card{padding:25px}.serve-setup-card h2{font-size:1.5rem}.team-selection{grid-template-columns:1fr 1fr}.team-name{font-size:1.1rem}.player-btn{padding:10px 15px;font-size:.95rem}}*{margin:0;padding:0;box-sizing:border-box}body,html{touch-action:manipulation;width:100%;height:100%;overflow:hidden}*{scrollbar-width:none;-ms-overflow-style:none}*::-webkit-scrollbar{display:none}html{overflow-x:hidden;height:100vh;height:100dvh}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:linear-gradient(135deg,#ff6b35,#f7931e,#00bcd4);background-attachment:fixed;height:100vh;height:100dvh;overflow:hidden;position:relative;width:100%}#root{max-width:1200px;margin:0 auto;padding:1vh;width:100%;height:100vh;height:100dvh;overflow:hidden;display:flex;flex-direction:column}@media (max-width: 768px) and (orientation: landscape){html,body{height:100vh;height:100dvh;overflow:hidden}#root{max-width:100%;padding:.5vh;height:100vh;height:100dvh}}@media (max-width: 768px){html,body{width:100%;max-width:100%;height:100vh;height:100dvh;overflow:hidden;position:relative}body{font-size:clamp(12px,2vh,14px)}#root{padding:.5vh;width:100%;max-width:100%;height:100vh;height:100dvh;overflow:hidden}}@media (max-width: 768px) and (orientation: landscape){body{font-size:clamp(10px,1.8vh,12px)}#root{padding:.3vh}}@media (max-width: 375px){body{font-size:clamp(11px,1.9vh,13px)}#root{padding:.3vh}}@media (hover: none) and (pointer: coarse){button{min-height:44px;min-width:44px}input,select{font-size:16px!important}}
