.subtitle-overlay{position:absolute;bottom:8%;left:0;right:0;width:100%;padding:0 .25rem;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;z-index:10;box-sizing:border-box;max-width:100%;pointer-events:none;transition:bottom .2s ease}.subtitle-overlay.controls-visible{bottom:18%}.video-player-shell:fullscreen .subtitle-overlay,.video-player-shell:-webkit-full-screen .subtitle-overlay,.video-player-shell.is-fullscreen .subtitle-overlay{bottom:max(8vh,72px);padding:0 1rem}.video-player-shell:fullscreen .subtitle-overlay.controls-visible,.video-player-shell:-webkit-full-screen .subtitle-overlay.controls-visible,.video-player-shell.is-fullscreen .subtitle-overlay.controls-visible{bottom:max(13vh,104px)}.subtitle-en,.subtitle-zh{color:#fff;font-family:Noto Sans TC,YouTube Noto,Roboto,Arial,sans-serif;font-weight:400;line-height:1.3;max-width:99%;white-space:normal;overflow-wrap:anywhere;background:#080808bf;padding:.1em .4em;border-radius:2px}.subtitle-en{font-size:clamp(var(--subtitle-en-min, .8rem),var(--subtitle-en-fluid, 2vh),var(--subtitle-en-max, 1.3rem));margin-bottom:2px}.subtitle-zh{font-size:clamp(var(--subtitle-zh-min, .9rem),var(--subtitle-zh-fluid, 2.3vh),var(--subtitle-zh-max, 1.5rem))}.video-player-shell:fullscreen .subtitle-en,.video-player-shell:-webkit-full-screen .subtitle-en,.video-player-shell.is-fullscreen .subtitle-en{font-size:clamp(var(--subtitle-fullscreen-en-min, 1.05rem),var(--subtitle-fullscreen-en-fluid, 2.8vh),var(--subtitle-fullscreen-en-max, 2rem));margin-bottom:.18em}.video-player-shell:fullscreen .subtitle-zh,.video-player-shell:-webkit-full-screen .subtitle-zh,.video-player-shell.is-fullscreen .subtitle-zh{font-size:clamp(var(--subtitle-fullscreen-zh-min, 1.15rem),var(--subtitle-fullscreen-zh-fluid, 3.2vh),var(--subtitle-fullscreen-zh-max, 2.35rem))}@media (max-width: 640px){.subtitle-overlay{bottom:3%;padding:0 .15rem}.subtitle-overlay.controls-visible{bottom:66px}}@media (hover: none) and (pointer: coarse){.subtitle-overlay{bottom:3%}.subtitle-overlay.controls-visible{bottom:66px}}.video-player{margin-bottom:2rem}.video-player-shell{width:100%;aspect-ratio:16 / 9;position:relative;overflow:hidden;background:#000}.video-player-stage{width:100%;height:100%;position:relative;background:#000}.video-player-iframe-target,.video-player-iframe-target iframe{width:100%;height:100%}.video-player-iframe-target iframe{display:block;border:0}.video-player-fullscreen-button{position:absolute;top:12px;left:12px;z-index:80;min-height:38px;padding:0 12px;border:1px solid rgba(255,255,255,.42);border-radius:4px;background:#0f0f0fd1;color:#fff;font:600 .9rem/1 -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Arial,sans-serif;display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;box-shadow:0 2px 10px #00000059;transition:background .18s ease,border-color .18s ease,opacity .18s ease}.video-player-fullscreen-button:hover:not(:disabled),.video-player-fullscreen-button:focus-visible{background:#000000f0;border-color:#ffffffc7}.video-player-fullscreen-button:focus-visible{outline:3px solid rgba(74,163,255,.78);outline-offset:2px}.video-player-fullscreen-icon{font-size:1rem;line-height:1}.video-player-fullscreen-error{position:absolute;top:58px;left:12px;z-index:80;max-width:min(360px,calc(100% - 24px));padding:8px 10px;border-radius:4px;background:#82181aeb;color:#fff;font-size:.88rem;line-height:1.35}.video-player-playback-error{position:absolute;top:0;right:0;bottom:0;left:0;z-index:24;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:clamp(20px,5vw,48px);background:#000000c7;color:#fff;text-align:center;line-height:1.45}.video-player-playback-error strong{font-size:clamp(1.05rem,2.3vw,1.6rem)}.video-player-playback-error span{max-width:680px;font-size:clamp(.92rem,1.6vw,1.08rem)}.video-player-playback-error a{min-height:38px;padding:0 14px;border-radius:4px;background:#fff;color:#111;display:inline-flex;align-items:center;justify-content:center;font-weight:700;text-decoration:none}.video-player-playback-error a:hover,.video-player-playback-error a:focus-visible{background:#f1f1f1}.video-player-replay-indicator{position:absolute;top:60px;left:16px;z-index:20;display:flex;align-items:center;gap:10px;max-width:calc(100% - 190px);padding:10px 16px;border-radius:4px;background:#000c;color:gold;font-size:1.1rem;font-weight:700;line-height:1.25;text-shadow:0 2px 4px rgba(0,0,0,.9)}.video-player-time{margin-top:1rem}.video-player-shell:fullscreen,.video-player-shell:-webkit-full-screen,.video-player-shell.is-fullscreen,.video-player-shell.is-css-fullscreen{width:100vw;height:100vh;height:100dvh;aspect-ratio:auto;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#000}.video-player-shell.is-css-fullscreen{position:fixed;top:0;right:0;bottom:0;left:0;z-index:2147483000}.video-player-shell:fullscreen .video-player-stage,.video-player-shell:-webkit-full-screen .video-player-stage,.video-player-shell.is-fullscreen .video-player-stage,.video-player-shell.is-css-fullscreen .video-player-stage{width:min(100vw,calc(100vh * 16 / 9));height:min(100vh,56.25vw);width:min(100vw,calc(100dvh * 16 / 9));height:min(100dvh,56.25vw);flex:0 0 auto}.video-player-shell:fullscreen .video-player-fullscreen-button,.video-player-shell:-webkit-full-screen .video-player-fullscreen-button,.video-player-shell.is-fullscreen .video-player-fullscreen-button,.video-player-shell.is-css-fullscreen .video-player-fullscreen-button{top:max(14px,env(safe-area-inset-top));left:max(14px,env(safe-area-inset-left))}.video-player-shell.is-css-fullscreen .video-player-fullscreen-error{top:calc(max(14px,env(safe-area-inset-top)) + 46px);left:max(14px,env(safe-area-inset-left))}@media (max-width: 640px){.video-player{margin-bottom:1rem}.video-player-fullscreen-button{min-height:34px;padding:0 10px;font-size:.82rem}.video-player-time{margin-top:.55rem;font-size:.88rem}.video-player-replay-indicator{top:52px;left:10px;max-width:calc(100% - 20px);padding:8px 10px;font-size:.88rem}}.sidebar{background:#fff;border-radius:8px;overflow:hidden;border:1px solid #e0e0e0;height:fit-content;position:sticky;top:64px;min-width:0}.sidebar-tabs{display:flex;border-bottom:1px solid #e0e0e0}.sidebar-tab{flex:1;min-height:44px;padding:.75rem;border:none;background:none;cursor:pointer;font-size:.9rem;color:#666}.sidebar-tab.active{color:#212121;font-weight:600;border-bottom:2px solid #ff0000}.sidebar-content{max-height:70vh;overflow-y:auto}.sidebar-item{display:flex;align-items:center;gap:.5rem;padding:.5rem .75rem;cursor:pointer;border-bottom:1px solid #f0f0f0;transition:background .15s}.sidebar-item:hover{background:#f9f9f9}.sidebar-item.active{background:#eef5ff}.sidebar-thumb{width:80px;height:45px;object-fit:cover;border-radius:3px;flex-shrink:0}.sidebar-item-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:.2rem}.sidebar-video-id{font-size:.8rem;color:#333;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-date{font-size:.75rem;color:#999}.sidebar-badges{display:flex;flex-wrap:wrap;gap:.25rem;margin-top:.05rem}.sidebar-badge{display:inline-flex;align-items:center;width:max-content;max-width:100%;padding:.1rem .35rem;border-radius:3px;font-size:.65rem;line-height:1.2;font-weight:600;color:#3f3f3f;background:#eceff1}.sidebar-badge.processed{color:#14532d;background:#dcfce7}.sidebar-badge.shadowing{color:#7c2d12;background:#ffedd5}.sidebar-badge.youtube{color:#9f1239;background:#ffe4e6}.playlist-panel{padding:.75rem;border-bottom:1px solid #f0f0f0;display:flex;flex-direction:column;gap:.75rem}.playlist-select-row{display:flex;flex-direction:column;gap:.35rem}.playlist-select-row label{font-size:.75rem;color:#666;font-weight:600}.playlist-select-row select,.playlist-create input,.playlist-rename input{width:100%;padding:.45rem .5rem;border:1px solid #ddd;border-radius:4px;font-size:.85rem;background:#fff}.playlist-create,.playlist-rename{display:flex;gap:.4rem;min-width:0}.sidebar-import-btn{width:100%;min-height:36px;border:1px solid #cfd6df;border-radius:4px;background:#fff;color:#214d73;padding:.45rem .65rem;cursor:pointer;font-size:.8rem;font-weight:700}.sidebar-import-btn:hover:not(:disabled){background:#f4f7fa;border-color:#9aacbf}.sidebar-import-btn:disabled{opacity:.55;cursor:not-allowed}.playlist-create button,.playlist-rename button{flex:0 0 auto;min-height:38px;border:none;border-radius:4px;background:#212121;color:#fff;padding:.45rem .65rem;cursor:pointer;font-size:.8rem}.playlist-create button:disabled,.playlist-rename button:disabled,.playlist-delete-btn:disabled,.sidebar-add-btn:disabled{opacity:.55;cursor:not-allowed}.playlist-delete-btn{align-self:flex-start;border:1px solid #d32f2f;border-radius:4px;background:#fff;color:#b71c1c;padding:.45rem .65rem;cursor:pointer;font-size:.8rem}.playlist-delete-btn:hover:not(:disabled){background:#fff5f5}.sidebar-add-btn{display:block;width:100%;padding:.5rem;background:#f0f0f0;border:none;border-radius:4px;cursor:pointer;font-size:.85rem}.sidebar-add-btn:hover:not(:disabled){background:#e0e0e0}.sidebar-item-actions{display:flex;align-items:center;gap:.3rem;flex-shrink:0}.sidebar-copy-url-btn{min-height:28px;padding:0 .45rem;border:1px solid #d8dee6;border-radius:4px;background:#fff;color:#2f4f6f;cursor:pointer;font-size:.68rem;font-weight:700;line-height:1;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center}.sidebar-copy-url-btn:hover{background:#f3f7ff;border-color:#9bb8dd}.sidebar-remove-btn{background:none;border:none;color:#999;cursor:pointer;padding:.25rem;flex-shrink:0}.sidebar-remove-btn:hover{color:#d32f2f}.sidebar-empty{padding:2rem 1rem;text-align:center;color:#999;font-size:.9rem}.sidebar-error{padding:.5rem;border:1px solid #f5c6cb;background:#f8d7da;color:#721c24;border-radius:4px;font-size:.78rem;line-height:1.35}.sidebar-notice{padding:.5rem;border:1px solid #d6e4ff;background:#f3f7ff;color:#214d8a;border-radius:4px;font-size:.78rem;line-height:1.35}.playlist-source-detail{min-width:0;display:grid;gap:.35rem;padding:.55rem 0;border-top:1px solid #eee;border-bottom:1px solid #eee}.playlist-source-detail>div{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem}.playlist-source-detail small{color:#777;font-size:.72rem;overflow-wrap:anywhere}.playlist-sync-status{color:#555;font-size:.72rem;font-weight:600;overflow-wrap:anywhere}.playlist-command-row{display:flex;flex-wrap:wrap;gap:.4rem}.playlist-command-row button{min-height:34px;flex:1 1 auto;border:1px solid #ccd2d8;border-radius:4px;background:#fff;color:#333;padding:.4rem .55rem;cursor:pointer;font-size:.75rem;font-weight:600;line-height:1.25;white-space:normal}.playlist-command-row button:hover:not(:disabled){background:#f5f7f9}.playlist-command-row button.is-primary{border-color:#1976d2;background:#1976d2;color:#fff}.playlist-command-row button:disabled{opacity:.55;cursor:not-allowed}@media (max-width: 900px){.sidebar{position:static;top:auto;width:100%}.sidebar-content{max-height:none;overflow-y:visible}}@media (max-width: 640px){.sidebar{border-radius:6px}.sidebar-tabs{position:sticky;top:0;z-index:1;background:#fff}.sidebar-tab{font-size:.95rem}.sidebar-item{align-items:flex-start;padding:.65rem .75rem}.sidebar-thumb{width:76px;height:43px}.sidebar-video-id{white-space:normal;overflow-wrap:anywhere}.playlist-panel{padding:.75rem}.playlist-create,.playlist-rename{flex-wrap:wrap}.playlist-create input,.playlist-rename input,.playlist-create button,.playlist-rename button,.playlist-delete-btn,.sidebar-add-btn{width:100%;min-height:42px}.sidebar-import-btn,.playlist-command-row button{min-height:42px}.sidebar-remove-btn{min-width:36px;min-height:36px}.sidebar-item-actions{flex-direction:column;align-items:stretch}.sidebar-copy-url-btn{min-height:36px;padding:0 .5rem}}.admin-page{min-height:calc(100vh - 48px);background:#f5f5f5;padding:1.5rem}.admin-shell{max-width:1440px;margin:0 auto;min-width:0}.admin-header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1rem}.admin-header>div,.admin-panel,.admin-summary-item,.admin-table-wrap{min-width:0}.admin-page .btn{line-height:1.2;max-width:100%;white-space:normal}.admin-header h1{font-size:1.8rem;line-height:1.2;margin-bottom:.25rem}.admin-header p,.admin-panel-heading span,.admin-row-button span{color:#666;font-size:.9rem;overflow-wrap:anywhere}.admin-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem;margin-bottom:1rem}.admin-summary-item,.admin-panel{background:#fff;border:1px solid #e5e5e5;border-radius:8px}.admin-summary-item{padding:.9rem 1rem;min-height:78px}.admin-summary-item span{display:block;color:#666;font-size:.85rem;margin-bottom:.35rem}.admin-summary-item strong{display:block;font-size:1.55rem;line-height:1.1;overflow-wrap:anywhere}.admin-grid{display:grid;grid-template-columns:minmax(360px,.9fr) minmax(420px,1.1fr);gap:1rem;align-items:start}.admin-ops-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.8fr);gap:1rem;margin-bottom:1rem;align-items:start}.admin-panel{padding:1rem}.admin-panel-heading{display:flex;align-items:baseline;flex-wrap:wrap;justify-content:space-between;gap:1rem;margin-bottom:.85rem}.admin-panel-heading h2{font-size:1.15rem;min-width:0}.admin-panel-heading span{min-width:0;text-align:right}.admin-search{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:.6rem;margin-bottom:.85rem}.admin-search input{min-width:0;padding:10px;border:1px solid #ddd;border-radius:4px;font-size:.95rem}.admin-user-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.55rem;margin-bottom:.85rem}.admin-user-filters select{min-width:0;padding:9px;border:1px solid #ddd;border-radius:4px;font-size:.86rem}.admin-table-wrap{max-width:100%;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;width:100%;overflow-x:auto}.admin-table{width:100%;border-collapse:collapse;font-size:.92rem}.admin-table th,.admin-table td{border-bottom:1px solid #eee;padding:.7rem .55rem;text-align:left;vertical-align:middle;overflow-wrap:anywhere}.admin-table th{color:#666;font-size:.78rem;font-weight:700;text-transform:uppercase}.admin-table tbody tr{transition:background .15s ease}.admin-users-panel .admin-table tbody tr{cursor:pointer}.admin-table tbody tr:hover,.admin-table tbody tr.is-selected{background:#f7f9fc}.admin-row-button{width:100%;display:flex;flex-direction:column;align-items:flex-start;gap:.2rem;background:transparent;border:0;color:inherit;cursor:pointer;font:inherit;padding:0;text-align:left}.admin-row-button strong,.admin-row-button span,.admin-detail-list dd{max-width:100%;overflow-wrap:anywhere}.admin-detail-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem;margin-bottom:1rem}.admin-detail-list div{background:#f9f9f9;border-radius:4px;padding:.7rem}.admin-detail-list dt{color:#666;font-size:.78rem;font-weight:700;margin-bottom:.2rem;text-transform:uppercase}.admin-detail-list dd{font-size:.92rem}.admin-edit-form{border-top:1px solid #eee;padding-top:1rem}.admin-access-section{border-top:1px solid #eee;padding-top:1rem;margin-bottom:1rem}.admin-subheading{display:flex;align-items:baseline;flex-wrap:wrap;justify-content:space-between;gap:.75rem;margin-bottom:.75rem}.admin-subheading h3{font-size:1rem;line-height:1.25;min-width:0}.admin-subheading span,.admin-muted{color:#666;font-size:.85rem;overflow-wrap:anywhere}.admin-note{background:#fff8e1;border:1px solid #ffe0a3;border-radius:4px;color:#6f4d00;font-size:.86rem;line-height:1.4;margin-bottom:.75rem;overflow-wrap:anywhere;padding:.6rem .7rem}.admin-access-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem;margin-bottom:.75rem}.admin-access-block{margin-bottom:.85rem}.admin-access-label{color:#666;display:block;font-size:.78rem;font-weight:700;margin-bottom:.35rem;text-transform:uppercase}.admin-pill-list{display:flex;flex-wrap:wrap;gap:.35rem;min-height:1.75rem}.admin-pill{align-items:center;background:#e8f1ff;border:1px solid #cfe1ff;border-radius:4px;color:#174a8b;display:inline-flex;font-size:.82rem;line-height:1.25;max-width:100%;min-height:1.55rem;overflow-wrap:anywhere;padding:.15rem .45rem;white-space:normal}.admin-pill-muted{background:#f2f2f2;border-color:#dedede;color:#555}.admin-pill-permission{background:#eef7ee;border-color:#d5ead5;color:#27632a}.admin-role-form{border-top:1px solid #eee;margin-top:.85rem;padding-top:.85rem}.admin-role-options{display:grid;gap:.5rem;margin-bottom:.9rem}.admin-role-option{align-items:flex-start;background:#f9f9f9;border:1px solid #e8e8e8;border-radius:4px;cursor:pointer;display:grid;gap:.55rem;grid-template-columns:auto minmax(0,1fr);padding:.65rem}.admin-role-option input{margin-top:.2rem}.admin-role-option strong,.admin-role-option small,.admin-role-option em{display:block}.admin-role-option strong{font-size:.92rem;line-height:1.25}.admin-role-option small{color:#666;font-size:.78rem;line-height:1.35;margin-top:.1rem}.admin-role-option em{color:#555;font-size:.82rem;font-style:normal;line-height:1.35;margin-top:.25rem}.admin-access-readonly{border-top:1px solid #eee;margin-top:.85rem;padding-top:.75rem}.admin-billing-block+.admin-billing-block{margin-top:.9rem}.admin-billing-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem;margin-top:.45rem}.admin-billing-grid div{background:#f9f9f9;border:1px solid #eee;border-radius:4px;padding:.6rem}.admin-billing-grid dt{color:#666;font-size:.74rem;font-weight:700;margin-bottom:.2rem;text-transform:uppercase}.admin-billing-grid dd{font-size:.9rem;overflow-wrap:anywhere}.admin-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 1rem}.admin-page .form-group,.admin-page .form-group input,.admin-page .form-group select,.admin-page .form-group textarea{min-width:0;max-width:100%}.admin-page .form-group small{display:block;margin-top:.35rem;overflow-wrap:anywhere}.admin-plans-panel{margin-top:1rem}.admin-plan-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.8fr);gap:1rem;align-items:start}.admin-plan-form{border-left:1px solid #eee;padding-left:1rem}.admin-form-section{align-self:end;border-top:1px solid #eee;grid-column:1 / -1;margin-top:.25rem;padding-top:.85rem}.admin-form-section label{margin-bottom:.2rem}.admin-provider-summary{color:#444;display:inline-block;font-size:.86rem;max-width:14rem;overflow-wrap:anywhere}.admin-check-row{align-self:end;display:inline-flex;align-items:center;gap:.45rem;min-height:2.75rem;color:#333;font-size:.92rem}.admin-check-row input{width:auto}.admin-edit-form textarea{resize:vertical}.admin-inline-check{display:inline-flex;align-items:center;gap:.35rem;color:#555;font-size:.86rem;margin-top:.35rem}.admin-inline-check input{width:auto}.admin-empty,.admin-empty-cell{color:#666;padding:1rem;text-align:center}.admin-jobs-panel{margin-top:1rem}.admin-health-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem;margin-bottom:.9rem}.admin-health-grid div{background:#f9f9f9;border-radius:4px;padding:.65rem}.admin-health-grid span{color:#666;display:block;font-size:.78rem;font-weight:700;margin-bottom:.25rem;text-transform:uppercase}.admin-health-grid strong{font-size:1.25rem}.admin-env-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(13rem,1fr));gap:.5rem}.admin-env-item{padding:.55rem .65rem;border:1px solid #ddd;border-radius:6px;background:#f7f7f7;min-width:0}.admin-env-item strong,.admin-env-item span{display:block;overflow-wrap:anywhere}.admin-env-item strong{font-size:.78rem}.admin-env-item span{margin-top:.2rem;color:#666;font-size:.78rem}.admin-env-item.is-missing{background:#fff8e6;border-color:#f0d58c}.admin-breakdown{margin-top:.8rem}.admin-audit-list{display:grid;gap:.55rem;max-height:260px;overflow:auto}.admin-shares-panel{grid-column:1 / -1}.admin-share-search{margin-bottom:.85rem}.admin-mono{font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:.86em;overflow-wrap:anywhere}.admin-audit-item{background:#f9f9f9;border:1px solid #eee;border-radius:4px;padding:.6rem}.admin-audit-item strong,.admin-audit-item span,.admin-audit-item small{display:block;overflow-wrap:anywhere}.admin-audit-item span,.admin-audit-item small{color:#666;font-size:.82rem;margin-top:.15rem}.admin-compact-form{border-top:1px solid #eee;margin-top:.85rem;padding-top:.85rem}.admin-quota-reset-form{margin-top:1rem}.admin-compact-table{font-size:.84rem}.admin-link-button{background:transparent;border:0;color:#0b73e8;cursor:pointer;font:inherit;max-width:100%;overflow-wrap:anywhere;padding:0;text-align:left}.admin-link-button:hover{text-decoration:underline}.admin-error-snippet{color:#b71c1c;display:block;font-size:.78rem;line-height:1.35;max-width:min(360px,100%);overflow-wrap:anywhere}.admin-job-filters{display:grid;grid-template-columns:160px repeat(3,minmax(0,1fr)) auto auto;gap:.6rem;margin-bottom:.85rem}.admin-job-filters input,.admin-job-filters select{min-width:0;padding:10px;border:1px solid #ddd;border-radius:4px;font-size:.92rem}.admin-job-detail{border-top:1px solid #eee;margin-top:1rem;padding-top:1rem}.admin-job-actions{border-top:1px solid #eee;margin-top:.85rem;padding-top:.85rem}.admin-button-row{display:flex;flex-wrap:wrap;gap:.6rem}.admin-button-row .btn{flex:1 1 180px}.admin-status{display:inline-flex;align-items:center;min-height:1.5rem;border-radius:4px;background:#eceff1;color:#455a64;font-size:.82rem;font-weight:700;max-width:100%;overflow-wrap:anywhere;padding:.15rem .45rem;white-space:normal}.admin-status-completed,.admin-status-done,.admin-status-success{background:#e8f5e9;color:#2e7d32}.admin-status-failed,.admin-status-error,.admin-status-suspended,.admin-status-deleted{background:#ffebee;color:#c62828}.admin-status-processing,.admin-status-running,.admin-status-pending,.admin-status-queued,.admin-status-queued_media,.admin-status-media_running,.admin-status-trial{background:#fff8e1;color:#8a5a00}.admin-status-canceled,.admin-status-archived{background:#f3f3f3;color:#555}@media (max-width: 980px){.admin-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-grid,.admin-ops-grid,.admin-plan-layout{grid-template-columns:1fr}.admin-job-filters,.admin-user-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-plan-form{border-left:0;border-top:1px solid #eee;padding-left:0;padding-top:1rem}}@media (max-width: 720px){.admin-table-wrap{overflow-x:visible}.admin-table,.admin-table thead,.admin-table tbody,.admin-table tr,.admin-table th,.admin-table td{display:block;width:100%}.admin-table thead{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.admin-table tbody{display:grid;gap:.75rem}.admin-table tr{background:#fff;border:1px solid #e8e8e8;border-radius:6px;padding:.65rem .75rem}.admin-table td{align-items:start;border-bottom:0;display:grid;gap:.6rem;grid-template-columns:minmax(6.75rem,.42fr) minmax(0,1fr);min-height:1.6rem;padding:.38rem 0}.admin-table td:before{color:#666;content:attr(data-label);font-size:.72rem;font-weight:700;letter-spacing:0;text-transform:uppercase}.admin-table .admin-empty-cell{display:block;padding:.85rem}.admin-table .admin-empty-cell:before{content:none}}@media (max-width: 640px){.admin-page{padding:1rem .75rem}.admin-header,.admin-search{grid-template-columns:1fr}.admin-header{display:grid}.admin-panel{padding:.85rem}.admin-panel-heading,.admin-subheading{align-items:start;display:grid;gap:.25rem;grid-template-columns:1fr}.admin-panel-heading span{text-align:left}.admin-header .btn,.admin-search .btn,.admin-job-filters .btn,.admin-subheading .btn,.admin-button-row .btn{width:100%}.admin-summary,.admin-detail-list,.admin-billing-grid,.admin-access-grid,.admin-form-grid,.admin-health-grid,.admin-job-filters,.admin-user-filters{grid-template-columns:1fr}.admin-summary-item{min-height:auto}}@media (max-width: 420px){.admin-table td{gap:.15rem;grid-template-columns:1fr}}.benchmark-page{max-width:1280px;margin:0 auto;padding:24px}.benchmark-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.benchmark-header h1{margin:0;font-size:32px}.benchmark-header p{margin:4px 0 0;color:#666}.benchmark-run-count{color:#666;font-weight:700}.benchmark-controls{display:grid;gap:16px;margin-bottom:16px}.benchmark-controls label{display:grid;gap:6px;font-weight:700}.benchmark-controls select{min-height:42px;border:1px solid #d7d7d7;border-radius:6px;padding:8px 10px;background:#fff;font-size:15px}.benchmark-variant-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.benchmark-variant{border:1px solid #d8d8d8;border-radius:8px;padding:12px;background:#fff}.benchmark-variant.active{border-color:#0d6efd}.benchmark-variant-title{display:grid;gap:6px;margin-bottom:8px}.benchmark-variant-title button{width:fit-content;border:0;border-radius:6px;background:#0d6efd;color:#fff;padding:8px 12px;font-weight:700;cursor:pointer}.benchmark-variant-title button:disabled{background:#9aa3ad;cursor:not-allowed}.benchmark-variant-title span{min-height:20px;color:#4b5563;font-size:13px}.benchmark-variant-title span[data-status=ready]{color:#067647}.benchmark-variant-title span[data-status=error]{color:#b42318}.benchmark-meta,.benchmark-loaded{display:grid;grid-template-columns:2fr 1fr 1fr 2fr;gap:12px;align-items:center;border-top:1px solid #eee;padding:12px 0;color:#444}.benchmark-meta div:first-child{display:grid;gap:2px}.benchmark-meta span,.benchmark-loaded span{color:#666}.benchmark-loaded span:first-child{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:999px;background:#111;color:#fff;font-weight:800}.benchmark-player{margin-top:8px}.benchmark-empty,.benchmark-error{border-radius:8px;padding:16px}.benchmark-empty{background:#f5f5f5;color:#666}.benchmark-error{margin-bottom:16px;border:1px solid #f5c2c7;background:#f8d7da;color:#842029}@media (max-width: 900px){.benchmark-page{padding:16px}.benchmark-variant-grid,.benchmark-meta,.benchmark-loaded{grid-template-columns:1fr}}.share-preview-page{min-height:100vh;background:#f5f5f5;color:#2f2f2f}.share-preview-header{align-items:center;background:#1f1f1f;color:#fff;display:flex;justify-content:space-between;padding:1rem 1.5rem}.share-preview-brand{background:transparent;border:0;color:inherit;cursor:pointer;font:inherit;font-size:1.35rem;font-weight:700;padding:0}.share-preview-actions,.share-preview-signup-actions{display:flex;flex-wrap:wrap;gap:.65rem}.share-preview-main{margin:0 auto;max-width:1100px;padding:1.5rem}.share-preview-copy{margin-bottom:1rem}.share-preview-copy h1{font-size:clamp(2rem,5vw,3.1rem);line-height:1.1;margin:0 0 .5rem}.share-preview-copy p,.share-preview-signup p{color:#666;font-size:1.05rem;margin:0}.share-preview-player-shell{margin:1rem 0;position:relative}.share-preview-play-lock{background:transparent;border:0;cursor:pointer;top:0;right:0;bottom:0;left:0;padding:0;position:absolute;z-index:40}.share-preview-signup{background:#fff;border:1px solid #ddd;border-radius:8px;padding:1rem;transition:border-color .2s ease,box-shadow .2s ease}.share-preview-signup.is-emphasized{border-color:#007bff;box-shadow:0 0 0 3px #007bff29}.share-preview-signup h2{font-size:1.35rem;margin:0 0 .35rem}.share-preview-signup-actions{margin:1rem 0}@media (max-width: 640px){.share-preview-header,.share-preview-main{padding:1rem}.share-preview-header{align-items:flex-start;flex-direction:column;gap:.75rem}.share-preview-actions,.share-preview-signup-actions{width:100%}}.app-nav{position:sticky;top:0;z-index:100;min-height:48px;background:#212121;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.55rem 1.5rem}.app-nav-brand,.app-nav-link{color:#fff;text-decoration:none}.app-nav-brand{font-weight:700;font-size:1.1rem;flex-shrink:0}.app-nav-actions{display:flex;align-items:center;justify-content:flex-end;gap:1.25rem;min-width:0}.app-nav-link{font-size:.95rem;flex-shrink:0}.app-nav-user{min-width:0;max-width:11rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.85rem;color:#bbb}.app-nav-logout{background:transparent;color:#fff;border:1px solid #555;padding:.3rem .75rem;border-radius:4px;cursor:pointer;font-size:.85rem;flex-shrink:0}@media (max-width: 640px){.app-nav{align-items:flex-start;padding:.6rem .75rem}.app-nav-actions{flex-wrap:wrap;row-gap:.35rem;column-gap:.75rem}.app-nav-user{max-width:7.5rem}}.ops-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:1rem;background:#0000006b}.ops-overlay-drawer{justify-content:flex-end;padding:0}.ops-dialog{width:min(620px,100%);max-height:min(760px,calc(100vh - 2rem));display:flex;flex-direction:column;min-width:0;border:1px solid #d8d8d8;border-radius:6px;background:#fff;color:#2a2a2a;box-shadow:0 18px 50px #00000038}.ops-dialog-drawer{width:min(430px,100%);height:100vh;max-height:100vh;border-width:0 0 0 1px;border-radius:0}.ops-dialog-header{min-height:54px;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.75rem 1rem;border-bottom:1px solid #e6e6e6}.ops-dialog-header h2{min-width:0;font-size:1.05rem;line-height:1.3;overflow-wrap:anywhere}.ops-dialog-body{min-width:0;overflow:auto;padding:1rem}.ops-icon-button{width:36px;height:36px;flex:0 0 36px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #ddd;border-radius:4px;background:#fff;color:#333;cursor:pointer;font-size:1rem;font-weight:700}.ops-nav-buttons{display:flex;align-items:center;gap:.4rem}.ops-nav-button{position:relative;width:36px;height:36px;flex:0 0 36px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #555;border-radius:4px;background:transparent;color:#fff;cursor:pointer}.ops-nav-button:hover,.ops-nav-button[aria-expanded=true]{background:#383838;border-color:#777}.ops-nav-symbol{font-size:1rem;line-height:1}.ops-nav-badge{position:absolute;top:-5px;right:-6px;min-width:18px;height:18px;padding:0 4px;display:inline-flex;align-items:center;justify-content:center;border:2px solid #212121;border-radius:9px;background:#d93025;color:#fff;font-size:.65rem;font-weight:700}.ops-run-list,.ops-notification-list{margin:-1rem -1rem 0;border-bottom:1px solid #e5e5e5}.ops-run-row,.ops-notification-row{width:100%;min-width:0;display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.75rem 1rem;border:0;border-bottom:1px solid #ededed;background:#fff;color:#333;text-align:left;cursor:pointer}.ops-run-row:hover,.ops-run-row.is-selected,.ops-notification-row:hover{background:#f4f7fa}.ops-run-row>span:first-child,.ops-notification-copy{min-width:0;display:flex;flex-direction:column;gap:.2rem}.ops-run-row strong,.ops-notification-copy strong,.ops-notification-copy span{overflow-wrap:anywhere}.ops-run-row small,.ops-notification-copy small{color:#777;font-size:.74rem}.ops-status{flex:0 0 auto;padding:.2rem .4rem;border-radius:3px;background:#e8eaed;color:#444;font-size:.72rem;font-weight:700;white-space:nowrap}.ops-status-running,.ops-status-queued{background:#e8f0fe;color:#174ea6}.ops-status-completed,.ops-status-complete,.ops-status-done{background:#e6f4ea;color:#137333}.ops-status-failed,.ops-status-error,.ops-status-quota_blocked{background:#fce8e6;color:#a50e0e}.ops-run-detail{padding-top:1rem}.ops-detail-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.ops-detail-heading h3{margin:0;font-size:.98rem;overflow-wrap:anywhere}.ops-detail-heading p,.ops-help{margin-top:.25rem;color:#666;font-size:.8rem;line-height:1.45}.ops-progress{height:7px;margin:.75rem 0;overflow:hidden;border-radius:3px;background:#e5e7eb}.ops-progress span{display:block;height:100%;background:#1976d2;transition:width .2s ease}.ops-current-item{min-width:0;display:grid;gap:.2rem;padding:.65rem 0;border-top:1px solid #eee;border-bottom:1px solid #eee}.ops-current-item span,.ops-current-item small{color:#777;font-size:.75rem}.ops-current-item strong{overflow-wrap:anywhere;font-size:.88rem}.ops-count-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:.75rem 0;border:1px solid #e5e5e5;border-radius:4px}.ops-count-grid div{min-width:0;padding:.6rem;text-align:center}.ops-count-grid div+div{border-left:1px solid #e5e5e5}.ops-count-grid dt{color:#777;font-size:.72rem}.ops-count-grid dd{margin-top:.15rem;font-weight:700}.ops-action-row{display:flex;flex-wrap:wrap;gap:.5rem}.ops-button,.ops-text-button{min-height:36px;padding:.45rem .7rem;border:1px solid #c7c7c7;border-radius:4px;background:#fff;color:#333;cursor:pointer;font-size:.82rem;font-weight:600}.ops-button-primary{border-color:#1976d2;background:#1976d2;color:#fff}.ops-button-danger{border-color:#c62828;color:#a50e0e}.ops-button:disabled,.ops-text-button:disabled{opacity:.5;cursor:not-allowed}.ops-notification-toolbar{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:1rem;color:#666;font-size:.8rem}.ops-text-button{min-height:32px;padding:.3rem .5rem;border:0;color:#145da0}.ops-notification-list{margin-top:0;border-top:1px solid #e5e5e5}.ops-notification-row.is-unread{background:#f4f8ff}.ops-notification-copy span{color:#555;font-size:.82rem;line-height:1.35}.ops-unread-dot{width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:#1976d2}.ops-empty,.ops-error,.ops-success{padding:.75rem;border-radius:4px;font-size:.85rem;line-height:1.45;overflow-wrap:anywhere}.ops-settings-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1rem}.ops-settings-heading h2{margin-bottom:.25rem}.ops-settings-heading p,.ops-settings-account{color:#666;font-size:.86rem;line-height:1.4}.ops-settings-account{margin:-.5rem 0 1rem}.ops-connection-status{flex:0 0 auto;padding:.25rem .45rem;border-radius:3px;background:#e8eaed;color:#555;font-size:.75rem;font-weight:700;white-space:nowrap}.ops-connection-status.is-connected{background:#e6f4ea;color:#137333}.ops-connection-status.is-warning{background:#fef7e0;color:#8a4b08}.ops-settings-section>.ops-error,.ops-settings-section>.ops-success{margin-bottom:1rem}.ops-integration-note{padding:.85rem 0;border-top:1px solid #e5e5e5;border-bottom:1px solid #e5e5e5}.ops-integration-note p{margin-top:.3rem;color:#666;font-size:.82rem;line-height:1.45}.ops-preference-list{margin-bottom:1rem;border-top:1px solid #e8e8e8}.ops-preference-row{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.7rem 0;border-bottom:1px solid #e8e8e8;cursor:pointer}.ops-preference-row>span{min-width:0;display:grid;gap:.2rem}.ops-preference-row strong,.ops-preference-row small{overflow-wrap:anywhere}.ops-preference-row small{color:#777;font-size:.78rem;line-height:1.35}.ops-preference-row input{width:18px;height:18px;flex:0 0 18px}.ops-device-push{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-top:1rem;padding-top:1rem;border-top:1px solid #dedede}.ops-device-push>div{min-width:0}.ops-device-push p{margin-top:.25rem;color:#666;font-size:.8rem;line-height:1.4;overflow-wrap:anywhere}.ops-inline-link{display:inline-block;margin-top:.5rem;color:#145da0;font-weight:700}.ops-import-intro{margin-bottom:1rem;color:#555;font-size:.86rem;line-height:1.5}.ops-import-form{display:grid;gap:.45rem;margin-bottom:1rem}.ops-import-form label{font-size:.82rem;font-weight:700}.ops-import-form textarea{width:100%;min-height:116px;resize:vertical;padding:.65rem;border:1px solid #b9b9b9;border-radius:4px;background:#fff;color:#2a2a2a;font:inherit;font-size:.84rem;line-height:1.45}.ops-import-form textarea:focus{border-color:#1976d2;outline:2px solid rgba(25,118,210,.18);outline-offset:1px}.ops-import-form textarea:disabled{background:#f5f5f5;color:#777}.ops-import-form-footer{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.ops-import-form-footer span{color:#777;font-size:.78rem}.ops-import-errors{margin-bottom:1rem;padding:.75rem;border:1px solid #f2b8b5;border-radius:4px;background:#fce8e6;color:#8c1d18;font-size:.82rem}.ops-import-errors ul{display:grid;gap:.55rem;margin:.55rem 0 0;padding:0;list-style:none}.ops-import-errors li+li{padding-top:.55rem;border-top:1px solid #efcbc8}.ops-import-errors span,.ops-import-errors p{overflow-wrap:anywhere}.ops-import-errors span{display:block;font-size:.74rem;font-weight:700}.ops-import-errors p{margin-top:.15rem;line-height:1.4}.ops-import-toolbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:.5rem;color:#666;font-size:.8rem}.ops-import-list{max-height:min(430px,50vh);overflow:auto;border-top:1px solid #e5e5e5}.ops-import-row{min-width:0;display:grid;grid-template-columns:20px 96px minmax(0,1fr);align-items:center;gap:.75rem;padding:.65rem 0;border-bottom:1px solid #e5e5e5;cursor:pointer}.ops-import-row.is-disabled{opacity:.6;cursor:default}.ops-import-row input{width:18px;height:18px}.ops-import-row img,.ops-import-thumb-placeholder{width:96px;height:54px;object-fit:cover;border-radius:3px;background:#e8eaed}.ops-import-thumb-placeholder{display:inline-flex;align-items:center;justify-content:center;color:#666;font-size:.8rem;font-weight:700}.ops-import-copy{min-width:0;display:grid;gap:.25rem}.ops-import-copy strong,.ops-import-copy small{overflow-wrap:anywhere}.ops-import-copy small{color:#777;font-size:.76rem;line-height:1.35}.ops-dialog-actions{justify-content:flex-end;margin-top:1rem;padding-top:1rem;border-top:1px solid #e5e5e5}.ops-preflight-list{border-top:1px solid #e5e5e5}.ops-preflight-list div{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.65rem 0;border-bottom:1px solid #e5e5e5}.ops-preflight-list dt{color:#666}.ops-preflight-list dd{font-weight:700}.ops-empty{color:#777;text-align:center}.ops-error{border:1px solid #f2b8b5;background:#fce8e6;color:#8c1d18}.ops-success{border:1px solid #a8dab5;background:#e6f4ea;color:#0d652d}@media (max-width: 640px){.ops-overlay-modal{align-items:flex-end;padding:0}.ops-dialog-modal,.ops-dialog-drawer{width:100%;max-height:92vh;border-radius:6px 6px 0 0}.ops-dialog-drawer{height:100vh;max-height:100vh;border-radius:0}.ops-dialog-body{padding:.85rem}.ops-run-list,.ops-notification-list{margin-left:-.85rem;margin-right:-.85rem}.ops-action-row .ops-button{flex:1 1 calc(50% - .5rem)}.ops-settings-heading,.ops-device-push{align-items:stretch;flex-direction:column}.ops-connection-status{align-self:flex-start}.ops-device-push .ops-button,.ops-settings-section form>.ops-button{width:100%;min-height:42px}.ops-import-row{grid-template-columns:20px 76px minmax(0,1fr);gap:.55rem}.ops-import-row img,.ops-import-thumb-placeholder{width:76px;height:43px}.ops-import-form-footer{align-items:stretch;flex-direction:column}.ops-import-form-footer .ops-button{width:100%;min-height:42px}.ops-dialog-actions .ops-button{flex:1 1 calc(50% - .5rem)}}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;background:#f5f5f5;color:#333;overflow-x:hidden}#root{min-height:100vh}.container{width:100%;max-width:1200px;margin:0 auto;padding:0 20px;min-width:0}.text-center{text-align:center}.mt-4{margin-top:1rem}.mb-4{margin-bottom:1rem}.btn{padding:10px 20px;border:none;border-radius:4px;cursor:pointer;font-size:1rem;transition:all .3s ease}.btn-primary{background:#007bff;color:#fff}.btn-primary:hover{background:#0056b3}.btn-secondary{background:#6c757d;color:#fff}.btn-secondary:hover{background:#545b62}.btn:disabled{opacity:.65;cursor:not-allowed}.form-group{margin-bottom:1.5rem}.form-group label{display:block;margin-bottom:.5rem;font-weight:500}.form-group input,.form-group textarea,.form-group select{width:100%;padding:10px;border:1px solid #ddd;border-radius:4px;font-size:1rem}.form-group input:focus,.form-group textarea:focus,.form-group select:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 3px #007bff1a}.alert{padding:1rem;border-radius:4px;margin-bottom:1rem}.alert-danger{background:#f8d7da;color:#721c24;border:1px solid #f5c6cb}.alert-success{background:#d4edda;color:#155724;border:1px solid #c3e6cb}.auth-divider{display:flex;align-items:center;gap:.75rem;margin:1.25rem 0;color:#777;font-size:.9rem}.auth-divider:before,.auth-divider:after{content:"";flex:1;height:1px;background:#ddd}.google-login{display:flex;flex-direction:column;gap:.6rem}.google-login-rendered{min-height:42px;width:100%}.google-login-rendered>div{margin:0 auto}.google-login-rendered.is-loading{opacity:.65;pointer-events:none}.google-login-btn{width:100%;min-height:42px;border:1px solid #d6d6d6;border-radius:4px;background:#fff;color:#333;cursor:pointer;font-size:.95rem;font-weight:600;display:flex;align-items:center;justify-content:center;gap:.6rem}.google-login-btn:hover:not(:disabled){background:#f7f7f7;border-color:#bbb}.google-login-btn:disabled{background:#f0f0f0;color:#888;cursor:not-allowed}.google-login-mark{width:22px;height:22px;border-radius:50%;border:1px solid #ddd;display:inline-flex;align-items:center;justify-content:center;font-size:.85rem;font-weight:700;color:#4285f4;background:#fff}.auth-hint{color:#666;font-size:.85rem;line-height:1.4;text-align:center}.auth-page{margin-top:3rem;max-width:420px;padding-bottom:2rem}.auth-page>h1{margin-bottom:1.5rem;line-height:1.2}.auth-submit{width:100%}.auth-footer,.auth-intro,.auth-status-page>p{margin-top:1rem;text-align:center;line-height:1.5}.auth-intro{margin-top:-.5rem;margin-bottom:1.5rem;color:#666}.auth-field-link{display:block;margin-top:.5rem;text-align:right;font-size:.9rem}.auth-email-notice{margin-bottom:1.5rem;padding:1rem;border:1px solid #d7e3f4;border-radius:6px;background:#f7faff;text-align:center}.auth-email-notice h2{margin-bottom:.5rem;font-size:1.15rem}.auth-email-notice p{color:#555;line-height:1.45}.auth-email-address,.auth-message-email{display:block;margin:.65rem 0;color:#222!important;font-weight:700;overflow-wrap:anywhere}.auth-email-notice .btn{max-width:100%;white-space:normal}.auth-button-link{display:flex;align-items:center;justify-content:center;text-decoration:none}.container:has(.auth-divider){min-width:0}.container:has(.auth-divider) h1,.container:has(.auth-divider) p,.container:has(.auth-divider) .alert{overflow-wrap:anywhere}.container:has(.auth-divider) .btn,.google-login-btn{line-height:1.2;max-width:100%;white-space:normal}.google-login-rendered>div{max-width:100%;overflow:hidden}.settings-page{margin-top:2rem;max-width:760px;min-width:0;width:100%}.settings-section{margin-bottom:2rem;background:#fff;padding:1rem;border:1px solid #e5e5e5;border-radius:8px;min-width:0;overflow-wrap:anywhere}.settings-section h2{margin-bottom:1rem}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.settings-detail{background:#f9f9f9;padding:.75rem;border-radius:4px;margin-bottom:1rem;min-width:0;overflow-wrap:anywhere}.settings-billing-portal{margin-bottom:1rem}.settings-billing-note{color:#555;margin-top:.4rem}.settings-billing-warning{color:#9a3412}.settings-subscription-actions{display:flex;flex-wrap:wrap;gap:.6rem;margin-bottom:1rem}.settings-plan-list{display:grid;gap:.75rem;margin-top:1rem}.settings-plan-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1rem;align-items:center;padding:.85rem;border:1px solid #e2e2e2;border-radius:6px;background:#fafafa}.settings-plan-card h3{margin-bottom:.35rem}.settings-plan-card p{color:#666;font-size:.9rem;line-height:1.35}.settings-plan-provider{margin-top:.25rem;overflow-wrap:anywhere}.settings-plan-current{display:inline-flex;margin-top:.5rem;padding:.2rem .45rem;border-radius:999px;background:#e6f4ea;color:#137333;font-size:.78rem;font-weight:700}.settings-plan-actions{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:flex-end}.settings-tappay-form{margin-top:1rem;padding:.85rem;border:1px solid #d6e4ff;border-radius:6px;background:#f8fbff}.settings-tappay-form h3{margin-bottom:.35rem}.settings-card-fields{margin-top:.5rem}.settings-card-field{min-height:44px;padding:.72rem;border:1px solid #ddd;border-radius:4px;background:#fff}.checkbox-label{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem}.checkbox-label input{width:auto}.settings-help{margin-top:1rem;font-size:.9rem;color:#666}.settings-email-summary{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.85rem;border:1px solid #e2e2e2;border-radius:6px;background:#fafafa}.settings-email-summary>div,.settings-email-pending{min-width:0}.settings-email-summary strong,.settings-email-pending strong{display:block;overflow-wrap:anywhere}.settings-email-label,.settings-email-pending span{display:block;margin-bottom:.2rem;color:#666;font-size:.82rem}.settings-email-status{flex:0 0 auto;padding:.25rem .5rem;border-radius:4px;font-size:.8rem;font-weight:700}.settings-email-status.is-verified{background:#e6f4ea;color:#137333}.settings-email-status.is-unverified{background:#fff3cd;color:#7a4b00}.settings-email-resend{margin-top:.75rem}.settings-email-pending{margin-top:.75rem;padding:.75rem;border-left:3px solid #007bff;background:#f7faff}.settings-email-pending small{display:block;margin-top:.25rem;color:#666}.settings-email-change-form{margin-top:1.25rem;padding-top:1.25rem;border-top:1px solid #e5e5e5}.settings-email-change-form h3{margin-bottom:1rem;font-size:1rem}.settings-page .form-group,.settings-page .form-group input,.settings-page .form-group textarea,.settings-page .form-group select{min-width:0;max-width:100%}.settings-page input[type=range]{width:100%}.settings-page .btn{line-height:1.2;max-width:100%;white-space:normal}.container>h1,.container>p{overflow-wrap:anywhere}.container>div:has(>.btn){display:flex;flex-wrap:wrap;gap:.75rem}.container>div:has(>.btn) .btn{margin-right:0!important}@media (max-width: 640px){.container{padding-left:14px;padding-right:14px}.container:has(.auth-divider){margin-top:1.5rem!important;max-width:100%!important}.auth-page{margin-top:1.5rem;max-width:100%}.settings-email-summary{align-items:flex-start;flex-direction:column}.settings-grid{grid-template-columns:1fr;gap:0}.settings-page{margin-top:1rem}.settings-section{margin-bottom:1rem;padding:.85rem}.settings-page .btn,.container>div:has(>.btn) .btn{display:flex;justify-content:center;width:100%}.settings-plan-card{grid-template-columns:1fr}.settings-plan-actions{justify-content:stretch}}.watch-layout{display:flex;gap:1rem;align-items:flex-start;width:100%;max-width:1600px;margin:0 auto;padding:1rem 1.5rem}.watch-main{flex:1 1 70%;min-width:0}.watch-main h1{margin-bottom:.75rem;line-height:1.08}.watch-sidebar{flex:0 0 340px;width:340px;min-width:0}.watch-layout.theater{flex-direction:column}.watch-layout.theater .watch-main,.watch-layout.theater .watch-sidebar{flex:none;width:100%}.watch-quota-card{margin-bottom:1rem;padding:1rem;border-radius:4px;background:#f0f0f0;overflow-wrap:anywhere}.watch-quota-warning{color:#d32f2f}.watch-url-form{margin-bottom:2rem}.watch-complete-alert{display:flex;align-items:center;gap:.75rem;margin-bottom:1rem}.watch-complete-btn{padding:.35rem .75rem;flex:0 0 auto}.watch-progress-card{margin-bottom:2rem}.watch-progress-estimate{margin:0 0 .5rem;color:#666;font-size:.9rem;line-height:1.45}.watch-progress-row{display:flex;justify-content:space-between;gap:.75rem;margin-bottom:.4rem;color:#444;font-size:.9rem;line-height:1.35}.watch-progress-row span:last-child{text-align:right;white-space:nowrap}.watch-progress-track{width:100%;height:10px;border-radius:5px;overflow:hidden;background:#e0e0e0}.watch-progress-fill{height:100%;background:#007bff;transition:width .3s ease}.watch-player-section{display:flex;flex-direction:column;margin-bottom:2rem}.watch-controls{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1rem}.watch-control-btn,.watch-control-select{min-height:40px;font-size:.9rem}.watch-control-btn{padding:.5rem 1rem}.watch-control-select{min-width:8.75rem;padding:.5rem .75rem;border:1px solid #ccc;border-radius:4px;background:#fff;cursor:pointer}.watch-control-select:disabled{cursor:not-allowed;opacity:.65}.watch-control-success{background:#28a745;color:#fff}.watch-control-warning{background:#ff9800;color:#fff}.watch-control-danger{background:#dc3545;color:#fff}.watch-control-danger:hover:not(:disabled){background:#b02a37}.watch-control-disabled{background:#999;color:#ccc;cursor:not-allowed}.watch-font-control{display:inline-flex;align-items:center;gap:.5rem;min-height:40px;min-width:min(100%,16rem);padding:.4rem .6rem;border:1px solid #ccc;border-radius:4px;background:#f9f9f9}.watch-font-label{color:#333;font-size:.9rem;white-space:nowrap}.watch-font-range{width:120px;min-width:0}.watch-font-reset{min-height:32px;padding:.35rem .55rem;border:none;border-radius:4px;background:#6c757d;color:#fff;cursor:pointer;font-size:.85rem}.watch-font-reset:disabled{cursor:not-allowed;opacity:.65}.watch-shadowing-quota-alert{margin-bottom:1rem}.watch-pause-control{margin-bottom:1rem;padding:.75rem;border-radius:4px;background:#f9f9f9}.watch-pause-control label,.watch-pause-control small{display:block}.watch-pause-control label{margin-bottom:.5rem;font-weight:700}.watch-pause-control input{width:100%}.watch-pause-control small{margin-top:.5rem;color:#666}.watch-empty-subtitles{color:#999}.watch-share-notice{background:#f4f8ff;border:1px solid #d6e4ff;border-radius:4px;color:#214b7d;font-size:.92rem;line-height:1.4;margin-bottom:1rem;padding:.7rem .85rem}.watch-share-notice.is-success{background:#e8f5e9;border-color:#c8e6c9;color:#2e7d32}.watch-share-notice.is-muted{background:#f7f7f7;border-color:#e2e2e2;color:#555}.watch-share-notice.is-warning{background:#fff8e1;border-color:#ffe0a3;color:#6f4d00}.watch-share-card{margin:0 0 1rem;padding:.85rem;border:1px solid #d6e4ff;border-radius:4px;background:#f8fbff}.watch-share-card label{display:block;margin-bottom:.45rem;color:#214b7d;font-weight:700}.watch-share-url-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:.5rem;align-items:center}.watch-share-url-row input{width:100%;min-width:0;padding:.6rem .7rem;border:1px solid #bdd2f0;border-radius:4px;background:#fff;color:#1f1f1f;font-size:.92rem}.watch-share-message{margin:.6rem 0 0;color:#214b7d;font-size:.9rem}@media (max-width: 900px){.watch-layout{flex-direction:column}.watch-sidebar{width:100%;flex:none}}@media (max-width: 640px){.container{padding:0 .85rem}.watch-layout{gap:.75rem;padding:.85rem}.watch-main h1{font-size:clamp(1.75rem,8vw,2.35rem);line-height:1.05}.watch-quota-card,.watch-share-notice,.watch-share-card,.alert{font-size:.95rem;line-height:1.45}.watch-url-form{margin-bottom:1.25rem}.watch-url-form .btn{width:100%;min-height:44px}.watch-complete-alert{align-items:stretch;flex-direction:column}.watch-complete-btn{width:100%;min-height:42px}.watch-progress-row{flex-direction:column;gap:.25rem}.watch-progress-row span:last-child{text-align:left;white-space:normal}.watch-controls{display:grid;grid-template-columns:1fr 1fr;gap:.55rem}.watch-control-btn,.watch-control-select,.watch-font-control{width:100%;min-height:44px}.watch-font-control{grid-column:1 / -1}.watch-font-range{flex:1 1 auto;width:auto}.watch-pause-control{padding:.85rem}.watch-share-url-row{grid-template-columns:1fr}.watch-share-url-row .btn{width:100%;min-height:42px}}@media (max-width: 360px){.watch-layout{padding:.65rem}.watch-controls{grid-template-columns:1fr}}
