*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}body{font-family:IBM Plex Sans,system-ui,-apple-system,sans-serif;background:#0a0a0a;color:#fff;min-height:100vh;overflow-x:clip}.app{max-width:720px;margin:0 auto;padding:2rem 1.5rem}.title{font-size:2rem;font-weight:700;letter-spacing:-.02em;display:flex;align-items:center;gap:.5rem}.logo{height:2rem;width:auto;border-radius:4px}.title-text{background:linear-gradient(90deg,#4b588f,#2a89c6,#1aafbd,#30b7ba,#cfa65f,#eea544,#ea8438);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}.app-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:.5rem;width:100vw;margin-left:calc(-50vw + 50%);padding:0 max(2rem,calc((100vw - 1060px)/2))}.header-right{display:flex;align-items:center;gap:.75rem}.upgrade-btn{padding:.3rem .75rem;border-radius:6px;border:1px solid #a855f7;background:transparent;color:#a855f7;font-family:inherit;font-size:.75rem;font-weight:700;letter-spacing:.06em;cursor:pointer;transition:background .15s,color .15s}.upgrade-btn:hover{background:#a855f7;color:#fff}.pro-badge{font-size:.7rem;font-weight:700;letter-spacing:.06em;padding:.2rem .5rem;border-radius:4px;background:#2563eb;color:#fff}.credits-label{font-size:.8rem;color:#888;font-variant-numeric:tabular-nums;white-space:nowrap}.account-menu{position:relative}.account-menu-trigger{display:flex;align-items:center;justify-content:center;width:2rem;height:2rem;border-radius:50%;border:1px solid #333;background:transparent;color:#999;cursor:pointer;transition:color .15s,border-color .15s}.account-menu-trigger:hover{color:#fff;border-color:#555}.account-avatar{width:1.5rem;height:1.5rem;border-radius:50%;object-fit:cover}.account-menu-dropdown{position:absolute;right:0;top:calc(100% + .5rem);min-width:10rem;background:#1a1a1a;border:1px solid #333;border-radius:.5rem;padding:.25rem 0;z-index:100;box-shadow:0 8px 24px #0006}.account-menu-user{padding:.5rem .75rem;border-bottom:1px solid #333;margin-bottom:.25rem;display:flex;flex-direction:column;gap:.125rem}.account-menu-name{font-size:.85rem;font-weight:500;color:#fff}.account-menu-email{font-size:.75rem;color:#888}.account-menu-item{display:block;width:100%;padding:.5rem .75rem;background:none;border:none;color:#ccc;font-size:.875rem;text-align:left;cursor:pointer}.account-menu-item:hover{background:#252525;color:#fff}.credit-badge{font-size:.75rem;color:#888;padding:.25rem .5rem;border:1px solid #333;border-radius:.25rem;font-variant-numeric:tabular-nums;white-space:nowrap}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:200}.modal-content{background:#1a1a1a;border:1px solid #333;border-radius:.75rem;padding:1.5rem;max-width:24rem;width:90%}.modal-content h3{margin:0 0 .75rem;color:#fff;font-size:1.1rem}.modal-content p{color:#ccc;font-size:.9rem;margin-bottom:1rem;line-height:1.4}.modal-content .btn{margin-right:.5rem;margin-top:.25rem}.subtitle{color:#888;margin-top:.25rem;margin-bottom:2rem}.app-footer{margin-top:4rem;padding-top:1.5rem;border-top:1px solid #1a1a1a;text-align:center;font-size:.75rem;color:#555}.app-footer a{color:#777;text-decoration:none}.app-footer a:hover{color:#aaa;text-decoration:underline}.upload-form{display:flex;flex-direction:column;gap:1.5rem}.drop-zone{border:2px dashed #333;border-radius:12px;padding:2.5rem;text-align:center;cursor:pointer;transition:border-color .2s,background .2s;color:#888}.drop-zone:hover,.drop-zone.dragging{border-color:#666;background:#111}.drop-zone.has-file{border-color:#a855f7;background:#a855f70d}.drop-zone .file-name{color:#fff;font-weight:500}.drop-zone .hint{font-size:.85rem;color:#555}.form-group{display:flex;flex-direction:column;gap:.5rem}.form-group label{font-size:.9rem;font-weight:500;color:#aaa}.form-group textarea,.form-group input[type=text]{background:#111;border:1px solid #222;border-radius:8px;padding:.75rem;color:#fff;font-family:inherit;font-size:.95rem;resize:vertical}.form-group textarea:focus,.form-group input[type=text]:focus{outline:none;border-color:#444}.theme-selector{display:flex;gap:.75rem}.theme-option{flex:1;background:#111;border:2px solid #222;border-radius:10px;padding:.75rem;cursor:pointer;text-align:left;color:#fff;transition:border-color .2s}.theme-option:hover{border-color:#444}.theme-option.selected{border-color:#a855f7}.theme-name{display:block;font-weight:600;font-size:.95rem;margin-bottom:.25rem}.theme-desc{display:block;font-size:.8rem;color:#666}.btn{padding:.75rem 1.5rem;border-radius:8px;border:1px solid #333;background:#111;color:#fff;font-family:inherit;font-size:.95rem;cursor:pointer;transition:background .2s}.btn:hover{background:#1a1a1a}.btn-primary{background:#a855f7;border-color:#a855f7;font-weight:600}.btn-primary:hover{background:#9333ea}.btn-primary:disabled{opacity:.4;cursor:not-allowed}.progress-view{display:flex;flex-direction:column;align-items:center;gap:1rem;padding:3rem 0}.spinner{width:40px;height:40px;border:3px solid #222;border-top-color:#a855f7;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.progress-message{color:#ccc;font-size:1rem}.progress-bar-container{width:100%;max-width:400px;height:6px;background:#222;border-radius:3px;overflow:hidden}.progress-bar-fill{height:100%;background:#a855f7;border-radius:3px;transition:width .3s ease}.progress-percent{color:#666;font-size:.85rem}.preview-view{display:flex;flex-direction:column;gap:1.5rem}.video-container{border-radius:12px;overflow:hidden;background:#000}.video-player{width:100%;display:block}.preview-actions{display:flex;gap:.75rem}.error-view{display:flex;flex-direction:column;align-items:center;gap:1rem;padding:3rem 0}.error-message{color:#ef4444;text-align:center}.spinner-sm{width:32px;height:32px;border-width:2px}.btn-sm{padding:.4rem .75rem;font-size:.85rem}.review-view{display:flex;flex-direction:column;gap:1rem;position:relative;width:100vw;margin-left:calc(-50vw + 50%);padding:0 max(2rem,calc((100vw - 1060px)/2))}.review-header{display:flex;justify-content:space-between;align-items:baseline;gap:1rem}.review-header h2{font-size:1.4rem;font-weight:600}.review-meta{display:flex;gap:1rem;font-size:.85rem;color:#666;flex-shrink:0}.review-toolbar{display:flex;gap:.75rem;align-items:center;padding:.5rem .75rem;background:#111;border-radius:8px;flex-wrap:wrap}.review-toolbar-spacer{flex:1}.review-settings-group{display:flex;align-items:center;gap:.75rem}.review-settings-group label{font-size:.75rem;color:#666;text-transform:uppercase;letter-spacing:.05em;flex-shrink:0}.review-theme-picker{display:flex;gap:.35rem}.review-theme-btn{background:transparent;border:1px solid #333;border-radius:6px;padding:4px 12px;font-size:.75rem;color:#999;cursor:pointer;transition:border-color .15s,color .15s}.review-theme-btn:hover{border-color:#555;color:#ccc}.review-theme-btn.selected{border-color:#a855f7;color:#fff}.draft-player{display:flex;flex-direction:column;gap:0;border-radius:8px;overflow:hidden;border:1px solid #222;background:#000}.draft-player-preview{position:relative;aspect-ratio:16 / 9;background:#000;overflow:hidden}.draft-player-thumb{position:absolute;top:0;right:0;bottom:0;left:0;background-size:cover;background-position:center;transition:opacity .5s ease}.draft-player-thumb-out{opacity:0}.draft-player-title{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;font-size:2.2rem;font-weight:700;color:#fff;text-align:center;padding:0 2rem;text-shadow:0 2px 12px rgba(0,0,0,.8),0 0 30px rgba(0,0,0,.5);transition:opacity .15s linear}.draft-player-lyrics{position:absolute;top:50%;left:0;right:0;transform:translateY(-50%);text-align:center;display:flex;flex-direction:column;gap:.5rem;padding:0 2rem;animation:lyric-fade-in .3s ease}@keyframes lyric-fade-in{0%{opacity:0;transform:translateY(calc(-50% + 6px))}to{opacity:1;transform:translateY(-50%)}}.draft-player-lyric-line{font-size:1.8rem;font-weight:600;color:#fff;text-shadow:0 2px 8px rgba(0,0,0,.8),0 0 20px rgba(0,0,0,.6)}.draft-player-watermark{position:absolute;bottom:.75rem;right:1rem;font-size:1.125rem;font-weight:600;color:#ffffff80;pointer-events:none;letter-spacing:.02em}.draft-player-controls{display:flex;align-items:center;gap:.75rem;padding:.6rem 1rem;background:#111}.draft-player-play-btn{background:none;border:none;color:#fff;font-size:.9rem;cursor:pointer;padding:.25rem .5rem;border-radius:4px;line-height:1;flex-shrink:0}.draft-player-play-btn:hover{background:#222}.draft-player-scrub{flex:1;height:6px;background:#333;border-radius:3px;cursor:pointer;position:relative}.draft-player-scrub-fill{height:100%;background:#666;border-radius:3px;pointer-events:none}.draft-player-scrub-handle{position:absolute;top:50%;width:12px;height:12px;background:#fff;border-radius:50%;transform:translate(-50%,-50%);pointer-events:none;opacity:0;transition:opacity .15s}.draft-player-scrub:hover .draft-player-scrub-handle{opacity:1}.draft-player-time{font-size:.75rem;color:#888;white-space:nowrap;font-variant-numeric:tabular-nums;flex-shrink:0}.player-toggle{display:flex;gap:2px;background:#1a1a1a;border-radius:6px;padding:2px;width:fit-content}.player-toggle-btn{background:transparent;border:none;border-radius:4px;padding:4px 14px;font-size:.75rem;font-family:inherit;color:#888;cursor:pointer;transition:color .15s,background .15s}.player-toggle-btn:hover:not(:disabled){color:#ccc}.player-toggle-btn.active{background:#333;color:#fff}.player-toggle-btn:disabled{color:#444;cursor:not-allowed}.rendered-player{border-radius:8px;overflow:hidden;background:#000;border:1px solid #222}.rendered-video{width:100%;max-height:50vh;display:block;background:#000}.draft-player-preview{max-height:50vh}.timeline-ruler{overflow-x:auto;overflow-y:hidden;height:24px;background:#0d0d0d;border:1px solid #222;border-bottom:none;border-radius:8px 8px 0 0;scrollbar-width:none;cursor:pointer;-webkit-user-select:none;user-select:none}.timeline-ruler::-webkit-scrollbar{display:none}.timeline-ruler-track{position:relative;height:100%}.ruler-tick{position:absolute;bottom:0;width:1px;height:6px;background:#333}.ruler-tick-major{height:10px;background:#444}.ruler-label{position:absolute;bottom:10px;left:50%;transform:translate(-50%);font-size:.55rem;color:#555;white-space:nowrap;font-variant-numeric:tabular-nums}.timeline-playhead{position:absolute;top:0;bottom:0;width:2px;background:#a855f7;transform:translate(-1px);pointer-events:none;z-index:10;transition:left .05s linear}.timeline-playhead:before{content:"";position:absolute;top:0;left:50%;transform:translate(-50%);border-left:6px solid transparent;border-right:6px solid transparent;border-top:8px solid #a855f7}.timeline-container{position:relative;width:100vw;margin-left:calc(-1*max(2rem,calc((100vw - 1060px)/2)));padding:.5rem 0;overflow:visible}.timeline-layout{display:flex;flex-direction:column;gap:2px;position:relative}.video-bar{overflow-x:auto;overflow-y:hidden;height:80px;background:#0a0a0a;border:1px solid #222;border-radius:0;scrollbar-width:none}.video-bar::-webkit-scrollbar{display:none}.video-bar-track{position:relative;height:100%}.video-bar-clip{position:absolute;top:0;height:100%;overflow:hidden;cursor:pointer;border:2px solid transparent;border-radius:4px;transition:border-color .15s;background-color:#1a1a1a;background-repeat:repeat-x;background-size:auto 100%;background-position:left center}.video-bar-clip:hover{border-color:#444}.video-bar-clip.selected{border-color:#a855f7}.video-bar-clip.highlighted{border-color:#a855f780}.video-bar-clip.stale{border-color:#f59e0b}.stale-badge{position:absolute;top:4px;right:4px;width:18px;height:18px;background:#f59e0b;color:#000;border-radius:50%;font-size:.7rem;font-weight:700;display:flex;align-items:center;justify-content:center}.resize-handle{position:absolute;right:0;top:0;bottom:0;width:6px;cursor:ew-resize;background:transparent}.resize-handle:hover,.resize-handle:active{background:#a855f780}.video-bar-gap{position:absolute;top:0;height:100%;background:repeating-linear-gradient(45deg,#111,#111 4px,#1a1a1a 4px,#1a1a1a 8px);cursor:pointer;display:flex;align-items:center;justify-content:center;border-radius:4px}.video-bar-gap:hover{background:repeating-linear-gradient(45deg,#151515,#151515 4px,#222 4px,#222 8px)}.gap-label{color:#444;font-size:1.5rem;font-weight:300}.lyric-bar{overflow-x:auto;overflow-y:hidden;height:76px;background:#0a0a0a;border:1px solid #222;border-radius:0 0 8px 8px;scrollbar-width:none}.lyric-bar::-webkit-scrollbar{display:none}.lyric-bar-track{position:relative;height:100%}.lyric-bar-tile{position:absolute;top:0;height:100%;display:flex;align-items:center;justify-content:center;padding:0 .75rem;border:2px solid transparent;border-radius:4px;transition:border-color .15s,background .15s;overflow:hidden;box-sizing:border-box}.lyric-bar-tile.selected{border-color:#a855f7;background:#a855f70f}.lyric-bar-tile.highlighted{background:#a855f70d;border-color:#a855f74d}.lyric-bar-tile.empty{cursor:default}.tile-lines{display:flex;flex-direction:column;justify-content:center;width:100%;gap:2px}.tile-line{font-size:.8rem;color:#ccc;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center;line-height:1.4;padding:2px 4px;border-radius:3px;cursor:pointer;transition:background .12s}.tile-line:hover{background:#ffffff0f}.tile-line.line-selected{background:#a855f726}.tile-line.line-highlighted{background:#a855f714}.tile-label{font-size:.75rem;color:#555;font-style:italic}.detail-panel{position:absolute;bottom:calc(100% + 10px);left:50%;transform:translate(-50%);z-index:30;background:#111;border:1px solid #333;border-radius:10px;max-width:480px;width:max-content;min-width:300px;box-shadow:0 8px 24px #00000080}.detail-panel:before{content:"";position:absolute;bottom:-9px;left:50%;transform:translate(-50%);border-left:10px solid transparent;border-right:10px solid transparent;border-top:9px solid #333}.detail-panel:after{content:"";position:absolute;bottom:-7px;left:50%;transform:translate(-50%);border-left:9px solid transparent;border-right:9px solid transparent;border-top:8px solid #111}.panel-close{position:absolute;top:.5rem;right:.75rem;background:none;border:none;color:#666;font-size:1.25rem;cursor:pointer;padding:0;line-height:1;z-index:1}.panel-close:hover{color:#fff}.panel-body{padding:1rem 2.5rem 1rem 1rem;display:flex;flex-direction:column;gap:.75rem}.popover-preview{border-radius:6px;overflow:hidden;background:#0a0a0a;position:relative}.popover-preview video,.popover-preview img{width:100%;aspect-ratio:16 / 9;object-fit:cover;display:block}.popover-thumb-empty{width:100%;aspect-ratio:16 / 9;background:#1a1a1a}.popover-time{font-size:.7rem;color:#999;font-variant-numeric:tabular-nums;position:absolute;bottom:4px;right:6px;background:#0009;padding:1px 5px;border-radius:3px}.stale-notice{background:#f59e0b1a;border:1px solid rgba(245,158,11,.3);border-radius:6px;padding:.5rem .75rem;font-size:.8rem;color:#fbbf24;display:flex;align-items:center;gap:.5rem}.keyword-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:.25rem}.popover-keywords label{font-size:.75rem;color:#666}.keyword-tags{display:flex;flex-wrap:wrap;gap:.35rem;align-items:center}.keyword-tag{background:#1a1a1a;border:1px solid #2a2a2a;border-radius:4px;padding:.15rem .5rem;font-size:.75rem;color:#999}.keyword-tag.editable{display:inline-flex;align-items:center;gap:.25rem}.keyword-remove{background:none;border:none;color:#666;cursor:pointer;font-size:.85rem;padding:0;line-height:1}.keyword-remove:hover{color:#ef4444}.keyword-input{background:transparent;border:1px dashed #333;border-radius:4px;padding:.15rem .5rem;font-size:.75rem;color:#999;width:80px;font-family:inherit}.keyword-input:focus{outline:none;border-color:#a855f7;color:#fff}.popover-search{display:flex;gap:.5rem}.search-input{flex:1;background:#0a0a0a;border:1px solid #222;border-radius:6px;padding:.4rem .75rem;color:#fff;font-family:inherit;font-size:.85rem}.search-input:focus{outline:none;border-color:#444}.popover-alts{display:flex;gap:.5rem;flex-wrap:wrap;align-items:center}.alt-thumb{width:60px;height:34px;border-radius:4px;overflow:hidden;cursor:pointer;border:2px solid transparent;transition:border-color .15s}.alt-thumb:hover,.alt-thumb.current{border-color:#a855f7}.alt-thumb img{width:100%;height:100%;object-fit:cover}.alt-thumb-empty{width:100%;height:100%;background:#1a1a1a}.popover-actions{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap}.split-menu{display:flex;align-items:center;gap:.35rem;font-size:.8rem;color:#888}.split-menu select{background:#0a0a0a;border:1px solid #333;border-radius:4px;color:#fff;padding:.2rem .4rem;font-family:inherit;font-size:.8rem}.btn-danger{border-color:#ef4444;color:#ef4444}.btn-danger:hover{background:#ef44441a}.lyric-display{font-size:.95rem;color:#ccc;cursor:text;padding:.35rem;border-radius:4px;text-align:center}.lyric-display:hover{background:#1a1a1a}.lyric-edit-area{background:#0a0a0a;border:1px solid #a855f7;border-radius:4px;padding:.5rem;color:#fff;font-family:inherit;font-size:.95rem;text-align:center;resize:none;width:100%}.lyric-edit-area:focus{outline:none}.lyric-edit-input{flex:1;background:#0a0a0a;border:1px solid #a855f7;border-radius:4px;padding:.25rem .5rem;color:#fff;font-family:inherit;font-size:.9rem}.lyric-edit-input:focus{outline:none}.realign-banner{display:flex;align-items:center;gap:.75rem;background:#a855f71a;border:1px solid rgba(168,85,247,.3);border-radius:8px;padding:.75rem 1rem;font-size:.9rem;color:#c084fc}.confirm-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:100}.confirm-dialog{background:#111;border:1px solid #333;border-radius:12px;padding:1.5rem;max-width:400px;display:flex;flex-direction:column;gap:1rem}.confirm-dialog p{color:#ccc;font-size:.95rem;line-height:1.5}.confirm-actions{display:flex;gap:.75rem;justify-content:flex-end}.preview-dialog{max-width:560px;width:90vw}.sidebar-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;z-index:50}.sidebar{position:fixed;right:0;top:0;bottom:0;width:400px;max-width:90vw;background:#111;border-left:1px solid #222;padding:1.5rem;display:flex;flex-direction:column;gap:1rem;z-index:51}.sidebar h3{font-size:1.1rem;font-weight:600}.sidebar-textarea{flex:1;background:#0a0a0a;border:1px solid #222;border-radius:8px;padding:.75rem;color:#fff;font-family:inherit;font-size:.9rem;resize:none;line-height:1.6}.sidebar-textarea:focus{outline:none;border-color:#444}.sidebar-actions{display:flex;gap:.75rem;justify-content:flex-end}.song-library{margin-top:1.5rem;width:100vw;margin-left:calc(-50vw + 50%);padding:0 max(2rem,calc((100vw - 1060px)/2))}.library-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.library-header h2{font-size:1.25rem;font-weight:600}.library-empty{text-align:center;padding:4rem 1rem 3rem}.library-empty-tagline{font-size:1.2rem;color:#ccc;margin-bottom:2.5rem}.library-steps{display:flex;gap:1.5rem;justify-content:center;margin-bottom:2.5rem}.library-step{display:flex;flex-direction:column;align-items:center;gap:.4rem;flex:0 1 140px}.library-step-num{width:32px;height:32px;border-radius:50%;background:#1a1a1a;border:1px solid #333;display:flex;align-items:center;justify-content:center;font-size:.85rem;font-weight:600;color:#a855f7}.library-step-text{font-size:.9rem;font-weight:500;color:#ddd}.library-step-hint{font-size:.75rem;color:#666}.song-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1.25rem}.song-card{border-radius:8px;overflow:hidden;background:#1a1a1a;cursor:pointer;transition:transform .15s,box-shadow .15s}.song-card:hover{transform:translateY(-2px);box-shadow:0 4px 16px #0006}.song-card-thumb{aspect-ratio:16 / 9;background-color:#111;background-size:cover;background-position:center;position:relative;display:flex;align-items:flex-end}.song-card-analyzing{display:flex;align-items:center;justify-content:center;gap:.5rem;width:100%;height:100%;color:#888;font-size:.8rem}.song-card-title{width:100%;padding:6px 10px;font-size:.85rem;font-weight:500;background:linear-gradient(transparent,#000c);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.song-card-meta{display:flex;align-items:center;gap:.5rem;padding:10px 12px;font-size:.8rem;color:#888}.song-card-duration{flex-shrink:0}.song-card-status{flex:1;text-transform:capitalize}.song-card-status.rendered{color:#4ade80}.song-card-status.draft{color:#a78bfa}.song-card-status.analyzing{color:#facc15}.song-card-delete{background:none;border:none;color:#666;font-size:.75rem;cursor:pointer;padding:2px 6px;line-height:1;text-transform:lowercase;opacity:0;transition:opacity .15s}.song-card:hover .song-card-delete{opacity:1}.song-card-delete:hover{color:#f87171}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:1000}.modal-dialog{background:#1e1e2e;border-radius:12px;padding:24px;max-width:400px;width:90%;color:#e0e0e0}.modal-dialog h3{margin:0 0 12px;font-size:1.1rem}.modal-dialog p{margin:0 0 20px;color:#aaa}.modal-actions{display:flex;gap:10px;justify-content:flex-end}.btn-danger{background:#dc2626;color:#fff}.btn-danger:hover{background:#b91c1c}.auth-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:2rem}.auth-card{width:100%;max-width:380px;display:flex;flex-direction:column;align-items:center;gap:1rem}.auth-logo{height:3rem;width:auto;border-radius:8px;margin-bottom:.5rem}.auth-title{font-size:1.4rem;font-weight:600;color:#fff;margin-bottom:.5rem}.auth-error{color:#ef4444;font-size:.85rem;text-align:center;background:#ef44441a;border:1px solid rgba(239,68,68,.3);border-radius:6px;padding:.5rem .75rem;width:100%}.auth-btn{width:100%;padding:.7rem 1rem;border-radius:8px;border:1px solid #333;background:#1a1a1a;color:#fff;font-family:inherit;font-size:.9rem;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:.6rem;transition:background .2s,border-color .2s}.auth-btn:hover:not(:disabled){background:#252525;border-color:#444}.auth-btn:disabled{opacity:.5;cursor:not-allowed}.auth-btn-google{background:#fff;color:#333;border-color:#ddd;font-weight:500}.auth-btn-google:hover:not(:disabled){background:#f5f5f5;border-color:#ccc}.auth-btn-primary{background:#a855f7;border-color:#a855f7;font-weight:600}.auth-btn-primary:hover:not(:disabled){background:#9333ea}.auth-btn-link{background:transparent;border:none;color:#888;font-size:.85rem}.auth-btn-link:hover:not(:disabled){color:#ccc;background:transparent}.auth-divider{display:flex;align-items:center;gap:1rem;width:100%;color:#555;font-size:.8rem}.auth-divider:before,.auth-divider:after{content:"";flex:1;height:1px;background:#333}.auth-field{width:100%;display:flex;flex-direction:column;gap:.35rem}.auth-field label{font-size:.8rem;color:#888;font-weight:500}.auth-field input{width:100%;padding:.65rem .75rem;background:#111;border:1px solid #333;border-radius:8px;color:#fff;font-family:inherit;font-size:.9rem}.auth-field input:focus{outline:none;border-color:#a855f7}.auth-hint{font-size:.85rem;color:#999;text-align:center}.auth-hint strong{color:#ccc}.settings-dialog{background:#1a1a1a;border:1px solid #333;border-radius:12px;padding:1.5rem;max-width:420px;width:90%;position:relative;display:flex;flex-direction:column;gap:1rem}.settings-header{display:flex;justify-content:space-between;align-items:center}.settings-header h3{font-size:1.1rem;font-weight:600;color:#fff;margin:0}.settings-section{display:flex;flex-direction:column;gap:.35rem}.settings-label{font-size:.8rem;font-weight:500;color:#888;text-transform:uppercase;letter-spacing:.04em}.settings-value{font-size:.9rem;color:#ccc}.settings-name-row{display:flex;gap:.5rem;align-items:center}.settings-input{flex:1;padding:.5rem .75rem;background:#111;border:1px solid #333;border-radius:6px;color:#fff;font-family:inherit;font-size:.9rem}.settings-input:focus{outline:none;border-color:#a855f7}.settings-msg{font-size:.8rem}.settings-msg-ok{color:#4ade80}.settings-msg-err{color:#ef4444}.settings-divider{height:1px;background:#333;margin:.25rem 0}.settings-passkey-header{display:flex;justify-content:space-between;align-items:center}.settings-passkey-list{list-style:none;display:flex;flex-direction:column;gap:.5rem;margin-top:.25rem}.settings-passkey-item{display:flex;align-items:center;justify-content:space-between;padding:.5rem .75rem;background:#111;border:1px solid #222;border-radius:6px}.settings-passkey-info{display:flex;flex-direction:column;gap:.125rem}.settings-passkey-name{font-size:.875rem;color:#ddd}.settings-passkey-date{font-size:.75rem;color:#666}
