.site-logo-compact{display:none}.site-header .site-header-inner{width:100%;min-width:0;box-sizing:border-box}.site-header .site-logo,.site-header .site-user-panel{flex-shrink:0}.site-header .profile-trigger>.custom-avatar{display:flex;flex-shrink:0}.site-header .site-user-panel>.profile-trigger{border:0;background:transparent;border-radius:0;box-shadow:none;padding:4px;flex-shrink:0;overflow:visible}.site-header .profile-trigger>.custom-avatar.compact-avatar{width:52px;height:52px;flex:0 0 52px;overflow:visible}.site-header .profile-trigger .custom-avatar:not(.has-frame) .custom-avatar-inner{inset:3px;border-radius:10px}.site-header .profile-trigger-creator>.custom-avatar:not(.has-frame):after{content:"";position:absolute;inset:0;border:2px solid transparent;border-radius:13px;background:linear-gradient(115deg,#efc879,#bca0ff,#77d9e4,#e99abf,#efc879) border-box;background-size:350% 100%;mask:linear-gradient(#fff 0 0) padding-box,linear-gradient(#fff 0 0);mask-composite:exclude;pointer-events:none;animation:creator-spectrum 6s ease-in-out infinite}@media(prefers-reduced-motion:reduce){.site-header .profile-trigger-creator>.custom-avatar:not(.has-frame):after{animation:none}}.site-header .site-nav.is-open a[aria-current]:after{display:none}.site-header .site-nav.is-open a[aria-current]{background:#aa78d31f;border-radius:9px}.card-detail-page,.card-full-layout,.card-full-layout>div{min-width:0;max-width:100%;box-sizing:border-box}.card-credit,.card-details-panel p,.card-full-heading,.card-title-link{overflow-wrap:anywhere}@media(min-width:701px) and (max-width:1500px){.site-header .site-user-panel{margin-left:auto}.site-header .site-menu-toggle{display:grid;place-items:center;flex-shrink:0}.site-header .site-nav{display:none;position:absolute;top:100%;left:0;right:0;width:100%;box-sizing:border-box;padding:16px 24px;background:var(--app-surface,#191321);border-bottom:1px solid #ba8de444;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;box-shadow:0 15px 20px #0005}.site-header .site-nav.is-open{display:grid}.site-header .site-nav a{padding:13px;font-size:12px;border-radius:7px;white-space:normal;overflow-wrap:anywhere}.site-header .site-nav svg{display:block;flex-shrink:0}.site-header .profile-trigger>span:not(.custom-avatar),.site-header .profile-trigger>svg{display:none}}@media(max-width:700px){.site-header .site-header-inner{width:100%;max-width:100%;min-width:0;box-sizing:border-box;padding:10px;gap:8px}.site-header .site-logo{flex:0 0 44px;width:44px;min-width:0;gap:0}.site-header .site-logo>.site-logo-mark,.site-header .site-logo>.site-logo-wordmark{display:none}.site-header .site-logo>.site-logo-compact{display:block;width:44px;height:38px}.site-logo-compact svg{display:block;width:100%;height:100%}.site-header .site-user-panel{flex:1 1 0;min-width:0;max-width:100%;gap:4px;justify-content:flex-end;margin-left:0}.site-header .site-user-panel>button{flex:0 0 28px;width:28px;min-width:28px;height:34px;min-height:34px;padding:3px;box-sizing:border-box}.site-header .site-user-panel>.profile-trigger{flex:0 0 48px;width:48px;min-width:48px;height:48px;min-height:48px;padding:2px;border:0;background:transparent}.site-header .profile-trigger>.custom-avatar.compact-avatar{width:44px;height:44px;flex:0 0 44px}.site-header .profile-trigger>span:not(.custom-avatar),.site-header .profile-trigger>svg{display:none}.site-header .site-user-panel .gold-balance{flex:0 1 auto;min-width:0;gap:4px;font-size:11px}.site-header .gold-balance>.gold-coin.small{width:20px;height:20px;flex:0 0 20px}.site-header .gold-balance>span:not(.gold-coin){min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.site-header .site-menu-toggle{display:grid;place-items:center}.site-header .site-nav{width:100%;box-sizing:border-box;min-width:0}.site-header .site-nav a{min-width:0;white-space:normal;overflow-wrap:anywhere}.card-detail-page,.card-full-layout,.card-full-layout>div{min-width:0;max-width:100%;box-sizing:border-box}.card-credit,.card-details-panel p,.card-full-heading,.card-title-link{overflow-wrap:anywhere}.card-full-layout{grid-template-columns:minmax(0,1fr)}.card-full-art{width:min(100%,300px)}.card-detail-actions{flex-wrap:wrap}}@media(max-width:359px){.site-header .site-user-panel{flex-wrap:wrap;row-gap:4px}.site-header .site-user-panel>.gold-balance{order:1;flex:1 0 100%;justify-content:flex-end}}.site-header .site-header-inner{gap:clamp(10px,1.4vw,24px);max-width:100%;overflow:visible}.site-header .site-logo{flex:0 0 auto}.site-header .site-user-panel{position:relative;z-index:2;flex:0 0 auto;min-width:max-content;margin-left:auto;gap:clamp(5px,.85vw,14px)}.site-header .site-menu-toggle{display:grid;place-items:center;flex:0 0 34px;width:34px;height:36px;min-width:34px}.site-header .site-nav-primary{display:flex;position:static;top:auto;left:auto;right:auto;width:auto;padding:0;background:transparent;border:0;box-shadow:none;flex:0 1 auto;min-width:0;justify-content:flex-start;gap:clamp(8px,1vw,18px);flex-wrap:nowrap}.site-header .site-nav-primary a{flex:0 0 auto;white-space:nowrap;padding:18px 0;background:transparent;border-radius:0}.site-header .site-nav-drawer{display:none;position:absolute;top:100%;left:0;right:0;width:100%;box-sizing:border-box;z-index:4;padding:16px 24px;background:var(--app-surface,#191321);border-bottom:1px solid #ba8de444;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;box-shadow:0 15px 25px #0007;max-height:calc(100dvh - 85px);overflow-y:auto;overscroll-behavior:contain}.site-header .site-nav-drawer.is-open{display:grid}.site-header .site-nav-drawer a{display:flex;align-items:center;gap:9px;min-width:0;padding:13px;border-radius:7px;background:#b78ed00b;color:#a89db8;font-size:12px;white-space:normal;overflow-wrap:anywhere}.site-header .site-nav-drawer a:focus-visible,.site-header .site-nav-drawer a:hover{color:#eadbff;background:#b78ed022}.site-header .site-nav-drawer a[aria-current]{color:#eadbff;background:#aa78d31f}.site-header .site-nav-drawer svg{display:block;flex:0 0 auto}@media(min-width:1451px){.site-header .site-nav-drawer a:nth-child(-n+6){display:none}}@media(min-width:1101px) and (max-width:1450px){.site-header .site-nav-primary{display:flex}.site-header .site-nav-drawer a:nth-child(-n+3),.site-header .site-nav-primary a:nth-child(n+4){display:none}}@media(max-width:1100px){.site-header .site-nav-primary{display:none}.site-header .site-user-panel{margin-left:auto}}@media(max-width:700px){.site-header .site-user-panel{flex:1 1 0;min-width:0;gap:4px;margin-left:0}.site-header .site-nav-drawer{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px 14px}}.studio{max-width:1180px;margin:0 auto;padding:32px 24px;display:grid;gap:18px}.studio h1,.studio h2,.studio h3,.studio p{margin:0}.studio-head,.studio-tools,.studio-work{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.studio-head{justify-content:space-between}.studio-head h1{font-size:clamp(28px,5vw,48px);margin:6px 0}.studio-team-select{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.studio button,.studio select,.studio-tools a{border:1px solid var(--app-line,#62516f);background:var(--app-panel,transparent);color:inherit;border-radius:10px;padding:10px 14px;min-width:0;cursor:pointer}.studio-tabs{display:flex;gap:8px;flex-wrap:wrap}.studio-tabs button{flex:1}.studio-tabs button[aria-pressed=true]{background:#523b72;color:#fff;border-color:#8f70b8}.studio-subtabs button{flex:0 1 auto}.studio-metrics>section,.studio-panel{border:1px solid var(--app-line,#62516f);border-radius:14px;padding:18px;display:grid;gap:14px;min-width:0}.studio-work img{width:70px;aspect-ratio:2/3;object-fit:cover;border-radius:8px}.studio-work>div{flex:1;min-width:0;overflow-wrap:anywhere}.studio-tools a{text-decoration:none}.studio-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.studio-metrics strong{font-size:clamp(20px,4vw,34px)}.studio-stat summary{cursor:pointer}.studio-stat summary span{display:block;margin:8px 0 0 16px;font-size:.9rem}.studio-table{overflow:auto}.studio table{border-collapse:collapse;width:100%;text-align:left}.studio td,.studio th{padding:10px;border-bottom:1px solid var(--app-line,#62516f)}.studio td:nth-child(n+2),.studio th:nth-child(n+2){text-align:right}.site-studio-link{color:#c5a2f1;border:1px solid #7655a3;border-radius:8px;padding:6px 9px;font-weight:700;text-decoration:none;white-space:nowrap}@media(max-width:700px){.studio{padding:20px 12px}.studio-tabs button{font-size:13px;padding:9px 6px}.studio-metrics{gap:6px}.studio-metrics>section{padding:10px;overflow-wrap:anywhere}.studio-panel{padding:14px}.site-studio-link{font-size:11px;padding:5px}}.studio-form{display:grid;gap:12px;max-width:760px}.studio-form label{display:grid;gap:5px;min-width:0}.studio-editor textarea,.studio-form input:not([type=checkbox]),.studio-form select,.studio-form textarea{width:100%;min-width:0;padding:9px 12px;border:1px solid var(--app-line,#62516f);border-radius:8px;background:var(--app-panel,transparent);color:inherit}.studio-form input[type=checkbox]{width:auto}.studio-form label:has(input[type=checkbox]){display:flex;align-items:center;gap:8px}.studio progress{width:100%;accent-color:#a78bce}.studio-chat{max-height:420px;overflow:auto;display:grid;gap:12px}.studio-chat article{border-bottom:1px solid var(--app-line,#62516f);padding:10px 0;overflow-wrap:anywhere}.studio-chat p{white-space:pre-wrap}.studio-chat small{opacity:.75}.studio-files{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px}.studio-files article{display:grid;gap:8px;border:1px solid var(--app-line,#62516f);border-radius:10px;padding:10px;overflow:hidden}.studio-files img{width:100%;height:180px;object-fit:contain;background:#26212e;border-radius:6px}.studio-files article>div{display:grid;gap:8px;overflow-wrap:anywhere}.studio-files .studio-tools{gap:5px}.studio-files .studio-tools a,.studio-files .studio-tools button{font-size:12px;padding:5px 8px}.studio-canvas{max-height:75vh;overflow:auto;background:#23202a}.studio-canvas canvas{display:block;max-width:100%;height:auto;touch-action:none;margin:auto}.studio-editor input[type=number]{width:80px}.studio summary{cursor:pointer}.studio-tools button[aria-pressed=true]{background:#523b72;color:white}.studio-task-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;flex-wrap:wrap}.studio-task-head>div{display:grid;gap:8px;min-width:0;overflow-wrap:anywhere}.studio button.studio-primary,.studio-source-button{background:#59407a;color:#fff;border:1px solid #9977cb;border-radius:10px;font-weight:600}.studio button.studio-primary:hover,.studio-source-button:hover{background:#735198}.studio button.studio-danger{border-color:#a64c5f;color:#ed9aaa;background:transparent}.studio button.studio-danger:hover{background:#8d334733}.studio-source-box{display:grid;justify-items:start;gap:8px;padding:14px;border:1px dashed #80649e;border-radius:12px;max-width:760px}.studio-source-button{position:relative;display:inline-flex;align-items:center;gap:9px;cursor:pointer;padding:11px 17px;overflow:hidden}.studio-source-input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.studio-source-button:focus-within{outline:2px solid #bf9af0;outline-offset:3px}.studio button:disabled,.studio-source-button.is-disabled{opacity:.5;cursor:not-allowed}.studio-source-button.is-disabled .studio-source-input{cursor:not-allowed}.studio-task-notice{padding:12px;border:1px solid #665481;border-radius:8px;overflow-wrap:anywhere}.studio-task-notice.is-error{border-color:#bb5969;color:#ed9aaa}.studio-source-box small,.studio-task-muted{opacity:.8}.studio-task .studio-files:empty{display:none}.studio-editor-dialog{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:clamp(10px,2vw,24px);border:0;background:var(--app-bg,#111016);color:var(--app-text,#f0e8fa);overflow:auto;box-sizing:border-box}.studio-editor-dialog::backdrop{background:#000b}.studio-editor-dialog .studio-editor{max-width:1440px;margin:0 auto;min-height:calc(100dvh - 48px);display:flex;flex-direction:column;gap:12px}.studio-editor-dialog .studio-editor-header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.studio-editor-dialog .studio-editor-header>div{min-width:0;overflow-wrap:anywhere}.studio-editor-dialog .studio-editor-header h3{margin:0}.studio-editor-dialog .studio-editor-header small{opacity:.75}.studio-editor-dialog .studio-canvas{flex:1;min-height:180px;max-height:none;overflow:auto;border-radius:8px;max-width:100%;background:#25212c}.studio-editor-dialog .studio-canvas canvas{max-width:100%;height:auto;display:block;margin:auto;touch-action:none;cursor:crosshair}.studio-editor-dialog .studio-tools{flex-wrap:wrap}.studio-editor-dialog .studio-tools button{cursor:pointer;padding:9px 14px;border-radius:8px;border:1px solid #80649e;background:#322743;color:#fff}.studio-editor-dialog .studio-tools button.studio-primary,.studio-editor-dialog .studio-tools button[aria-pressed=true]{background:#59407a}.studio-editor-dialog .studio-tools button:disabled{opacity:.45;cursor:not-allowed}.studio-editor-dialog textarea{min-height:68px}.studio-editor-dialog .studio-editor-status{padding:10px;border-radius:8px;border:1px solid #80649e}.studio-editor-dialog .studio-editor-error{padding:10px;color:#ff9cac;border:1px solid #ae5465;border-radius:8px}@media(max-width:640px){.studio-editor-dialog .studio-editor{padding:10px;min-height:calc(100dvh - 20px)}.studio-editor-dialog .studio-tools{gap:6px}.studio-editor-dialog .studio-tools button{padding:8px;font-size:13px}}.studio-chapter-history{display:grid;gap:12px;padding-top:14px;border-top:1px solid var(--app-line,#62516f)}.studio-history-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:12px;border:1px solid var(--app-line,#62516f);border-radius:9px}.studio-history-row>div:first-child{display:grid;gap:6px;min-width:0;overflow-wrap:anywhere}.studio-history-window{font-size:12px;color:#a9d1b8}.studio-title-nav{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:8px 0 18px;padding-bottom:14px;border-bottom:1px solid var(--app-line,#42384d)}.studio-title-nav .studio-title-create{margin-left:auto}.studio .studio-title-nav button{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 15px;border-radius:10px;border:1px solid var(--app-line,#51455e);cursor:pointer}.studio .studio-title-nav .studio-title-create,.studio .studio-title-nav button[aria-pressed=true]{background:#59407a;border-color:#9977cb;color:#fff}.studio .studio-title-nav button:hover{border-color:#b995ed}.studio-title-nav .studio-title-count{font-size:12px;opacity:.8}.studio-title-empty{padding:22px;border:1px dashed var(--app-line,#51455e);border-radius:10px}@media(max-width:640px){.studio-title-nav{gap:7px}.studio .studio-title-nav button{padding:9px 11px;font-size:13px}.studio-title-nav .studio-title-create{margin-left:0}}.studio .studio-metrics>section,.studio .studio-panel{border-radius:17px}.studio .studio-title-card{display:block;padding:0;gap:0;background:var(--app-panel,#191620);border:1px solid var(--app-line,#43384f);border-radius:17px;min-width:0;transition:border-color .16s}.studio .studio-title-card[open]{border-color:color-mix(in srgb,var(--app-line,#43384f) 55%,#a984dc 45%)}.studio-title-summary{display:flex;align-items:center;gap:13px;list-style:none;cursor:pointer;padding:12px 15px;min-width:0;border-radius:16px;outline-offset:-3px}.studio-title-summary::-webkit-details-marker{display:none}.studio-title-summary::marker{content:""}.studio-title-summary:hover{background:color-mix(in srgb,var(--app-panel,#191620) 93%,#a984dc 7%)}.studio-title-summary:focus-visible{outline:2px solid #a984dc}.studio-title-chevron{display:block;width:9px;height:9px;flex:0 0 9px;border-right:2px solid var(--app-muted,#b7a7c9);border-bottom:2px solid var(--app-muted,#b7a7c9);transform:rotate(-45deg);transition:transform .16s;margin-right:3px}.studio-title-card[open]>.studio-title-summary>.studio-title-chevron{transform:rotate(45deg) translate(-2px,-2px)}.studio .studio-title-identity{display:flex;align-items:center;flex-wrap:nowrap;gap:13px;min-width:0;flex:1}.studio .studio-title-identity>img{width:44px;height:66px;aspect-ratio:2/3;object-fit:cover;flex:0 0 44px;border-radius:9px}.studio-title-text{display:flex;flex-direction:column;align-items:flex-start;gap:5px;min-width:0;flex:1;overflow-wrap:anywhere}.studio-title-name{font-weight:650;font-size:15px;line-height:1.35;color:var(--app-text,inherit)}.studio-title-meta{font-size:12px;line-height:1.45;color:var(--app-muted,#b7a7c9);overflow-wrap:anywhere}.studio-title-body{display:grid;gap:13px;border-top:1px solid var(--app-line,#42384d);padding:13px 15px;min-width:0}.studio-title-card:not([open])>.studio-title-body{display:none}.studio-title-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.studio .studio-title-actions>a,.studio .studio-title-actions>button{border-radius:11px;padding:9px 12px}.studio .studio-title-actions>a:hover,.studio .studio-title-actions>button:hover:not(:disabled){border-color:#a984dc}.studio .studio-chapter-history{gap:8px}.studio .studio-chapter-history .studio-history-row{border:1px solid var(--app-line,#42384d);border-radius:12px;padding:11px 13px;min-width:0}@media(max-width:640px){.studio-title-summary{padding:11px;gap:10px}.studio .studio-title-identity{gap:10px}.studio .studio-title-identity>img{width:38px;height:57px;flex-basis:38px}.studio-title-name{font-size:14px}.studio-title-meta{font-size:11px}.studio-title-body{padding:11px;gap:11px}.studio .studio-title-actions>a,.studio .studio-title-actions>button{padding:9px 10px;font-size:12px}}@media(prefers-reduced-motion:reduce){.studio .studio-title-card,.studio-title-chevron{transition:none}}.site-search-trigger{display:grid;place-items:center;flex:none;width:34px;height:36px;padding:6px;border:0;border-radius:10px;background:transparent;color:inherit;cursor:pointer}.site-search-trigger:hover{background:#a689c31a}.search-modal-overlay{position:fixed;inset:0;z-index:260;background:#08061099;backdrop-filter:blur(5px)}.catalog-filter-dialog,.global-search-dialog{position:fixed;z-index:261;border:1px solid #a689c33b;background:var(--app-surface,#191521);color:var(--app-ink,#eee8f5);box-shadow:0 28px 110px #0005;outline:none}.global-search-dialog{left:50%;top:9vh;transform:translateX(-50%);width:min(800px,calc(100vw - 32px));max-height:82dvh;border-radius:24px;padding:24px;display:grid;grid-template-rows:auto auto minmax(120px,1fr)}.global-search-input{display:flex;align-items:center;gap:12px;padding:8px 12px 8px 18px;border:1px solid #a689c33b;border-radius:16px}.global-search-input input{flex:1;width:0;min-width:0;padding:8px 0;border:0;background:transparent;outline:none;color:inherit;font:inherit;font-size:18px}.catalog-filter-dialog header>button,.global-search-input button{display:grid;place-items:center;border:0;background:transparent;color:inherit;padding:8px;border-radius:8px;cursor:pointer}.global-search-tabs{display:flex;gap:8px;overflow-x:auto;margin:20px 0 12px;padding-bottom:8px;scrollbar-width:thin;flex-shrink:0}.global-search-tabs button{border:1px solid transparent;white-space:nowrap;background:#a689c312;color:inherit;border-radius:999px;padding:9px 14px;font:inherit;font-size:14px;cursor:pointer}.global-search-tabs button[aria-selected=true]{background:#8858b3;color:#fff}.global-search-result:focus-visible,.global-search-tabs button:focus-visible{outline:2px solid #bd92e9;outline-offset:2px}.global-search-results{overflow-y:auto;overscroll-behavior:contain;min-height:120px;max-height:56dvh;padding:4px}.global-search-result{display:flex;align-items:center;gap:14px;padding:12px;border-radius:12px;color:inherit;text-decoration:none}.global-search-result:hover{background:#a689c314}.global-search-result>img,.search-result-initial{width:42px;height:55px;flex-shrink:0;border-radius:8px;object-fit:cover;background:#a689c322}.search-result-initial{display:grid;place-items:center;font-size:22px;color:#b991dc}.global-search-result>span:not(.search-result-initial):not(.search-card-preview){display:grid;gap:5px;min-width:0;flex:1}.global-search-result strong{font-size:15px;overflow-wrap:anywhere}.global-search-result small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:12px;line-height:1.5;color:var(--app-muted,#a99bb8)}.global-search-hint{color:var(--app-muted,#a99bb8);font-size:14px;line-height:1.7;padding:18px 8px}.search-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.catalog-toolbar .catalog-filter-trigger{display:flex;align-items:center;justify-content:center;gap:9px;padding:14px 18px;border:1px solid #a689c344;border-radius:12px;background:var(--app-surface,#191521);color:inherit;font:inherit;font-size:13px;cursor:pointer}.catalog-filter-trigger b{font-size:11px;background:#9865c6;color:#fff;border-radius:20px;padding:2px 6px}.catalog-filter-dialog{top:16px;right:16px;width:min(440px,calc(100vw - 24px));max-height:calc(100dvh - 32px);border-radius:22px;display:flex;flex-direction:column;overflow:hidden}.catalog-filter-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:22px 22px 18px;border-bottom:1px solid #a689c326}.catalog-filter-dialog h2{font-size:22px;margin:0 0 5px}.catalog-filter-dialog header p{margin:0;font-size:13px;color:var(--app-muted,#aa9cb8)}.catalog-filter-dialog form{display:flex;flex-direction:column;min-height:0;overflow:hidden}.catalog-filter-scroll{overflow-y:auto;overscroll-behavior:contain;padding:20px 22px;display:grid;gap:18px}.catalog-filter-dialog label{display:grid;gap:8px;font-size:13px}.catalog-filter-dialog input,.catalog-filter-dialog select{width:100%;min-width:0;padding:11px 12px;border:1px solid #a689c33b;border-radius:10px;background:var(--bg,#100e17);color:inherit;font:inherit;font-size:14px;box-sizing:border-box}.catalog-filter-dialog small{font-size:11px;line-height:1.6;color:var(--app-muted,#a99bb8)}.catalog-filter-dialog details{border:1px solid #a689c326;border-radius:13px;padding:14px;background:#a689c307;min-width:0}.catalog-filter-dialog summary{font-size:14px;font-weight:600;cursor:pointer}.catalog-filter-dialog details[open]>summary{margin-bottom:16px}.catalog-filter-dialog details>input,.catalog-filter-dialog details>label,.catalog-filter-dialog details>select{margin-bottom:12px}.catalog-filter-dialog details>p{font-size:12px;line-height:1.6}.filter-term-list{display:grid;gap:4px;margin-top:12px;max-height:280px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}.filter-term-list button{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:38px;border:1px solid transparent;border-radius:8px;background:transparent;color:inherit;text-align:left;padding:7px 9px;font:inherit;font-size:13px;cursor:pointer}.filter-term-list button:hover{background:#a689c31a}.filter-term-list button[data-state=include]{background:#9364c32b;color:var(--app-ink,#e9dcf8);border-color:#ab80d244}.filter-term-list button[data-state=exclude]{background:#b25a751a;color:#d88ca5;border-color:#ca6d8e44}.filter-empty-check{width:15px;height:15px;border:1px solid #a689c355;border-radius:4px}.filter-excluded,.filter-range-presets,.filter-template-actions{display:flex;gap:8px;flex-wrap:wrap}.filter-excluded button,.filter-range-presets button,.filter-template-actions button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #a689c333;border-radius:999px;background:#a689c311;color:inherit;padding:7px 10px;font:inherit;font-size:11px;cursor:pointer}.filter-excluded button{color:#d88ca5}.filter-chapter-range h3{margin:0 0 12px;font-size:14px}.filter-chapter-range>div:first-of-type{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:12px}.catalog-filter-dialog form>footer{padding:16px 22px;border-top:1px solid #a689c326}.catalog-filter-dialog footer button{width:100%;border:0;border-radius:11px;padding:13px;background:#8958b6;color:white;font:inherit;cursor:pointer}.catalog-filter-dialog [role=alert]{color:#e394a9;font-size:13px}.catalog-filter-dialog [role=status]{font-size:12px;color:var(--app-muted,#baa6ca)}@media(max-width:600px){.global-search-dialog{top:12px;max-height:calc(100dvh - 24px);padding:16px;border-radius:20px}.global-search-tabs{margin-top:16px;gap:6px}.global-search-tabs button{font-size:13px;padding:9px 12px}.global-search-input{gap:8px;padding-left:12px}.global-search-input input{font-size:16px}.global-search-results{max-height:65dvh}.catalog-filter-dialog{top:auto;bottom:8px;right:8px;width:calc(100vw - 16px);max-height:94dvh}.catalog-filter-dialog input,.catalog-filter-dialog select{font-size:16px}.catalog-filter-dialog>header,.catalog-filter-scroll{padding:18px}.catalog-filter-dialog form>footer{padding:14px 18px}.catalog-toolbar{grid-template-columns:minmax(0,1fr) auto!important}.catalog-toolbar>label{grid-column:1/-1}.catalog-toolbar>select{min-width:0}.site-user-panel{gap:8px}.site-search-trigger{width:28px;padding:4px}}@media(max-width:380px){.site-header-inner{gap:10px}.site-user-panel{gap:5px}.site-logo{font-size:16px;gap:6px}.site-logo-mark{width:28px;height:32px}}.global-search-result>.search-card-preview{display:block;position:relative;width:56px;height:84px;flex:0 0 56px;overflow:hidden}.global-search-result>.search-card-preview>.card-visual{width:100%;height:100%}.global-search-result>.search-card-preview img{width:100%;height:100%;border-radius:0;object-fit:cover}.global-search-result>span:not(.search-card-preview){min-width:0;overflow-wrap:anywhere}