.auth-login{width:100%}.auth-card{background:#fff;border-radius:20px;padding:2rem 1.5rem;box-shadow:0 12px 40px #00000026;text-align:center}.auth-header{margin-bottom:1.5rem}.auth-icon{font-size:3rem;margin-bottom:.75rem}.auth-header h1{font-size:1.5rem;color:#1a1a2e;margin-bottom:.5rem}.auth-header p{color:#888;font-size:.9rem}.auth-alert{border-radius:12px;padding:1rem;margin-bottom:1rem;text-align:left}.auth-alert.warning{background:#fff8e6;border:1px solid #ffe58f}.auth-alert.warning p{color:#d48806;font-weight:600}.auth-alert.warning .sub{font-weight:400;font-size:.85rem;margin-top:.25rem}.auth-alert.error{background:#fff2f0;border:1px solid #ffccc7}.auth-alert.error p{color:#cf1322;font-size:.9rem}.auth-alert.info{background:#e6f7ff;border:1px solid #91d5ff;margin-bottom:1rem;text-align:left}.auth-alert.info p{color:#096dd9;font-size:.85rem;word-break:break-all}.auth-alert.info .mono{font-family:monospace}.auth-status.loading{padding:1.5rem 0;color:#666}.auth-code-hint{margin-top:.5rem;font-size:.75rem;color:#999;word-break:break-all;font-family:monospace}.spinner{width:36px;height:36px;border:3px solid #e8e8e8;border-top-color:#667eea;border-radius:50%;margin:0 auto .75rem;animation:spin .8s linear infinite}.auth-success{text-align:left}.success-badge{display:inline-block;background:#f6ffed;color:#389e0d;border:1px solid #b7eb8f;border-radius:8px;padding:.4rem .75rem;font-size:.9rem;font-weight:600;margin-bottom:1rem}.user-info{background:#f8f9ff;border-radius:12px;padding:1rem;margin-bottom:1rem}.info-row{display:flex;justify-content:space-between;align-items:flex-start;gap:.75rem;padding:.5rem 0;border-bottom:1px solid #eef0f8}.info-row:last-child{border-bottom:none}.info-row .label{color:#888;font-size:.85rem;flex-shrink:0}.info-row .value{color:#333;font-size:.85rem;text-align:right;word-break:break-all}.info-row .value.mono{font-family:monospace;font-size:.75rem}.info-row .value.truncate{max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.btn{width:100%;padding:.875rem 1.5rem;border-radius:12px;font-size:1rem;font-weight:600;cursor:pointer;border:none;transition:opacity .2s,transform .1s}.btn:active{transform:scale(.98)}.btn:disabled{opacity:.6;cursor:not-allowed}.btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.link-btn{display:block;text-decoration:none;text-align:center;margin-bottom:.75rem}.btn-outline{background:#fff;color:#667eea;border:1.5px solid #667eea}.auth-footer{margin-top:1.5rem;padding-top:1rem;border-top:1px solid #f0f0f0}.api-hint{font-size:.7rem;color:#bbb;word-break:break-all}.home-page{width:100%;text-align:left}.home-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1.25rem;color:#fff}.home-header h1{font-size:1.5rem;margin-bottom:.25rem}.user-name{font-size:.85rem;opacity:.85}.logout-btn{padding:.4rem .75rem;border-radius:8px;border:1px solid rgba(255,255,255,.5);background:#ffffff26;color:#fff;font-size:.85rem;cursor:pointer}.home-status,.home-empty,.home-error{background:#fff;border-radius:16px;padding:2rem;text-align:center;color:#666}.home-error p{color:#cf1322;margin-bottom:.75rem}.home-error button{padding:.5rem 1rem;border:none;border-radius:8px;background:#667eea;color:#fff;cursor:pointer}.paper-list{list-style:none;display:flex;flex-direction:column;gap:.75rem}.paper-card{background:#fff;border-radius:14px;padding:1rem 1.1rem;box-shadow:0 4px 16px #00000014}.paper-card.clickable{cursor:pointer;transition:transform .15s,box-shadow .15s}.paper-card.clickable:active{transform:scale(.98);box-shadow:0 2px 8px #0000001a}.paper-title{font-size:1rem;font-weight:600;color:#1a1a2e;margin-bottom:.5rem}.paper-meta{display:flex;flex-wrap:wrap;gap:.75rem;font-size:.8rem;color:#888;margin-bottom:.6rem}.paper-tags{display:flex;gap:.5rem}.tag{font-size:.75rem;padding:.2rem .5rem;border-radius:6px}.tag.free{background:#f6ffed;color:#389e0d}.tag.paid{background:#fff7e6;color:#d48806}.tag.ok{background:#e6f7ff;color:#096dd9}.pagination{display:flex;justify-content:center;align-items:center;gap:1rem;margin-top:1.25rem;color:#fff}.pagination button{padding:.4rem .75rem;border-radius:8px;border:1px solid rgba(255,255,255,.5);background:#ffffff26;color:#fff;cursor:pointer}.pagination button:disabled{opacity:.4;cursor:not-allowed}.home-page .spinner{width:32px;height:32px;border:3px solid #e8e8e8;border-top-color:#667eea;border-radius:50%;margin:0 auto .75rem;animation:spin .8s linear infinite}.paper-detail-page{width:100%;text-align:left}.detail-header{display:flex;align-items:center;gap:.75rem;margin-bottom:1.25rem;color:#fff}.detail-header h1{font-size:1.35rem}.back-btn{padding:.35rem .6rem;border-radius:8px;border:1px solid rgba(255,255,255,.5);background:#ffffff26;color:#fff;font-size:.85rem;cursor:pointer}.detail-status,.detail-error{background:#fff;border-radius:16px;padding:2rem;text-align:center;color:#666}.detail-error p{color:#cf1322;margin-bottom:.75rem}.detail-error button{padding:.5rem 1rem;border:none;border-radius:8px;background:#667eea;color:#fff;cursor:pointer}.detail-card{background:#fff;border-radius:16px;padding:1.25rem;box-shadow:0 4px 20px #0000001a}.detail-title{font-size:1.15rem;color:#1a1a2e;margin-bottom:1rem;padding-bottom:.75rem;border-bottom:1px solid #f0f0f0}.detail-section{display:flex;flex-direction:column;gap:.25rem}.detail-row{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;padding:.6rem 0;border-bottom:1px solid #f5f5f5}.detail-row:last-child{border-bottom:none}.detail-row .label{color:#888;font-size:.85rem;flex-shrink:0}.detail-row .value{color:#333;font-size:.85rem;text-align:right;word-break:break-all}.detail-row .value.price{color:#d48806;font-weight:600}.paper-detail-page .spinner{width:32px;height:32px;border:3px solid #e8e8e8;border-top-color:#667eea;border-radius:50%;margin:0 auto .75rem;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.app{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:20px;background:transparent}.container{width:100%;max-width:560px;text-align:center}.title{color:#fff;font-size:2.5rem;font-weight:700;margin-bottom:2rem;text-shadow:0 2px 10px rgba(0,0,0,.2)}.warning{background:#fff;border-radius:16px;padding:2rem;box-shadow:0 10px 40px #0003}.warning p{color:#666;font-size:1.1rem;margin:.5rem 0}.warning p:first-child{font-size:1.5rem;color:#ff6b6b;font-weight:600}.version-pill{margin-top:.5rem;display:inline-flex;align-items:center;justify-content:center;padding:6px 12px;border-radius:999px;background:#ffffff2e;color:#f1f5ff;font-size:.7rem;border:1px solid rgba(255,255,255,.35);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);margin-bottom:2rem}*{margin:0;padding:0;box-sizing:border-box}html{background:#667eea}html:before{content:"";position:fixed;top:0;right:0;bottom:0;left:0;z-index:-1;background:linear-gradient(135deg,#667eea,#764ba2);pointer-events:none}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;min-height:100vh;overflow-x:hidden;background:transparent}#root{min-height:100vh;background:transparent}
