@import "https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,600;0,700;1,600;1,700&family=Poppins:wght@400;500;600;700&display=swap";*{box-sizing:border-box;margin:0;padding:0;font-family:Poppins,sans-serif}body{color:#111827;-webkit-font-smoothing:antialiased;background-color:#fff}button{cursor:pointer}button:focus-visible,input:focus-visible{outline-offset:2px;outline:2px solid #ff1f1f}.header-container{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);z-index:1000;background-color:#ffffffe6;border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;width:100%;padding:20px;font-size:.9rem;display:flex;position:sticky;top:0}.header-container .navlinks{align-items:center;gap:20px;font-size:1.02rem;display:flex}.header-container li{list-style:none}.header-container .navlinks a{color:#555;font-weight:500;text-decoration:none;transition:color .2s}.logo img{width:8em;height:auto}.logo .clip{color:#ff1f1f;font-weight:700}.navlinks .link1 a{color:#ff1f1f}.navlinks a:hover{border-bottom:2px solid #dc2626;padding-bottom:4px}.heading{text-align:center;max-width:560px;margin-bottom:36px}.heading .aitext{color:#dc2626;background:#fff5f5;border:1px solid #fecaca;border-radius:999px;margin-bottom:18px;padding:6px 14px;font-size:.82rem;font-weight:600;display:inline-block}.heading h1,.heading h2{letter-spacing:-.02em;font-family:Cormorant Garamond,serif;font-size:4rem;font-weight:700;line-height:1}.heading h2{color:#ff1f1f;margin-bottom:18px;font-style:italic}.heading p:last-child{color:#6b7280;max-width:460px;margin:0 auto;font-size:1.05rem;line-height:1.7}.upload-container{flex-direction:column;align-items:center;max-width:760px;margin:0 auto;padding:48px 20px 72px;display:flex}.upload-area{background:#fafafa;border:1.5px solid #e5e7eb;border-radius:14px;width:100%;max-width:560px;padding:36px 56px;transition:border-color .2s,background-color .2s;position:relative}.upload-area:before,.upload-area:after{content:"";background:linear-gradient(#e2e8f0 50%,#0000 50%) 0 0/9px 28px repeat-y;width:9px;transition:background-image .2s;position:absolute;top:16px;bottom:16px}.upload-area:before{left:20px}.upload-area:after{right:20px}.upload-area.dragging{background:#fff5f5;border-color:#ff1f1f}.upload-area.dragging:before,.upload-area.dragging:after{background-image:linear-gradient(#ff1f1f 50%,#0000 50%)}.upload-area-inner{flex-direction:column;align-items:center;gap:14px;display:flex}.upload-area input[type=file]{display:none}.drag-icon{color:#fff;background-color:#ff1f1f;border-radius:50%;place-items:center;width:56px;height:56px;font-size:1.9rem;display:grid}.upload-area-inner .dragtxt{font-size:1.05rem;font-weight:600}.uploadBtn{color:#fff;background:#ff1f1f;border:none;border-radius:999px;padding:12px 34px;font-size:1rem;font-weight:600;transition:background-color .2s}.uploadBtn:hover{background:#dc2626}.divider{color:#9ca3af;align-items:center;gap:12px;width:100%;margin:6px 0;font-size:.85rem;display:flex}.divider:before,.divider:after{content:"";background:#e5e7eb;flex:1;height:1px}.linkInput{background:#fff;border:1px solid #d1d5db;border-radius:999px;align-items:center;gap:8px;width:100%;padding:5px 5px 5px 14px;transition:border-color .2s;display:flex}.linkInput:focus-within{border-color:#ff1f1f}.linkInput .link-icon{color:#9ca3af;flex-shrink:0;font-size:1.2rem}.linkInput input[type=text]{background:0 0;border:none;outline:none;flex:1;min-width:0;padding:8px 4px;font-size:.95rem}.uploadBtn2{color:#fff;background:#ff1f1f;border:none;border-radius:999px;flex-shrink:0;padding:10px 22px;font-size:.85rem;font-weight:600;transition:background-color .2s}.uploadBtn2:hover{background:#dc2626}.uploadBtn2:disabled,.uploadAllBtn:disabled{opacity:.5;cursor:not-allowed}.upload-area-inner .notice{color:#dc2626;text-align:center;font-size:.85rem}.upload-area-inner .note{color:#9ca3af;font-size:.85rem}.file-list{flex-direction:column;gap:16px;width:100%;max-width:560px;margin-top:28px;display:flex}.file-items-container{flex-direction:column;gap:10px;list-style:none;display:flex}.file-item{background:#fff;border:1px solid #e5e7eb;border-radius:12px;align-items:center;gap:14px;padding:14px 16px;display:flex}.file-item.error{background:#fef2f2;border-color:#fca5a5}.file-item-icon{color:#ff1f1f;background:#fff5f5;border-radius:10px;flex-shrink:0;place-items:center;width:44px;height:44px;font-size:1.5rem;display:grid}.file-item-details{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.file-name{text-overflow:ellipsis;white-space:nowrap;font-size:.95rem;font-weight:600;overflow:hidden}.file-size{color:#6b7280;align-items:center;gap:8px;font-size:.82rem;display:flex}.error-badge{color:#b91c1c;background:#fee2e2;border-radius:4px;padding:2px 8px;font-size:.78rem;font-weight:600}.upload-status .status{align-items:center;gap:5px;font-size:.85rem;font-weight:600;display:inline-flex}.upload-status .status.uploading{color:#d97706}.upload-status .status.processing{color:#dc2626}.upload-status .status.uploaded{color:#059669}.upload-status .status.error{color:#dc2626}.progress-wrapper{align-items:center;gap:10px;margin-top:6px;display:flex}.progress-bar{background:#e5e7eb;border-radius:999px;flex:1;height:8px;position:relative;overflow:hidden}.progress-bar-fill{background:linear-gradient(90deg,#ff1f1f 0%,#ff7474 100%);border-radius:999px;width:0%;height:100%;transition:width .25s;position:relative;overflow:hidden}.progress-bar.processing .progress-bar-fill:after{content:"";background:linear-gradient(90deg,#0000,#ffffff8c,#0000);animation:1.4s linear infinite barSweep;position:absolute;inset:0}@keyframes barSweep{0%{transform:translate(-100%)}to{transform:translate(100%)}}.progress-label{color:#374151;text-align:right;min-width:38px;font-size:.78rem;font-weight:600}.remove-file-btn{color:#9ca3af;background:0 0;border:none;border-radius:8px;flex-shrink:0;place-items:center;width:34px;height:34px;font-size:1.3rem;transition:background-color .2s,color .2s;display:grid}.remove-file-btn:hover{color:#dc2626;background:#fee2e2}.file-list-header{background:#fafafa;border:1px solid #e5e7eb;border-radius:12px;justify-content:space-between;align-items:center;padding:12px 16px;display:flex}.file-list-header h3{color:#374151;font-size:.95rem;font-weight:600}.uploadAllBtn{color:#fff;background:#ff1f1f;border:none;border-radius:999px;padding:9px 22px;font-size:.9rem;font-weight:600;transition:background-color .2s}.uploadAllBtn:hover:not(:disabled){background:#dc2626}.upload-result-container{background:#fff;border:1px solid #e5e7eb;border-radius:16px;margin-top:12px;padding:24px;animation:.4s resultAppear;box-shadow:0 12px 32px #0f172a12}@keyframes resultAppear{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.result-header{margin-bottom:18px}.result-header h3{font-family:poppins;font-size:1.7rem;font-weight:700;line-height:1.1}.result-header p{color:#6b7280;margin-top:4px;font-size:.88rem}.movie-results-list{flex-direction:column;gap:14px;display:flex}.movie-result{background:#fafafa;border:1px solid #eee;border-radius:12px;align-items:flex-start;gap:18px;padding:16px;display:flex}.movie-result-icon{color:#9ca3af;background:#f1f5f9;border-radius:8px;flex-shrink:0;place-items:center;width:100px;height:150px;font-size:2rem;display:grid;overflow:hidden}.movie-result-icon img{object-fit:cover;width:100%;height:100%;display:block}.movie-result-info{min-width:0;line-height:1.5}.movie-result-info h3{margin-bottom:10px;font-family:poppins;font-size:1rem;font-weight:700;line-height:1.1}.movie-chips{flex-flow:column wrap;margin-bottom:10px;display:flex}.chip{color:#374151;padding:3px 10px;font-size:.93rem}.movie-result-info p{color:#6b7280;font-size:.88rem}.movie-result-info strong{color:#111827;font-weight:600}.history-page{width:min(760px,100%);margin:0 auto;padding:40px 20px 60px}.history-header{text-align:center;margin-bottom:24px}.history-header .aitext{letter-spacing:.18em;color:#dc2626;text-transform:uppercase;margin-bottom:12px;font-size:.85rem;font-weight:700}.history-header h1{color:#111;margin-bottom:8px;font-size:clamp(1.8rem,3vw,2.2rem);line-height:1.2}.history-header p{color:#6b7280;max-width:560px;margin:0 auto;line-height:1.6}.history-empty{text-align:center;color:#6b7280;background:#fff;border:1px dashed #d1d5db;border-radius:20px;padding:32px 20px}.history-empty h2{color:#111827;margin-bottom:8px;font-size:1.5rem}.history-empty p{font-size:1rem}.history-list{flex-direction:column;gap:12px;width:100%;display:flex}.history-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;justify-content:space-between;align-items:flex-start;gap:14px;padding:16px 18px;transition:transform .2s,box-shadow .2s,border-color .2s;display:flex;box-shadow:0 8px 24px #0f172a0a}.history-card:hover{border-color:#d1d5db;transform:translateY(-1px);box-shadow:0 12px 28px #0f172a14}.history-card-thumb{background:#f8fafc;border-radius:16px;flex-shrink:0;width:100px;height:auto;overflow:hidden;box-shadow:inset 0 0 0 1px #e5e7eb}.history-card-thumb img{object-fit:cover;width:100%;height:100%;display:block}.history-card-thumb-fallback,.history-card-preview-fallback{background:linear-gradient(#f9fafb 0%,#e5e7eb 100%)}.history-card-preview-fallback{width:100%;height:100%}.history-card-body{flex-direction:column;flex:1;justify-items:center;min-width:0;margin-top:5px;display:flex}.history-card-details{flex-direction:column;gap:16px;display:flex}.history-card-main{flex-flow:row;justify-content:center;align-items:flex-start;gap:8px;display:flex}.history-card-title-group{flex:1;min-width:0;display:flex}.history-card-title-group h3{color:#111;font-size:1.1rem;font-weight:700}.history-filename{color:#6b7280;margin-top:6px;font-size:.95rem}.history-result-meta{color:#4b5563;margin-top:4px;font-size:.9rem}.history-meta{color:#6b7280;align-items:center;gap:10px;font-size:.95rem;line-height:1.6;display:inline-flex}.history-meta-separator{background:#cbd5e1;border-radius:50%;width:4px;height:4px}.history-meta-row{flex-flow:column wrap;gap:10px;display:flex}.history-meta-pill{color:#6b7280;align-items:center;gap:6px;font-size:.9rem;line-height:1.5;display:inline-flex}.history-meta-pill strong{color:#333}.history-delete-button{color:red;background:0 0;border:none;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:38px;height:38px;padding:0;font-size:1.2rem;display:inline-flex}.history-delete-button:hover{color:#ef4444;background:#f3f4f6}@media (width<=640px){.heading h1,.heading h2{font-size:3rem}.upload-area{padding:32px 40px}.upload-area:before{left:14px}.upload-area:after{right:14px}.upload-result-container{padding:14px}.movie-result{gap:15px;padding:10px}.movie-result-icon{aspect-ratio:2/3;width:96px;height:auto}.movie-result-info{flex-direction:column;gap:5px;line-height:1.4;display:flex}.movie-result-info h3{margin-bottom:6px;font-size:1.2rem;line-height:1;overflow:hidden}.movie-chips{gap:5px;margin:0}.chip{-webkit-box-orient:vertical;padding:0;font-size:.78rem;display:-webkit-box;overflow:hidden}.movie-result-info p{margin:0;font-size:.78rem}.history-page{padding:24px 16px 48px}.history-header{margin-bottom:20px}.history-card{padding:14px}.history-card-main{justify-content:space-between}.history-delete-button{align-self:flex-start;width:34px;height:34px}.history-meta-row{gap:4px}}@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
