*{margin:0;padding:0;box-sizing:border-box}html,body,#root{height:100%;background-color:#fff}body{font-family:Noto Sans,Roboto,sans-serif;background-color:#fafafa;color:#222;line-height:1.5}a{text-decoration:none;color:inherit}button{background:none;border:none;cursor:pointer;font-family:inherit}.icon{width:24px;height:24px}.layout{display:flex;flex-direction:column;min-height:100%;background:#fff}.layout main{flex:1;padding-top:60px;padding-bottom:60px}.header{display:flex;justify-content:space-around;border-top:1px solid #ddd;background:#fff;padding:8px 0;position:fixed;left:0;right:0;z-index:1000}.bottom-nav .nav-btn{font-size:12px;color:#444;display:flex;flex-direction:column;align-items:center}.bottom-nav .nav-btn.active{color:#4a6cf7}.main{flex:1;padding:16px;position:relative}.section-title{margin-bottom:12px;font-size:16px;font-weight:700}.group-list-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.edit-btn{display:flex;align-items:center;gap:4px;font-size:14px;color:#4a6cf7}.group-card{background:#fff;border:1px solid #ddd;border-radius:12px;padding:12px 16px;margin-bottom:12px;box-shadow:0 2px 5px #0000000d;display:flex;justify-content:space-between;align-items:center;cursor:pointer}.group-info h4{margin:0 0 4px;font-size:14px}.group-info p{margin:0;font-size:12px;color:#666}.delete-btn .icon{color:#e53935}.floating-btn{position:fixed;bottom:70px;right:20px;background:#4a6cf7;border-radius:50%;width:56px;height:56px;display:flex;align-items:center;justify-content:center;box-shadow:0 3px 6px #00000026}.floating-btn .icon{color:#fff;width:24px;height:24px}.modal-overlay{position:fixed;inset:0;background:#0006;display:flex;justify-content:center;align-items:center}.modal{background:#fff;padding:20px;border-radius:12px;width:300px}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}.modal-btn{padding:8px 14px;border-radius:6px;font-size:14px;cursor:pointer}.modal-btn.cancel{background:#eee}.modal h3{font-size:16px;font-weight:700;margin-bottom:12px;text-align:center}.modal .input-box{margin:0}.modal .input-box+.input-box{margin-top:6px}.preview-box{border:1px solid #ddd;background:#fff;border-radius:8px;padding:12px;margin-top:12px;font-size:13px;max-height:200px;overflow-y:auto}.preview-box li{padding:4px 0;border-bottom:1px solid #f1f1f1}.excel-row{display:flex;align-items:center;margin:6px 0 10px}.excel-upload-btn{padding:4px 10px;background:none;color:#4a6cf7;border:1px solid #4a6cf7;border-radius:6px;font-size:13px;cursor:pointer}.excel-upload-btn:hover{background:#eef2ff}.file-row{display:flex;align-items:center;justify-content:flex-start;gap:6px;margin:4px 0 10px}.file-name{font-size:13px;color:#333;word-break:break-all}.file-clear-btn{background:none;border:1px solid #aaa;border-radius:4px;color:#000;font-size:13px;width:22px;height:22px;cursor:pointer;line-height:1}.file-clear-btn:hover{background:#000;color:#fff}.excel-table{width:100%;border-collapse:collapse;font-size:13px;table-layout:fixed}.excel-table th,.excel-table td{border-bottom:1px solid #eee;padding:6px 8px;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.excel-table th{background:#f9f9f9;font-weight:700}.excel-table td:first-child,.excel-table th:first-child{width:28px;min-width:28px;max-width:30px;text-align:left;padding-right:4px}.excel-table td:nth-child(2){width:100px}.excel-table td:nth-child(3){width:auto}.empty-message{text-align:center;color:#999;font-size:14px;padding:40px 16px;line-height:1.6}.empty-message:before{display:block;font-size:28px;margin-bottom:8px;opacity:.7}.excel-download-link{margin-left:10px;margin-top:2px;font-size:12px;color:#666;text-decoration:underline;cursor:pointer}.excel-download-link:hover{color:#444}.study-page{display:flex;flex-direction:column;height:100%}.study-header{display:flex;justify-content:space-between;align-items:center;padding:0 16px;height:48px;border-bottom:1px solid #ddd}.study-header .title{flex:1;text-align:center}.study-header .icon-btn{position:static}.group-bar{display:flex;justify-content:space-between;align-items:center;padding:8px 16px;border-bottom:1px solid #eee}.toggle-group{display:flex;gap:8px}.toggle-btn{padding:6px 14px;border:1px solid #ccc;border-radius:6px;background:#fff;font-size:14px;cursor:pointer}.toggle-btn.active{border-color:#4a6cf7;background:#eef2ff;color:#4a6cf7;font-weight:700}.card-area{flex:1;position:relative;display:flex;justify-content:center;align-items:center;margin:16px}.flash-card{width:100%;height:100%;min-height:220px;border:1px solid #ddd;border-radius:12px;background:#fff;box-shadow:0 2px 8px #0000001a;display:flex;justify-content:center;align-items:center;font-size:18px;cursor:pointer}.arrow-btn{position:absolute;top:50%;transform:translateY(-50%);background:none;border:none;cursor:pointer;color:#444;opacity:.4}.arrow-btn.left{left:8px}.arrow-btn.right{right:8px}.star-btn{position:absolute;top:16px;right:12px;background:none;border:none;cursor:pointer;font-size:xx-large}.star-btn.active .icon{color:gold}.bottom-panel{display:flex;justify-content:space-between;padding:12px 16px;border-top:1px solid #ddd;background:#fafafa}.bottom-left{display:flex;gap:8px}.action-btn{padding:6px 12px;border:1px solid #ddd;border-radius:6px;background:#fff;display:flex;align-items:center;gap:4px;cursor:pointer}.progress-row{display:flex;align-items:center;gap:6px;justify-content:flex-end}.progress-bar{width:120px;height:8px;background:#eee;border-radius:4px;overflow:hidden}.progress-fill{height:100%;background:#4a6cf7}.progress-text{font-size:13px}.status{font-size:12px;color:#666;margin-bottom:4px}.chat-row{display:flex;align-items:flex-start;gap:8px;padding:12px 16px;border-top:1px solid #eee;background:#fff}.chat-name{font-size:13px;font-weight:700;color:#4a6cf7;min-width:70px;margin-top:7px}.chat-bubble{flex:1;background:#f1f1f1;padding:8px 12px;border-radius:12px;font-size:14px;line-height:1.4;text-align:left}.complete-page{display:flex;flex-direction:column;height:100%;background:#fff}.complete-header{padding:16px;border-bottom:1px solid #ddd;font-size:18px;font-weight:700;text-align:center}.complete-body{flex:1;display:flex;flex-direction:column;align-items:center;margin-top:60px;gap:20px}.done-title{font-size:20px;font-weight:700;color:#333}.summary-box{border:1px solid #ddd;background:#fff;border-radius:8px;padding:16px;width:240px;text-align:left;font-size:14px;line-height:1.6}.summary-box .group{font-weight:700;margin:4px 0}.summary-box .highlight{font-weight:700;color:#4a6cf7}.reward-box{display:flex;justify-content:space-between;align-items:center;border:1px solid #ddd;background:#fff;border-radius:6px;padding:10px 14px;width:240px;font-size:14px;font-weight:700}.reward-point{color:#4a6cf7}.bottom-btn-area{padding:16px;border-top:1px solid #ddd;background:#fff}.receive-btn{width:100%;padding:14px;background:#4a6cf7;border:none;border-radius:8px;color:#fff;font-size:16px;font-weight:700;cursor:pointer}.receive-btn:hover{background:#3a56c0}.profile-page{display:flex;flex-direction:column;align-items:center;padding:24px 16px;text-align:center}.avatar{display:flex;flex-direction:column;align-items:center;margin-bottom:20px}.avatar-circle{width:100px;height:100px;border-radius:50%;background:#f1f1f1;display:flex;align-items:center;justify-content:center;font-size:40px;margin-bottom:12px}.name{font-size:18px;font-weight:700}.info-box{border:1px solid #ddd;background:#fff;border-radius:8px;padding:12px 20px;font-size:15px;width:220px;display:flex;justify-content:space-between;margin-bottom:12px}.info-box .highlight{font-weight:700;color:#4a6cf7}.profile-btn{width:220px;padding:12px;border:1px solid #ddd;border-radius:8px;background:#fff;margin-bottom:12px;cursor:pointer;font-size:15px;font-weight:500}.profile-btn:hover{background:#f5f5f5}.modal-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:#0006;display:flex;align-items:center;justify-content:center;z-index:1000}.modal{background:#fff;padding:20px;border-radius:12px;width:280px;text-align:center;box-shadow:0 4px 10px #0003}.modal h4{font-size:16px;margin-bottom:12px}.input-box{width:100%;padding:10px;border:1px solid #ddd;border-radius:6px;margin-bottom:16px;font-size:14px}.modal-actions{display:flex;justify-content:flex-end;gap:8px}.modal-btn{padding:8px 14px;border-radius:6px;font-size:14px;cursor:pointer;border:none}.modal-btn.cancel{background:#f1f1f1}.modal-btn.save{background:#4a6cf7;color:#fff}.mode-select{padding:20px;text-align:center}.title{font-size:20px;font-weight:700;margin-bottom:6px}.subtitle{font-size:14px;color:#666;margin-bottom:20px}.section{margin-bottom:24px}.section h3{font-size:14px;font-weight:700;margin-bottom:12px;text-align:left}.btn-group{display:flex;gap:12px;justify-content:center}.select-btn{flex:1;padding:12px;border:1px solid #ddd;border-radius:10px;background:#fff;font-size:14px;display:flex;align-items:center;gap:6px;justify-content:center;cursor:pointer;box-shadow:0 2px 5px #0000000d;transition:all .2s ease}.select-btn:hover{background:#f8f9ff;border-color:#4a6cf7}.select-btn.active{background:#eef2ff;border-color:#4a6cf7;color:#4a6cf7;font-weight:700}.select-btn.active .icon{color:#4a6cf7}.start-btn{margin-top:16px;width:100%;padding:14px;background:#4a6cf7;color:#fff;font-size:16px;font-weight:700;border-radius:12px;cursor:pointer;transition:background .2s ease}.start-btn:hover{background:#3b55c5}.auth-page{display:flex;flex-direction:column;min-height:100%;background:#fafafa;align-items:center}.auth-header{padding:16px;border-bottom:1px solid #ddd;width:100%;text-align:center;font-size:18px;font-weight:700}.auth-title{margin:40px 0 20px;font-size:20px;font-weight:700}.auth-form{display:flex;flex-direction:column;gap:12px;width:260px}.auth-form input{padding:12px;border:1px solid #ddd;border-radius:8px;font-size:14px}.auth-btn{padding:12px;background:#4a6cf7;color:#fff;border:none;border-radius:8px;font-size:15px;font-weight:700;cursor:pointer;margin-top:8px}.auth-btn:hover{background:#3a56c0}.auth-footer{margin-top:20px;font-size:13px;color:#555}.auth-footer a{color:#4a6cf7;text-decoration:none;font-weight:700}.title{margin:0;font-size:18px;font-weight:700}.icon-btn{position:absolute;top:16px}.back-btn{position:absolute;top:16px;left:16px}.settings-btn{right:16px}.bottom-nav{display:flex;justify-content:space-around;border-top:1px solid #ddd;background:#fff;padding:8px 0;position:fixed;bottom:0;left:0;right:0}.nav-btn{font-size:12px;color:#444;display:flex;flex-direction:column;align-items:center}.nav-btn.active,.nav-btn.active .icon{color:#4a6cf7}.content{width:60%;max-width:1200px;margin:0 auto;height:100%}@media (max-width: 768px){.content{width:80%}}@media (max-width: 480px){.content{width:100%}}
