/* exam-index.html → exam-index.css (自动拆分) */
body { padding-bottom: 70px; }
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, 'PingFang SC', 'Helvetica Neue', sans-serif; background: #f5f5f5; max-width: 600px; margin: 0 auto; min-height: 100vh; }
.header { background: linear-gradient(135deg, #4a90d9, #357abd); color: #fff; padding: 16px; text-align: center; }
.header h1 { font-size: 18px; font-weight: 700; }
.header p { font-size: 12px; opacity: .8; margin-top: 4px; }
.license-bar { display: flex; background: #fff; padding: 12px 6px; gap: 6px; overflow-x: auto; justify-content: center; border-bottom: 1px solid #eee; }
.license-bar::-webkit-scrollbar { display: none; }
.license-btn { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 16px; border-radius: 12px; border: none; background: #fff; cursor: pointer; transition: .15s; min-width: 70px; }
.license-btn .lic-icon { font-size: 32px; line-height: 1; filter: grayscale(1); opacity: .5; transition: .15s; }
.license-btn .lic-label { font-size: 12px; color: #999; font-weight: 500; transition: .15s; }
.license-btn.active .lic-icon { filter: none; opacity: 1; }
.license-btn.active .lic-label { color: #333; font-weight: 600; }
.license-btn.active { background: #e8f5e9; }
.subject-bar { display: flex; background: #fff; border-bottom: 1px solid #eee; overflow-x: auto; }
.subject-bar::-webkit-scrollbar { display: none; }
.subject-tab { flex: 1; padding: 10px 14px; font-size: 14px; color: #666; cursor: pointer; border-bottom: 2px solid transparent; transition: .15s; text-align: center; min-width: 0; }
.subject-tab.active { color: #4a90d9; border-bottom-color: #4a90d9; font-weight: 600; }
.subject-tab .sub-icon { font-size: 16px; display: block; margin-bottom: 2px; }
.subject-tab .sub-label { font-size: 12px; }
.mode-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 12px; }
.mode-item { background: #fff; border-radius: 12px; padding: 14px 8px; text-align: center; cursor: pointer; box-shadow: 0 1px 4px rgba(0,0,0,.04); transition: .15s; }
.mode-item:active { transform: scale(.96); }
.mode-item .mode-icon { font-size: 28px; display: block; margin-bottom: 6px; }
.mode-item .mode-name { font-size: 13px; color: #333; font-weight: 500; }
.paper-list { padding: 0 12px 12px; }
.paper-list h3 { font-size: 14px; color: #999; margin-bottom: 8px; padding: 0 4px; }
.paper-item { display: flex; align-items: center; justify-content: space-between; background: #fff; border-radius: 10px; padding: 12px 14px; margin-bottom: 8px; cursor: pointer; box-shadow: 0 1px 4px rgba(0,0,0,.04); }
.paper-item:active { transform: scale(.98); }
.paper-item .paper-name { font-size: 14px; color: #333; font-weight: 500; }
.paper-item .paper-meta { font-size: 12px; color: #999; }
.paper-item .paper-go { color: #ccc; font-size: 16px; }
