body{font-family:Arial,sans-serif;background-color:#121212;color:#fff;text-align:center;margin:0;padding:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;overflow-x:hidden}.page{height:100%;width:80%}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.app{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100vh;max-width:100%}.link{font-size:12px;text-decoration:underline;cursor:pointer;color:#145dbf}.timer{font-size:24px;margin:10px 0}.start-screen{display:flex;flex-direction:column;height:100vh}.start-screen .username .close-icon{margin-left:6px;color:#888;font-size:12px}.start-screen .preferences{display:flex;flex-direction:column;gap:10px;width:100%;max-width:400px}.start-screen .preference-item{display:flex;flex-direction:column;gap:5px;text-align:left}.start-screen .radio-group{display:flex;gap:10px}.start-screen .radio-group label{display:flex;align-items:center;gap:5px}.card-count-selector{margin:10px;padding:8px;border-radius:4px;font-size:16px}.overlay{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#000;display:flex;justify-content:center;align-items:center;z-index:1000}.overlay-content{text-align:center;color:#fff}.overlay-content h1{font-size:2rem;margin-bottom:10px}.overlay-content p{font-size:3rem;font-weight:700}.memorizing-screen{display:flex;flex-direction:column;align-items:center;padding:20px}.memorizing-screen .main-cards{position:relative;width:450px;height:200px;margin-top:50px;margin-bottom:50px}.memorizing-screen .main-cards .card{width:150px;height:210px;transition:transform .3s,z-index .3s}.memorizing-screen .card-stack{display:flex;gap:5px;margin-top:30px}.memorizing-screen .small-card{width:15px;height:60px}.memorizing-screen .small-card .card{width:60px;height:85px}.memorizing-screen .controls{margin-bottom:20px;display:flex;gap:10px}.card img{width:100%;height:100%;border-radius:6px}.card-row{display:flex;justify-content:center;flex-wrap:wrap;margin:20px}.card-row--placeholders{background-color:#2c2c2c;padding:20px;border-radius:10px;margin:20px auto;max-width:90%}.ordering-screen .card{width:80px;height:110px}.card-row--placeholders .card{width:140px;height:160px;background-color:#3e3e3e;border:2px solid #ffffff}.card-row--placeholders .card-image{width:100px;height:140px;border-radius:6px}.placeholder{width:100px;height:140px;display:flex;justify-content:flex-start;align-items:flex-start;border:2px dashed #ccc;border-radius:6px;margin:10px;position:relative;cursor:pointer;background-color:#2e2e2e}.placeholder-number{font-size:12px;font-weight:700;color:#fff;padding:5px}.placeholder.active{border:2px solid #FFBB00}.placeholder.empty{background-color:#1e1e1e}.empty-placeholder .card-back{width:100%;height:100%;border-radius:6px}.ordering-screen .main-placeholders{margin:0 auto;padding:20px;background-color:#2c2c2c;border-radius:8px}.ordering-screen .placeholder-row{position:relative;display:flex;justify-content:flex-start;align-items:center;height:100px;width:1000px;padding:10px 20px}.ordering-screen .placeholder{position:absolute;width:80px;height:110px;border-radius:6px;background-color:#1e1e1e;border:2px dashed gray;transition:transform .3s,z-index .3s}.ordering-screen .placeholder.active{border-color:#fb0;transform:translateY(-10px);z-index:100}.placeholder:nth-child(3n+1){border:2px dashed whitesmoke}.placeholder:not(:nth-child(3n+1)){border:2px dashed gray}.ordering-screen .card-stack{display:flex;gap:5px;padding:10px;width:1100px;overflow-y:hidden;overflow-x:hidden}.ordering-screen .small-card{width:15px;height:70px;margin-top:20px}.ordering-screen .small-card:hover{margin-top:-10px}.result-screen .card{width:70px;height:100px;border:solid 2px wheat;border-radius:8px;display:flex;align-items:center;background-color:#1e1e1e;position:relative;transition:transform .2s ease}.result-screen .card.correct{border-color:green}.result-screen .card.incorrect{border-color:red}.result-screen .expected-card{position:absolute;top:5px;left:5px;font-size:12px;color:#fff;background-color:#000000b3;padding:2px 5px;border-radius:4px;text-transform:uppercase}.modal{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);width:80%;max-height:90%;background-color:#3e3e3e;border-radius:8px;display:flex;flex-direction:column;overflow:hidden;color:#fff}.modal-content{flex:1;overflow-y:auto}.modal-content table{width:100%;border-collapse:collapse;margin-bottom:20px;margin-top:25px}.modal-content table th,.modal-content table td{padding:10px;text-align:left;border:1px solid #ddd}.modal-header{background:#3e3e3e;position:fixed;display:flex;width:100%;border:solid 1px #ccc}.button,.btn{display:inline-block;padding:15px 30px;font-size:16px;font-weight:700;color:#fff;text-align:center;text-transform:uppercase;text-decoration:none;border:none;border-radius:8px;background:linear-gradient(45deg,#ff3434,#fb0,#05aca4,#8d22ff);transition:transform .2s ease,background-position .3s ease;box-shadow:0 4px 10px #0003;position:relative;overflow:hidden}.button:after,.btn:after{content:"";position:absolute;top:50%;left:50%;width:200%;height:200%;background:radial-gradient(circle,rgba(255,255,255,.6),transparent);transform:translate(-50%,-50%) scale(0);transition:transform .4s ease;opacity:.8}.button:hover,.btn:hover{background-position:100%;transform:scale(1.1)}.button:hover:after,.btn:hover:after{transform:translate(-50%,-50%) scale(1)}.button:active,.btn:active{transform:scale(1.3);box-shadow:0 2px 5px #0003}.btn-secondary{background:#3e3e3e;padding:10px;margin-left:10px}.btn-danger{background:#ff3434;position:relative}.memorizing-screen .controls button{font-size:32px;border:none;cursor:pointer;background-color:#121212}.eye-icon{background:none;border:none;font-size:1.5rem;margin-left:10px;cursor:pointer;color:#ddd;transition:color .3s ease}.eye-icon:hover{color:#05aca4}.header{display:flex;justify-content:space-between;align-items:center;width:100%;padding:10px 20px;margin-bottom:20px;color:#ddd;font-size:20px;font-weight:700;height:15%}.header,.content,.footer{display:flex;justify-content:center;align-items:center;text-align:center;flex-shrink:0}.header-left{margin-right:10px}.header-right{margin-left:10px}.release-version{font-size:10px}.header .release-version{margin-top:30px}.content{flex:1}.footer{height:45%}.close-button{position:absolute;top:10px;right:10px;background:none;border:none;font-size:24px;cursor:pointer;color:#ccc;transition:transform .2s ease}.close-button:hover{transform:scale(1.1)}.user-area{float:right;font-size:12px}.chalk-text{padding-top:20px;color:#fff}.close-icon{font-size:10px;color:#fff;cursor:pointer;transition:transform .2s ease,color .2s ease}.close-icon:hover{transform:scale(1.2);color:red}.username-overlay{margin-bottom:50px}.username-overlay .btn{font-size:10px;padding:10px;margin-left:5px}.username-logo{margin-bottom:50px}.username-form input{padding:5px}.progress{padding:0 32px;margin-bottom:24px}.progress .progress-level-area{text-align:center;margin-top:8px;cursor:pointer}.progress .progress-level{font-size:28px;color:#fff;font-weight:700}.progress .progress-current-level{cursor:pointer;margin-top:8px;color:#aaa}.progress .progress-level-selector{background:#222;padding:12px;border-radius:8px;margin-top:8px}.progress .progress-level-description{font-size:12px;color:#aaa}.manual-mode{display:flex;justify-content:center;align-items:center;gap:8px}.toggle-manual{width:36px;height:20px;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:999px;position:relative;outline:none;cursor:pointer;transition:background-color .2s ease}.label-toggle-manual{color:#ccc;font-size:14px}.modal-success-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0009;z-index:999;display:flex;justify-content:center;align-items:center}.modal-success-box{background-color:#1a1a1a;padding:32px;border-radius:12px;box-shadow:0 0 20px #4ade80;max-width:400px;text-align:center;color:#fff}.modal-success-buttons{margin-top:20px;display:flex;justify-content:center;gap:12px}.modal-success-buttons .btn-advance{background-color:#4ade80;color:#000;padding:10px 20px;border:none;border-radius:8px;cursor:pointer;font-weight:700}.modal-success-buttons .btn-cancel{background:transparent;border:1px solid #ccc;color:#ccc;padding:10px 20px;border-radius:8px;cursor:pointer}.card-mobile{width:44px;height:62px;background-color:#fff;border-radius:6px;display:flex;flex-direction:column;justify-content:center;align-items:center;font-weight:700}.card-mobile-value{font-size:20px;line-height:1}.card-mobile-suit{font-size:30px;line-height:1}@media (max-width: 768px){.page{width:100%}.footer{height:10%}.header{padding:0;margin:0}.ordering-screen{position:relative;height:100vh;display:flex;flex-direction:column;overflow:hidden;padding-bottom:90px}.ordering-screen .scroll-area{overflow-y:auto;-webkit-overflow-scrolling:touch;padding:16px;height:60vh}.placeholder-grid-mobile{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;justify-items:center}.ordering-screen .placeholder-mobile{position:static;width:44px;height:62px;font-size:12px;display:flex;align-items:center;justify-content:center;background-color:#333;border-radius:5px}.ordering-screen .placeholder-mobile:nth-child(3n+1){background-color:#4a4a4a}.ordering-screen .placeholder-mobile.active{background-color:#ff3434}.placeholder-mobile-number{font-size:18px;color:#fff}.ordering-screen .main-placeholders{max-width:350px;margin:0 auto;padding:0;background-color:transparent}.card-stack-mobile{position:fixed;bottom:0;left:0;right:0;background-color:#121212;height:72px;padding:8px 12px;display:flex;gap:0;overflow-x:auto;overflow-y:hidden;border-top:1px solid #333;z-index:1000;-webkit-overflow-scrolling:touch}.card-stack-mobile::-webkit-scrollbar{display:none}.card-stack-item{margin-left:-22px;flex-shrink:0}.card-stack-item:first-child{margin-left:0}.transition-footer-blur{position:fixed;bottom:89px;left:0;right:0;height:10px;background:#1212121a;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);z-index:999;pointer-events:none}.memorizing-screen{position:relative;height:100vh;display:flex;flex-direction:column;overflow:hidden;padding-bottom:90px}.memorizing-screen .main-cards{flex-grow:1;position:relative;display:flex;justify-content:center;align-items:center;top:-50px}.memorizing-screen .controls{display:flex;justify-content:center;gap:10px;margin-bottom:20px}.memorizing-screen .card-stack-mobile{position:fixed;bottom:0;left:0;right:0;height:72px;background-color:#121212;padding:10px 12px;display:flex;gap:0;overflow-x:auto;overflow-y:hidden;border-top:1px solid #333;z-index:1000;-webkit-overflow-scrolling:touch}.memorizing-screen .card-stack-mobile::-webkit-scrollbar{display:none}.memorizing-screen .card-stack-item{flex-shrink:0}body,html{overflow-x:hidden;overflow-y:hidden}.memorizing-screen .main-cards .card{width:100px;height:140px}.memorizing-screen .controls{position:fixed;bottom:100px;left:0;right:0;display:flex;z-index:1000;-webkit-overflow-scrolling:touch}.result-screen .scroll-area{overflow-y:scroll;max-height:400px;padding:0}.result-screen .footer{position:fixed;z-index:1000;bottom:0;right:0;left:0}}
