.cheat-direction-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 20px;display:grid}.cheat-direction-editor h3{margin:0 0 12px;font-size:18px}.cheat-direction-fields label{flex-direction:column;gap:8px;min-width:0;display:flex}.cheat-direction-fields textarea{resize:vertical;background:#fff;border:1px solid #dfe2e5;border-radius:8px;width:100%;padding:10px;line-height:1.6}.cheat-direction-fields textarea:focus{border-color:#657185;outline:0;box-shadow:0 0 0 3px #eef0f3}.cheat-direction-fields small{color:#64707d;font-size:13px;font-weight:400;line-height:1.6}.authoring-text-field{flex-direction:column;gap:5px;min-width:0;display:flex}.authoring-field-heading{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:2px 10px;display:flex}.cheat-direction-fields .authoring-field-heading label{margin:0;font-size:15px;font-weight:650;display:block}.authoring-field-count{color:#606771;font-variant-numeric:tabular-nums;font-size:12px;font-weight:400}.cheat-editor .authoring-field-hint{color:#606771;margin:0;font-size:14px;line-height:1.5}.authoring-text-field textarea{font:inherit;margin-top:auto;font-weight:400}.authoring-text-field textarea[aria-invalid=true]{border-color:#a43a32}.authoring-field-count[data-over]{color:#a43a32}.prose-reset{flex-wrap:wrap;align-items:center;gap:6px 12px;margin-top:16px;display:flex}.cheat-direction-count{color:#7d8793;margin-top:4px;display:block}.cheat-editor .cheat-direction-budget p{font-variant-numeric:tabular-nums;flex-wrap:wrap;gap:4px 12px;margin:0;font-size:14px;line-height:1.6;display:flex}.cheat-direction-budget strong{font-weight:600}.cheat-direction-budget small{margin-top:4px;display:block}.cheat-direction-replies{margin-top:28px}.cheat-direction-replies h3{scroll-margin-top:24px}.cheat-direction-reply-fields{grid-template-columns:repeat(3,minmax(0,1fr))}@media (max-width:900px){.cheat-direction-fields{grid-template-columns:minmax(0,1fr)}}.cheat-authoring-details{border:1px solid #dfe3e8;border-radius:10px;min-width:0;margin:20px 0;padding:0 16px}.cheat-authoring-details>summary{cursor:pointer;align-items:center;gap:12px;min-height:48px;font-size:15px;font-weight:600;list-style:none;display:flex}.cheat-authoring-details>summary::-webkit-details-marker{display:none}.cheat-authoring-details>summary:after{content:"+";color:#64707d;margin-left:auto;font-size:18px}.cheat-authoring-details[open]>summary:after{content:"-"}.cheat-authoring-details>summary svg{display:none}.cheat-authoring-details[open]{padding-bottom:16px}.cheat-authoring-details>summary:focus-visible{outline:2px solid var(--blue);outline-offset:3px;border-radius:4px}.cheat-prose-options{grid-template-columns:repeat(3,minmax(0,1fr));margin:20px 0 24px}.cheat-prose-options select{width:100%;min-height:44px;color:inherit;font:inherit;background:#fff;border:1px solid #dfe2e5;border-radius:8px;padding:10px}@media (max-width:900px){.cheat-prose-options{grid-template-columns:minmax(0,1fr)}}.cheat-authoring-original{white-space:pre-wrap;overflow-wrap:anywhere;background:#f6f7f8;border-radius:8px;margin:12px 0;padding:12px;font-size:14px;line-height:1.6}.cheat-authoring-original p{margin:8px 0 0}.cheat-editor .cheat-authoring-check{align-items:flex-start;gap:9px;min-height:40px;padding:7px 0;font-size:14px;font-weight:400;line-height:1.6;display:flex}.cheat-editor .cheat-authoring-check input{accent-color:#394b60;flex-shrink:0;width:18px;min-width:18px;height:18px;min-height:18px;margin:3px 0 0}.cheat-authoring-options{border:0;min-width:0;margin:22px 0;padding:0}.cheat-authoring-options legend{margin-bottom:6px;padding:0;font-size:15px;font-weight:600}.cheat-authoring-options>small{margin-bottom:8px;display:block}.cheat-authoring-reaction{gap:10px;margin:16px 0;display:grid}.cheat-authoring-reaction>label,.cheat-location-direction label{gap:8px;display:grid}.cheat-authoring-reaction>button{justify-self:start}.cheat-authoring-reaction textarea,.cheat-location-direction select{resize:vertical;background:#fff;border:1px solid #dfe2e5;border-radius:8px;width:100%;padding:10px;line-height:1.6}.cheat-location-direction select{min-height:44px}.cheat-authoring-reaction textarea:focus,.cheat-location-direction select:focus{outline:2px solid var(--blue);outline-offset:2px}.cheat-location-direction{margin-bottom:20px}.cheat-event-list{gap:8px;margin:20px 0;padding:0;list-style:none;display:grid}.cheat-event-list>li>button{text-align:left;color:#424d5b;cursor:pointer;background:#fff;border:1px solid #dfe3e8;border-radius:9px;align-items:flex-start;gap:12px;width:100%;padding:12px 14px;display:flex}.cheat-event-list>li>button[aria-pressed=true]{background:#f1f5f8;border-color:#667d97}.cheat-event-list>li>button:focus-visible{outline:2px solid var(--blue);outline-offset:3px}.cheat-event-list strong{overflow-wrap:anywhere;font-size:15px;line-height:1.5;display:block}.cheat-event-list small{overflow-wrap:anywhere;margin-top:3px;display:block}.cheat-event-number{font-variant-numeric:tabular-nums;background:#e9eef3;border-radius:6px;place-items:center;min-width:28px;height:28px;font-size:14px;display:grid}.cheat-event-preview-results{gap:8px;margin:12px 0 0;padding:0;list-style:none;display:grid}.cheat-event-preview-results li{border-top:1px solid #e5e8eb;justify-content:space-between;gap:12px;padding-top:10px;font-size:14px;line-height:1.6;display:flex}.cheat-event-preview-results span{color:#5b6470}.cheat-events-editor .cheat-authoring-notice{color:#6b541b;background:#fff8e9;border-radius:8px;padding:10px 12px}.cheat-behavior-editor .cheat-prologue-scenes{margin:0;padding:0;display:grid;overflow:visible}.cheat-behavior-editor .cheat-prologue-scenes>li{border-top:1px solid #dfe3e8;padding-top:12px}.cheat-behavior-editor .cheat-prologue-scenes header{justify-content:space-between;align-items:center;gap:12px;display:flex}@media (max-width:600px){.cheat-authoring-details{padding-left:12px;padding-right:12px}.cheat-event-preview-results li{gap:3px;display:grid}.cheat-event-list>li>button{padding:10px}}.cheat-relationship-milestones{margin-block:24px}.cheat-relationship-milestone{border:1px solid #dfe3e8;border-radius:12px;min-width:0;margin:16px 0;padding:16px}.cheat-relationship-milestone legend{padding-inline:6px;font-weight:600}.cheat-editor .cheat-relationship-milestone-fields{grid-template-columns:100px minmax(0,1fr) 220px auto;align-items:start;gap:16px;display:grid}.cheat-relationship-milestone-fields>*{min-width:0}.cheat-relationship-field-label{margin-bottom:8px;font-size:14px;font-weight:500;display:block}.cheat-relationship-help{color:#64748b;font-size:13px;line-height:1.7}@media (max-width:900px){.cheat-editor .cheat-relationship-milestone-fields{grid-template-columns:100px minmax(0,1fr)}.cheat-relationship-milestone-fields>:nth-child(3){grid-column:1/-1}}@media (max-width:560px){.cheat-editor .cheat-relationship-milestone-fields{grid-template-columns:minmax(0,1fr)}.cheat-relationship-milestone-fields>:first-child input{max-width:120px}}.cheat-scene-descriptions,.cheat-keyword-management{border:0;gap:8px;min-width:0;margin:0;padding:0;display:grid}.cheat-scene-descriptions{grid-column:1/-1}.cheat-scene-descriptions legend{clip-path:inset(50%);position:absolute}.cheat-scene-descriptions textarea,.cheat-keyword-row input{width:100%}.cheat-scene-descriptions summary,.cheat-action-tags summary{cursor:pointer;color:#485464;padding:4px 0;font-size:13px}.cheat-field-label{margin-top:4px;font-size:14px;font-weight:650}.cheat-scene-chips,.cheat-keyword-input,.cheat-keyword-row{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.cheat-keyword-input,.cheat-keyword-row{flex-wrap:nowrap}.cheat-keyword-input input,.cheat-keyword-input label,.cheat-keyword-row input{flex:1;min-width:0}.cheat-scene-chips button{color:#394655;min-height:30px;font:inherit;cursor:pointer;overflow-wrap:anywhere;background:#fff;border:1px solid #c6ced7;border-radius:100px;padding:4px 10px;font-size:13px}.cheat-scene-chips button:disabled{opacity:.55;cursor:default}.cheat-scene-chips [aria-pressed=true],.cheat-scene-chips .is-picked{color:#244fa8;background:#eaf0ff;border-color:#91aaed}.cheat-action-tags{gap:8px;display:grid}@media (max-width:600px){.cheat-scene-chips button{min-height:36px}}
:root{--nav:#17191d;--ink:#17191d;--muted:#737983;--line:#e7e9ec;--paper:#f5f6f7;--white:#fff;--accent:#4f5968;--blue:#3668d8;--green:#27815a;--red:#bc3e4d;--sans:Pretendard,"Noto Sans KR",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}*{box-sizing:border-box}body{background:var(--paper);color:var(--ink);font-family:var(--sans);word-break:keep-all;margin:0;font-size:14px}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button{cursor:pointer}.admin-loading{min-height:100vh;color:var(--muted);place-items:center;display:grid}.admin-shell{grid-template-columns:236px 1fr;min-height:100vh;display:grid}.admin-shell>aside{background:var(--nav);color:#fff;flex-direction:column;width:236px;padding:24px 16px 18px;display:flex;position:fixed;top:0;bottom:0;left:0}.admin-brand{align-items:center;gap:11px;padding:0 7px 28px;display:flex}.brand-icon{object-fit:contain;flex-shrink:0;display:block}.admin-brand div{display:grid}.admin-brand strong{font-size:17px}.admin-brand small{color:#808792;letter-spacing:.14em;margin-top:3px;font-size:8px}.admin-shell nav{gap:4px;display:grid}.admin-shell nav a{color:#9ea4ad;border-radius:8px;align-items:center;gap:11px;height:43px;padding:0 12px;font-size:13px;font-weight:650;display:flex}.admin-shell nav a:hover{color:#fff;background:#22252b}.admin-shell nav a.active{color:#17191d;background:#fff}.admin-shell nav svg{width:18px}.operator{border-top:1px solid #2b2e34;align-items:center;gap:8px;margin-top:auto;padding:14px 7px 0;display:flex}.operator>div{background:#343941;border-radius:8px;place-items:center;width:31px;height:31px;font-weight:800;display:grid}.operator span{flex:1;min-width:0;display:grid}.operator strong{font-size:11px}.operator small{color:#7f8690;white-space:nowrap;text-overflow:ellipsis;font-size:8px;overflow:hidden}.operator button{color:#777e88;background:0 0;border:0;padding:5px}.operator svg{width:16px}.admin-main{grid-column:2;min-width:0;padding:44px clamp(28px,4vw,66px) 80px}.page-header{justify-content:space-between;align-items:center;margin-bottom:32px;display:flex}.page-header>div>span,.modal-title span{color:#8c929a;letter-spacing:.2em;font-size:9px;font-weight:800}.page-header h1{letter-spacing:-.045em;margin:8px 0 7px;font-size:28px}.page-header p{color:var(--muted);margin:0;font-size:13px}.status-chip{color:#26724f;background:#edf7f1;border:1px solid #d8eddf;border-radius:99px;align-items:center;gap:7px;padding:8px 11px;font-size:10px;font-weight:700;display:flex}.status-chip i{background:#36a06f;border-radius:50%;width:7px;height:7px}.metric-grid{grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:22px;display:grid}.metric-grid article{border:1px solid var(--line);background:#fff;border-radius:12px;padding:21px;display:grid}.metric-icon{color:#4e5867;background:#f0f2f5;border-radius:9px;place-items:center;width:36px;height:36px;margin-bottom:24px;display:grid}.metric-icon svg{width:18px}.metric-grid article>span{color:var(--muted);font-size:11px}.metric-grid strong{letter-spacing:-.04em;margin:5px 0 10px;font-size:30px}.metric-grid small{color:#a3a7ad;font-size:9px}.admin-panel{border:1px solid var(--line);background:#fff;border-radius:12px;overflow:hidden}.panel-heading{border-bottom:1px solid var(--line);padding:20px 23px}.panel-heading h2{margin:0 0 5px;font-size:15px}.panel-heading p{color:var(--muted);margin:0;font-size:11px}.check-list{grid-template-columns:repeat(4,1fr);display:grid}.check-list>div{border-right:1px solid var(--line);gap:12px;padding:22px;display:flex}.check-list>div:last-child{border:0}.check-list i{border-radius:50%;flex:none;width:8px;height:8px;margin-top:4px}.check-list i.good{background:#41a677}.check-list i.neutral{background:#d5a542}.check-list span{gap:5px;display:grid}.check-list strong{font-size:12px}.check-list small{color:var(--muted);font-size:10px}.table-panel{overflow-x:auto}table{border-collapse:collapse;width:100%;min-width:800px}th{text-align:left;border-bottom:1px solid var(--line);color:#737b86;letter-spacing:.035em;text-transform:uppercase;background:#fafafa;padding:14px 18px;font-size:12px;font-weight:750}td{color:#535962;vertical-align:middle;border-bottom:1px solid #eff0f2;padding:16px 18px;font-size:14px}tbody tr:last-child td{border:0}tbody tr:hover{background:#fbfbfc}td>strong{color:var(--ink);font-size:14px;display:block}td>small{color:#8b929b;margin-top:4px;font-size:11px;display:block}.wide-cell{max-width:340px}.state{color:#5f6670;background:#f0f1f3;border-radius:99px;align-items:center;min-height:27px;padding:6px 10px;font-size:11px;font-weight:800;line-height:1;display:inline-flex}.state.published,.state.active{color:#277451;background:#eaf6ef}.state.archived,.state.suspended,.state.failed{color:#a83f4c;background:#fff0f1}.tag-cell{gap:4px;display:flex}.tag-cell span{background:#f0f2f5;border-radius:4px;padding:5px 7px;font-size:11px}.icon-button{border:1px solid var(--line);color:#68707b;background:#fff;border-radius:7px;place-items:center;width:30px;height:30px;display:grid}.icon-button svg{width:14px}.admin-notice,.form-error{border-radius:8px;margin:-15px 0 18px;padding:11px 13px;font-size:12px}.admin-notice{color:#3463a6;background:#edf5ff;border:1px solid #d8e7fa}.form-error{color:#a73b49;background:#fff1f2;border:1px solid #f0d7da}.admin-search{border:1px solid var(--line);background:#fff;border-radius:9px;max-width:430px;height:42px;margin-bottom:18px;display:flex;overflow:hidden}.admin-search svg{color:#90969d;width:17px;margin:12px}.admin-search input{border:0;outline:0;flex:1;min-width:0}.admin-search button,.credit-form button{color:#fff;background:#242930;border:0;padding:0 16px;font-size:11px;font-weight:700}.balance{color:#6d5328;align-items:center;gap:6px;font-weight:800;display:flex}.balance svg{width:14px}.credit-form{gap:5px;display:flex}.credit-form input{border:1px solid var(--line);border-radius:6px;width:86px;padding:7px;font-size:11px}.credit-form input:nth-child(2){width:120px}.credit-form button{border-radius:6px;padding:0 10px}.modal-backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);z-index:50;background:#1013177a;place-items:center;padding:25px;display:grid;position:fixed;inset:0}.edit-modal{background:#fff;border-radius:14px;width:min(100%,650px);max-height:92vh;padding:26px;overflow:auto;box-shadow:0 24px 80px #00000040}.edit-modal.large{width:min(100%,780px)}.modal-title{justify-content:space-between;align-items:start;margin-bottom:24px;display:flex}.modal-title h2{margin:5px 0 0;font-size:21px}.modal-title>button{background:#f2f3f4;border:0;border-radius:8px;place-items:center;width:32px;height:32px;display:grid}.modal-title svg{width:17px}.form-grid{grid-template-columns:1fr 120px;gap:15px;display:grid}.form-grid label{color:#5d646d;gap:7px;font-size:10px;font-weight:750;display:grid}.form-grid label.full{grid-column:1/-1}.form-grid input,.form-grid textarea,.form-grid select{background:#fff;border:1px solid #dfe2e5;border-radius:8px;outline:0;width:100%;padding:10px}.form-grid textarea{resize:vertical;line-height:1.6}.form-grid input:focus,.form-grid textarea:focus,.form-grid select:focus{border-color:#657185;box-shadow:0 0 0 3px #eef0f3}.form-grid label small{color:#969ca3;font-weight:400}.save-button{color:#fff;background:#20242a;border:0;border-radius:8px;justify-content:center;align-items:center;gap:7px;width:100%;height:44px;margin-top:21px;font-size:11px;font-weight:800;display:flex}.save-button svg{width:15px}.relationship-summary{gap:8px;margin-bottom:17px;display:flex}.relationship-summary span{background:#f2f3f5;border-radius:7px;padding:8px 11px;font-size:10px}.replay{background:#f6f7f8;border-radius:9px;gap:16px;max-height:62vh;padding:18px;display:grid;overflow-y:auto}.replay article{gap:8px;display:grid}.replay span{letter-spacing:.08em;color:#8a919a;font-size:8px;font-weight:800}.replay p{white-space:pre-wrap;background:#fff;border:1px solid #e5e7e9;border-radius:8px;margin:3px 0 0;padding:10px 12px;font-size:11px;line-height:1.6}.replay .ai-line{margin-left:35px}.replay .ai-line p{border-left:3px solid #687485}.replay small{color:#999fa6;font-size:8px}.empty{text-align:center;color:#8c9298;background:0 0!important;border:0!important}.admin-login{background:#f2f3f5;place-items:center;min-height:100vh;padding:20px;display:grid}.admin-login>section{background:#fff;border:1px solid #e2e4e7;border-radius:15px;width:min(100%,390px);padding:35px;box-shadow:0 20px 60px #181c2214}.login-mark{margin-bottom:26px}.login-mark span{color:#fff;background:#17191d}.login-title{color:#777e88;letter-spacing:.16em;align-items:center;gap:6px;font-size:8px;font-weight:800;display:flex}.login-title svg{width:13px}.admin-login h1{margin:9px 0 6px;font-size:24px}.admin-login>section>p{color:var(--muted);margin:0 0 24px;font-size:12px}.admin-login form{gap:15px;display:grid}.admin-login label{gap:7px;font-size:10px;font-weight:750;display:grid}.admin-login input{border:1px solid #dfe2e5;border-radius:8px;outline:0;height:43px;padding:0 11px}.admin-login input:focus{border-color:#606b7b}.admin-login form>button{color:#fff;background:#1e2228;border:0;border-radius:8px;height:44px;font-size:11px;font-weight:800}.admin-login .form-error{margin:0}@media (max-width:900px){.admin-shell{display:block}.admin-shell>aside{width:100%;height:auto;padding:14px;position:relative}.admin-brand{padding:0}.admin-brand div{display:none}.admin-shell nav{margin-top:12px;display:flex;overflow-x:auto}.admin-shell nav a{white-space:nowrap}.admin-main{padding:26px 16px 70px}.metric-grid{grid-template-columns:repeat(2,1fr)}.check-list{grid-template-columns:1fr}.check-list>div{border-right:0;border-bottom:1px solid var(--line)}.page-header{align-items:start}.status-chip{display:none}}@media (max-width:520px){.metric-grid{grid-template-columns:1fr 1fr;gap:9px}.metric-grid article{padding:15px}.metric-grid strong{font-size:25px}.form-grid{grid-template-columns:1fr}.form-grid label{grid-column:1!important}.edit-modal{padding:20px}.page-header h1{font-size:24px}}.status-chip.degraded{color:#a33f4b;background:#fff2f2;border-color:#f0d7da}.status-chip.degraded i,.check-list i.bad{background:#cf5361}.status-chip.checking{color:#6f7680;background:#f2f3f5;border-color:#e1e3e6}.status-chip.checking i{background:#9aa0a8}.check-list strong{align-items:center;gap:6px;display:flex}.check-list strong svg{width:14px}.admin-gift-name{align-items:center;gap:11px;min-width:250px;display:flex}.admin-gift-name>span{background:#f5f1f4;border-radius:10px;place-items:center;width:38px;height:38px;font-size:22px;display:grid}.admin-gift-name>div{min-width:0}.admin-gift-name strong{color:var(--ink);font-size:12px;display:block}.admin-gift-name small{color:#999fa7;white-space:nowrap;text-overflow:ellipsis;max-width:300px;margin-top:4px;font-size:9px;display:block;overflow:hidden}.gift-effect-list{flex-wrap:wrap;gap:5px;display:flex}.gift-effect-list span{color:#2d7757;background:#eef7f2;border-radius:5px;padding:4px 6px;font-size:9px;font-weight:750}.gift-effect-list span.negative{color:#a83f4c;background:#fff0f1}.gift-form-grid{grid-template-columns:1fr 1fr}.gift-effect-note{color:#747b84;background:#f5f6f7;border-radius:8px;margin:16px 0 0;padding:11px 12px;font-size:10px;line-height:1.6}.item-image-grid{grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:10px;max-height:50vh;display:grid;overflow:auto}.item-image-grid button{text-align:left;background:#fff;border:1px solid #dfe2e5;border-radius:8px;gap:5px;padding:8px;display:grid}.item-image-grid img{object-fit:cover;border-radius:6px}.item-image-grid small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.item-user-results{gap:6px;max-height:180px;margin:14px 0;display:grid;overflow:auto}.item-user-results button{text-align:left;background:#fff;border:1px solid #dfe2e5;border-radius:8px;padding:9px}.item-user-results button[aria-pressed=true]{background:#f2f3f4;border-color:#20242a}.character-list-identity{align-items:center;gap:12px;display:flex}.character-list-identity strong{color:var(--ink);white-space:nowrap;font-size:12px}.character-list-thumbnail{color:#9aa1aa;background:#f0f2f5;border-radius:8px;flex:0 0 40px;place-items:center;width:40px;height:48px;display:grid;position:relative;overflow:hidden;box-shadow:inset 0 0 0 1px #0000000a}.character-list-thumbnail img{object-fit:cover;object-position:center 35%}.character-list-thumbnail svg{width:20px;height:20px}.character-list-actions{align-items:center;gap:8px;display:flex}.admin-dialog-backdrop{z-index:100;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#1215198c;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.admin-dialog{background:#fff;border:1px solid #ffffff52;border-radius:18px;width:min(100%,420px);padding:24px;box-shadow:0 28px 90px #0c10164d}.admin-dialog>header{justify-content:space-between;align-items:center;display:flex}.admin-dialog-icon{color:#3463a6;background:#edf5ff;border-radius:13px;place-items:center;width:44px;height:44px;display:grid}.admin-dialog.success .admin-dialog-icon{color:#277451;background:#eaf6ef}.admin-dialog.danger .admin-dialog-icon{color:#a83f4c;background:#fff0f1}.admin-dialog-icon svg{width:22px;height:22px}.admin-dialog>header>button{color:#69717c;background:#f1f3f5;border:0;border-radius:9px;place-items:center;width:34px;height:34px;display:grid}.admin-dialog>header>button svg{width:17px}.admin-dialog h2{color:var(--ink);letter-spacing:-.025em;margin:20px 0 9px;font-size:21px}.admin-dialog>p{color:#6d7682;white-space:pre-line;margin:0;font-size:13px;line-height:1.7}.admin-dialog>footer{justify-content:flex-end;gap:9px;margin-top:24px;display:flex}.admin-dialog>footer button{border:0;border-radius:9px;min-width:88px;height:40px;padding:0 16px;font-size:12px;font-weight:800}.admin-dialog>footer .secondary{color:#59616c;background:#f0f2f4}.admin-dialog>footer .primary{color:#fff;background:#282d34}.admin-dialog>footer .danger{color:#fff;background:#b94350}.admin-dialog button:disabled{opacity:.55;cursor:wait}@media (max-width:520px){.admin-dialog-backdrop{padding:14px}.admin-dialog{padding:20px}.admin-dialog>footer{grid-template-columns:1fr 1fr;display:grid}.admin-dialog>footer button{width:100%}}.scene-media-tabs{gap:8px;margin:16px 0;display:flex}.scene-media-tabs button{color:#505762;cursor:pointer;background:#fff;border:1px solid #dfe2e6;border-radius:10px;flex:1;justify-content:center;align-items:center;gap:8px;min-height:44px;display:flex}.scene-media-tabs button[aria-selected=true]{color:#fff;background:#24292f;border-color:#24292f}.scene-media-tabs svg{width:17px;height:17px}.media-kind-badge{z-index:1;color:#fff;background:#20252dde;border-radius:6px;align-items:center;gap:5px;padding:5px 8px;font-size:11px;display:flex;position:absolute;top:8px;left:8px}.media-kind-badge svg{width:13px;height:13px}.media-processing-icon{color:#79818d;width:32px;height:32px;margin:auto}.episode-video-label{z-index:1;color:#fff;background:#20252de0;border-radius:3px;padding:2px 4px;font-size:10px;position:absolute;bottom:2px;left:3px}.form-grid fieldset,.operation-form fieldset{background:#fafbfc;border:1px solid #e2e5e8;border-radius:10px;min-width:0;margin:0;padding:14px}.form-grid fieldset.full{grid-column:1/-1}.form-grid fieldset legend,.operation-form fieldset legend{color:#4f5762;padding:0 6px;font-size:11px;font-weight:800}.form-grid fieldset>small,.operation-form fieldset>small{color:#858c95;margin:0 0 12px;font-size:10px;line-height:1.55;display:block}.episode-prerequisites{flex-wrap:wrap;gap:7px;margin:8px 0;display:flex}.episode-prerequisites label{color:#5d646d;background:#fff;border:1px solid #e1e4e7;border-radius:7px;align-items:center;gap:6px;padding:7px 9px;font-size:10px;grid-template-columns:none!important;display:flex!important}.episode-prerequisites input{margin:0;width:auto!important}.episode-repeatable{justify-content:flex-start;align-items:center;gap:7px;grid-template-columns:auto 1fr!important;display:flex!important}.episode-repeatable input{margin:0;width:auto!important}.user-security-actions{white-space:nowrap;align-items:center;gap:8px;display:flex}.user-password-reset-button{color:#424a55;background:#fff;border:1px solid #d9dfe4;border-radius:8px;padding:8px 10px;font-size:12px;font-weight:700}.user-password-reset-button:disabled{opacity:.5;cursor:not-allowed}.password-reset-dialog{max-height:90dvh;color:var(--ink);overflow:auto}.password-reset-dialog::backdrop{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#1215198c}.password-reset-dialog fieldset{border:0;gap:12px;min-width:0;margin:20px 0 0;padding:0;display:grid}.password-reset-dialog label{gap:7px;font-size:13px;font-weight:700;display:grid}.password-reset-dialog input{width:100%;min-height:42px;font:inherit;border:1px solid #d9dfe4;border-radius:8px;padding:9px 12px}.password-reset-dialog input:focus-visible{outline-offset:2px;outline:2px solid #3463a6}.password-reset-dialog small{color:#6d7682;font-size:12px}.password-reset-error{color:#a83f4c;font-size:13px;line-height:1.6}.password-reset-dialog footer{justify-content:flex-end;gap:9px;margin-top:24px;display:flex}.password-reset-dialog footer button{border:0;border-radius:9px;min-height:40px;padding:0 16px;font-size:12px;font-weight:800}.password-reset-dialog footer .secondary{color:#59616c;background:#f0f2f4}.password-reset-dialog footer .primary{color:#fff;background:#282d34}.admin-shell .sidebar-nav{scrollbar-width:thin;scrollbar-color:#555d68 var(--nav);flex:1;align-content:start;gap:18px;min-height:0;padding-bottom:18px;overflow-y:auto}.sidebar-nav-group{min-width:0}.sidebar-nav-group h2{color:#b3bac4;margin:0 12px 7px;font-size:11px;font-weight:650}.sidebar-nav-group>div{gap:4px;display:grid}.admin-shell .sidebar-nav a{color:#b3bac4;height:auto;min-height:40px;padding-block:10px}.admin-shell .sidebar-nav a:hover{color:#fff}.admin-shell .sidebar-nav a.active{color:var(--ink)}.admin-shell .sidebar-nav a:focus-visible{outline-offset:-2px;outline:2px solid #c3d6ff}@media (max-width:900px){.admin-shell .sidebar-nav{flex:none;gap:12px;padding-bottom:0;display:grid;overflow:visible}.sidebar-nav-group{min-width:0}.sidebar-nav-group>div{scrollbar-width:thin;gap:4px;padding-bottom:4px;display:flex;overflow-x:auto}.sidebar-nav-group a{flex:none}.sidebar-nav-group h2{margin-inline:12px}}.cheat-catalog .page-header h1{letter-spacing:-.03em}.cheat-catalog .page-header p{color:#5b6470;max-width:72ch;line-height:1.65}.cheat-catalog-scope{color:#5b6470;max-width:72ch;margin:-12px 0 24px;font-size:13px;line-height:1.7}.cheat-catalog-error{color:#a73b49;background:#fff1f2;border:1px solid #f0d7da;border-radius:8px;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:18px;padding:14px 16px;display:flex}.cheat-catalog-error p{overflow-wrap:anywhere;flex:1;margin:0;font-size:13px}.cheat-catalog .table-panel:focus-visible,.cheat-catalog button:focus-visible{outline:2px solid var(--blue);outline-offset:3px}.cheat-catalog table{min-width:640px}.cheat-catalog-caption{color:#5b6470;text-align:left;padding:14px 18px;font-size:12px}.cheat-catalog td{overflow-wrap:anywhere;max-width:360px}.cheat-catalog td>small{color:#626b77;max-width:65ch;font-size:14px;line-height:1.6}.cheat-catalog-empty{white-space:normal;padding:32px 6px}.cheat-catalog-empty strong{color:var(--ink);font-size:15px}.cheat-catalog-empty p{color:#5b6470;max-width:65ch;margin:8px 0 0;font-size:13px;line-height:1.7}.cheat-catalog time{white-space:nowrap;font-variant-numeric:tabular-nums}.cheat-catalog-search{flex-wrap:wrap;align-items:end;gap:12px;margin:0 0 22px;display:flex}.cheat-catalog-search label{gap:8px;font-size:14px;display:grid}.cheat-catalog-search-query{flex:280px;max-width:560px}.cheat-catalog-search input,.cheat-catalog-search select{width:100%;min-width:0;min-height:44px;color:var(--ink);font:inherit;background:#fff;border:1px solid #c8cdd3;border-radius:8px;padding:10px 12px;font-size:16px}.cheat-catalog-search input:focus-visible,.cheat-catalog-search select:focus-visible{outline:2px solid var(--blue);outline-offset:3px}.cheat-catalog-search p{color:#626b77;flex-basis:100%;margin:0;font-size:14px}.cheat-catalog button:hover:not(:disabled){filter:brightness(.94)}@media (max-width:640px){.cheat-catalog-empty{max-width:calc(100vw - 76px)}.cheat-catalog-error{align-items:flex-start}}.cheat-catalog .page-header{flex-wrap:wrap;gap:20px}.cheat-catalog .header-button{white-space:normal;text-align:center;height:auto;min-height:44px;padding:10px 16px;font-size:14px;line-height:1.5}.cheat-primary{color:#fff!important;background:#242930!important;border-color:#242930!important}.cheat-editor{margin:0 0 24px;padding:24px;font-size:16px;overflow:visible}.cheat-editor h2{margin:0 0 20px;font-size:20px}.cheat-editor h2:focus{outline:none}.cheat-editor p{color:#5b6470;overflow-wrap:anywhere;font-size:14px;line-height:1.7}.cheat-editor-fields{border:0;min-width:0;margin:0;padding:0}.cheat-editor .form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.cheat-editor label{color:#424d5b;min-width:0;font-size:14px;font-weight:600}.cheat-editor input,.cheat-editor select,.cheat-editor textarea{min-width:0;font-size:16px;font-weight:400}.cheat-editor .form-error{color:#a73b49;margin:16px 0 0}.cheat-form-actions{flex-wrap:wrap;align-items:center;gap:10px;margin:16px 0;font-size:13px;display:flex}.cheat-form-actions .form-error{margin:0}.cheat-catalog>.form-error{margin:0 0 18px}.cheat-selector{margin-bottom:20px}.cheat-selector>label,.cheat-selector select,.cheat-selector .cheat-form-actions{margin:10px 0}.cheat-selector p{margin:8px 0}.cheat-preview{object-fit:contain;background:#eef0f2;border-radius:8px;width:110px;height:146px;margin:0 0 8px;display:block}.cheat-editor>.cheat-preview{width:200px;max-width:100%;height:266px}.cheat-no-media{color:#737b86;font-size:12px}.cheat-media-picker{border:1px solid #dfe2e5;border-radius:10px;min-width:0;margin:22px 0 0;padding:16px}.cheat-media-picker legend{padding:0 6px;font-size:14px;font-weight:700}.cheat-media-options{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;margin:14px 0;display:grid}.cheat-media-option{cursor:pointer;overflow-wrap:anywhere;border:1px solid #e2e5e8;border-radius:8px;align-items:flex-start;gap:10px;padding:10px;display:flex!important}.cheat-media-option input{flex:none;margin-top:4px}.cheat-media-option>span{min-width:0}.cheat-media-option small{color:#737b86;margin-top:4px;display:block}.cheat-current-media{align-items:center;gap:16px;margin-bottom:16px;display:flex}.cheat-current-media .cheat-preview{margin:0}.cheat-success{color:#26724f;background:#f0faf4;border:1px solid #cbe6d4;border-radius:8px;padding:14px;font-size:13px}.cheat-catalog td .header-button{margin-top:6px}.cheat-catalog .tag-cell{flex-wrap:wrap}.cheat-upload .form-grid{grid-template-columns:minmax(0,1fr)}.cheat-upload .character-image-dropzone{color:#5b6470;min-height:180px}.cheat-upload .character-image-dropzone strong{max-width:none;font-size:16px;font-weight:400}.cheat-upload .character-image-dropzone small{font-size:13px}.cheat-upload .character-image-dropzone button{min-height:42px;font-size:14px}.cheat-upload .character-image-dropzone.disabled{opacity:.65}.cheat-upload-summary{font-variant-numeric:tabular-nums}.cheat-upload-summary>strong{color:#26394d;font-size:17px;font-weight:500}.cheat-upload-summary>span{color:#4f5d6c;font-size:14px}.cheat-upload-summary .media-upload-counts>span{font-size:14px}.cheat-upload-summary .media-upload-counts .processing{color:#305b9d;background:#e7effb}.cheat-upload-summary .media-transfer-progress{font-size:14px}.cheat-upload-summary progress{accent-color:#356ca1;height:10px}.cheat-upload-current{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.cheat-upload-list{max-height:520px;margin:16px 0;padding:0;list-style:none;overflow:auto}.cheat-upload-list li{border-bottom:1px solid #e2e5e8;grid-template-columns:minmax(0,1fr) auto;gap:12px 16px;padding:18px 0;display:grid}.cheat-upload-list li.processing,.cheat-upload-list li.uploading{background:#f4f7fb;padding:18px 12px}.cheat-upload-file{overflow-wrap:anywhere;gap:4px;min-width:0;font-size:15px;display:grid}.cheat-upload-file small{color:#5b6470;font-size:13px}.cheat-upload-list .media-upload-stage{white-space:nowrap;background:#eef0f3;border-radius:6px;align-self:start;align-items:center;gap:6px;padding:7px 9px;font-size:14px;display:inline-flex}.cheat-upload-list .media-upload-stage.processing,.cheat-upload-list .media-upload-stage.uploading{color:#305b9d;background:#e7effb}.cheat-upload-list .media-upload-stage.completed{color:#23693b;background:#e7f5ed}.cheat-upload-list .media-upload-stage.failed,.cheat-upload-list .media-upload-stage.excluded{color:#a13d31;background:#fff0ee}.cheat-upload-list label{gap:8px;min-width:0;max-width:720px;display:grid}.cheat-upload-list input{background:#fff;border:1px solid #dfe2e5;border-radius:8px;width:100%;padding:10px}.cheat-upload-list input:disabled{color:#5b6470;background:#f5f6f7}.cheat-upload-list button{grid-column:2;place-self:end}.cheat-file-progress{color:#4f5d6c;grid-column:1/-1;gap:8px;font-size:13px;display:grid}.cheat-file-progress progress{accent-color:#356ca1;width:100%;height:8px}.cheat-upload progress[value]{appearance:none;background:#dce5ef;border:0;border-radius:5px;overflow:hidden}.cheat-upload progress[value]::-webkit-progress-bar{background:#dce5ef;border-radius:5px}.cheat-upload progress[value]::-webkit-progress-value{background:#356ca1;border-radius:5px}.cheat-upload progress[value]::-moz-progress-bar{background:#356ca1;border-radius:5px}.cheat-upload-name,.cheat-upload-analysis{color:#4f5d6c;grid-column:1/-1;font-size:13px}.cheat-upload-list .form-error{grid-column:1/-1;margin:0}.cheat-upload-list .media-upload-stage.duplicate{color:#805719;background:#fff5df}.cheat-duplicate-media{text-align:left;background:#f5f6f8;border-radius:8px;grid-column:1/-1;align-items:center;gap:12px;min-width:0;padding:12px;display:flex}.cheat-duplicate-media img,.cheat-duplicate-placeholder{object-fit:cover;background:#e5e8ec;border-radius:4px;flex-shrink:0;width:64px;height:80px}.cheat-duplicate-placeholder{text-align:center;color:#5b6470;place-items:center;font-size:12px;display:grid}.cheat-duplicate-media>div{overflow-wrap:anywhere;gap:5px;min-width:0;font-size:14px;display:grid}.cheat-duplicate-media small{color:#5b6470;font-size:13px}.cheat-media-library{background:0 0;border:0;padding:0}.cheat-media-library>.cheat-catalog-caption{margin:4px 0 16px;padding:0;font-size:14px}.cheat-media-grid article{background:#fff;flex-direction:column;display:flex}.cheat-media-thumb{aspect-ratio:3/4;cursor:pointer;background:#eef0f2;border:0;border-radius:0;width:100%;padding:0;display:block;position:relative;overflow:hidden}.cheat-media-thumb>img{object-fit:cover;width:100%;height:100%;display:block}.cheat-media-thumb:disabled{cursor:default}.cheat-media-placeholder{color:#5b6470;flex-direction:column;justify-content:center;align-items:center;gap:10px;height:100%;font-size:13px;display:flex}.cheat-media-placeholder svg{width:30px;height:30px}.cheat-video-badge{color:#fff;font-variant-numeric:tabular-nums;background:#242930;border-radius:6px;align-items:center;gap:5px;padding:5px 7px;font-size:12px;display:flex;position:absolute;bottom:10px;right:10px}.cheat-video-badge svg{width:13px;height:13px}.cheat-media-meta{flex:1;gap:9px;font-size:14px}.cheat-media-meta>strong{font-weight:500}.cheat-media-meta small{color:#5b6470;font-size:13px}.cheat-media-story{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.cheat-media-card-actions{gap:8px;margin-top:auto;display:grid}.cheat-media-card-actions .form-error{overflow-wrap:anywhere;margin:0;font-size:13px}.cheat-media-grid article.cheat-media-selected{outline-offset:1px;outline:2px solid #356ca1}.cheat-media-selection{cursor:pointer;background:#f4f7fa;align-items:center;gap:8px;min-height:44px;padding:10px 14px;font-size:14px;display:flex}.cheat-media-selection input{accent-color:#356ca1;width:18px;height:18px;margin:0}.cheat-media-classification{background:#f6f8fa;border:1px solid #d7dee6;border-radius:10px;gap:10px;margin:0 0 22px;padding:16px;display:grid}.cheat-media-classification-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.cheat-media-classification-actions strong{margin-right:auto;font-size:15px}.cheat-media-classification p{color:#5b6470;margin:0;font-size:13px;line-height:1.6}.cheat-media-classification .form-error{color:brown}.cheat-media-card-actions button:focus-visible,.cheat-media-selection input:focus-visible,.cheat-media-classification button:focus-visible{outline-offset:3px;outline:2px solid #356ca1}.cheat-media-filters{border:0;gap:16px;min-width:0;margin:0 0 22px;padding:0;display:grid}.cheat-media-filter-bar{flex-wrap:wrap;align-items:start;gap:16px;display:flex}.cheat-story-filter{flex:320px;gap:6px;min-width:0;max-width:680px;font-size:14px;font-weight:500;display:grid}.cheat-story-filter-bar{background:#fff;border:1px solid #c8cdd3;border-radius:8px;flex-wrap:wrap;align-items:center;gap:8px;min-height:50px;padding:5px 8px;display:flex}.cheat-story-filter-empty{color:#626b77;flex:1;padding:8px;font-weight:400}.cheat-story-filter-chip{color:#253646;background:#edf0f3;border:1px solid #d5dce3;border-radius:7px;align-items:center;gap:4px;max-width:100%;padding-left:10px;display:flex}.cheat-story-filter-chip>span{overflow-wrap:anywhere;min-width:0}.cheat-story-filter-chip button,.cheat-story-filter-open{min-width:44px;min-height:44px;color:inherit;cursor:pointer;font:inherit;background:0 0;border:0;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;gap:6px;display:inline-flex}.cheat-story-filter-open{color:#314b64;white-space:nowrap;margin-left:auto;padding:8px}.cheat-story-filter-bar button:hover{background:#e5eaf0}.cheat-story-filter-bar button:focus-visible{outline:2px solid var(--blue);outline-offset:2px}.cheat-story-filter-bar svg{width:18px;height:18px}.cheat-story-filter-error{color:#b42318;flex-wrap:wrap;align-items:center;gap:8px;display:flex}.cheat-media-sort{flex:0 0 180px;max-width:100%}.cheat-media-sort select{min-height:50px}.cheat-story-filter-dialog{max-width:640px}.cheat-story-filter-dialog .cheat-catalog-search{margin:22px 0 12px}.cheat-story-filter-results{gap:8px;display:grid}.cheat-story-filter-results>button{text-align:left;width:100%;color:var(--ink);font:inherit;cursor:pointer;background:#fff;border:1px solid #dfe2e5;border-radius:8px;justify-content:space-between;align-items:center;gap:16px;padding:14px;display:flex}.cheat-story-filter-results>button:hover,.cheat-story-filter-results>button[aria-pressed=true]{background:#f3f5f7;border-color:#7c8794}.cheat-story-filter-results>button>span:first-child{overflow-wrap:anywhere;min-width:0}.cheat-story-filter-results strong,.cheat-story-filter-results small{display:block}.cheat-story-filter-results small{margin-top:6px}.cheat-story-filter-results .state{flex-shrink:0}.cheat-media-tier-filters{flex-wrap:wrap;gap:8px;display:flex}.cheat-media-tier-filters .header-button{color:#344150;background:#fff;border:1px solid #c8cdd3}.cheat-media-tier-filters .header-button[aria-pressed=true]{color:#fff;background:#253442;border-color:#253442}.cheat-media-tier-quick,.cheat-media-content-label-quick{gap:7px;min-width:0;display:grid}.cheat-media-tier-quick label,.cheat-media-content-label-quick label,.cheat-media-filters label{gap:6px;font-size:14px;font-weight:500;display:grid}.cheat-media-tier-quick select,.cheat-media-content-label-quick select,.cheat-media-filters select{color:#222;width:100%;min-width:0;min-height:44px;font:inherit;background:#fff;border:1px solid #c8cdd3;border-radius:7px;padding:9px 10px}.cheat-media-tier-quick select:disabled,.cheat-media-content-label-quick select:disabled{color:#59636f;cursor:wait;background:#f1f3f5}.cheat-media-tier-quick select:focus-visible,.cheat-media-content-label-quick select:focus-visible,.cheat-media-tier-filters button:focus-visible,.cheat-media-filters select:focus-visible{outline-offset:3px;outline:2px solid #356ca1}.cheat-media-tier-quick small,.cheat-media-content-label-quick small{color:#5b6470;overflow-wrap:anywhere;font-size:12px;line-height:1.5}.cheat-media-tier-quick .form-error,.cheat-media-content-label-quick .form-error{margin:0;font-size:13px;line-height:1.5}.cheat-media-picker .cheat-media-options{grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr));gap:16px}.cheat-media-option.cheat-picker-card{background:#fff;flex-direction:column;gap:0;padding:0;position:relative;overflow:hidden;display:flex!important}.cheat-picker-card>input{accent-color:#356ca1;z-index:1;border-radius:50%;width:18px;height:18px;margin:0;position:absolute;top:12px;left:12px;box-shadow:0 0 0 4px #fff}.cheat-picker-card.selected{border-color:#356ca1;box-shadow:0 0 0 2px #356ca1}.cheat-picker-card:focus-within{outline-offset:3px;outline:2px solid #356ca1}.cheat-picker-thumbnail{aspect-ratio:3/4;background:#eef0f2;width:100%;display:block;overflow:hidden}.cheat-picker-thumbnail>img{object-fit:cover;width:100%;height:100%;display:block}.cheat-picker-placeholder{color:#5b6470;flex-direction:column;justify-content:center;align-items:center;gap:12px;height:100%;font-size:14px;display:flex}.cheat-picker-placeholder svg{width:30px;height:30px}.cheat-picker-card-info{gap:10px;width:100%;min-width:0;padding:14px;display:grid}.cheat-picker-card-info>strong{-webkit-line-clamp:2;color:var(--ink);-webkit-box-orient:vertical;font-size:15px;font-weight:500;line-height:1.5;display:-webkit-box;overflow:hidden}.cheat-picker-facts,.cheat-picker-tag-status{color:#5b6470;font-variant-numeric:tabular-nums;font-size:13px;line-height:1.6}.cheat-current-media{background:#fafbfc;border:1px solid #dfe2e5;border-radius:8px;align-items:flex-start;padding:14px}.cheat-current-media>.cheat-picker-thumbnail{border-radius:6px;flex:0 0 110px}.cheat-current-media-info{overflow-wrap:anywhere;gap:8px;min-width:0;font-size:14px;display:grid}.cheat-current-media-info>strong{font-size:15px;font-weight:500;line-height:1.5}.cheat-story-menu{border-bottom:1px solid var(--line);flex-wrap:wrap;gap:8px;margin:0 0 24px;padding-bottom:16px;display:flex}.cheat-story-menu .header-button[aria-pressed=true]{color:#fff;background:#242930;border-color:#242930}.cheat-story-menu .header-button[aria-pressed=false]{color:#424d5b;background:#fff;border-color:#dfe2e5}.cheat-prologue-heading,.cheat-prologue-preview>header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:20px;display:flex}.cheat-prologue-editor h3,.cheat-prologue-editor h4{margin:0;font-size:18px;font-weight:500}.cheat-prologue-heading p{max-width:65ch;margin:8px 0 0;font-size:15px}.cheat-prologue-empty{text-align:center;background:#fafbfc;border:1px dashed #dfe2e5;border-radius:10px;padding:24px}.cheat-prologue-empty p{margin:6px 0;font-size:15px}.cheat-prologue-filmstrip{align-items:stretch;gap:12px;min-width:0;display:flex}.cheat-prologue-scenes{overscroll-behavior-x:contain;scrollbar-color:#aab2bb #f3f5f7;flex:1;gap:12px;min-width:0;margin:-4px;padding:4px;list-style:none;display:flex;overflow-x:auto}.cheat-prologue-scenes>li{flex:0 0 164px;min-width:0}.cheat-prologue-scenes>li>button{text-align:left;width:100%;color:var(--ink);cursor:pointer;background:#fff;border:2px solid #dfe2e5;border-radius:8px;padding:0;display:block;overflow:hidden}.cheat-prologue-scenes>li>button:hover{border-color:#7c8794}.cheat-prologue-scenes>li>button[aria-pressed=true]{border-color:var(--blue);background:#edf0f3}.cheat-prologue-film-image{aspect-ratio:16/9;background:#eef0f2;display:block;position:relative;overflow:hidden}.cheat-prologue-film-image>img{object-fit:cover;width:100%;height:100%;display:block}.cheat-prologue-film-image .cheat-prologue-placeholder{aspect-ratio:auto;gap:6px;height:100%;font-size:13px}.cheat-prologue-film-caption{justify-content:space-between;align-items:center;gap:6px;padding:10px;display:flex}.cheat-prologue-film-caption strong{font-size:14px;font-weight:600}.cheat-editor .cheat-prologue-film-caption small{white-space:nowrap;font-size:12px}.cheat-prologue-video-mark{color:#fff;background:#242930;border-radius:4px;align-items:center;gap:4px;padding:4px 6px;font-size:11px;display:flex;position:absolute;top:6px;right:6px}.cheat-prologue-video-mark svg{width:13px;height:13px}.cheat-prologue-add{color:#424d5b;cursor:pointer;background:#fafbfc;border:1px dashed #aab2bb;border-radius:8px;flex-direction:column;flex:0 0 100px;justify-content:center;align-items:center;gap:8px;min-height:124px;font-size:14px;display:flex}.cheat-prologue-add:hover{background:#edf0f3}.cheat-prologue-count{text-align:right;color:#5b6470;font-variant-numeric:tabular-nums;margin:12px 0 24px;font-size:13px}.cheat-prologue-active-scene{border-top:1px solid #dfe2e5;min-width:0;padding-top:24px}.cheat-prologue-active-scene>header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;display:flex}.cheat-prologue-scene-actions{flex-wrap:wrap;gap:6px;display:flex}.cheat-prologue-editor svg{flex-shrink:0;width:17px;height:17px}.cheat-prologue-scene-actions .header-button{padding:0 12px}.cheat-prologue-scene-body{grid-template-columns:minmax(0,280px) minmax(0,1fr);align-items:start;gap:24px;display:grid}.cheat-prologue-selected-media{gap:12px;min-width:0;display:grid}.cheat-prologue-media-stage{background:#eef0f2;border-radius:8px;place-items:center;height:300px;display:grid;overflow:hidden}.cheat-prologue-media-stage>img,.cheat-prologue-media-stage>video{object-fit:contain;width:100%;height:100%;display:block}.cheat-prologue-options img{aspect-ratio:3/4;object-fit:cover;width:100%;display:block}.cheat-prologue-placeholder{aspect-ratio:3/4;color:#5b6470;background:#eef0f2;flex-direction:column;justify-content:center;align-items:center;gap:10px;width:100%;font-size:14px;display:flex}.cheat-prologue-placeholder svg{width:28px;height:28px}.cheat-prologue-scene-body>label{gap:9px;min-width:0;display:grid}.cheat-prologue-scene-body textarea{resize:vertical;background:#fff;border:1px solid #dfe2e5;border-radius:8px;width:100%;padding:12px;line-height:1.7}.cheat-prologue-scene-body textarea:focus-visible{outline:2px solid var(--blue);outline-offset:2px}.cheat-prologue-scene-body small{color:#5b6470;text-align:right;font-size:13px}.cheat-prologue-picker{background:#fafbfc;border:1px solid #dfe2e5;border-radius:8px;min-width:0;margin:20px 0 0;padding:16px}.cheat-prologue-picker legend{padding:0 6px;font-size:15px}.cheat-prologue-options{grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:12px;margin-bottom:16px;display:grid}.cheat-prologue-options>button{text-align:left;cursor:pointer;background:#fff;border:1px solid #dfe2e5;border-radius:8px;flex-direction:column;gap:8px;min-width:0;padding:0 0 10px;display:flex;overflow:hidden}.cheat-prologue-options>button[aria-pressed=true]{outline:2px solid var(--blue)}.cheat-prologue-options>button>span:last-of-type,.cheat-prologue-options>button>small{overflow-wrap:anywhere;padding:0 10px;font-size:14px}.cheat-prologue-options>button>small{color:#5b6470;font-size:13px}.cheat-prologue-preview{background:#fafbfc;border:1px solid #dfe2e5;border-radius:10px;padding:20px}.cheat-prologue-stage{grid-template-columns:minmax(0,320px) minmax(0,1fr);align-items:center;gap:24px;display:grid}.cheat-prologue-stage>img,.cheat-prologue-stage>video{object-fit:contain;background:#e9ecef;border-radius:8px;width:100%;max-height:480px}.cheat-prologue-stage>p{white-space:pre-wrap;overflow-wrap:anywhere;color:var(--ink);margin:0;font-size:17px;line-height:1.8}@media (max-width:800px){.cheat-prologue-scene-body{grid-template-columns:minmax(0,1fr)}.cheat-prologue-media-stage{height:220px}}@media (max-width:600px){.cheat-prologue-scenes>li{flex-basis:130px}.cheat-prologue-film-caption{gap:2px;display:grid}.cheat-prologue-add{flex-basis:88px}.cheat-prologue-stage{grid-template-columns:minmax(0,1fr)}.cheat-prologue-options{grid-template-columns:repeat(2,minmax(0,1fr))}.cheat-prologue-preview{padding:14px}.cheat-editor{padding:18px}.cheat-editor .form-grid{grid-template-columns:1fr}.cheat-editor .form-grid label{grid-column:1}.cheat-catalog .page-header{align-items:flex-start}.cheat-media-options{grid-template-columns:repeat(auto-fill,minmax(130px,1fr))}.cheat-preview{max-width:100%}.cheat-upload-list li{grid-template-columns:minmax(0,1fr);gap:12px 10px}.cheat-upload-list button{grid-column:1}.cheat-upload-list .media-upload-stage{justify-self:start}.cheat-media-meta{padding:10px}.cheat-media-meta small{font-size:12px}}.cheat-location-editor{min-width:0}.cheat-location-media-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;display:flex}.cheat-location-media-heading>span{color:#5b6470;white-space:nowrap;font-variant-numeric:tabular-nums;font-size:14px}.cheat-location-toolbar .header-button,.cheat-location-media-actions .header-button{align-items:center;gap:8px;display:inline-flex}.cheat-location-toolbar svg,.cheat-location-media-actions svg{width:18px;height:18px}.cheat-location-list button,.cheat-location-options>button{width:100%;color:var(--ink);text-align:left;cursor:pointer;background:#fff;border:2px solid #dfe2e5;border-radius:8px;padding:0;display:block;overflow:hidden}.cheat-location-list button:hover,.cheat-location-options>button:hover{border-color:#7c8794}.cheat-location-options>button:disabled{cursor:not-allowed;background:#f3f5f7;border-color:#dfe2e5}.cheat-location-list button[aria-pressed=true],.cheat-location-options>button[aria-pressed=true]{border-color:var(--blue);background:#edf0f3}.cheat-location-thumbnail{aspect-ratio:16/10;background:#eef0f2;display:block;position:relative;overflow:hidden}.cheat-location-thumbnail img{object-fit:cover;width:100%;height:100%;display:block}.cheat-location-video-badge{color:#fff;white-space:nowrap;background:#20252de6;border-radius:4px;align-items:center;gap:4px;padding:3px 6px;font-size:12px;line-height:18px;display:inline-flex;position:absolute;bottom:6px;right:6px}.cheat-location-video-badge svg{width:13px;height:13px}.cheat-location-list .cheat-location-video-badge{padding:1px 3px;bottom:2px;right:2px}.cheat-location-list .cheat-location-video-badge svg{display:none}.cheat-location-placeholder{color:#5b6470;flex-direction:column;justify-content:center;align-items:center;gap:8px;height:100%;font-size:13px;display:flex}.cheat-location-placeholder svg{width:28px;height:28px}.cheat-location-caption{overflow-wrap:anywhere;gap:6px;padding:10px;display:grid}.cheat-location-caption strong{font-size:16px;font-weight:600;line-height:1.5}.cheat-location-caption small{color:#5b6470;font-size:14px;line-height:1.5}.cheat-location-settings summary{cursor:pointer;align-items:center;gap:12px;min-height:44px;font-size:16px;font-weight:600;list-style:none;display:flex}.cheat-location-settings summary::-webkit-details-marker{display:none}.cheat-location-settings summary span{color:#5b6470;font-size:14px;font-weight:400}.cheat-location-settings summary svg{flex-shrink:0;width:18px;height:18px;margin-left:auto}.cheat-location-settings[open] summary svg{transform:rotate(180deg)}.cheat-location-settings summary:focus-visible{outline:2px solid var(--blue);outline-offset:3px;border-radius:4px}.cheat-location-settings .form-grid{gap:12px;margin-top:12px}.cheat-location-media-heading{margin:20px 0 12px}.cheat-location-media-heading h3{margin:0}.cheat-location-editor .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cheat-location-editor select{border:1px solid #dde2e7;border-radius:8px;padding:10px;font-size:16px}.cheat-location-linked,.cheat-location-options{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px;margin:20px 0;padding:0;list-style:none;display:grid}.cheat-location-picker-filters{flex-wrap:wrap;gap:0 20px;margin-top:8px;display:flex}.cheat-location-unlinked-filter{cursor:pointer;align-items:center;gap:8px;width:fit-content;min-height:44px;font-size:14px;display:flex}.cheat-location-unlinked-filter input{width:18px;height:18px;accent-color:var(--blue);margin:0}.cheat-location-media-dialog .cheat-location-options>button{flex-direction:column;display:flex}.cheat-location-media-dialog .cheat-location-thumbnail{aspect-ratio:3/4;flex:none;width:100%}.cheat-location-media-dialog .cheat-location-thumbnail img{object-fit:contain}.cheat-location-media-dialog .cheat-location-caption strong{-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:42px;font-size:14px;display:-webkit-box;overflow:hidden}.cheat-location-linked li{border:1px solid #dfe2e5;border-radius:8px;align-self:start;min-width:0;overflow:hidden}.cheat-location-background{gap:8px;max-width:560px;margin:24px 0;display:grid}.cheat-location-upload-dialog .cheat-location-upload{box-shadow:none;border:0;margin:0;padding:20px 0 0}.cheat-location-upload .cheat-editor-savebar{margin:20px 0 0;padding:16px 0;bottom:-24px}@media (max-width:700px){.cheat-location-editor .form-grid{grid-template-columns:minmax(0,1fr)}.cheat-location-options{grid-template-columns:repeat(2,minmax(0,1fr))}.cheat-location-upload .cheat-editor-savebar{bottom:-16px}}.cheat-behavior-editor,.cheat-scene-editor{border:1px solid var(--border,#ddd);border-radius:12px;min-width:0;margin:24px 0;padding:20px}.cheat-scene-editor fieldset{border:1px solid var(--border,#ddd);border-radius:8px;min-width:0;margin:16px 0;padding:16px}.cheat-inline-check{align-items:center;gap:10px;font-size:16px;font-weight:400;display:flex!important}.cheat-inline-check input[type=checkbox]{flex:none;width:18px;height:18px;margin:0}.cheat-scene-cast{flex-wrap:wrap;gap:12px 24px;margin:12px 0;display:flex}.cheat-behavior-editor>small{margin-top:12px;line-height:1.6;display:block}.cheat-script-editor{gap:12px;min-width:0;display:grid}.cheat-script-editor ol{gap:14px;margin:0;padding:0;list-style:none;display:grid}.cheat-script-editor li{border:1px solid #dfe2e5;border-radius:8px;gap:12px;padding:14px;display:grid}.cheat-script-editor label{gap:8px;font-size:14px;font-weight:400;display:grid}.cheat-script-entry-header{flex-wrap:wrap;justify-content:space-between;align-items:end;gap:10px;display:flex}.cheat-script-entry-header>div{gap:6px;display:flex}.cheat-script-entry-header select{background:#fff;border:1px solid #dfe2e5;border-radius:6px;min-width:150px;padding:8px;font-size:16px}.cheat-script-editor .cheat-form-actions{flex-wrap:wrap}.cheat-script-preview{gap:20px;max-height:480px;display:grid;overflow:auto}.cheat-script-preview p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;line-height:1.8}.cheat-script-narration{text-align:center;color:#5b6470}.cheat-script-dialogue strong{margin-bottom:6px;font-size:14px;display:block}.cheat-script-dialogue p{background:#f0f2f4;border-radius:10px;padding:12px}.cheat-catalog-actions{flex-wrap:wrap;gap:8px;display:flex}.cheat-cast-entry{border:1px solid #dfe3e8;border-radius:12px;min-width:0;margin:20px 0;padding:20px}.cheat-cast-entry legend{padding:0 8px;font-weight:600}.cheat-cast-editor{min-width:0}.cheat-cast-toolbar{justify-content:space-between;align-items:center;gap:16px;margin:0 0 20px;display:flex}.cheat-cast-toolbar>span{color:#5b6470;white-space:nowrap;font-variant-numeric:tabular-nums;font-size:14px}.cheat-cast-toolbar .header-button{align-items:center;gap:8px;display:inline-flex}.cheat-cast-toolbar svg,.cheat-cast-entry .cheat-form-actions svg{width:18px;height:18px}.cheat-cast-strip{overscroll-behavior-x:contain;scrollbar-color:#aab2bb #f3f5f7;gap:12px;margin:-4px 0 24px;padding:4px;list-style:none;display:flex;overflow-x:auto}.cheat-cast-strip>li{flex:0 0 144px;min-width:0}.cheat-cast-strip>li>button,.cheat-cast-options>button{text-align:left;width:100%;color:var(--ink);cursor:pointer;background:#fff;border:2px solid #dfe2e5;border-radius:8px;padding:0;display:block;overflow:hidden}.cheat-cast-strip>li>button:hover,.cheat-cast-options>button:hover{border-color:#7c8794}.cheat-cast-strip>li>button[aria-pressed=true],.cheat-cast-options>button[aria-pressed=true]{border-color:var(--blue);background:#edf0f3}.cheat-cast-thumbnail{aspect-ratio:1;background:#eef0f2;display:block;overflow:hidden}.cheat-cast-thumbnail>img{object-fit:cover;width:100%;height:100%;display:block}.cheat-cast-placeholder{color:#5b6470;flex-direction:column;justify-content:center;align-items:center;gap:8px;height:100%;font-size:13px;display:flex}.cheat-cast-placeholder svg{width:28px;height:28px}.cheat-cast-caption{overflow-wrap:anywhere;gap:4px;padding:10px;display:grid}.cheat-cast-caption strong{font-size:16px;font-weight:600;line-height:1.5}.cheat-cast-caption :is(small,span){color:#5b6470;font-size:13px;line-height:1.5}.cheat-cast-options{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;margin:20px 0;display:grid}.cheat-cast-entry .cheat-form-actions>button{align-items:center;gap:6px;display:inline-flex}@media (max-width:600px){.cheat-cast-strip>li{flex-basis:120px}.cheat-cast-entry{padding:16px}.cheat-cast-options{grid-template-columns:repeat(2,minmax(0,1fr))}}.cheat-cast-profile{flex-wrap:wrap;align-items:center;gap:12px;margin:20px 0;display:flex}.cheat-character-media-editor{min-width:0;container-type:inline-size}.cheat-character-media-columns{grid-template-columns:minmax(0,1fr);align-items:start;gap:24px;display:grid}.cheat-character-media-column{min-width:0}.cheat-character-media-column>.cheat-character-media-heading{min-height:44px;margin-top:0}@container (min-width:760px){.cheat-character-media-columns{grid-template-columns:repeat(2,minmax(0,1fr))}}.cheat-character-media-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin:28px 0 12px;display:flex}.cheat-character-media-heading h3{margin:0;font-size:18px}.cheat-character-media-heading .header-button{align-items:center;gap:6px;min-height:44px;display:inline-flex}.cheat-character-media-heading svg{width:16px;height:16px}.cheat-character-media-help{color:#5b6470;max-width:70ch;margin:0;font-size:14px;line-height:1.6}.cheat-character-media-grid .cheat-location-caption strong{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.cheat-character-media-grid .header-button{width:100%;min-height:44px}@media (max-width:600px){.cheat-character-media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}:is(.cheat-character-page,.cheat-catalog:has(.cheat-editor)){width:100%;max-width:1280px}.cheat-character-layout{grid-template-columns:minmax(0,1fr) minmax(280px,360px);align-items:start;gap:32px;display:grid}.cheat-character-details,.cheat-character-profile{min-width:0}.cheat-character-details .form-grid,.cheat-editor .cheat-behavior-editor .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cheat-character-profile{position:sticky;top:24px}.cheat-character-profile h3{margin:0 0 8px;font-size:18px}.cheat-character-profile>p{margin:8px 0 16px}.cheat-profile-dropzone{background:#fafbfc;border:1px dashed #a6b0bc;border-radius:12px;overflow:hidden}.cheat-profile-dropzone.dragging{border-color:var(--blue);background:#edf4fb}.cheat-profile-preview{background:#eef0f2}.cheat-profile-preview img,.cheat-profile-preview video{object-fit:contain;width:100%;max-height:360px;display:block}.cheat-profile-empty{color:#5b6470;flex-direction:column;justify-content:center;align-items:center;gap:16px;min-height:180px;font-size:14px;display:flex}.cheat-profile-empty svg{stroke-width:1.5px;width:40px;height:40px}.cheat-profile-upload{text-align:center;color:#424d5b;flex-direction:column;align-items:center;gap:12px;padding:24px 16px;font-size:14px;display:flex}.cheat-profile-upload svg{width:20px;height:20px}.cheat-profile-upload small,.cheat-profile-upload span{color:#5b6470;font-size:13px}.cheat-profile-file{display:none}.cheat-profile-filename{overflow-wrap:anywhere}.cheat-profile-filename span{margin-top:4px;display:block}.cheat-character-profile:has(input:disabled) .cheat-profile-dropzone{opacity:.65}.cheat-character-profile .header-button:focus-visible{outline:2px solid var(--blue);outline-offset:3px}@media (max-width:1100px){.cheat-character-layout{grid-template-columns:minmax(0,1fr) minmax(260px,300px);gap:24px}}@media (max-width:900px){.cheat-character-layout{grid-template-columns:minmax(0,1fr)}.cheat-character-profile{width:100%;max-width:480px;position:static}}@media (max-width:600px){.cheat-character-details .form-grid,.cheat-editor .cheat-behavior-editor .form-grid{grid-template-columns:minmax(0,1fr)}}.cheat-character-profile .cheat-form-actions .header-button{color:#424d5b;background:#fff;border-color:#dfe2e5}.cheat-story-layout{grid-template-columns:minmax(0,1fr) minmax(280px,360px);align-items:start;gap:32px;display:grid}.cheat-story-details{min-width:0}.cheat-story-details .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cheat-cover-select{width:100%}.cheat-cover-dialog{width:min(960px,100% - 32px);max-height:85dvh;color:var(--ink);border:1px solid #dfe2e5;border-radius:16px;padding:24px}.cheat-cover-dialog::backdrop{background:#0f172a8c}.cheat-cover-dialog header,.cheat-cover-dialog footer{justify-content:space-between;align-items:center;gap:16px;display:flex}.cheat-cover-dialog h2{margin:0;font-size:20px}.cheat-cover-dialog .cheat-media-options{grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}.cheat-cover-dialog footer{justify-content:flex-end;margin-top:16px}@media (max-width:1100px){.cheat-story-layout{grid-template-columns:minmax(0,1fr) minmax(260px,300px);gap:24px}}@media (max-width:900px){.cheat-story-layout{grid-template-columns:minmax(0,1fr)}}@media (max-width:600px){.cheat-story-details .form-grid{grid-template-columns:minmax(0,1fr)}.cheat-cover-dialog{padding:16px}}.cheat-catalog .page-header p,.cheat-catalog-caption,.cheat-catalog th,.cheat-catalog .state,.cheat-catalog .tag-cell span{font-size:14px}.cheat-catalog td>strong{font-size:16px}.cheat-catalog th{color:#5b6470}.cheat-catalog small,.cheat-catalog .cheat-no-media,.cheat-picker-facts,.cheat-picker-tag-status{font-size:14px}.cheat-editor .cheat-direction-count{color:#5b6470;font-variant-numeric:tabular-nums}.cheat-editor .form-grid label small,.cheat-editor small,.cheat-cover-dialog small{color:#5b6470;font-size:14px;font-weight:400;line-height:1.6}.cheat-editor input::placeholder,.cheat-editor textarea::placeholder{color:#64707d;opacity:1}.cheat-editor .form-grid input,.cheat-editor .form-grid select{min-height:44px}.cheat-editor :is(input,select,textarea,button,a):focus-visible,.cheat-cover-dialog :is(input,button):focus-visible{outline:2px solid var(--blue);outline-offset:3px}.cheat-editor .cheat-editor-context{color:var(--ink);margin:-8px 0 24px;font-size:18px;font-weight:600}.cheat-editor .cheat-tab-help{max-width:75ch;margin:-8px 0 24px}.cheat-editor .cheat-secondary,.cheat-cover-dialog .cheat-secondary{color:#424d5b;background:#fff;border-color:#c4cbd3}.cheat-editor-savebar{z-index:5;border-top:1px solid var(--line);background:#fff;border-radius:0 0 12px 12px;margin:24px -24px -24px;padding:16px 24px;position:sticky;bottom:0}.cheat-editor-save-summary{color:#5b6470;margin-bottom:12px}.cheat-editor-savebar .cheat-form-actions{margin:0;font-size:14px}.cheat-editor-savebar .cheat-form-actions>span{color:#5b6470;flex:240px;line-height:1.6}.cheat-editor-savebar .form-error{margin:0 0 12px;font-size:14px}.cheat-editor-savebar>p{margin:12px 0 0}.cheat-editor-fixed-actions>form{padding-bottom:var(--cheat-savebar-height,144px)}.cheat-editor-fixed-actions>form>.cheat-editor-savebar{left:var(--cheat-savebar-left,0px);width:var(--cheat-savebar-width,100%);padding-bottom:calc(16px + env(safe-area-inset-bottom,0px));border-radius:0;margin:0;position:fixed;bottom:0}.cheat-editor-fixed-actions>form>.cheat-editor-savebar .cheat-primary{justify-content:center;min-width:104px}.cheat-editor-fixed-actions>form>.cheat-editor-fields :is(input,select,textarea,button,summary){scroll-margin-bottom:calc(var(--cheat-savebar-height,144px) + 24px)}.cheat-story-details>p,.cheat-cast-entry>p,.cheat-behavior-editor>p,.cheat-direction-editor>p,.cheat-direction-replies>p,.cheat-location-editor>p{max-width:75ch}.cheat-cover-dialog{font-size:16px}.cheat-cover-dialog .header-button{height:auto;min-height:44px;padding:10px 16px;font-size:14px;line-height:1.5}.cheat-cover-dialog p{color:#5b6470;font-size:14px;line-height:1.7}.cheat-cover-dialog footer{background:#fff;flex-wrap:wrap;padding:16px 0;position:sticky;bottom:-24px}.cheat-cover-dialog header{flex-wrap:wrap}@media (max-width:600px){.cheat-editor-savebar{margin:24px -18px -18px;padding:12px 18px}.cheat-editor-savebar .cheat-form-actions>span{flex-basis:100%}.cheat-editor-fixed-actions>form>.cheat-editor-savebar{padding-bottom:calc(12px + env(safe-area-inset-bottom,0px))}.cheat-cover-dialog footer{bottom:-16px}}.user-verification-dialog .verification-status{background:#f1f5f8;border-radius:8px;padding:12px;font-size:14px}.verification-status small{margin-top:6px;display:block}.user-verification-dialog .verification-attestation{align-items:flex-start;font-weight:500;line-height:1.5;display:flex}.user-verification-dialog .verification-attestation input{flex:none;width:18px;min-height:18px}.user-verification-dialog footer{flex-wrap:wrap}.cheat-script-user{text-align:right;margin-left:15%}.cheat-script-user p{background:#e8edf3}.cheat-prologue-template-help{color:#5b6470;margin:0;font-size:13px;line-height:1.6}.cheat-prologue-feedback{background:#f4f5f7;border-radius:12px;flex-wrap:wrap;align-items:center;gap:12px;margin:0 0 16px;padding:12px 16px;display:flex}.cheat-prologue-feedback p{color:#434c59;flex:260px;margin:0;font-size:14px;line-height:1.6}.cheat-banner-upload-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:24px;display:grid}.cheat-banner-upload-grid .cheat-character-profile{width:100%;max-width:none;position:static}.cheat-banner-link-field{grid-column:1/-1}.cheat-banner-editor .form-grid small{color:#5b6470;font-weight:400;line-height:1.6}.cheat-banner-editor .cheat-profile-upload .header-button{color:var(--ink);background:#fff;border-color:#a6b0bc;min-height:44px}.cheat-banner-editor .cheat-profile-preview{align-items:center;min-height:180px;display:grid}.cheat-banner-editor .cheat-profile-preview :is(img,video){max-height:240px}.cheat-banner-editor .cheat-profile-upload{padding:20px 16px}.cheat-banner-editor .cheat-editor-savebar{position:static}.cheat-banner-upload-grid small{color:#5b6470;font-weight:400;line-height:1.6}.cheat-banner-manager .page-header p,.cheat-banner-editor-page .page-header p{color:#5b6470}.cheat-banner-back-link{align-items:center;gap:6px;display:inline-flex}.cheat-banner-back-link svg{width:16px;height:16px}.cheat-banner-admin-list{gap:16px;padding:0;list-style:none;display:grid}.cheat-banner-admin-list li{grid-template-columns:160px minmax(0,1fr) auto;align-items:center;gap:20px;padding:20px;display:grid}.cheat-banner-admin-list img{aspect-ratio:2;object-fit:cover;border-radius:8px;width:160px}.cheat-banner-admin-list h2{margin:0 0 8px;font-size:18px}.cheat-banner-admin-list p{overflow-wrap:anywhere;color:#5b6470;margin:0 0 8px}.cheat-banner-admin-list small{color:#5b6470}.cheat-banner-empty{padding:28px}@media (max-width:700px){.cheat-banner-upload-grid{grid-template-columns:minmax(0,1fr)}.cheat-banner-admin-list li{grid-template-columns:minmax(0,1fr) auto}.cheat-banner-admin-list img{grid-column:1/-1;width:100%;max-width:320px}}.credit-policy-panel{max-width:760px}.credit-policy-panel>.user-password-reset-button{min-height:44px;margin-top:16px;font-size:14px}.user-credit-dialog select{width:100%;min-height:42px;font:inherit;background:#fff;border:1px solid #d9dfe4;border-radius:8px;padding:9px 12px}.user-credit-dialog select:focus-visible{outline-offset:2px;outline:2px solid #3463a6}.user-credit-dialog h3{margin:28px 0 12px;font-size:14px}.user-credit-dialog ul{gap:8px;margin:0;padding:0;list-style:none;display:grid}.user-credit-dialog li{overflow-wrap:anywhere;background:#f3f5f7;border-radius:8px;padding:12px;font-size:13px;line-height:1.6}.cheat-catalog:has(.cheat-location-editor){max-width:1680px}.cheat-location-editor{grid-template-columns:232px minmax(0,1fr);align-items:start;gap:28px;display:grid}nav.cheat-location-navigation{border-right:1px solid #dfe2e5;min-width:0;padding-right:24px;display:block;position:sticky;top:24px}.cheat-location-navigation-heading{justify-content:space-between;align-items:center;gap:8px;margin-bottom:16px;display:flex}.cheat-location-navigation-heading h3{margin:0;font-size:16px}.cheat-location-navigation-heading>span{color:#5b6470;font-variant-numeric:tabular-nums;font-size:14px}.cheat-location-toolbar{margin-bottom:16px}.cheat-location-toolbar .header-button{justify-content:center;width:100%}.cheat-location-list{max-height:calc(100dvh - var(--cheat-savebar-height,144px) - 148px);overscroll-behavior:contain;scrollbar-color:#aab2bb #f3f5f7;flex-direction:column;gap:8px;min-height:80px;margin:0 -4px;padding:4px;list-style:none;display:flex;overflow:auto}.cheat-location-list>li{flex:none;min-width:0}.cheat-location-list button{grid-template-columns:52px minmax(0,1fr);min-height:72px;display:grid}.cheat-location-list .cheat-location-thumbnail{aspect-ratio:auto;align-self:center;height:72px}.cheat-location-list .cheat-location-caption{align-content:center}.cheat-location-list .cheat-location-caption strong{font-size:14px}.cheat-location-detail{min-width:0;container:cheat-location-detail/inline-size}.cheat-location-media-heading>span{margin-left:auto}.cheat-location-media-actions{margin:0 0 20px}.cheat-location-editor .cheat-location-secondary{border:1px solid #c4cbd3;font-weight:600}.cheat-location-editor .cheat-location-delete{color:#a73b49;font-weight:500}.cheat-location-linked .cheat-secondary,.cheat-location-background>.cheat-secondary:not(.cheat-location-secondary){font-weight:500}.cheat-location-filters{grid-template-columns:minmax(0,1fr) 180px;gap:12px;margin-bottom:12px;display:grid}.cheat-location-filters label{gap:8px;display:grid}.cheat-location-filters input{background:#fff;border:1px solid #c8cdd3;border-radius:8px;width:100%;min-height:44px;padding:10px 12px}.cheat-location-filter-row{align-items:center;gap:12px;min-width:0;margin-top:8px;display:flex}.cheat-location-filter-label{color:#5b6470;flex:none;font-size:14px}.cheat-location-kind-filters,.cheat-location-tier-filters{flex-wrap:wrap;gap:8px;min-width:0;display:flex}.cheat-location-kind-filters button,.cheat-location-tier-filters button{align-items:center;gap:8px;display:flex}.cheat-location-kind-filters button[aria-pressed=true],.cheat-location-tier-filters button[aria-pressed=true]{color:#234da0;background:#eaf0fd;border-color:#aabfe9}.cheat-location-kind-filters span,.cheat-location-tier-filters span{font-variant-numeric:tabular-nums}.cheat-location-result-count{font-variant-numeric:tabular-nums;margin:16px 0 8px}.cheat-location-linked .cheat-location-thumbnail{aspect-ratio:3/4}.cheat-location-linked .cheat-location-thumbnail img{object-fit:contain}.cheat-location-linked .cheat-location-caption{flex:1;align-content:start;gap:8px}.cheat-location-linked .cheat-location-caption>strong{-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:42px;font-size:14px;display:-webkit-box;overflow:hidden}.cheat-location-background-badge{font-weight:600;color:#334b68!important}.cheat-location-empty{padding:28px 0}.cheat-location-background h4,.cheat-location-background p{margin:0}.cheat-location-background-name{overflow-wrap:anywhere;color:#5b6470;font-size:13px}.cheat-authoring-conversion-notice{background:#f3f5f7;border-radius:8px;padding:12px 16px}@media (max-width:760px){.cheat-location-editor{grid-template-columns:minmax(0,1fr);gap:20px}nav.cheat-location-navigation{border:0;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:0;display:grid;position:static}.cheat-location-navigation-heading,.cheat-location-toolbar{margin:0}.cheat-location-navigation-heading{justify-content:flex-start}.cheat-location-list{flex-direction:row;grid-column:1/-1;gap:8px;max-height:none}.cheat-location-list>li{flex-basis:200px}}@media (max-width:600px){.cheat-location-media-heading h3{font-size:16px}.cheat-location-media-heading .header-button{padding:8px}.cheat-location-media-actions .header-button{padding:10px 12px}.cheat-location-filters{grid-template-columns:minmax(0,1fr) 130px;gap:8px}.cheat-location-filters input,.cheat-location-filters select{width:100%;min-width:0;font-size:16px}.cheat-location-tier-filters{flex-wrap:nowrap;gap:6px;overflow-x:auto}.cheat-location-tier-filters .header-button{border:1px solid #dfe2e5;flex-direction:column;flex:1 0 auto;justify-content:center;gap:2px;padding:8px 6px;font-size:14px}.cheat-location-linked .cheat-location-caption,.cheat-location-linked .header-button{padding:8px}.cheat-location-linked .cheat-media-tier-quick select{width:100%}}.cheat-media-location-title{overflow-wrap:anywhere;margin:0 0 20px;font-size:22px;font-weight:600}.cheat-media-workspace{grid-template-columns:minmax(0,1fr) minmax(300px,360px);align-items:start;gap:24px;display:grid}.cheat-media-workspace-toolbar{grid-column:1/-1;min-width:0}.cheat-media-workspace-toolbar>.cheat-form-actions:first-child{margin-top:0}.cheat-media-workspace button svg{flex-shrink:0;width:16px;height:16px}.cheat-media-workspace .header-button{min-height:40px}.cheat-media-save-summary,.cheat-media-bulk-actions,.cheat-media-panel-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.cheat-media-save-summary{color:#515b66;font-variant-numeric:tabular-nums;border-top:1px solid #dfe2e5;margin-top:16px;padding-top:16px;font-size:14px}.cheat-media-library,.cheat-media-panel{min-width:0}.cheat-media-panel{border-left:1px solid #dfe2e5;padding-left:24px;scroll-margin:20px}.cheat-media-panel-heading h3,.cheat-media-panel-empty h3{margin:0;font-size:18px}.cheat-media-filename{overflow-wrap:anywhere;margin:16px 0;font-size:14px;display:block}.cheat-media-preview{background:#f3f5f7;border-radius:8px;justify-content:center;display:flex;overflow:hidden}.cheat-media-preview .cheat-preview{object-fit:contain;width:100%;max-width:100%;height:220px}.cheat-media-help,.cheat-media-workspace small{color:#515b66;font-size:13px;line-height:1.6}.cheat-media-fields{border:0;gap:16px;min-width:0;margin:24px 0 0;padding:0;display:grid}.cheat-media-fields>legend{margin-bottom:16px;padding:0;font-weight:600}.cheat-media-workspace label{font-size:14px;font-weight:500}.cheat-media-fields>label,.cheat-media-field-pair>label,.cheat-media-bulk-fields>label{gap:6px;min-width:0;display:grid}.cheat-media-fields input:not([type=checkbox]),.cheat-media-fields select,.cheat-media-fields textarea,.cheat-media-bulk-fields select,.cheat-media-bulk-fields textarea,.cheat-media-bulk-fields input:not([type=checkbox]){width:100%;min-width:0}.cheat-media-fields .cheat-media-help{margin:0}.cheat-media-workspace .cheat-media-checkbox,.cheat-media-people label{align-items:center;gap:8px;min-height:40px;display:flex}.cheat-media-workspace input[type=checkbox]{width:18px;height:18px;accent-color:var(--blue);flex:none}.cheat-media-people{border:0;border-bottom:1px solid #dfe2e5;flex-wrap:wrap;gap:4px 16px;min-width:0;margin:0;padding:0 0 16px;display:flex}.cheat-media-people legend{margin-bottom:8px;padding:0;font-size:14px;font-weight:600}.cheat-media-people small{flex-basis:100%;font-weight:400}.cheat-media-field-pair{grid-template-columns:1fr 1fr;gap:12px;display:grid}.cheat-media-save-actions{border-top:1px solid #dfe2e5;flex-wrap:wrap;gap:8px;margin-top:24px;padding-top:16px;display:flex}.cheat-media-conflict{overflow-wrap:anywhere;background:#fff6e6;margin-top:16px;padding:12px;font-size:13px;line-height:1.6}.cheat-media-failures{flex-wrap:wrap;align-items:center;gap:8px;font-size:14px;display:flex}.cheat-media-cards.cheat-location-linked{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));grid-auto-rows:1fr;margin:0}.cheat-media-cards>li{flex-direction:column;align-self:stretch;display:flex}.cheat-media-cards li.is-selected{border-color:var(--blue);background:#f3f6ff}.cheat-media-card{color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;flex-direction:column;flex:1;width:100%;padding:0;display:flex}.cheat-media-card:hover{background:#f3f5f7}.cheat-media-card:focus-visible{outline:2px solid var(--blue);outline-offset:-3px}.cheat-media-card .cheat-location-thumbnail{flex:none;width:100%}.cheat-media-card .cheat-location-thumbnail img{position:absolute;inset:0}.cheat-media-card-badges{flex-wrap:wrap;align-items:start;gap:4px;display:flex;position:absolute;inset:6px 6px auto}.cheat-media-card-badges>span{color:#fff;background:#20252de6;border-radius:4px;padding:2px 6px;font-size:12px;font-weight:600;line-height:18px}.cheat-media-card-badges>.is-adult{background:#842a40}.cheat-media-card-badges>.is-notice{color:#624516;background:#fff1d5}.cheat-media-card .cheat-location-caption{align-self:stretch;gap:2px;min-width:0;padding:8px 10px}.cheat-media-card .cheat-location-caption small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.cheat-media-workspace.is-bulk{grid-template-columns:minmax(0,1fr)}.cheat-media-bulk-fields{border:0;border-bottom:1px solid #dfe2e5;grid-template-columns:200px minmax(0,1fr);gap:12px 20px;margin:0 0 20px;padding:0 0 20px;display:grid}.cheat-media-bulk-fields legend{margin-bottom:16px;padding:0;font-size:16px;font-weight:600}.cheat-media-bulk-fields>p,.cheat-media-bulk-fields>button{grid-column:1/-1;justify-self:start;margin:0}.cheat-media-bulk-fields .cheat-media-people{border:0}.cheat-media-bulk-actions{justify-content:flex-start;margin-bottom:12px;font-size:14px}.cheat-bulk-range-hint{margin-inline-start:auto}.cheat-bulk-gallery{overscroll-behavior-y:contain;scrollbar-gutter:stable;scrollbar-color:#aab2bb #f3f5f7;max-block-size:min(52dvh,32rem);overflow-y:auto}.cheat-bulk-gallery:focus-visible{outline:2px solid var(--blue);outline-offset:2px}.cheat-bulk-gallery .cheat-media-cards.cheat-location-linked{grid-template-columns:repeat(auto-fill,minmax(min(100%,124px),1fr));gap:8px}.cheat-bulk-preview{-webkit-user-select:none;user-select:none;position:relative}.cheat-bulk-preview .cheat-location-thumbnail{aspect-ratio:1}.cheat-bulk-preview input[type=checkbox]{cursor:pointer;width:22px;height:22px;margin:0;position:absolute;bottom:6px;left:6px}.cheat-bulk-gallery li:has(input:focus-visible){outline:2px solid var(--blue);outline-offset:-2px}.cheat-bulk-file{min-width:0;min-height:36px;color:inherit;font:inherit;text-align:start;cursor:pointer;background:0 0;border:0;justify-content:space-between;align-items:center;gap:6px;padding:6px 8px;font-size:13px;display:flex}.cheat-bulk-file span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.cheat-bulk-file:hover span{text-decoration:underline}.cheat-bulk-gallery .cheat-bulk-file:focus-visible{outline-offset:-3px}.cheat-bulk-gallery .cheat-bulk-file svg{color:#515b66;width:14px;height:14px}@media (pointer:coarse){.cheat-bulk-file{min-height:44px}.cheat-bulk-range-hint{display:none}}@container cheat-location-detail (max-width:800px){.cheat-media-workspace{grid-template-columns:minmax(0,1fr)}.cheat-media-panel{border-top:1px solid #dfe2e5;border-left:0;padding:24px 0 0}.cheat-media-workspace.has-selection .cheat-media-panel{border:0;grid-row:2;padding:0}.cheat-media-workspace.has-selection .cheat-media-library{grid-row:3}.cheat-media-preview .cheat-preview{height:260px}}@media (max-width:600px){.cheat-media-workspace{gap:20px}.cheat-media-cards.cheat-location-linked{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cheat-media-bulk-fields{grid-template-columns:minmax(0,1fr)}.cheat-media-workspace .cheat-location-media-actions{flex-wrap:wrap;display:flex}.cheat-media-workspace .cheat-location-filters{grid-template-columns:minmax(0,1fr)}.cheat-media-workspace .cheat-location-tier-filters{flex-wrap:wrap}.cheat-media-card .cheat-location-caption{padding:8px}}.cheat-media-workspace input:not([type=checkbox]),.cheat-media-workspace textarea,.cheat-media-workspace select{font:inherit;color:#24292f;background:#fff;border:1px solid #c8cfd8;border-radius:6px;padding:10px 12px}.cheat-media-workspace textarea{resize:vertical;line-height:1.6}.cheat-media-workspace textarea::placeholder{color:#647080}.cheat-media-workspace input:disabled,.cheat-media-workspace select:disabled,.cheat-media-workspace textarea:disabled{color:#647080;background:#f3f5f7}.cheat-media-workspace .header-button[aria-pressed=true]{color:#244fa8;background:#eaf0ff}.cheat-media-workspace :is(input,select,textarea,button):focus-visible{outline:2px solid var(--blue);outline-offset:2px}.cheat-media-cards .cheat-media-unlink{color:#515b66;border-top:1px solid #e5e8eb;border-radius:0;justify-content:center;font-size:12px;font-weight:500}@media (max-width:600px){.cheat-media-workspace .header-button,.cheat-media-workspace .cheat-media-checkbox,.cheat-media-people label{min-height:44px}.cheat-media-workspace input:not([type=checkbox]),.cheat-media-workspace textarea,.cheat-media-workspace select{font-size:16px}}.cheat-location-detail-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.cheat-location-detail-heading h3{margin:0}.cheat-location-detail-heading button{align-items:center;gap:6px;display:inline-flex}.cheat-location-list .cheat-location-all{align-items:center;gap:10px;min-height:44px;padding:8px 12px;display:flex}.cheat-location-all svg{width:20px}.cheat-media-workspace:not(.has-selection),.cheat-media-workspace.is-bulk{grid-template-columns:minmax(0,1fr)}.cheat-workspace-filters{gap:6px;display:grid}.cheat-workspace-filters .cheat-location-filter-row{grid-template-columns:2.5em minmax(0,1fr);align-items:start;gap:6px;margin:0;display:grid}.cheat-workspace-filters .cheat-location-filter-label{line-height:30px}.cheat-workspace-filters :is(.cheat-location-kind-filters,.cheat-location-tier-filters){flex-wrap:wrap;gap:4px;display:flex}.cheat-workspace-filters .header-button{border-radius:6px;flex-direction:row;flex:none;gap:4px;height:auto;min-height:30px;padding:4px 10px;line-height:20px}.cheat-media-save-summary{margin-top:10px;padding-top:8px}.cheat-media-save-summary .cheat-form-actions{margin:0 auto 0 0}.cheat-media-save-summary .header-button{min-height:32px;padding:4px 10px}.cheat-location-settings-dialog,.cheat-keyword-dialog{width:min(580px,100% - 24px)}.cheat-location-settings-dialog .cheat-location-delete{margin-right:auto}.cheat-location-settings-dialog .form-grid{grid-template-columns:minmax(0,1fr);gap:12px;margin:12px 0}.cheat-keyword-management input{font:inherit;border:1px solid #bac4d0;border-radius:6px;padding:8px}@media (max-width:600px){.cheat-workspace-filters .header-button,.cheat-scene-chips button{min-height:36px}.cheat-location-list>li:has(.cheat-location-all){flex-basis:124px}.cheat-workspace-filters .cheat-location-filter-label{line-height:36px}}.operator .admin-logout-label{display:none}@media (max-width:900px){.admin-shell .operator{border:0;margin:0;padding:0;display:flex;position:absolute;top:8px;right:14px}.operator>div,.operator>span{display:none}.operator button{color:#f2f3f5;align-items:center;gap:6px;min-height:44px;padding-inline:10px;display:inline-flex}.operator .admin-logout-label{font-size:13px;display:inline}}
