.study-container{flex-direction:column;gap:.85rem;max-width:780px;height:100%;margin:0 auto;display:flex}.deck-header{border-radius:16px;justify-content:space-between;align-items:center;padding:1.15rem 1.5rem;display:flex}.deck-header-info{flex-direction:column;gap:.4rem;display:flex}.deck-header-info h2{color:#fff;margin:0;font-size:1.25rem;font-weight:700;line-height:1.25}.deck-header-stats{flex-direction:column;justify-content:center;align-items:flex-end;gap:.5rem;width:200px;display:flex}#deck-progress-text{color:var(--text-muted);font-size:.85rem;font-weight:600}.session-progress-bar{background:#ffffff1a;border-radius:3px;width:100%;height:6px;overflow:hidden}.session-progress-fill{background:var(--accent-gradient);height:100%;transition:width .2s cubic-bezier(.4,0,.2,1)}.filters-container{border-radius:14px;flex-direction:column;gap:.65rem;padding:.65rem 1rem;transition:all .2s;display:flex}.filter-bar-header{justify-content:space-between;align-items:center;gap:.75rem;width:100%;display:flex}.btn-filter-toggle{flex:1;align-items:center;gap:.5rem;max-width:200px;padding:.5rem .85rem;font-size:.85rem;display:inline-flex}.filter-active-badge{background:var(--accent-gradient);color:#fff;border-radius:12px;padding:.15rem .5rem;font-size:.75rem;font-weight:700}.filter-panel{border-top:1px solid var(--border);flex-direction:column;gap:.65rem;padding-top:.65rem;animation:.2s fadeIn;display:flex}@keyframes fadeIn{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.search-box{border:1px solid var(--border);background:#00000040;border-radius:10px;align-items:center;gap:.5rem;padding:.45rem .75rem;display:flex}.search-icon{width:15px;height:15px;color:var(--text-muted);flex-shrink:0}.search-box input{color:var(--text);background:0 0;border:none;outline:none;width:100%;font-size:.85rem}.filter-dropdowns{grid-template-columns:1fr 1fr;gap:.65rem;display:grid}.filter-dropdowns select{border:1px solid var(--border);color:var(--text);background:#00000040;border-radius:10px;outline:none;width:100%;min-width:0;padding:.45rem .65rem;font-size:.825rem}.flashcard-arena{flex-direction:column;flex:1;gap:1rem;display:flex}.flashcard{perspective:1500px;cursor:pointer;width:100%;height:380px}.card-inner{width:100%;height:100%;transform-style:preserve-3d;transition:transform .5s cubic-bezier(.4,0,.2,1);position:relative}.card-inner.flipped{transform:rotateY(180deg)}.card-face{backface-visibility:hidden;background:var(--card-bg);border:1.5px solid var(--card-border);width:100%;height:100%;box-shadow:var(--shadow-xl);-webkit-backdrop-filter:blur(16px);border-radius:20px;flex-direction:column;justify-content:space-between;padding:1.25rem 1.5rem;transition:border-color .2s,box-shadow .2s;display:flex;position:absolute}.flashcard:hover .card-face{border-color:var(--card-hover-border);box-shadow:0 12px 30px #6366f126}.card-front{z-index:2}.card-back{transform:rotateY(180deg)}.card-meta{border-bottom:1px solid var(--border);flex-shrink:0;justify-content:space-between;align-items:center;margin-bottom:1rem;padding-bottom:.65rem;display:flex}.card-number{color:var(--text-muted);font-family:Fira Code,monospace;font-size:.775rem;font-weight:700}.card-topic{color:var(--accent-light);white-space:nowrap;text-overflow:ellipsis;background:#6366f11f;border-radius:16px;max-width:60%;padding:.2rem .65rem;font-size:.775rem;font-weight:700;overflow:hidden}.card-body{flex-direction:column;flex:1;display:flex;overflow:hidden}.card-front .card-body{justify-content:center;align-items:center}.scroll-wrapper{flex-direction:column;justify-content:flex-start;gap:1.15rem;width:100%;height:100%;padding-right:.35rem;display:flex;overflow-y:auto}.scroll-wrapper::-webkit-scrollbar{width:4px}.scroll-wrapper::-webkit-scrollbar-thumb{background:#ffffff26;border-radius:2px}.card-question{text-align:center;color:var(--text);font-size:1.45rem;font-weight:700;line-height:1.35}.card-answer-section{text-align:left;width:100%;margin-top:.2rem}.section-sub{text-transform:uppercase;letter-spacing:1.2px;color:var(--accent-light);margin-bottom:.35rem;font-size:.75rem;font-weight:700}.card-answer{color:#fff;font-size:1.05rem;font-weight:500;line-height:1.5}.card-tip-section{text-align:left;border-left:3px solid var(--accent);background:#6366f114;border-radius:0 12px 12px 0;width:100%;padding:.75rem 1rem}.card-tip{color:var(--text);font-size:.925rem;font-weight:500;line-height:1.45}.card-learn-section{background:#10b98114;border:1px solid #10b98140;border-radius:12px;margin-top:.15rem;padding:.65rem 1rem}.card-learn-section a{color:#38bdf8;transition:color .15s}.card-learn-section a:hover{color:#7dd3fc;text-decoration:underline}.card-hint-notice{text-align:center;border-top:1px solid var(--border);flex-shrink:0;margin-top:.75rem;padding-top:.65rem}.hint-text{color:var(--text-muted);font-size:.775rem;font-weight:500}.arena-controls{justify-content:space-between;align-items:center;gap:.75rem;display:flex}.scoring-panel{flex:1;justify-content:center;gap:.65rem;display:flex}.score-btn{border:1px solid #0000;border-radius:12px;flex:1;max-width:140px;padding:.6rem .75rem;font-weight:600}.score-btn.btn-danger{background:var(--danger-bg);border-color:var(--danger-border);color:var(--danger)}.score-btn.btn-warning{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning)}.score-btn.btn-success{background:var(--success-bg);border-color:var(--success-border);color:var(--success)}.score-btn.btn-danger:hover{background:#ef444440;transform:translateY(-1px)}.score-btn.btn-warning:hover{background:#f59e0b40;transform:translateY(-1px)}.score-btn.btn-success:hover{background:#10b98140;transform:translateY(-1px)}.keyboard-tips{text-align:center;margin-top:-.2rem;font-size:.775rem}.empty-state,.completion-view{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:1rem;min-height:360px;padding:2.5rem 1.5rem;display:flex}.empty-icon{width:56px;height:56px;color:var(--warning)}.confetti-placeholder{margin-bottom:.5rem;font-size:3.5rem;animation:1s infinite alternate bounce}.score-card-summary{gap:1.25rem;width:100%;max-width:320px;margin:1.25rem 0;display:flex}.summary-stat{border:1px solid var(--border);background:#ffffff08;border-radius:12px;flex-direction:column;flex:1;gap:.25rem;padding:.75rem .5rem;display:flex}.summary-label{text-transform:uppercase;font-size:.75rem;font-weight:700}.summary-val{font-size:1.5rem;font-weight:800}.test-result-box{background:#10b9811a;border:1px solid #10b98140;border-radius:16px;margin-bottom:1.25rem;padding:1rem 2rem}.test-result-box.failed{background:#ef44441a;border-color:#ef444440}#test-verdict{font-size:1.4rem;font-weight:800}#test-verdict-sub{color:var(--text-muted);font-size:.95rem;font-weight:600}.completion-actions{flex-wrap:wrap;justify-content:center;gap:.85rem;display:flex}@keyframes bounce{0%{transform:translateY(0)}to{transform:translateY(-8px)}}@media (width<=768px){.study-container{box-sizing:border-box;gap:.5rem;width:100%;max-width:100%;padding:0;overflow-x:hidden}.deck-header{box-sizing:border-box;border-radius:14px;width:100%;padding:.65rem .85rem}.deck-header-info h2{font-size:1.05rem}.deck-header-stats{width:130px}.filters-container{box-sizing:border-box;border-radius:14px;width:100%;padding:.5rem .65rem}.btn-filter-toggle{max-width:none;padding:.5rem .65rem;font-size:.8rem}.filter-dropdowns{grid-template-columns:1fr;gap:.45rem}.flashcard-arena{box-sizing:border-box;gap:.5rem;width:100%;max-width:100%;overflow-x:hidden}.flashcard{box-sizing:border-box;width:100%;max-width:100%;height:min(440px,62vh);min-height:380px}.card-face{box-sizing:border-box;border-radius:18px;width:100%;padding:1rem 1.15rem}.card-meta{margin-bottom:.5rem;padding-bottom:.4rem}.card-question{font-size:1.2rem;line-height:1.35}.card-answer{font-size:.95rem;line-height:1.4}.card-tip{font-size:.85rem;line-height:1.35}.card-tip-section{padding:.5rem .75rem}.card-learn-section{padding:.45rem .65rem}.keyboard-tips{display:none}.arena-controls{box-sizing:border-box;gap:.4rem;width:100%;max-width:100%}.scoring-panel{gap:.4rem;width:100%;min-width:0}.score-btn span{font-size:.775rem;display:inline-block}.score-btn{border-radius:10px;min-width:0;padding:.5rem .35rem;font-size:.8rem}}
