:root{--bg-top: #1e7c32;--bg-bottom: #0f3f1a;--control-bg: rgba(255,255,255,.06);--btn-bg: #0ea56b;--btn-bg-hover: #14c47f;--muted: rgba(255,255,255,.85);--glass: rgba(255,255,255,.06);--modal-bg: #1c2331;--border-color: rgba(255,255,255,.12)}.footer-note{font-size:14px;color:#e6fdf0;margin-top:0;margin-bottom:12px;text-align:center;font-weight:500;text-shadow:0 1px 4px rgba(0,0,0,.5);width:100%}.home-page *{box-sizing:border-box}.home-page{min-height:100vh;padding:18px;background:linear-gradient(180deg,#062b10,#0b2f12);color:var(--muted);display:flex;flex-direction:column;align-items:center;gap:12px;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial}.home-page h1{margin:0;font-size:20px;color:#d8fce1;letter-spacing:.4px;text-shadow:0 2px 8px rgba(0,0,0,.6)}.home-page button.drawing-btn{background:#a8a29e;color:#292524;box-shadow:0 4px 12px #a8a29e33;border-bottom:3px solid #78716c}.home-page button.drawing-btn:hover{background:#c3c1be;transform:translateY(-2px)}.home-page button.drawing-active-btn{background:#fef08a;color:#a16207;box-shadow:0 4px 12px #fef08a80;font-weight:700;border-bottom:3px solid #facc15}.home-page button.drawing-active-btn:hover{background:#fde047}.controls-row{width:100%;max-width:1200px;display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}.left-controls,.right-controls,.center-controls{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.controls-row .formation-selector{display:flex;gap:8px;background:var(--glass);padding:4px;border-radius:12px}.home-page button{background:var(--btn-bg);color:#fff;border:none;padding:8px 14px;border-radius:8px;cursor:pointer;font-weight:600;box-shadow:0 4px 12px #0ea56b1f;transition:all .15s ease;border-bottom:3px solid #059669;display:flex;align-items:center;gap:8px;justify-content:center}.home-page button:hover{transform:translateY(-2px);background:var(--btn-bg-hover);box-shadow:0 6px 20px #0ea56b33}.home-page button:active{transform:translateY(1px);box-shadow:0 2px 8px #0ea56b26;border-bottom-width:2px}.home-page button.active{background:linear-gradient(90deg,#06b6d4,#10b981);box-shadow:0 6px 20px #10b98133;border-bottom-color:#0d9488}.home-page button.secondary{background:var(--control-bg);color:#e6fdf0;border:1px solid rgba(255,255,255,.08);box-shadow:none;font-size:13px;padding:6px 10px;transform:none;border-bottom:none}.home-page button.secondary:hover{transform:none;background:#ffffff1f}.home-page button.secondary.active{background:linear-gradient(90deg,#06b6d4,#10b981);box-shadow:none;border:1px solid transparent}.home-page button.video-start-btn{background:#22c55e;box-shadow:0 4px 12px #22c55e33;border-bottom-color:#16a34a}.home-page button.video-start-btn:hover{background:#4ade80}.home-page button.video-stop-btn{background:#ef4444;box-shadow:0 4px 12px #ef444433;border-bottom-color:#dc2626}.home-page button.video-stop-btn:hover{background:#f87171}.home-page button.video-download-btn{background:#0ea5e9;border-bottom-color:#0284c7}.home-page button:disabled,.home-page button.video-download-btn:disabled{background:#4b5563;color:#9ca3af;cursor:not-allowed;box-shadow:none;transform:none;border-bottom:none}.pitch{position:relative;width:100%;max-width:1200px;aspect-ratio:3 / 2;border-radius:16px;overflow:visible;display:block;box-shadow:0 30px 60px #02061780;-webkit-user-select:none;user-select:none;touch-action:none}.field-svg{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:1}.trails-svg{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:2}.markings{stroke-linecap:round;stroke-linejoin:round}.markings rect,.markings line,.markings circle,.markings path{stroke:#fff;fill:none;stroke-width:3;opacity:.95}.ball{width:24px;height:24px;background:radial-gradient(circle at 30% 25%,#fff,#f3f4f6 40%,#d1d5db);border-radius:50%;border:2px solid rgba(0,0,0,.06);box-shadow:0 6px 18px #00000059;display:flex;align-items:center;justify-content:center;pointer-events:auto;transition:transform .08s ease;z-index:4;position:absolute;cursor:grab}.ball:active{cursor:grabbing;transform:scale(1.04)}.player{width:56px;height:56px;border-radius:50%;display:flex;align-items:center;justify-content:center;pointer-events:auto;user-select:none;-webkit-user-select:none;cursor:grab;will-change:transform;transition:none!important;border:2px solid rgba(255,255,255,.9);box-shadow:0 8px 24px #04071473;z-index:5;position:absolute}.player-label{text-align:center;pointer-events:none;color:#fff}.player .num{font-weight:700;font-size:14px;line-height:14px;text-shadow:0 1px 4px rgba(0,0,0,.6)}.player.team-a{background:linear-gradient(180deg,#2563eb,#1e40af)}.player.team-b{background:linear-gradient(180deg,#ef4444,#b91c1c)}.player:active{cursor:grabbing;transform:scale(1.05)}.player.sent-off{opacity:.6;border:2px solid #ef4444;transform:scale(.9)!important}.player.sent-off:active{transform:scale(.95)!important}.player-status-icons{position:absolute;top:-12px;right:-12px;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr;gap:4px;z-index:10;pointer-events:none}.player-status-icons .icon{height:20px;border-radius:4px;font-weight:700;display:flex;align-items:center;justify-content:center;padding:1px 4px;box-shadow:0 1px 4px #00000080;white-space:nowrap}.icon.yellow-card,.icon.red-card{width:16px;height:20px;grid-column:1 / 2;grid-row:1 / 2}.icon.yellow-card{background-color:#fcd34d;color:#333}.icon.red-card{background-color:#ef4444;color:#fff}.icon.goal-icon{background-color:#e6fdf0;color:#0d9488;font-size:11px;padding:2px 5px;grid-column:2 / 3;grid-row:1 / 2}.modal-overlay{position:fixed;inset:0;background:#12141ae6;display:flex;align-items:center;justify-content:center;z-index:60;padding:18px}.modal{width:580px;max-width:calc(100% - 48px);background:#283042;border-radius:16px;padding:24px;box-shadow:0 20px 60px #020617cc;border:1px solid rgba(255,255,255,.08);color:#e9fdf0}.modal h3{margin:0 0 16px;font-size:20px;color:#fff;border-bottom:1px solid rgba(255,255,255,.1);padding-bottom:10px}.modal label{display:block;font-size:13px;color:#b7e3c1;margin-bottom:8px;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.modal input[type=text]{width:100%;padding:10px;border-radius:8px;border:1px solid var(--border-color);background:#0003;color:#fff;font-size:15px;margin-bottom:16px;transition:all .2s}.modal input[type=text]:focus{border-color:#06b6d4;outline:none;box-shadow:0 0 0 3px #06b6d466;background:#283042}.modal-controls-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:24px;padding:16px;background:#00000026;border-radius:10px;border:1px solid rgba(255,255,255,.06)}.modal-controls-grid label{font-size:12px;font-weight:500;margin-bottom:8px;text-align:center;width:100%;color:#e6fdf0}.modal .control-card{display:flex;flex-direction:column;align-items:center}.modal .input-group{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:0}.modal .input-group .card-count{width:40px;height:40px;display:flex;align-items:center;justify-content:center;font-weight:700;border-radius:8px;font-size:18px;background:#3e475c;border:1px solid var(--border-color);color:#fff}.modal .icon-button{width:48px;height:48px;padding:0;display:flex;align-items:center;justify-content:center;border-radius:8px;transition:all .2s;background:#3e475c;box-shadow:none;transform:none;border:1px solid transparent}.modal .icon-button:hover{background:#4b5563;transform:scale(1.05)}.modal .input-group .card-count.goal{color:#34d399}.modal .icon.yellow-card-lg,.modal .icon.red-card-lg{width:24px;height:32px;border-radius:4px;box-shadow:0 4px 8px #0006}.modal .icon.yellow-card-lg{background-color:#fcd34d}.modal .icon.red-card-lg{background-color:#ef4444}.modal .icon-button.active-yellow{background:#fde68a;border:2px solid #fcd34d;box-shadow:0 0 10px #fcd34d99}.modal .icon-button.active-red{background:#fca5a5;border:2px solid #ef4444;box-shadow:0 0 10px #ef444499}.modal button.small{width:32px;height:32px;padding:0;font-size:20px;font-weight:300;border-radius:8px;transform:none;box-shadow:none}.modal button.small:hover{transform:none}.modal button.small.secondary{background:#3e475c;border:1px solid rgba(255,255,255,.06);color:#e6fdf0}.modal button.small.secondary:hover{background:#4b5563}.modal-actions{display:flex;justify-content:flex-end;gap:8px;padding-top:10px}.modal .btn{padding:10px 16px;border-radius:8px;font-size:15px}.modal .btn.primary{background:linear-gradient(90deg,#06b6d4,#10b981);border-bottom:none}.modal .btn.secondary{background:#3e475c;color:#e6fdf0;box-shadow:none;transform:none;border-bottom:none}.modal .btn.secondary:hover{transform:none;background:#4b5563}@media (max-width: 1080px){.home-page h1{font-size:1.7rem}.controls-row{flex-direction:row;flex-wrap:wrap;justify-content:center}.home-page button{font-size:14px;padding:9px 14px}.player{width:52px;height:52px;font-size:14px}.ball{width:22px;height:22px}}@media (max-width: 900px){.pitch{aspect-ratio:3/4!important;max-width:100%!important;max-height:70vh!important;width:100%!important;height:auto!important;position:relative}.home-page{padding:10px;gap:8px}.home-page h1{font-size:1.2rem;margin-bottom:5px}.controls-row{flex-direction:column;gap:8px}.formation-selector{order:-1;margin-bottom:5px}.left-controls,.center-controls,.right-controls{justify-content:center;width:100%;gap:6px}.home-page button{padding:6px 8px;font-size:.75rem;min-height:36px}.player{width:32px!important;height:32px!important;line-height:32px!important}.player .num{font-size:10px!important;line-height:1!important}.ball{width:16px!important;height:16px!important}.player-status-icons{top:-6px;right:-6px;gap:2px}.player-status-icons .icon{height:14px;font-size:8px}.icon.yellow-card,.icon.red-card{width:10px;height:14px}.icon.goal-icon{font-size:8px;padding:1px 2px}.modal{width:95%!important;margin:10px;padding:15px}.modal h3{font-size:1.1rem}.modal-controls-grid{grid-template-columns:1fr;gap:12px;padding:8px}.modal .icon-button{width:40px;height:40px}.modal .small{width:28px;height:28px;font-size:16px}.modal .card-count{width:28px;height:28px;font-size:14px}.footer-note{font-size:.7rem;text-align:center;margin-top:10px}}@media (max-width: 768px){.pitch{aspect-ratio:3/4!important;max-width:100%!important;max-height:70vh!important;width:100%!important;height:auto!important;position:relative}.home-page h1{font-size:1.2rem;margin-bottom:5px}.home-page{padding:10px;gap:8px}.controls-row{flex-direction:column;gap:8px}.formation-selector{order:-1;margin-bottom:5px}.left-controls,.center-controls,.right-controls{justify-content:center;width:100%;gap:6px}.home-page button{padding:6px 8px;font-size:.75rem;min-height:36px}.player{width:32px!important;height:32px!important;line-height:32px!important;transform:scale(.8);transform-origin:center}.player .num{font-size:10px!important;line-height:1!important}.ball{width:16px!important;height:16px!important;transform:scale(.8);transform-origin:center}.player-status-icons{top:-6px;right:-6px;gap:2px}.player-status-icons .icon{height:14px;font-size:8px}.icon.yellow-card,.icon.red-card{width:10px;height:14px}.icon.goal-icon{font-size:8px;padding:1px 2px}.modal{width:95%!important;margin:10px;padding:15px}.modal h3{font-size:1.1rem}.modal-controls-grid{grid-template-columns:1fr;gap:12px;padding:8px}.modal .icon-button{width:40px;height:40px}.modal .small{width:28px;height:28px;font-size:16px}.modal .card-count{width:28px;height:28px;font-size:14px}.footer-note{font-size:.7rem;text-align:center;margin-top:10px}}@media (max-width: 480px){.pitch{max-height:60vh!important}.home-page h1{font-size:1.1rem}.home-page button{padding:6px 8px;font-size:.75rem;min-height:36px}}@media (max-width: 360px){.player{width:28px!important;height:28px!important;line-height:28px!important}.player .num{font-size:9px!important}.ball{width:14px!important;height:14px!important}.home-page button{padding:5px 6px;font-size:.7rem;min-height:32px}}@media (max-height: 500px) and (orientation: landscape){.pitch{max-height:80vh!important;max-width:70vw!important}.controls-row{flex-direction:row;flex-wrap:wrap}.home-page{padding:5px;gap:5px}}.login-page-container{min-height:100vh;display:flex;justify-content:center;align-items:center;background:radial-gradient(circle at top left,#0f172a,#1e293b);font-family:Poppins,sans-serif;color:#f8fafc;padding:20px}.login-card{display:flex;flex-direction:row;background:#1e293bd9;border-radius:16px;overflow:hidden;box-shadow:0 0 20px #0006;width:900px;max-width:95%;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.login-left{flex:1;padding:40px 50px;display:flex;flex-direction:column;justify-content:center}.login-title{font-size:1.8rem;font-weight:700;margin-bottom:10px;background:linear-gradient(90deg,#60a5fa,#3b82f6);-webkit-background-clip:text;-webkit-text-fill-color:transparent}.login-left h2{font-size:1.5rem;font-weight:600;margin-bottom:25px;color:#e2e8f0}.login-form .form-group{margin-bottom:18px}.login-form label{display:block;font-size:.9rem;margin-bottom:5px;color:#cbd5e1}.login-form input{width:100%;padding:10px 12px;border:1px solid #334155;border-radius:8px;background:#1e293b;color:#f8fafc;font-size:1rem;outline:none;transition:.2s}.login-form input:focus{border-color:#3b82f6;box-shadow:0 0 5px #3b82f64d}.login-btn{width:100%;background:linear-gradient(90deg,#2563eb,#1d4ed8);color:#fff;border:none;padding:12px;font-size:1rem;border-radius:8px;font-weight:600;margin-top:10px;cursor:pointer;transition:transform .15s ease,opacity .2s}.login-btn:hover{opacity:.9;transform:translateY(-1px)}.login-message{margin-top:15px;padding:10px;border-radius:8px;font-size:.9rem;text-align:center}.login-message.success{background-color:#10b9811a;color:#10b981;border:1px solid rgba(16,185,129,.4)}.login-message.error{background-color:#ef44441a;color:#ef4444;border:1px solid rgba(239,68,68,.4)}.login-links{display:flex;justify-content:center;align-items:center;margin-top:18px;gap:8px;font-size:.9rem}.login-links a{color:#60a5fa;text-decoration:none}.login-links a:hover{text-decoration:underline}.login-right{flex:.8;background:#0f172a;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:30px;border-left:1px solid #1e293b}.video-wrapper{width:380px;height:260px;border-radius:12px;overflow:hidden;box-shadow:0 0 10px #2563eb4d;border:1px solid rgba(59,130,246,.3);margin-bottom:10px}.video-wrapper video{width:100%;height:100%;object-fit:cover}.video-caption{font-size:.9rem;color:#cbd5e1;text-align:center}@media (max-width: 768px){.login-card{flex-direction:column;width:95%}.login-left{padding:30px 25px}.login-right{padding:20px;border-left:none;border-top:1px solid #1e293b}.video-wrapper{width:220px;height:120px}}body{font-family:Inter,Segoe UI,Tahoma,Geneva,Verdana,sans-serif;background-color:#f8fafc;margin:0;padding:0;color:#334155;line-height:1.6;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.dashboard{padding:2rem;max-width:1400px;margin:0 auto;transform:scale(1)}h1{font-size:2.25rem;font-weight:800;color:#0f172a;margin-bottom:2rem;border-bottom:5px solid #6366f1;padding-bottom:.75rem;display:inline-block;letter-spacing:-.025em}.matches-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(400px,1fr));gap:1.5rem}.match-card{background:#fff;border-radius:1rem;box-shadow:0 10px 15px -3px #0000000d,0 4px 6px -2px #00000008;border:1px solid #e2e8f0;transition:transform .3s cubic-bezier(.4,0,.2,1),box-shadow .3s cubic-bezier(.4,0,.2,1);overflow:hidden;display:flex;flex-direction:column}.match-card:hover{transform:translateY(-3px);box-shadow:0 20px 25px -5px #0000001a,0 8px 10px -6px #0000000a}.match-card-header{display:flex;justify-content:space-between;align-items:center;padding:.75rem 1rem;font-size:.75rem;font-weight:600;color:#fff;background-color:#2c3e50}.match-card-header>div{display:flex;align-items:center;gap:.3rem}.match-card-body{display:flex;justify-content:space-between;align-items:center;padding:3rem 2rem;font-size:1.2rem;font-weight:700;flex-grow:1}.match-card-body>div:first-child{text-align:left;max-width:30%}.match-card-body>div:last-child{text-align:right;max-width:30%}.score-box{font-size:2.5rem;font-weight:900;background:#eef2ff;color:#4338ca;padding:.75rem 1.25rem;border-radius:.75rem;box-shadow:inset 0 1px 4px #0000000d;line-height:1}.winner-text{font-weight:800;font-size:.9rem;text-transform:uppercase;letter-spacing:.05em}.winner-text.green{color:#16a34a}.winner-text.yellow{color:#d97706}.match-card-footer{display:flex;justify-content:space-between;align-items:center;padding:.75rem 1rem;border-top:1px solid #f1f5f9}.btn-details{background:#6366f1;color:#fff;border:none;padding:.5rem .75rem;border-radius:.5rem;cursor:pointer;font-size:.875rem;font-weight:600;transition:background .2s ease,transform .1s;display:inline-flex;align-items:center;gap:.4rem}.btn-details:hover{background:#4f46e5;transform:translateY(-1px)}.highlight-a{color:#4f46e5;font-weight:900}.highlight-b{color:#059669;font-weight:900}.modal-overlay{position:fixed;inset:0;background-color:#0f172a99;display:flex;align-items:center;justify-content:center;z-index:9999;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);overflow-y:auto;padding:1rem}.modal-overlay{opacity:1}.modal-box{background:#fff;border-radius:1.5rem;box-shadow:0 25px 50px -12px #00000040;max-width:72rem;width:100%;max-height:90vh;overflow-y:auto;transform:translateY(20px);animation:modalSlideUp .3s ease-out forwards}.modal-header{display:flex;justify-content:space-between;align-items:center;background:#1e293b;color:#fff;padding:1rem 1.5rem;font-weight:600;font-size:1.1rem}.modal-header h2{margin:0;font-size:1.2rem;color:#2c3e50}.modal-close{color:#94a3b8;background:none;border:none;cursor:pointer;border-radius:50%;padding:.75rem;transition:all .2s ease-in-out;line-height:1;font-size:1.5rem}.modal-close:hover{color:#475569;background:#f1f5f9;transform:rotate(90deg)}.modal-score{display:flex;justify-content:space-between;align-items:center;padding:2rem;background:#f8fafc;border-bottom:1px solid #e2e8f0;text-align:center}.modal-score>div{flex-basis:35%}.modal-score h3{font-size:1.875rem;font-weight:700;margin-top:0;margin-bottom:.5rem;color:#334155}.modal-score p{font-size:.875rem;color:#334155;font-weight:600;margin:0;display:inline-flex;align-items:center;gap:.3rem}.modal-score .score-box{flex-basis:30%;font-size:3rem}.modal-stats{padding:2rem;display:flex;flex-direction:column;gap:1.5rem}.modal-stats h3{display:flex;align-items:center;gap:.5rem;font-size:1.25rem;color:#1e293b;border-bottom:2px solid #e2e8f0;padding-bottom:.5rem;margin-top:0}.stat-bar{background:#fff;border-radius:.75rem;border:1px solid #e2e8f0;padding:1rem;display:flex;flex-direction:column;gap:.5rem;box-shadow:0 1px 3px #0000000d}.stat-bar-header{display:flex;justify-content:space-between;font-size:.875rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.05em}.stat-bar-values{display:flex;justify-content:space-between;font-size:1.125rem;font-weight:700;color:#1e293b}.stat-bar-progress{height:.65rem;border-radius:9999px;display:flex;overflow:hidden;background-color:#f1f5f9}.stat-a{background:#4f46e5;transition:width .6s cubic-bezier(.25,.8,.5,1)}.stat-b{background:#059669;transition:width .6s cubic-bezier(.25,.8,.5,1)}.modal-commentary{padding:0 2rem 2rem}.modal-commentary h3{display:flex;align-items:center;gap:.5rem;font-size:1.25rem;color:#1e293b;border-bottom:2px solid #e2e8f0;padding-bottom:.5rem;margin-top:0;margin-bottom:1rem}.commentary{max-height:24rem;overflow-y:auto;padding-right:.75rem}.commentary-item{display:flex;align-items:flex-start;gap:1rem;background:#fff;padding:.75rem;border-radius:.75rem;font-size:.9375rem;border:1px solid #f1f5f9;margin-bottom:.5rem;transition:all .2s ease-in-out}.commentary-item:hover{background:#f8fafc;box-shadow:0 2px 4px #00000008}.commentary-icon{font-size:1.35rem;color:#4f46e5;font-weight:700;flex-shrink:0}.btn-close{background:#64748b;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:.75rem;cursor:pointer;font-size:1rem;font-weight:600;transition:background .2s ease,transform .1s}.btn-close:hover{background:#475569;transform:translateY(-1px)}@keyframes modalSlideUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}.custom-scrollbar::-webkit-scrollbar{width:8px}.custom-scrollbar::-webkit-scrollbar-track{background:#f1f5f9;border-radius:10px}.custom-scrollbar::-webkit-scrollbar-thumb{background:#94a3b8;border-radius:10px}.custom-scrollbar::-webkit-scrollbar-thumb:hover{background:#64748b}@media (max-width: 1024px){.modal-box{max-width:90%}.modal-score{flex-wrap:wrap;justify-content:center;text-align:center;padding:1.5rem}.modal-stats{padding:1.25rem}.commentary{max-height:200px}}@media (max-width: 768px){.modal-overlay{padding:.5rem;align-items:flex-start}.modal-box{width:100%;margin:1rem 0;border-radius:1rem;max-width:none}.modal-header{padding:.75rem 1rem;font-size:1rem}.modal-score{flex-direction:column;align-items:center;gap:1rem;padding:1.25rem}.score-box{font-size:2rem;padding:.5rem 1rem}.main-content{padding:20px 10px}.dashboard h1{font-size:1.4rem;margin-bottom:20px}.dashboard{padding:1.5rem 1rem;transform:none}.matches-grid{grid-template-columns:1fr;gap:15px;justify-items:center}.match-card{width:90%;max-width:360px}.modal-stats h3,.modal-commentary h3{font-size:.95rem}.stat-bar-values{font-size:.8rem}.commentary-item{font-size:.85rem}.modal-footer{justify-content:center;padding:.75rem 1rem}.btn-close{width:100%}.match-card-body div{font-size:1.05rem;gap:2px}.match-score{font-size:.9rem;min-width:40px}}@media (max-width: 480px){.modal-box{margin:.5rem}.modal-score h3{font-size:1rem}.modal-header h2{font-size:1.05rem}.score-box{font-size:1.75rem}.modal-commentary{padding:1rem}.dashboard h1{font-size:1.2rem}.match-card{width:100%;padding:12px}.match-card-body{flex-direction:column;gap:6px}.btn-details{width:100%}}.create-room-container{max-width:600px;margin:40px auto;padding:30px;background-color:#fff;border-radius:12px;box-shadow:0 10px 30px #0000001a;border:1px solid #e0e0e0;transform:scale(.8)}.create-room-container h1{text-align:center;color:#1a237e;font-size:2em;margin-bottom:25px;border-bottom:3px solid #007bff;padding-bottom:10px}.create-room-form{display:flex;flex-direction:column;gap:20px}.form-group{display:flex;flex-direction:column}.form-group label{font-weight:600;color:#495057;margin-bottom:8px;font-size:.95em}.create-room-form input[type=text],.create-room-form input[type=number],.create-room-form input[type=password],.create-room-form select{padding:12px;border:1px solid #ced4da;border-radius:8px;font-size:1em;transition:border-color .2s,box-shadow .2s;background-color:#f8f9fa}.create-room-form input:focus,.create-room-form select:focus{border-color:#007bff;box-shadow:0 0 0 .2rem #007bff40;outline:none;background-color:#fff}.create-room-form select[multiple]{height:150px;padding:10px}.create-room-form select option{padding:8px}.create-room-form button[type=submit]{padding:14px;margin-top:15px;background-color:#28a745;color:#fff;border:none;border-radius:8px;font-weight:700;font-size:1.1em;cursor:pointer;transition:background-color .2s,transform .1s}.create-room-form button[type=submit]:hover{background-color:#1e7e34;transform:translateY(-1px)}.room-list-container{max-width:1100px;margin:40px auto;padding:30px;background-color:#f8fafc;border-radius:16px;box-shadow:0 10px 30px #00000014;border:1px solid #e2e8f0;font-family:Inter,Segoe UI,Tahoma,Geneva,Verdana,sans-serif;color:#334155;transform:scale(.85)}.room-list-container .main-title{text-align:center;color:#1a237e;font-size:2.5em;margin-bottom:30px;border-bottom:3px solid #1976d2;padding-bottom:15px}.room-controls{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px;gap:20px}.search-input-group{flex:1;position:relative;max-width:700px}.search-input-group input[type=text]{width:100%;padding:12px 15px 12px 45px;border-radius:10px;border:1px solid #cbd5e1;font-size:1em;transition:border-color .3s,box-shadow .3s}.search-input-group input[type=text]:focus{border-color:#1976d2;box-shadow:0 0 0 3px #1976d233;outline:none}.search-icon{position:absolute;left:15px;top:50%;transform:translateY(-50%);color:#64748b}.create-room-button{display:flex;align-items:center;gap:8px;text-align:center;padding:12px 20px;background-color:#43a047;color:#fff;font-weight:600;font-size:1em;border-radius:10px;cursor:pointer;text-decoration:none;transition:background-color .2s,transform .1s;white-space:nowrap}.create-room-button:hover{background-color:#388e3c;transform:translateY(-2px);box-shadow:0 4px 8px #0000001a}.room-list{list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px}.room-item{position:relative;display:flex;justify-content:space-between;align-items:center;background:#fff;padding:30px 20px 20px;border-radius:12px;border:1px solid #e0e0e0;box-shadow:0 2px 8px #0000000d;transition:all .2s ease;overflow:hidden}.room-header-band{position:absolute;top:0;left:0;width:100%;height:30px;background-color:#2c3e50}.room-item:hover{transform:translateY(-3px);box-shadow:0 6px 15px #0000001a}.room-name{font-size:1.4em;color:#1a237e;margin-bottom:8px;display:flex;align-items:center;gap:8px}.lock-icon{color:#f9a825}.room-info{font-size:.95em;color:#64748b;margin:4px 0;display:flex;align-items:center;gap:6px}.room-info .icon{color:#1976d2}.player-count{font-weight:600;color:#43a047}.player-count.full{color:#d32f2f}.loading,.error,.empty{padding:2rem;text-align:center;font-size:1.125rem;color:#475569;background:#fff;border-radius:.75rem;box-shadow:0 1px 3px #0000000d}.room-actions{display:flex;flex-direction:column;align-items:flex-end;gap:10px}.btn-join{display:flex;align-items:center;gap:6px;padding:10px 15px;border-radius:8px;font-weight:600;cursor:pointer;border:none;transition:background-color .2s,transform .1s;font-size:.9em}.btn-join.primary{background-color:#1976d2;color:#fff}.btn-join.primary:hover{background-color:#1565c0;transform:translateY(-1px)}.btn-join.password{background-color:#f9a825;color:#333}.btn-join.password:hover{background-color:#fbc02d;transform:translateY(-1px)}.btn-join.active{background-color:#43a047;color:#fff}.btn-join.active:hover{background-color:#388e3c;transform:translateY(-1px)}.btn-join.full{background-color:#e0e0e0;color:#888;cursor:not-allowed}.password-input-area{display:flex;gap:10px;align-items:center}.password-input-area input{padding:8px 10px;border-radius:6px;border:1px solid #cbd5e1;width:100px;font-size:.9em}.btn-join.primary-join{background-color:#1976d2;color:#fff;padding:8px 12px}.empty-state{text-align:center;padding:40px 20px;background:#fff;border-radius:12px;border:1px dashed #cbd5e1;color:#64748b;font-size:1.1em}.empty-state svg{margin-bottom:15px;color:#1976d2}@media (max-width: 768px){.room-list-container{margin:20px 10px;padding:20px 15px}.room-list-container .main-title{font-size:2em}.room-controls{flex-direction:column;align-items:stretch;gap:15px}.search-input-group{max-width:80%}.room-list{grid-template-columns:1fr}.room-item{flex-direction:column;align-items:flex-start;padding:30px 20px 20px}.room-details-left{width:100%;margin-bottom:15px}.room-actions{width:100%;align-items:stretch}.btn-join{width:100%;justify-content:center}.room-actions>div{width:100%;display:grid;grid-template-columns:1fr auto;gap:10px}.room-actions input[type=password]{width:100%}.create-room-button{width:80%;justify-content:center}}.room-container{display:flex;flex-direction:column;align-items:center;padding:30px 20px;min-height:100vh;background-color:#f0f2f5;font-family:Inter,sans-serif;transform:scale(.9)}.room-title{font-size:2.5em;font-weight:800;color:#2c3e50;margin-bottom:30px;text-align:center}.room-details{background:#fff;border-radius:12px;box-shadow:0 6px 15px #0000001a;padding:30px;max-width:500px;width:100%;text-align:center}.room-details h3{font-size:1.5em;color:#34495e;margin-bottom:20px;border-bottom:2px solid #ecf0f1;padding-bottom:10px}.player-list{list-style:none;padding:0;margin-bottom:30px}.player-item{display:flex;justify-content:space-between;align-items:center;padding:12px 15px;margin-bottom:8px;border-radius:8px;font-size:1.1em;font-weight:500;transition:background-color .2s}.player-item.ready{background-color:#e8f8f5;color:#27ae60;border-left:5px solid #2ecc71}.player-item.waiting{background-color:#fcf3ee;color:#d35400;border-left:5px solid #e67e22}.kick-btn{background:none;border:none;color:#e74c3c;font-size:1em;cursor:pointer;padding:5px;margin-left:10px;transition:transform .1s}.kick-btn:hover{transform:scale(1.1)}.actions{display:flex;justify-content:space-between;gap:15px;margin-top:25px}.ready-btn{flex-grow:1;padding:15px;border:none;border-radius:8px;font-size:1.1em;font-weight:700;cursor:pointer;transition:background-color .3s,box-shadow .3s;background-color:#3498db;color:#fff}.ready-btn:hover{background-color:#2980b9;box-shadow:0 4px 10px #3498db66}.leave-btn{flex-grow:1;padding:15px;border:2px solid #e74c3c;border-radius:8px;font-size:1.1em;font-weight:700;cursor:pointer;background-color:#fff;color:#e74c3c;transition:background-color .3s,color .3s}.leave-btn:hover{background-color:#e74c3c;color:#fff}.start-btn{width:100%;padding:18px;background-color:#2ecc71;color:#fff;border:none;border-radius:8px;font-size:1.2em;font-weight:800;cursor:pointer;margin-top:20px;transition:background-color .3s,transform .2s;box-shadow:0 5px 15px #2ecc7166}.start-btn:hover{background-color:#27ae60;transform:translateY(-2px)}.loading{text-align:center;font-size:1.5em;color:#7f8c8d;padding-top:50px}@media (max-width: 600px){.room-container{padding:20px 10px}.room-title{font-size:2em}.room-details{padding:20px}.player-item{font-size:1em}.actions{flex-direction:column}.ready-btn,.leave-btn{padding:12px;font-size:1em}}.match-page-container{padding:20px;max-width:1100px;margin:20px auto;background:linear-gradient(135deg,#f9fbff,#eef2f7);font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;color:#222;border-radius:16px;box-shadow:0 8px 24px #0000001a}.header h2{text-align:center;font-size:2.2em;color:#1a237e;margin-bottom:25px;letter-spacing:1px}.match-section,.last-match-results,.match-stats-summary h4{background:#fff;border-radius:14px;padding:20px;margin-bottom:25px;box-shadow:0 4px 16px #00000014}.match-section h3,.last-match-results h3,.match-stats-summary h4{text-align:center;font-size:1.4em;color:#333;border-bottom:2px solid #eee;padding-bottom:8px;margin-bottom:20px}.fixture-list,.played-matches-list,.match-stats-summary h4{list-style:none;padding:0;margin:0}.fixture-item{display:flex;justify-content:space-between;align-items:center;background:#fafafa;padding:14px;border-radius:10px;margin-bottom:12px;border:1px solid #e0e0e0;transition:transform .2s ease,box-shadow .2s ease}.fixture-item:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000000d}.fixture-item.played{background:#e8f5e9;border-color:#c8e6c9}.fixture-team.teamA{color:#1976d2;font-weight:700}.fixture-team.teamB{color:#d32f2f;font-weight:700}.vs{color:#555;font-weight:600;margin:0 8px}.match-result{font-weight:700;font-size:1.1em;color:#1a237e}.start-match-button{background:linear-gradient(90deg,#43a047,#2e7d32);color:#fff;border:none;padding:8px 18px;border-radius:8px;font-weight:600;cursor:pointer;transition:all .3s ease}.start-match-button:hover{transform:scale(1.05);background:linear-gradient(90deg,#2e7d32,#1b5e20)}.live-match-container{background:#fff;padding:20px;border-radius:14px;margin-bottom:25px;box-shadow:0 4px 16px #00000014}.live-match-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.team-info{display:flex;align-items:center;gap:10px;font-weight:700}.team-info.team-a .team-name{color:#1976d2}.team-info.team-b .team-name{color:#d32f2f}.score{background:#1a237e;color:#fff;font-size:1.4em;padding:8px 14px;border-radius:50%;min-width:45px;text-align:center}.match-status{text-align:center}.match-status .minute{font-size:1.3em;font-weight:700;color:#222}.match-status .half-status{font-size:.9em;color:#666}.commentary-item.yellow{color:#f9a825;font-weight:700}.commentary-item.red{color:#d32f2f;font-weight:700}.stats-table-cell.cards{font-weight:700;color:#d32f2f}.live-stats{margin:20px 0;display:flex;flex-direction:column;gap:15px}.match-stats-bars{display:flex;flex-direction:column;gap:15px;margin-bottom:25px}.stat-bar{background:#f8fafc;border-radius:.75rem;border:1px solid #e2e8f0;padding:1rem;display:flex;flex-direction:column;gap:.5rem;box-shadow:0 1px 3px #0000000d;transition:all .2s}.stat-bar:hover{box-shadow:0 4px 8px #0000001a;transform:translateY(-1px)}.stat-bar-header{display:flex;justify-content:space-between;font-size:.8rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.05em}.stat-bar-values{display:flex;justify-content:space-between;font-size:1.1em;font-weight:800;color:#1e293b}.stat-bar-progress{height:.65rem;border-radius:9999px;display:flex;overflow:hidden;background-color:#e0e0e0}.stat-a{background:#1976d2;transition:width .6s cubic-bezier(.25,.8,.5,1)}.stat-b{background:#d32f2f;transition:width .6s cubic-bezier(.25,.8,.5,1)}.highlight-a{color:#1976d2;font-weight:900}.highlight-b{color:#d32f2f;font-weight:900}.live-commentary-box{background:#f9fbff;border-left:4px solid #1976d2;border-radius:10px;padding:15px;max-height:320px;overflow-y:auto}.live-commentary-box h3{margin-top:0;margin-bottom:12px;color:#1a237e}.commentary-list{list-style:none;margin:0;padding:0}.commentary-item{display:flex;gap:10px;padding:6px 0;border-bottom:1px dashed #ddd;font-size:.95em}.commentary-item:last-child{border-bottom:none}.commentary-item:before{content:"⏱";color:#555}.match-stats-summary{background:#fafafa;border-radius:12px;padding:15px;margin-top:12px}.match-stats-summary h4{border-bottom:1px solid #ddd;padding-bottom:6px;margin-bottom:10px}.commentary-summary-list{list-style:none;margin:15px 0 0;border-left:3px solid #3498db;max-height:400px;overflow-y:auto;padding:0 0 0 10px}.commentary-summary-list li{padding:8px 10px;margin-bottom:5px;border-radius:6px;font-size:.95em;line-height:1.4;position:relative;color:#34495e;background-color:#f9f9f9;transition:background-color .2s ease}.commentary-summary-list li:last-child{border-bottom:none}.commentary-summary-list li:hover{background-color:#f0f0f0}.commentary-summary-list li:has(.goal-icon){background-color:#e6ffe6;border-left:5px solid #2ecc71;font-weight:600}.commentary-summary-list li:has(.red-card-icon){background-color:#ffe6e6;border-left:5px solid #e74c3c;font-weight:700}.commentary-summary-list li span{margin-right:5px;font-size:1.1em;color:#3498db}.commentary-summary-list li:last-child{margin-bottom:0;padding-bottom:10px}@media (max-width: 768px){.match-page-container{margin:0;padding:15px;border-radius:0}.header h2{font-size:1.8em}.live-match-header{flex-direction:column;gap:10px;text-align:center}.team-info{justify-content:center;width:100%;font-size:.95em}.match-status{order:-1;margin-bottom:10px}.score{font-size:1.2em;padding:6px 12px}.match-status .minute{font-size:1.1em}.fixture-item{flex-direction:column;align-items:center;text-align:center;padding:10px}.fixture-item>*{margin:4px 0}.fixture-item button{width:100%}.stat-bar-header,.stat-bar-values{font-size:.9em}}@media (max-width: 500px){.match-page-container{padding:10px}.header h2{font-size:1.5em}.start-match-button{padding:8px 12px;font-size:.9em}.live-commentary-box{max-height:250px}}.squad-selection-container{display:flex;flex-direction:column;max-width:1400px;margin:0 auto;padding:20px;font-family:Inter,sans-serif;background-color:#f7f9fc}.main-title{text-align:center;color:#2c3e50;margin-bottom:10px}.current-turn{text-align:center;font-size:1.2em;font-weight:600;margin-bottom:20px;color:#34495e}.my-turn-name{color:#27ae60;font-size:1.1em}.timer-display{font-weight:700;color:#e67e22;margin-left:5px}.critical-time{color:#e74c3c;animation:blink 1s infinite}@keyframes blink{0%,to{opacity:1}50%{opacity:.5}}.player-name-wrapper{position:absolute;bottom:-35px;left:50%;transform:translate(-50%);background-color:#fff;padding:10px 40px;border-radius:3px;box-shadow:0 4px 10px #0000004d;width:fit-content;min-width:80px;z-index:10;transform:translate(-50%) skew(-15deg);display:flex;justify-content:center;align-items:center}.player-name-wrapper:before{content:"";position:absolute;inset:0;background-color:#fff;transform:skew(15deg);z-index:-1;border-radius:3px}.player-name{font-size:1.4em;font-weight:800;color:#000;white-space:nowrap;transform:skew(15deg)}.section-card{background:#fff;border-radius:12px;padding:20px;margin-bottom:20px;box-shadow:0 4px 8px #0000000d;transition:all .3s ease}.section-title{font-size:1.1rem;font-weight:700;color:#2c3e50;margin-top:0;margin-bottom:15px;padding-bottom:5px;border-bottom:2px solid #ecf0f1}.section-title span{color:#27ae60;font-weight:500}.section-title h3{font-size:.2rem}.select-formation{width:100%;padding:10px;border-radius:5px;border:1px solid #ccc;font-size:1em;cursor:pointer;background-color:#f9f9f9}.field-area-wrapper{display:flex;justify-content:center;align-items:flex-start;padding:10px 0;background-color:#f7f9fc;flex-grow:1}.field-container{position:relative;width:90%;max-width:700px;height:750px;background-color:#4caf50;background-image:linear-gradient(to bottom,#4caf50,#449d44);border-radius:10px;box-shadow:0 10px 20px #0000004d;overflow:hidden;perspective:1000px;transform:rotateX(15deg) scale(.9);transition:transform .3s ease}.soccer-field{width:100%;height:100%;display:flex;flex-direction:column;justify-content:space-between;padding:10px 0;position:relative;transform-style:preserve-3d}.penalty-box,.six-yard-box{position:absolute;background:transparent;border:2px solid white;box-sizing:border-box}.soccer-field:before{content:"";position:absolute;top:50%;left:0;right:0;height:2px;background:#fff;transform:translateY(-50%)}.soccer-field:after{content:"";position:absolute;top:50%;left:50%;width:100px;height:100px;border:2px solid white;border-radius:50%;transform:translate(-50%,-50%)}.penalty-box.top{top:0;left:50%;transform:translate(-50%);width:250px;height:100px;border-top:none}.six-yard-box.top{top:0;left:50%;transform:translate(-50%);width:120px;height:30px;border-top:none}.penalty-box.bottom{bottom:0;left:50%;transform:translate(-50%);width:250px;height:100px;border-bottom:none}.six-yard-box.bottom{bottom:0;left:50%;transform:translate(-50%);width:120px;height:30px;border-bottom:none}.player-search-container{margin:20px 0;padding:0 15px}.modal-content input[type=text],.modal-content input[type=search]{width:100%;padding:12px 15px;margin-bottom:20px;border:2px solid #ccc;border-radius:10px;font-size:1em;color:#333;background-color:#f9f9f9;box-shadow:0 2px 5px #0000000d;transition:all .3s ease-in-out;box-sizing:border-box;outline:none}.modal-content input[type=text]:focus,.modal-content input[type=search]:focus{border-color:#007bff;background-color:#fff;box-shadow:0 0 0 4px #007bff40}.host-wait-modal-overlay{position:fixed;inset:0;background-color:#0009;display:flex;justify-content:center;align-items:center;z-index:1000}.host-wait-modal-content{background:#fff;padding:30px;border-radius:12px;box-shadow:0 10px 30px #0000004d;text-align:center;max-width:400px;width:90%}.host-wait-modal-content h2{color:#27ae60;margin-bottom:15px}.waiting-message{font-size:1.1em;font-weight:600;color:#e67e22;margin-bottom:20px}.close-modal{background:#f1c40f;color:#333;border:none;padding:10px 20px;border-radius:8px;cursor:pointer;margin-top:15px;transition:background .2s}.close-modal:hover{background:#f39c12}.row{display:flex;justify-content:space-around;align-items:center;padding:0 5%;flex-grow:1;min-height:100px;z-index:10}.player-slot{display:flex;flex-direction:column;align-items:center;justify-content:center;width:80px;height:80px;background:#0000004d;border-radius:50%;cursor:pointer;transition:all .2s;position:relative;z-index:20;box-sizing:border-box;border:2px dashed rgba(255,255,255,.5)}.player-slot:hover{background:#00000080;transform:scale(1.05)}.player-slot.selected-slot-visual{border:4px solid #f39c12;background:#f39c1266}.player-slot.my-turn-slot{border:4px solid #2ecc71;animation:pulse 1.5s infinite}@keyframes pulse{0%{box-shadow:0 0 #2ecc71b3}70%{box-shadow:0 0 0 10px #2ecc7100}to{box-shadow:0 0 #2ecc7100}}.empty-slot-text{color:#fff;font-size:.9em;font-weight:600;text-shadow:1px 1px 2px rgba(0,0,0,.8)}.player-card{display:flex;flex-direction:column;align-items:center;background:#fff;border-radius:50%;box-shadow:0 2px 5px #0000004d;width:100%;height:100%;position:relative}.player-card img{width:90%;height:90%;object-fit:contain;border-radius:50%;margin-top:5px}.player-name-overlay{position:relative;z-index:1;font-size:1.2em;font-weight:700;color:#000;white-space:nowrap;line-height:1.2;padding:5px 15px;transform:skew(-15deg);display:inline-block;background-color:transparent}.player-name-overlay:before{content:"";position:absolute;inset:0;background-color:#fff;z-index:-1;transform:skew(15deg);border-radius:3px}.player-selection-modal.is-open{display:flex;justify-content:center;align-items:center;position:fixed;top:0;left:0;width:100%;height:100%;background-color:#0009;z-index:1000;animation:fadeIn .3s;opacity:1!important;visibility:visible!important}.player-selection-modal.is-open{display:flex;justify-content:center;align-items:center;position:fixed;top:0;left:0;width:100%;height:100%;background-color:#0009;z-index:1000;animation:fadeIn .3s}.modal-content{background:#fff;padding:30px;border-radius:12px;box-shadow:0 10px 30px #00000040;width:90%;max-width:500px;position:relative;max-height:90vh;overflow-y:auto;animation:slideUp .3s}.player-selection-modal.is-open .modal-content{transform:translateY(0)}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideUp{0%{transform:translateY(50px);opacity:0}to{transform:translateY(0);opacity:1}}.modal-close-button{position:absolute;top:15px;right:20px;background:#ff4d4d;border:none;color:#fff;font-size:1.4em;padding:6px 12px;border-radius:50%;cursor:pointer;transition:background .2s}.modal-close-button:hover{background:#e60000}.modal-player-list{list-style:none;margin:20px 0;padding:0;max-height:450px;overflow-y:auto;border-radius:10px}.modal-player-list li{display:flex;align-items:center;padding:12px 16px;margin-bottom:10px;background:#fff;border-radius:10px;box-shadow:0 2px 6px #0000001a;cursor:pointer;transition:transform .2s,box-shadow .2s}.modal-player-list li:hover{transform:translateY(-3px);box-shadow:0 4px 12px #00000026}.modal-player-list li img{width:60px;height:60px;border-radius:50%;object-fit:cover;margin-right:15px;border:2px solid #ddd}.modal-player-list li span{font-size:1.1em;font-weight:600;color:#2c3e50}.no-players-found{text-align:center;padding:20px;color:#777;font-style:italic}.start-tournament-wrapper.top-placement{text-align:center;margin:10px 0 25px;padding:15px;background:#e8f6e8;border:1px solid #27ae60;border-radius:10px;box-shadow:0 2px 8px #27ae604d}.start-tournament-button{background:#27ae60;color:#fff;border:none;padding:15px 30px;border-radius:8px;font-size:1.1rem;font-weight:700;cursor:pointer;transition:background .2s,transform .1s;box-shadow:0 4px 6px #0000001a}.start-tournament-button:hover{background:#229954;transform:translateY(-2px);box-shadow:0 6px 8px #00000026}.main-content-layout{display:grid;grid-template-columns:2fr 1fr;gap:25px}.pagination-controls{display:flex;justify-content:center;align-items:center;gap:10px;margin-top:20px}.pagination-controls button{background:#3498db;color:#fff;border:none;padding:8px 14px;border-radius:6px;cursor:pointer;font-weight:500;transition:background .2s,transform .2s}.pagination-controls button:hover:not(:disabled){background:#2c80b4;transform:translateY(-2px)}.pagination-controls button:disabled{background:#ccc;cursor:not-allowed}.pagination-controls .active-page{background:#2ecc71!important;font-weight:700}.my-squad-section{padding:20px}.squad-list{list-style:none;padding:0;margin:0}.squad-player-item{display:flex;align-items:center;padding:10px 0;border-bottom:1px dashed #ecf0f1;transition:background .2s}.squad-player-item:hover{background:#f8f9fa}.squad-player-item:last-child{border-bottom:none}.squad-player-img{width:45px;height:45px;border-radius:50%;object-fit:cover;margin-right:15px;border:2px solid #2ecc71}.player-info{display:flex;flex-direction:column;text-align:left;flex-grow:1;position:relative;padding-left:10px}.player-info span{font-size:.9em;font-weight:600;color:#2c3e50;line-height:1.3}.player-info small{font-size:.75em;color:#7f8c8d}.player-name-main{position:relative;z-index:1;font-size:1em;font-weight:700;color:#000;white-space:normal;line-height:1.2;padding:5px 15px;transform:skew(-15deg);display:inline-block;background-color:transparent}.player-pos-detail{font-size:.8em;color:#95a5a6}.pagination-controls{display:flex;justify-content:center;align-items:center;gap:10px;margin-top:20px;padding-top:15px;border-top:1px solid #eee}.pagination-controls button{background:#ecf0f1;color:#333;padding:8px 12px;border-radius:6px;font-weight:500;transition:background .2s;width:auto;margin:0}.pagination-controls button:hover:not(:disabled),.pagination-controls button.active-page{background:#4caf50;color:#fff;transform:translateY(-1px);box-shadow:0 2px 5px #0003}.pagination-controls button:disabled{background:#ddd;color:#999;cursor:not-allowed;box-shadow:none}.page-numbers{display:flex;gap:5px}.page-numbers button{padding:8px 15px}.tab-container{padding:1rem 1.5rem .5rem;margin-bottom:1.5rem;background:#fff;border-radius:12px;box-shadow:0 4px 12px #0000000d}.squad-column{display:flex;flex-direction:column;transform:scale(.85)}.squad-tabs{display:flex;overflow-x:auto;padding-bottom:0;margin-bottom:0}.squad-tabs .tab-button{background:#ecf0f1;color:#34495e;border:none;border-radius:10px 10px 0 0;padding:12px 18px;cursor:pointer;font-size:.95rem;font-weight:600;margin-right:5px;transition:background .2s,color .2s,transform .2s;flex-shrink:0}.squad-tabs .tab-button:hover:not(.active-tab){background:#bdc3c7}.squad-tabs .tab-button.active-tab{background:#27ae60;color:#fff;box-shadow:0 -3px 5px #0000001a;position:relative;z-index:2}.squad-tabs .sen-label{margin-left:5px;font-size:.8em;font-weight:700;padding:2px 5px;border-radius:4px;background:#fff3}.tab-button:hover{background:#e2e8f0;color:#1e3a8a}.field-column{display:flex;flex-direction:column;transform:scale(.85)}.formation-field-card{flex-grow:1;display:flex;flex-direction:column}.tab-button.active-tab{background:#fff;color:#1e3a8a;border:1px solid #1e3a8a;border-bottom:2px solid #ffffff;position:relative;z-index:10;font-weight:700;box-shadow:0 -2px 5px #0000001a}@media (max-width: 992px){.main-content-layout{grid-template-columns:1fr}}@media (max-width: 768px){.squad-selection-container{padding:10px}.modal-content{padding:20px}.player-slot{width:65px;height:65px;margin-left:15px}.player-card img{width:70%;height:70%}.player-name-overlay{font-size:.6em;bottom:-10px}.start-tournament-button{width:90%;font-size:1em;padding:12px}.player-search-input{padding:10px 15px;font-size:.9em;max-width:100%}.squad-tabs{flex-direction:column;gap:5px}.tab-button{border-radius:8px;width:100%;text-align:left;border-bottom:1px solid #e2e8f0}.tab-button.active-tab{border:2px solid #1e3a8a}}.profile-container{max-width:600px;margin:40px auto;background:#fff;padding:25px 30px;border-radius:12px;box-shadow:0 5px 15px #0000001a;transform:scale(.86)}.profile-container .form-title{font-size:22px;font-weight:600;margin-bottom:20px;text-align:center;color:#333}.auth-form{display:flex;flex-direction:column;gap:25px}.form-section{border-top:1px solid #eee;padding-top:15px}.section-title{font-size:18px;font-weight:500;margin-bottom:12px;color:#444}.form-group{display:flex;flex-direction:column;margin-bottom:15px}.form-group label{font-size:14px;margin-bottom:5px;color:#555}.form-input{padding:10px;border:1px solid #ccc;border-radius:8px;outline:none;transition:border .2s}.form-input:focus{border-color:#4a90e2}.btn-primary,.btn-secondary{display:inline-block;padding:10px 15px;border-radius:8px;border:none;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s}.btn-primary{background:#4a90e2;color:#fff}.btn-primary:hover{background:#357abd}.btn-secondary{background:#f2f2f2;color:#444}.btn-secondary:hover{background:#e0e0e0}.btn-small{padding:6px 10px;font-size:13px;margin-left:8px}.email-change-section .email-input-group{display:flex;flex-direction:column;gap:10px}.email-sent-message{background:#f0f9ff;padding:12px;border:1px solid #cce7ff;border-radius:8px;font-size:14px;margin-bottom:10px}.message{text-align:center;font-size:14px;padding:8px 12px;border-radius:8px}.message.success{background:#e6f7e6;color:#2d7a2d;border:1px solid #b6e2b6}.message.error{background:#fdeaea;color:#b33a3a;border:1px solid #f5b5b5}.submit-button{margin-top:10px;width:100%}.squad-builder-container{font-family:Roboto,sans-serif;text-align:center;padding:20px;background-color:#f7f7f7;min-height:100vh;overflow-x:hidden}.page-title{color:#333;margin-bottom:30px;font-size:2.2em;font-weight:700}.formation-selection{margin-bottom:20px;padding:15px;border:1px solid #ddd;border-radius:8px;background:#f9f9f9}.share-button{width:100%;padding:15px;background-color:#1976d2;color:#fff;border:none;border-radius:8px;font-size:1.1em;font-weight:700;cursor:pointer;transition:background-color .2s,transform .2s;margin-bottom:20px;box-shadow:0 4px 10px #1976d24d}.share-button:hover{background-color:#1565c0;transform:translateY(-2px)}h3{color:#444;margin-bottom:20px;font-size:1.5em}h4{color:#555;margin-bottom:15px;font-size:1.2em}.formation-grid{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.formation-button{cursor:pointer;border:1px solid #ccc;transition:all .2s ease-in-out;padding:8px 15px;border-radius:5px;background-color:#fff;box-shadow:0 2px 5px #00000014;font-weight:600;font-size:.9em}.formation-button:hover{border-color:#4caf50;transform:translateY(-2px);background-color:#e8f5e9}.formation-button.active-formation{background-color:#4caf50;color:#fff;border-color:#4caf50;box-shadow:0 4px 10px #4caf5066}.main-content-wrapper{display:grid;grid-template-columns:3.5fr 1.5fr;gap:30px;max-width:1500px;margin:0 auto;text-align:left;align-items:flex-start}.field-area-wrapper{flex-grow:1;display:flex;justify-content:center;align-items:center;padding:10px;perspective:1500px;background-color:#e60d0d;background-image:url(/assets/Stadium2-CC6duJeQ.png);background-size:cover;background-position:center;background-repeat:no-repeat;border-radius:12px}.field-container{width:100%;max-width:850px;aspect-ratio:16 / 10;transition:transform .5s ease;transform-style:preserve-3d;transform:rotateX(20deg) scale(.98);box-shadow:0 25px 50px #0006;border-radius:15px}.soccer-field{width:100%;height:100%;position:relative;overflow:hidden;background-color:#faf9f9;border:3px solid #fff;box-sizing:border-box;border-radius:15px;background-repeat:no-repeat,repeat;background-position:right 27px top 20px,0 0;background-size:22% auto,100% 100%;background-image:url(../../public),repeating-linear-gradient(to bottom,#38761d 0% 9%,#4a9e34 9% 18%)}.latest-squads-section{max-width:1200px;margin:4rem auto 2rem;padding:2rem;background-color:#fff;border-radius:16px;box-shadow:0 8px 24px #0000001a}.section-title{text-align:center;font-size:2rem;font-weight:700;color:#1c1c1c;margin-bottom:2rem;position:relative}.section-title:after{content:"";display:block;width:80px;height:4px;background-color:#2b9348;border-radius:2px;margin:.5rem auto 0}.squads-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1.5rem}.squad-card{background-color:#f8f9fa;border-radius:12px;overflow:hidden;text-decoration:none;color:inherit;box-shadow:0 4px 12px #00000014;transition:transform .3s ease,box-shadow .3s ease;display:flex;flex-direction:column}.squad-card:hover{transform:translateY(-8px);box-shadow:0 12px 28px #0000001f}.squad-card-image{width:100%;aspect-ratio:16 / 10;object-fit:cover;border-bottom:1px solid #e9ecef}.squad-card-info{padding:1rem;flex-grow:1}.squad-card-title{font-size:1.1rem;font-weight:600;margin:0 0 .5rem;color:#343a40}.squad-card-author{font-size:.9rem;color:#6c757d;margin:0}.btn-view-all{display:block;width:fit-content;margin:2.5rem auto 0;padding:12px 30px;font-size:1rem;font-weight:600;color:#fff;background-color:#2b9348;border:none;border-radius:50px;text-decoration:none;transition:all .3s ease;box-shadow:0 4px 15px #2b93484d}.btn-view-all:hover{background-color:#25803e;transform:translateY(-3px);box-shadow:0 6px 20px #2b934866}.soccer-field:before{content:"";position:absolute;top:50%;left:5px;width:calc(100% - 10px);height:2px;background:#fff;transform:translateY(-50%);z-index:1}.soccer-field:after{content:"";position:absolute;top:50%;left:50%;width:200px;height:200px;border:2px solid white;border-radius:50%;transform:translate(-50%,-50%);z-index:1}.penalty-box,.six-yard-box{position:absolute;left:50%;transform:translate(-50%);border:3px solid #fff;z-index:2;pointer-events:none;box-sizing:border-box;background:transparent}.penalty-box.top{width:50%;height:25%;top:0;border-top:none;border-bottom-left-radius:15px;border-bottom-right-radius:15px}.penalty-box.bottom{width:50%;height:25%;bottom:0;border-bottom:none;border-top-left-radius:15px;border-top-right-radius:15px}.six-yard-box.top{width:25%;height:8%;top:0;border-top:none;border-bottom-left-radius:8px;border-bottom-right-radius:8px}.six-yard-box.bottom{width:25%;height:8%;bottom:0;border-bottom:none;border-top-left-radius:8px;border-top-right-radius:8px}.row{display:flex;justify-content:center;gap:80px;width:100%;min-width:100%;flex-wrap:nowrap;padding:0 5px;box-sizing:border-box;z-index:10;align-items:center;height:20%}.player-slot{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100px;height:100px;background-color:transparent;border-radius:50%;border:2px dashed #b3e5fc;cursor:pointer;transition:transform .2s;box-shadow:0 0 5px #0003;transform:rotateX(-20deg) translateZ(10px)}.player-slot:hover{background-color:#ffffff1a;border-color:#81d4fa}.player-slot.occupied{border:2px solid #4CAF50;background-color:transparent;box-shadow:0 0 10px #4caf5080}.player-card{position:relative;width:100%;height:100%;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:grab;background-color:transparent;padding:0}.player-card img{width:100px;height:100px;border-radius:50%;object-fit:contain;position:relative;z-index:2;margin-top:-20px;filter:drop-shadow(0px 8px 10px rgba(0,0,0,.6));transition:transform .2s ease-in-out}.player-name-wrapper{position:absolute;bottom:-15px;width:auto;padding:3px 12px;background-color:#0a192fd9;color:#fff;font-weight:700;font-size:1em;border-radius:5px;border:1px solid rgba(255,255,255,.3);box-shadow:0 2px 4px #00000080;z-index:3;white-space:nowrap}.player-name{font-size:1.2em;font-weight:700;color:#000;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:90px}.empty-slot-text{color:#fff;font-weight:600;font-size:1.2em;text-shadow:1px 1px 2px rgba(0,0,0,.7)}.remove-btn{position:absolute;top:-10px;right:-10px;background:#e57373;color:#fff;border:none;border-radius:50%;width:26px;height:26px;line-height:1;font-size:.9em;cursor:pointer;box-shadow:0 2px 5px #0000004d;padding:0;z-index:20;display:flex;justify-content:center;align-items:center}.selection-sidebar{padding:20px;background-color:#fff;border-radius:8px;box-shadow:0 4px 15px #0000001a;height:fit-content;position:sticky;top:20px;width:100%;box-sizing:border-box}.team-selection{margin-top:30px}.team-search-input{width:100%;margin:10px auto 20px;display:block;padding:10px;border:1px solid #ccc;border-radius:5px;box-sizing:border-box}.list-title{color:#555;margin-top:20px;text-align:center}.team-logo-list{display:flex;justify-content:center;gap:15px;flex-wrap:wrap;max-height:280px;overflow-y:auto;padding:10px;border:1px solid #eee;border-radius:8px;background:#f9f9f9}.team-logo-wrapper{position:relative;cursor:pointer;border:2px solid transparent;transition:all .2s;padding:8px;border-radius:8px;text-align:center}.team-logo-wrapper:hover{border-color:#1976d2;background-color:#f0f8ff}.team-logo{width:80px;height:80px;object-fit:contain;display:block}.team-name-overlay{display:block;font-size:10px;margin-top:5px;width:80px;color:#333;font-weight:700;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.selected-team-info{text-align:center;padding:15px;border:1px solid #ddd;border-radius:8px;background:#e0f2f1;margin-top:20px}.selected-team-info .team-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.selected-team-info h4{margin:0;flex-grow:1;text-align:left;padding-left:10px}.sidebar-team-logo{width:40px;height:40px;object-fit:contain}.change-team-btn{background-color:#ef5350;color:#fff;border:none;padding:8px 15px;border-radius:4px;cursor:pointer;font-size:.8em}.selected-team-logo{position:absolute;top:20px;left:20px;width:80px;height:80px;object-fit:contain;background-color:#fffc;padding:5px;border-radius:50%;z-index:5;box-shadow:0 4px 10px #0003}.dragging-player{position:fixed!important;inset:auto!important;z-index:5000}.is-capturing{transform:none!important;margin-top:0!important;box-shadow:none!important;padding:20px!important;box-sizing:content-box!important}.share-modal-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:#0009;display:flex;justify-content:center;align-items:center;z-index:1002}.share-modal-content{background:#fff;padding:2rem;border-radius:8px;width:90%;max-width:500px;display:flex;flex-direction:column;gap:1rem}.share-modal-content h2{margin:0;text-align:center}.share-modal-content .form-group{display:flex;flex-direction:column}.share-modal-content label{margin-bottom:.5rem;font-weight:700}.share-modal-content input,.share-modal-content textarea{padding:.75rem;border:1px solid #ccc;border-radius:4px;font-size:1rem}.share-modal-actions{display:flex;justify-content:flex-end;gap:1rem;margin-top:1rem}.share-modal-actions .btn-secondary{background:#ccc;border:none;padding:.75rem 1.5rem;border-radius:4px;cursor:pointer}.share-modal-actions .btn-primary{background:#27ae60;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:4px;cursor:pointer}.drawer-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#00000080;z-index:1000;transition:opacity .3s ease}.player-selection-drawer{position:fixed;top:0;right:0;width:50%;max-width:600px;height:100%;background:#1e2024;color:#fff;box-shadow:-5px 0 25px #0000004d;z-index:1001;transform:translate(100%);transition:transform .4s cubic-bezier(.25,.46,.45,.94);display:flex;flex-direction:column}.player-selection-drawer.is-open{transform:translate(0)}.drawer-content{display:flex;flex-direction:column;height:100%;overflow:hidden}.drawer-header{display:flex;justify-content:space-between;align-items:center;padding:20px 25px;background:#2a2d32;border-bottom:1px solid #3a3e45}.drawer-header h3{margin:0;color:#fff;font-size:1.6em}.drawer-header p{margin:5px 0 0;color:#a0a7b3;font-size:1em}.drawer-header p span{color:#4caf50;font-weight:700}.close-drawer-btn{background:none;border:none;color:#a0a7b3;font-size:2.5rem;cursor:pointer;line-height:1;transition:color .2s}.close-drawer-btn:hover{color:#fff}.drawer-controls{padding:20px 25px;background:#2a2d32;border-bottom:1px solid #3a3e45}.drawer-search-input{width:100%;padding:12px 15px;background:#1e2024;border:1px solid #3a3e45;border-radius:8px;color:#fff;font-size:1em;margin-bottom:20px}.drawer-controls .tabs{display:flex;border-radius:8px;overflow:hidden;border:1px solid #3a3e45;margin-bottom:20px}.drawer-controls .tab-button{flex:1;padding:10px;background:none;border:none;color:#a0a7b3;cursor:pointer;transition:all .2s}.drawer-controls .tab-button.active{background:#4caf50;color:#fff;font-weight:700}.drawer-controls .tab-button:disabled{opacity:.5;cursor:not-allowed}.drawer-controls .position-filter-container{display:flex;justify-content:space-around;gap:10px}.drawer-controls .position-filter-button{padding:8px 12px;border:none;background:#3a3e45;color:#a0a7b3;border-radius:6px;cursor:pointer;transition:all .2s;flex-grow:1}.drawer-controls .position-filter-button.active{background:#007bff;color:#fff;font-weight:700}.player-grid-container{flex-grow:1;overflow-y:auto;padding:25px}.player-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:20px}.player-card-item{background:#2a2d32;border-radius:10px;padding:10px;text-align:center;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease;border:1px solid #3a3e45}.player-card-item:hover{transform:translateY(-5px);box-shadow:0 8px 20px #0006;border-color:#4caf50}.player-card-item img{width:80px;height:80px;border-radius:50%;object-fit:cover;margin-bottom:10px;background:#3a3e45}.player-card-info{display:flex;flex-direction:column}.player-card-name{font-size:.9em;font-weight:700;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.player-card-position{font-size:.8em;color:#a0a7b3}.no-player-found{text-align:center;padding:40px;color:#a0a7b3}.drawer-footer{padding:20px 25px;background:#2a2d32;border-top:1px solid #3a3e45;display:flex;justify-content:space-between;align-items:center;gap:20px}.drawer-footer .pagination-controls{display:flex;align-items:center;gap:10px}.drawer-footer .pagination-controls button{background:#3a3e45;color:#fff;border:none;border-radius:6px;width:35px;height:35px;cursor:pointer}.drawer-footer .pagination-controls button:disabled{opacity:.4;cursor:not-allowed}.drawer-footer .manual-entry button{background:#4caf50;color:#fff;border:none;padding:10px 15px;border-radius:8px;cursor:pointer;flex-grow:1;font-weight:700}.drawer-footer .manual-entry button:disabled{background:#555;cursor:not-allowed}@media (max-width: 768px){.squad-builder-container{padding:10px;background:#0d4d1e;min-height:100vh;display:flex;flex-direction:column;align-items:center;overflow-x:hidden;overflow-y:visible!important}.page-title{font-size:1.5em;color:#fff;margin-bottom:10px;text-align:center}.main-content-wrapper{display:flex;flex-direction:column;align-items:center;width:100%;gap:10px;overflow:visible!important}.field-area-wrapper{width:100%;max-width:420px;height:560px;background:linear-gradient(to bottom,#2e7d32,#1b5e20);border-radius:12px;padding:5px;perspective:800px;display:flex;justify-content:center;align-items:center;overflow:visible!important;position:relative;box-shadow:0 6px 18px #0009}.field-container{width:100%;height:100%;position:relative;border-radius:10px;transform:rotateX(14deg) scale(.97);transform-origin:center bottom;background:repeating-linear-gradient(to bottom,#388e3c 0% 9%,#43a047 9% 18%);border:3px solid #fff;overflow:visible!important;z-index:2}.soccer-field{position:absolute;inset:0;z-index:1}.soccer-field:before{content:"";position:absolute;top:50%;left:5%;width:90%;height:2px;background:#fff;transform:translateY(-50%);z-index:1}.soccer-field:after{content:"";position:absolute;top:50%;left:50%;width:100px;height:100px;border:2px solid white;border-radius:50%;transform:translate(-50%,-50%)}.penalty-box.top,.penalty-box.bottom{position:absolute;width:58%;height:15%;left:50%;transform:translate(-50%);border:2px solid #fff;border-radius:8px;z-index:2}.penalty-box.top{top:0;border-top:none}.penalty-box.bottom{bottom:0;border-bottom:none}.row{display:flex;justify-content:center;align-items:center;width:100%;height:13%;padding:0 3px;z-index:10;box-sizing:border-box;gap:4px;overflow:visible;position:relative}.row.DEF{justify-content:space-evenly!important;padding:0 5px;gap:3px}.player-slot{width:62px;height:62px;border-radius:50%;border:2px dashed rgba(255,255,255,.5);background-color:#ffffff14;display:flex;justify-content:center;align-items:center;transform:rotateX(-14deg);position:relative;overflow:visible!important;z-index:15}.player-slot.occupied{border:2px solid #4CAF50;background-color:#ffffff1f}.player-card{width:100%;height:100%;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:visible!important;z-index:20}.player-card img{width:68px;height:68px;border-radius:50%;object-fit:contain;margin-top:-6px;filter:drop-shadow(0px 4px 6px rgba(0,0,0,.6));z-index:21}.player-name-wrapper{position:absolute;bottom:-18px;left:50%;transform:translate(-50%);background-color:#0a192fe6;color:#fff;font-size:.7em;font-weight:600;padding:2px 5px;border-radius:4px;border:1px solid rgba(255,255,255,.2);white-space:nowrap;z-index:25}.player-name{font-size:.75em;font-weight:700;text-align:center}.remove-btn{position:absolute;top:-6px;right:-6px;width:18px;height:18px;background:#e53935;color:#fff;border:none;border-radius:50%;font-size:.65em;cursor:pointer;display:flex;justify-content:center;align-items:center;z-index:30}.selection-sidebar{width:100%;background-color:#fff;border-radius:8px;padding:10px;box-shadow:0 3px 10px #00000026;position:relative;z-index:1}.player-selection-drawer{width:100%}}.contact-page{max-width:1000px;margin:2rem auto;padding:2rem;line-height:1.7;background:#fff;border-radius:.75rem;box-shadow:0 4px 12px #00000014}.contact-page h1{font-size:2.5rem;color:#1e293b;border-bottom:3px solid #f0f0f0;padding-bottom:.5rem;margin-bottom:1rem}.contact-page .page-subtitle{font-size:1.1rem;color:#64748b;margin-bottom:2.5rem;max-width:700px}.contact-grid{display:flex;gap:3rem;flex-wrap:wrap}.contact-form-container,.contact-info-block{padding:2rem;background:#f8fafc;border-radius:.75rem;border:1px solid #e2e8f0}.contact-form-container{flex:2;min-width:350px}.contact-info-block{flex:1;min-width:250px}.contact-info-block h2{color:#0f172a}.contact-form input,.contact-form textarea{width:100%;padding:.75rem;margin-bottom:1rem;border:1px solid #cbd5e1;border-radius:.5rem;font-size:1rem;box-sizing:border-box;transition:border-color .2s}.contact-form input:focus,.contact-form textarea:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f640;outline:none}.btn-submit{background-color:#3b82f6;color:#fff;padding:.75rem 1.5rem;border:none;border-radius:.5rem;cursor:pointer;font-size:1rem;font-weight:600;transition:background-color .2s}.btn-submit:hover{background-color:#2563eb}.info-item{display:flex;align-items:flex-start;margin-bottom:1.5rem;gap:1rem;padding:.5rem 0}.info-icon{color:#3b82f6;flex-shrink:0}.info-item strong{display:block;font-size:1rem;color:#334155;margin-bottom:.25rem}.info-item p{margin:0;color:#64748b;font-size:.9rem}.success-message{padding:1.5rem;background-color:#d1fae5;color:#065f46;border:1px solid #10b981;border-radius:.5rem;text-align:center;font-weight:600}@media (max-width: 768px){.contact-page{padding:1rem;margin:1rem auto;max-width:95%}.contact-grid{flex-direction:column;gap:2rem}.contact-form-container,.contact-info-block{padding:1.5rem}}.terms-page{max-width:900px;margin:2rem auto;padding:2rem;line-height:1.7;background:#fff;border-radius:.75rem;box-shadow:0 4px 12px #00000014}.terms-page h1{font-size:2.5rem;color:#1e293b;border-bottom:3px solid #f0f0f0;padding-bottom:.5rem;margin-bottom:1rem}.terms-page .page-subtitle{font-size:1.1rem;color:#64748b;margin-bottom:2.5rem;max-width:700px}.terms-page h2{font-size:1.5rem;color:#3b82f6;margin-top:2rem;margin-bottom:1rem;font-weight:700}.terms-page section p{margin-bottom:1rem;color:#334155}.terms-page ul{list-style-type:disc;margin-left:1.5rem;padding-left:0;margin-bottom:1.5rem;color:#334155}.terms-page ul li{margin-bottom:.5rem}.last-updated{margin-top:3rem;font-size:.85rem;color:#64748b;font-style:italic;border-top:1px solid #e2e8f0;padding-top:1rem}@media (max-width: 768px){.terms-page{padding:1rem;margin:1rem auto;max-width:95%}}.loading-container{text-align:center;padding:3rem;font-size:1.2rem;color:#555}.squad-feed-container{max-width:700px;margin:2rem auto;padding:1rem}.squad-feed-container h1{text-align:center;margin-bottom:2rem;color:#1a237e}.empty-feed{text-align:center;font-size:1.1rem;color:#777;padding:2rem;background:#fff;border-radius:8px}.squad-feed{display:flex;flex-direction:column;gap:1.5rem}.squad-post{background:#fff;border-radius:8px;box-shadow:0 4px 12px #00000014;border:1px solid #e0e0e0;overflow:hidden;transition:box-shadow .2s}.squad-post:hover{box-shadow:0 6px 16px #0000001f}.post-header{display:flex;justify-content:space-between;align-items:flex-start;padding:1rem 1.25rem}.post-title{margin:0;font-size:1.3rem}.post-title a{text-decoration:none;color:#1a237e;font-weight:700}.post-author{margin:.25rem 0 0;color:#555;font-size:.9rem}.post-formation{background:#eef2f7;color:#334155;padding:.3rem .6rem;border-radius:4px;font-weight:600;font-size:.85rem;flex-shrink:0}.post-image-link{display:block;border-top:1px solid #f0f0f0;border-bottom:1px solid #f0f0f0}.post-image{width:100%;height:auto;display:block;background:#f9f9f9}.post-actions{display:flex;align-items:center;gap:1.5rem;padding:.75rem 1.25rem;color:#444;font-size:.9rem}.action-stat{display:flex;align-items:center;gap:.4rem;font-weight:500}.action-stat svg{color:#555}.view-post-link{margin-left:auto;text-decoration:none;color:#1976d2;font-weight:600}.squad-detail-container{max-width:900px;margin:2rem auto;padding:0 1rem}.detail-header{text-align:center;margin-bottom:2rem}.detail-header h1{color:#1a237e}.detail-header .author{color:#555;font-size:1.1rem}.detail-header .description{font-style:italic;font-size:1.1rem;max-width:600px;margin:1rem auto;color:#333}.detail-field-container{margin-bottom:2rem;padding:1rem;background:#f7f7f7;border-radius:8px}.squad-detail-image{width:100%;max-width:800px;height:auto;display:block;margin:0 auto;border-radius:8px;box-shadow:0 5px 15px #0003}.action-stat-btn{display:flex;align-items:center;gap:.4rem;font-weight:500;font-size:.9rem;color:#444;background:none;border:none;padding:.5rem;margin:-.5rem;border-radius:6px;cursor:pointer;transition:background-color .2s,color .2s}.action-stat-btn:hover{background-color:#f0f0f0}.action-stat-link{display:flex;align-items:center;gap:.4rem;font-weight:500;font-size:.9rem;color:#444;text-decoration:none;padding:.5rem;margin:-.5rem;border-radius:6px;transition:background-color .2s}.action-stat-link:hover{background-color:#f0f0f0}.action-stat-btn.active-like{color:#2980b9;font-weight:700}.action-stat-btn.active-like svg{fill:#2980b9}.action-stat-btn.active-dislike{color:#c0392b;font-weight:700}.action-stat-btn.active-dislike svg{fill:#c0392b}.interaction-section{display:flex;flex-direction:column;gap:2rem;max-width:700px;margin:0 auto}.vote-buttons{display:flex;justify-content:center;gap:1rem}.vote-btn{background:#eee;border:1px solid #ddd;padding:.7rem 1.2rem;border-radius:20px;cursor:pointer;display:flex;align-items:center;gap:.5rem;transition:all .2s;font-size:1rem;font-weight:500}.vote-btn.like.active{background:#2980b9;color:#fff;border-color:#2980b9}.vote-btn.dislike.active{background:#c0392b;color:#fff;border-color:#c0392b}.comments-section h3{margin-bottom:1rem;border-bottom:2px solid #eee;padding-bottom:.5rem}.comment-form textarea{width:100%;padding:.75rem;border-radius:4px;border:1px solid #ccc;margin-bottom:.5rem;font-size:1rem;box-sizing:border-box}.comment-form button{background:#27ae60;color:#fff;padding:.7rem 1.5rem;border:none;border-radius:4px;cursor:pointer;font-size:1rem;font-weight:500}.login-prompt{text-align:center;color:#777;background:#f9f9f9;padding:1rem;border-radius:8px}.login-prompt a{color:#2980b9;font-weight:700}.comments-list{display:flex;flex-direction:column;gap:1rem}.comment-item{background:#f9f9f9;padding:1rem;border-radius:8px;border-left:4px solid #3498db}.comment-item .comment-text{margin:0 0 .5rem;font-size:1rem;color:#333}.comment-item .comment-meta{font-size:.8rem;color:#777;text-align:right}.back-to-feed-link{display:inline-flex;align-items:center;gap:.5rem;margin-bottom:1.5rem;padding:.6rem 1.2rem;background-color:#e30d0d;color:#fff;text-decoration:none;border-radius:6px;font-weight:600;font-size:.9rem;transition:background-color .2s}.back-to-feed-link:hover{background-color:#e2e8f0;color:#000}.squad-detail-container{max-width:900px;margin:2rem auto}@media (max-width: 768px){.squad-feed-container{padding:.5rem;margin:1rem auto}.squad-post{border-radius:0}.post-header{padding:.75rem}.post-title{font-size:1.1rem}.post-actions{padding:.5rem .75rem;font-size:.8rem;gap:1rem}.squad-detail-container{padding:0}.detail-field-container{padding:.5rem;border-radius:0}}.spm-container{font-family:Poppins,sans-serif;min-height:100vh;background-color:#f4f4f4;padding:20px;box-sizing:border-box}.spm-container h1,.spm-container h2,.spm-container h3{text-align:center;color:#1c1c1c}.spm-loading-container{text-align:center;padding:50px;font-size:1.2rem;color:#555}.spm-league-container{max-width:1200px;margin:0 auto;padding:20px}.spm-drawer-search-input{display:block;width:100%;max-width:500px;margin:10px auto 20px;padding:12px 14px;border-radius:10px;border:1px solid #ccc;font-size:1rem;transition:border-color .3s}.spm-drawer-search-input:focus{border-color:#2b9348}.spm-league-section{background-color:#fff;border-radius:12px;padding:20px;margin-bottom:20px;box-shadow:0 4px 10px #0000001a}.spm-league-title{color:#2b9348;font-weight:600;font-size:1.5rem;border-bottom:2px solid #eaeaea;margin-bottom:10px}.spm-team-buttons-grid{display:flex;flex-wrap:wrap;gap:10px}.spm-team-button{background-color:#f5f5f5;border:1px solid #ccc;border-radius:8px;padding:10px 15px;cursor:pointer;font-weight:500;transition:all .2s ease}.spm-team-button:hover{background-color:#2b9348;color:#fff;transform:translateY(-2px)}.spm-squad-builder{text-align:center;padding:10px}.spm-opponent{margin-bottom:15px;color:#333;font-weight:500;font-size:1.2rem}.spm-field-area-wrapper{flex-grow:1;display:flex;justify-content:center;align-items:center;padding:10px;perspective:1500px;background-color:#e8e5e5;border-radius:12px;max-width:1000px;margin:20px auto}.spm-field-container{width:100%;aspect-ratio:7 / 5;transition:transform .5s ease;transform-style:preserve-3d;transform:rotateX(20deg) scale(.98);box-shadow:0 25px 50px #0006;border-radius:15px}.spm-soccer-field{width:100%;height:120%;position:relative;overflow:hidden;border:3px solid #fff;box-sizing:border-box;border-radius:15px;background-image:repeating-linear-gradient(to bottom,#38761d 0% 9%,#4a9e34 9% 18%)}.spm-soccer-field:before{content:"";position:absolute;top:50%;left:5px;width:calc(100% - 10px);height:2px;background:#fff;transform:translateY(-50%);z-index:1}.spm-soccer-field:after{content:"";position:absolute;top:50%;left:50%;width:15%;height:20%;border:2px solid white;border-radius:50%;transform:translate(-50%,-50%);z-index:1}.spm-penalty-box,.spm-six-yard-box{position:absolute;left:50%;transform:translate(-50%);border:3px solid #fff;z-index:2;pointer-events:none;box-sizing:border-box;background:transparent}.spm-penalty-box.top{width:50%;height:25%;top:0;border-top:none;border-bottom-left-radius:15px;border-bottom-right-radius:15px}.spm-penalty-box.bottom{width:50%;height:25%;bottom:0;border-bottom:none;border-top-left-radius:15px;border-top-right-radius:15px}.spm-six-yard-box.top{width:25%;height:8%;top:0;border-top:none;border-bottom-left-radius:8px;border-bottom-right-radius:8px}.spm-six-yard-box.bottom{width:25%;height:8%;bottom:0;border-bottom:none;border-top-left-radius:8px;border-top-right-radius:8px}.spm-row{display:flex;justify-content:space-around;width:100%;padding:0 40px;margin-bottom:40px;box-sizing:border-box;z-index:10;align-items:center;height:20%}.spm-player-slot{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;width:40px;height:40px;background-color:transparent;border-radius:50%;border:2px dashed #b3e5fc;cursor:pointer;transition:transform .2s;box-shadow:0 0 5px #0003;transform:rotateX(-20deg) translateZ(10px)}.spm-player-slot:hover{background-color:#ffffff1a;border-color:#81d4fa}.spm-player-slot.occupied{border:2px solid #4CAF50;background-color:transparent;box-shadow:0 0 10px #4caf5080}.spm-player-card{position:relative;width:100%;height:100%;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:grab;background-color:transparent;padding:0}.spm-player-card img{width:100px;height:100px;border-radius:50%;object-fit:contain;position:relative;z-index:2;margin-top:-20px;filter:drop-shadow(0px 8px 10px rgba(0,0,0,.6));transition:transform .2s ease-in-out}.spm-player-name-wrapper{position:absolute;bottom:-45px;width:auto;padding:3px 12px;background-color:#0a192fd9;color:#fff;font-weight:700;font-size:1em;border-radius:5px;border:1px solid rgba(255,255,255,.3);box-shadow:0 2px 4px #00000080;z-index:3;white-space:nowrap}.spm-player-name{font-size:1em;font-weight:700;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:90px}.spm-empty-slot-text{color:#fff;font-weight:600;font-size:1.2em;text-shadow:1px 1px 2px rgba(0,0,0,.7)}.spm-remove-btn{position:absolute;top:-10px;right:-10px;background:#e57373;color:#fff;border:none;border-radius:50%;width:26px;height:26px;line-height:1;font-size:.9em;cursor:pointer;box-shadow:0 2px 5px #0000004d;padding:0;z-index:20;display:flex;justify-content:center;align-items:center}.spm-selected-team-logo{display:none;position:absolute;top:20px;left:20px;width:80px;height:80px;object-fit:contain;background-color:#fffc;padding:5px;border-radius:50%;z-index:5;box-shadow:0 4px 10px #0003}.dragging-player{z-index:5000!important}.spm-formation-selection{max-width:1000px;margin:0 auto 20px;padding:15px;background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a}.spm-formation-selection h3{margin-top:0;margin-bottom:10px;color:#333}.spm-formation-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}.spm-formation-button{cursor:pointer;border:1px solid #ccc;transition:all .2s ease-in-out;padding:8px 15px;border-radius:20px;background-color:#f5f5f5;font-weight:600;font-size:.9em}.spm-formation-button:hover{border-color:#2b9348;transform:translateY(-2px);background-color:#e8f5e9}.spm-formation-button.active{background-color:#2b9348;color:#fff;border-color:#2b9348;box-shadow:0 4px 10px #2b934866}.spm-pagination-controls{display:flex;justify-content:center;align-items:center;padding:1rem 0;gap:.5rem;-webkit-user-select:none;user-select:none}.spm-pagination-controls button{border:1px solid #444;background-color:#282c34;color:#c7c7c7;font-family:inherit;font-size:1rem;font-weight:700;cursor:pointer;transition:all .2s ease-in-out;border-radius:6px;min-width:40px;height:40px;display:flex;justify-content:center;align-items:center}.spm-pagination-controls button:hover:not(:disabled){background-color:#007bff;color:#fff;border-color:#007bff}.spm-pagination-controls button.active{background-color:#007bff;color:#fff;border-color:#0056b3;cursor:default}.spm-pagination-controls button:disabled{background-color:#1e1e1e;color:#555;border-color:#333;cursor:not-allowed;opacity:.6}.spm-drawer-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#00000080;z-index:1000;transition:opacity .3s ease}.spm-player-selection-drawer{position:fixed;top:0;right:0;width:50%;max-width:600px;height:100%;background:#1e2024;color:#fff;box-shadow:-5px 0 25px #0000004d;z-index:1001;transform:translate(100%);transition:transform .4s cubic-bezier(.25,.46,.45,.94);display:flex;flex-direction:column}.spm-player-selection-drawer.is-open{transform:translate(0)}.spm-drawer-content{display:flex;flex-direction:column;height:100%;overflow:hidden}.spm-drawer-header{display:flex;justify-content:space-between;align-items:center;padding:20px 25px;background:#2a2d32;border-bottom:1px solid #3a3e45}.spm-drawer-header h3{margin:0;color:#fff;font-size:1.6em}.spm-drawer-header p{margin:5px 0 0;color:#a0a7b3;font-size:1em}.spm-drawer-header p span{color:#4caf50;font-weight:700}.spm-close-drawer-btn{background:none;border:none;color:#a0a7b3;font-size:2.5rem;cursor:pointer;line-height:1;transition:color .2s}.spm-close-drawer-btn:hover{color:#fff}.spm-drawer-controls{padding:20px 25px;background:#2a2d32;border-bottom:1px solid #3a3e45}.spm-drawer-search-input-dark{width:100%;padding:12px 15px;background:#1e2024;border:1px solid #3a3e45;border-radius:8px;color:#fff;font-size:1em;margin-bottom:20px}.spm-position-filters{display:flex;justify-content:space-around;gap:10px}.spm-filter-button{padding:8px 12px;border:none;background:#3a3e45;color:#a0a7b3;border-radius:6px;cursor:pointer;transition:all .2s;flex-grow:1}.spm-filter-button.active{background:#007bff;color:#fff;font-weight:700}.spm-player-grid-container{flex-grow:1;overflow-y:auto;padding:25px}.spm-player-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:20px}.spm-player-card-item{background:#2a2d32;border-radius:10px;padding:10px;text-align:center;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease;border:1px solid #3a3e45}.spm-player-card-item:hover{transform:translateY(-5px);box-shadow:0 8px 20px #0006;border-color:#4caf50}.spm-player-card-item img{width:80px;height:80px;border-radius:50%;object-fit:cover;margin-bottom:10px;background:#3a3e45}.spm-player-card-info{display:flex;flex-direction:column}.spm-player-card-name{font-size:.9em;font-weight:700;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.spm-player-card-position{font-size:.8em;color:#a0a7b3}.spm-no-player-found{text-align:center;padding:40px;color:#a0a7b3}.spm-drawer-footer{padding:20px 25px;background:#2a2d32;border-top:1px solid #3a3e45;display:flex;justify-content:center;align-items:center;gap:20px}.spm-pagination-controls{display:flex;align-items:center;gap:10px;color:#fff}.spm-pagination-controls button{background:#3a3e45;color:#fff;border:none;border-radius:6px;width:35px;height:35px;cursor:pointer}.spm-pagination-controls button:disabled{opacity:.4;cursor:not-allowed}.spm-match-result-container{max-width:1000px;margin:2rem auto;padding:1.5rem;background-color:#f2f3f6;border-radius:12px;border:1px solid #e0e0e0;box-shadow:0 8px 30px #0000000d}.spm-match-result-container .live-match-header{display:flex;justify-content:space-between;align-items:center;background-color:#fff;padding:15px 25px;border-radius:10px;margin-bottom:1.5rem;box-shadow:0 4px 10px #0000000d}.spm-match-result-container .team-info{display:flex;align-items:center;gap:15px}.spm-match-result-container .team-info.team-a{flex-direction:row}.spm-match-result-container .team-info.team-b{flex-direction:row-reverse}.spm-match-result-container .team-name{font-size:1.3rem;font-weight:600;color:#333}.spm-match-result-container .score{font-size:2.5rem;font-weight:700;color:#fff6f6}.spm-match-result-container .match-status{text-align:center}.spm-match-result-container .minute{font-size:1.8rem;font-weight:700;color:#d90429;display:block}.spm-match-result-container .half-status{font-size:1rem;color:#555;font-weight:500}.spm-match-result-container .stat-bar{margin-bottom:.5rem}.spm-match-result-container .stat-bar-header{display:flex;justify-content:space-between;font-size:.9rem;color:#555;margin-bottom:4px}.spm-match-result-container .stat-bar-header span:nth-child(2){font-weight:600;color:#111}.spm-match-result-container .stat-bar-values{display:flex;justify-content:space-between;font-size:1.1rem;font-weight:700;margin-bottom:6px}.spm-match-result-container .stat-bar-progress{height:10px;border-radius:5px;background-color:#e0e0e0;display:flex;overflow:hidden}.spm-match-result-container .stat-bar-progress .stat-a{background-color:#007bff}.spm-match-result-container .stat-bar-progress .stat-b{background-color:#ffc107}.spm-match-result-container .stat-bar-values .highlight-a{color:#007bff}.spm-match-result-container .stat-bar-values .highlight-b{color:#ffc107}@keyframes fadeInDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.spm-match-result-container .spm-live-details-wrapper{display:flex;justify-content:space-between;gap:20px;margin-top:1.5rem;align-items:stretch}.spm-match-result-container .live-stats{flex:1;min-width:300px;background-color:#fff;padding:20px;border-radius:8px;box-shadow:0 4px 10px #0000000d}.spm-match-result-container .spm-live-commentary-box{flex:1;min-width:300px;background-color:#fff;border-radius:8px;box-shadow:0 4px 10px #0000000d;display:flex;flex-direction:column;overflow:hidden}.spm-match-result-container .spm-live-commentary-box h3{margin:0;padding:15px 20px;background-color:#f9f9f9;border-bottom:1px solid #eee;font-size:1.2rem;color:#333;text-align:left}.spm-match-result-container .spm-commentary-list{list-style-type:none;padding:15px 20px;margin:0;overflow-y:auto;flex-grow:1;min-height:0;font-size:.9rem;color:#444;scrollbar-width:thin;scrollbar-color:#ccc #f9f9f9}.spm-match-result-container .spm-commentary-list::-webkit-scrollbar{width:8px}.spm-match-result-container .spm-commentary-list::-webkit-scrollbar-track{background:#f9f9f9;border-radius:4px}.spm-match-result-container .spm-commentary-list::-webkit-scrollbar-thumb{background-color:#ccc;border-radius:4px}.spm-match-result-container .spm-commentary-list::-webkit-scrollbar-thumb:hover{background-color:#aaa}.spm-match-result-container .commentary-item{padding:10px 8px;border-bottom:1px solid #f0f0f0;line-height:1.5;transition:all .2s ease-out}.spm-match-result-container .commentary-item:first-child{animation:fadeInDown .3s ease-out}.spm-match-result-container .commentary-item.event-goal{background-color:#e6ffed;border-left:4px solid #28a745;color:#155724;font-weight:700;font-size:1.05em;padding-left:12px;transform:scale(1.02);box-shadow:0 4px 10px #28a7451a;margin:5px 0}.spm-match-result-container .commentary-item.event-save{background-color:#fffaf0;color:#856404;font-weight:500}.spm-match-result-container .commentary-item.event-miss{background-color:#f8f9fa;color:#6c757d;font-style:italic}.spm-match-result-container .commentary-item.event-start,.spm-match-result-container .commentary-item.event-end{background-color:#e7f3ff;color:#004085;font-weight:600;text-align:center}.spm-match-result-container .commentary-item:last-child{border-bottom:none}.spm-match-result-container .spm-share-button{margin-top:2rem;width:100%;font-size:1.2rem;padding:.9rem}.spm-share-button{display:block;width:100%;max-width:400px;margin:2rem auto 0;padding:14px 25px;font-family:Poppins,sans-serif;font-size:1.1rem;font-weight:600;color:#fff;text-align:center;background:linear-gradient(45deg,#2b9348,#55a630);border:none;border-radius:12px;cursor:pointer;transition:all .3s ease;box-shadow:0 5px 15px #2b93484d;letter-spacing:.5px}.spm-share-button:hover:not(:disabled){transform:translateY(-3px);box-shadow:0 8px 25px #2b934866;background:linear-gradient(45deg,#25803e,#4a962a)}.spm-share-button:active:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 12px #2b93484d}.spm-share-button:disabled{background:#b0bec5;box-shadow:none;cursor:not-allowed;opacity:.7}@media (max-width: 1200px){.main-content-wrapper{grid-template-columns:2.5fr 1.5fr}}@media (max-width: 992px){.main-content-wrapper{grid-template-columns:1fr}.selection-sidebar{position:static}.field-container{transform:none;max-width:500px;margin:0 auto}}@media (max-width: 768px){.spm-match-result-container .spm-live-details-wrapper{flex-direction:column}.spm-match-result-container .live-stats,.spm-match-result-container .spm-live-commentary-box{min-width:100%}.spm-match-result-container .spm-commentary-list{height:250px;flex-grow:0;min-height:auto}.spm-squad-builder-container{padding:10px;background:#0d4d1e;min-height:100vh;display:flex;flex-direction:column;align-items:center;overflow-x:hidden;overflow-y:visible!important}.spm-page-title{font-size:1.5em;color:#fff;margin-bottom:10px;text-align:center}.spm-main-content-wrapper{display:flex;flex-direction:column;align-items:center;width:100%;gap:10px;overflow:visible!important}.spm-field-area-wrapper{width:100%;max-width:420px;height:560px;background:linear-gradient(to bottom,#2e7d32,#1b5e20);border-radius:12px;padding:5px;perspective:800px;display:flex;justify-content:center;align-items:center;overflow:visible!important;position:relative;box-shadow:0 6px 18px #0009}.spm-field-container{width:100%;height:100%;position:relative;border-radius:10px;transform:rotateX(14deg) scale(.97);transform-origin:center bottom;background:repeating-linear-gradient(to bottom,#388e3c 0% 9%,#43a047 9% 18%);border:3px solid #fff;overflow:visible!important;z-index:2}.spm-soccer-field{position:absolute;inset:0;z-index:1}.spm-soccer-field:before{content:"";position:absolute;top:50%;left:5%;width:90%;height:2px;background:#fff;transform:translateY(-50%);z-index:1}.spm-soccer-field:after{content:"";position:absolute;top:50%;left:50%;width:100px;height:100px;border:2px solid white;border-radius:50%;transform:translate(-50%,-50%)}.spm-penalty-box.top,.spm-penalty-box.bottom{position:absolute;width:58%;height:15%;left:50%;transform:translate(-50%);border:2px solid #fff;border-radius:8px;z-index:2}.spm-penalty-box.top{top:0;border-top:none}.spm-penalty-box.bottom{bottom:0;border-bottom:none}.row{display:flex;justify-content:center;align-items:center;width:100%;height:13%;padding:0 3px;z-index:10;box-sizing:border-box;gap:4px;overflow:visible;position:relative}.row.DEF{justify-content:space-evenly!important;padding:0 5px;gap:3px}.player-slot{width:62px;height:62px;border-radius:50%;border:2px dashed rgba(255,255,255,.5);background-color:#ffffff14;display:flex;justify-content:center;align-items:center;transform:rotateX(-14deg);position:relative;overflow:visible!important;z-index:15}.player-slot.occupied{border:2px solid #4CAF50;background-color:#ffffff1f}.player-card{width:100%;height:100%;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:visible!important;z-index:20}.player-card img{width:68px;height:68px;border-radius:50%;object-fit:contain;margin-top:-6px;filter:drop-shadow(0px 4px 6px rgba(0,0,0,.6));z-index:21}.player-name-wrapper{position:absolute;bottom:-18px;left:50%;transform:translate(-50%);background-color:#0a192fe6;color:#fff;font-size:.7em;font-weight:600;padding:2px 5px;border-radius:4px;border:1px solid rgba(255,255,255,.2);white-space:nowrap;z-index:25}.player-name{font-size:.75em;font-weight:700;text-align:center}.remove-btn{position:absolute;top:-6px;right:-6px;width:18px;height:18px;background:#e53935;color:#fff;border:none;border-radius:50%;font-size:.65em;cursor:pointer;display:flex;justify-content:center;align-items:center;z-index:30}.spm-selection-sidebar{width:100%;background-color:#fff;border-radius:8px;padding:10px;box-shadow:0 3px 10px #00000026;position:relative;z-index:1}.spm-player-selection-drawer{width:100%}}.site-footer{background-color:#334155;color:#f1f5f9;padding:.5rem 2rem;margin-top:1rem;border-top:5px solid #64748b;width:100%;box-sizing:border-box}.footer-content{display:flex;justify-content:space-between;max-width:1200px;margin:0 auto .5rem;flex-wrap:wrap}.footer-section{flex:1;min-width:200px;margin:.5rem}.footer-logo{font-size:1.5rem;font-weight:700;color:#fff;margin-bottom:.75rem}.footer-section h3{color:#cbd5e1;font-size:1.125rem;margin-bottom:.75rem}.footer-section p{font-size:.9rem;line-height:1.5;margin-bottom:.75rem}.footer-section.links ul{list-style:none;padding:0}.footer-section.links a{color:#94a3b8;text-decoration:none;display:block;margin-bottom:.3rem;transition:color .2s;font-size:.9rem}.footer-section.links a:hover{color:#fff}.contact-info span{display:flex;align-items:center;margin-bottom:.3rem;font-size:.85rem;color:#94a3b8}.contact-info svg{margin-right:8px;color:#fff}.social-links{display:flex;gap:1rem}.social-links a{color:#94a3b8;transition:color .2s}.social-links a:hover{color:#fff}.footer-bottom{border-top:1px solid #475569;padding-top:.5rem;margin-top:.5rem;text-align:center;font-size:.8rem;color:#94a3b8}@media (max-width: 768px){.footer-content{flex-direction:column}.footer-section{min-width:100%;margin:.5rem 0}.footer-section.links ul{columns:2}}.navbar{display:flex;justify-content:space-between;align-items:center;height:50px;padding:20px 50px;color:#f8f9fa;position:sticky;top:0;z-index:1000;background:linear-gradient(90deg,#f8f9fa,#f8f9fa);box-shadow:none;border-bottom:2px solid #343a40;transition:background .3s ease}.nav-logo{display:flex;align-items:center;justify-content:flex-start;height:80px;margin-left:90px;flex-shrink:0}.navbar-logo-img{height:110px;width:auto;max-width:260px;object-fit:contain;filter:drop-shadow(0 3px 5px rgba(0,0,0,.35));transition:transform .25s ease,opacity .25s ease;padding-right:60px;margin-left:60px;filter:drop-shadow(0 3px 5px rgba(0,0,0,.35)) invert(0) brightness(1.2)}.navbar-logo-img:hover{opacity:.95;transform:scale(1.08)}.mobile-menu .navbar-logo-img{height:40px;margin-bottom:1rem}.nav-links{list-style:none;display:flex;gap:20px;align-items:center;margin:0;padding:0}.nav-links li{list-style:none;display:flex;align-items:center;margin:0 15px;padding:0;font-size:1rem}.nav-links a{color:#212529;text-decoration:none;font-size:1.2rem;padding:10px 0;font-weight:600;border-bottom:2px solid transparent;transition:color .2s ease,border-bottom .2s ease}.nav-links a:hover{color:#254877;border-bottom:2px solid #1F3A5F}.profile-section{display:flex;align-items:center;gap:10px;position:relative;min-width:100px}.profile-button{background:#27ac29;border:none;color:#fff;padding:12px 24px;border-radius:6px;cursor:pointer;font-weight:700;font-size:.95rem;letter-spacing:.3px;box-shadow:0 4px 10px #007bff4d;transition:background .25s ease,transform .15s ease,box-shadow .25s ease}.profile-button:hover{background:#0056b3;transform:scale(1.05);box-shadow:0 6px 14px #007bff73}.dropdown-menu{position:absolute;top:50px;right:0;background:#fff;color:#212529;min-width:200px;border-radius:4px;box-shadow:0 4px 10px #0003;border:1px solid #dee2e6;padding:10px;display:flex;flex-direction:column;gap:5px;z-index:1010}.dropdown-menu p{padding:8px 10px 5px;margin:0 0 5px;color:#495057;border-bottom:1px solid #dee2e6}.dropdown-menu button{text-align:left;padding:8px 10px;border-radius:4px;font-weight:500;cursor:pointer;transition:background .2s ease,color .2s ease;border:none;background:transparent;color:#212529}.dropdown-menu button:hover{background:#f8f9fa;color:#007bff}.dropdown-logout{color:#dc3545;background:transparent}.dropdown-logout:hover{background:#dc3545;color:#fff}.auth-buttons{display:flex;gap:6px}.login-btn,.register-btn{border:1px solid #217521;background:transparent;color:#27ac29;padding:8px 16px;border-radius:4px;cursor:pointer;font-weight:600;transition:background .2s ease,color .2s ease,border-color .2s ease}.login-btn:hover{background:#2aa826;color:#fff;border-color:#287324}.register-btn{border-color:#2889a7;color:#2898a7}.register-btn:hover{background:#2ca7c1;color:#fff}.menu-toggle{display:none;background:none;border:none;color:#115e17;font-size:2rem;cursor:pointer;z-index:1100;padding:0 10px}.mobile-menu{position:fixed;top:0;right:0;margin:0;transform:translate(100%);height:100%;width:280px;background:linear-gradient(180deg,#1e2a38,#2c3e50);padding:70px 20px 20px;z-index:1050;box-shadow:-4px 0 15px #0009;transition:transform .3s ease-in-out;display:flex;flex-direction:column;align-items:flex-start;list-style:none;gap:18px;overflow-y:auto}.mobile-menu.open{transform:translate(0)}.mobile-menu a{text-decoration:none;color:#ecf0f1;font-weight:600;font-size:1.05rem;padding:12px 15px;width:100%;border-radius:8px;transition:background .25s ease,transform .15s ease}.mobile-menu a:hover{background:#ffffff1a;transform:translate(4px)}.mobile-auth-buttons{display:flex;flex-direction:column;gap:12px;width:100%;margin-top:25px;padding-top:15px;border-top:1px solid rgba(255,255,255,.2)}.mobile-auth-buttons button{width:100%;padding:12px;font-weight:700;font-size:.95rem;border-radius:8px;border:none;cursor:pointer;transition:background .25s ease,transform .15s ease}.app-wrapper{display:flex;flex-direction:column;min-height:100vh}.container.main-content{flex-grow:1}.mobile-auth-buttons .login-btn{background:#3498db;color:#fff}.mobile-auth-buttons .login-btn:hover{background:#2980b9;transform:scale(1.03)}.mobile-auth-buttons .register-btn{background:#2ecc71;color:#fff}.mobile-auth-buttons .register-btn:hover{background:#27ae60;transform:scale(1.03)}.mobile-auth-buttons .dropdown-link{background:#f39c12;color:#fff}.mobile-auth-buttons .dropdown-link:hover{background:#e67e22;transform:scale(1.03)}.mobile-auth-buttons .dropdown-logout{background:#e74c3c;color:#fff}.mobile-auth-buttons .dropdown-logout:hover{background:#c0392b;transform:scale(1.03)}@media (max-width: 768px){.navbar{padding:10px 15px}.nav-links,.desktop-profile-auth{display:none!important}.menu-toggle{display:block}.mobile-menu{display:flex}.nav-logo{justify-content:flex-start;margin-left:90px;height:80px}.navbar-logo-img{height:110px;max-width:260px;margin-left:60px;padding-right:60px}}@media (min-width: 769px){.mobile-menu,.menu-toggle{display:none}.desktop-profile-auth{display:flex!important}}@media screen and (max-width: 400px){.nav-logo{justify-content:flex-start;margin-left:90px;height:80px}.navbar-logo-img{height:110px;max-width:260px;margin-left:50px;padding-right:60px}}
