.toast{position:fixed;top:20px;right:20px;min-width:300px;max-width:500px;padding:16px 20px;border-radius:12px;box-shadow:0 8px 24px #0000004d;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);z-index:9999;animation:slideIn .3s ease-out}@keyframes slideIn{0%{transform:translate(400px);opacity:0}to{transform:translate(0);opacity:1}}@keyframes slideOut{0%{transform:translate(0);opacity:1}to{transform:translate(400px);opacity:0}}.toast-exit{animation:slideOut .3s ease-in forwards}.toast-success{background:#51cf66f2;border:1px solid rgba(64,192,87,.5)}.toast-error{background:#ef4444f2;border:1px solid rgba(220,38,38,.5)}.toast-info{background:#0396fff2;border:1px solid rgba(2,119,212,.5)}.toast-content{display:flex;align-items:center;gap:12px;color:#fff}.toast-icon{font-size:20px;font-weight:700;display:flex;align-items:center;justify-content:center;width:24px;height:24px;background:#fff3;border-radius:50%}.toast-message{font-size:15px;font-weight:500;flex:1}@media (max-width: 768px){.toast{top:10px;right:10px;left:10px;min-width:auto}}html{background:linear-gradient(to right,#6a11cb,#2575fc);font-family:Poppins,sans-serif;height:100%;overscroll-behavior-y:none}body{height:100%;margin:0;padding:0;justify-content:center;overscroll-behavior-y:none;overflow-x:hidden}div#root{width:100%;min-height:100vh;margin:0 auto;padding:5.5% 20px 20px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:40px;box-sizing:border-box}.app-header{position:fixed;top:0%;left:0;box-sizing:border-box;width:100%;display:flex;align-items:center;gap:20px;justify-content:space-between;z-index:20}.app-logo{width:clamp(100px,20vw,300px);max-width:250px;min-width:100px;height:auto;cursor:pointer;padding:20px}.setup-container,.game-container,.score-submit-container{background:#fff3;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);border-radius:20px;display:flex;width:70%;height:auto;flex-direction:column;justify-content:space-evenly;align-items:center;box-shadow:0 10px 30px #0006;padding:20px;gap:30px;min-height:500px}.game-container{gap:0px}.menu-container{display:flex;flex-direction:column;gap:10px;align-items:center}label{font-weight:700;display:flex;color:#c1b5b5;align-self:flex-start}h1{color:#fff;text-align:center;font-size:3em;text-shadow:2px 2px 5px rgba(0,0,0,.3);margin-bottom:2%}h2{color:#fff;text-align:center;font-size:3.5em;text-shadow:2px 2px 5px rgba(0,0,0,.3);margin:10px}h3{color:#878383;text-shadow:1px 1px 3px rgba(0,0,0,.1)}.note{display:flex;justify-content:center;color:#fff;font-size:8.5rem}.note-animate{background:linear-gradient(to bottom,#fff,#fff,#fff,#ff4545,#0f9,#006aff,#ff0095,#fff,#fff,#fff);background-size:100% 400%;background-clip:text;font-size:8.5rem;-webkit-background-clip:text;-webkit-text-fill-color:transparent;animation:animate-gradient .3s linear both}@keyframes animate-gradient{0%{background-position:100% 0%}to{background-position:100% 100%}}.dropdown{padding:10px;font-size:16px;border-radius:15px;border:1px solid #ddd;margin-bottom:20px;margin-top:1px;width:100%}.dropdown:hover{cursor:pointer;background-color:#f5f5f5}.checkbox{border-radius:20px;transform:scale(2.5)}.checkbox:hover{cursor:pointer}.back-button,.start-button,.tuner-button{background:#000;color:#fff;padding:12px 25px;cursor:pointer;border-radius:15px;font-size:18px;position:relative;transition:.5s ease-in-out}@supports (background: conic-gradient(red,blue)) and (not (-webkit-touch-callout: none)){.start-button:after,.start-button:before{content:"";position:absolute;height:100%;width:100%;background-image:conic-gradient(from var(--angle),#ff4545,#00ff99,#006aff,#ff0095,#ff4545);top:50%;left:50%;transform:translate(-50%,-50%);z-index:-1;border-radius:inherit;padding:3px;animation:3s spin infinite linear}@property --angle{syntax: "<angle>"; initial-value: 0deg; inherits: false;}@keyframes spin{0%{--angle: 0deg}to{--angle: 360deg}}.start-button:before{filter:blur(1.5rem);opacity:.8;z-index:-2}}@supports (-webkit-touch-callout: none){.start-button:before{content:"";position:absolute;top:-2px;left:-2px;right:-2px;bottom:-2px;background:linear-gradient(45deg,#ff4545,#0f9,#006aff,#ff0095);border-radius:22px;z-index:-1;animation:animateGlow 3s linear infinite}@keyframes animateGlow{0%{filter:blur(10px) hue-rotate(0deg)}to{filter:blur(10px) hue-rotate(360deg)}}}.back-button:hover,.start-button:hover{background-color:#181818;transform:all scale(1.1)}@supports (-webkit-touch-callout: none){.start-button:hover:before{filter:blur(15px) hue-rotate(0deg)}}.loading{font-size:16px;color:#666}.score,.time{font-size:22px;font-weight:700;margin-top:20px;color:#222;text-shadow:1px 1px 3px rgba(0,0,0,.2)}.score-form{display:flex;flex-direction:column;gap:10px;max-width:300px;margin:0 auto}.name-input{padding:8px 12px;border:1px solid #ccc;border-radius:4px;font-size:16px;background-color:#ffffffe6}.submit-button{background:linear-gradient(to right,#ff416c,#ff4b2b);color:#fff;border:none;padding:12px 25px;margin:15px 0;cursor:pointer;border-radius:50px;font-size:18px;transition:transform .3s ease-in-out}.submit-button:disabled{background-color:#888;cursor:not-allowed}.submit-button:hover:not(:disabled){background:#d40b3a;transform:scale(1.025)}.start-button.start-button-disabled{background:#0006;color:#fff9;cursor:not-allowed;opacity:.6}.start-button.start-button-disabled:before,.start-button.start-button-disabled:after{display:none}.start-button.start-button-disabled:hover{background:#0006;transform:none}.error-message{color:#ff6b6b;margin-top:10px;font-size:14px}.mobile-play-again-footer{display:none}.mobile-play-again-button{width:calc(100% - 32px);margin:16px;padding:18px 24px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:16px;font-size:18px;font-weight:700;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 20px #667eea80,0 -2px 10px #0003;display:flex;align-items:center;justify-content:center;gap:8px;letter-spacing:.5px;text-transform:uppercase;position:relative;overflow:hidden}.mobile-play-again-button:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.2),transparent);transition:left .5s ease}.mobile-play-again-button:hover:before{left:100%}@media (max-width: 768px){div#root{width:100%;padding:7.5% 20px 20px;min-height:100vh;gap:25px}.app-header{position:fixed;flex-direction:column;align-items:flex-start;gap:12px}.app-logo{width:180px;padding:10px}.setup-container,.game-container,.score-submit-container{width:100%;padding:20px 15px;gap:25px;background:none;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}h1{font-size:2.5em;margin-bottom:30px;text-align:left;width:100%}.menu-container{width:100%;gap:25px}.menu-container>div{width:100%}label{color:#fff;font-size:1.2em;margin-bottom:8px}.dropdown{width:100%;padding:15px;font-size:1.1em;border-radius:12px;background:#ffffff1a;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);border:1px solid rgba(255,255,255,.2);margin-bottom:0}.optionals-container{width:100%;padding:0;gap:25px!important;margin-top:10px}.optionals-container label{font-size:1.2em;margin-bottom:8px}.back-button,.start-button{width:100%;padding:15px;font-size:1.2em;margin-top:15px;border-radius:12px;background:#0009;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);border:1px solid rgba(255,255,255,.1)}.back-button:hover,.start-button:hover{background:#000c}}@media (max-width: 486px){.control-panel__actions span{display:none!important}}@media (max-width: 640px){.play-again-button{display:none!important}.mobile-play-again-footer{display:block;position:fixed;bottom:0;left:0;right:0;z-index:100;background:transparent;padding:0}.mobile-play-again-button:active{transform:scale(.96);box-shadow:0 2px 10px #667eea66,0 -1px 5px #0003}div#root{padding-bottom:80px}}.guitar-tab-staff{display:flex;flex-direction:column;gap:3px;align-items:center}.string-row{display:flex;flex-direction:row;align-items:center;justify-content:center;width:60%}.string-label{width:30px;text-align:center;font-size:1.5rem}.tab-line{flex:1;height:2px;background-color:#000;position:relative}.tab-note{position:absolute;left:50%;top:-15px;font-size:1.7rem;color:#fff}.game-container{width:100%;max-width:1200px;margin:0 auto;padding:20px}.game-content{width:100%;text-align:center}.fretboard-wrapper{width:100%;display:flex;justify-content:center;padding:0 20px}.fretboard-container{position:relative;border:solid 2px #2a2a2a;border-radius:10px;width:100%;max-width:1200px;height:fit-content;margin:20px auto;background:linear-gradient(145deg,#1a1a1a,#2d2d2d);box-shadow:0 4px 15px #0000004d}.strings-container{display:flex;flex-direction:column;width:100%;gap:2px}.fret-box{display:grid;grid-template-columns:40px 8px repeat(12,1fr);align-items:center;height:40px;position:relative}.fret-box-on-each-string{position:relative;border-right:2px solid #c0c0c0;height:110%;display:flex;align-items:center;justify-content:center;background:transparent}.string{position:absolute;width:110%;height:5px;background:linear-gradient(to bottom,#fff,silver 30%,gray);top:50%;transform:translateY(-50%);z-index:2}.fret-marker{position:absolute;width:20px;height:20px;background:linear-gradient(145deg,#e0e0e0,silver);border-radius:50%;left:50%;transform:translate(-50%);z-index:1;box-shadow:0 0 10px #fff3,inset 2px 2px 4px #ffffff80,inset -2px -2px 4px #0000004d}.fret-marker-bottom{bottom:-9px}.fret-marker-top{top:-9px}.fret-marker-12-bottom{bottom:-51px}.fret-marker-12-top{top:-51px}.string-name{position:relative;color:#e0e0e0;font-weight:700;font-size:18px;text-align:center;padding:0 7px 0 8px;text-shadow:0 0 10px rgba(255,255,255,.3);letter-spacing:1px}.open-note{position:absolute!important;right:-25px;top:50%;transform:translateY(-50%);font-size:12px;width:20px;height:20px;line-height:20px}.nut{background:#f5f5f5;height:110%;width:100%}.note-circle{position:absolute;width:40px;height:40px;background:linear-gradient(145deg,#6caffc,#315e8b);border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:21px;text-shadow:0 0 10px rgba(112,179,255,.3);z-index:3;box-shadow:0 2px 4px #0003;top:50%;left:50%;transform:translate(-50%,-50%)}.note-circle.faded:not(.detected-note):not(.target-note){animation:fadeNote 1.5s ease-in-out forwards}@keyframes fadeNote{0%{opacity:1;transform:translate(-50%,-50%) scale(1)}30%{opacity:.8;transform:translate(-50%,-50%) scale(.95)}70%{opacity:.6;transform:translate(-50%,-50%) scale(.92)}to{opacity:.5;transform:translate(-50%,-50%) scale(.9)}}.note-circle.detected-note,.note-circle.target-note{opacity:1;transform:translate(-50%,-50%) scale(1)}.detected-note{background:linear-gradient(145deg,#ff5050,#cc4040);color:#fff;animation:redGlow 1.5s ease-in-out infinite;box-shadow:0 0 15px #ff5050b3}@keyframes detectGlow{0%{box-shadow:0 2px 4px #0003}to{box-shadow:0 0 15px #4caf50b3}}.detected-note.target-note{background:linear-gradient(145deg,#4caf50,#2e7d32);animation:blueGlow 1.5s ease-in-out infinite;box-shadow:0 0 15px #4a9effb3}@keyframes redGlow{0%{box-shadow:0 0 15px #ff5050b3}50%{box-shadow:0 0 25px #ff5050e6}to{box-shadow:0 0 15px #ff5050b3}}@keyframes blueGlow{0%{box-shadow:0 0 15px #4a9effb3}50%{box-shadow:0 0 25px #4a9effe6}to{box-shadow:0 0 15px #4a9effb3}}.target-note{animation:hintGlow 1.5s ease-in-out infinite alternate;animation-delay:3s}@keyframes hintGlow{0%{box-shadow:0 2px 4px #0003}to{box-shadow:0 2px 4px #0003,0 0 40px #6caffc99,0 0 60px #6caffc66}}.chromatic-target-fade-in{opacity:0;animation:fadeIn 1s ease-in forwards,hintGlow 1.5s ease-in-out infinite alternate}@media (max-width: 768px){.fretboard-container{width:100%;margin:10px auto}.fret-box{height:35px;grid-template-columns:30px 6px repeat(12,1fr)}.note-circle{width:35px;height:35px;font-size:18px}.string{height:3px}}.interactive-note{cursor:pointer;transition:all .2s ease}.interactive-note:hover{transform:translate(-50%,-50%) scale(1.1);box-shadow:0 0 10px #ffffff80}.ghost-note{background:#ffffff1a;border:2px dashed rgba(255,255,255,.3);color:transparent;box-shadow:none}.ghost-note:hover{background:#ffffff4d;border-color:#fffc;transform:translate(-50%,-50%) scale(1)}.music-staff-container{width:100%;height:350px;display:flex;justify-content:center;align-items:center;position:relative}.music-staff{width:80%;height:350px;position:relative;display:flex;justify-content:center;align-items:center}.staff-lines{width:100%;height:350px;position:relative;top:0}.staff-line{width:100%;height:2px;background-color:#fff;position:absolute;left:0}.staff-line:nth-child(1){top:28%}.staff-line:nth-child(2){top:36%}.staff-line:nth-child(3){top:44%}.staff-line:nth-child(4){top:52%}.staff-line:nth-child(5){top:60%}.note-head{width:31px;height:20.5px;background-color:#fff;border-radius:50%;position:absolute;left:100%;top:100%;transform:translate(-40%,-49%)}.note-stem-up{width:3px;height:80px;background-color:#fff;position:absolute;transform:translateY(-105%) translate(525%)}.note-stem-down{width:3px;height:80px;background-color:#fff;position:absolute;transform:translateY(0) translate(-335%)}.ledger-line{width:43px;height:3.5px;background-color:#fff;position:absolute;left:50%;transform:translate(-50%,-50%)}.start-screen{width:100%;max-width:1200px;padding:20px;position:relative}.start-screen__title{color:#fff;text-align:center;font-size:3em;text-shadow:2px 2px 5px rgba(0,0,0,.3);margin-bottom:50px;margin-top:60px}.game-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:30px;padding:20px;max-width:1000px;margin:0 auto}.game-card{background:#ffffff1a;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:20px;padding:40px 30px;cursor:pointer;transition:all .3s ease;border:2px solid rgba(255,255,255,.2);position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:center;text-align:center;min-height:280px}.game-card:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(135deg,var(--card-color) 0%,transparent 100%);opacity:0;transition:opacity .3s ease;z-index:0}.game-card:hover:before{opacity:.2}.game-card:hover{transform:translateY(-10px);border-color:var(--card-color);box-shadow:0 20px 40px #0000004d,0 0 30px var(--card-color)}.game-card__icon{font-size:4em;margin-bottom:20px;z-index:1;filter:drop-shadow(0 4px 8px rgba(0,0,0,.3))}.game-card__title{color:#fff;font-size:1.5em;margin-bottom:15px;z-index:1;text-shadow:2px 2px 4px rgba(0,0,0,.3)}.game-card__description{color:#fffc;font-size:1em;line-height:1.5;margin-bottom:20px;z-index:1;flex-grow:1}.game-card__arrow{color:var(--card-color);font-size:2em;font-weight:700;opacity:0;transform:translate(-20px);transition:all .3s ease;z-index:1}.game-card:hover .game-card__arrow{opacity:1;transform:translate(0)}@media (max-width: 768px){.start-screen__title{font-size:2em;margin-bottom:30px;margin-top:40px}.game-cards{grid-template-columns:repeat(1,1fr);gap:20px;padding:10px}.game-card{min-height:220px;padding:30px 20px}.game-card__icon{font-size:3em}.game-card__title{font-size:1.3em}}.auth-screen{display:flex;justify-content:center;align-items:center;min-height:100vh;padding:20px}.auth-card{background:#111827d9;border:1px solid rgba(255,255,255,.14);border-radius:20px;padding:40px;max-width:500px;width:100%;box-shadow:0 12px 32px #00000073;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.auth-title{font-size:32px;font-weight:700;color:#fff;margin:0 0 8px;text-align:center}.auth-subtitle{font-size:16px;color:#ffffffb3;margin:0 0 32px;text-align:center}.auth-form{display:flex;flex-direction:column;gap:20px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-group{display:flex;flex-direction:column;gap:8px}.form-group label{font-size:14px;font-weight:600;color:#ffffffe6}.form-group input,.form-group select{padding:12px 16px;border:1px solid rgba(255,255,255,.2);border-radius:12px;background:#ffffff0d;color:#fff;font-size:16px;transition:all .3s ease;box-sizing:border-box;width:100%}.form-group input:focus,.form-group select:focus{outline:none;border-color:#0396ff;background:#ffffff14;box-shadow:0 0 0 3px #0396ff1a}.form-group input:disabled,.form-group select:disabled{opacity:.5;cursor:not-allowed}.form-hint{font-size:12px;color:#fff9;margin-top:-4px}.auth-error{padding:12px 16px;background:#ef444426;border:1px solid rgba(239,68,68,.3);border-radius:12px;color:#fca5a5;font-size:14px;text-align:center}.auth-button{padding:14px 24px;background:#0396ff;color:#fff;border:none;border-radius:12px;font-size:16px;font-weight:600;cursor:pointer;transition:all .3s ease;margin-top:8px}.auth-button:hover:not(:disabled){background:#0277d4;transform:translateY(-2px);box-shadow:0 8px 16px #0396ff4d}.auth-button:active:not(:disabled){transform:translateY(0)}.auth-button:disabled{opacity:.6;cursor:not-allowed}.auth-footer{margin-top:24px;padding-top:24px;border-top:1px solid rgba(255,255,255,.1);text-align:center}.auth-footer p{color:#ffffffb3;font-size:14px;margin:0 0 12px}.auth-link-button{background:transparent;border:2px solid rgba(255,255,255,.3);color:#fff;padding:10px 20px;border-radius:12px;font-size:14px;font-weight:600;cursor:pointer;transition:all .3s ease}.auth-link-button:hover:not(:disabled){background:#ffffff1a;border-color:#fff9}.auth-link-button:disabled{opacity:.5;cursor:not-allowed}.auth-back-button{margin-top:20px;background:transparent;border:none;color:#fff9;font-size:14px;cursor:pointer;transition:color .3s ease;width:100%;text-align:center;padding:8px}.auth-back-button:hover:not(:disabled){color:#ffffffe6}.auth-back-button:disabled{opacity:.5;cursor:not-allowed}@media (max-width: 768px){.auth-card{padding:30px 20px}.auth-title{font-size:28px}.form-row{grid-template-columns:1fr;gap:20px}.form-group input{font-size:16px}}.game-setup{width:100%;max-width:1800px;margin:0 auto}.game-setup__container{padding:16px 0 12px;display:flex;flex-direction:column;gap:24px}.game-setup__title{color:#fff;text-align:center;font-size:2.5em;text-shadow:2px 2px 5px rgba(0,0,0,.3);margin:0}.game-setup__instructions{background:#0003;border-radius:15px;padding:25px;border-left:4px solid #00ff99;overflow:hidden;transition:all .3s ease}.game-setup__instructions h3{color:#0f9;margin-top:0;margin-bottom:15px;font-size:1.3em}.game-setup__instructions h3:hover{color:#0fa}.game-setup__instructions-content{max-height:500px;opacity:1;transition:max-height .3s ease,opacity .3s ease,margin-top .3s ease;overflow:hidden}.game-setup__instructions.collapsed .game-setup__instructions-content{max-height:0;opacity:0;margin-top:0}.game-setup__instructions.collapsed{padding:20px 25px}.game-setup__instructions.collapsed h3{margin-bottom:0}.game-setup__instructions p{color:#ffffffe6;margin:10px 0;line-height:1.6;font-size:1.05em}.game-setup__instructions.expanded+.game-setup__settings{margin-top:10px}.game-setup__layout{display:flex;flex-direction:row;align-items:flex-start;gap:28px;margin-top:12px}.game-setup__left{display:flex;flex-direction:column;gap:18px;flex:0 0 33vw}.game-setup__settings{background:#0003;border-radius:15px;padding:22px 22px 20px;display:flex;flex-direction:column;gap:18px}.game-setup__settings h3{color:#fff;margin-top:0;margin-bottom:6px;font-size:1.2em}.setting-group{display:flex;flex-direction:column;gap:8px}.setting-group label{color:#ffffffe6;font-weight:600;font-size:1.1em}.setting-group .dropdown{background:#ffffffe6;border:2px solid rgba(255,255,255,.3);padding:12px;font-size:1em;border-radius:10px;transition:all .3s ease;margin:0}.setting-group .dropdown:hover{background:#fff;border-color:#0f9}.setting-group .dropdown:focus{outline:none;border-color:#0f9;box-shadow:0 0 0 3px #0f93}.scale-settings{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:10px}@media (max-width: 768px){.game-setup__container{padding:20px 0 8px;gap:20px}.game-setup__title{font-size:2em}.game-setup__instructions,.game-setup__settings{padding:20px}.game-setup__instructions h3,.game-setup__settings h3{font-size:1.2em}.scale-settings{grid-template-columns:1fr}.game-setup__layout{flex-direction:column}.game-setup__right{margin-top:4px;border-left:none}}.game-setup__right{background:#0000002e;border-radius:16px;padding:20px 22px 18px;display:flex;flex-direction:column;gap:10px;flex:1 1 auto;border-left:2px solid rgba(255,255,255,.1)}.game-setup__preview-title{margin:0;color:#fff;font-size:1.25em}.game-setup__preview-help{margin:2px 0 10px;font-size:.9rem;color:#e0e0e0e6}.game-setup__preview-card{flex:1;border-radius:14px;background:linear-gradient(135deg,#0396ff47,#0396ff1f);border:1px solid rgba(3,150,255,.45);padding:14px 12px;overflow-x:auto}.game-setup__container .start-button{align-self:center;margin-top:12px}.strobe-tuner-container{display:flex;flex-direction:column;align-items:center;background:linear-gradient(145deg,#1a1a1a,#0d0d0d);padding:3rem;border-radius:24px;box-shadow:0 20px 50px #00000080,inset 0 1px 1px #ffffff1a;color:#fff;font-family:Inter,system-ui,-apple-system,sans-serif;width:100%;max-width:700px;margin:2rem auto;position:relative;overflow:hidden;border:1px solid rgba(255,255,255,.05)}.strobe-tuner-container:before{content:"";position:absolute;top:-50%;left:-50%;width:200%;height:200%;background:radial-gradient(circle at center,rgba(0,255,136,.03) 0%,transparent 50%);pointer-events:none;z-index:0}.strobe-canvas-wrapper{width:100%;height:240px;background:#050505;border-radius:16px;overflow:hidden;position:relative;margin-bottom:2rem;border:1px solid #222;box-shadow:inset 0 0 20px #000c;z-index:1}.strobe-canvas{width:100%;height:100%;display:block}.tuner-info{text-align:center;display:flex;flex-direction:column;gap:.5rem;z-index:1;position:relative}.note-display{font-size:6rem;font-weight:800;line-height:1;color:#333;transition:all .3s cubic-bezier(.4,0,.2,1);text-shadow:0 2px 4px rgba(0,0,0,.5)}.note-display.active{color:#fff;text-shadow:0 0 30px rgba(255,255,255,.3)}.note-display.in-tune{color:#0f8;text-shadow:0 0 40px rgba(0,255,136,.6),0 0 10px rgba(0,255,136,.8);transform:scale(1.05)}.cents-display{font-size:1.5rem;font-weight:500;color:#666;font-variant-numeric:tabular-nums;height:2rem;display:flex;align-items:center;justify-content:center}.cents-display.in-tune{color:#0f8}.frequency-display{font-size:.9rem;color:#444;font-family:JetBrains Mono,monospace;margin-top:.5rem;opacity:.7}.tuner-controls{margin-top:2rem;display:flex;gap:1rem;z-index:1;width:100%;justify-content:center}.device-select{background:#222;color:#ddd;border:1px solid #333;padding:.8rem 1.2rem;border-radius:12px;font-size:.9rem;cursor:pointer;transition:all .2s;outline:none;min-width:200px}.device-select:hover{border-color:#555;background:#2a2a2a}.device-select:focus{border-color:#0f8;box-shadow:0 0 0 2px #00ff881a}.student-selector-btn{width:100%;padding:.8rem 1rem;background:#ffffff0d;border:1px solid rgba(255,255,255,.1);border-radius:8px;color:#fff;font-size:1rem;display:flex;justify-content:space-between;align-items:center;cursor:pointer;transition:all .2s ease}.student-selector-btn:hover{background:#ffffff1a;border-color:#00ff8880}.student-selector-btn .arrow{font-size:.8rem;opacity:.5;padding-left:.5rem}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000c;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);display:flex;justify-content:center;align-items:center;z-index:1000;animation:fadeIn .2s ease}.student-selector-modal{background:#1a1a1a;width:90%;max-width:1200px;max-height:80vh;border-radius:12px;border:1px solid rgba(255,255,255,.1);box-shadow:0 20px 50px #00000080;display:flex;flex-direction:column;overflow:hidden;animation:slideUp .3s cubic-bezier(.16,1,.3,1)}.modal-header{padding:1.5rem;border-bottom:1px solid rgba(255,255,255,.05);display:flex;justify-content:space-between;align-items:center}.modal-header h2{margin:0;font-size:1.5rem;color:#fff}.close-btn{background:none;border:none;color:#aaa;font-size:2rem;cursor:pointer;padding:0;line-height:1}.close-btn:hover{color:#fff}.search-container{padding:1rem 1.5rem;position:relative;border-bottom:1px solid rgba(255,255,255,.05)}.search-container .search-icon{position:absolute;left:2.5rem;top:50%;transform:translateY(-50%);color:#666;pointer-events:none;z-index:1}.search-container input{width:100%;padding:.8rem 1rem .8rem 2.5rem;background:#0003;border:1px solid rgba(255,255,255,.1);border-radius:8px;color:#fff;font-size:1rem;outline:none;transition:border-color .2s}.search-container input:focus{border-color:#0f8;box-shadow:0 0 0 2px #00ff881a}.student-list-content{flex:1;overflow-y:auto;scrollbar-width:none;padding:1.5rem}.student-group{margin-bottom:2rem}.student-group h3{font-size:.9rem;text-transform:uppercase;letter-spacing:1px;color:#888;margin-bottom:1rem;display:flex;align-items:center;gap:.5rem}.student-group .count{background:#ffffff1a;padding:2px 8px;border-radius:12px;font-size:.7rem;color:#fff}.student-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:1.5rem}.student-card-item{background:#ffffff0d;border:1px solid rgba(255,255,255,.1);border-radius:16px;padding:1.2rem;display:flex;align-items:center;gap:1rem;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);position:relative;box-shadow:0 4px 6px #0000001a}.student-card-item:hover{background:#ffffff1a;border-color:#fff3;transform:translateY(-4px);box-shadow:0 10px 20px #0003}.student-card-item.selected{background:#00ff881a;border-color:#0f8}.student-card-item .avatar{width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,#444,#222);display:flex;align-items:center;justify-content:center;font-weight:700;color:#fff;font-size:.9rem}.student-card-item.selected .avatar{background:linear-gradient(135deg,#0f8,#00cc6a);color:#000}.student-card-item .info{flex:1}.student-card-item .name{font-weight:500;color:#fff;margin-bottom:.2rem}.student-card-item .details{display:flex;gap:.5rem}.student-card-item .badge{font-size:.7rem;padding:2px 6px;border-radius:4px;background:#ffffff1a;color:#aaa}.student-card-item .badge.gender.male{background:#3296ff33;color:#88c0ff}.student-card-item .badge.gender.female{background:#ff649633;color:#f8a}.student-card-item .badge.profile{background:#0f83;color:#0f8;border:1px solid rgba(0,255,136,.3)}.student-card-item .check-mark{color:#0f8;font-weight:700}.no-results{text-align:center;padding:3rem;color:#666}@keyframes slideUp{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}.lb-card{background:linear-gradient(135deg,#0396ff1a,#0396ff0d);border:2px solid rgba(3,150,255,.3);border-radius:16px;padding:24px;width:33%;max-width:760px;margin:24px auto;box-shadow:0 8px 24px #00000026}.lb-header{display:flex;align-items:center;justify-content:center;margin-bottom:20px}.lb-title{margin:0;font-size:1.8rem;font-weight:700;color:#fff;text-shadow:2px 2px 4px rgba(0,0,0,.3)}.lb-subtitle{margin:4px 0 0;color:#e0e0e0;font-size:1.1rem;font-weight:500}.lb-controls{display:flex;gap:8px}.lb-btn{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid rgba(0,0,0,.1);background:linear-gradient(#fff,#f5f7fb);border-radius:10px;padding:8px 12px;font-size:14px;cursor:pointer;transition:transform .04s ease,box-shadow .2s ease,border-color .2s ease}.lb-btn:disabled{opacity:.6;cursor:default}.lb-btn:not(:disabled):hover{box-shadow:0 4px 16px #00000014;border-color:#0000002e}.lb-btn:not(:disabled):active{transform:translateY(1px)}.lb-alert{margin:10px 0 6px;padding:10px 12px;border-radius:10px;font-size:14px}.lb-alert-info{background:#0396ff33;color:#fff;border:1px solid rgba(3,150,255,.4)}.lb-alert-error{background:#f443;color:#fff;border:1px solid rgba(255,68,68,.4)}.lb-list-wrap{display:flex;flex-direction:column;gap:8px;max-height:600px;overflow-y:auto;scroll-behavior:smooth;padding-right:8px;-ms-overflow-style:none;scrollbar-width:none}.lb-list-wrap::-webkit-scrollbar{display:none}.lb-row{display:grid;grid-template-columns:60px 1fr 80px;align-items:center;padding:12px 16px;margin:4px 0;background:#ffffff14;border-radius:8px;transition:all .2s ease}.lb-row:hover{background:#ffffff1f;transform:translate(4px)}.lb-rank-position{font-weight:700;font-size:1.1rem;color:#ffc700;text-shadow:0 0 10px rgba(255,199,0,.3)}.lb-rank-name{font-size:1rem;color:#fff;font-weight:500}.lb-rank-name-clickable{cursor:pointer;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:3px}.lb-rank-name-clickable:hover{color:#ffc700}.lb-rank-score{text-align:right;font-weight:700;font-size:1.1rem;color:#fff}.lb-empty{text-align:center;color:#e0e0e0;padding:28px 12px;font-style:italic}.lb-skeleton-row .lb-skel-block{height:16px;width:100%;background:linear-gradient(90deg,#ffffff1a,#fff3,#ffffff1a);border-radius:8px;animation:lb-shimmer 1.2s infinite linear}.lb-skeleton-row .lb-rank-position .lb-skel-block{width:70%}.lb-skeleton-row .lb-rank-name .lb-skel-block{width:85%}.lb-skeleton-row .lb-rank-score .lb-skel-block{width:60%}@keyframes lb-shimmer{0%{background-position:0% 0}to{background-position:100% 0}}.lb-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:16px}.lb-page{color:#e0e0e0;font-size:.9rem}.lb-pagination{display:flex;gap:8px}.lb-row-highlighted{background:linear-gradient(90deg,#0396ff4d,#ffc7004d)!important;animation:highlightPulse 2s ease-in-out infinite;position:relative;border:2px solid #FFC700;box-shadow:0 0 20px #ffc70066}.lb-row-highlighted .lb-rank-position,.lb-row-highlighted .lb-rank-name,.lb-row-highlighted .lb-rank-score{font-weight:700;color:#ffc700;text-shadow:0 0 10px rgba(255,199,0,.5)}@keyframes highlightPulse{0%,to{box-shadow:0 0 20px #ffc70066}50%{box-shadow:0 0 30px #ffc70099,0 0 40px #0396ff66}}@media (max-width: 768px){.lb-card{width:100%;max-width:100%;margin:0}}.rank-context-container{background:linear-gradient(135deg,#0396ff1a,#0396ff0d);border:2px solid rgba(3,150,255,.3);border-radius:16px;padding:24px 30px;margin:20px auto;width:100%;max-width:600px;box-shadow:0 8px 24px #00000026}.rank-context-header{text-align:center;margin-bottom:20px}.rank-context-header h3{font-size:1.8rem;color:#fff;margin:0 0 8px;text-shadow:2px 2px 4px rgba(0,0,0,.3)}.rank-context-subtitle{font-size:1.1rem;color:#e0e0e0;margin:0;font-weight:500}.rank-context-list{display:flex;flex-direction:column;gap:8px}.rank-context-list-scrollable{max-height:450px;overflow-y:auto;padding-right:17px;padding-left:17px;-ms-overflow-style:none;scrollbar-width:none}.rank-context-list-scrollable::-webkit-scrollbar{display:none}.rank-row{display:grid;grid-template-columns:65px 1fr 85px;align-items:center;padding:12px 16px;margin:4px 0;border-radius:8px;transition:all .3s ease;border:1px solid rgba(255,255,255,.1)}.rank-row:hover{transform:scale(.99);filter:brightness(1.15)}.rank-row-player{transform:scale(1.02);border:1px solid rgba(255,255,255,.2);animation:pulse-glow 2s ease-in-out infinite}.rank-row-player:hover{transform:scale(1.01);filter:brightness(1.25)}@keyframes pulse-glow{0%,to{box-shadow:0 0 15px rgba(var(--glow-r),var(--glow-g),var(--glow-b),.6),0 0 20px rgba(var(--glow-r),var(--glow-g),var(--glow-b),.3),0 0 25px rgba(var(--glow-r),var(--glow-g),var(--glow-b),.15)}50%{box-shadow:0 0 10px rgba(var(--glow-r),var(--glow-g),var(--glow-b),.6),0 0 12.5px rgba(var(--glow-r),var(--glow-g),var(--glow-b),.3),0 0 15px rgba(var(--glow-r),var(--glow-g),var(--glow-b),.15)}}.rank-position{font-size:1.2rem;font-weight:700}.rank-row-player .rank-position{font-size:1.4rem}.rank-name{font-size:1rem;color:#fff;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rank-row-player .rank-name{font-weight:700;font-size:1.1rem}.rank-score{font-size:1.1rem;font-weight:700;color:#fff;text-align:right}.rank-row-player .rank-score{font-size:1.3rem}.rank-row-current-submission{background:#ff444426;border:1px dashed rgba(255,68,68,.4);margin-top:8px}.rank-row-current-submission:hover{background:#f443;transform:translate(2px)}.rank-ellipsis{text-align:center;font-size:1.5rem;color:#ffffff80;padding:8px 0;letter-spacing:4px}.rank-context-footer{text-align:center;margin-top:16px}.rank-context-footer p{font-size:1rem;color:#e0e0e0;margin:0;font-style:italic}@media (max-width: 600px){.rank-context-container{padding:16px;margin:16px}.rank-context-header h3{font-size:1.5rem}.rank-context-subtitle{font-size:1rem}.rank-row{grid-template-columns:50px 1fr 70px;padding:10px 12px}.rank-position{font-size:1rem}.rank-name{font-size:.9rem}.rank-score{font-size:1rem}.rank-row-player .rank-position{font-size:1.2rem}.rank-row-player .rank-name{font-size:1rem}.rank-row-player .rank-score{font-size:1.1rem}}.page{width:100%;display:flex;flex-direction:column;align-items:center}.leaderboard-screen{display:flex;flex-direction:column;align-items:center;gap:20px;margin-top:20px;width:100%}.leaderboard-screen__container{display:flex;flex-direction:row;gap:20px;width:90vw;justify-content:center}@media (max-width: 768px){.leaderboard-screen__container{flex-direction:column;width:100%;align-items:center}}.admin-dashboard{max-width:1600px;width:100%;margin:0 auto;padding:40px 20px;color:#fff;min-height:80vh;box-sizing:border-box}.admin-header-section{margin-bottom:40px;background:#11182799;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,.1);border-radius:16px;padding:20px 30px;box-shadow:0 4px 20px #0003}.header-content{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:20px}.header-content h1{font-size:2rem;margin:0;background:linear-gradient(135deg,#fff,#a5f3fc);-webkit-background-clip:text;-webkit-text-fill-color:transparent;text-shadow:0 2px 10px rgba(165,243,252,.2)}.header-actions{display:flex;gap:15px;align-items:center;flex:1;justify-content:flex-end}.search-bar{position:relative;max-width:300px;width:100%}.search-icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);font-size:16px;opacity:.7;pointer-events:none}.search-bar input{width:100%;padding:10px 16px 10px 40px;background:#0003;border:1px solid rgba(255,255,255,.1);border-radius:8px;color:#fff;font-size:15px;transition:all .3s ease}.search-bar input:focus{outline:none;background:#0006;border-color:#0396ff;box-shadow:0 0 0 3px #0396ff33}.btn{padding:10px 20px;border:none;border-radius:8px;font-size:15px;font-weight:600;cursor:pointer;transition:all .3s ease;display:inline-flex;align-items:center;justify-content:center}.btn-primary{background:linear-gradient(135deg,#0396ff,#00d4ff);color:#fff;box-shadow:0 4px 12px #0396ff4d}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 6px 16px #0396ff66;filter:brightness(1.1)}.btn-success{background:linear-gradient(135deg,#10b981,#34d399);color:#fff;width:100%;padding:12px}.btn-success:hover{filter:brightness(1.1);transform:translateY(-1px)}.btn-success:disabled{background:#4b5563;cursor:not-allowed;transform:none;filter:none}.btn-cancel{background:#ffffff1a;color:#fff}.btn-cancel:hover{background:#fff3}.form-description{color:#9ca3af;margin-bottom:25px;font-size:14px}.form-row{display:flex;gap:20px;margin-bottom:20px}.form-row .form-group{flex:1;margin-bottom:0}.form-group{margin-bottom:20px}.form-group label{display:block;margin-bottom:8px;font-weight:500;color:#d1d5db;font-size:14px}.form-group input,.form-group select{width:100%;padding:12px 16px;border:1px solid rgba(255,255,255,.15);border-radius:8px;background:#11182799;color:#fff;font-size:15px;transition:all .2s ease;box-sizing:border-box}.form-group select option{background:#1f2937;color:#fff}.form-group input:focus,.form-group select:focus{outline:none;border-color:#0396ff;background:#111827cc;box-shadow:0 0 0 2px #0396ff33}.schools-container{display:flex;flex-direction:column;gap:40px}.school-section{background:#ffffff08;border-radius:20px;padding:25px;border:1px solid rgba(255,255,255,.05)}.school-title{font-size:1.5rem;margin:0 0 20px;padding-bottom:10px;border-bottom:1px solid rgba(255,255,255,.1);color:#e5e7eb;display:flex;align-items:center;gap:10px}.student-count{font-size:1rem;color:#9ca3af;font-weight:400;background:#ffffff1a;padding:2px 10px;border-radius:12px}.students-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.student-card{background:#1f293799;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.1);border-radius:16px;padding:20px;transition:all .3s ease;display:flex;flex-direction:column;gap:15px;position:relative;overflow:hidden}.student-card:before{content:"";position:absolute;top:0;left:0;width:100%;height:4px;background:linear-gradient(90deg,#0396ff,#00d4ff);opacity:0;transition:opacity .3s ease}.student-card:hover{transform:translateY(-5px);box-shadow:0 10px 25px #0000004d;border-color:#0396ff4d;background:#1f2937cc}.student-card:hover:before{opacity:1}.card-header{display:flex;justify-content:space-between;align-items:flex-start}.student-avatar{width:50px;height:50px;border-radius:12px;background:linear-gradient(135deg,#6366f1,#8b5cf6);display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:700;color:#fff;box-shadow:0 4px 10px #6366f14d}.edit-icon-btn{background:transparent;border:none;font-size:18px;cursor:pointer;opacity:.6;transition:all .2s;padding:5px;border-radius:50%}.edit-icon-btn:hover{opacity:1;background:#ffffff1a;transform:scale(1.1)}.card-body h4{margin:0 0 12px;font-size:1.1rem;color:#fff;font-weight:600}.student-details{display:flex;gap:8px;flex-wrap:wrap}.detail-badge{font-size:12px;padding:4px 10px;border-radius:20px;font-weight:500}.detail-badge.age{background:#10b98126;color:#34d399;border:1px solid rgba(16,185,129,.2)}.detail-badge.gender{background:#3b82f626;color:#60a5fa;border:1px solid rgba(59,130,246,.2)}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000c;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px;animation:fadeIn .2s ease-out}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.modal-content{background:#1f2937;border:1px solid rgba(255,255,255,.1);border-radius:20px;padding:30px;max-width:500px;width:100%;box-shadow:0 25px 50px -12px #00000080;animation:scaleIn .2s ease-out}@keyframes scaleIn{0%{transform:scale(.95);opacity:0}to{transform:scale(1);opacity:1}}.modal-buttons{display:flex;gap:15px;margin-top:25px}.modal-buttons .btn{flex:1}.error-message,.success-message{padding:12px;border-radius:8px;margin-bottom:20px;font-size:14px;display:flex;align-items:center}.error-message{background:#ef44441a;color:#f87171;border:1px solid rgba(239,68,68,.2)}.success-message{background:#10b9811a;color:#34d399;border:1px solid rgba(16,185,129,.2)}.loading-state,.empty-state,.no-results{text-align:center;padding:60px 20px;color:#9ca3af}.spinner{width:40px;height:40px;border:3px solid rgba(255,255,255,.1);border-radius:50%;border-top-color:#0396ff;animation:spin 1s linear infinite;margin:0 auto 20px}@keyframes spin{to{transform:rotate(360deg)}}@media (max-width: 768px){.header-content,.header-actions{flex-direction:column;align-items:stretch}.search-bar{max-width:none}.form-row{flex-direction:column;gap:0}.students-grid{grid-template-columns:1fr}}.control-panel{display:grid;grid-template-columns:auto 1fr auto;align-items:center;justify-items:end;width:100%;padding:1.5%;box-sizing:border-box;background:#00000059;border-bottom-right-radius:16px;border-bottom-left-radius:16px;box-shadow:0 8px 24px #00000040;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#fff;gap:24px}.control-panel__cluster{display:inline-flex;align-items:center;gap:16px;min-width:0}.control-panel__cluster--left{justify-self:start}.control-panel__logo{display:inline-flex;align-items:center;justify-content:center;padding:0;border:none;background:none;border-radius:12px;cursor:default;justify-self:end}.control-panel__logo-image{display:block;height:48px;width:auto}.control-panel__logo--compact .control-panel__logo-image{height:34px}.control-panel__logo--default .control-panel__logo-image{height:52px}.control-panel__back,.control-panel__pause{background:#000;color:#fff;padding:12px 25px;cursor:pointer;border-radius:15px;font-size:18px;position:relative;transition:.5s ease-in-out}.control-panel__icon-button{background:transparent;border:2px solid rgba(255,255,255,.3);color:#fff;width:44px;height:44px;border-radius:20%;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;font-size:20px;transition:all .3s ease;padding:0}.control-panel__icon-button:hover{background:#ffffff1a;border-color:#fff9;transform:scale(1.05)}.control-panel__icon-button:active{transform:scale(.95)}.control-panel__action-button{background:linear-gradient(135deg,#667eea,#764ba2);border:none;color:#fff;padding:10px 20px;border-radius:12px;cursor:pointer;font-size:16px;font-weight:600;transition:all .3s ease;display:inline-flex;align-items:center;gap:8px;box-shadow:0 4px 12px #667eea66}.control-panel__action-button:hover{transform:translateY(-2px);box-shadow:0 6px 16px #667eea99}.control-panel__action-button:active{transform:translateY(0);box-shadow:0 2px 8px #667eea66}.control-panel__actions{width:100%;display:flex;justify-content:flex-end}.control-panel__titles{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center}.control-panel__title{font-size:40px;font-weight:700;margin:0;color:#fff}@media (max-width: 768px){.control-panel{gap:16px;padding:16px}.control-panel__cluster,.control-panel__actions{justify-self:stretch;width:100%}.control-panel__logo{display:none}.control-panel__back{background:transparent;border:2px solid rgba(255,255,255,.3);font-size:24px;padding:0;width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:12px;transition:all .3s ease}.control-panel__back:hover{background:#ffffff1a;border-color:#fff9;transform:scale(1.05)}.control-panel__back:active{transform:scale(.95)}.control-panel__back-text{display:none}.control-panel__title{font-size:24px;max-width:90vw;word-wrap:break-word;overflow-wrap:break-word}.control-panel__actions{width:100%;justify-content:flex-start;flex-wrap:wrap;justify-self:flex-start}.control-panel__actions>div{width:100%;border-left:none!important;padding-left:0!important;border-top:2px solid rgba(255,255,255,.2);padding-top:12px;margin-top:12px}.control-panel__actions>div:first-child{border-top:none;padding-top:0;margin-top:0}}
