/* Conversion choices and task tracking share the cinema client's visual language. */
.web-task-dialog{box-sizing:border-box;overflow-x:hidden;overscroll-behavior:contain}
.web-choice-group{min-width:0;box-sizing:border-box}
.web-choice-group label{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:start;gap:11px;min-width:0}
.web-choice-group input[type=radio],.web-choice-group input[type=checkbox],.web-convert-track input[type=checkbox]{appearance:auto;width:16px!important;min-width:16px!important;max-width:16px!important;height:16px;min-height:16px;padding:0;margin:3px 0 0;flex:none;accent-color:#bba0e9}
.web-choice-group label>span{min-width:0;overflow-wrap:anywhere}
.web-choice-group small{display:block;color:#b5aabc;font-size:12px;line-height:1.5;margin-top:4px}
.web-convert-dialog{width:min(820px,calc(100vw - 32px));max-height:calc(100svh - 36px);padding:0;overflow:hidden}
.web-convert-dialog[open]{display:flex;flex-direction:column}
.web-convert-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:24px 28px 0;flex-shrink:0}
.web-convert-eyebrow{display:block;font-size:10px;letter-spacing:1.8px;color:#c0a8dc;margin-bottom:8px;font-weight:700}
.web-convert-heading h2{font-size:25px;font-weight:650;letter-spacing:-.5px}
.web-convert-heading .icon{color:#c2b4cc;width:34px;height:34px;font-size:25px;background:#ffffff06;border-radius:50%;flex:none}
.web-convert-dialog>.web-dialog-lead{padding:0 28px;margin:17px 0 4px;font-size:15px;overflow-wrap:anywhere;flex-shrink:0}
.web-convert-source{margin:0;padding:0 28px 19px;color:#b9acbf;font-size:12px;border-bottom:1px solid #514457;flex-shrink:0}
.web-convert-body{min-height:0;overflow-y:auto;overflow-x:hidden;padding:3px 28px 18px;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#796687 transparent}
.web-convert-section{padding:17px 0 12px;border-bottom:1px solid #44374d}
.web-convert-section:last-of-type{border-bottom:0;padding-bottom:0}
.web-convert-section h3{font-size:14px;font-weight:650;color:#f4eef8;margin:0 0 13px;letter-spacing:.1px}
.web-convert-dialog label{font-size:12px;color:#d4c7dc;line-height:1.4;margin:0;min-width:0}
.web-convert-dialog select,.web-convert-dialog input[type=number]{box-sizing:border-box;width:100%;min-width:0;max-width:100%;height:41px;min-height:41px;margin:6px 0 0;padding:8px 10px;border:1px solid #66536f;border-radius:7px;background:#19141e;color:#eee7f4;font-size:13px;font-family:inherit}
.web-convert-dialog select:disabled,.web-convert-dialog input:disabled{opacity:.56;cursor:not-allowed}
.web-convert-dialog select:focus,.web-convert-dialog input:focus{outline:2px solid #c2a6ef;outline-offset:1px}
.web-convert-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 18px;margin:12px 0 8px}
.web-convert-dialog .web-dialog-note{font-size:12px;line-height:1.55;margin:8px 0 2px;color:#b6a9c0}
.web-convert-tracks{display:flex;flex-direction:column;gap:7px;margin:10px 0 15px;max-height:225px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.web-convert-dialog .web-convert-track{display:grid;grid-template-columns:18px minmax(0,1fr);gap:10px;padding:10px 12px;border:1px solid #53435e;border-radius:8px;background:#19141d;cursor:pointer}
.web-convert-track:has(input:checked){border-color:#bca0de;background:#35283f}
.web-convert-track span{min-width:0;overflow-wrap:anywhere}
.web-convert-track strong{display:block;color:#f5eef9;font-size:12.5px;font-weight:550}
.web-convert-track small{display:block;color:#b9acbf;font-size:11px;margin-top:3px;line-height:1.45}
.web-convert-track:has(input:disabled){opacity:.5;cursor:not-allowed}
.web-convert-subtitles{margin:18px 0 0}
.web-convert-subtitles summary{cursor:pointer;font-size:12px;color:#d1bde3;padding:3px 0}
.web-convert-dialog .web-choice-group{margin:0;padding:8px 13px;background:#19141e}
.web-convert-dialog .web-choice-group label{padding:10px 0;font-size:13px}
.web-convert-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:17px 28px;border-top:1px solid #57475f;background:#28202f;flex-shrink:0}
.web-convert-footer>p{font-size:11px;color:#b9a9c3;margin:0;max-width:180px;line-height:1.5}
.web-convert-dialog .dialog-actions{margin:0;flex-wrap:wrap;align-items:center}
.web-convert-dialog #web-convert-status{font-size:12px;line-height:1.5;margin:8px 0 0;overflow-wrap:anywhere}
.web-convert-dialog #web-convert-status:empty{display:none}
.web-convert-dialog .dialog-actions .primary{padding:12px 17px;background:#dcc7f3;color:#211528}
.web-convert-dialog [hidden]{display:none!important}
.web-conversions-trigger{position:relative;display:flex;align-items:center;gap:8px;margin:0 22px;padding:8px 0;color:#dbc6f1;font-size:12px;min-width:59px;white-space:nowrap;flex:none}
.web-conversions-trigger[hidden]{display:none!important}
.web-global-conversion-ring{position:relative;width:23px;height:23px;display:inline-block;border:2px solid #655173;border-top-color:#dbc3fa;border-radius:50%;animation:web-conversion-spin 1.1s linear infinite;box-sizing:border-box}
.web-conversions-trigger.paused .web-global-conversion-ring{animation:none;border-color:#b49bce}
.web-conversions-trigger.paused .web-global-conversion-ring::after{content:'';position:absolute;left:6px;top:5px;width:6px;height:9px;border-left:2px solid #dbc3fa;border-right:2px solid #dbc3fa;box-sizing:border-box}
.web-conversions-trigger.finished .web-global-conversion-ring{animation:none;border-color:#a5c7b0}
.web-conversions-trigger.failed .web-global-conversion-ring{animation:none;border-color:#dc9d9d}
@keyframes web-conversion-spin{to{transform:rotate(360deg)}}
.web-conversion-progress{width:min(490px,calc(100vw - 28px));padding:24px}
/* A continuously updating progress panel should not reblur the poster grid. */
#web-conversion-progress::backdrop{background:#030205d9;backdrop-filter:none}
.web-conversion-progress .dialog-actions + .web-dialog-note{margin:0;padding-top:22px}
.web-job-headline{display:flex;align-items:center;justify-content:space-between;margin:22px 0 11px;font-size:13px;color:#d3bce8}
.web-job-headline strong{font-size:22px;font-weight:550}
#web-job-bar{appearance:none;width:100%;height:7px;border:0;border-radius:20px;background:#4b3b58;overflow:hidden}
#web-job-bar::-webkit-progress-bar{background:#4b3b58;border-radius:20px}
#web-job-bar::-webkit-progress-value{background:#bea0e5;border-radius:20px;transition:width .4s}
#web-job-bar::-moz-progress-bar{background:#bea0e5;border-radius:20px}
#web-job-message{font-size:12px;line-height:1.5;color:#c1b2cc;overflow-wrap:anywhere}
.web-job-facts{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0}
.web-job-facts>div{padding:10px 12px;background:#19141f;border:1px solid #4d3e58;border-radius:7px;min-width:0}
.web-job-facts small{display:block;color:#ae9cba;font-size:10px;margin-bottom:5px}
.web-job-facts strong{display:block;font-size:12px;color:#ece2f4;font-weight:500;overflow-wrap:anywhere}
#web-job-error{font-size:12px;color:#dfb9b4;margin-top:12px}
#web-job-error pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:170px;overflow:auto;font-size:11px;background:#160f1b;padding:12px;overscroll-behavior:contain}
.web-personal-badges{position:absolute;left:8px;bottom:49px;z-index:3;display:flex;gap:5px;pointer-events:none}
.web-personal-badges span{padding:4px 6px;border-radius:5px;background:#28202eea;color:#e6d3f8;font-size:10px;border:1px solid #79618c}
.web-personal-badges span[hidden]{display:none}
.web-card-quick .web-card-quick-button.active{background:#d8baf4!important;border-color:#e8d8fc!important;color:#24132f!important;box-shadow:0 0 0 1px #211529}
.web-action-entry[aria-pressed=true]{background:#46334f;color:#f2e3ff}
/* Lock only the viewport: body overflow would become the sticky header ancestor. */
html.web-overlay-open{overflow:hidden!important;scrollbar-gutter:stable}
dialog,.web-action-list,.web-search-popover,.web-account-menu,.option-list,.web-advanced-filters .web-filters{overscroll-behavior:contain}
.web-action-list{min-height:0;flex:1 1 auto;overscroll-behavior:contain}
.austral-web select{overscroll-behavior:contain}
@media(max-width:1050px){.web-conversions-trigger{margin:0 12px;min-width:23px}.web-conversions-trigger>span:last-child{display:none}}
@media(max-width:800px){.web-conversions-trigger{margin:0;order:2}.web-top-actions{order:3}.web-convert-heading{padding:20px 20px 0}.web-convert-dialog>.web-dialog-lead{padding:0 20px}.web-convert-source{padding:0 20px 16px}.web-convert-body{padding:0 20px 16px}.web-convert-footer{padding:15px 20px;gap:12px}}
@media(max-width:520px){.web-convert-dialog{width:calc(100vw - 16px);max-height:calc(100svh - 16px);border-radius:12px}.web-convert-heading h2{font-size:22px}.web-convert-grid{grid-template-columns:1fr;gap:12px}.web-convert-footer{flex-direction:column;align-items:stretch;gap:9px}.web-convert-footer>p{max-width:none;text-align:right}.web-convert-footer .dialog-actions{justify-content:flex-end}.web-job-facts{gap:8px}.web-conversion-progress .dialog-actions{flex-wrap:wrap}.web-convert-tracks{max-height:200px}}
@media(prefers-reduced-motion:reduce){.web-global-conversion-ring{animation:none}#web-job-bar::-webkit-progress-value{transition:none}}

.web-saved-versions{margin:24px 0}.web-saved-versions h3{font-size:16px}.web-saved-version{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:12px 0;border-bottom:1px solid #382d42;font-size:13px}.web-saved-version span{min-width:0;overflow-wrap:anywhere}.web-saved-version button{flex:none;font-size:12px}
.web-extra-genres-menu{overscroll-behavior:contain;max-height:min(60vh,430px);overflow-y:auto}.web-account-menu{max-height:calc(100svh - 100px);overflow-y:auto}.web-advanced-filters .web-filters{max-height:calc(100svh - 180px);overflow-y:auto}
@media(min-width:801px) and (max-width:1250px){.web-conversions-trigger{margin:0 10px;min-width:23px}.web-conversions-trigger>span:last-child{display:none}.web-header-nav{gap:18px}}
@media(max-width:400px){.web-topbar{padding:0 12px;gap:8px}.web-menu-toggle{width:24px;min-width:24px;padding:0}.web-top-actions{gap:6px}.web-account{padding:0;gap:0}.web-account>span:last-child{display:none}.web-header-brand{font-size:14px;gap:6px}.web-header-brand img{width:29px;height:29px}}

/* The watched control stays in the same corner before and after a click. */
.web-card-watched{position:absolute;z-index:5;left:8px;bottom:9px;display:grid;place-items:center;width:30px;height:30px;min-width:30px;padding:0;border:1px solid #776b7d;border-radius:50%;background:#211c29e8;color:#f2eaf8;font-size:18px;opacity:0;pointer-events:none;transition:opacity .16s}
.web-card-watched.active,.web-card:hover .web-card-watched,.web-card:focus-within .web-card-watched,.web-selected .web-card-watched{opacity:1;pointer-events:auto}
.web-card-watched.active{background:#d8baf4;border-color:#e8d8fc;color:#24132f;box-shadow:0 0 0 1px #211529}
.web-card-watched:focus-visible{outline:2px solid #f4e8ff;outline-offset:3px}
.web-watched-mark,.web-series-watched{position:absolute;z-index:3;left:8px;bottom:8px;top:auto;right:auto;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#d8baf4;color:#24132f;font-size:15px;font-weight:700}
.web-search-result .web-watched-mark{left:3px;bottom:3px;width:18px;height:18px;font-size:12px}
.web-search-popover{position:fixed;top:88px;right:clamp(16px,5.2vw,100px);max-height:calc(100svh - 100px);overflow-y:auto}
@media(hover:none){.web-card-watched{opacity:1;pointer-events:auto}}
@media(max-width:800px){.web-search-popover{top:70px;max-height:calc(100svh - 86px)}}
