*{box-sizing:border-box}html{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#17171a;background:#f5f5f6}body{margin:0}a{color:inherit}button,input,select{font:inherit}button,.button{min-height:44px}.installer-shell{max-width:1100px;margin:auto;padding:28px 20px 60px}.installer-brand{display:flex;align-items:center;gap:20px;margin-bottom:28px}.installer-brand img{width:180px;height:auto;background:#050505;padding:12px;border-radius:10px}.installer-brand div{display:grid}.installer-brand strong{font-size:1.25rem}.installer-brand span,.lead,small{color:#65656b}.steps{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;padding:0;margin:0 0 18px;list-style:none}.steps li{display:flex;align-items:center;gap:8px;padding:10px;border:1px solid #dddde2;background:#fff;border-radius:9px;font-size:.8rem;color:#71717a}.steps li span{width:25px;height:25px;display:grid;place-items:center;border-radius:50%;background:#ececef;flex:0 0 auto}.steps li a{display:flex;align-items:center;gap:8px;width:100%;text-decoration:none}.steps li.active{border-color:#17171a;color:#17171a;font-weight:700}.steps li.active span{background:#17171a;color:#fff}.steps li.done{color:#166534}.panel{background:#fff;border:1px solid #dfdfe3;border-radius:14px;padding:28px}.panel h1{margin-top:0;font-size:2rem}.panel h2{font-size:1rem;margin:18px 0 0;padding-top:18px;border-top:1px solid #ececef}.check-list{display:grid;gap:8px;margin:22px 0}.check-row{display:flex;align-items:center;gap:12px;border-bottom:1px solid #eeeef0;padding:10px 0}.check-row div{display:grid;gap:2px}.status{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;font-weight:800}.status.ok{background:#dcfce7;color:#166534}.status.warn{background:#fff7ed;color:#9a3412}.status.bad{background:#fee2e2;color:#991b1b}.notice{padding:13px 15px;border-radius:9px;margin:15px 0;font-size:.92rem}.notice.error{background:#fee2e2;color:#7f1d1d}.notice.info{background:#eff6ff;color:#1e3a8a}.notice.success{background:#dcfce7;color:#14532d}.notice.warn{background:#fff7ed;color:#7c2d12}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:20px}.form-grid label,.auth-card label{display:grid;gap:7px;font-weight:650}.form-grid input,.form-grid select,.auth-card input{width:100%;min-height:46px;border:1px solid #cfcfd5;border-radius:8px;padding:10px 12px;background:#fff;color:#17171a}.form-grid input:focus,.form-grid select:focus,.auth-card input:focus{outline:2px solid #17171a;outline-offset:2px}.span-2{grid-column:1/-1}.switch-line{display:flex!important;align-items:center!important;gap:9px!important;grid-column:1/-1}.switch-line input{width:auto;min-height:auto}.form-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:10px;padding-top:12px}.primary,.button.primary{border:0;background:#111115;color:#fff;border-radius:8px;padding:11px 17px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;font-weight:750;cursor:pointer}.primary:disabled{opacity:.4;cursor:not-allowed}.button.ghost,.ghost{border:1px solid #d4d4d8;background:#fff;color:#242428;border-radius:8px;padding:10px 16px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}.review-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.review-grid>div{display:grid;gap:4px;padding:16px;border:1px solid #e5e5e8;border-radius:9px}.review-grid span{font-size:.78rem;text-transform:uppercase;color:#71717a;letter-spacing:.08em}.public-header{background:#050505;color:#fff;display:grid;grid-template-columns:auto 1fr;align-items:end;padding:16px clamp(16px,4vw,50px) 0;gap:24px}.public-logo img{width:min(240px,50vw);display:block}.main-nav{display:flex;align-items:flex-end;justify-content:flex-end;gap:2px;flex-wrap:wrap}.main-nav a{padding:14px 11px;text-decoration:none;font-size:.85rem;font-weight:800;text-transform:uppercase}.main-nav a:hover{background:#fff;color:#050505}.menu-toggle{display:none;background:#fff;color:#111;border:0;border-radius:8px;padding:10px 13px}.public-main{max-width:1280px;margin:auto;padding:32px clamp(16px,4vw,52px)}.hero-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:24px}.hero-card{background:#fff;border:1px solid #e2e2e5}.placeholder-art{aspect-ratio:16/8;background:linear-gradient(130deg,#111 0 55%,#2b2b2f 55% 100%)}.hero-card h1,.hero-card p,.hero-card .eyebrow{margin-left:22px;margin-right:22px}.hero-card h1{font-size:clamp(2rem,5vw,4.2rem);line-height:.95;margin-top:9px;margin-bottom:15px}.hero-card p{font-size:1.08rem;line-height:1.6;margin-bottom:26px}.eyebrow{display:block;text-transform:uppercase;letter-spacing:.12em;font-size:.75rem;font-weight:850;color:#6b6b72;margin-top:20px}.latest-panel{background:#111115;color:#fff;padding:22px}.latest-panel h2{margin-top:0}.news-line{padding:14px 0;border-top:1px solid #33333a;display:grid;gap:5px}.news-line span{font-size:.75rem;text-transform:uppercase;color:#a9a9b0}.category-strip{display:grid;grid-template-columns:repeat(5,1fr);margin-top:24px;background:#fff;border:1px solid #e2e2e5}.category-strip div{padding:20px;border-right:1px solid #e2e2e5;font-weight:800}.category-strip span{display:block;font-size:1.4rem;margin-bottom:8px}.coming-soon{min-height:70vh;display:grid;place-items:center;align-content:center;gap:10px;text-align:center;background:#08080a;color:#fff;padding:40px}.coming-soon img{width:min(360px,80vw)}.coming-soon p{text-transform:uppercase;letter-spacing:.2em}.coming-soon h1{font-size:clamp(3rem,10vw,8rem);margin:0}.auth-shell{min-height:100vh;display:grid;place-items:center;padding:24px;background:#08080a}.auth-card{width:min(440px,100%);background:#fff;padding:30px;border-radius:14px;display:grid;gap:17px}.auth-card img{width:230px;background:#08080a;padding:10px;border-radius:8px}.auth-card h1{font-size:2.2rem;margin:0}.auth-card form{display:grid;gap:14px}.admin-layout{display:grid;grid-template-columns:245px 1fr;min-height:100vh;background:#f3f3f5}.admin-sidebar{background:#09090b;color:#fff;padding:18px 12px}.admin-sidebar>img{width:190px;padding:10px 8px 20px}.admin-sidebar nav{display:grid;gap:3px}.admin-sidebar a{display:flex;gap:11px;align-items:center;padding:11px 12px;border-radius:7px;text-decoration:none;color:#d9d9de;font-size:.9rem}.admin-sidebar a:hover{background:#202024;color:#fff}.admin-main{padding:30px}.admin-top{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.admin-top h1{margin:.3rem 0 0;font-size:2.2rem}.security-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:25px 0}.security-summary div{background:#fff;border:1px solid #dddde2;border-radius:10px;padding:16px;display:grid;gap:5px}.security-summary span{color:#66666d;font-size:.85rem}.module-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.module-grid article{background:#fff;border:1px solid #dddde2;border-radius:10px;padding:16px;display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:start}.module-grid h2{font-size:1rem;margin:0}.module-grid p{font-size:.85rem;color:#66666d;margin:.4rem 0 0}.module-icon{font-size:1.4rem}.phase{font-size:.72rem;background:#eeeef1;padding:5px 7px;border-radius:20px;color:#68686f}@media(max-width:900px){.steps{grid-template-columns:repeat(3,1fr)}.public-header{grid-template-columns:1fr auto;align-items:center;padding-bottom:14px}.menu-toggle{display:inline-flex;gap:6px;align-items:center}.main-nav{display:none;grid-column:1/-1;align-items:stretch;justify-content:stretch}.main-nav.open{display:grid;grid-template-columns:repeat(2,1fr)}.main-nav a{border-top:1px solid #29292e}.hero-grid{grid-template-columns:1fr}.category-strip{grid-template-columns:repeat(2,1fr)}.admin-layout{grid-template-columns:1fr}.admin-sidebar{display:none}.security-summary{grid-template-columns:1fr}.module-grid{grid-template-columns:1fr}}@media(max-width:600px){.installer-shell{padding:14px 10px 40px}.installer-brand img{width:145px}.steps{grid-template-columns:1fr 1fr}.steps li{font-size:.72rem}.panel{padding:19px}.form-grid,.review-grid{grid-template-columns:1fr}.span-2,.form-actions{grid-column:1}.form-actions{justify-content:stretch;flex-direction:column-reverse}.form-actions>*{width:100%}.category-strip{grid-template-columns:1fr}.category-strip div{border-right:0;border-bottom:1px solid #e2e2e5}.admin-main{padding:18px}.admin-top{align-items:stretch;flex-direction:column}.module-grid article{grid-template-columns:auto 1fr}.phase{grid-column:2}}
/* Manga Afternoon CMS 0.2.0 editorial, media and public news UI */
.admin-logo{display:block}.admin-logo img{width:190px;padding:8px 8px 20px}.admin-sidebar nav a.active{background:#fff;color:#0b0b0d;font-weight:800}.nav-icon{display:inline-grid;width:22px;height:22px;place-items:center;font-size:1rem}.admin-actions{display:flex;align-items:center;gap:10px}.admin-actions form{margin:0}.module-card{background:#fff;border:1px solid #dddde2;border-radius:10px;padding:18px;display:grid;grid-template-columns:1fr auto;gap:14px;align-items:start;text-decoration:none}.module-card:hover{border-color:#9999a2}.module-card h2{font-size:1rem;margin:0}.module-card p{font-size:.85rem;color:#66666d;margin:.4rem 0 0}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:22px 0;flex-wrap:wrap}.toolbar-search,.toolbar-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.toolbar-search input,.toolbar-search select{min-height:44px;border:1px solid #d3d3d8;border-radius:8px;padding:8px 11px;background:#fff}.table-card{background:#fff;border:1px solid #dddde2;border-radius:11px;overflow:auto}.table-card.flat{border:0}.data-table{width:100%;border-collapse:collapse;min-width:760px}.data-table th,.data-table td{padding:13px 15px;text-align:left;border-bottom:1px solid #ececf0;vertical-align:top}.data-table th{font-size:.75rem;text-transform:uppercase;letter-spacing:.06em;color:#66666e;background:#fafafa}.data-table td{font-size:.88rem}.muted{color:#6b6b73;font-size:.83rem}.row-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.row-actions a,.row-actions button{border:0;background:none;color:#334155;text-decoration:underline;padding:3px;cursor:pointer;font-size:.8rem}.row-actions form{margin:0}.category-dot{display:inline-block;width:10px;height:10px;border-radius:50%;background:var(--dot);margin-right:7px}.category-dot.large{width:16px;height:16px;margin:0 9px 0 0;vertical-align:-2px}.status-pill,.severity{display:inline-flex;padding:4px 8px;border-radius:999px;font-size:.72rem;font-weight:800;text-transform:uppercase}.status-pill.published{background:#dcfce7;color:#166534}.status-pill.draft{background:#e5e7eb;color:#374151}.status-pill.scheduled{background:#dbeafe;color:#1d4ed8}.severity.critical,.severity.high{background:#fee2e2;color:#991b1b}.severity.medium{background:#ffedd5;color:#9a3412}.severity.low{background:#e0f2fe;color:#075985}.empty{text-align:center;padding:32px;color:#73737b}.button.wide{width:100%}.editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:18px;margin-top:20px}.editor-main,.editor-side{display:grid;gap:16px;align-content:start}.panel.compact{padding:20px}.panel.compact h2{margin-top:0}.field{display:grid;gap:7px;margin-bottom:14px;font-weight:700;font-size:.86rem}.field input,.field select,.field textarea{width:100%;border:1px solid #d1d1d7;border-radius:8px;padding:10px 11px;background:#fff;color:#17171a;font:inherit;min-height:43px}.field textarea{resize:vertical}.field.small{max-width:260px}.title-input{font-size:1.45rem!important;font-weight:800}.grid-2,.grid-3{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.check{display:flex;align-items:flex-start;gap:8px;font-size:.86rem;margin:12px 0}.check input{margin-top:3px}.sticky{position:sticky;top:20px}.editor-toolbar{display:flex;gap:4px;flex-wrap:wrap;padding-bottom:10px;border-bottom:1px solid #ddd}.editor-toolbar button{border:1px solid #ddd;background:#fff;border-radius:6px;padding:6px 9px;min-height:34px;cursor:pointer}.ma-editor{min-height:520px;padding:20px 12px;font-family:Georgia,serif;font-size:18px;line-height:1.7;outline:none}.ma-editor:focus{box-shadow:inset 0 0 0 2px #111}.ma-editor img{max-width:100%;height:auto}.ma-editor .video-embed,.article-body .video-embed{position:relative;aspect-ratio:16/9;max-width:100%;overflow:hidden}.ma-editor .video-embed iframe,.article-body .video-embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.editor-note{border-top:1px solid #eee;padding-top:10px}.split-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,1fr);gap:18px;margin-top:22px;align-items:start}.media-layout{grid-template-columns:minmax(0,3fr) minmax(280px,1fr)}.media-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.media-card{background:#fff;border:1px solid #dddde2;border-radius:10px;overflow:hidden}.media-card img,.media-missing{width:100%;aspect-ratio:4/3;object-fit:cover;background:#eee;display:grid;place-items:center}.media-card>div:last-child{padding:10px;display:grid;gap:3px}.media-card strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.media-card span{font-size:.75rem;color:#71717a}.tabs{display:flex;gap:5px;margin:20px 0}.tabs a{padding:8px 12px;border-radius:7px;text-decoration:none;background:#fff;border:1px solid #ddd}.tabs a.active{background:#111;color:#fff;border-color:#111}.comment-list{display:grid;gap:12px}.comment-card{background:#fff;border:1px solid #dddde2;border-radius:10px;padding:17px}.comment-card header{display:flex;justify-content:space-between;gap:12px}.comment-card header span{font-size:.78rem;color:#71717a}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:22px 0}.stats-grid>div{background:#fff;border:1px solid #dddde2;border-radius:10px;padding:17px;display:grid;gap:5px}.stats-grid strong{font-size:1.35rem;overflow-wrap:anywhere}.stats-grid span{font-size:.78rem;color:#6b6b73}.checklist{display:grid;gap:8px;padding-left:20px}.checklist li::marker{content:'✓  ';color:#166534}.metric-row{display:flex;justify-content:space-between;gap:15px;padding:10px 0;border-bottom:1px solid #eee}.wide-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.progress{height:10px;background:#e5e7eb;border-radius:999px;overflow:hidden}.progress span{display:block;height:100%;background:#111}.public-body{background:#f5f5f6}.public-search{background:#fff;border-bottom:1px solid #ddd;padding:8px clamp(16px,4vw,50px)}.public-search form{max-width:1280px;margin:auto;display:flex;justify-content:flex-end}.public-search input{width:min(380px,70vw);border:1px solid #d2d2d7;border-right:0;border-radius:6px 0 0 6px;padding:8px 10px}.public-search button{border:0;background:#111;color:#fff;border-radius:0 6px 6px 0;padding:8px 14px}.headline-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(300px,1fr);gap:18px}.headline-card{background:#fff;border:1px solid #ddd}.headline-image{display:block;width:100%;aspect-ratio:16/8.8;object-fit:cover}.headline-copy{padding:0 22px 24px}.headline-copy h1{font-size:clamp(2rem,4.7vw,4.4rem);line-height:.96;margin:8px 0 16px}.headline-copy h1 a,.news-card h2 a,.news-card h3 a,.event-card h2 a{text-decoration:none}.headline-copy p{font-size:1.05rem;line-height:1.55}.article-date{font-size:.78rem;color:#6b6b73}.latest-panel a{text-decoration:none;color:#fff}.latest-panel .news-line small{color:#81818b}.category-strip{overflow:auto}.category-strip a{padding:18px 20px;border-right:1px solid #e2e2e5;font-weight:850;text-decoration:none;white-space:nowrap}.section-heading{display:flex;align-items:end;justify-content:space-between;margin:38px 0 14px}.section-heading h2{font-size:2rem;margin:4px 0}.news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.news-card{background:#fff;border:1px solid #dddde2;min-width:0}.news-card img{width:100%;aspect-ratio:16/9;object-fit:cover;display:block}.news-card>div{padding:16px}.news-card h2,.news-card h3{margin:7px 0 10px;line-height:1.12}.news-card h3{font-size:1.2rem}.news-card h2{font-size:1.5rem}.news-card p{color:#53535b;line-height:1.5}.empty-home{background:#fff;border:1px solid #ddd;padding:48px}.empty-home h1{font-size:clamp(2.4rem,5vw,5rem);line-height:.95;max-width:850px}.category-header{border-top:8px solid var(--category,#111);background:#fff;border-left:1px solid #ddd;border-right:1px solid #ddd;border-bottom:1px solid #ddd;padding:30px;margin-bottom:18px}.category-header h1{font-size:clamp(2.8rem,7vw,6rem);margin:5px 0 10px;line-height:.9}.category-news{grid-template-columns:repeat(3,minmax(0,1fr))}.article-shell{max-width:1280px;margin:32px auto;padding:0 clamp(16px,4vw,52px);display:grid;grid-template-columns:minmax(0,820px) 300px;gap:28px;align-items:start}.article-page{background:#fff;border:1px solid #ddd}.article-header{padding:32px 34px}.article-category{display:inline-block;color:#fff;background:var(--category,#111);font-weight:850;text-transform:uppercase;font-size:.76rem;text-decoration:none;padding:6px 9px}.article-header h1{font-size:clamp(2.5rem,5.5vw,5rem);line-height:.94;margin:16px 0}.article-deck{font-size:1.18rem;line-height:1.55;color:#4b4b52}.article-meta{display:flex;gap:15px;flex-wrap:wrap;font-size:.78rem;color:#6b6b73}.article-hero{margin:0}.article-hero img{width:100%;height:auto;display:block}.article-body{padding:28px 34px;font-family:Georgia,"Times New Roman",serif;font-size:19px;line-height:1.72}.article-body img{max-width:100%;height:auto}.article-body h2,.article-body h3{font-family:Inter,system-ui,sans-serif;line-height:1.1}.article-body a{overflow-wrap:anywhere}.share-row{display:flex;gap:12px;padding:20px 34px;border-top:1px solid #eee}.share-row a{font-weight:800}.article-sidebar{position:sticky;top:20px}.ad-placeholder{min-height:400px;border:1px dashed #aaa;background:#eee;display:grid;place-items:center;text-align:center;color:#6b6b73;font-size:.78rem}.comments-section{max-width:820px;margin:0 auto 50px;padding:0 20px}.google-comment-login{background:#fff;border:1px solid #ddd;padding:18px;margin-bottom:15px}.google-comment-login button{border:1px solid #ddd;background:#f7f7f7;padding:10px 14px;border-radius:7px}.public-comment{display:flex;gap:12px;background:#fff;border-top:1px solid #ddd;padding:16px}.public-comment img{width:42px;height:42px;border-radius:50%}.public-comment small{display:block;color:#777}.event-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.event-card{background:#fff;border:1px solid #ddd}.event-card img{width:100%;aspect-ratio:4/3;object-fit:cover}.event-card div{padding:16px}.event-card time{font-size:.8rem;font-weight:800}.event-detail{max-width:900px;margin:auto;background:#fff;border:1px solid #ddd;padding-bottom:30px}.event-detail>img{width:100%;max-height:560px;object-fit:cover}.event-detail>h1,.event-detail>.eyebrow,.event-detail>.article-body,.event-detail>.event-facts,.event-detail>.button-row{margin-left:32px;margin-right:32px}.event-detail>h1{font-size:clamp(2.7rem,6vw,5rem);line-height:.95}.event-facts{display:grid;grid-template-columns:1fr 1fr;gap:12px}.event-facts div{background:#f5f5f6;padding:14px;display:grid;gap:5px}.button-row{display:flex;gap:8px;flex-wrap:wrap}.static-page{max-width:800px;background:#fff;border:1px solid #ddd;padding:40px}.static-page h1{font-size:clamp(3rem,7vw,6rem);line-height:.9}.public-footer{background:#09090b;color:#fff;padding:40px clamp(16px,4vw,52px);display:flex;justify-content:space-between;gap:30px;margin-top:50px}.public-footer img{width:220px}.public-footer p{color:#bbb}.public-footer nav{display:grid;align-content:start;gap:8px}.public-footer a{color:#fff}.coming-soon{min-height:55vh}
@media(max-width:1100px){.media-grid{grid-template-columns:repeat(3,1fr)}.news-grid,.category-news,.event-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.article-shell{grid-template-columns:1fr}.article-sidebar{display:none}.stats-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:900px){.editor-layout,.split-layout{grid-template-columns:1fr}.editor-side{grid-template-columns:repeat(2,minmax(0,1fr))}.sticky{position:static}.media-grid{grid-template-columns:repeat(3,1fr)}.headline-layout{grid-template-columns:1fr}.headline-copy h1{font-size:clamp(2.3rem,8vw,4rem)}.public-footer{flex-direction:column}}
@media(max-width:650px){.admin-main{padding:14px}.admin-top h1{font-size:1.7rem}.admin-actions{width:100%;flex-wrap:wrap}.toolbar-search{width:100%}.toolbar-search input{flex:1;min-width:160px}.grid-2,.grid-3,.wide-grid,.editor-side{grid-template-columns:1fr}.media-grid{grid-template-columns:repeat(2,1fr)}.stats-grid{grid-template-columns:1fr 1fr}.news-grid,.category-news,.event-grid{grid-template-columns:1fr}.category-strip{display:flex}.article-header,.article-body{padding-left:20px;padding-right:20px}.article-header h1{font-size:clamp(2.2rem,12vw,4rem)}.event-facts{grid-template-columns:1fr}.event-detail>h1,.event-detail>.eyebrow,.event-detail>.article-body,.event-detail>.event-facts,.event-detail>.button-row{margin-left:20px;margin-right:20px}.public-footer img{width:180px}}

/* ===== Manga Afternoon CMS 0.3.0 — editorial redesign ===== */
:root{--cms-accent:#e54858;--cms-sidebar:#12131a;--cms-bg:#f4f5f9;--cms-surface:#fff;--public-accent:#e54858;--public-bg:#f6f7fb;--public-surface:#fff;--public-text:#17171a;--public-container:1320px;--public-radius:12px}
.cms-body{background:var(--cms-bg);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:#18191f}.admin-layout{grid-template-columns:270px minmax(0,1fr);background:var(--cms-bg)}.admin-sidebar{position:sticky;top:0;height:100vh;overflow:auto;background:var(--cms-sidebar);padding:0 14px 18px;border-right:1px solid rgba(255,255,255,.05);z-index:30}.sidebar-brand{position:sticky;top:0;background:var(--cms-sidebar);padding:22px 8px 14px;z-index:2}.sidebar-brand .admin-logo img{width:178px;padding:0}.sidebar-brand>span{display:block;color:#8f93a3;font-size:.68rem;text-transform:uppercase;letter-spacing:.16em;margin:8px 3px 0}.admin-nav{display:grid;gap:3px}.nav-group{display:grid}.admin-sidebar .nav-main{border-radius:10px;padding:10px 11px;color:#d8dae3;gap:10px;min-height:43px}.admin-sidebar .nav-main:hover{background:rgba(255,255,255,.08)}.admin-sidebar .nav-main.active{background:var(--cms-accent);color:#fff;box-shadow:0 8px 24px color-mix(in srgb,var(--cms-accent) 25%,transparent)}.nav-icon{font-size:1.08rem}.nav-chevron{margin-left:auto;opacity:.6}.nav-sub{display:grid;gap:2px;margin:2px 0 7px 39px;border-left:1px solid rgba(255,255,255,.13);padding-left:7px}.nav-sub a{padding:7px 8px!important;font-size:.77rem!important;color:#9ca0af!important;border-radius:7px!important}.nav-sub a:hover{color:#fff!important;background:rgba(255,255,255,.06)!important}.sidebar-foot{display:grid;gap:5px;color:#777c8c;font-size:.68rem;margin:18px 8px 0;padding-top:15px;border-top:1px solid rgba(255,255,255,.08)}.admin-main{min-width:0;padding:30px clamp(22px,3vw,48px) 60px}.admin-top{align-items:center;padding-bottom:20px;border-bottom:1px solid #e4e6ed}.admin-title-row{display:flex;align-items:center;gap:12px;min-width:0}.admin-top h1{font-size:clamp(1.8rem,3vw,2.5rem);letter-spacing:-.035em}.sidebar-toggle{display:none;border:1px solid #dfe1e8;background:#fff;border-radius:10px;width:44px;height:44px}.admin-actions .button{white-space:nowrap}.panel,.table-card,.module-card,.connection-card{background:var(--cms-surface);border:1px solid #e3e5ec;box-shadow:0 8px 30px rgba(23,24,32,.035)}.panel{border-radius:15px}.page-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:24px 0 18px;padding:20px 22px;background:linear-gradient(135deg,var(--cms-surface),color-mix(in srgb,var(--cms-accent) 5%,var(--cms-surface)));border:1px solid #e3e5ec;border-radius:15px}.page-intro h2{font-size:1.55rem;margin:4px 0 5px}.page-intro p{margin:0;color:#686b78}.panel-title{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.panel-title h2{border:0!important;padding:0!important;margin:3px 0!important;font-size:1.1rem!important}.status-chip{background:#f0f1f5;color:#5d606d;border-radius:999px;padding:6px 9px;font-size:.68rem;font-weight:750}.button{gap:7px}.button.primary,.primary{background:var(--cms-accent);border:1px solid var(--cms-accent);box-shadow:0 5px 15px color-mix(in srgb,var(--cms-accent) 18%,transparent)}.button.secondary{background:#20212a;color:#fff;border:1px solid #20212a;border-radius:9px;padding:10px 14px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-weight:750}.button.ghost{border-color:#dfe1e8}.button:hover{filter:brightness(.98)}.field input,.field select,.field textarea,.toolbar-search input,.toolbar-search select,.media-search input{border-color:#dfe1e8;border-radius:9px;background:#fff;transition:.15s}.field input:focus,.field select:focus,.field textarea:focus,.toolbar-search input:focus,.media-search input:focus{outline:0;border-color:var(--cms-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--cms-accent) 13%,transparent)}.creation-chip{font-size:.78rem;background:#f6f7fa;border:1px solid #e6e7ed;border-radius:8px;padding:9px 11px;color:#626571;margin:-2px 0 13px}.creation-chip.compact{margin:0 0 13px}.creation-chip span{color:#9093a0}.autosave-state{font-size:.74rem;font-weight:750;color:#4d8d64;background:#eef8f1;padding:7px 9px;border-radius:999px}.autosave-state.dirty{color:#9a6816;background:#fff7dd}.autosave-state.saving{color:#426aa3;background:#eaf2ff}.autosave-state.error{color:#a32d3c;background:#ffeaed}.editor-layout{grid-template-columns:minmax(0,1fr) 330px;gap:20px;min-width:0}.editor-main,.editor-side,.editor-panel{min-width:0}.editor-panel{overflow:hidden}.ck.ck-editor,.ck.ck-editor__main,.ck.ck-toolbar,.ck.ck-editor__editable{max-width:100%!important;min-width:0!important}.ck.ck-toolbar{flex-wrap:wrap!important}.ck.ck-toolbar .ck-toolbar__items{flex-wrap:wrap!important;min-width:0!important}.ck-editor__editable_inline{min-height:520px}.editor-toolbar{overflow-x:auto}.divider{height:1px;background:#eceef3;margin:15px 0}.selected-media-preview{min-height:94px;border:1px dashed #d3d5de;background:#f8f9fb;border-radius:10px;margin:9px 0;display:grid;place-items:center;overflow:hidden;position:relative}.selected-media-preview.large{min-height:180px}.selected-media-preview img{width:100%;height:150px;object-fit:cover}.selected-media-preview.large img{height:220px}.selected-media-preview span:not(.muted){position:absolute;left:8px;right:8px;bottom:8px;background:rgba(18,19,26,.78);color:#fff;padding:5px 7px;border-radius:6px;font-size:.7rem}.button-stack{display:grid;gap:8px}.sticky-savebar{position:sticky;bottom:14px;z-index:15;display:flex;align-items:center;justify-content:space-between;gap:18px;background:rgba(255,255,255,.94);backdrop-filter:blur(10px);border:1px solid #dadde6;border-radius:13px;padding:11px 13px;margin-top:20px;box-shadow:0 12px 34px rgba(25,26,35,.12);font-size:.78rem;color:#626571}.connection-result{padding:11px 14px;border-radius:9px;background:#f4f5f8;color:#656875;margin:18px 0}.connection-result.ok{background:#e9f8ee;color:#21603a}.connection-result.error{background:#ffeaed;color:#8b2431}.connection-result.working{background:#eaf2ff;color:#325b92}.connection-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.connection-card{border-radius:14px;padding:19px;min-width:0}.connection-card.span-2{grid-column:1/-1}.connection-card header{display:flex;gap:12px;align-items:flex-start;margin-bottom:14px}.connection-card h2{font-size:1.02rem;margin:0}.connection-card p{font-size:.78rem;color:#707381;margin:4px 0 0}.connection-icon{font-size:1.55rem}.fixed-destination{display:grid;gap:5px;padding:12px;border-radius:9px;background:#f6f7fa;border:1px solid #e4e6ec;margin:12px 0}.fixed-destination span,.fixed-destination small{font-size:.75rem}.fixed-destination strong{overflow-wrap:anywhere}.media-manager-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:15px 0}.media-search{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #e0e2e8;border-radius:10px;padding-left:12px;width:min(480px,100%)}.media-search input{border:0!important;box-shadow:none!important;width:100%;min-height:44px}.media-grid.professional{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:15px}.media-card.professional{border-radius:13px;box-shadow:0 7px 22px rgba(28,29,38,.045);transition:transform .15s,box-shadow .15s}.media-card.professional:hover{transform:translateY(-2px);box-shadow:0 13px 30px rgba(28,29,38,.09)}.media-card-image{position:relative;background:#eee}.media-card-image img{aspect-ratio:1/1;object-fit:cover}.media-format{position:absolute;top:8px;right:8px;background:rgba(14,15,20,.75);color:#fff;border-radius:6px;padding:4px 6px;font-size:.62rem;font-weight:800}.media-card-info{padding:11px!important;display:grid!important;gap:5px!important}.media-card-info small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.media-card-actions{display:flex;gap:4px;flex-wrap:wrap;padding-top:7px;border-top:1px solid #eee}.media-card-actions form{margin:0}.icon-action{display:inline-flex;align-items:center;gap:4px;border:0;background:transparent;color:#4d5260;text-decoration:none!important;padding:5px 6px!important;border-radius:6px;cursor:pointer;font-size:.72rem!important}.icon-action:hover{background:#f0f1f5}.icon-action.danger{color:#a02a38}.upload-dropzone{display:grid;place-items:center;text-align:center;gap:8px;padding:26px;border:2px dashed #cfd2dc;border-radius:12px;background:#fafbfc}.upload-dropzone.compact{padding:18px}.upload-icon{font-size:2rem}.mini-checklist{list-style:none;padding:0;display:grid;gap:5px;font-size:.75rem;color:#636673}.media-picker-modal{width:min(1000px,94vw);max-height:88vh;border:0;border-radius:16px;padding:0;box-shadow:0 30px 100px rgba(0,0,0,.28)}.media-picker-modal::backdrop{background:rgba(12,13,18,.65);backdrop-filter:blur(3px)}.media-picker-shell{padding:20px;max-height:88vh;overflow:auto}.media-picker-head{display:flex;justify-content:space-between;align-items:start;gap:20px;padding-bottom:14px;border-bottom:1px solid #eceef3}.media-picker-head h2{margin:2px 0}.icon-button{border:1px solid #e0e2e8;background:#fff;border-radius:9px;width:42px;height:42px}.media-picker-tabs{display:flex;gap:5px;margin:15px 0}.media-picker-tabs button{border:1px solid #e0e2e8;background:#fff;border-radius:8px;padding:9px 12px}.media-picker-tabs button.active{background:var(--cms-accent);border-color:var(--cms-accent);color:#fff}.media-picker-toolbar{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:12px}.media-picker-toolbar input{width:min(420px,100%);min-height:42px;border:1px solid #dfe1e8;border-radius:9px;padding:8px 11px}.media-picker-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}.media-picker-item{display:grid;text-align:left;border:1px solid #e2e4ea;background:#fff;border-radius:10px;overflow:hidden;padding:0;cursor:pointer;min-width:0}.media-picker-item:hover{border-color:var(--cms-accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--cms-accent) 12%,transparent)}.media-picker-item img,.media-picker-item .media-missing{width:100%;aspect-ratio:1/1;object-fit:cover}.media-picker-name{padding:8px 8px 2px;font-size:.72rem;font-weight:750;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.media-picker-item small{padding:0 8px 8px;color:#858894}.security-hero{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:24px 0;background:linear-gradient(135deg,#161821,#252836);color:#fff;padding:24px;border-radius:16px}.security-hero h2{font-size:1.8rem;margin:3px 0}.security-hero p{color:#b9bdc9;max-width:800px}.security-grade{text-align:center;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);border-radius:13px;padding:15px 20px;min-width:150px}.security-grade span{display:block;font-size:.68rem;text-transform:uppercase;color:#aeb2bf}.security-grade strong{font-size:1.4rem}.scan-header{display:flex;justify-content:space-between;gap:20px;align-items:center}.scan-progress{display:flex;align-items:center;gap:12px;margin:20px 0}.scan-progress-track{height:14px;flex:1;background:#e8eaf0;border-radius:999px;overflow:hidden}.scan-progress-track span{display:block;height:100%;background:linear-gradient(90deg,var(--cms-accent),#ff8b97);transition:width .18s}.scan-current{display:grid;gap:6px;padding:12px;background:#f7f8fb;border-radius:9px}.scan-current span{font-size:.7rem;color:#777a87}.scan-current code{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.scan-meta{display:flex;justify-content:space-between;gap:15px;font-size:.75rem;color:#707381;margin-top:10px}.section-heading-admin{display:flex;align-items:end;justify-content:space-between;margin:25px 0 10px}.section-heading-admin h2{margin:4px 0}.ai-security-card{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:15px;margin-top:16px}.empty-state{text-align:center;padding:40px 20px;color:#696c79}.empty-state>span{font-size:2.3rem}.empty-state h3{color:#23252d}.studio-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.color-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.color-field{display:grid;grid-template-columns:1fr auto;align-items:center;gap:7px;border:1px solid #e4e6ec;border-radius:9px;padding:10px}.color-field span{grid-column:1/-1;font-size:.73rem;font-weight:750}.color-field input{width:48px;height:34px;border:0;padding:0;background:none}.color-field code{font-size:.68rem;color:#747784}.toggle-grid{display:flex;gap:12px;flex-wrap:wrap}.preview-panel{overflow:hidden}.theme-preview{border:1px solid #e4e6ec;border-radius:12px;overflow:hidden;background:#f5f6f9}.preview-header{background:#fff;border-bottom:4px solid var(--cms-accent);padding:11px;display:flex;justify-content:space-between;gap:10px;font-size:.65rem}.preview-logo{font-weight:900}.preview-feature{display:grid;grid-template-columns:1.3fr 1fr;gap:8px;padding:10px}.preview-feature>div:first-child{min-height:105px;background:linear-gradient(135deg,#22242d,#55596b);border-radius:6px}.preview-feature>div:last-child{background:#fff;padding:10px;display:grid;align-content:end}.preview-feature strong{font-size:.8rem}.preview-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;padding:0 10px 10px}.preview-cards span{height:52px;background:#fff;border-radius:5px}.events-admin-layout{grid-template-columns:minmax(0,1.8fr) minmax(330px,.8fr)}
/* Public Anime Corner-inspired editorial design */
.public-body{background:var(--public-bg);color:var(--public-text);font-family:var(--public-body-font),Inter,system-ui,sans-serif}.public-topbar{background:#14151b;color:#c8cad2;font-size:.68rem}.public-topbar>div{max-width:var(--public-container);margin:auto;padding:7px 18px;display:flex;justify-content:space-between;gap:20px}.public-topbar nav{display:flex;gap:14px}.public-topbar a{color:#d8dae1;text-decoration:none}.public-header{display:block;background:var(--public-header);color:var(--public-text);padding:0;box-shadow:0 1px 0 #e6e7eb;position:relative}.public-header-inner{max-width:var(--public-container);margin:auto;padding:16px 18px;display:grid;grid-template-columns:auto minmax(220px,420px) auto;align-items:center;justify-content:space-between;gap:25px}.logo-plate{display:inline-grid;background:#090a0d;border-radius:9px;padding:8px 10px}.public-logo img{width:195px;max-width:36vw;display:block}.header-search{display:flex;border:1px solid #dfe1e7;border-radius:999px;overflow:hidden;background:#f7f8fa}.header-search input{border:0;background:transparent;padding:11px 14px;width:100%;outline:0}.header-search button{border:0;background:transparent;padding:0 14px;min-height:42px}.main-nav{display:block;background:var(--public-accent);border:0}.main-nav>div{max-width:var(--public-container);margin:auto;display:flex;align-items:center;gap:0;padding:0 12px}.main-nav a{color:#fff;padding:12px 11px;font-size:.72rem;letter-spacing:.015em;white-space:nowrap}.main-nav a:hover{background:rgba(0,0,0,.14);color:#fff}.menu-toggle{display:none}.public-main{max-width:var(--public-container);padding:26px 18px 50px}.featured-section,.news-section{margin-bottom:28px}.section-label{border-bottom:4px solid var(--public-accent);margin-bottom:12px}.section-label span{display:inline-block;background:var(--public-accent);color:#fff;text-transform:uppercase;font-weight:850;font-size:.72rem;padding:7px 13px}.featured-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,.8fr);gap:12px}.featured-main,.featured-small{position:relative;overflow:hidden;border-radius:var(--public-radius);background:#1b1c22;min-height:260px}.featured-main{min-height:480px}.featured-main img,.featured-small img,.featured-main .placeholder-art,.featured-small .placeholder-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.featured-main:after,.featured-small:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 30%,rgba(8,9,12,.9) 100%)}.featured-overlay{position:absolute;z-index:2;left:0;right:0;bottom:0;color:#fff;padding:22px}.featured-overlay span,.story-category{display:inline-block;text-transform:uppercase;font-size:.66rem;font-weight:850;color:var(--public-accent);letter-spacing:.06em}.featured-overlay h1{font-family:var(--public-heading-font),Inter,sans-serif;font-size:clamp(2rem,4vw,3.7rem);line-height:1.02;margin:7px 0}.featured-overlay h2{font-family:var(--public-heading-font),Inter,sans-serif;font-size:1.35rem;line-height:1.08;margin:6px 0}.featured-overlay a{color:#fff;text-decoration:none}.featured-overlay p{color:#e0e2e7;margin-bottom:0}.featured-stack{display:grid;grid-template-rows:1fr 1fr;gap:12px}.section-title-row{display:flex;align-items:end;justify-content:space-between;border-bottom:3px solid var(--public-accent);margin-bottom:13px}.section-title-row h2{font-family:var(--public-heading-font),Inter,sans-serif;font-size:1.35rem;margin:0;background:var(--public-accent);color:#fff;padding:7px 12px}.section-title-row>a{font-size:.72rem;font-weight:750;text-decoration:none;padding-bottom:7px}.editor-picks-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.editor-pick{background:var(--public-surface);border:1px solid #e3e5eb;border-radius:var(--public-radius);overflow:hidden;box-shadow:0 6px 20px rgba(25,26,34,.035)}.editor-pick img{width:100%;aspect-ratio:16/9;object-fit:cover}.editor-pick>div{padding:12px}.editor-pick h3{font-size:1rem;line-height:1.2;margin:6px 0}.editor-pick h3 a,.latest-story h3 a{color:inherit;text-decoration:none}.editor-pick small,.latest-story small{color:#858895;font-size:.69rem}.category-ribbon{display:flex;overflow:auto;background:#fff;border:1px solid #e3e5eb;border-radius:var(--public-radius);margin:20px 0 30px}.category-ribbon a{white-space:nowrap;padding:12px 14px;text-decoration:none;font-size:.75rem;font-weight:800;border-right:1px solid #eceef2}.latest-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:25px}.latest-list{display:grid;gap:0;background:#fff;border:1px solid #e4e6eb;border-radius:var(--public-radius);overflow:hidden}.latest-story{display:grid;grid-template-columns:220px minmax(0,1fr);gap:14px;padding:13px;border-bottom:1px solid #eceef2}.latest-story:last-child{border-bottom:0}.latest-story img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:7px}.latest-story h3{font-family:var(--public-heading-font),Inter,sans-serif;font-size:1.12rem;line-height:1.17;margin:5px 0}.latest-story p{color:#616572;margin:6px 0;font-size:.83rem;line-height:1.45}.trending-panel{background:#fff;border:1px solid #e4e6eb;border-radius:var(--public-radius);padding:16px;align-self:start}.trending-panel h2{font-size:1.15rem;margin:0 0 8px}.trending-panel>a{display:grid;grid-template-columns:32px 1fr;gap:9px;padding:10px 0;border-top:1px solid #eceef2;text-decoration:none}.trending-panel>a>b{font-size:1.5rem;color:var(--public-accent)}.trending-panel>a span{display:grid;gap:4px}.trending-panel>a strong{font-size:.82rem;line-height:1.2}.trending-panel>a small{color:#9295a1}.ad-placeholder.small{min-height:180px;margin-top:15px}.public-footer{max-width:none;background:#14151b;padding:38px max(18px,calc((100vw - var(--public-container))/2 + 18px));display:flex}.footer-logo img{width:180px}.footer-links{display:flex;gap:60px}.footer-links nav{gap:7px}.footer-links strong{color:#fff}.empty-home{border-radius:var(--public-radius)}
@media(max-width:1400px){.editor-layout{grid-template-columns:1fr}.editor-side{grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.editor-side .sticky{position:static}.events-admin-layout{grid-template-columns:1fr}.connection-grid,.studio-grid{grid-template-columns:1fr}.connection-card.span-2{grid-column:auto}.featured-grid{grid-template-columns:minmax(0,1.4fr) minmax(280px,.8fr)}.editor-picks-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:1000px){.admin-layout{grid-template-columns:1fr}.admin-sidebar{position:fixed;left:-290px;width:270px;transition:left .2s;box-shadow:20px 0 50px rgba(0,0,0,.25)}.admin-sidebar.open{left:0}.sidebar-toggle{display:grid;place-items:center}.admin-main{padding:22px}.public-header-inner{grid-template-columns:auto auto}.header-search{grid-column:1/-1;grid-row:2}.menu-toggle{display:inline-flex}.main-nav{display:none}.main-nav.open{display:block}.main-nav>div{display:grid;grid-template-columns:repeat(3,1fr);padding:8px}.main-nav a{border-bottom:1px solid rgba(255,255,255,.15)}.public-topbar nav{display:none}.featured-grid{grid-template-columns:1fr}.featured-stack{grid-template-columns:1fr 1fr;grid-template-rows:auto}.featured-small{min-height:260px}.latest-layout{grid-template-columns:1fr}.trending-panel{display:grid;grid-template-columns:repeat(2,1fr);gap:0 15px}.trending-panel h2{grid-column:1/-1}.editor-side{grid-template-columns:1fr 1fr}.media-layout{grid-template-columns:1fr}}
@media(max-width:700px){.admin-main{padding:14px}.admin-top{align-items:stretch}.admin-actions{width:100%}.page-intro,.security-hero,.scan-header,.sticky-savebar{align-items:stretch;flex-direction:column}.editor-side,.grid-2,.grid-3,.color-grid{grid-template-columns:1fr}.editor-layout{gap:12px}.ck.ck-toolbar{overflow-x:auto!important;flex-wrap:nowrap!important}.ck.ck-toolbar .ck-toolbar__items{flex-wrap:nowrap!important}.media-grid.professional{grid-template-columns:repeat(2,minmax(0,1fr))}.media-card-actions .icon-action span{display:none}.media-picker-grid{grid-template-columns:repeat(2,1fr)}.public-header-inner{padding:10px 13px}.public-logo img{width:150px}.main-nav>div{grid-template-columns:1fr 1fr}.featured-main{min-height:380px}.featured-stack{grid-template-columns:1fr}.editor-picks-grid{grid-template-columns:1fr}.latest-story{grid-template-columns:115px 1fr;gap:10px}.latest-story p{display:none}.trending-panel{grid-template-columns:1fr}.featured-overlay{padding:16px}.featured-overlay h1{font-size:2rem}.public-main{padding-left:12px;padding-right:12px}.public-footer{padding:30px 18px;flex-direction:column}.footer-links{gap:30px}.stats-grid{grid-template-columns:1fr 1fr}.ai-security-card{grid-template-columns:auto 1fr}.ai-security-card .button{grid-column:1/-1}.scan-meta{flex-direction:column}.media-manager-toolbar{align-items:stretch;flex-direction:column}.media-search{width:100%}}

/* Manga Afternoon CMS 0.4.0 dark-first visual system */
:root{
  --ma-dark-bg:#0d0f13;--ma-dark-surface:#17191f;--ma-dark-surface-2:#1e2129;--ma-dark-border:#2a2e38;
  --ma-dark-text:#f4f5f8;--ma-dark-muted:#9da3b2;--ma-accent:#f14f64;--ma-light-bg:#f3f5f9;--ma-light-surface:#fff;
}
html,body{max-width:100%;overflow-x:hidden}
html[data-theme="dark"]{background:#0d0f13;color-scheme:dark}
html[data-theme="light"]{background:#f3f5f9;color-scheme:light}
body,button,input,select,textarea{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
button,.button,a,input,select,textarea{transition:background-color .16s ease,border-color .16s ease,color .16s ease,opacity .16s ease}

/* shared theme toggle */
.theme-switch{display:inline-flex;align-items:center;gap:8px;cursor:pointer;user-select:none;font-size:.78rem;font-weight:800;white-space:nowrap}
.theme-switch input{position:absolute;opacity:0;pointer-events:none}
.theme-switch-track{width:48px;height:26px;border-radius:999px;background:#2d3038;border:1px solid #3a3d47;display:flex;align-items:center;padding:2px}
.theme-switch-thumb{width:20px;height:20px;border-radius:50%;background:#fff;display:grid;place-items:center;font-size:.68rem;transform:translateX(0);transition:transform .18s ease}
.theme-switch input:checked+.theme-switch-track{background:var(--cms-accent,var(--public-accent,#f14f64));border-color:transparent}
.theme-switch input:checked+.theme-switch-track .theme-switch-thumb{transform:translateX(21px)}
.theme-switch-label{min-width:34px}

/* admin shell */
.cms-body{background:var(--cms-bg,#101218);color:var(--cms-text,#f4f5f8)}
.admin-layout{display:grid;grid-template-columns:272px minmax(0,1fr);min-height:100vh;background:var(--cms-bg,#101218)}
.admin-sidebar{position:sticky;top:0;height:100vh;z-index:40;overflow-y:auto;background:var(--cms-sidebar,#0b0c10);color:#f6f7fb;padding:18px 14px;border-right:1px solid var(--cms-border,#2a2e38)}
.sidebar-brand{display:grid;gap:4px;padding:2px 8px 16px;border-bottom:1px solid #252832;margin-bottom:14px}
.sidebar-brand .admin-logo img{width:180px;max-width:100%;padding:0;display:block}
.sidebar-brand>span{font-size:.66rem;letter-spacing:.18em;text-transform:uppercase;color:#8d93a2;font-weight:800}
.admin-nav{display:grid;gap:16px}
.nav-section{display:grid;gap:3px}.nav-section-label{padding:0 10px 5px;color:#666d7c;font-size:.61rem;font-weight:900;text-transform:uppercase;letter-spacing:.16em}
.nav-main{display:grid!important;grid-template-columns:28px minmax(0,1fr) auto;align-items:center!important;gap:9px!important;padding:10px 11px!important;border-radius:9px!important;color:#c8ccd6!important;text-decoration:none!important;font-size:.82rem!important;font-weight:750!important}
.nav-main:hover{background:#171922!important;color:#fff!important}.nav-main.active{background:linear-gradient(90deg,color-mix(in srgb,var(--cms-accent) 28%,#171922),#171922)!important;color:#fff!important;box-shadow:inset 3px 0 0 var(--cms-accent)}
.nav-icon{width:28px;height:28px;display:grid;place-items:center;border-radius:7px;background:#1b1e27;font-size:.94rem}.nav-main.active .nav-icon{background:var(--cms-accent)}
.nav-chevron{color:#697080;font-size:1.1rem}.nav-sub{display:grid;margin:3px 0 3px 37px;padding-left:8px;border-left:1px solid #292d37}
.nav-sub a{display:flex!important;gap:8px!important;align-items:center!important;color:#888f9e!important;padding:7px 8px!important;border-radius:6px!important;font-size:.73rem!important;text-decoration:none!important}.nav-sub a:hover{color:#fff!important;background:#15171e!important}
.sidebar-foot{margin-top:18px;padding:14px 9px;border-top:1px solid #252832;display:grid;gap:5px;color:#747b8a;font-size:.66rem}
.admin-main{min-width:0;padding:28px clamp(18px,2.2vw,38px) 70px;background:var(--cms-bg,#101218);color:var(--cms-text,#f4f5f8)}
.admin-top{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-bottom:20px;border-bottom:1px solid var(--cms-border,#2a2e38);margin-bottom:24px}
.admin-title-row{display:flex;align-items:center;gap:14px;min-width:0}.admin-title-row h1{margin:.25rem 0 0;font-size:clamp(1.65rem,2.3vw,2.45rem);line-height:1.04;color:var(--cms-text,#f4f5f8)}
.admin-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;justify-content:flex-end}.admin-actions form{margin:0}
.sidebar-toggle{display:none;width:44px;height:44px;border:1px solid var(--cms-border);background:var(--cms-surface);color:var(--cms-text);border-radius:9px}
.sidebar-scrim{display:none}
.eyebrow{color:#858c9c}.panel,.table-card,.module-card,.connection-card,.security-summary>div,.stats-grid>div,.editor-card,.editor-side>section,.update-panel,.trending-panel{background:var(--cms-surface,#17191f);border-color:var(--cms-border,#2a2e38);color:var(--cms-text,#f4f5f8);box-shadow:none}
.panel{border:1px solid var(--cms-border);border-radius:12px;padding:22px}.panel.compact{padding:19px}.panel h2,.panel h3{color:var(--cms-text)}
.muted,small,.panel p,.module-card p,.connection-card p{color:#9299a8}
.field{display:grid;gap:7px}.field>span{font-size:.78rem;font-weight:800;color:#cdd1da}.field input,.field select,.field textarea,.form-grid input,.form-grid select,.auth-card input{width:100%;min-width:0;background:#111319;color:#f2f3f6;border:1px solid #30343f;border-radius:8px;padding:10px 12px}.field textarea{resize:vertical}.field input:focus,.field select:focus,.field textarea:focus{outline:2px solid color-mix(in srgb,var(--cms-accent) 65%,transparent);outline-offset:1px;border-color:var(--cms-accent)}
.button,.primary,.ghost{border-radius:8px;font-weight:800;gap:7px}.button.primary,.primary{background:var(--cms-accent,#f14f64);color:#fff;border:1px solid var(--cms-accent)}.button.primary:hover,.primary:hover{filter:brightness(1.08)}
.button.secondary{background:#252935;color:#fff;border:1px solid #343947}.button.ghost,.ghost{background:#171a22;color:#e6e8ee;border:1px solid #343844}.button.ghost:hover{border-color:#5b6272;background:#20232c}
.icon-action{display:inline-grid;place-items:center;min-width:36px;height:36px;padding:0 8px;border:1px solid #343844;background:#171a22;color:#e9ebf0;border-radius:7px;text-decoration:none;cursor:pointer}.icon-action:hover{background:#252936}.icon-action.danger{color:#ff7a88;border-color:#5a2b34}.icon-action.danger:hover{background:#351820}
.row-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.row-actions form{margin:0}.actions-col{width:120px}
.data-table{width:100%;border-collapse:collapse;min-width:720px}.table-card{overflow:auto;border:1px solid var(--cms-border);border-radius:11px}.table-card.flush{border:0;border-radius:0}.data-table th{background:#12141a;color:#8f96a6;text-transform:uppercase;letter-spacing:.08em;font-size:.65rem;text-align:left;padding:11px 13px;white-space:nowrap}.data-table td{padding:13px;border-top:1px solid #282c35;color:#dfe2e9;vertical-align:middle;font-size:.82rem}.data-table tr:hover td{background:#191c23}
.status-pill{display:inline-flex;padding:4px 8px;border-radius:999px;background:#252935;color:#aeb4c1;font-size:.65rem;font-weight:850;text-transform:uppercase}.status-pill.published,.status-pill.ready,.status-pill.sent,.status-pill.installed{background:#173627;color:#74e2a8}.status-pill.failed,.status-pill.error{background:#3c1e24;color:#ff9ca7}.status-pill.pending,.status-pill.beta,.status-pill.too-large{background:#3b321b;color:#ffd477}
.notice{border:1px solid transparent}.notice.success{background:#153124;color:#9ce6bb;border-color:#24583b}.notice.error{background:#381b22;color:#ffb0ba;border-color:#63303b}.notice.warn{background:#382f1b;color:#ffe09a;border-color:#5d4c25}.notice.info{background:#172839;color:#a6d1ff;border-color:#285078}

/* dashboard */
.dashboard-hero{display:flex;justify-content:space-between;align-items:end;gap:22px;padding:28px;border:1px solid #292d37;background:radial-gradient(circle at 88% 20%,color-mix(in srgb,var(--cms-accent) 22%,transparent),transparent 35%),linear-gradient(135deg,#171a22,#111319);border-radius:14px;margin-bottom:16px;overflow:hidden}.dashboard-hero h2{margin:5px 0 8px;font-size:clamp(1.7rem,3vw,2.6rem)}.dashboard-hero p{max-width:720px;color:#a0a6b4;margin:0}.dashboard-hero-actions{display:flex;gap:8px;flex-wrap:wrap}
.dashboard-status{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:24px}.dashboard-status article{display:grid;grid-template-columns:38px 1fr;gap:10px;background:#15171e;border:1px solid #292d37;border-radius:10px;padding:14px;min-width:0}.dashboard-status article>span{font-size:1.25rem}.dashboard-status div{display:grid;gap:4px}.dashboard-status strong{font-size:.82rem}.dashboard-status small{font-size:.69rem;line-height:1.35}
.dashboard-section-heading{display:flex;justify-content:space-between;align-items:end;gap:16px;margin:20px 0 10px}.dashboard-section-heading h2{margin:2px 0 0}.quick-actions{display:flex;gap:8px;flex-wrap:wrap}
.dashboard-app-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.dashboard-app{min-width:0;display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:11px;align-items:start;padding:15px;background:#15171e;border:1px solid #292d37;border-radius:10px;text-decoration:none;color:#eef0f4}.dashboard-app:hover{border-color:#49505e;background:#1a1d25;transform:translateY(-1px)}.dashboard-app-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:9px;background:#20232c;font-size:1.2rem}.dashboard-app h3{font-size:.88rem;margin:1px 0 4px}.dashboard-app p{font-size:.71rem;line-height:1.35;color:#9299a8;margin:0}.phase{background:#242833;color:#aeb5c3;align-self:start}

/* Website Studio */
.studio-tabs{display:flex;gap:6px;overflow-x:auto;margin:-5px 0 18px;padding-bottom:4px}.studio-tabs a{white-space:nowrap;text-decoration:none;padding:8px 11px;border:1px solid #2e323d;background:#15171e;border-radius:8px;font-size:.74rem;font-weight:800}.studio-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.color-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.color-field{background:#111319;border:1px solid #2d313b;border-radius:8px;padding:9px;display:grid;grid-template-columns:44px minmax(0,1fr);gap:7px;align-items:center}.color-field span{grid-column:1/-1;color:#bfc4cf}.color-field code{color:#8f96a5;overflow:hidden;text-overflow:ellipsis}.font-preview{margin-top:8px;padding:17px;background:#111319;border:1px solid #2d313b;border-radius:9px;font-size:1.45rem;line-height:1.3}.font-preview.body{font-size:.9rem;line-height:1.6}.font-library{margin-top:14px}.font-library summary{cursor:pointer;font-weight:800;color:#cbd0da}.font-sample-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;max-height:380px;overflow:auto;margin-top:10px}.font-sample-grid>div{display:grid;gap:3px;background:#111319;border:1px solid #2b2f39;border-radius:8px;padding:10px}.font-sample-grid strong{font-size:.75rem;color:#a5acba}.font-sample-grid span{font-size:1rem}.theme-preview{background:#0e1014;border-color:#2b2f38}.preview-header{background:#12141a;border-bottom-color:var(--cms-accent);color:#fff}.preview-feature>div:first-child{background:linear-gradient(135deg,#20232d,#5a2632)}.preview-feature>div:last-child,.preview-cards span{background:#191c23;color:#fff}

/* backup and update */
.recovery-token-banner{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.8fr);gap:18px;align-items:center;padding:20px 22px;border:1px solid #5d4720;background:linear-gradient(135deg,#342a17,#17191f);border-radius:12px;margin-bottom:18px}.recovery-token-banner h2{margin:4px 0 5px}.recovery-token-banner p{margin:0;color:#c4ad7e}.token-copy-row{display:flex;gap:7px;min-width:0}.token-copy-row input{min-width:0;flex:1;background:#0d0f13;color:#fff;border:1px solid #5b4928;border-radius:8px;padding:10px;font-family:ui-monospace,monospace}
.backup-layout{grid-template-columns:minmax(0,1fr) 340px}.decrypt-details{position:relative}.decrypt-details summary{list-style:none}.decrypt-details summary::-webkit-details-marker{display:none}.decrypt-details form{position:absolute;right:0;top:42px;z-index:10;width:310px;padding:14px;background:#151820;border:1px solid #343945;border-radius:10px;box-shadow:0 15px 40px rgba(0,0,0,.45)}
.update-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);gap:14px;margin-bottom:14px}.version-badge{display:inline-flex;padding:7px 10px;border-radius:8px;background:#242834;color:#fff;font-weight:850;margin:6px 0 12px}.drop-upload{display:grid;place-items:center;text-align:center;gap:6px;border:1px dashed #4a5060;background:#111319;border-radius:10px;padding:25px;margin:14px 0;cursor:pointer}.drop-upload input{max-width:100%}.drop-icon{font-size:2rem}.update-progress{margin-top:14px}.progress{height:9px;background:#262a34;border-radius:999px;overflow:hidden}.progress span{display:block;height:100%;background:var(--cms-accent);width:0;transition:width .18s}.scan-meta{display:flex;justify-content:space-between;gap:12px;margin-top:8px;color:#969dac;font-size:.73rem}

/* public dark-first publication */
.public-body{background:var(--public-bg,#0d0f13);color:var(--public-text,#f4f5f8);font-family:var(--public-body-font),Inter,sans-serif}
.public-topbar{background:#08090c;color:#8f96a5;border-bottom:1px solid #20232b}.public-topbar>div{max-width:var(--public-container);padding:7px 18px}.public-topbar nav{align-items:center}.social-icon-link{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:#1a1d24}.social-icon-link img{width:14px;height:14px;display:block}.public-theme-switch{margin-left:4px}
.public-header{background:var(--public-header,#0c0d11);color:var(--public-text);box-shadow:none;border-bottom:1px solid var(--public-border,#2a2e38)}.logo-plate{background:transparent;padding:0;border-radius:0}.public-logo img{width:210px}.header-search{background:#15171d;border-color:#2c3039}.header-search input{color:#f2f4f7}.header-search input::placeholder{color:#777e8d}.header-search button{color:#fff}.main-nav{background:#111319;border-top:1px solid #252932;border-bottom:1px solid #252932}.main-nav a{color:#d9dde5;border-bottom:3px solid transparent}.main-nav a:hover{background:#181b22;color:#fff;border-bottom-color:var(--public-accent)}
.public-main{padding-top:24px}.section-title-row{border-bottom:1px solid var(--public-border);margin-bottom:12px}.section-title-row h2{background:transparent;color:#f4f5f8;padding:0 0 8px;border-bottom:3px solid var(--public-accent);font-size:1.25rem}.section-title-row>a{color:#a5abba}.story-category{color:var(--public-accent)}
.featured-carousel{position:relative}.carousel-heading{margin-bottom:10px}.carousel-actions{display:flex;gap:6px;padding-bottom:6px}.carousel-arrow{width:38px;height:38px;min-height:38px;border-radius:50%;border:1px solid #323742;background:#181b22;color:#fff;cursor:pointer}.carousel-arrow:hover{background:var(--public-accent);border-color:var(--public-accent)}.carousel-stage{position:relative;height:var(--feature-height);min-height:320px;border-radius:var(--public-radius);overflow:hidden;background:#15171d}.carousel-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .38s ease;pointer-events:none}.carousel-slide.active{opacity:1;visibility:visible;pointer-events:auto}.carousel-slide>img,.carousel-slide>.placeholder-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.carousel-gradient{position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,8,11,.88) 0%,rgba(7,8,11,.58) 42%,rgba(7,8,11,.08) 78%),linear-gradient(0deg,rgba(7,8,11,.82),transparent 55%)}.carousel-copy{position:absolute;z-index:2;left:clamp(20px,4vw,58px);bottom:clamp(25px,5vw,64px);max-width:min(760px,75%)}.carousel-copy h1{font-family:var(--public-heading-font);font-size:clamp(2rem,4.6vw,4rem);line-height:1.03;margin:8px 0 12px;text-wrap:balance}.carousel-copy h1 a{color:#fff;text-decoration:none}.carousel-copy p{font-size:.95rem;line-height:1.55;color:#d1d5de;max-width:640px}.carousel-copy small{color:#a5abba}.carousel-dots{display:flex;justify-content:center;gap:7px;margin-top:11px}.carousel-dot{width:28px;height:4px;min-height:4px;padding:0;border:0;border-radius:999px;background:#333842;cursor:pointer}.carousel-dot.active{background:var(--public-accent)}
.editor-picks-grid{gap:var(--public-gap)}.editor-pick,.latest-list,.trending-panel,.category-ribbon{background:var(--public-surface);border-color:var(--public-border);box-shadow:none}.editor-pick{border-radius:var(--public-radius)}.editor-pick h3,.latest-story h3{color:#f1f3f7}.editor-pick small,.latest-story small{color:var(--public-muted)}.editor-pick>div{padding:11px 12px 13px}.category-ribbon{background:#12141a}.category-ribbon a{color:#d3d7df;border-right-color:#292d35}.category-ribbon a:hover{background:#1a1d24}.category-dot{width:7px;height:7px;display:inline-block;background:var(--dot);border-radius:50%;margin-right:7px}
.latest-layout{grid-template-columns:minmax(0,1fr) var(--public-sidebar-width);gap:var(--public-gap)}.latest-story{grid-template-columns:210px minmax(0,1fr);border-bottom-color:#292d35}.latest-story:hover{background:#1a1d24}.latest-story p{color:#a0a6b3}.trending-panel{background:#14161c}.trending-panel>a{border-top-color:#2a2e36;color:#eef0f4}.trending-panel>a>b{color:var(--public-accent)}.ad-placeholder{border:1px dashed #343945;background:#101218;color:#697080;display:grid;place-items:center;text-align:center}.public-footer{background:#090a0d;color:#9da3b2;border-top:1px solid #242832}.public-footer a{color:#cbd0d9}.public-footer strong{color:#fff}

/* light-mode alternate */
html[data-theme="light"] .cms-body,html[data-theme="light"] .admin-layout,html[data-theme="light"] .admin-main{--cms-bg:#f3f5f9;--cms-surface:#fff;--cms-border:#dfe3ea;--cms-text:#17191f;background:#f3f5f9;color:#17191f}
html[data-theme="light"] .admin-sidebar{background:#111319;color:#fff;border-right-color:#20232a}
html[data-theme="light"] .admin-top{border-bottom-color:#dfe3ea}html[data-theme="light"] .admin-title-row h1,html[data-theme="light"] .panel h2,html[data-theme="light"] .panel h3{color:#17191f}
html[data-theme="light"] .panel,html[data-theme="light"] .table-card,html[data-theme="light"] .dashboard-app,html[data-theme="light"] .dashboard-status article,html[data-theme="light"] .connection-card,html[data-theme="light"] .stats-grid>div{background:#fff;border-color:#dfe3ea;color:#17191f}
html[data-theme="light"] .field input,html[data-theme="light"] .field select,html[data-theme="light"] .field textarea{background:#fff;color:#17191f;border-color:#cfd4dc}html[data-theme="light"] .field>span{color:#343943}html[data-theme="light"] .muted,html[data-theme="light"] small{color:#697080}
html[data-theme="light"] .data-table th{background:#f4f6f9;color:#697080}html[data-theme="light"] .data-table td{color:#2a2e36;border-top-color:#e6e9ee}html[data-theme="light"] .data-table tr:hover td{background:#f8f9fb}
html[data-theme="light"] .button.ghost{background:#fff;color:#242832;border-color:#d3d8e0}
html[data-theme="light"] .public-body{--public-bg:#f5f6f9;--public-surface:#fff;--public-surface-alt:#f0f2f6;--public-header:#fff;--public-text:#17191f;--public-muted:#697080;--public-border:#dfe3ea;background:#f5f6f9;color:#17191f}html[data-theme="light"] .public-header{background:#fff;color:#17191f}html[data-theme="light"] .header-search{background:#f4f6f9;border-color:#dfe3ea}html[data-theme="light"] .header-search input{color:#17191f}html[data-theme="light"] .main-nav{background:#fff;border-color:#dfe3ea}html[data-theme="light"] .main-nav a{color:#343943}html[data-theme="light"] .main-nav a:hover{background:#f2f4f7;color:#111}html[data-theme="light"] .editor-pick h3,html[data-theme="light"] .latest-story h3{color:#17191f}html[data-theme="light"] .trending-panel>a{color:#22262e}html[data-theme="light"] .category-ribbon{background:#fff}html[data-theme="light"] .category-ribbon a{color:#30353e;border-color:#e5e8ee}html[data-theme="light"] .public-footer{background:#111319}

/* anti-compression responsive rules */
.editor-layout,.split-layout,.events-admin-layout,.connection-grid,.studio-grid,.latest-layout,.dashboard-app-grid,.dashboard-status{min-width:0}.editor-layout>* ,.split-layout>* ,.events-admin-layout>* ,.studio-grid>* ,.latest-layout>*{min-width:0}
@media(max-width:1550px){.editor-layout{grid-template-columns:1fr!important}.editor-side{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}.editor-side .sticky{position:static!important}.dashboard-app-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-status{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-grid{grid-template-columns:1fr}.backup-layout,.update-grid{grid-template-columns:1fr}.events-admin-layout{grid-template-columns:minmax(0,1fr) 390px}}
@media(max-width:1180px){.admin-layout{grid-template-columns:1fr}.admin-sidebar{position:fixed;left:-290px;width:272px;top:0;transition:left .2s ease}.admin-sidebar.open{left:0}.sidebar-toggle{display:grid}.sidebar-scrim{display:block;position:fixed;inset:0;background:rgba(0,0,0,.6);z-index:35;opacity:0;pointer-events:none;transition:opacity .2s}.sidebar-open .sidebar-scrim{opacity:1;pointer-events:auto}.admin-main{padding:20px 18px 55px}.events-admin-layout{grid-template-columns:1fr}.public-header-inner{grid-template-columns:auto auto}.header-search{grid-column:1/-1;grid-row:2}.menu-toggle{display:inline-flex;background:#1a1d24;color:#fff;border:1px solid #30343f}.main-nav{display:none}.main-nav.open{display:block}.main-nav>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:8px}.latest-layout{grid-template-columns:1fr}.trending-panel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}.trending-panel h2,.trending-panel .ad-placeholder{grid-column:1/-1}.carousel-stage{height:min(var(--feature-height),500px)}}
@media(max-width:820px){.admin-top{align-items:flex-start;flex-direction:column}.admin-actions{width:100%;justify-content:flex-start}.dashboard-hero{align-items:flex-start;flex-direction:column}.dashboard-status,.dashboard-app-grid,.editor-side{grid-template-columns:1fr!important}.dashboard-section-heading{align-items:flex-start;flex-direction:column}.color-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.font-sample-grid{grid-template-columns:1fr}.recovery-token-banner{grid-template-columns:1fr}.token-copy-row{flex-direction:column}.main-nav>div{grid-template-columns:repeat(2,minmax(0,1fr))}.editor-picks-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.latest-story{grid-template-columns:150px minmax(0,1fr)}.carousel-copy{max-width:88%;left:22px;bottom:28px}.carousel-copy p{display:none}.carousel-stage{height:410px}.public-topbar>div{align-items:center}.public-topbar>div>span{display:none}}
@media(max-width:560px){.admin-main{padding:14px 11px 45px}.admin-actions .button{flex:1}.theme-switch-label{display:none}.dashboard-hero{padding:20px}.dashboard-hero-actions{width:100%}.dashboard-hero-actions .button{flex:1}.dashboard-app{grid-template-columns:38px minmax(0,1fr);padding:12px}.dashboard-app .phase{grid-column:2;justify-self:start}.color-grid{grid-template-columns:1fr}.public-header-inner{padding:10px 12px;gap:10px}.public-logo img{width:155px;max-width:48vw}.header-search{width:100%}.main-nav>div{grid-template-columns:1fr}.carousel-stage{height:350px}.carousel-copy{left:16px;right:16px;bottom:20px;max-width:none}.carousel-copy h1{font-size:1.75rem}.carousel-actions{display:none}.editor-picks-grid{grid-template-columns:1fr}.latest-story{grid-template-columns:105px minmax(0,1fr);padding:10px}.latest-story p{display:none}.trending-panel{grid-template-columns:1fr}.public-main{padding:16px 10px 36px}.category-ribbon{border-radius:7px}.data-table{min-width:640px}.decrypt-details form{position:fixed;left:12px;right:12px;top:auto;bottom:12px;width:auto}.footer-links{flex-direction:column;gap:20px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
.brand-app{width:32px;height:32px;display:grid;place-items:center;border-radius:8px;background:#242832}.brand-app img{width:18px;height:18px;display:block}.brand-app.large{width:46px;height:46px;border-radius:11px}.brand-app.large img{width:23px;height:23px}.social-platform-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:14px}.social-platform-grid article{display:grid;grid-template-columns:46px 1fr;gap:12px;align-items:center;padding:16px;background:var(--cms-surface);border:1px solid var(--cms-border);border-radius:10px}.social-platform-grid div{display:grid;gap:4px}.social-platform-grid span{font-size:.75rem;color:#9299a8}.social-check{display:flex!important;align-items:center;gap:8px}.social-check img{width:18px;height:18px;background:#20232b;border-radius:5px;padding:3px}@media(max-width:820px){.social-platform-grid{grid-template-columns:1fr}}
.share-brand{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;background:#171a22;border:1px solid #30343f;border-radius:8px;text-decoration:none}.share-brand img{width:16px;height:16px}

/* 0.4.0 Website Studio behavior hooks */
.public-header.is-sticky{position:sticky;top:0;z-index:80}
.editor-picks-grid{grid-template-columns:repeat(var(--homepage-columns,4),minmax(0,1fr))}
.public-body.has-card-shadows .editor-pick,.public-body.has-card-shadows .latest-list,.public-body.has-card-shadows .trending-panel,.public-body.has-card-shadows .category-ribbon,.public-body.has-card-shadows .article-page,.public-body.has-card-shadows .event-card{box-shadow:0 14px 32px rgba(0,0,0,.18)}
@media(max-width:1100px){.editor-picks-grid{grid-template-columns:repeat(var(--homepage-columns-tablet,2),minmax(0,1fr))}}
@media(max-width:560px){.editor-picks-grid{grid-template-columns:1fr}}

/* 0.4.1 - Manga Afternoon public editorial layout, independently implemented from visual reference */
.ac-public{background:#0d0e14;color:#f4f5f7;font-family:var(--public-body-font),Inter,system-ui,sans-serif;min-height:100vh}.ac-public a{color:inherit}.ac-site-header{background:#111218;border-bottom:1px solid #282a34;box-shadow:none}.ac-header-inner{width:min(1180px,calc(100% - 32px));max-width:none;margin:0 auto;min-height:78px;padding:0;display:grid;grid-template-columns:190px minmax(0,1fr) auto;gap:26px;align-items:center}.ac-logo .logo-plate{background:transparent;padding:0}.ac-logo img{display:block;max-width:165px;max-height:56px;object-fit:contain}.ac-main-nav{display:block!important;position:static!important;background:transparent;border:0;padding:0;margin:0;overflow:visible}.ac-main-nav>div{display:flex;align-items:center;gap:22px;padding:0;white-space:nowrap}.ac-main-nav a{padding:29px 0 27px;border:0;border-bottom:2px solid transparent;background:transparent!important;color:#d9dbe1;font-size:11px;font-weight:700;text-transform:none;letter-spacing:0;text-decoration:none}.ac-main-nav a:hover,.ac-main-nav a:focus-visible{color:#fff;border-bottom-color:var(--public-accent)}.ac-header-tools{display:flex;align-items:center;gap:11px}.ac-search{width:250px;height:38px;border:1px solid #30323e;border-radius:6px;background:#191a22;display:flex;align-items:center;overflow:hidden}.ac-search input{width:100%;height:100%;padding:0 12px;background:transparent;border:0;outline:0;color:#e9eaf0;font-size:11px}.ac-search input::placeholder{color:#7e8390}.ac-search button{width:38px;height:38px;border:0;background:transparent;color:#7e8390;font-size:18px}.ac-theme-toggle{margin:0}.ac-theme-toggle .theme-switch-track{width:44px;height:24px;border:1px solid #e5233f;background:#0d0e14}.ac-theme-toggle .theme-switch-thumb{width:18px;height:18px;font-size:10px}.ac-round-link{width:34px;height:34px;border-radius:50%;border:1px solid #313440;display:grid;place-items:center;text-decoration:none;font-size:9px;font-weight:800;color:#f04458}.menu-toggle{display:none}

.ac-home{width:min(1180px,calc(100% - 32px));margin:0 auto;padding:40px 0 64px}.ac-feature-row{display:grid;grid-template-columns:minmax(0,2.2fr) minmax(290px,.92fr);gap:28px;align-items:stretch}.ac-feature-carousel,.ac-feature-stage{min-width:0;height:450px}.ac-feature-stage{position:relative;overflow:hidden;border-radius:7px;border:1px solid #2a2c36;background:#15161d}.ac-feature-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .34s ease;pointer-events:none}.ac-feature-slide.active{opacity:1;visibility:visible;pointer-events:auto}.ac-feature-slide>img,.ac-placeholder-art{width:100%;height:100%;display:block;object-fit:cover;background:linear-gradient(135deg,#1f222b,#0f1015 58%,#282b34)}.ac-feature-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,9,13,.93) 0%,rgba(8,9,13,.7) 38%,rgba(8,9,13,.15) 72%,rgba(8,9,13,.08) 100%),linear-gradient(0deg,rgba(8,9,13,.65),transparent 44%)}.ac-feature-copy{position:absolute;left:48px;bottom:82px;z-index:2;width:min(68%,650px)}.ac-badge{display:inline-flex;align-items:center;min-height:21px;padding:4px 8px;border-radius:3px;background:var(--public-accent);color:#fff;font-size:8px;font-style:normal;font-weight:800;line-height:1;text-transform:uppercase;letter-spacing:.02em}.ac-feature-copy h1{margin:14px 0 12px;font-family:var(--public-heading-font),Inter,sans-serif;font-size:42px;line-height:1.08;font-weight:800;letter-spacing:-.035em;text-wrap:balance}.ac-feature-copy h1 a{text-decoration:none}.ac-feature-copy p{margin:0;color:#d5d7de;font-size:12px;line-height:1.6;max-width:650px}.ac-feature-controls{position:absolute;z-index:3;left:48px;right:28px;bottom:31px;display:flex;align-items:center;justify-content:space-between}.ac-carousel-dots{display:flex;align-items:center;gap:7px}.ac-carousel-dot{width:8px;height:8px;min-height:8px;padding:0;border-radius:50%;border:0;background:#737681;opacity:.72;cursor:pointer}.ac-carousel-dot.active{width:20px;border-radius:99px;background:var(--public-accent);opacity:1}.ac-carousel-arrows{display:flex;gap:6px}.ac-carousel-arrows button{width:34px;height:34px;border-radius:50%;border:1px solid rgba(255,255,255,.28);background:rgba(12,13,18,.4);color:#fff;font-size:22px;display:grid;place-items:center;cursor:pointer;backdrop-filter:blur(5px)}.ac-carousel-arrows button:hover{background:var(--public-accent);border-color:var(--public-accent)}

.ac-side-card{background:#171820;border:1px solid #292b36;border-radius:6px;padding:18px;min-width:0}.ac-editors-picks{height:450px;overflow:hidden}.ac-card-heading,.ac-section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.ac-card-heading{margin-bottom:10px}.ac-card-heading h2,.ac-section-heading h2{position:relative;margin:0;font-size:16px;font-weight:800;letter-spacing:-.025em}.ac-card-heading h2:before,.ac-section-heading h2:before{content:"";display:inline-block;width:3px;height:17px;margin-right:8px;vertical-align:-3px;border-radius:4px;background:var(--public-accent)}.ac-card-heading a,.ac-section-heading a{color:var(--public-accent);font-size:9px;font-weight:700;text-decoration:none}.ac-mini-list{display:grid}.ac-mini-item{display:grid;grid-template-columns:70px minmax(0,1fr);gap:11px;align-items:center;padding:11px 0;border-top:1px solid #292b35;text-decoration:none}.ac-mini-item:first-child{border-top:0}.ac-mini-item img,.ac-mini-placeholder{width:70px;height:52px;border-radius:4px;object-fit:cover;background:#242631}.ac-mini-item span{min-width:0}.ac-mini-item strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:11px;line-height:1.36;color:#f3f4f7}.ac-mini-item small{display:block;margin-top:5px;color:#7f8490;font-size:8px}.ac-mini-item:hover strong{color:#fff}

.ac-content-layout{display:grid;grid-template-columns:minmax(0,2.25fr) minmax(290px,.88fr);gap:28px;margin-top:42px;align-items:start}.ac-content-column,.ac-sidebar-stack{min-width:0}.ac-section-heading{margin-bottom:18px}.ac-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.ac-news-card{overflow:hidden;background:#171820;border:1px solid #292b36;border-radius:6px}.ac-news-image{display:block;height:170px;background:#1d1f28;overflow:hidden}.ac-news-image img,.ac-news-image .ac-placeholder-art{width:100%;height:100%;object-fit:cover;transition:transform .25s ease}.ac-news-card:hover .ac-news-image img{transform:scale(1.025)}.ac-news-card-body{padding:15px 15px 14px}.ac-news-card h3{margin:10px 0 9px;font-size:14px;line-height:1.28;font-weight:800;letter-spacing:-.02em}.ac-news-card h3 a{text-decoration:none}.ac-news-card p{margin:0 0 13px;color:#969ba7;font-size:10px;line-height:1.55}.ac-news-card small{display:block;color:#7a7f8b;font-size:8px}.ac-news-card small b{padding:0 4px;color:#4c505a}

.ac-feed-list{margin-top:22px;border:1px solid #292b36;border-radius:6px;background:#171820;padding:8px 18px 16px}.ac-feed-item{display:grid;grid-template-columns:64px minmax(0,1fr) 22px;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid #2a2c36;text-decoration:none}.ac-feed-item img{width:64px;height:48px;border-radius:4px;object-fit:cover}.ac-feed-item span{display:grid;gap:4px;min-width:0}.ac-feed-item .ac-badge{width:max-content;min-height:16px;padding:3px 6px;font-size:6px}.ac-feed-item strong{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ac-feed-item small{font-size:7px;color:#7f8490}.ac-feed-arrow{color:#8c919c;font-size:12px;text-align:right}.ac-load-more{width:220px;margin:18px auto 0;height:34px;border:1px solid var(--public-accent);border-radius:5px;display:grid;place-items:center;color:#fff!important;text-decoration:none;font-size:9px;font-weight:700}.ac-load-more:hover{background:var(--public-accent)}

.ac-sidebar-stack{display:grid;gap:22px}.ac-trending-item{display:grid;grid-template-columns:25px 55px minmax(0,1fr);gap:9px;align-items:center;padding:12px 0;border-top:1px solid #292b35;text-decoration:none}.ac-trending-item:first-of-type{border-top:0}.ac-trending-item>b{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:var(--public-accent);color:#fff;font-size:9px}.ac-trending-item img{width:55px;height:41px;border-radius:4px;object-fit:cover}.ac-trending-item span{min-width:0}.ac-trending-item strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:9px;line-height:1.35}.ac-trending-item small{display:block;margin-top:4px;color:#7f8490;font-size:7px}.ac-explore-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ac-explore-grid a{height:42px;border-radius:5px;background:#1e2029;display:grid;place-items:center;text-decoration:none;font-size:9px;font-weight:700}.ac-explore-grid a:hover{background:#242731;color:#fff}.ac-event-mini-list{display:grid}.ac-event-mini-list a{display:grid;gap:5px;padding:11px 0;border-top:1px solid #292b35;text-decoration:none}.ac-event-mini-list a:first-child{border-top:0}.ac-event-mini-list strong{font-size:10px;line-height:1.35}.ac-event-mini-list small{font-size:8px;color:#7f8490}.ac-follow-row{display:flex;gap:10px}.ac-social-circle{width:36px;height:36px;border-radius:50%;background:#20222b;display:grid;place-items:center}.ac-social-circle img{width:15px;height:15px}.ac-about-card p{margin:4px 0 15px;color:#979ca8;font-size:10px;line-height:1.55}.ac-outline-button{height:38px;border:1px solid var(--public-accent);border-radius:5px;display:grid;place-items:center;text-decoration:none;font-size:9px;font-weight:700}.ac-outline-button:hover{background:var(--public-accent)}

.ac-empty{min-height:420px;border:1px solid #292b36;border-radius:6px;background:#171820;padding:60px;display:flex;flex-direction:column;justify-content:flex-end}.ac-empty span{color:var(--public-accent);font-size:9px;font-weight:800}.ac-empty h1{max-width:760px;margin:12px 0;font-size:48px;line-height:1.05}.ac-empty p{color:#9297a2}.ac-footer{margin-top:0;background:#0a0b10;border-top:1px solid #24262f}.ac-footer-inner{width:min(1180px,calc(100% - 32px));margin:0 auto;display:flex;justify-content:space-between;gap:50px;padding:42px 0}.ac-footer-brand{max-width:430px}.ac-footer-brand p{font-size:11px;line-height:1.6;color:#888e9a}.ac-footer .footer-logo img{max-width:170px}.ac-footer .footer-links{display:flex;gap:60px}.ac-footer .footer-links nav{display:grid;gap:7px}.ac-footer .footer-links strong{font-size:11px}.ac-footer .footer-links a{font-size:9px;text-decoration:none;color:#a3a8b3}

html[data-theme="light"] .ac-public{background:#f4f5f8;color:#16181d}html[data-theme="light"] .ac-site-header{background:#fff;border-color:#e2e4e9}html[data-theme="light"] .ac-main-nav a{color:#40434c}html[data-theme="light"] .ac-search{background:#f2f3f6;border-color:#dfe2e7}html[data-theme="light"] .ac-search input{color:#17191e}html[data-theme="light"] .ac-side-card,html[data-theme="light"] .ac-news-card,html[data-theme="light"] .ac-feed-list{background:#fff;border-color:#e1e3e8}html[data-theme="light"] .ac-mini-item,html[data-theme="light"] .ac-trending-item,html[data-theme="light"] .ac-feed-item,html[data-theme="light"] .ac-event-mini-list a{border-color:#e8e9ed}html[data-theme="light"] .ac-explore-grid a{background:#f2f3f6}html[data-theme="light"] .ac-news-card p,html[data-theme="light"] .ac-about-card p{color:#636873}html[data-theme="light"] .ac-footer{background:#111218}

@media(max-width:1220px){.ac-header-inner,.ac-home,.ac-footer-inner{width:min(100% - 30px,1040px)}.ac-header-inner{grid-template-columns:160px minmax(0,1fr) auto;gap:18px}.ac-main-nav>div{gap:14px}.ac-main-nav a{font-size:10px}.ac-search{width:210px}.ac-feature-row,.ac-content-layout{grid-template-columns:minmax(0,1.85fr) minmax(270px,.9fr)}.ac-news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ac-feature-copy{width:72%;left:38px}.ac-feature-copy h1{font-size:36px}}
@media(max-width:980px){.ac-header-inner{min-height:68px;grid-template-columns:auto 1fr auto}.ac-logo img{max-width:145px}.menu-toggle{display:grid;width:38px;height:38px;place-items:center;border:1px solid #30323e;border-radius:6px;background:#191a22;color:#fff;font-size:18px}.ac-main-nav{position:absolute!important;left:15px!important;right:15px!important;top:69px!important;z-index:100!important;display:none!important;background:#15161d!important;border:1px solid #2b2d37!important;border-radius:7px!important;padding:8px!important}.ac-main-nav.open{display:block!important}.ac-main-nav>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;white-space:normal}.ac-main-nav a{padding:10px 12px;border:0;border-radius:5px}.ac-main-nav a:hover{background:#20222a!important}.ac-header-tools{justify-self:end}.ac-feature-row{grid-template-columns:1fr}.ac-editors-picks{height:auto}.ac-mini-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}.ac-content-layout{grid-template-columns:1fr}.ac-sidebar-stack{grid-template-columns:repeat(2,minmax(0,1fr))}.ac-trending{grid-row:span 2}.ac-feature-stage,.ac-feature-carousel{height:430px}}
@media(max-width:720px){.ac-header-inner{width:calc(100% - 22px);grid-template-columns:auto auto 1fr}.ac-header-tools{grid-column:1/-1;grid-row:2;width:100%;padding-bottom:10px}.ac-search{width:auto;flex:1}.ac-home{width:calc(100% - 22px);padding-top:22px}.ac-feature-stage,.ac-feature-carousel{height:390px}.ac-feature-copy{left:22px;right:22px;bottom:70px;width:auto}.ac-feature-copy h1{font-size:30px}.ac-feature-copy p{display:none}.ac-feature-controls{left:22px;right:20px;bottom:23px}.ac-mini-list{grid-template-columns:1fr}.ac-news-grid{grid-template-columns:1fr}.ac-news-image{height:220px}.ac-sidebar-stack{grid-template-columns:1fr}.ac-trending{grid-row:auto}.ac-feed-item{grid-template-columns:55px minmax(0,1fr) 18px}.ac-feed-item img{width:55px;height:42px}.ac-footer-inner{width:calc(100% - 28px);flex-direction:column}.ac-footer .footer-links{gap:36px}}
@media(max-width:460px){.ac-logo img{max-width:130px}.ac-round-link{display:none}.ac-feature-stage,.ac-feature-carousel{height:340px}.ac-feature-copy h1{font-size:25px}.ac-news-image{height:190px}.ac-feed-item small{display:none}.ac-feature-shade{background:linear-gradient(0deg,rgba(8,9,13,.9),rgba(8,9,13,.18) 80%)}.ac-feature-copy{bottom:68px}.ac-feature-copy h1{max-width:none}.ac-mini-item{grid-template-columns:62px minmax(0,1fr)}.ac-mini-item img,.ac-mini-placeholder{width:62px;height:46px}}

/* Manga Afternoon CMS 0.4.2 — complete public dark-surface audit + News navigation */
.ac-public .public-main,
.ac-public .article-shell,
.ac-public .comments-section{color:var(--public-text,#f4f5f7)}
.ac-public .public-main{width:min(var(--public-container,1180px),calc(100% - 32px));max-width:none;margin:0 auto;padding:34px 0 54px}
.ac-public .category-header{background:var(--public-surface,#171820);border:1px solid var(--public-border,#292b36);border-top:3px solid var(--category,var(--public-accent,#ff334f));border-radius:6px;padding:25px 28px;margin:0 0 22px;color:var(--public-text,#f4f5f7)}
.ac-public .category-header .eyebrow{color:var(--public-accent,#ff334f);margin:0 0 7px;display:flex;align-items:center;gap:7px}
.ac-public .category-header h1{font-family:var(--public-heading-font),Inter,sans-serif;font-size:clamp(2rem,5vw,3.55rem);line-height:1.03;letter-spacing:-.035em;margin:3px 0 7px;color:#fff;overflow-wrap:anywhere}
.ac-public .category-header p{color:var(--public-muted,#9ba0ad);font-size:.92rem;line-height:1.55;margin:9px 0 0;max-width:800px}
.ac-public .page-title-icon{display:inline-block;margin-right:.2em;font-size:.72em;vertical-align:.08em}
.ac-public .category-icon{display:inline-block;margin-right:5px;line-height:1;font-style:normal}

.ac-public .news-grid,.ac-public .category-news,.ac-public .event-grid{min-width:0}
.ac-public .news-card,.ac-public .event-card{background:var(--public-surface,#171820);border:1px solid var(--public-border,#292b36);border-radius:6px;overflow:hidden;color:var(--public-text,#f4f5f7);box-shadow:none;min-width:0}
.ac-public .news-card>a,.ac-public .event-card>a{display:block;background:#1d1f28;overflow:hidden}
.ac-public .news-card img,.ac-public .event-card img{display:block;width:100%;object-fit:cover}
.ac-public .news-card>div,.ac-public .event-card>div{background:transparent;color:inherit}
.ac-public .news-card h2,.ac-public .news-card h3,.ac-public .event-card h2{color:#f5f6f8;overflow-wrap:anywhere}
.ac-public .news-card h2 a,.ac-public .news-card h3 a,.ac-public .event-card h2 a{color:inherit;text-decoration:none}
.ac-public .news-card h2 a:hover,.ac-public .event-card h2 a:hover{color:#fff}
.ac-public .news-card p,.ac-public .event-card p{color:#989eaa}
.ac-public .news-card small,.ac-public .event-card time{color:#7f8490}
.ac-public .news-card .eyebrow{display:flex;align-items:center;gap:4px;color:var(--public-accent,#ff334f);margin-top:0}
.ac-public .panel.empty,.ac-public .empty{grid-column:1/-1;background:var(--public-surface,#171820)!important;border:1px solid var(--public-border,#292b36)!important;border-radius:6px;color:#aeb3bd!important;padding:34px!important;text-align:center}

.ac-public .article-shell{width:min(var(--public-container,1180px),calc(100% - 32px));max-width:none;margin:34px auto 0;padding:0;grid-template-columns:minmax(0,1fr) minmax(250px,300px);gap:28px}
.ac-public .article-page{background:var(--public-surface,#171820);border:1px solid var(--public-border,#292b36);border-radius:6px;overflow:hidden;color:var(--public-text,#f4f5f7)}
.ac-public .article-header{background:transparent;color:inherit}
.ac-public .article-header h1{font-family:var(--public-heading-font),Inter,sans-serif;color:#fff;font-size:clamp(2.25rem,5vw,4.35rem);line-height:1.01;letter-spacing:-.04em;overflow-wrap:anywhere}
.ac-public .article-category{display:inline-flex;align-items:center;gap:4px;background:var(--category,var(--public-accent,#ff334f));color:#fff;border-radius:4px}
.ac-public .article-deck{color:#b5bac4}
.ac-public .article-meta{color:#7f8490}
.ac-public .article-body{background:transparent;color:#e6e8ed}
.ac-public .article-body h1,.ac-public .article-body h2,.ac-public .article-body h3,.ac-public .article-body h4,.ac-public .article-body h5,.ac-public .article-body h6,.ac-public .article-body strong{color:#fff}
.ac-public .article-body a{color:#ff6a7f;text-decoration-color:rgba(255,106,127,.45)}
.ac-public .article-body blockquote{margin:1.4em 0;padding:10px 18px;border-left:3px solid var(--public-accent);background:#1c1e26;color:#c9cdd5}
.ac-public .article-body table{width:100%;border-collapse:collapse;display:block;overflow-x:auto}.ac-public .article-body th,.ac-public .article-body td{border:1px solid #30333d;padding:9px 11px}.ac-public .article-body th{background:#20222b;color:#fff}
.ac-public .share-row{border-top:1px solid var(--public-border,#292b36);color:#c8ccd4;flex-wrap:wrap}
.ac-public .share-brand{background:#1d2028;border-color:#333743;color:#f2f3f6}
.ac-public .share-brand:hover{border-color:var(--public-accent);background:#22252e}
.ac-public .article-sidebar .ad-placeholder,.ac-public .ad-placeholder{background:#111319;border-color:#343844;color:#737987;border-radius:6px}

.ac-public .comments-section{width:min(820px,calc(100% - 32px));max-width:none;padding:0;margin:34px auto 54px}
.ac-public .comments-section>h2{font-family:var(--public-heading-font),Inter,sans-serif;color:#fff;border-left:3px solid var(--public-accent);padding-left:9px}
.ac-public .google-comment-login,.ac-public .public-comment{background:var(--public-surface,#171820);border:1px solid var(--public-border,#292b36);color:#e9ebef;border-radius:6px}
.ac-public .google-comment-login p,.ac-public .public-comment p{color:#a5aab5}
.ac-public .public-comment{border-top:1px solid var(--public-border,#292b36);margin-top:8px}
.ac-public .public-comment small{color:#777e8b}
.ac-public .google-comment-login button{background:#20232b;border:1px solid #343844;color:#fff}
.ac-public .google-comment-login .field textarea{background:#111319!important;color:#f4f5f7!important;border:1px solid #343844!important}
.ac-public .notice.info{background:#172438;color:#c7dfff;border:1px solid #294a72}

.ac-public .event-detail,.ac-public .static-page{background:var(--public-surface,#171820);border:1px solid var(--public-border,#292b36);border-radius:6px;color:var(--public-text,#f4f5f7)}
.ac-public .event-detail .eyebrow,.ac-public .static-page .eyebrow{color:var(--public-accent,#ff334f);display:flex;align-items:center;gap:5px}
.ac-public .event-detail>h1,.ac-public .static-page h1{font-family:var(--public-heading-font),Inter,sans-serif;color:#fff;letter-spacing:-.04em;overflow-wrap:anywhere}
.ac-public .event-detail .article-body,.ac-public .static-page p{color:#c5c9d1}
.ac-public .event-facts div{background:#1d2028;border:1px solid #2d313b;color:#e9ebef;border-radius:5px}
.ac-public .event-facts strong{color:#fff}.ac-public .event-facts span{color:#9da3ae}
.ac-public .button.ghost{background:#1d2028;color:#eef0f4;border-color:#373b46}.ac-public .button.ghost:hover{border-color:var(--public-accent);background:#242731}
.ac-public .button.primary{background:var(--public-accent,#ff334f);color:#fff}
.ac-public .static-page{margin:0 auto;padding:38px;max-width:850px}
.ac-public .static-page h1{font-size:clamp(2.4rem,6vw,4.6rem);line-height:1}
.ac-public .coming-soon{background:#0d0e14;color:#fff;border:0}.ac-public .coming-soon p{color:#9ba0ad}

/* Header: grouped News dropdown and category icons */
.ac-nav-dropdown{position:relative;align-self:stretch;display:flex;align-items:stretch;color:#d9dbe1}
.ac-nav-dropdown summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:5px;padding:29px 0 27px;border-bottom:2px solid transparent;color:#d9dbe1;font-size:11px;font-weight:700;white-space:nowrap;user-select:none}
.ac-nav-dropdown summary::-webkit-details-marker{display:none}.ac-nav-dropdown summary::marker{display:none;content:""}
.ac-nav-dropdown summary:hover,.ac-nav-dropdown[open] summary{color:#fff;border-bottom-color:var(--public-accent)}
.nav-category-icon{font-size:12px;line-height:1}.nav-chevron{font-size:11px;color:#747985;margin-left:1px}
.ac-nav-dropdown-menu{position:absolute;z-index:250;top:64px;left:-12px;width:205px;padding:7px;background:#171820;border:1px solid #2c2f39;border-radius:6px;box-shadow:0 18px 45px rgba(0,0,0,.38);display:grid!important;gap:3px!important;white-space:normal!important}
.ac-nav-dropdown:not([open]) .ac-nav-dropdown-menu{display:none!important}
.ac-nav-dropdown-menu a{display:flex!important;align-items:center;gap:9px!important;padding:10px 11px!important;border:0!important;border-radius:4px!important;font-size:10px!important;color:#dce0e6!important}.ac-nav-dropdown-menu a:hover{background:#22252e!important;color:#fff!important}.ac-nav-dropdown-menu a span{width:17px;text-align:center}
.ac-main-nav>div>a{display:flex;align-items:center;gap:5px}
.ac-header-tools{min-width:0}.ac-search{min-width:150px}

/* category icons in cards / explore */
.ac-badge{display:inline-flex!important;align-items:center;gap:2px}.ac-badge .category-icon{font-size:.9em;margin-right:3px}.ac-explore-grid a{grid-template-columns:22px 1fr!important;display:grid!important;place-items:initial!important;align-items:center!important;padding:0 11px;text-align:left}.ac-explore-grid a>span{font-size:14px;text-align:center}

/* Strict dark fallback: protects public pages from legacy white rules */
html:not([data-theme="light"]) .ac-public .public-main,
html:not([data-theme="light"]) .ac-public .category-header,
html:not([data-theme="light"]) .ac-public .news-card,
html:not([data-theme="light"]) .ac-public .event-card,
html:not([data-theme="light"]) .ac-public .event-detail,
html:not([data-theme="light"]) .ac-public .static-page,
html:not([data-theme="light"]) .ac-public .article-page,
html:not([data-theme="light"]) .ac-public .google-comment-login,
html:not([data-theme="light"]) .ac-public .public-comment,
html:not([data-theme="light"]) .ac-public .panel.empty{color:var(--public-text,#f4f5f7)}

/* coherent optional light mode, rather than mixed dark/light surfaces */
html[data-theme="light"] .ac-public .category-header,html[data-theme="light"] .ac-public .news-card,html[data-theme="light"] .ac-public .event-card,html[data-theme="light"] .ac-public .event-detail,html[data-theme="light"] .ac-public .static-page,html[data-theme="light"] .ac-public .article-page,html[data-theme="light"] .ac-public .google-comment-login,html[data-theme="light"] .ac-public .public-comment,html[data-theme="light"] .ac-public .panel.empty{background:#fff!important;color:#17191f!important;border-color:#e1e3e8!important}
html[data-theme="light"] .ac-public .category-header h1,html[data-theme="light"] .ac-public .news-card h2,html[data-theme="light"] .ac-public .event-card h2,html[data-theme="light"] .ac-public .event-detail>h1,html[data-theme="light"] .ac-public .static-page h1,html[data-theme="light"] .ac-public .article-header h1,html[data-theme="light"] .ac-public .article-body h2,html[data-theme="light"] .ac-public .article-body h3{color:#17191f}
html[data-theme="light"] .ac-public .news-card p,html[data-theme="light"] .ac-public .event-card p,html[data-theme="light"] .ac-public .event-detail .article-body,html[data-theme="light"] .ac-public .static-page p,html[data-theme="light"] .ac-public .article-deck,html[data-theme="light"] .ac-public .article-body{color:#555b66}
html[data-theme="light"] .ac-public .event-facts div,html[data-theme="light"] .ac-public .share-brand,html[data-theme="light"] .ac-public .google-comment-login button{background:#f3f5f8;color:#252931;border-color:#dfe2e8}
html[data-theme="light"] .ac-nav-dropdown summary{color:#40434c}html[data-theme="light"] .ac-nav-dropdown-menu{background:#fff;border-color:#dfe2e8}html[data-theme="light"] .ac-nav-dropdown-menu a{color:#333842!important}html[data-theme="light"] .ac-nav-dropdown-menu a:hover{background:#f0f2f5!important;color:#111!important}

@media(max-width:980px){
  .ac-nav-dropdown{display:block;align-self:auto}.ac-nav-dropdown summary{padding:10px 12px;border:0;border-radius:5px}.ac-nav-dropdown-menu{position:static;width:auto;margin:3px 0 4px;padding:4px 6px;background:#111319;border-color:#292c35;box-shadow:none}.ac-nav-dropdown-menu a{padding:9px 10px!important}
  .ac-main-nav>div{grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:start}.ac-main-nav>div>a{padding:10px 12px}.ac-header-tools{min-width:0}.ac-search{min-width:0}
}
@media(max-width:760px){
  .ac-public .public-main,.ac-public .article-shell{width:calc(100% - 22px)}
  .ac-public .category-header{padding:21px 19px}.ac-public .category-header h1{font-size:clamp(1.9rem,10vw,3rem)}
  .ac-public .article-shell{grid-template-columns:1fr}.ac-public .article-sidebar{position:static}.ac-public .article-header{padding:25px 20px}.ac-public .article-body{padding:24px 20px;font-size:17px}.ac-public .share-row{padding:18px 20px}
  .ac-public .static-page{padding:28px 21px}.ac-public .event-detail>h1{font-size:clamp(2rem,10vw,3.4rem)}
}
@media(max-width:520px){.ac-main-nav>div{grid-template-columns:1fr!important}.ac-nav-dropdown-menu{grid-template-columns:1fr!important}.ac-public .category-header{margin-bottom:14px}.ac-public .news-grid,.ac-public .event-grid{gap:13px}}
@media (hover:hover) and (pointer:fine){.ac-nav-dropdown:hover .ac-nav-dropdown-menu,.ac-nav-dropdown:focus-within .ac-nav-dropdown-menu{display:grid!important}}

/* Manga Afternoon CMS 0.4.3 — professional navigation, typography system, footer and CMS iconography */
.ui-icon{width:1em;height:1em;display:inline-block;vertical-align:-.14em;fill:none;stroke:currentColor;flex:0 0 auto}.button-icon{width:16px;height:16px}.heading-icon{width:22px;height:22px;margin-right:7px;vertical-align:-.2em}.page-title-svg{width:15px;height:15px;margin-right:7px}.nav-svg{width:15px;height:15px}.nav-chevron-svg{width:13px;height:13px;margin-left:1px;transition:transform .18s ease}.ac-nav-dropdown[open] .nav-chevron-svg{transform:rotate(180deg)}

/* Public typography can be controlled independently from Website Studio */
.ac-public{font-family:var(--public-body-font),Inter,system-ui,sans-serif;font-size:var(--public-body-size,16px)}
.ac-public h1,.ac-public h2,.ac-public h3,.ac-public h4,.ac-public h5,.ac-public h6,.ac-feature-copy h1,.ac-news-card h3,.ac-card-heading h2,.category-header h1{font-family:var(--public-heading-font),Inter,system-ui,sans-serif}
.ac-public .ac-badge,.ac-public .eyebrow,.ac-public button,.ac-public .button,.ac-public .ac-section-heading,.ac-public .ac-card-heading,.ac-footer,.ac-load-more,.search-reset{font-family:var(--public-ui-font),Inter,system-ui,sans-serif}
.ac-public small,.ac-public time,.ac-public .article-meta,.ac-public .ac-news-card small,.ac-public .ac-trending-item small,.ac-public .ac-feed-item small{font-family:var(--public-meta-font),Inter,system-ui,sans-serif}
.ac-public .article-body{font-family:var(--public-article-font),Georgia,serif;font-size:var(--public-article-size,19px)}
.ac-public .article-body h2,.ac-public .article-body h3,.ac-public .article-body h4{font-family:var(--public-heading-font),Inter,system-ui,sans-serif}

/* Main navigation: larger, cleaner and red hover behavior */
.ac-main-nav,.ac-nav-dropdown-menu{font-family:var(--public-nav-font),Inter,system-ui,sans-serif}
.ac-main-nav>div{gap:24px}
.ac-main-nav>div>a,.ac-nav-dropdown summary{font-size:var(--public-nav-size,13px)!important;font-weight:750!important;letter-spacing:-.01em;text-transform:none!important;color:#d9dce4!important;transition:color .15s ease,border-color .15s ease,background .15s ease}
.ac-main-nav>div>a{padding:27px 0 25px!important;border-bottom:2px solid transparent!important}
.ac-main-nav>div>a:hover,.ac-main-nav>div>a:focus-visible,.ac-nav-dropdown summary:hover,.ac-nav-dropdown:focus-within summary,.ac-nav-dropdown[open] summary{color:var(--public-accent,#ff334f)!important;border-bottom-color:var(--public-accent,#ff334f)!important;background:transparent!important}
.ac-main-nav>div>a .ui-icon,.ac-nav-dropdown summary .ui-icon{color:currentColor}
.ac-nav-dropdown{position:relative;align-self:stretch;display:flex;align-items:stretch}
.ac-nav-dropdown summary{padding:27px 0 25px!important;min-height:100%;outline:none}
.ac-nav-dropdown-menu{top:calc(100% - 1px)!important;left:-14px!important;width:230px!important;padding:8px!important;gap:2px!important;background:#181920!important;border:1px solid #2b2d36!important;border-radius:7px!important;box-shadow:0 24px 55px rgba(0,0,0,.45)!important}
.ac-nav-dropdown-menu::before{content:"";position:absolute;left:0;right:0;top:-7px;height:7px}
.ac-nav-dropdown-menu a{position:relative;display:flex!important;align-items:center!important;gap:10px!important;min-height:42px!important;padding:11px 12px!important;border-radius:5px!important;border-top:2px solid transparent!important;color:#d8dbe3!important;font-size:calc(var(--public-nav-size,13px) - 1px)!important;font-weight:700!important;background:transparent!important;transition:color .15s ease,background .15s ease,border-color .15s ease!important}
.ac-nav-dropdown-menu a .ui-icon{width:16px;height:16px;color:#949aa8;transition:color .15s ease}
.ac-nav-dropdown-menu a:hover,.ac-nav-dropdown-menu a:focus-visible{color:var(--public-accent,#ff334f)!important;background:#202129!important;border-top-color:var(--public-accent,#ff334f)!important;outline:none!important}
.ac-nav-dropdown-menu a:hover .ui-icon,.ac-nav-dropdown-menu a:focus-visible .ui-icon{color:var(--public-accent,#ff334f)!important}
@media (hover:hover) and (pointer:fine){.ac-nav-dropdown:hover .ac-nav-dropdown-menu,.ac-nav-dropdown:focus-within .ac-nav-dropdown-menu{display:grid!important}.ac-nav-dropdown:hover summary{color:var(--public-accent,#ff334f)!important;border-bottom-color:var(--public-accent,#ff334f)!important}}

/* Header tool polish */
.ac-search button{display:grid;place-items:center;color:#858b98}.ac-search button:hover{color:var(--public-accent)}.ac-search button .ui-icon{width:15px;height:15px}.menu-toggle .ui-icon{width:20px;height:20px}

/* Search filters */
.search-reset{display:inline-flex;margin-top:13px;color:#aeb3bd;font-size:.78rem;text-decoration:none}.search-reset:hover{color:var(--public-accent)}

/* Anime-news style professional footer, adapted to Manga Afternoon */
.ac-footer{margin-top:76px!important;background:#14151b!important;border-top:1px solid #2a2c35!important;color:#eef0f4!important}
.ac-footer-main{width:min(var(--public-container,1180px),calc(100% - 40px));margin:0 auto;display:grid;grid-template-columns:minmax(260px,1.45fr) minmax(0,3fr);gap:72px;padding:62px 0 54px}
.ac-footer-brand{max-width:360px!important}.ac-footer .footer-logo{display:block;margin-bottom:20px}.ac-footer .footer-logo img{max-width:205px!important;width:100%;height:auto}.ac-footer-brand p{margin:0;color:#989da9!important;font-size:.92rem!important;line-height:1.75!important}.ac-footer-socials{display:flex;gap:9px;margin-top:22px}.ac-footer-socials a{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#1d1f27;border:1px solid #272a33;transition:background .15s,border-color .15s}.ac-footer-socials a:hover{background:#24262f;border-color:var(--public-accent)}.ac-footer-socials img{width:15px;height:15px}
.ac-footer-columns{display:grid;grid-template-columns:repeat(4,minmax(125px,1fr));gap:36px}.ac-footer-columns nav{display:grid;align-content:start;gap:13px!important}.ac-footer-columns strong{font-family:var(--public-heading-font),Inter,sans-serif;font-size:.98rem!important;color:#f6f7f9;margin-bottom:7px}.ac-footer-columns a{font-family:var(--public-ui-font),Inter,sans-serif;color:#9ea3ae!important;font-size:.88rem!important;line-height:1.3;text-decoration:none!important;transition:color .15s ease}.ac-footer-columns a:hover{color:var(--public-accent,#ff334f)!important}
.ac-footer-bottom{width:min(var(--public-container,1180px),calc(100% - 40px));margin:0 auto;border-top:1px solid #30323b;padding:22px 0 28px;display:flex;align-items:center;justify-content:space-between;gap:22px;color:#8e939f;font-family:var(--public-ui-font),Inter,sans-serif;font-size:.82rem}.ac-footer-bottom div{display:flex;gap:9px;align-items:center}.ac-footer-bottom a{text-decoration:none;color:#9ea3ae}.ac-footer-bottom a:hover{color:var(--public-accent)}

/* CMS navigation: local vector icons, more restrained professional styling */
.cms-body .ui-icon{stroke-width:1.7}.admin-layout{grid-template-columns:260px minmax(0,1fr)}.admin-sidebar{padding:20px 14px 18px!important}.sidebar-brand{padding:0 10px 18px!important;margin-bottom:18px!important}.sidebar-brand .admin-logo img{width:185px!important}.sidebar-brand>span{font-size:.62rem!important;color:#747b8a!important}.admin-nav{gap:20px!important}.nav-section-label{display:block;padding:0 11px 7px;font-size:.62rem;letter-spacing:.16em;text-transform:uppercase;color:#656c7c;font-weight:800}.nav-group{display:grid;gap:3px}.nav-main{min-height:44px!important;border-radius:8px!important;font-size:.84rem!important;color:#bfc4d0!important}.nav-main:hover{background:#171921!important;color:#fff!important}.nav-main.active{background:#1c1e27!important;box-shadow:inset 3px 0 0 var(--cms-accent)!important;color:#fff!important}.nav-icon{background:transparent!important;width:25px!important;height:25px!important;color:#858c9b!important}.nav-icon .ui-icon{width:18px;height:18px}.nav-main:hover .nav-icon,.nav-main.active .nav-icon{color:var(--cms-accent)!important}.nav-chevron{display:grid;place-items:center;width:18px;height:18px;color:#676e7c}.nav-chevron .ui-icon{width:13px;height:13px}.nav-sub{margin:2px 0 4px 37px;padding-left:10px;border-left:1px solid #2a2d36;display:grid;gap:2px}.nav-sub a{display:grid!important;grid-template-columns:18px 1fr!important;gap:8px!important;min-height:34px!important;padding:7px 8px!important;border-radius:6px!important;color:#8f96a4!important;font-size:.75rem!important}.nav-sub a:hover{background:#171921!important;color:#fff!important}.nav-sub-icon{display:grid;place-items:center;color:#69717f}.nav-sub-icon .ui-icon{width:14px;height:14px}.sidebar-foot{border-top:1px solid #252832;margin-top:20px;padding:16px 10px 0;display:grid;gap:7px;color:#707786;font-size:.65rem}.sidebar-foot span{display:flex;align-items:center;gap:6px}.sidebar-foot .ui-icon{width:13px;height:13px}.admin-top{padding:0 0 22px!important}.admin-actions .button{gap:8px}.sidebar-toggle{border:1px solid var(--cms-border);background:var(--cms-surface);color:var(--cms-text);border-radius:8px}.sidebar-toggle .ui-icon{width:19px;height:19px}

/* Professional dashboard/application cards */
.dashboard-app{transition:transform .15s ease,border-color .15s ease,background .15s ease}.dashboard-app:hover{transform:translateY(-1px);border-color:color-mix(in srgb,var(--cms-accent) 55%,var(--cms-border))!important;background:#1a1d25!important}.dashboard-app-icon{width:42px!important;height:42px!important;border-radius:10px!important;background:#20232c!important;color:#9ca3b2!important;display:grid!important;place-items:center!important}.dashboard-app-icon .ui-icon{width:21px;height:21px}.dashboard-app:hover .dashboard-app-icon{color:var(--cms-accent)!important;background:#242730!important}.dashboard-status .status-icon{width:38px;height:38px;border-radius:9px;background:#20232c;color:#8d94a3;display:grid;place-items:center}.dashboard-status .status-icon .ui-icon{width:19px;height:19px}.dashboard-status article:hover .status-icon{color:var(--cms-accent)}

/* Website Studio font browser */
.studio-typography{grid-column:1/-1}.typography-select-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.typography-select-grid .font-preview{min-height:68px;padding:15px;border:1px solid var(--cms-border);background:#12141a;border-radius:9px;color:var(--cms-text);font-size:1rem;display:flex;align-items:center}.typography-size-grid{margin:20px 0}.font-library{margin-top:18px}.font-library summary{cursor:pointer;font-weight:800;color:var(--cms-text);padding:12px 0}.font-sample-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important}.font-sample{min-height:90px;padding:13px!important;border:1px solid var(--cms-border)!important;background:#12141a!important;border-radius:9px!important;display:grid;align-content:center;gap:8px}.font-sample strong{font-size:.85rem;color:#f2f4f7}.font-sample span{font-size:1rem;color:#b7bdc9;line-height:1.35}.studio-tabs a{display:inline-flex!important;align-items:center;gap:6px!important}.studio-tabs .ui-icon{width:14px;height:14px}

/* Responsive footer/nav/CMS */
@media(max-width:1180px){.ac-main-nav>div{gap:16px}.ac-main-nav>div>a,.ac-nav-dropdown summary{font-size:max(11px,calc(var(--public-nav-size,13px) - 1px))!important}.admin-layout{grid-template-columns:1fr}}
@media(max-width:980px){.ac-main-nav>div{gap:4px!important}.ac-main-nav>div>a,.ac-nav-dropdown summary{padding:11px 12px!important;border-bottom:0!important;border-radius:5px!important;font-size:var(--public-nav-size,13px)!important}.ac-main-nav>div>a:hover,.ac-nav-dropdown summary:hover,.ac-nav-dropdown[open] summary{background:#20222a!important;color:var(--public-accent)!important}.ac-nav-dropdown{display:block!important}.ac-nav-dropdown-menu{position:static!important;width:auto!important;margin:3px 0 5px!important;box-shadow:none!important;background:#111319!important}.ac-nav-dropdown-menu a{font-size:calc(var(--public-nav-size,13px) - 1px)!important}.ac-footer-main{grid-template-columns:1fr;gap:42px}.ac-footer-brand{max-width:520px!important}.ac-footer-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:35px 45px}.typography-select-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.font-sample-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:680px){.ac-footer{margin-top:52px!important}.ac-footer-main{width:calc(100% - 30px);padding:44px 0 36px}.ac-footer-columns{grid-template-columns:1fr 1fr;gap:30px 24px}.ac-footer-bottom{width:calc(100% - 30px);align-items:flex-start;flex-direction:column;padding-bottom:24px}.typography-select-grid,.typography-size-grid{grid-template-columns:1fr!important}.font-sample-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:440px){.ac-footer-columns{grid-template-columns:1fr}.font-sample-grid{grid-template-columns:1fr!important}}
.ac-explore-grid a>.ui-icon{width:15px;height:15px;color:#8f96a5;justify-self:center}.ac-explore-grid a:hover>.ui-icon{color:var(--public-accent)}

/* Manga Afternoon CMS 0.4.4 — complete dark administration pass, colored icon system and Website Studio refinement */
html[data-theme="dark"]{color-scheme:dark}
html[data-theme="dark"] .cms-body{color-scheme:dark;background:var(--cms-bg,#101218);color:var(--cms-text,#f4f5f8)}
html[data-theme="dark"] .cms-body input:not([type="checkbox"]):not([type="radio"]):not([type="color"]),
html[data-theme="dark"] .cms-body select,
html[data-theme="dark"] .cms-body textarea{
  background:#11141b!important;color:#edf0f6!important;border-color:#303540!important;box-shadow:none!important;
}
html[data-theme="dark"] .cms-body input::placeholder,html[data-theme="dark"] .cms-body textarea::placeholder{color:#747c8d!important}
html[data-theme="dark"] .cms-body select option{background:#11141b!important;color:#edf0f6!important}
html[data-theme="dark"] .cms-body input[type="file"]{background:#11141b!important;color:#aeb6c5!important;border:1px solid #303540!important;border-radius:8px!important;padding:7px!important}
html[data-theme="dark"] .cms-body input[type="file"]::file-selector-button{background:#202531!important;color:#edf0f6!important;border:1px solid #353b49!important;border-radius:6px!important;padding:8px 12px!important;margin-right:10px!important;cursor:pointer}
html[data-theme="dark"] .cms-body input[type="file"]::file-selector-button:hover{background:#292f3c!important;border-color:#4a5263!important}
html[data-theme="dark"] .cms-body .toolbar-search input,
html[data-theme="dark"] .cms-body .toolbar-search select,
html[data-theme="dark"] .cms-body .media-search,
html[data-theme="dark"] .cms-body .search-control{background:#11141b!important;color:#eef1f6!important;border-color:#303540!important}
html[data-theme="dark"] .cms-body .toolbar-search select{min-width:160px}
html[data-theme="dark"] .cms-body .table-card,
html[data-theme="dark"] .cms-body .panel,
html[data-theme="dark"] .cms-body .page-intro,
html[data-theme="dark"] .cms-body .comment-card,
html[data-theme="dark"] .cms-body .connection-card,
html[data-theme="dark"] .cms-body .media-card,
html[data-theme="dark"] .cms-body .security-scan-panel,
html[data-theme="dark"] .cms-body .fixed-destination,
html[data-theme="dark"] .cms-body .selected-media-preview,
html[data-theme="dark"] .cms-body .upload-dropzone,
html[data-theme="dark"] .cms-body .drop-upload,
html[data-theme="dark"] .cms-body .recovery-token-banner,
html[data-theme="dark"] .cms-body .scan-current,
html[data-theme="dark"] .cms-body .creation-chip,
html[data-theme="dark"] .cms-body .connection-result,
html[data-theme="dark"] .cms-body .empty-state{
  background:#171a22!important;color:#eef1f6!important;border-color:#303540!important;
}
html[data-theme="dark"] .cms-body .page-intro{background:linear-gradient(135deg,#171a22 0%,#1b1820 100%)!important}
html[data-theme="dark"] .cms-body .data-table th{background:#11141a!important;color:#aab2c2!important;border-color:#2c313c!important}
html[data-theme="dark"] .cms-body .data-table td{background:#171a22!important;color:#edf0f5!important;border-color:#2c313c!important}
html[data-theme="dark"] .cms-body .data-table tr:hover td{background:#1c2029!important}
html[data-theme="dark"] .cms-body .muted,html[data-theme="dark"] .cms-body small{color:#929bab!important}
html[data-theme="dark"] .cms-body .tabs{gap:7px!important;display:flex;flex-wrap:wrap}
html[data-theme="dark"] .cms-body .tabs a{display:inline-flex;align-items:center;gap:7px;background:#161a22!important;color:#aeb6c5!important;border:1px solid #303540!important;border-radius:8px!important;padding:10px 13px!important;text-decoration:none!important}
html[data-theme="dark"] .cms-body .tabs a:hover{background:#202531!important;color:#fff!important;border-color:#41495a!important}
html[data-theme="dark"] .cms-body .tabs a.active{background:color-mix(in srgb,var(--cms-accent) 15%,#171a22)!important;color:#fff!important;border-color:color-mix(in srgb,var(--cms-accent) 65%,#303540)!important;box-shadow:inset 3px 0 0 var(--cms-accent)}
html[data-theme="dark"] .cms-body .media-card{overflow:hidden!important;box-shadow:0 12px 30px rgba(0,0,0,.18)!important}
html[data-theme="dark"] .cms-body .media-card-info{background:#171a22!important;color:#edf0f6!important}
html[data-theme="dark"] .cms-body .media-card-info>span,html[data-theme="dark"] .cms-body .media-card-info small{color:#8f98a8!important}
html[data-theme="dark"] .cms-body .media-card-image{background:#0d1016!important}
html[data-theme="dark"] .cms-body .media-manager-toolbar{color:#dfe3eb!important}
html[data-theme="dark"] .cms-body .upload-dropzone{border-style:dashed!important;background:#11141b!important}
html[data-theme="dark"] .cms-body .upload-dropzone p{color:#99a2b2!important}
html[data-theme="dark"] .cms-body .mini-checklist{color:#96a0b0!important}
html[data-theme="dark"] .cms-body .mini-checklist .ui-icon{margin-right:6px}
html[data-theme="dark"] .cms-body .scan-progress-track,html[data-theme="dark"] .cms-body .progress{background:#0d1016!important;border:1px solid #2d3340!important}
html[data-theme="dark"] .cms-body .scan-current{display:grid!important;grid-template-columns:auto 1fr!important;align-items:center!important;gap:12px!important;padding:14px 16px!important}
html[data-theme="dark"] .cms-body .scan-current code{background:#0e1117!important;color:#ced5e2!important;border:1px solid #2d3340!important;border-radius:7px!important;padding:10px 12px!important;overflow-wrap:anywhere!important}
html[data-theme="dark"] .cms-body .fixed-destination{padding:15px!important;border-radius:9px!important;display:grid!important;gap:6px!important}
html[data-theme="dark"] .cms-body .fixed-destination>span{display:flex;align-items:center;gap:7px;color:#9fa8b8!important}
html[data-theme="dark"] .cms-body .fixed-destination strong{color:#f0f3f7!important;overflow-wrap:anywhere}
html[data-theme="dark"] .cms-body .recovery-token-banner{box-shadow:0 14px 36px rgba(0,0,0,.22)!important}
html[data-theme="dark"] .cms-body .token-copy-row input{background:#0d1016!important}
html[data-theme="dark"] .cms-body .editor-toolbar{display:flex!important;gap:7px!important;flex-wrap:wrap!important;padding:10px!important;background:#10131a!important;border:1px solid #303540!important;border-bottom:0!important;border-radius:8px 8px 0 0!important}
html[data-theme="dark"] .cms-body .editor-toolbar button{display:inline-flex!important;align-items:center!important;gap:6px!important;background:#1a1e27!important;color:#dce2ec!important;border:1px solid #343a48!important;border-radius:6px!important;min-height:38px!important;padding:7px 10px!important}
html[data-theme="dark"] .cms-body .editor-toolbar button:hover{background:#252b37!important;border-color:#495265!important;color:#fff!important}
html[data-theme="dark"] .cms-body .editor-toolbar button .ui-icon{width:15px;height:15px}
html[data-theme="dark"] .cms-body .ma-editor{background:#11141b!important;color:#edf1f7!important;border-color:#303540!important}
html[data-theme="dark"] .cms-body .selected-media-preview{min-height:98px!important;background:#11141b!important}
html[data-theme="dark"] .cms-body .creation-chip{display:flex!important;align-items:center!important;gap:7px!important;color:#aab3c2!important}
html[data-theme="dark"] .cms-body .status-chip{background:#202530!important;color:#cbd2de!important;border:1px solid #343a47!important}

/* CKEditor 5 dark surface — toolbar, editable canvas, balloons, dropdowns and source UI */
html[data-theme="dark"] .cms-body .ck.ck-editor,
html[data-theme="dark"] .cms-body .ck{--ck-color-base-background:#11141b;--ck-color-base-foreground:#171a22;--ck-color-base-border:#303540;--ck-color-toolbar-background:#151922;--ck-color-toolbar-border:#303540;--ck-color-text:#e9edf4;--ck-color-button-default-background:transparent;--ck-color-button-default-hover-background:#242a36;--ck-color-button-default-active-background:#2b3240;--ck-color-button-on-background:#2d3544;--ck-color-button-on-color:#fff;--ck-color-list-background:#171a22;--ck-color-panel-background:#171a22;--ck-color-input-background:#11141b;--ck-color-input-text:#eef1f6;--ck-color-input-border:#343b49;--ck-color-focus-border:var(--cms-accent);--ck-color-shadow-drop:rgba(0,0,0,.45)}
html[data-theme="dark"] .cms-body .ck.ck-toolbar{background:#151922!important;border-color:#303540!important}
html[data-theme="dark"] .cms-body .ck.ck-toolbar .ck-button{color:#aeb7c6!important}
html[data-theme="dark"] .cms-body .ck.ck-toolbar .ck-button:hover,html[data-theme="dark"] .cms-body .ck.ck-toolbar .ck-button.ck-on{background:#252b37!important;color:#fff!important}
html[data-theme="dark"] .cms-body .ck.ck-editor__main>.ck-editor__editable,
html[data-theme="dark"] .cms-body .ck.ck-editor__main>.ck-source-editing-area textarea{background:#11141b!important;color:#e9edf4!important;border-color:#303540!important;min-height:430px!important}
html[data-theme="dark"] .cms-body .ck.ck-editor__editable.ck-focused{border-color:var(--cms-accent)!important;box-shadow:inset 0 0 0 1px var(--cms-accent)!important}
html[data-theme="dark"] .cms-body .ck.ck-dropdown__panel,html[data-theme="dark"] .cms-body .ck.ck-balloon-panel{background:#171a22!important;border-color:#343b49!important;color:#e9edf4!important}
html[data-theme="dark"] .cms-body .ck-powered-by{opacity:.6}

/* Colored professional SVG icon palette. Each app keeps a semantic accent without emoji rendering. */
.cms-body .ui-icon[data-icon="home"]{color:#7aa2ff!important}.cms-body .ui-icon[data-icon="news"]{color:#ff5570!important}.cms-body .ui-icon[data-icon="edit"]{color:#ff8a5b!important}.cms-body .ui-icon[data-icon="collection"]{color:#9d8cff!important}.cms-body .ui-icon[data-icon="tag"]{color:#f3bd58!important}.cms-body .ui-icon[data-icon="search"]{color:#68c7ff!important}.cms-body .ui-icon[data-icon="message"]{color:#c58cff!important}.cms-body .ui-icon[data-icon="image"]{color:#57d2a9!important}.cms-body .ui-icon[data-icon="calendar"]{color:#8b9dff!important}.cms-body .ui-icon[data-icon="share"]{color:#ff7b9a!important}.cms-body .ui-icon[data-icon="chart"]{color:#55d7d0!important}.cms-body .ui-icon[data-icon="migrate"]{color:#ffb45f!important}.cms-body .ui-icon[data-icon="shield"]{color:#55a7ff!important}.cms-body .ui-icon[data-icon="backup"]{color:#b08cff!important}.cms-body .ui-icon[data-icon="upload"]{color:#56d39b!important}.cms-body .ui-icon[data-icon="palette"]{color:#ff73b8!important}.cms-body .ui-icon[data-icon="settings"]{color:#a2a9b7!important}.cms-body .ui-icon[data-icon="lock"]{color:#f0ba56!important}.cms-body .ui-icon[data-icon="globe"]{color:#5dc8ff!important}.cms-body .ui-icon[data-icon="logout"]{color:#ff8b7c!important}.cms-body .ui-icon[data-icon="plus"]{color:#65d49a!important}.cms-body .ui-icon[data-icon="trash"]{color:#ff6679!important}.cms-body .ui-icon[data-icon="download"]{color:#5bb6ff!important}.cms-body .ui-icon[data-icon="eye"]{color:#8d9dff!important}.cms-body .ui-icon[data-icon="copy"]{color:#a997ff!important}.cms-body .ui-icon[data-icon="filter"]{color:#6ac8ff!important}.cms-body .ui-icon[data-icon="clock"]{color:#e5b85f!important}.cms-body .ui-icon[data-icon="check-circle"]{color:#58d28f!important}.cms-body .ui-icon[data-icon="x-circle"]{color:#ff6a7d!important}.cms-body .ui-icon[data-icon="alert"]{color:#ffb24f!important}.cms-body .ui-icon[data-icon="file"]{color:#91a0b5!important}.cms-body .ui-icon[data-icon="database"]{color:#70b9ff!important}.cms-body .ui-icon[data-icon="cloud"]{color:#63c9ff!important}.cms-body .ui-icon[data-icon="mail"]{color:#a58cff!important}.cms-body .ui-icon[data-icon="brain"]{color:#ee7bff!important}.cms-body .ui-icon[data-icon="key"]{color:#f5c75d!important}.cms-body .ui-icon[data-icon="unlock"]{color:#69d5a3!important}.cms-body .ui-icon[data-icon="save"]{color:#6ed0ff!important}.cms-body .ui-icon[data-icon="link"]{color:#67c9ff!important}.cms-body .ui-icon[data-icon="video"]{color:#ff6f83!important}
.cms-body .nav-main:hover .ui-icon,.cms-body .nav-main.active .ui-icon{filter:brightness(1.18) saturate(1.18)}
.cms-body .dashboard-app-icon,.cms-body .connection-icon,.cms-body .status-icon{background:#202530!important;border:1px solid #303746!important}
.cms-body .dashboard-app-icon .ui-icon,.cms-body .connection-icon .ui-icon,.cms-body .status-icon .ui-icon{width:21px;height:21px}

/* Dark-mode theme switch without platform emoji glyphs */
.theme-switch-thumb{display:grid!important;place-items:center!important}.theme-switch-thumb .theme-icon{display:none;place-items:center}.theme-switch-thumb .theme-icon .ui-icon{width:14px;height:14px}.theme-switch.is-dark .moon-icon{display:grid}.theme-switch:not(.is-dark) .sun-icon{display:grid}.theme-switch .moon-icon .ui-icon{color:#9eb8ff!important}.theme-switch .sun-icon .ui-icon{color:#f4bb4f!important}

/* Website Studio: dashboard-like professional editing cockpit */
.website-studio-form{display:grid;gap:18px}.studio-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.studio-overview article{display:grid;grid-template-columns:42px 1fr;gap:12px;align-items:center;background:#171a22;border:1px solid #303540;border-radius:10px;padding:14px}.studio-overview-icon{width:42px;height:42px;border-radius:9px;background:#202530;border:1px solid #343b49;display:grid;place-items:center}.studio-overview-icon .ui-icon{width:20px;height:20px}.studio-overview article strong{display:block;color:#f0f3f8;font-size:.88rem}.studio-overview article small{display:block;margin-top:4px;color:#8993a4;font-size:.72rem}.studio-tabs{position:sticky!important;top:12px!important;z-index:40!important;display:flex!important;gap:5px!important;align-items:center!important;flex-wrap:wrap!important;background:rgba(17,20,27,.92)!important;backdrop-filter:blur(14px)!important;border:1px solid #303540!important;border-radius:10px!important;padding:6px!important;box-shadow:0 12px 32px rgba(0,0,0,.2)!important}.studio-tabs a{min-height:38px;padding:8px 11px!important;border-radius:7px!important;color:#aab3c2!important;text-decoration:none!important;font-size:.78rem!important;font-weight:750!important}.studio-tabs a:hover,.studio-tabs a:focus-visible{background:#242a35!important;color:#fff!important}.studio-grid{display:grid!important;grid-template-columns:repeat(12,minmax(0,1fr))!important;gap:16px!important}.studio-grid>section{margin:0!important}.studio-grid #studio-theme{grid-column:span 7}.studio-grid #studio-cms{grid-column:span 5}.studio-grid #studio-type{grid-column:1/-1}.studio-grid #studio-layout,.studio-grid #studio-behavior{grid-column:span 6}.studio-grid #studio-preview{grid-column:1/-1}.studio-grid .panel{padding:22px!important;border-radius:11px!important;box-shadow:0 15px 38px rgba(0,0,0,.14)!important}.studio-grid .panel-title{padding-bottom:14px!important;margin-bottom:18px!important;border-bottom:1px solid #2c313c!important}.studio-grid .panel-title h2{font-size:1.05rem!important}.color-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}.color-field{background:#11141b!important;border:1px solid #303540!important;border-radius:8px!important;padding:11px!important}.color-field input[type="color"]{width:100%!important;height:38px!important;border:0!important;border-radius:6px!important;background:transparent!important}.color-field code{color:#8e98a9!important;background:transparent!important}.typography-select-grid{gap:12px!important}.typography-select-grid>.field,.typography-select-grid>.font-preview{background:#11141b!important;border:1px solid #303540!important;border-radius:8px!important;padding:12px!important}.typography-select-grid>.field{align-content:start}.font-library{border-top:1px solid #2c313c!important;padding-top:9px!important}.font-sample-grid{max-height:480px!important;overflow:auto!important;padding-right:6px!important}.font-sample{transition:border-color .15s ease,transform .15s ease,background .15s ease!important}.font-sample:hover{border-color:#4a5262!important;background:#1b1f28!important;transform:translateY(-1px)}.theme-preview{border:1px solid #303540!important;box-shadow:0 18px 42px rgba(0,0,0,.25)!important}.sticky-savebar{background:rgba(17,20,27,.95)!important;backdrop-filter:blur(14px)!important;border:1px solid #303540!important;box-shadow:0 -10px 35px rgba(0,0,0,.24)!important}

/* Better compact behavior without crushed CMS controls */
@media(max-width:1320px){.studio-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-grid #studio-theme,.studio-grid #studio-cms,.studio-grid #studio-layout,.studio-grid #studio-behavior{grid-column:1/-1}.color-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:820px){.studio-overview{grid-template-columns:1fr}.color-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.studio-tabs{position:static!important}.scan-current{grid-template-columns:1fr!important}.toolbar-search{width:100%!important}.toolbar-search .search-control{flex:1 1 220px!important}.toolbar-search select{flex:1 1 150px!important}}
@media(max-width:520px){.color-grid{grid-template-columns:1fr!important}.tabs a{flex:1 1 calc(50% - 7px);justify-content:center}.media-card-actions{display:grid!important;grid-template-columns:1fr 1fr!important}}

/* Public category icon palette */
.ac-public .category-icon-svg{width:1em;height:1em;vertical-align:-.14em;margin-right:4px}.ac-public .category-icon-svg[data-icon="book"]{color:#62a8ff}.ac-public .category-icon-svg[data-icon="sparkles"]{color:#ff6ea8}.ac-public .category-icon-svg[data-icon="film"]{color:#b18cff}.ac-public .category-icon-svg[data-icon="gamepad"]{color:#61d4a4}.ac-public .category-icon-svg[data-icon="brush"]{color:#ff9a62}.ac-public .category-icon-svg[data-icon="calendar"]{color:#7f91ff}.ac-public .category-icon-svg[data-icon="camera"]{color:#f3c45a}.ac-public .category-icon-svg[data-icon="bag"]{color:#62cfca}.ac-public .category-icon-svg[data-icon="news"]{color:#ff516a}.ac-public .category-icon-svg[data-icon="info"]{color:#7cc7ff}

/* === Manga Afternoon CMS 0.5.0-dev: mobile header, featured module, analytics & migration === */
.logo-plate,.public-logo,.footer-logo,.admin-logo,.sidebar-brand .admin-logo{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;padding:0!important}
.public-logo img,.footer-logo,.admin-logo img{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important}
.footer-logo{display:block;width:190px;height:auto;object-fit:contain}

/* Professional colored navigation icons */
.ac-main-nav .nav-svg,.ac-main-nav .menu-icon{width:17px;height:17px;flex:0 0 auto;transition:transform .16s ease,color .16s ease}
.ac-main-nav .nav-svg[data-icon="news"]{color:#ff405d}.ac-main-nav .art-icon{color:#ff9c5d}.ac-main-nav .events-icon{color:#7d91ff}.ac-main-nav .cosplay-icon{color:#e8ba52}.ac-main-nav .store-icon{color:#58c9c5}.ac-main-nav .about-icon{color:#6ab8ff}
.ac-main-nav .anime-icon{color:#ff6ea8}.ac-main-nav .manga-icon{color:#62a8ff}.ac-main-nav .films-icon{color:#a98bff}.ac-main-nav .games-icon{color:#57d09d}
.ac-main-nav a:hover .ui-icon,.ac-nav-dropdown summary:hover .ui-icon,.ac-nav-dropdown:focus-within summary .ui-icon{transform:translateY(-1px)}
.ac-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:11px;min-width:0}.mobile-nav-search{display:none}

/* Featured editor module */
.featured-editor-panel{border-color:color-mix(in srgb,var(--cms-accent) 35%,var(--cms-border))!important;background:linear-gradient(145deg,color-mix(in srgb,var(--cms-accent) 6%,var(--cms-surface)),var(--cms-surface))!important}
.featured-editor-panel .heading-icon{color:#ffc54d!important}.featured-toggle{padding:12px 13px;border:1px solid var(--cms-border);border-radius:9px;background:color-mix(in srgb,var(--cms-accent) 4%,var(--cms-bg));font-weight:750}.compact-preview{min-height:82px!important}.advanced-route-row{margin-top:12px}.advanced-route-row small,.field-help{display:block;color:#7f8797;font-weight:500;font-size:.7rem;margin-top:4px}.editor-action-stack{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:4px}.editor-action-stack .button{margin:0!important}

/* Analytics */
.analytics-dashboard{display:grid;gap:18px}.analytics-hero{display:flex;justify-content:space-between;gap:30px;align-items:center;background:linear-gradient(120deg,var(--cms-surface),color-mix(in srgb,var(--cms-accent) 8%,var(--cms-surface)))!important}.analytics-hero h2{font-size:1.55rem;margin:.25rem 0 .45rem}.analytics-hero p{margin:0;max-width:760px;color:#9da5b5;line-height:1.55}.analytics-period{min-width:190px;padding:15px;border:1px solid var(--cms-border);border-radius:10px;background:rgba(0,0,0,.13);display:grid;gap:3px}.analytics-period span,.analytics-period small{font-size:.68rem;color:#8991a0}.analytics-period strong{font-size:1.05rem}.analytics-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.analytics-kpis article{min-width:0;border:1px solid var(--cms-border);border-radius:12px;background:var(--cms-surface);padding:16px;display:grid;grid-template-columns:45px minmax(0,1fr);gap:12px;align-items:center}.analytics-kpis article>div{display:grid;gap:3px}.analytics-kpis small{color:#8e96a5;font-size:.72rem}.analytics-kpis strong{font-size:1.65rem;line-height:1}.analytics-kpis em{font-size:.68rem;color:#798190;font-style:normal}.analytics-kpis em.positive{color:#52d69b}.analytics-kpis em.negative{color:#ff6b7d}.kpi-icon{width:44px;height:44px;border-radius:11px;display:grid;place-items:center}.kpi-icon .ui-icon{width:22px;height:22px}.kpi-red{background:#342027;color:#ff5870}.kpi-blue{background:#192a3c;color:#5db2ff}.kpi-green{background:#17352c;color:#50d39d}.kpi-purple{background:#2b2140;color:#af8bff}
.analytics-traffic-panel{padding-bottom:20px!important}.analytics-trend{height:230px;display:flex;gap:5px;align-items:flex-end;padding:22px 4px 2px;border-top:1px solid var(--cms-border);margin-top:10px}.trend-day{height:100%;flex:1;min-width:3px;display:grid;grid-template-rows:1fr 20px;align-items:end;gap:5px}.trend-day>span{height:var(--trend-height);min-height:3px;border-radius:4px 4px 2px 2px;background:linear-gradient(180deg,#ff6077,var(--cms-accent));opacity:.82;transition:opacity .15s,transform .15s}.trend-day:hover>span{opacity:1;transform:scaleX(1.15)}.trend-day small{font-size:.52rem;color:#697180;writing-mode:vertical-rl;transform:rotate(180deg);display:none}.analytics-map-layout{display:grid;grid-template-columns:minmax(0,2.2fr) minmax(250px,.8fr);gap:18px}.analytics-map-panel{overflow:hidden}.world-map-wrap{border:1px solid var(--cms-border);background:#10131a;border-radius:12px;padding:10px;min-height:360px;display:grid;place-items:center}.analytics-world-svg{width:100%;height:auto;max-height:440px}.analytics-world-svg path{fill:#272c36;stroke:#10131a;stroke-width:.55;vector-effect:non-scaling-stroke;transition:fill .16s,filter .16s}.analytics-world-svg path[data-level="1"]{fill:#56303a}.analytics-world-svg path[data-level="2"]{fill:#843645}.analytics-world-svg path[data-level="3"]{fill:#b73c50}.analytics-world-svg path[data-level="4"]{fill:#df4059}.analytics-world-svg path[data-level="5"]{fill:#ff526d}.analytics-world-svg path.visited:hover{filter:brightness(1.25);stroke:#fff;stroke-width:1}.map-legend{display:flex;align-items:center;justify-content:flex-end;gap:4px;margin-top:10px;color:#7f8795;font-size:.65rem}.map-legend i{width:20px;height:8px;border-radius:2px}.map-l0{background:#272c36}.map-l1{background:#56303a}.map-l2{background:#843645}.map-l3{background:#b73c50}.map-l4{background:#df4059}.map-l5{background:#ff526d}.analytics-country-list{align-content:start}.analytics-ranked-row{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:9px;align-items:center;padding:10px 0;border-bottom:1px solid var(--cms-border)}.analytics-ranked-row>b{width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:#242833;color:#9fa6b5;font-size:.68rem}.analytics-ranked-row span{display:grid}.analytics-ranked-row span strong{font-size:.8rem}.analytics-ranked-row small{font-size:.62rem;color:#747d8d}.analytics-ranked-row em{font-style:normal;font-weight:800;color:#fff;font-size:.8rem}.analytics-grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.analytics-bar-row{display:grid;gap:6px;margin:12px 0}.analytics-bar-row>div{display:flex;justify-content:space-between;gap:12px;font-size:.76rem}.analytics-bar-row i{height:6px;border-radius:9px;background:#272b35;overflow:hidden}.analytics-bar-row i b{display:block;height:100%;border-radius:9px;background:linear-gradient(90deg,var(--cms-accent),#ff7b8d)}.analytics-donut-row{display:grid;grid-template-columns:10px minmax(0,1fr) auto;gap:9px;align-items:center;padding:8px 0;border-bottom:1px solid var(--cms-border);font-size:.76rem}.analytics-donut-row em{font-style:normal;color:#a7aebe}.device-dot{width:8px;height:8px;border-radius:50%;background:#5caeff}.analytics-donut-row:nth-of-type(3n+2) .device-dot{background:#55d39c}.analytics-donut-row:nth-of-type(3n+3) .device-dot{background:#b18cff}.analytics-subsection{margin-top:16px}.analytics-subsection h3{font-size:.7rem;color:#8b93a2;text-transform:uppercase;letter-spacing:.1em}.analytics-content-layout{display:grid;gap:18px}.analytics-page-row{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:12px;align-items:center;padding:11px 0;border-bottom:1px solid var(--cms-border)}.analytics-page-row>b{color:#778090;font-size:.72rem}.analytics-page-row>span{display:grid;gap:7px;min-width:0}.analytics-page-row>span>strong{font-size:.79rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.analytics-page-row i{height:4px;border-radius:10px;background:#282c35;overflow:hidden}.analytics-page-row i em{display:block;height:100%;background:var(--cms-accent)}.analytics-page-row>div{text-align:right;display:grid}.analytics-page-row>div strong{font-size:.8rem}.analytics-page-row>div small{font-size:.6rem;color:#747c8b}.analytics-session-table{overflow:auto;max-height:430px}.analytics-session-table table{width:100%;border-collapse:collapse;min-width:1000px}.analytics-session-table th,.analytics-session-table td{padding:10px;border-bottom:1px solid var(--cms-border);text-align:left;font-size:.68rem}.analytics-session-table th{position:sticky;top:0;background:var(--cms-surface);color:#858e9e;text-transform:uppercase;letter-spacing:.07em}.analytics-session-table td{color:#c8cdd6}

/* Joomla migration review */
.migration-center{display:grid;gap:18px}.migration-hero{display:flex;align-items:center;justify-content:space-between;gap:30px;background:linear-gradient(120deg,var(--cms-surface),color-mix(in srgb,#f59e0b 7%,var(--cms-surface)))!important}.migration-hero h2{font-size:1.55rem;margin:.25rem 0}.migration-hero p{margin:0;max-width:790px;color:#9aa2b1;line-height:1.55}.migration-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:11px}.migration-kpis article{border:1px solid var(--cms-border);border-radius:11px;padding:14px;background:var(--cms-surface);display:flex;gap:11px;align-items:center}.migration-kpis article>span{width:38px;height:38px;border-radius:9px;background:#252936;color:#f0a642;display:grid;place-items:center}.migration-kpis article>span .ui-icon{width:20px;height:20px}.migration-kpis article>div{display:grid}.migration-kpis strong{font-size:1.15rem}.migration-kpis small{font-size:.65rem;color:#808897}.migration-route-flow{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:12px 0}.migration-route-flow span{padding:9px 11px;border-radius:8px;border:1px solid var(--cms-border);background:#12151b;font-size:.73rem;font-weight:700}.migration-route-flow b{color:#f59e0b}.migration-review-head{display:flex;justify-content:space-between;align-items:end;gap:20px}.migration-review-head h2{margin:.2rem 0}.migration-review-head p{color:#888f9e;margin:0}.migration-filter-pills{display:flex;gap:7px;flex-wrap:wrap}.migration-filter-pills span{border:1px solid var(--cms-border);background:var(--cms-surface);border-radius:999px;padding:6px 10px;font-size:.67rem;color:#8991a1}.migration-filter-pills b{color:#fff}.migration-items{display:grid;gap:10px}.migration-item{border:1px solid var(--cms-border);border-radius:12px;background:var(--cms-surface);overflow:hidden}.migration-item-summary{display:grid;grid-template-columns:52px minmax(210px,1.2fr) minmax(260px,1fr) auto;gap:12px;align-items:center;padding:14px 16px;background:#15181f}.migration-source-id{font-size:.7rem;color:#7b8494;font-weight:800}.migration-summary-main{display:grid;gap:4px}.migration-summary-main strong{font-size:.86rem}.migration-summary-main span{font-size:.65rem;color:#7d8696}.migration-route-chip{border:1px solid #3a3340;border-radius:8px;padding:8px 10px;display:grid;grid-template-columns:17px minmax(0,1fr);gap:0 7px;color:#e7b46a;font-size:.68rem;overflow:hidden}.migration-route-chip .ui-icon{grid-row:1/3;width:15px;height:15px}.migration-route-chip small{grid-column:2;color:#747d8c;margin-top:2px}.migration-route-chip.high{border-color:#23463c;color:#62d8a4}.migration-status-badge{font-size:.62rem;text-transform:uppercase;font-weight:850;letter-spacing:.06em;border-radius:999px;background:#262b35;color:#9ba3b2;padding:6px 9px}.migration-status-imported .migration-status-badge{background:#17352c;color:#65d5a5}.migration-status-failed .migration-status-badge{background:#3a2027;color:#ff7285}.migration-edit-form{padding:15px 16px}.migration-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px}.migration-form-grid .span-2{grid-column:1/-1}.migration-item-actions{display:flex;justify-content:flex-end;gap:8px;border-top:1px solid var(--cms-border);padding-top:12px}.migration-empty{min-height:300px;display:grid;place-items:center}

/* Public header rebuilt to mimic a compact professional news header */
.ac-header-inner{grid-template-columns:170px minmax(0,1fr) auto!important}.ac-logo{justify-self:start;display:flex;align-items:center;min-width:0}.ac-logo img{width:165px!important;max-width:165px!important;max-height:56px!important;object-fit:contain!important}.ac-header-actions{justify-self:end}.menu-toggle{margin:0!important}.mobile-nav-search{margin-bottom:8px;background:#111319;border:1px solid #2c3039;border-radius:7px;overflow:hidden}.mobile-nav-search input{width:calc(100% - 42px);height:40px;background:transparent;border:0;padding:0 12px;color:#fff}.mobile-nav-search button{width:42px;height:40px;background:transparent;color:#8a92a1;border:0}

/* Stronger public icon palette */
.ac-explore-grid a .ui-icon[data-icon="sparkles"]{color:#ff6ea8}.ac-explore-grid a .ui-icon[data-icon="book"]{color:#62a8ff}.ac-explore-grid a .ui-icon[data-icon="gamepad"]{color:#57d09d}.ac-explore-grid a .ui-icon[data-icon="calendar"]{color:#8798ff}

@media(max-width:1180px){.analytics-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.analytics-grid-3{grid-template-columns:1fr 1fr}.migration-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.migration-item-summary{grid-template-columns:48px minmax(190px,1fr) minmax(220px,1fr) auto}}
@media(max-width:980px){
  .ac-site-header{position:relative!important}.ac-header-inner{width:calc(100% - 30px)!important;min-height:72px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important}.ac-logo{order:1!important;flex:0 1 auto}.ac-logo img{max-width:150px!important;width:150px!important}.ac-header-actions{order:2!important;margin-left:auto!important;display:flex!important;align-items:center!important;gap:10px!important}.desktop-header-search{display:none!important}.ac-header-tools{display:flex!important;justify-self:auto!important}.menu-toggle{display:grid!important;position:static!important;width:40px!important;height:40px!important;place-items:center!important;border:1px solid #30343f!important;background:#171920!important;color:#fff!important;border-radius:8px!important}.menu-toggle .ui-icon{width:20px;height:20px}.ac-main-nav{top:73px!important;left:15px!important;right:15px!important;max-height:calc(100vh - 90px);overflow:auto!important;box-shadow:0 20px 60px rgba(0,0,0,.4)!important}.ac-main-nav.open{display:block!important}.mobile-nav-search{display:flex!important}.ac-main-nav>div{grid-template-columns:1fr 1fr!important}.ac-editors-picks{order:-1}.ac-feature-row{display:flex!important;flex-direction:column!important;gap:18px!important}.analytics-map-layout{grid-template-columns:1fr}.analytics-grid-3{grid-template-columns:1fr}.migration-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.migration-item-summary{grid-template-columns:44px minmax(0,1fr) auto}.migration-route-chip{grid-column:2/4}.migration-hero,.migration-review-head,.analytics-hero{align-items:flex-start;flex-direction:column}.analytics-period{width:100%}
}
@media(max-width:720px){
  .ac-header-inner{width:calc(100% - 28px)!important;min-height:70px!important}.ac-logo img{width:145px!important;max-width:145px!important}.ac-header-actions{gap:8px!important}.ac-theme-toggle .theme-switch-track{width:42px!important}.ac-main-nav{top:71px!important}.ac-main-nav>div{grid-template-columns:1fr!important}.ac-feature-row{gap:16px!important}.ac-editors-picks{padding:18px!important;border-radius:11px!important}.ac-editors-picks .ac-card-heading h2{font-size:22px!important}.ac-mini-item{grid-template-columns:76px minmax(0,1fr)!important}.ac-mini-item img,.ac-mini-placeholder{width:76px!important;height:58px!important}.ac-feature-stage,.ac-feature-carousel{height:clamp(430px,110vw,590px)!important;border-radius:11px!important}.ac-feature-copy{left:18px!important;right:18px!important;bottom:78px!important}.ac-feature-copy h1{font-size:clamp(27px,8vw,38px)!important;line-height:1.08!important}.ac-feature-copy p{display:none!important}.ac-news-grid{gap:16px!important}.analytics-kpis{grid-template-columns:1fr 1fr}.analytics-trend{height:180px;gap:3px}.world-map-wrap{min-height:230px}.migration-kpis{grid-template-columns:1fr 1fr}.migration-form-grid{grid-template-columns:1fr}.migration-form-grid .span-2{grid-column:1}.migration-item-summary{grid-template-columns:38px minmax(0,1fr)}.migration-route-chip{grid-column:1/-1}.migration-status-badge{grid-column:2;grid-row:1;justify-self:end}.migration-item-actions{align-items:stretch;flex-direction:column}.editor-action-stack{grid-template-columns:1fr}
}
@media(max-width:480px){.ac-logo img{width:138px!important;max-width:138px!important}.ac-theme-toggle{transform:scale(.94)}.analytics-kpis{grid-template-columns:1fr}.migration-kpis{grid-template-columns:1fr}.analytics-page-row{grid-template-columns:22px minmax(0,1fr)}.analytics-page-row>div{grid-column:2;text-align:left;grid-template-columns:auto auto;gap:8px;justify-content:start}.world-map-wrap{padding:3px;min-height:190px}}

/* 0.5.0 audience/editorial refinements */
.analytics-kpis-six{grid-template-columns:repeat(6,minmax(0,1fr))}.kpi-orange{color:#ffad55!important;background:color-mix(in srgb,#ffad55 15%,transparent)!important}.kpi-cyan{color:#55d9e8!important;background:color-mix(in srgb,#55d9e8 15%,transparent)!important}.analytics-audience-details .metric-row small{color:#737d8d;font-weight:500}.featured-list-chip{display:inline-flex!important;align-items:center;gap:5px;margin-top:7px;color:#ffd35a!important;border-color:color-mix(in srgb,#ffd35a 30%,var(--cms-border))!important}.featured-list-chip .ui-icon{width:13px;height:13px}.route-warning{color:#ff9b63;font-weight:700}.migration-route-chip:has(+ .migration-status-badge) small{line-height:1.35}
@media(max-width:1500px){.analytics-kpis-six{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:820px){.analytics-kpis-six{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.analytics-kpis-six{grid-template-columns:1fr}}

/* Manga Afternoon CMS 0.5.1 — footer repair + controlled Joomla AI/media migration */
.public-footer.ac-footer{display:block!important;padding:0!important;width:100%!important;max-width:none!important;position:relative!important;overflow:visible!important}
.ac-footer-main{position:relative!important;display:grid!important;clear:both!important}
.ac-footer-bottom{position:relative!important;clear:both!important;float:none!important;grid-column:1/-1!important;box-sizing:border-box!important}

.migration-ai-panel{display:grid;gap:18px}.migration-ai-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.migration-ai-stats span{display:grid;gap:4px;padding:14px 16px;border:1px solid var(--cms-border);border-radius:10px;background:color-mix(in srgb,var(--cms-surface) 78%,#000)}.migration-ai-stats b{font-size:1.35rem;color:var(--cms-text)}.migration-ai-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.migration-ai-progress{display:grid;grid-template-columns:minmax(180px,1fr) auto;align-items:center;gap:14px}.migration-ai-progress .progress{background:#242832}.migration-ai-progress .progress span{background:linear-gradient(90deg,var(--cms-accent),#9b5cff)}
.migration-select{display:inline-flex;align-items:center;gap:6px}.migration-select input{accent-color:var(--cms-accent)}
.migration-audit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}.migration-media-audit,.migration-ai-audit{display:grid;gap:7px;padding:14px;border:1px solid var(--cms-border);background:#11141a;border-radius:10px}.migration-media-audit strong,.migration-ai-audit strong{display:flex;align-items:center;gap:8px}.migration-media-audit small,.migration-ai-audit small{color:#9da6b8;line-height:1.45}.ok-text{color:#5ed79a!important}.warn-text{color:#ffb45f!important}.ai-status{display:inline-flex;width:max-content;padding:4px 8px;border-radius:999px;background:#252a35;color:#cbd2df;font-size:.72rem;font-weight:800;text-transform:uppercase}.ai-translated{background:#153c2d;color:#83e9b5}.ai-error{background:#472029;color:#ff9aa9}.ai-processing{background:#26334b;color:#91b7ff}.migration-translation-compare{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.migration-translation-compare>div{padding:11px;border-radius:8px;background:#181c24;border:1px solid #2b303c;min-width:0}.migration-translation-compare em{display:block;color:#8993a5;font-size:.72rem;font-style:normal;text-transform:uppercase;letter-spacing:.05em}.migration-translation-compare b{display:block;margin:5px 0;font-size:.9rem}.migration-translation-compare p{margin:0;color:#aeb6c5;font-size:.78rem;line-height:1.45}.button.small{min-height:34px;padding:6px 10px;font-size:.78rem}
@media(max-width:900px){.migration-ai-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.migration-audit-grid,.migration-translation-compare{grid-template-columns:1fr}}
@media(max-width:560px){.migration-ai-stats{grid-template-columns:1fr}.migration-ai-progress{grid-template-columns:1fr}.ac-footer-main{display:block!important}.ac-footer-columns{margin-top:34px}}

/* === Manga Afternoon CMS 0.5.2-dev: taxonomy colors, article rail & progressive Joomla scan === */
/* Category colors are semantic: the category controls the icon color everywhere. */
.ac-main-nav .category-nav-link .ui-icon,.ac-main-nav .ac-nav-dropdown summary .nav-svg{color:var(--nav-cat,var(--public-accent))!important}
.ac-main-nav .category-nav-link:hover,.ac-main-nav .category-nav-link:focus-visible{color:var(--nav-cat,var(--public-accent))!important}
.ac-nav-dropdown-menu .category-nav-link:hover,.ac-nav-dropdown-menu .category-nav-link:focus-visible{border-top-color:var(--nav-cat,var(--public-accent))!important;color:var(--nav-cat,var(--public-accent))!important}
.ac-nav-dropdown-menu .category-nav-link:hover .ui-icon,.ac-nav-dropdown-menu .category-nav-link:focus-visible .ui-icon{color:var(--nav-cat,var(--public-accent))!important}
.ac-nav-dropdown.about-dropdown summary .nav-svg{color:var(--nav-cat,#ff516a)!important}
.ac-nav-dropdown.about-dropdown .ac-nav-dropdown-menu a:hover,.ac-nav-dropdown.about-dropdown .ac-nav-dropdown-menu a:focus-visible{color:#ff516a!important;border-top-color:#ff516a!important}
.category-colored-badge .category-icon-svg{color:var(--cat-color,var(--public-accent))!important}
.category-colored-badge{--category:var(--cat-color,var(--public-accent))}
.article-category .category-icon-svg,.category-header .category-icon-svg{color:var(--category,var(--public-accent))!important}

/* Article page: content remains on the left, permanent trending/ad rail on the right. */
.ac-public .article-shell{width:min(var(--public-container,1380px),calc(100% - 34px))!important;grid-template-columns:minmax(0,1fr) minmax(300px,var(--public-sidebar-width,340px))!important;gap:30px!important;align-items:start!important}
.ac-public .article-page{min-width:0}
.ac-public .article-sidebar{display:grid!important;gap:20px!important;position:sticky!important;top:94px!important;min-width:0}
.ac-public .article-sidebar .ac-side-card{margin:0!important;background:var(--public-surface,#171820)!important;border:1px solid var(--public-border,#292b36)!important;border-radius:11px!important;padding:20px!important}
.ac-public .article-trending-card .ac-card-heading{margin-bottom:8px!important}
.ac-public .article-trending-card .ac-trending-item{grid-template-columns:32px 66px minmax(0,1fr)!important;padding:13px 0!important}
.ac-public .article-trending-card .ac-trending-item>b{width:30px!important;height:30px!important;display:grid!important;place-items:center!important;border-radius:50%!important;background:var(--public-accent)!important;color:#fff!important}
.ac-public .article-trending-card .ac-trending-item img{width:66px!important;height:52px!important;object-fit:cover!important;border-radius:7px!important}
.ac-public .article-ad-slot{min-height:340px!important;display:grid!important;place-items:center!important;align-content:center!important;gap:8px!important;text-align:center!important;border:1px dashed #30343f!important;background:#15171e!important;color:#7f8796!important}
.ac-public .article-ad-slot strong{font-size:.72rem;letter-spacing:.08em;color:#949cab}.ac-public .article-ad-slot span{font-size:.75rem}

/* Professional social-sharing rail below every article. */
.ac-public .article-share-panel{margin:28px 26px 0!important;padding:20px 22px!important;border:1px solid var(--public-border,#292b36)!important;border-radius:11px!important;background:#12141b!important;display:flex!important;align-items:flex-start!important;gap:18px!important;flex-wrap:wrap!important}
.ac-public .article-share-panel .share-label{font-family:var(--public-ui-font),Inter,sans-serif!important;font-size:.72rem!important;letter-spacing:.08em!important;color:#929aaa!important;padding-top:10px!important}
.ac-public .article-share-buttons{display:flex!important;flex-wrap:wrap!important;gap:10px!important;flex:1 1 520px!important}
.ac-public .social-share-button{display:inline-flex!important;align-items:center!important;gap:8px!important;min-height:42px!important;padding:6px 13px 6px 7px!important;border-radius:999px!important;border:1px solid #30343f!important;background:#191c24!important;color:#e8ebf1!important;text-decoration:none!important;font-family:var(--public-ui-font),Inter,sans-serif!important;font-size:.78rem!important;font-weight:750!important;transition:transform .14s ease,border-color .14s ease,background .14s ease!important}
.ac-public .social-share-button:hover,.ac-public .social-share-button:focus-visible{transform:translateY(-1px)!important;background:#20242e!important;border-color:#4b5261!important;color:#fff!important}
.ac-public .brand-icon{width:28px!important;height:28px!important;border-radius:50%!important;display:grid!important;place-items:center!important;flex:0 0 auto!important}
.ac-public .brand-icon img{width:13px!important;height:13px!important;object-fit:contain!important}
.ac-public .brand-facebook .brand-icon{background:#1877F2!important}.ac-public .brand-x .brand-icon{background:#050505!important;border:1px solid #343844!important}.ac-public .brand-pinterest .brand-icon{background:#E60023!important}.ac-public .brand-linkedin .brand-icon{background:#0A66C2!important}.ac-public .brand-tumblr .brand-icon{background:#36465D!important}.ac-public .brand-reddit .brand-icon{background:#FF4500!important}.ac-public .brand-whatsapp .brand-icon{background:#25D366!important}

/* Comments belong to the article column and align with its left edge. */
.ac-public .article-comments,.ac-public .comments-section.article-comments{width:auto!important;max-width:none!important;margin:34px 26px 42px!important;padding:0!important}
.ac-public .article-comments>h2{margin-left:0!important}
.ac-public .article-comments .google-comment-login,.ac-public .article-comments .public-comment{width:100%!important;box-sizing:border-box!important}

/* Progressive Joomla scan: one article per HTTP request, visible progress, no huge lock-up. */
.migration-progressive-scan{display:grid;gap:16px!important;scroll-margin-top:24px}.migration-progressive-scan .panel-title{align-items:center!important}.migration-scan-progress{display:grid;gap:12px}.migration-scan-status{display:flex;align-items:center;gap:12px}.migration-scan-status strong{font-size:1.25rem;color:var(--cms-accent)}.migration-scan-status span{color:#aab3c2}.migration-scan-current{display:grid;gap:5px;padding:13px 15px;border:1px solid var(--cms-border);border-radius:9px;background:#10131a}.migration-scan-current strong{color:#f2f5fa;overflow-wrap:anywhere}.migration-scan-current small{color:#8e98a9;overflow-wrap:anywhere}.migration-scan-counters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.migration-scan-counters span{padding:11px 12px;border:1px solid var(--cms-border);border-radius:8px;background:#151922;color:#9ba5b5;font-size:.75rem}.migration-scan-counters b{display:block;color:#f3f5f8;font-size:1rem;margin-bottom:2px}.migration-progressive-scan .progress{height:10px!important;background:#242832!important;border-radius:999px!important;overflow:hidden!important}.migration-progressive-scan .progress span{display:block!important;height:100%!important;background:linear-gradient(90deg,var(--cms-accent),#8f6cff)!important;transition:width .2s ease!important}

@media(max-width:980px){
  .ac-public .article-shell{grid-template-columns:1fr!important;width:calc(100% - 24px)!important}.ac-public .article-sidebar{position:static!important;grid-template-columns:1fr!important}.ac-public .article-share-panel{margin:24px 20px 0!important}.ac-public .article-comments{margin:30px 20px 38px!important}.migration-scan-counters{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:560px){
  .ac-public .article-share-panel{display:block!important;padding:17px!important}.ac-public .article-share-panel .share-label{display:block!important;margin-bottom:12px!important;padding:0!important}.ac-public .article-share-buttons{gap:8px!important}.ac-public .social-share-button{font-size:.74rem!important}.migration-scan-counters{grid-template-columns:1fr}.migration-scan-status{align-items:flex-start;flex-direction:column;gap:2px}
}
.ac-public .ac-social-circle.brand-facebook{background:#1877F2!important;border-color:#1877F2!important}.ac-public .ac-social-circle.brand-x{background:#050505!important;border-color:#3a3f49!important}.ac-public .ac-social-circle.brand-instagram{background:linear-gradient(135deg,#833AB4,#FD1D1D,#FCAF45)!important;border:0!important}.ac-public .ac-social-circle.brand-facebook img,.ac-public .ac-social-circle.brand-x img,.ac-public .ac-social-circle.brand-instagram img{width:14px!important;height:14px!important}

/* === Manga Afternoon CMS 0.6.0-dev: tabbed workspaces, light-mode rebuild, modular dashboard === */
.cms-tabs{display:grid;gap:16px;min-width:0}.cms-tablist{display:flex;align-items:center;gap:4px;flex-wrap:wrap;padding:5px;background:color-mix(in srgb,var(--cms-surface) 92%,#000);border:1px solid var(--cms-border);border-radius:9px;position:sticky;top:10px;z-index:35;box-shadow:0 10px 26px rgba(0,0,0,.12)}.cms-tablist>button,.cms-tablist>.cms-tab{appearance:none;border:0;background:transparent;color:#aab3c3;min-height:40px;padding:9px 14px;border-radius:6px;display:inline-flex;align-items:center;gap:7px;font:700 .78rem/1 var(--cms-font,Inter,sans-serif);cursor:pointer;text-decoration:none}.cms-tablist>button:hover,.cms-tablist>.cms-tab:hover{background:color-mix(in srgb,var(--cms-accent) 7%,var(--cms-surface));color:var(--cms-text)}.cms-tablist>button.active,.cms-tablist>.cms-tab.active{background:color-mix(in srgb,var(--cms-accent) 14%,var(--cms-surface));color:#fff;box-shadow:inset 0 -2px 0 var(--cms-accent)}.cms-tablist .ui-icon{width:16px;height:16px}.cms-tabpanel{display:none;min-width:0}.cms-tabpanel.active{display:block}.cms-tabpanel[hidden]{display:none!important}

/* Joomla-inspired article editing workbench */
.article-workbench{display:grid;gap:14px;min-width:0}.article-actionbar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 12px;background:var(--cms-surface);border:1px solid var(--cms-border);border-radius:9px}.article-actionbar-main{display:flex;gap:8px;flex-wrap:wrap}.article-title-strip{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,.8fr);gap:18px;align-items:end}.article-title-field input{font-size:1.18rem;font-weight:760}.article-tabs .cms-tablist{position:relative;top:auto}.article-tab-grid{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:16px;align-items:start}.article-options-rail{position:sticky;top:20px}.article-workbench .editor-panel{min-height:630px}.article-workbench .ma-editor{min-height:500px}.article-workbench .ck-editor__editable_inline{min-height:500px!important}.article-workbench .selected-media-preview{min-height:180px}.article-workbench .button-row{display:flex;gap:8px;flex-wrap:wrap}.article-workbench .button.success{background:#2f9e5b;border-color:#2f9e5b;color:#fff}.article-workbench .button.danger{background:#d83d4e;border-color:#d83d4e;color:#fff}

/* Media tabbed professional manager */
.media-tabs .cms-tablist{position:relative;top:auto}.media-tabs .media-grid{padding-top:4px}.media-upload-panel{max-width:820px}.media-upload-panel .upload-dropzone{min-height:240px}.media-tabs output{display:inline-flex;margin-top:8px;padding:5px 9px;border-radius:6px;background:color-mix(in srgb,var(--cms-accent) 12%,var(--cms-surface));font-weight:800;color:var(--cms-text)}

/* Dashboard: denser Joomla-style modules while preserving MA palette */
.joomla-dashboard-grid{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)!important;gap:14px!important}.dashboard-module{border-radius:7px!important;background:var(--cms-surface)!important;border:1px solid var(--cms-border)!important;box-shadow:none!important}.dashboard-module-head{min-height:48px;padding:12px 14px!important;border-bottom:1px solid var(--cms-border)!important}.dashboard-module-head h2{font-size:.94rem!important;margin:2px 0 0!important}.dashboard-tile-grid{gap:8px!important;padding:12px!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}.dashboard-square-tile{min-height:86px!important;border-radius:5px!important;background:color-mix(in srgb,var(--cms-surface) 78%,#2a303a)!important;border:1px solid color-mix(in srgb,var(--cms-border) 70%,transparent)!important;padding:12px!important;grid-template-columns:36px minmax(0,1fr)!important}.dashboard-square-tile:hover{border-color:var(--tile-color)!important;transform:translateY(-1px)}.dashboard-square-tile .tile-icon{width:34px!important;height:34px!important;border-radius:5px!important;background:color-mix(in srgb,var(--tile-color) 18%,transparent)!important;color:var(--tile-color)!important}.notification-grid{padding:12px!important;gap:8px!important}.dashboard-alert{border-radius:5px!important;min-height:78px!important}.dashboard-recent,.dashboard-security-panel{min-height:0}.dashboard-recent{grid-column:1}.dashboard-security-panel{grid-column:2}.dashboard-notifications{grid-column:1/-1}

/* Website Studio as a real design application */
.website-studio-form{display:grid;gap:16px}.studio-hero{border-left:3px solid var(--cms-accent)}.studio-real-tabs>.cms-tablist{top:10px}.studio-real-tabs .cms-tabpanel>.panel,.studio-real-tabs .cms-tabpanel>.grid-2>.panel{margin:0}.light-theme-editor{background:linear-gradient(150deg,var(--cms-surface),color-mix(in srgb,#dfe8f5 5%,var(--cms-surface)))}.light-concept{background:var(--cms-surface)}.light-preview{background:#f5f7fb!important;color:#171b24!important;border-color:#d8dee8!important}.light-preview .preview-header,.light-preview .preview-carousel,.light-preview .preview-cards span{background:#fff!important;border-color:#d8dee8!important;color:#171b24!important}.inline-field{max-width:420px}.studio-real-tabs .color-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}.font-control{display:grid;gap:8px}.font-live-preview{min-height:62px;padding:13px;border:1px solid var(--cms-border);border-radius:8px;background:color-mix(in srgb,var(--cms-bg) 68%,var(--cms-surface));font-size:1rem;display:flex;align-items:center}.studio-overview article>span{width:42px;height:42px;border-radius:9px;background:color-mix(in srgb,var(--cms-accent) 8%,var(--cms-surface));display:grid;place-items:center;color:var(--cms-accent)}

/* Homepage: trending card matches carousel height */
.ac-feature-trending{height:var(--feature-height)!important;max-height:var(--feature-height)!important;overflow:auto!important;scrollbar-width:thin}.ac-home-ad-card .ad-placeholder,.ac-home-ad-card .ad-slot{min-height:330px}.category-news .news-card p,.category-grid .news-card p,.category-news p,.ac-category-card p{font-size:var(--category-excerpt-size,15px)!important}

/* Comprehensive public light-mode design */
html[data-theme="light"] .ac-public{--public-accent:var(--public-light-accent)!important;--public-bg:var(--public-light-bg)!important;--public-surface:var(--public-light-surface)!important;--public-surface-alt:var(--public-light-surface-alt)!important;--public-header:var(--public-light-header)!important;--public-text:var(--public-light-text)!important;--public-muted:var(--public-light-muted)!important;--public-border:var(--public-light-border)!important;background:var(--public-light-bg)!important;color:var(--public-light-text)!important}
html[data-theme="light"] .ac-public .ac-site-header,html[data-theme="light"] .ac-public .public-header{background:var(--public-light-header)!important;border-color:var(--public-light-border)!important;box-shadow:0 1px 0 rgba(10,20,35,.04)}
html[data-theme="light"] .ac-public .ac-main-nav,html[data-theme="light"] .ac-public .ac-nav-dropdown-menu{background:var(--public-light-header)!important;border-color:var(--public-light-border)!important}.ac-public html[data-theme="light"]{color-scheme:light}
html[data-theme="light"] .ac-public .ac-main-nav a,html[data-theme="light"] .ac-public .ac-nav-dropdown summary{color:#303643!important}html[data-theme="light"] .ac-public .ac-main-nav a:hover,html[data-theme="light"] .ac-public .ac-nav-dropdown summary:hover{background:#f0f3f8!important;color:var(--public-light-accent)!important}
html[data-theme="light"] .ac-public .ac-search,html[data-theme="light"] .ac-public input,html[data-theme="light"] .ac-public select,html[data-theme="light"] .ac-public textarea{background:#fff!important;color:#18202b!important;border-color:#cfd7e3!important}
html[data-theme="light"] .ac-public .ac-side-card,html[data-theme="light"] .ac-public .ac-news-card,html[data-theme="light"] .ac-public .ac-feed-list,html[data-theme="light"] .ac-public .article-shell,html[data-theme="light"] .ac-public .article-card,html[data-theme="light"] .ac-public .event-card,html[data-theme="light"] .ac-public .comments-section,html[data-theme="light"] .ac-public .comment-login-card,html[data-theme="light"] .ac-public .search-card,html[data-theme="light"] .ac-public .category-header,html[data-theme="light"] .ac-public .page-panel{background:#fff!important;color:#18202b!important;border-color:#d7dde7!important;box-shadow:0 8px 22px rgba(31,44,63,.055)!important}
html[data-theme="light"] .ac-public h1,html[data-theme="light"] .ac-public h2,html[data-theme="light"] .ac-public h3,html[data-theme="light"] .ac-public h4,html[data-theme="light"] .ac-public strong,html[data-theme="light"] .ac-public .article-body{color:#151b25!important}html[data-theme="light"] .ac-public p,html[data-theme="light"] .ac-public small,html[data-theme="light"] .ac-public .muted,html[data-theme="light"] .ac-public .article-meta{color:#657084!important}
html[data-theme="light"] .ac-public .article-body blockquote{background:#f5f7fa!important;border-color:var(--public-light-accent)!important;color:#303744!important}html[data-theme="light"] .ac-public .article-body table th{background:#eef2f7!important}html[data-theme="light"] .ac-public .article-body table td,html[data-theme="light"] .ac-public .article-body table th{border-color:#dbe1ea!important;color:#1e2530!important}
html[data-theme="light"] .ac-public .share-button,html[data-theme="light"] .ac-public .social-share-button,html[data-theme="light"] .ac-public .button,html[data-theme="light"] .ac-public .ac-outline-button{background:#fff!important;border-color:#ccd5e1!important;color:#222a36!important}html[data-theme="light"] .ac-public .share-button:hover,html[data-theme="light"] .ac-public .button:hover{border-color:var(--public-light-accent)!important;color:var(--public-light-accent)!important}
html[data-theme="light"] .ac-public .ad-placeholder,html[data-theme="light"] .ac-public .ad-slot{background:#f2f5f9!important;border-color:#d5dce6!important;color:#6a7483!important}html[data-theme="light"] .ac-public .ac-explore-grid a{background:#f2f5f9!important;color:#27303d!important;border:1px solid #e0e5ec}html[data-theme="light"] .ac-public .ac-trending-item,html[data-theme="light"] .ac-public .ac-feed-item,html[data-theme="light"] .ac-public .ac-mini-item{border-color:#e1e6ed!important}html[data-theme="light"] .ac-public .ac-footer{background:#11141b!important;color:#eef1f6!important}

/* Comprehensive CMS light mode */
html[data-theme="light"] body.cms-body{background:var(--cms-light-bg)!important;color:var(--cms-light-text)!important;color-scheme:light}html[data-theme="light"] .admin-main{background:var(--cms-light-bg)!important;color:var(--cms-light-text)!important}html[data-theme="light"] .admin-top{background:color-mix(in srgb,var(--cms-light-bg) 94%,white)!important;border-color:var(--cms-light-border)!important}html[data-theme="light"] .admin-top h1,html[data-theme="light"] .cms-body h1,html[data-theme="light"] .cms-body h2,html[data-theme="light"] .cms-body h3,html[data-theme="light"] .cms-body strong{color:#18202c!important}
html[data-theme="light"] .cms-body .panel,html[data-theme="light"] .cms-body .page-intro,html[data-theme="light"] .cms-body .dashboard-module,html[data-theme="light"] .cms-body .table-card,html[data-theme="light"] .cms-body .media-card,html[data-theme="light"] .cms-body .stats-grid>div,html[data-theme="light"] .cms-body .analytics-kpis article,html[data-theme="light"] .cms-body .cms-tablist{background:var(--cms-light-surface)!important;border-color:var(--cms-light-border)!important;color:var(--cms-light-text)!important;box-shadow:0 7px 20px rgba(31,45,63,.05)!important}
html[data-theme="light"] .cms-body .muted,html[data-theme="light"] .cms-body small,html[data-theme="light"] .cms-body .eyebrow,html[data-theme="light"] .cms-body .panel p{color:var(--cms-light-muted)!important}
html[data-theme="light"] .cms-body input,html[data-theme="light"] .cms-body select,html[data-theme="light"] .cms-body textarea,html[data-theme="light"] .cms-body .search-control,html[data-theme="light"] .cms-body .font-live-preview{background:#fff!important;color:#1b2430!important;border-color:#cdd5df!important}html[data-theme="light"] .cms-body select option{background:#fff!important;color:#1b2430!important}
html[data-theme="light"] .cms-body .data-table th{background:#eef2f6!important;color:#536074!important;border-color:#d5dce5!important}html[data-theme="light"] .cms-body .data-table td{background:#fff!important;color:#202936!important;border-color:#e1e6ed!important}html[data-theme="light"] .cms-body .data-table tr:hover td{background:#f6f8fb!important}
html[data-theme="light"] .cms-body .cms-tablist>button,html[data-theme="light"] .cms-body .cms-tablist>.cms-tab{color:#5e6a79!important}html[data-theme="light"] .cms-body .cms-tablist>button.active,html[data-theme="light"] .cms-body .cms-tablist>.cms-tab.active{background:#eef1f6!important;color:#17202c!important;box-shadow:inset 0 -2px 0 var(--cms-accent)!important}
html[data-theme="light"] .cms-body .dashboard-square-tile{background:#f3f6f9!important;border-color:#dbe1e9!important;color:#17202c!important}html[data-theme="light"] .cms-body .dashboard-alert{border-color:#dbe1e9!important}html[data-theme="light"] .cms-body .article-actionbar{background:#fff!important;border-color:#d5dce5!important}html[data-theme="light"] .cms-body .creation-chip,html[data-theme="light"] .cms-body .status-chip{background:#f0f3f7!important;color:#526073!important;border-color:#dae0e8!important}
html[data-theme="light"] .cms-body .ck.ck-editor__main>.ck-editor__editable,html[data-theme="light"] .cms-body .ck.ck-toolbar,html[data-theme="light"] .cms-body .ck.ck-dropdown__panel,html[data-theme="light"] .cms-body .ma-editor{background:#fff!important;color:#18202b!important;border-color:#cdd5df!important}html[data-theme="light"] .cms-body .ck.ck-button{color:#2b3441!important}html[data-theme="light"] .cms-body .ck.ck-button:hover{background:#edf1f6!important}
html[data-theme="light"] .cms-body .upload-dropzone,html[data-theme="light"] .cms-body .selected-media-preview{background:#f5f7fa!important;border-color:#cfd7e1!important;color:#536071!important}html[data-theme="light"] .cms-body .color-field,html[data-theme="light"] .cms-body .font-sample{background:#fff!important;border-color:#d7dee8!important;color:#1c2532!important}html[data-theme="light"] .cms-body .font-sample:hover{background:#f4f7fa!important;border-color:#aab5c4!important}

/* Module Manager refinements */
.module-settings-form{display:grid;gap:16px}.module-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.module-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;border-left:3px solid var(--cms-accent)}.module-hero-actions{display:flex;gap:8px;flex-wrap:wrap}.module-note-card{grid-column:1/-1}.compact-toggle-grid{grid-template-columns:repeat(2,minmax(0,1fr))}

/* Update progress: distinguish upload from server processing */
.update-progress [data-update-bar]{transition:width .35s ease}.update-progress [data-update-message]{min-height:1.6em;color:var(--cms-light-muted,#95a0b2)}

@media(max-width:1180px){.article-tab-grid{grid-template-columns:1fr}.article-options-rail{position:static}.article-title-strip{grid-template-columns:1fr}.joomla-dashboard-grid{grid-template-columns:1fr!important}.dashboard-recent,.dashboard-security-panel,.dashboard-notifications{grid-column:1!important}.module-settings-grid{grid-template-columns:1fr}.module-note-card{grid-column:auto}.studio-real-tabs .color-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:760px){.cms-tablist{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.cms-tablist>button,.cms-tablist>.cms-tab{justify-content:flex-start}.article-actionbar{align-items:flex-start;flex-direction:column}.article-actionbar-main{width:100%}.article-actionbar-main .button{flex:1}.dashboard-tile-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.studio-real-tabs .color-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.module-hero{align-items:flex-start;flex-direction:column}.compact-toggle-grid{grid-template-columns:1fr}}
@media(max-width:480px){.cms-tablist{grid-template-columns:1fr}.dashboard-tile-grid{grid-template-columns:1fr!important}.studio-real-tabs .color-grid{grid-template-columns:1fr!important}.article-actionbar-main{display:grid;grid-template-columns:1fr}}

/* Color-coded professional CMS navigation icons */
.admin-nav a[href*="/admin/articles"] .nav-icon,.admin-nav a[href*="/admin/articles"] .nav-sub-icon{color:#ff536b}.admin-nav a[href*="/admin/comments"] .nav-icon{color:#a78bfa}.admin-nav a[href*="/admin/media"] .nav-icon{color:#21c99a}.admin-nav a[href*="/admin/events"] .nav-icon{color:#7c8cff}.admin-nav a[href*="/admin/social"] .nav-icon{color:#f973a9}.admin-nav a[href*="/admin/analytics"] .nav-icon{color:#22c7d6}.admin-nav a[href*="/admin/migration"] .nav-icon{color:#f59e42}.admin-nav a[href*="/admin/security"] .nav-icon{color:#4ea1ff}.admin-nav a[href*="/admin/backups"] .nav-icon{color:#b06cff}.admin-nav a[href*="/admin/updates"] .nav-icon{color:#3bc879}.admin-nav a[href*="/admin/modules"] .nav-icon,.admin-nav a[href*="/admin/modules"] .nav-sub-icon{color:#f1b94b}.admin-nav a[href*="/admin/website"] .nav-icon{color:#ff5d83}.admin-nav a[href*="/admin/system"] .nav-icon{color:#5ab9e8}.connection-card:nth-child(1) .connection-icon{color:#5aa7ff}.connection-card:nth-child(2) .connection-icon{color:#f59e42}.connection-card:nth-child(3) .connection-icon{color:#7f91ff}.connection-card .connection-icon{background:color-mix(in srgb,currentColor 10%,var(--cms-surface))}

/* Resumable Update Engine v2 */
.update-resumable-progress{border:1px solid var(--cms-border,#2a2e38);background:color-mix(in srgb,var(--cms-surface,#17191f) 88%,#000);border-radius:12px;padding:14px;margin-top:14px}
.update-stage-row,.update-actions-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:10px}.update-stage-row .muted{color:var(--cms-muted,#9da3b2);font-size:.78rem}.update-actions-row .button{min-height:40px}.recovery-token-banner.compact{margin-top:14px;padding:14px;border-radius:12px}.recovery-token-banner.compact p{margin:.25rem 0;color:var(--cms-muted,#9da3b2)}
[data-theme="light"] .update-resumable-progress{background:var(--cms-light-surface,#fff);border-color:var(--cms-light-border,#d8dee8)}

/* === 0.6.1 CMS polish + operational UX === */
.joomla-dashboard-grid{display:grid!important;grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr)!important;gap:18px!important;align-items:start!important}
.dashboard-module{overflow:hidden!important}
.dashboard-module-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important}
.dashboard-module-head>div{min-width:0}
.dashboard-tile-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
.dashboard-square-tile{display:grid!important;grid-template-columns:42px minmax(0,1fr)!important;align-items:center!important;gap:12px!important;text-decoration:none!important}
.dashboard-square-tile>span:last-child{display:grid!important;gap:3px!important;min-width:0!important}
.dashboard-square-tile strong{font-size:.86rem!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.dashboard-square-tile small{font-size:.7rem!important;color:var(--cms-muted,#9298a8)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.notification-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
.dashboard-alert{display:grid!important;grid-template-columns:32px minmax(0,1fr)!important;gap:10px!important;align-items:center!important;padding:12px!important;text-decoration:none!important;border:1px solid var(--cms-border)!important}
.dashboard-alert span{grid-row:1/3!important;display:grid!important;place-items:center!important}.dashboard-alert strong,.dashboard-alert small{grid-column:2!important}
.dashboard-alert small{color:#b6bcc9!important;font-size:.72rem!important}
.dashboard-security-panel .security-dashboard-body{display:grid!important;grid-template-columns:1fr 1fr!important;gap:18px!important;padding:16px!important}.security-dashboard-list,.dashboard-country-list{display:grid!important;gap:8px!important}.security-dashboard-list>div,.dashboard-country-list>div{display:flex!important;justify-content:space-between!important;gap:15px!important;padding:9px 0!important;border-bottom:1px solid var(--cms-border)!important}
.dashboard-recent{grid-column:1!important}.dashboard-security-panel{grid-column:2!important}.dashboard-notifications{grid-column:1/-1!important}
@media(max-width:1180px){.joomla-dashboard-grid{grid-template-columns:1fr!important}.dashboard-recent,.dashboard-security-panel,.dashboard-notifications{grid-column:1!important}}
@media(max-width:760px){.dashboard-tile-grid,.notification-grid{grid-template-columns:1fr!important}.dashboard-security-panel .security-dashboard-body{grid-template-columns:1fr!important}}

/* One document scrollbar on desktop: the navigation participates in page scroll. */
@media(min-width:1181px){.admin-layout{align-items:start!important;min-height:100vh!important}.admin-sidebar{position:sticky!important;top:0!important;height:auto!important;min-height:100vh!important;max-height:none!important;overflow:visible!important;align-self:start!important}}
@media(max-width:1180px){.admin-sidebar{position:absolute!important;top:0!important;height:auto!important;min-height:100vh!important;max-height:none!important;overflow:visible!important}}

/* Module screens are standalone tools; no duplicated module switcher inside the page. */
.module-section-hero{display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:18px;padding:22px 24px;margin:0 0 18px;border:1px solid var(--cms-border);border-radius:14px;background:linear-gradient(135deg,var(--cms-surface),color-mix(in srgb,var(--cms-surface) 82%,var(--cms-accent) 8%))}
.module-section-hero h2{margin:2px 0 6px;font-size:1.35rem}.module-section-hero p{margin:0;color:#98a0b0;max-width:850px}.module-section-icon{width:52px;height:52px;display:grid;place-items:center;border-radius:12px;background:color-mix(in srgb,var(--cms-accent) 14%,transparent);color:var(--cms-accent)}.module-section-icon .ui-icon{width:26px;height:26px}.module-section-icon.carousel{color:#f5b942}.module-section-icon.advertisement{color:#2bd3c5}.module-section-icon.cloudflare{color:#54b6ff}
.module-config-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.module-config-layout>.span-2{grid-column:1/-1}.editor-toggle-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}.editor-policy-preview{display:grid;gap:10px;padding:16px;border-radius:10px;background:var(--cms-bg);border:1px solid var(--cms-border)}
@media(max-width:980px){.module-section-hero{grid-template-columns:48px minmax(0,1fr)}.module-section-hero>.button,.module-section-hero>.module-hero-actions{grid-column:1/-1}.module-config-layout{grid-template-columns:1fr}.module-config-layout>.span-2{grid-column:1}.editor-toggle-grid{grid-template-columns:1fr 1fr!important}}
@media(max-width:600px){.editor-toggle-grid{grid-template-columns:1fr!important}}

/* Website Studio branding */
.branding-preview{display:flex;align-items:center;gap:18px;padding:18px;margin-bottom:18px;border:1px solid var(--cms-border);border-radius:12px;background:var(--cms-bg)}.branding-preview img{max-width:220px;max-height:100px;object-fit:contain;background:transparent!important;border:0!important;box-shadow:none!important}.branding-preview-copy{display:grid;gap:5px}.branding-preview-copy span{color:#9ca4b4}
.public-logo{display:grid!important;justify-items:start!important;gap:3px!important;text-decoration:none!important}.public-logo img{width:min(var(--logo-width,190px),100%)!important;max-width:100%!important;background:transparent!important;border:0!important;box-shadow:none!important}.public-logo-tagline{display:block;color:var(--public-muted);line-height:1.2;white-space:nowrap}

/* Carousel and Trending Posts must have identical desktop height. */
.ac-feature-carousel,.ac-feature-stage,.ac-feature-trending{height:var(--feature-height)!important;min-height:var(--feature-height)!important;max-height:var(--feature-height)!important}
.ac-feature-trending{overflow:hidden!important;display:flex!important;flex-direction:column!important}.ac-feature-trending .ac-card-heading{flex:0 0 auto}.ac-feature-trending .ac-trending-item{flex:1 1 0;min-height:0!important}
@media(max-width:980px){.ac-feature-carousel,.ac-feature-stage,.ac-feature-trending{height:auto!important;min-height:0!important;max-height:none!important}.ac-feature-stage,.ac-feature-carousel{height:430px!important}}

/* Joomla storage overview */
.storage-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0}.storage-stat{padding:14px;border:1px solid var(--cms-border);border-radius:10px;background:var(--cms-bg);display:grid;gap:4px}.storage-stat strong{font-size:1.15rem}.storage-stat small{color:#8e96a6}.storage-path{display:grid;gap:5px;padding:10px 12px;border-radius:8px;background:var(--cms-bg);border:1px solid var(--cms-border);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.75rem;word-break:break-all}
@media(max-width:760px){.storage-stat-grid{grid-template-columns:1fr 1fr}}

/* Global operation popup */
.operation-console[hidden]{display:none!important}.operation-console{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:20px;background:rgba(4,6,10,.76);backdrop-filter:blur(6px)}.operation-console-card{width:min(560px,100%);padding:24px;border-radius:16px;background:#151820;border:1px solid #303644;box-shadow:0 30px 100px rgba(0,0,0,.55);color:#f6f7fb}.operation-console-head{display:flex;gap:14px;align-items:center}.operation-console-head>div{display:grid;gap:2px}.operation-console-head small{font-size:.66rem;letter-spacing:.14em;color:#8992a4}.operation-console-head strong{font-size:1.1rem}.operation-spinner{width:28px;height:28px;border:3px solid #343947;border-top-color:var(--cms-accent);border-radius:50%;animation:maSpin .8s linear infinite}@keyframes maSpin{to{transform:rotate(360deg)}}.operation-progress{height:10px;margin:20px 0 6px;border-radius:999px;background:#252a35;overflow:hidden}.operation-progress span{display:block;height:100%;width:0;background:linear-gradient(90deg,var(--cms-accent),#8d7cff);transition:width .2s}.operation-percent{text-align:right;font-size:.75rem;color:#a7afbf}.operation-steps{list-style:none;margin:18px 0;padding:0;display:grid;gap:8px}.operation-steps li{position:relative;padding:9px 12px 9px 34px;border:1px solid #2b303b;border-radius:8px;color:#858e9f;background:#11141a}.operation-steps li:before{content:'•';position:absolute;left:13px;color:#5f6878}.operation-steps li.active{color:#fff;border-color:color-mix(in srgb,var(--cms-accent) 55%,#303644);background:color-mix(in srgb,var(--cms-accent) 8%,#11141a)}.operation-steps li.active:before{color:var(--cms-accent)}.operation-steps li.done{color:#8fd6ae}.operation-steps li.done:before{content:'✓';color:#40c77a}.operation-message{min-height:42px;padding:11px 12px;border-radius:8px;background:#10131a;color:#b8c0ce;font-size:.82rem}.operation-console.has-error .operation-message{background:#29171c;color:#ffc4cd;border:1px solid #5b2731}.operation-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:14px}.operation-running body{overflow:hidden}
@media(min-width:1181px){
  .dashboard-site-module{grid-column:1;grid-row:1}
  .dashboard-system-module{grid-column:2;grid-row:1}
  .dashboard-recent{grid-column:1!important;grid-row:2/span 2!important}
  .dashboard-notifications{grid-column:2!important;grid-row:2!important}
  .dashboard-security-panel{grid-column:2!important;grid-row:3!important}
}

/* Manga Afternoon CMS 0.6.3 — System & Security foundation */
.security-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0}.security-kpi-grid>div{display:grid;gap:5px;padding:17px;border:1px solid var(--cms-border);border-radius:10px;background:var(--cms-surface)}.security-kpi-grid span{font-size:.72rem;text-transform:uppercase;letter-spacing:.07em;color:#8993a5}.security-kpi-grid strong{font-size:1.18rem;color:var(--cms-text)}.security-kpi-grid small{color:#8f98a9}.security-tabs .cms-tablist{overflow-x:auto}.security-two-col,.cloudflare-operations{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.security-rule-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:14px 0}.security-rule-list>div{display:grid;gap:3px;padding:12px;border:1px solid var(--cms-border);border-radius:8px;background:color-mix(in srgb,var(--cms-surface) 78%,#000)}.security-rule-list strong{color:var(--cms-text)}.security-rule-list span{color:#9299a8;font-size:.73rem}.table-scroll{overflow-x:auto}.data-table td code{display:block;max-width:420px;overflow-wrap:anywhere;white-space:normal}.data-table td small{display:block;margin-top:5px;line-height:1.4}.break-code{display:block;overflow-wrap:anywhere;white-space:normal;padding:10px;margin:8px 0 14px;border-radius:7px;background:#10131a;border:1px solid var(--cms-border)}.cloudflare-operations{margin-top:14px}.cloudflare-operations form{margin-top:14px}.cloudflare-operations .module-hero-actions form{margin-top:0}
@media(max-width:1050px){.security-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.security-two-col,.cloudflare-operations{grid-template-columns:1fr}}
@media(max-width:560px){.security-kpi-grid,.security-rule-list{grid-template-columns:1fr}}

/* Manga Afternoon CMS 0.6.4 — content and media reliability fixes */
.admin-articles-table-card{overflow-x:auto}.admin-articles-table{min-width:1120px}.admin-articles-table .article-actions-col,.admin-articles-table .article-actions-cell{width:270px;min-width:270px}.article-action-grid{display:grid;grid-template-columns:repeat(2,minmax(118px,1fr));gap:7px}.article-action-grid form{display:block;width:100%}.article-action-grid .icon-action{display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;gap:7px!important;width:100%;height:36px;padding:0 10px!important;border:1px solid #343844!important;border-radius:7px;background:#171a22!important;color:#e9ebf0!important;text-decoration:none!important;font-size:.72rem!important;font-weight:700}.article-action-grid .icon-action:hover{border-color:#596173!important;background:#252936!important;color:#fff!important}.article-action-grid .primary-action{border-color:color-mix(in srgb,var(--cms-accent) 62%,#343844)!important;color:#fff!important}.article-action-grid .icon-action.danger{border-color:#5a2b34!important;background:#25171b!important;color:#ff8794!important}.article-action-grid .icon-action.danger:hover{background:#351820!important;color:#ffb4bd!important}
.media-purge-progress{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:7px 12px;margin-top:14px;padding:13px;border:1px solid var(--cms-border);border-radius:9px;background:var(--cms-bg)}.media-purge-progress[hidden]{display:none!important}.media-purge-track{height:10px;border-radius:999px;overflow:hidden;background:#252a35}.media-purge-track span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--cms-accent),#8d7cff);transition:width .18s}.media-purge-progress>strong{font-size:.75rem}.media-purge-progress>p{grid-column:1/-1;margin:0;color:#929aaa;font-size:.76rem}
.category-colored-badge{--category:var(--cat-color,var(--public-accent));background:var(--cat-color,var(--public-accent))!important;border-color:var(--cat-color,var(--public-accent))!important;color:#fff!important}.category-colored-badge .category-icon-svg,.article-category .category-icon-svg{color:#fff!important}.category-header .category-icon-svg{color:var(--category,var(--public-accent))!important}

/* Manga Afternoon CMS 0.6.5 — authoritative dark surfaces and responsive navigation */
html:not([data-theme="light"]),html:not([data-theme="light"]) body{background:#0d0f13;color-scheme:dark}
html:not([data-theme="light"]) body.cms-body,html:not([data-theme="light"]) .cms-body .admin-layout,html:not([data-theme="light"]) .cms-body .admin-main{background:var(--cms-bg,#101218)!important;color:var(--cms-text,#f4f5f8)!important}
html:not([data-theme="light"]) .cms-body .admin-top{background:transparent!important;border-color:var(--cms-border,#2a2e38)!important}
html:not([data-theme="light"]) .cms-body .panel,html:not([data-theme="light"]) .cms-body .table-card,html:not([data-theme="light"]) .cms-body .module-card,html:not([data-theme="light"]) .cms-body .dashboard-module,html:not([data-theme="light"]) .cms-body .security-kpi-grid>div,html:not([data-theme="light"]) .cms-body .cms-tablist,html:not([data-theme="light"]) .cms-body .comment-card,html:not([data-theme="light"]) .cms-body .connection-card,html:not([data-theme="light"]) .cms-body .storage-stat{background:var(--cms-surface,#17191f)!important;color:var(--cms-text,#f4f5f8)!important;border-color:var(--cms-border,#2a2e38)!important}
html:not([data-theme="light"]) .cms-body .page-intro{background:linear-gradient(135deg,var(--cms-surface,#17191f),color-mix(in srgb,var(--cms-accent,#f14f64) 6%,var(--cms-surface,#17191f)))!important;color:var(--cms-text,#f4f5f8)!important;border-color:var(--cms-border,#2a2e38)!important}
html:not([data-theme="light"]) .cms-body .data-table th{background:#101319!important;color:#aab2c2!important;border-color:var(--cms-border,#2a2e38)!important}
html:not([data-theme="light"]) .cms-body .data-table td{background:var(--cms-surface,#17191f)!important;color:var(--cms-text,#f4f5f8)!important;border-color:var(--cms-border,#2a2e38)!important}
html:not([data-theme="light"]) .cms-body input:not([type="checkbox"]):not([type="radio"]):not([type="color"]),html:not([data-theme="light"]) .cms-body select,html:not([data-theme="light"]) .cms-body textarea,html:not([data-theme="light"]) .cms-body .search-control{background:#11141b!important;color:#edf0f6!important;border-color:#303540!important}
html:not([data-theme="light"]) .cms-body .button.ghost{background:#171a22!important;color:#eef1f6!important;border-color:#343945!important}

html:not([data-theme="light"]) body.ac-public{background:var(--public-bg,#0d0e14)!important;color:var(--public-text,#f5f6f8)!important}
html:not([data-theme="light"]) .ac-public .ac-site-header{background:var(--public-header,#111218)!important;border-color:var(--public-border,#262833)!important}
html:not([data-theme="light"]) .ac-public .article-page,html:not([data-theme="light"]) .ac-public .article-header,html:not([data-theme="light"]) .ac-public .article-body,html:not([data-theme="light"]) .ac-public .ac-side-card,html:not([data-theme="light"]) .ac-public .ac-news-card,html:not([data-theme="light"]) .ac-public .ac-feed-list,html:not([data-theme="light"]) .ac-public .category-header,html:not([data-theme="light"]) .ac-public .event-card,html:not([data-theme="light"]) .ac-public .event-detail,html:not([data-theme="light"]) .ac-public .static-page{background:var(--public-surface,#171820)!important;color:var(--public-text,#f5f6f8)!important;border-color:var(--public-border,#262833)!important}
html:not([data-theme="light"]) .ac-public .article-header h1,html:not([data-theme="light"]) .ac-public .article-body h1,html:not([data-theme="light"]) .ac-public .article-body h2,html:not([data-theme="light"]) .ac-public .article-body h3,html:not([data-theme="light"]) .ac-public .article-body h4,html:not([data-theme="light"]) .ac-public .article-body h5,html:not([data-theme="light"]) .ac-public .article-body h6,html:not([data-theme="light"]) .ac-public .article-body strong{color:var(--public-text,#f5f6f8)!important}
html:not([data-theme="light"]) .ac-public .article-body p,html:not([data-theme="light"]) .ac-public .article-body li{color:#e3e6ec!important}

@media (hover:hover) and (pointer:fine) and (min-width:981px){.ac-nav-dropdown:not(:hover):not(:focus-within)>.ac-nav-dropdown-menu{display:none!important}}

@media(max-width:980px){
  body.mobile-menu-open{overflow:hidden}
  .ac-public .ac-header-inner{display:flex!important;width:calc(100% - 28px)!important;min-height:70px!important;align-items:center!important;justify-content:space-between!important;gap:10px!important}
  .ac-public .ac-logo{flex:0 1 auto!important;min-width:0!important}
  .ac-public .ac-logo img{width:min(145px,42vw)!important;max-width:145px!important;height:auto!important}
  .ac-public .ac-header-actions{display:flex!important;align-items:center!important;gap:8px!important;margin-left:auto!important}
  .ac-public .desktop-header-search{display:none!important}
  .ac-public .ac-main-nav{position:absolute!important;top:calc(100% + 1px)!important;left:10px!important;right:10px!important;width:auto!important;max-height:calc(100vh - 88px)!important;margin:0!important;padding:8px!important;overflow-y:auto!important;overscroll-behavior:contain;background:#15171e!important;border:1px solid #30333e!important;border-radius:8px!important;box-shadow:0 22px 60px rgba(0,0,0,.55)!important}
  .ac-public .ac-main-nav>div{display:grid!important;grid-template-columns:1fr!important;gap:3px!important;align-items:start!important;white-space:normal!important}
  .ac-public .ac-main-nav>div>a,.ac-public .ac-nav-dropdown>summary{width:100%!important;min-height:44px!important;height:auto!important;padding:11px 12px!important;border:0!important;border-radius:6px!important;display:flex!important;align-items:center!important}
  .ac-public .ac-nav-dropdown{display:block!important;min-height:0!important;height:auto!important;align-self:auto!important}
  .ac-public .ac-nav-dropdown>summary{min-height:44px!important}
  .ac-public .ac-nav-dropdown-menu{position:static!important;inset:auto!important;width:100%!important;min-height:0!important;height:auto!important;margin:3px 0 6px!important;padding:5px!important;display:grid!important;grid-template-columns:1fr!important;gap:2px!important;background:#101218!important;border:1px solid #292d37!important;border-radius:6px!important;box-shadow:none!important}
  .ac-public .ac-nav-dropdown:not([open])>.ac-nav-dropdown-menu{display:none!important}
  .ac-public .ac-nav-dropdown-menu a{min-height:42px!important;padding:10px 12px!important;font-size:12px!important}
  .ac-public .mobile-nav-search{display:flex!important;margin:0 0 5px!important}
  .ac-public .ac-feature-trending{display:block!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;padding:16px!important}
  .ac-public .ac-feature-trending .ac-card-heading{margin-bottom:4px!important}
  .ac-public .ac-feature-trending .ac-trending-item{display:grid!important;grid-template-columns:30px 72px minmax(0,1fr)!important;gap:10px!important;align-items:center!important;min-height:64px!important;height:auto!important;padding:10px 0!important;flex:none!important}
  .ac-public .ac-feature-trending .ac-trending-item>b{width:28px!important;height:28px!important;font-size:10px!important}
  .ac-public .ac-feature-trending .ac-trending-item img{width:72px!important;height:52px!important;border-radius:6px!important}
  .ac-public .ac-feature-trending .ac-trending-item strong{font-size:12px!important;line-height:1.35!important;-webkit-line-clamp:2!important}
  .ac-public .ac-feature-trending .ac-trending-item small{font-size:9px!important;margin-top:4px!important}
}

@media(max-width:420px){
  .ac-public .ac-feature-trending .ac-trending-item{grid-template-columns:26px 62px minmax(0,1fr)!important;gap:8px!important}
  .ac-public .ac-feature-trending .ac-trending-item img{width:62px!important;height:46px!important}
  .ac-public .ac-feature-trending .ac-trending-item strong{font-size:11px!important}
}


/* Manga Afternoon CMS 0.6.6-dev — authoritative two-palette theme layer */
html[data-theme="dark"],html[data-theme="dark"] body{color-scheme:dark}
html[data-theme="light"],html[data-theme="light"] body{color-scheme:light}
html[data-theme="dark"] body.cms-body{--theme-cms-bg:var(--cms-bg,#101218);--theme-cms-surface:var(--cms-surface,#17191f);--theme-cms-surface-alt:#11141b;--theme-cms-text:var(--cms-text,#f4f5f8);--theme-cms-muted:#98a1b1;--theme-cms-border:var(--cms-border,#2a2e38);--theme-cms-hover:#1d212a;--theme-cms-input:#11141b;background:var(--theme-cms-bg)!important;color:var(--theme-cms-text)!important}
html[data-theme="light"] body.cms-body{--theme-cms-bg:var(--cms-light-bg,#f3f6fa);--theme-cms-surface:var(--cms-light-surface,#fff);--theme-cms-surface-alt:#f4f7fa;--theme-cms-text:var(--cms-light-text,#1c2230);--theme-cms-muted:var(--cms-light-muted,#687386);--theme-cms-border:var(--cms-light-border,#d8dee8);--theme-cms-hover:#f5f7fa;--theme-cms-input:#fff;background:var(--theme-cms-bg)!important;color:var(--theme-cms-text)!important}
html[data-theme] .cms-body .admin-layout,html[data-theme] .cms-body .admin-main{background:var(--theme-cms-bg)!important;color:var(--theme-cms-text)!important}
html[data-theme] .cms-body .admin-top{background:transparent!important;color:var(--theme-cms-text)!important;border-color:var(--theme-cms-border)!important}
html[data-theme] .cms-body .admin-top h1,html[data-theme] .cms-body .page-intro h2,html[data-theme] .cms-body .panel h1,html[data-theme] .cms-body .panel h2,html[data-theme] .cms-body .panel h3,html[data-theme] .cms-body .data-table a{color:var(--theme-cms-text)!important}
html[data-theme] .cms-body .eyebrow,html[data-theme] .cms-body .muted,html[data-theme] .cms-body small,html[data-theme] .cms-body .page-intro p,html[data-theme] .cms-body .panel p,html[data-theme] .cms-body .field-help{color:var(--theme-cms-muted)!important}
html[data-theme] .cms-body .panel,html[data-theme] .cms-body .page-intro,html[data-theme] .cms-body .table-card,html[data-theme] .cms-body .module-card,html[data-theme] .cms-body .connection-card,html[data-theme] .cms-body .comment-card,html[data-theme] .cms-body .dashboard-module,html[data-theme] .cms-body .dashboard-app,html[data-theme] .cms-body .dashboard-status article,html[data-theme] .cms-body .security-summary div,html[data-theme] .cms-body .security-kpi-grid>div,html[data-theme] .cms-body .stats-grid>div,html[data-theme] .cms-body .analytics-kpis article,html[data-theme] .cms-body .migration-kpis article,html[data-theme] .cms-body .media-card,html[data-theme] .cms-body .storage-stat,html[data-theme] .cms-body .cms-tablist{background:var(--theme-cms-surface)!important;color:var(--theme-cms-text)!important;border-color:var(--theme-cms-border)!important}
html[data-theme="dark"] .cms-body .page-intro{background:linear-gradient(135deg,var(--theme-cms-surface),color-mix(in srgb,var(--cms-accent) 7%,var(--theme-cms-surface)))!important}html[data-theme="light"] .cms-body .page-intro{background:linear-gradient(135deg,var(--theme-cms-surface),color-mix(in srgb,var(--cms-accent) 4%,var(--theme-cms-surface)))!important}
html[data-theme] .cms-body input:not([type="checkbox"]):not([type="radio"]):not([type="color"]),html[data-theme] .cms-body select,html[data-theme] .cms-body textarea,html[data-theme] .cms-body .search-control,html[data-theme] .cms-body .media-search,html[data-theme] .cms-body .media-picker-toolbar input,html[data-theme] .cms-body .font-live-preview{background:var(--theme-cms-input)!important;color:var(--theme-cms-text)!important;border-color:var(--theme-cms-border)!important}
html[data-theme] .cms-body input::placeholder,html[data-theme] .cms-body textarea::placeholder{color:var(--theme-cms-muted)!important;opacity:.82}html[data-theme="dark"] .cms-body select option{background:#11141b!important;color:#eef1f6!important}html[data-theme="light"] .cms-body select option{background:#fff!important;color:#1c2230!important}
html[data-theme] .cms-body .data-table th{background:var(--theme-cms-surface-alt)!important;color:var(--theme-cms-muted)!important;border-color:var(--theme-cms-border)!important}html[data-theme] .cms-body .data-table td{background:var(--theme-cms-surface)!important;color:var(--theme-cms-text)!important;border-color:var(--theme-cms-border)!important}html[data-theme] .cms-body .data-table tr:hover td{background:var(--theme-cms-hover)!important}
html[data-theme] .cms-body .admin-articles-table td,html[data-theme] .cms-body .admin-articles-table td a{color:var(--theme-cms-text)!important}html[data-theme] .cms-body .admin-articles-table .muted,html[data-theme] .cms-body .admin-articles-table small{color:var(--theme-cms-muted)!important}
html[data-theme="light"] .cms-body .article-action-grid .icon-action{background:#f8fafc!important;color:#252d39!important;border-color:#ccd4df!important}html[data-theme="light"] .cms-body .article-action-grid .icon-action:hover{background:#eef2f6!important;color:#111821!important;border-color:#9eabbc!important}html[data-theme="light"] .cms-body .article-action-grid .primary-action{border-color:color-mix(in srgb,var(--cms-accent) 60%,#ccd4df)!important}html[data-theme="light"] .cms-body .article-action-grid .icon-action.danger{background:#fff4f5!important;color:#a52d3c!important;border-color:#efc0c6!important}
html[data-theme="dark"] .cms-body .button.ghost{background:#171a22!important;color:#eef1f6!important;border-color:#343945!important}html[data-theme="light"] .cms-body .button.ghost{background:#fff!important;color:#252d39!important;border-color:#cfd7e1!important}
html[data-theme] .cms-body .creation-chip,html[data-theme] .cms-body .status-chip,html[data-theme] .cms-body .fixed-destination,html[data-theme] .cms-body .upload-dropzone,html[data-theme] .cms-body .selected-media-preview,html[data-theme] .cms-body .connection-result{background:var(--theme-cms-surface-alt)!important;color:var(--theme-cms-muted)!important;border-color:var(--theme-cms-border)!important}
html[data-theme="light"] .cms-body .sticky-savebar{background:rgba(255,255,255,.96)!important;color:var(--theme-cms-text)!important;border-color:var(--theme-cms-border)!important}html[data-theme="dark"] .cms-body .sticky-savebar{background:rgba(17,20,27,.96)!important;color:var(--theme-cms-text)!important;border-color:var(--theme-cms-border)!important}
html[data-theme="light"] .cms-body .studio-tabs{background:rgba(255,255,255,.95)!important;border-color:var(--theme-cms-border)!important}html[data-theme="light"] .cms-body .studio-tabs a{color:#5d6878!important}html[data-theme="light"] .cms-body .studio-tabs a:hover{background:#eef2f6!important;color:#1b2430!important}
html[data-theme="light"] .cms-body .studio-overview article,html[data-theme="light"] .cms-body .color-field,html[data-theme="light"] .cms-body .typography-select-grid>.field,html[data-theme="light"] .cms-body .typography-select-grid>.font-preview,html[data-theme="light"] .cms-body .font-sample{background:#fff!important;color:var(--theme-cms-text)!important;border-color:var(--theme-cms-border)!important}html[data-theme="light"] .cms-body .font-sample strong,html[data-theme="light"] .cms-body .font-sample span,html[data-theme="light"] .cms-body .studio-overview article strong{color:var(--theme-cms-text)!important}
html[data-theme] .cms-body .admin-sidebar,html[data-theme] .cms-body .sidebar-brand{background:var(--cms-sidebar,#0b0c10)!important;color:#f4f6fa!important}html[data-theme="light"] .cms-body .admin-sidebar,html[data-theme="light"] .cms-body .sidebar-brand{background:var(--cms-light-sidebar,#11151d)!important}html[data-theme] .cms-body .admin-sidebar .nav-main{color:#d8dde7!important}html[data-theme] .cms-body .admin-sidebar .nav-main:hover{background:rgba(255,255,255,.075)!important;color:#fff!important}html[data-theme] .cms-body .admin-sidebar .nav-main.active{background:color-mix(in srgb,var(--cms-accent) 11%,transparent)!important;color:#fff!important;border-left:3px solid var(--cms-accent)!important}html[data-theme] .cms-body .admin-sidebar .nav-sub a{color:#98a0af!important}html[data-theme] .cms-body .admin-sidebar .nav-sub a:hover{color:#fff!important;background:rgba(255,255,255,.055)!important}

html[data-theme="dark"] body.ac-public{--theme-public-bg:var(--public-bg,#0d0e14);--theme-public-surface:var(--public-surface,#171820);--theme-public-surface-alt:var(--public-surface-alt,#1b1c25);--theme-public-header:var(--public-header,#111218);--theme-public-text:var(--public-text,#f5f6f8);--theme-public-muted:var(--public-muted,#9ba0ad);--theme-public-border:var(--public-border,#262833);background:var(--theme-public-bg)!important;color:var(--theme-public-text)!important}
html[data-theme="light"] body.ac-public{--theme-public-bg:var(--public-light-bg,#f5f7fb);--theme-public-surface:var(--public-light-surface,#fff);--theme-public-surface-alt:var(--public-light-surface-alt,#eef2f7);--theme-public-header:var(--public-light-header,#fff);--theme-public-text:var(--public-light-text,#161a22);--theme-public-muted:var(--public-light-muted,#657084);--theme-public-border:var(--public-light-border,#d7dde7);--public-accent:var(--public-light-accent,#e83f58);background:var(--theme-public-bg)!important;color:var(--theme-public-text)!important}
html[data-theme] .ac-public .ac-site-header{background:var(--theme-public-header)!important;border-color:var(--theme-public-border)!important}
html[data-theme="dark"] .ac-public .ac-main-nav,html[data-theme="dark"] .ac-public .ac-nav-dropdown-menu{background:var(--theme-public-header)!important;border-color:var(--theme-public-border)!important}html[data-theme="light"] .ac-public .ac-main-nav{background:transparent!important;border-color:var(--theme-public-border)!important}html[data-theme="light"] .ac-public .ac-nav-dropdown-menu{background:var(--theme-public-surface)!important;border-color:var(--theme-public-border)!important}
html[data-theme="dark"] .ac-public .ac-main-nav>div>a,html[data-theme="dark"] .ac-public .ac-nav-dropdown>summary{color:#d9dce4!important}html[data-theme="light"] .ac-public .ac-main-nav>div>a,html[data-theme="light"] .ac-public .ac-nav-dropdown>summary{color:#303744!important}
html[data-theme] .ac-public .ac-main-nav>div>a:hover,html[data-theme] .ac-public .ac-main-nav>div>a:focus-visible,html[data-theme] .ac-public .ac-nav-dropdown>summary:hover,html[data-theme] .ac-public .ac-nav-dropdown:focus-within>summary{color:var(--public-accent)!important}
html[data-theme="dark"] .ac-public .ac-nav-dropdown-menu a{color:#dce1e8!important}html[data-theme="light"] .ac-public .ac-nav-dropdown-menu a{color:#28313e!important}html[data-theme="dark"] .ac-public .ac-nav-dropdown-menu a:hover{background:#22252e!important;color:#fff!important}html[data-theme="light"] .ac-public .ac-nav-dropdown-menu a:hover{background:#f0f3f7!important;color:var(--public-accent)!important}
html[data-theme="dark"] .ac-public .ac-search{background:#191a22!important;border-color:#30323e!important}html[data-theme="light"] .ac-public .ac-search{background:#f3f5f8!important;border-color:#d7dde7!important}html[data-theme] .ac-public .ac-search input{background:transparent!important;color:var(--theme-public-text)!important}html[data-theme] .ac-public .ac-search input::placeholder{color:var(--theme-public-muted)!important}
html[data-theme] .ac-public .ac-home,html[data-theme] .ac-public .public-main,html[data-theme] .ac-public .article-shell,html[data-theme] .ac-public .comments-section{color:var(--theme-public-text)!important}
html[data-theme] .ac-public .ac-side-card,html[data-theme] .ac-public .ac-news-card,html[data-theme] .ac-public .ac-feed-list,html[data-theme] .ac-public .category-header,html[data-theme] .ac-public .article-page,html[data-theme] .ac-public .article-header,html[data-theme] .ac-public .article-body,html[data-theme] .ac-public .event-card,html[data-theme] .ac-public .event-detail,html[data-theme] .ac-public .static-page,html[data-theme] .ac-public .comments-section,html[data-theme] .ac-public .google-comment-login,html[data-theme] .ac-public .public-comment,html[data-theme] .ac-public .search-card,html[data-theme] .ac-public .page-panel{background:var(--theme-public-surface)!important;color:var(--theme-public-text)!important;border-color:var(--theme-public-border)!important}
html[data-theme] .ac-public .ac-card-heading h2,html[data-theme] .ac-public .ac-section-heading h2,html[data-theme] .ac-public .ac-news-card h3,html[data-theme] .ac-public .ac-trending-item strong,html[data-theme] .ac-public .ac-feed-item strong,html[data-theme] .ac-public .ac-event-mini-list strong,html[data-theme] .ac-public .article-header h1,html[data-theme] .ac-public .article-body h1,html[data-theme] .ac-public .article-body h2,html[data-theme] .ac-public .article-body h3,html[data-theme] .ac-public .article-body h4,html[data-theme] .ac-public .article-body h5,html[data-theme] .ac-public .article-body h6,html[data-theme] .ac-public .article-body strong,html[data-theme] .ac-public .category-header h1,html[data-theme] .ac-public .event-detail>h1,html[data-theme] .ac-public .static-page h1{color:var(--theme-public-text)!important}
html[data-theme] .ac-public .ac-news-card p,html[data-theme] .ac-public .ac-news-card small,html[data-theme] .ac-public .ac-trending-item small,html[data-theme] .ac-public .ac-feed-item small,html[data-theme] .ac-public .ac-event-mini-list small,html[data-theme] .ac-public .ac-about-card p,html[data-theme] .ac-public .article-deck,html[data-theme] .ac-public .article-meta,html[data-theme] .ac-public .category-header p,html[data-theme] .ac-public .event-detail .article-body,html[data-theme] .ac-public .static-page p{color:var(--theme-public-muted)!important}
html[data-theme] .ac-public .ac-trending-item,html[data-theme] .ac-public .ac-feed-item,html[data-theme] .ac-public .ac-mini-item,html[data-theme] .ac-public .ac-event-mini-list a{border-color:var(--theme-public-border)!important}
html[data-theme] .ac-public .ac-explore-grid a{background:var(--theme-public-surface-alt)!important;color:var(--theme-public-text)!important;border:1px solid var(--theme-public-border)!important}html[data-theme] .ac-public .ac-explore-grid a:hover{color:var(--public-accent)!important;border-color:var(--public-accent)!important}
html[data-theme] .ac-public .article-body blockquote{background:var(--theme-public-surface-alt)!important;color:var(--theme-public-text)!important;border-color:var(--public-accent)!important}html[data-theme] .ac-public .article-body th{background:var(--theme-public-surface-alt)!important;color:var(--theme-public-text)!important}html[data-theme] .ac-public .article-body th,html[data-theme] .ac-public .article-body td{border-color:var(--theme-public-border)!important}
html[data-theme] .ac-public .ad-placeholder,html[data-theme] .ac-public .ad-slot{background:var(--theme-public-surface-alt)!important;color:var(--theme-public-muted)!important;border-color:var(--theme-public-border)!important}
html[data-theme="dark"] .ac-public .button.ghost,html[data-theme="dark"] .ac-public .social-share-button,html[data-theme="dark"] .ac-public .ac-outline-button{background:#1d2028!important;color:#eef0f4!important;border-color:#373b46!important}html[data-theme="light"] .ac-public .button.ghost,html[data-theme="light"] .ac-public .social-share-button,html[data-theme="light"] .ac-public .ac-outline-button{background:#fff!important;color:#222a36!important;border-color:#ccd5e1!important}
html[data-theme] .ac-public .ac-feature-stage{background:#15161d!important;border-color:#2a2c36!important}html[data-theme] .ac-public .ac-feature-copy,html[data-theme] .ac-public .ac-feature-copy h1,html[data-theme] .ac-public .ac-feature-copy h1 a,html[data-theme] .ac-public .ac-feature-copy p{color:#fff!important;text-shadow:0 1px 2px rgba(0,0,0,.55)}html[data-theme] .ac-public .ac-feature-copy p{color:#e7e9ee!important}html[data-theme] .ac-public .ac-feature-shade{background:linear-gradient(90deg,rgba(8,9,13,.94) 0%,rgba(8,9,13,.72) 38%,rgba(8,9,13,.18) 72%,rgba(8,9,13,.09) 100%),linear-gradient(0deg,rgba(8,9,13,.68),transparent 46%)!important}html[data-theme] .ac-public .ac-badge,html[data-theme] .ac-public .category-colored-badge,html[data-theme] .ac-public .article-category{color:#fff!important}
html[data-theme] .ac-public .ac-footer{background:#0a0b10!important;color:#eef1f6!important;border-color:#24262f!important}html[data-theme] .ac-public .ac-footer strong{color:#fff!important}html[data-theme] .ac-public .ac-footer p,html[data-theme] .ac-public .ac-footer a,html[data-theme] .ac-public .ac-footer span{color:#aeb5c2!important}
@media(max-width:980px){html[data-theme="dark"] .ac-public .ac-main-nav{background:#15171e!important;border-color:#30333e!important}html[data-theme="light"] .ac-public .ac-main-nav{background:#fff!important;border-color:#d7dde7!important;box-shadow:0 22px 60px rgba(34,44,61,.18)!important}html[data-theme="dark"] .ac-public .ac-nav-dropdown-menu{background:#101218!important;border-color:#292d37!important}html[data-theme="light"] .ac-public .ac-nav-dropdown-menu{background:#f5f7fa!important;border-color:#dde3eb!important}}

/* Manga Afternoon CMS 0.6.7-dev — final dark/light cache-proof guard layer.
   The shared layout is now the sole stylesheet entry point. */
html[data-theme="dark"] body.cms-body,
html[data-theme="dark"] body.cms-body .admin-layout,
html[data-theme="dark"] body.cms-body .admin-main{background-color:var(--cms-bg,#101218)!important;color:var(--cms-text,#f4f5f8)!important}
html[data-theme="dark"] body.cms-body .page-intro,
html[data-theme="dark"] body.cms-body .panel,
html[data-theme="dark"] body.cms-body .table-card,
html[data-theme="dark"] body.cms-body .module-card,
html[data-theme="dark"] body.cms-body .connection-card,
html[data-theme="dark"] body.cms-body .comment-card,
html[data-theme="dark"] body.cms-body .media-card,
html[data-theme="dark"] body.cms-body .dashboard-module,
html[data-theme="dark"] body.cms-body .dashboard-app,
html[data-theme="dark"] body.cms-body .dashboard-status article,
html[data-theme="dark"] body.cms-body .security-summary div,
html[data-theme="dark"] body.cms-body .security-kpi-grid>div,
html[data-theme="dark"] body.cms-body .stats-grid>div,
html[data-theme="dark"] body.cms-body .analytics-kpis article,
html[data-theme="dark"] body.cms-body .migration-kpis article{background-color:var(--cms-surface,#17191f)!important;color:var(--cms-text,#f4f5f8)!important;border-color:var(--cms-border,#2a2e38)!important}
html[data-theme="dark"] body.cms-body .data-table th{background-color:#11141b!important;color:#aab2c2!important;border-color:var(--cms-border,#2a2e38)!important}
html[data-theme="dark"] body.cms-body .data-table td{background-color:var(--cms-surface,#17191f)!important;color:var(--cms-text,#f4f5f8)!important;border-color:var(--cms-border,#2a2e38)!important}
html[data-theme="dark"] body.cms-body .data-table td strong,
html[data-theme="dark"] body.cms-body .data-table td a{color:var(--cms-text,#f4f5f8)!important}
html[data-theme="dark"] body.cms-body input:not([type="checkbox"]):not([type="radio"]):not([type="color"]),
html[data-theme="dark"] body.cms-body select,
html[data-theme="dark"] body.cms-body textarea,
html[data-theme="dark"] body.cms-body .search-control,
html[data-theme="dark"] body.cms-body .media-search{background-color:#11141b!important;color:#eef1f6!important;border-color:#303540!important}

html[data-theme="light"] body.cms-body,
html[data-theme="light"] body.cms-body .admin-layout,
html[data-theme="light"] body.cms-body .admin-main{background-color:var(--cms-light-bg,#f3f6fa)!important;color:var(--cms-light-text,#1c2230)!important}
html[data-theme="light"] body.cms-body .page-intro,
html[data-theme="light"] body.cms-body .panel,
html[data-theme="light"] body.cms-body .table-card,
html[data-theme="light"] body.cms-body .module-card,
html[data-theme="light"] body.cms-body .connection-card,
html[data-theme="light"] body.cms-body .comment-card,
html[data-theme="light"] body.cms-body .media-card,
html[data-theme="light"] body.cms-body .dashboard-module,
html[data-theme="light"] body.cms-body .dashboard-app,
html[data-theme="light"] body.cms-body .dashboard-status article,
html[data-theme="light"] body.cms-body .security-summary div,
html[data-theme="light"] body.cms-body .security-kpi-grid>div,
html[data-theme="light"] body.cms-body .stats-grid>div,
html[data-theme="light"] body.cms-body .analytics-kpis article,
html[data-theme="light"] body.cms-body .migration-kpis article{background-color:var(--cms-light-surface,#fff)!important;color:var(--cms-light-text,#1c2230)!important;border-color:var(--cms-light-border,#d8dee8)!important}

html[data-theme="dark"] body.ac-public,
html[data-theme="dark"] body.ac-public .ac-home,
html[data-theme="dark"] body.ac-public .public-main{background-color:var(--public-bg,#0d0e14)!important;color:var(--public-text,#f5f6f8)!important}
html[data-theme="dark"] body.ac-public .ac-side-card,
html[data-theme="dark"] body.ac-public .ac-news-card,
html[data-theme="dark"] body.ac-public .ac-feed-list,
html[data-theme="dark"] body.ac-public .category-header,
html[data-theme="dark"] body.ac-public .article-page,
html[data-theme="dark"] body.ac-public .article-header,
html[data-theme="dark"] body.ac-public .article-body,
html[data-theme="dark"] body.ac-public .event-card,
html[data-theme="dark"] body.ac-public .event-detail,
html[data-theme="dark"] body.ac-public .static-page,
html[data-theme="dark"] body.ac-public .comments-section,
html[data-theme="dark"] body.ac-public .search-card,
html[data-theme="dark"] body.ac-public .page-panel{background-color:var(--public-surface,#171820)!important;color:var(--public-text,#f5f6f8)!important;border-color:var(--public-border,#262833)!important}
html[data-theme="dark"] body.ac-public .ac-news-card h3,
html[data-theme="dark"] body.ac-public .ac-news-card h3 a,
html[data-theme="dark"] body.ac-public .ac-side-card h2,
html[data-theme="dark"] body.ac-public .ac-trending-item strong,
html[data-theme="dark"] body.ac-public .ac-event-mini-list strong{color:var(--public-text,#f5f6f8)!important}
html[data-theme="dark"] body.ac-public .ac-news-card p,
html[data-theme="dark"] body.ac-public .ac-news-card small,
html[data-theme="dark"] body.ac-public .ac-trending-item small,
html[data-theme="dark"] body.ac-public .ac-event-mini-list small{color:var(--public-muted,#9ba0ad)!important}
html[data-theme="dark"] body.ac-public .ac-explore-grid a{background-color:var(--public-surface-alt,#1b1c25)!important;color:var(--public-text,#f5f6f8)!important;border-color:var(--public-border,#262833)!important}

html[data-theme="light"] body.ac-public,
html[data-theme="light"] body.ac-public .ac-home,
html[data-theme="light"] body.ac-public .public-main{background-color:var(--public-light-bg,#f5f7fb)!important;color:var(--public-light-text,#161a22)!important}
html[data-theme="light"] body.ac-public .ac-side-card,
html[data-theme="light"] body.ac-public .ac-news-card,
html[data-theme="light"] body.ac-public .ac-feed-list,
html[data-theme="light"] body.ac-public .category-header,
html[data-theme="light"] body.ac-public .article-page,
html[data-theme="light"] body.ac-public .article-header,
html[data-theme="light"] body.ac-public .article-body,
html[data-theme="light"] body.ac-public .event-card,
html[data-theme="light"] body.ac-public .event-detail,
html[data-theme="light"] body.ac-public .static-page,
html[data-theme="light"] body.ac-public .comments-section,
html[data-theme="light"] body.ac-public .search-card,
html[data-theme="light"] body.ac-public .page-panel{background-color:var(--public-light-surface,#fff)!important;color:var(--public-light-text,#161a22)!important;border-color:var(--public-light-border,#d7dde7)!important}

/* Manga Afternoon CMS 0.6.8-dev — responsive editorial UI, universal tabs and editor tools */
.admin-main,.admin-main>*{min-width:0;max-width:100%}
.admin-context-tabs{display:flex;align-items:center;gap:7px;max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;margin:14px 0 20px;padding:6px;border:1px solid var(--cms-border,#2a2e38);border-radius:12px;background:color-mix(in srgb,var(--cms-surface,#17191f) 92%,transparent);scrollbar-width:thin}
.admin-context-tab{display:inline-flex;align-items:center;justify-content:center;gap:7px;flex:0 0 auto;min-height:38px;padding:8px 12px;border:1px solid transparent;border-radius:8px;color:#aeb5c2;text-decoration:none;font-size:.76rem;font-weight:800;white-space:nowrap;transition:background .15s,border-color .15s,color .15s}
.admin-context-tab:hover{color:var(--cms-text,#fff);background:color-mix(in srgb,var(--cms-accent,#f14f64) 8%,var(--cms-surface,#17191f));border-color:color-mix(in srgb,var(--cms-accent,#f14f64) 24%,var(--cms-border,#2a2e38))}
.admin-context-tab.active{background:color-mix(in srgb,var(--cms-accent,#f14f64) 16%,var(--cms-surface,#17191f));border-color:color-mix(in srgb,var(--cms-accent,#f14f64) 55%,var(--cms-border,#2a2e38));color:var(--cms-text,#fff);box-shadow:inset 0 -2px 0 var(--cms-accent,#f14f64)}
html[data-theme="light"] .cms-body .admin-context-tabs{background:var(--cms-light-surface,#fff)!important;border-color:var(--cms-light-border,#d8dee8)!important}
html[data-theme="light"] .cms-body .admin-context-tab{color:var(--cms-light-muted,#687386)!important}
html[data-theme="light"] .cms-body .admin-context-tab:hover{color:var(--cms-light-text,#1c2230)!important;background:color-mix(in srgb,var(--cms-accent,#f14f64) 6%,#fff)!important}
html[data-theme="light"] .cms-body .admin-context-tab.active{color:var(--cms-light-text,#1c2230)!important;background:color-mix(in srgb,var(--cms-accent,#f14f64) 9%,#fff)!important}

.cms-tabs{min-width:0}.cms-tabs>.cms-tablist,.cms-tablist{display:flex;gap:6px;max-width:100%;overflow-x:auto;padding:6px;border:1px solid var(--cms-border,#2a2e38);border-radius:11px;background:var(--cms-surface,#17191f);scrollbar-width:thin}
.cms-tab{display:inline-flex;align-items:center;gap:7px;flex:0 0 auto;min-height:38px;padding:8px 12px;border:1px solid transparent;border-radius:8px;background:transparent;color:#aeb5c2;font:inherit;font-size:.76rem;font-weight:800;cursor:pointer;white-space:nowrap}
.cms-tab:hover,.cms-tab:focus-visible{color:var(--cms-text,#fff);border-color:var(--cms-border,#343945);outline:0}.cms-tab.active{background:color-mix(in srgb,var(--cms-accent,#f14f64) 16%,var(--cms-surface,#17191f));border-color:color-mix(in srgb,var(--cms-accent,#f14f64) 55%,var(--cms-border,#343945));color:var(--cms-text,#fff)}
.cms-tabpanel{min-width:0;padding-top:14px}.cms-tabpanel[hidden],[data-tab-panel][hidden]{display:none!important}
html[data-theme="light"] .cms-body .cms-tablist{background:var(--cms-light-surface,#fff)!important;border-color:var(--cms-light-border,#d8dee8)!important}html[data-theme="light"] .cms-body .cms-tab{color:var(--cms-light-muted,#687386)!important}html[data-theme="light"] .cms-body .cms-tab.active{color:var(--cms-light-text,#1c2230)!important;background:color-mix(in srgb,var(--cms-accent,#f14f64) 9%,#fff)!important}

/* Professional article queue */
.article-list-intro{margin-bottom:12px}.article-list-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:0 0 12px}.article-list-kpis>span{display:flex;align-items:baseline;justify-content:space-between;gap:8px;padding:10px 12px;border:1px solid var(--cms-border,#2a2e38);border-radius:9px;background:var(--cms-surface,#17191f);color:#8f98a9;font-size:.7rem;text-transform:uppercase;letter-spacing:.05em}.article-list-kpis strong{color:var(--cms-text,#f4f5f8);font-size:1rem;letter-spacing:0}.article-list-toolbar{margin:12px 0}.article-list-toolbar .toolbar-search{min-width:0;flex:1}.article-list-toolbar .search-control{flex:1 1 260px;min-width:180px}.article-list-toolbar .search-control input{width:100%;min-width:0}.article-list-toolbar select{min-width:145px}
.admin-articles-table-card{overflow:auto;border-radius:12px}.admin-articles-table{min-width:1040px;table-layout:fixed}.admin-articles-table th:nth-child(1){width:31%}.admin-articles-table th:nth-child(2){width:11%}.admin-articles-table th:nth-child(3){width:9%}.admin-articles-table th:nth-child(4){width:15%}.admin-articles-table th:nth-child(5){width:7%}.admin-articles-table th:nth-child(6){width:27%}.admin-articles-table .article-actions-col,.admin-articles-table .article-actions-cell{width:auto;min-width:0}.article-list-row td{vertical-align:middle}.article-list-primary{display:flex;align-items:center;gap:12px;min-width:0}.article-list-thumb{flex:0 0 72px;width:72px;height:48px;border-radius:7px;object-fit:cover;border:1px solid var(--cms-border,#2a2e38);background:#0f1218}.article-list-thumb.placeholder{display:grid;place-items:center;color:#6f7889}.article-list-copy{min-width:0}.article-list-title-line{display:flex;align-items:center;gap:7px;min-width:0}.article-list-title-line strong{display:block;min-width:0;font-size:.82rem;line-height:1.28;overflow-wrap:anywhere}.article-list-path{margin-top:4px;font-size:.67rem!important;line-height:1.35;overflow-wrap:anywhere}.featured-list-chip{display:inline-flex;align-items:center;gap:4px;flex:0 0 auto;padding:3px 6px;background:#4a3510!important;color:#ffd77a!important;border:1px solid #725318;font-size:.58rem}.article-date-stack{display:grid;gap:7px}.article-date-stack small{display:grid!important;gap:2px;margin:0!important;font-size:.67rem;line-height:1.25}.article-date-stack small span{color:#788396;font-size:.56rem;text-transform:uppercase;letter-spacing:.05em}.revision-pill{display:inline-grid;place-items:center;min-width:34px;height:27px;padding:0 8px;border:1px solid var(--cms-border,#2a2e38);border-radius:999px;background:#11141b;font-size:.68rem;font-weight:800}.article-action-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.article-action-grid form{display:block;width:100%;margin:0}.article-action-grid .icon-action{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:6px!important;width:100%;height:34px;padding:0 8px!important;overflow:hidden;border:1px solid #343844!important;border-radius:7px;background:#171a22!important;color:#e9ebf0!important;text-decoration:none!important;font-size:.67rem!important;font-weight:750;white-space:nowrap}.article-action-grid .icon-action span{overflow:hidden;text-overflow:ellipsis}.article-action-grid .icon-action:hover{border-color:#596173!important;background:#252936!important;color:#fff!important}.article-action-grid .primary-action{border-color:color-mix(in srgb,var(--cms-accent) 64%,#343844)!important}.article-action-grid .featured-action{background:#33270f!important;border-color:#78601f!important;color:#ffd86d!important}.article-action-grid .featured-action:hover{background:#443414!important;color:#ffe7a3!important}.article-action-grid .disabled-action{opacity:.45;cursor:not-allowed}.article-action-grid .icon-action.danger{border-color:#5a2b34!important;background:#25171b!important;color:#ff8794!important}.article-action-grid .icon-action.danger:hover{background:#351820!important;color:#ffb4bd!important}
html[data-theme="light"] .cms-body .article-list-kpis>span{background:var(--cms-light-surface,#fff)!important;border-color:var(--cms-light-border,#d8dee8)!important;color:var(--cms-light-muted,#687386)!important}html[data-theme="light"] .cms-body .article-list-kpis strong{color:var(--cms-light-text,#1c2230)!important}html[data-theme="light"] .cms-body .article-list-thumb{border-color:var(--cms-light-border,#d8dee8);background:#eef2f7}html[data-theme="light"] .cms-body .revision-pill{background:#f5f7fa;color:#26303d;border-color:var(--cms-light-border,#d8dee8)}html[data-theme="light"] .cms-body .article-action-grid .icon-action{background:#fff!important;color:#27303d!important;border-color:#ccd4df!important}html[data-theme="light"] .cms-body .article-action-grid .icon-action:hover{background:#f2f5f8!important;border-color:#9da9b9!important;color:#111827!important}html[data-theme="light"] .cms-body .article-action-grid .primary-action{border-color:color-mix(in srgb,var(--cms-accent) 58%,#ccd4df)!important}html[data-theme="light"] .cms-body .article-action-grid .featured-action{background:#fff8e8!important;border-color:#d6ae4b!important;color:#6c4b00!important}html[data-theme="light"] .cms-body .article-action-grid .icon-action.danger{background:#fff5f6!important;border-color:#e6b9c0!important;color:#a52e40!important}

/* Website Studio control for category card extract size */
.website-studio-injected-control{display:grid;grid-template-columns:minmax(180px,1fr) minmax(260px,1.15fr);gap:12px 18px;align-items:center;margin-top:18px;padding:15px;border:1px solid var(--cms-border,#2a2e38);border-radius:10px;background:color-mix(in srgb,var(--cms-bg,#101218) 72%,var(--cms-surface,#17191f))}.website-studio-injected-copy{display:grid;gap:4px}.website-studio-injected-copy strong{font-size:.92rem}.website-studio-injected-copy small{color:#8f98aa;line-height:1.45}.website-studio-size-control{display:grid;grid-template-columns:minmax(120px,1fr) auto;gap:10px;align-items:center}.website-studio-size-control>input[type="range"]{width:100%;accent-color:var(--cms-accent,#f14f64)}.website-studio-size-control label{display:flex;align-items:center;gap:5px}.website-studio-size-control input[type="number"]{width:76px!important;min-height:38px!important;margin:0}.website-studio-size-control label span{color:#8791a3;font-size:.72rem}.website-studio-excerpt-preview{grid-column:1/-1;padding:12px 14px;border-left:3px solid var(--cms-accent,#f14f64);border-radius:6px;background:var(--cms-surface,#17191f);color:var(--cms-text,#f4f5f8);line-height:1.55;transition:font-size .12s ease}.website-studio-injected-control .eyebrow{font-size:.58rem}
html[data-theme="light"] .cms-body .website-studio-injected-control{background:#f8fafc!important;border-color:var(--cms-light-border,#d8dee8)!important}html[data-theme="light"] .cms-body .website-studio-excerpt-preview{background:#fff!important;color:var(--cms-light-text,#1c2230)!important}

/* CKEditor 5 writing workspace enhancements */
.ma-editor-utility{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:8px;padding:8px 10px;border:1px solid var(--cms-border,#2a2e38);border-radius:9px;background:#11141b}.ma-editor-metrics{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.ma-editor-metrics span{display:inline-flex;gap:4px;align-items:baseline;padding:4px 7px;border-radius:6px;background:#181c24;color:#8f99aa;font-size:.65rem}.ma-editor-metrics strong{color:#f2f4f8;font-size:.72rem}.ma-editor-utility-actions{display:flex;gap:6px;flex-wrap:wrap}.ma-editor-tool{min-height:31px;padding:5px 9px;border:1px solid #343a47;border-radius:7px;background:#1a1e27;color:#dbe0e9;font:inherit;font-size:.67rem;font-weight:800;cursor:pointer}.ma-editor-tool:hover,.ma-editor-tool.active{background:color-mix(in srgb,var(--cms-accent,#f14f64) 16%,#1a1e27);border-color:color-mix(in srgb,var(--cms-accent,#f14f64) 55%,#343a47);color:#fff}.ma-editor-outline{margin:0 0 8px;padding:10px;border:1px solid var(--cms-border,#2a2e38);border-radius:9px;background:#11141b}.ma-editor-outline-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:8px}.ma-editor-outline-head strong{font-size:.76rem}.ma-editor-outline-head small{color:#808a9d;font-size:.62rem}.ma-editor-outline-list{display:grid;gap:4px;max-height:190px;overflow:auto}.ma-editor-outline-item{display:block;width:100%;padding:6px 8px;border:0;border-left:2px solid #3c4453;border-radius:4px;background:transparent;color:#bec5d1;text-align:left;font:inherit;font-size:.68rem;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ma-editor-outline-item:hover{background:#1b202a;color:#fff;border-left-color:var(--cms-accent,#f14f64)}.ma-editor-outline-item.level-h3{padding-left:18px}.ma-editor-outline-item.level-h4{padding-left:28px}.ma-editor-outline-item.level-h5,.ma-editor-outline-item.level-h6{padding-left:38px}.ma-editor-outline-empty{padding:8px;color:#7f899b;font-size:.68rem}.ma-editor-enhanced .ck-editor__editable_inline{min-height:var(--ma-editor-min-height,560px)!important;font-size:var(--ma-editor-font-size,16px)!important;line-height:var(--ma-editor-line-height,1.65)!important;padding-left:max(24px,calc((100% - var(--ma-editor-content-width,820px))/2))!important;padding-right:max(24px,calc((100% - var(--ma-editor-content-width,820px))/2))!important}.ma-editor-enhanced .ck-content p{margin-bottom:var(--ma-editor-paragraph-spacing,14px)!important}.ma-editor-sticky-toolbar .ck.ck-toolbar{position:sticky!important;top:0;z-index:8}.ma-editor-focus-mode .admin-sidebar,.ma-editor-focus-mode .sidebar-scrim,.ma-editor-focus-mode .admin-top,.ma-editor-focus-mode .admin-context-tabs{display:none!important}.ma-editor-focus-mode .admin-layout{display:block!important}.ma-editor-focus-mode .admin-main{width:min(1180px,100%)!important;margin:0 auto!important;padding:20px!important}.ma-editor-focus-mode .editor-side,.ma-editor-focus-mode .article-options-rail{display:none!important}.ma-editor-focus-mode .editor-layout,.ma-editor-focus-mode .article-tab-grid{grid-template-columns:minmax(0,1fr)!important}.ma-editor-focus-shell{max-width:1100px;margin-inline:auto}.ma-editor-fullscreen-active{overflow:hidden!important}.ma-editor-is-fullscreen{position:fixed!important;inset:12px!important;z-index:12000!important;overflow:auto!important;margin:0!important;padding:14px!important;max-width:none!important;border:1px solid var(--cms-border,#2a2e38)!important;border-radius:12px!important;background:var(--cms-surface,#17191f)!important;box-shadow:0 30px 120px rgba(0,0,0,.65)!important}.ma-editor-is-fullscreen .ck-editor__editable_inline{min-height:calc(100vh - 190px)!important}.ma-editor-is-fullscreen .ma-editor-sticky-toolbar .ck.ck-toolbar{top:0!important}
html[data-theme="light"] .cms-body .ma-editor-utility,html[data-theme="light"] .cms-body .ma-editor-outline{background:#f7f9fb!important;border-color:var(--cms-light-border,#d8dee8)!important}html[data-theme="light"] .cms-body .ma-editor-metrics span{background:#fff!important;color:#677386!important}html[data-theme="light"] .cms-body .ma-editor-metrics strong{color:#1b2430!important}html[data-theme="light"] .cms-body .ma-editor-tool{background:#fff!important;border-color:#cfd7e2!important;color:#354052!important}html[data-theme="light"] .cms-body .ma-editor-tool:hover,html[data-theme="light"] .cms-body .ma-editor-tool.active{background:color-mix(in srgb,var(--cms-accent) 8%,#fff)!important;color:#171e28!important}html[data-theme="light"] .cms-body .ma-editor-outline-item{color:#465265!important}html[data-theme="light"] .cms-body .ma-editor-outline-item:hover{background:#eef2f6!important;color:#111827!important}html[data-theme="light"] .cms-body .ma-editor-is-fullscreen{background:var(--cms-light-surface,#fff)!important;border-color:var(--cms-light-border,#d8dee8)!important}

/* Keep every CMS page usable as the browser narrows. The navigation becomes an off-canvas drawer before content can be clipped. */
@media(max-width:1360px){
 .cms-body .admin-layout{grid-template-columns:minmax(0,1fr)!important;display:grid!important}
 .cms-body .admin-sidebar{position:fixed!important;z-index:200!important;top:0!important;left:-292px!important;width:280px!important;height:100vh!important;min-height:0!important;max-height:100vh!important;overflow-y:auto!important;padding-bottom:24px!important;transition:left .18s ease!important;box-shadow:18px 0 50px rgba(0,0,0,.28)!important}
 .cms-body .admin-sidebar.open{left:0!important}
 .cms-body .sidebar-toggle{display:grid!important;place-items:center!important;flex:0 0 42px}
 .cms-body .sidebar-scrim{display:none!important;position:fixed!important;inset:0!important;z-index:190!important;background:rgba(5,7,11,.62)!important;backdrop-filter:blur(2px)}
 .cms-body.sidebar-open .sidebar-scrim{display:block!important}.cms-body.sidebar-open{overflow:hidden}
 .cms-body .admin-main{width:100%!important;min-width:0!important;padding:22px clamp(14px,2.5vw,32px) 52px!important}
 .cms-body .admin-top{gap:12px;flex-wrap:wrap}.cms-body .admin-title-row{flex:1 1 300px}.cms-body .admin-actions{flex:0 1 auto;flex-wrap:wrap;justify-content:flex-end}
}
@media(max-width:1100px){
 .article-list-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}
 .admin-articles-table-card{overflow:visible!important;background:transparent!important;border:0!important;box-shadow:none!important}.admin-articles-table{display:block!important;width:100%!important;min-width:0!important}.admin-articles-table thead{display:none!important}.admin-articles-table tbody{display:grid!important;gap:12px!important}.admin-articles-table .article-list-row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));overflow:hidden;border:1px solid var(--cms-border,#2a2e38);border-radius:11px;background:var(--cms-surface,#17191f);box-shadow:0 7px 22px rgba(0,0,0,.07)}.admin-articles-table .article-list-row td{display:grid!important;grid-template-columns:92px minmax(0,1fr);align-items:center;gap:9px;width:auto!important;min-width:0!important;padding:10px 12px!important;border:0!important;border-top:1px solid var(--cms-border,#2a2e38)!important;background:transparent!important}.admin-articles-table .article-list-row td::before{content:attr(data-label);color:#7f899c;font-size:.58rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.admin-articles-table .article-list-row td:first-child{grid-column:1/-1;display:block!important;border-top:0!important;padding:13px!important}.admin-articles-table .article-list-row td:first-child::before{display:none}.admin-articles-table .article-actions-cell{grid-column:1/-1!important;display:grid!important;grid-template-columns:92px minmax(0,1fr)!important}.admin-articles-table .article-action-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-articles-table tbody>tr:not(.article-list-row){display:block}.admin-articles-table tbody>tr:not(.article-list-row) td{display:block!important}
 html[data-theme="light"] .cms-body .admin-articles-table .article-list-row{background:var(--cms-light-surface,#fff)!important;border-color:var(--cms-light-border,#d8dee8)!important}
 .editor-layout,.article-tab-grid,.events-admin-layout,.split-layout,.media-layout{grid-template-columns:minmax(0,1fr)!important}.editor-side,.article-options-rail,.article-sidebar,.sticky{position:static!important}.module-config-layout,.security-two-col,.cloudflare-operations{grid-template-columns:minmax(0,1fr)!important}
}
@media(max-width:900px){
 .cms-body .grid-2,.cms-body .grid-3,.cms-body .studio-grid,.cms-body .connection-grid,.cms-body .wide-grid,.cms-body .color-grid{grid-template-columns:minmax(0,1fr)!important}.cms-body .connection-card.span-2{grid-column:auto!important}.cms-body .panel,.cms-body .module-card,.cms-body .connection-card{min-width:0!important}.cms-body input,.cms-body select,.cms-body textarea{max-width:100%!important}.cms-body .toolbar,.cms-body .media-manager-toolbar,.cms-body .panel-title,.cms-body .scan-header,.cms-body .security-hero{align-items:stretch!important}.cms-body .toolbar-search,.cms-body .toolbar-actions{width:100%}.cms-body .toolbar-actions{justify-content:flex-start}.website-studio-injected-control{grid-template-columns:1fr}.website-studio-excerpt-preview{grid-column:1}.security-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:760px){
 .cms-body .admin-main{padding:15px 12px 42px!important}.cms-body .admin-top{align-items:flex-start!important}.cms-body .admin-actions{width:100%;justify-content:flex-start!important}.cms-body .admin-actions .button,.cms-body .admin-actions form{flex:0 1 auto}.cms-body .page-intro,.cms-body .module-section-hero{align-items:flex-start!important;flex-direction:column!important}.cms-body .page-intro .button,.cms-body .module-section-hero>.button{width:100%}.admin-context-tabs{margin-top:10px}.article-list-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.article-list-toolbar .toolbar-search{display:grid;grid-template-columns:1fr 1fr;width:100%}.article-list-toolbar .search-control{grid-column:1/-1}.article-list-toolbar .toolbar-search select{min-width:0;width:100%}.admin-articles-table .article-list-row{grid-template-columns:1fr}.admin-articles-table .article-list-row td{grid-column:1!important}.admin-articles-table .article-actions-cell{grid-template-columns:1fr!important}.admin-articles-table .article-actions-cell::before{margin-bottom:2px}.article-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.article-list-primary{align-items:flex-start}.article-list-thumb{width:64px;height:44px;flex-basis:64px}.website-studio-size-control{grid-template-columns:1fr}.ma-editor-utility{align-items:flex-start;flex-direction:column}.ma-editor-outline-head{align-items:flex-start;flex-direction:column}.ma-editor-enhanced .ck-editor__editable_inline{padding-left:18px!important;padding-right:18px!important}.ma-editor-is-fullscreen{inset:4px!important;padding:8px!important;border-radius:8px!important}
}
@media(max-width:520px){.article-list-kpis{grid-template-columns:1fr 1fr}.article-action-grid{grid-template-columns:1fr!important}.cms-body .admin-actions .theme-switch{margin-right:auto}.security-kpi-grid{grid-template-columns:1fr!important}.website-studio-size-control input[type="number"]{width:100%!important}.website-studio-size-control label{display:grid;grid-template-columns:1fr auto}}

/* Manga Afternoon CMS 0.6.9-dev — article-media normalization, polished actions and true System panels */
.system-tab-panel[hidden]{display:none!important}.system-tab-panel.active{display:block}.system-tab-panel{min-width:0}.system-panel-heading{margin:0 0 14px}.system-single-card{max-width:none}

/* Consistent CMS action language. CKEditor controls are intentionally excluded. */
.cms-body .button,.cms-body a.button,.cms-body .icon-action{border-radius:9px;min-height:40px;font-weight:800;letter-spacing:.005em;transition:transform .12s ease,box-shadow .12s ease,background-color .12s ease,border-color .12s ease,color .12s ease}.cms-body .button:hover,.cms-body a.button:hover,.cms-body .icon-action:hover{transform:translateY(-1px)}.cms-body .button:active,.cms-body a.button:active,.cms-body .icon-action:active{transform:translateY(0)}.cms-body .button.primary{box-shadow:0 6px 18px color-mix(in srgb,var(--cms-accent,#f14f64) 18%,transparent)}.cms-body .button.danger,.cms-body .icon-action.danger{box-shadow:none}
.article-actionbar{padding:12px 14px!important;min-height:64px}.article-actionbar-main{align-items:center!important}.article-actionbar .article-save-button{background:#249d5a!important;border:1px solid #2bb869!important;color:#fff!important;box-shadow:0 7px 18px rgba(36,157,90,.2)!important;text-decoration:none!important}.article-actionbar .article-save-button:hover{background:#2aad64!important}.article-actionbar .article-preview-button{background:color-mix(in srgb,#4f7cff 10%,var(--cms-surface,#17191f))!important;border:1px solid color-mix(in srgb,#6c8dff 48%,var(--cms-border,#2a2e38))!important;color:var(--cms-text,#f4f5f8)!important;text-decoration:none!important}.article-actionbar .article-cancel-button{background:transparent!important;border:1px solid color-mix(in srgb,#ef4e62 56%,var(--cms-border,#2a2e38))!important;color:#ff7283!important;text-decoration:none!important}.article-actionbar .article-cancel-button:hover{background:rgba(239,78,98,.1)!important}
html[data-theme="light"] .cms-body .article-actionbar .article-preview-button{background:#f2f5ff!important;color:#25385f!important;border-color:#c9d5fa!important}html[data-theme="light"] .cms-body .article-actionbar .article-cancel-button{background:#fff7f8!important;color:#b52c3f!important;border-color:#efc1c8!important}

/* Article media policy: media inserted in the body is centered and rendered at half
   the article-column width while preserving its natural aspect ratio. */
.article-body>img,.article-body>p>img,.article-body>div>img{display:block!important;width:var(--article-image-width,100%)!important;max-width:var(--article-image-width,100%)!important;height:auto!important;margin:24px auto!important}.article-body figure.image,.article-body figure.media,.article-body figure.image-style-align-center,.article-body .video-embed,.article-body .media,.article-body .media-embed,.article-body .raw-html-embed,.article-body div[data-oembed-url],.article-body blockquote.twitter-tweet{display:block!important;width:var(--article-embed-width,100%)!important;max-width:var(--article-embed-width,100%)!important;margin:24px auto!important}.article-body figure.image img,.article-body figure.media img,.article-body figure.image-style-align-center img{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;margin:0 auto!important}.article-body iframe,.article-body video,.article-body object,.article-body embed{display:block!important;width:var(--article-embed-width,100%)!important;max-width:var(--article-embed-width,100%)!important;margin:24px auto!important;border:0}.article-body .video-embed iframe,.article-body .media iframe,.article-body .media-embed iframe,.article-body div[data-oembed-url] iframe,.article-body figure.media iframe{width:100%!important;max-width:100%!important;margin:0!important;aspect-ratio:16/9;height:auto;min-height:180px}.article-body iframe[src*="youtube.com"],.article-body iframe[src*="youtu.be"],.article-body iframe[src*="youtube-nocookie.com"]{aspect-ratio:16/9;height:auto;min-height:180px}.article-body iframe.twitter-tweet-rendered{min-height:260px}

/* CKEditor mirrors the public-media geometry so authors see the final composition. */
.cms-body .ck-content>img,.cms-body .ck-content>p>img,.cms-body .ck-content>div>img{display:block!important;width:var(--article-image-width,100%)!important;max-width:var(--article-image-width,100%)!important;height:auto!important;margin:20px auto!important}.cms-body .ck-content figure.image,.cms-body .ck-content figure.media,.cms-body .ck-content .media,.cms-body .ck-content .video-embed,.cms-body .ck-content .media-embed,.cms-body .ck-content div[data-oembed-url],.cms-body .ck-content blockquote.twitter-tweet{width:var(--article-embed-width,100%)!important;max-width:var(--article-embed-width,100%)!important;margin:20px auto!important}.cms-body .ck-content figure.image img,.cms-body .ck-content figure.media img{width:100%!important;max-width:100%!important;height:auto!important;margin:0 auto!important}.cms-body .ck-content iframe,.cms-body .ck-content video,.cms-body .ck-content object,.cms-body .ck-content embed{display:block!important;width:var(--article-embed-width,100%)!important;max-width:var(--article-embed-width,100%)!important;margin:20px auto!important}.cms-body .ck-content figure.media iframe,.cms-body .ck-content .media iframe,.cms-body .ck-content .video-embed iframe,.cms-body .ck-content div[data-oembed-url] iframe{width:100%!important;max-width:100%!important;margin:0!important;aspect-ratio:16/9;min-height:180px}


/* 0.6.10 — System status cards & Website Studio article media controls */
.system-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:20px 0 24px}.system-summary-card{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:13px;min-width:0;padding:16px 17px;border:1px solid var(--theme-cms-border,var(--cms-border,#2a2e38));border-radius:13px;background:var(--theme-cms-surface,var(--cms-surface,#17191f));color:var(--theme-cms-text,var(--cms-text,#f4f5f8))}.system-summary-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:11px;background:color-mix(in srgb,var(--cms-accent,#f14f64) 12%,transparent);color:var(--cms-accent,#f14f64)}.system-summary-card>div{display:grid;gap:2px;min-width:0}.system-summary-label{font-size:.66rem;letter-spacing:.085em;text-transform:uppercase;font-weight:800;color:#8f98aa}.system-summary-card strong{display:block;font-size:1.02rem;line-height:1.25;overflow-wrap:anywhere}.system-summary-card small{font-size:.7rem;line-height:1.35;color:#8f98aa}.website-studio-media-width-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.website-studio-media-preview{grid-column:1/-1;display:grid;gap:8px;padding:14px;border-radius:9px;background:var(--cms-surface,#17191f);border:1px solid var(--cms-border,#2a2e38);overflow:hidden}.website-studio-media-preview span{display:block;max-width:100%;margin-inline:auto;border-radius:6px;padding:10px 12px;text-align:center;font-size:.72rem;font-weight:800;background:color-mix(in srgb,var(--cms-accent,#f14f64) 16%,var(--cms-bg,#101218));border:1px dashed color-mix(in srgb,var(--cms-accent,#f14f64) 55%,var(--cms-border,#2a2e38));transition:width .15s ease}.category-edit-form .grid-3{align-items:end}
html[data-theme="light"] .cms-body .system-summary-card,html[data-theme="light"] .cms-body .website-studio-media-preview{background:var(--cms-light-surface,#fff);border-color:var(--cms-light-border,#d8dee8);color:var(--cms-light-text,#1c2230)}
@media(max-width:1300px){.system-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.system-summary-grid,.website-studio-media-width-grid{grid-template-columns:1fr}.system-summary-card{padding:14px}}
/* 0.6.10 — image figures follow the dedicated image-width setting, independently of embed width. */
.article-body figure.image,.article-body figure.image-style-align-center{width:var(--article-image-width,100%)!important;max-width:var(--article-image-width,100%)!important;margin:24px auto!important}
.cms-body .ck-content figure.image,.cms-body .ck-content figure.image-style-align-center{width:var(--article-image-width,100%)!important;max-width:var(--article-image-width,100%)!important;margin:20px auto!important}


/* 0.6.11 — article header alignment, professional taxonomy UI, ad campaign manager and resilient operation console */
.operation-console [hidden],.operation-console[hidden]{display:none!important}
@media(min-width:981px){body.page-article .ac-header-inner{width:min(var(--public-container,1380px),calc(100% - 34px))!important}}
.ac-footer-columns{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.ad-tracking-pixel{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
.custom-ad-slot{position:relative;overflow:hidden}.custom-ad-slot>a.custom-ad-link{display:block}.custom-ad-slot>a.custom-ad-link img,.custom-ad-slot>img:not(.ad-tracking-pixel){display:block;width:100%;height:auto}.custom-html-ad .custom-ad-html{display:grid;gap:10px;color:var(--theme-public-text,var(--public-text));font-family:var(--public-ui-font),Inter,sans-serif}.custom-html-ad .custom-ad-html img{max-width:100%;height:auto}.custom-ad-cta{display:inline-flex;margin-top:12px;padding:8px 12px;border:1px solid var(--theme-public-border,var(--public-border));border-radius:6px;text-decoration:none;font-size:.78rem;font-weight:800}.custom-ad-cta:hover{border-color:var(--public-accent);color:var(--public-accent)}

.category-page-intro{align-items:center}.category-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}.category-kpis article{border:1px solid var(--cms-border);border-radius:10px;background:var(--cms-surface);padding:17px 19px;display:grid;gap:4px}.category-kpis strong{font-size:1.45rem}.category-kpis span{font-size:.72rem;color:var(--cms-muted);text-transform:uppercase;letter-spacing:.08em}.category-create-drawer{padding:0!important;overflow:hidden;margin-bottom:18px}.category-create-drawer>summary,.ad-campaign-create>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 22px}.category-create-drawer>summary::-webkit-details-marker,.ad-campaign-create>summary::-webkit-details-marker,.category-directory-item>summary::-webkit-details-marker,.ad-campaign-item>summary::-webkit-details-marker{display:none}.category-create-drawer>summary>div,.ad-campaign-create>summary>div{display:grid;gap:4px}.category-create-drawer>summary strong,.ad-campaign-create>summary strong{font-size:1.08rem}.category-create-drawer>summary small,.ad-campaign-create>summary small{color:var(--cms-muted)}.category-disclosure{width:34px;height:34px;border:1px solid var(--cms-border);border-radius:8px;display:grid;place-items:center;font-size:1.2rem}.category-create-drawer[open] .category-disclosure,.ad-campaign-create[open] .category-disclosure{transform:rotate(45deg)}.category-form-body,.ad-campaign-form{border-top:1px solid var(--cms-border);padding:22px}.category-form-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:8px}.category-directory{padding:0!important;overflow:hidden}.category-directory>.panel-title,.ad-campaign-directory>.panel-title{padding:22px 24px;border-bottom:1px solid var(--cms-border)}.category-directory-head{display:grid;grid-template-columns:minmax(220px,1.45fr) minmax(180px,1.2fr) 110px 110px 80px 100px;gap:14px;padding:10px 20px;background:color-mix(in srgb,var(--cms-surface) 70%,#000 30%);border-bottom:1px solid var(--cms-border);font-size:.66rem;text-transform:uppercase;letter-spacing:.08em;color:var(--cms-muted);font-weight:800}.category-directory-item{border-bottom:1px solid var(--cms-border)}.category-directory-item:last-child{border-bottom:0}.category-directory-item>summary{list-style:none;cursor:pointer;display:grid;grid-template-columns:minmax(220px,1.45fr) minmax(180px,1.2fr) 110px 110px 80px 100px;gap:14px;align-items:center;padding:15px 20px;min-height:72px}.category-directory-item>summary:hover{background:color-mix(in srgb,var(--cms-accent) 5%,transparent)}.category-directory-identity{display:flex;align-items:center;gap:11px;min-width:0}.category-directory-identity .category-swatch{width:12px;height:38px;border-radius:99px;background:var(--category-color);flex:0 0 auto}.category-directory-identity>span{display:grid;gap:3px;min-width:0}.category-directory-identity strong,.category-directory-public{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.category-directory-identity small,.category-directory-item>summary small{color:var(--cms-muted)}.category-manage-label{display:flex;align-items:center;justify-content:flex-end;gap:6px;color:var(--cms-accent);font-weight:800;font-size:.78rem}.category-manage-label .ui-icon{width:14px;height:14px;transition:transform .18s}.category-directory-item[open] .category-manage-label .ui-icon,.ad-campaign-item[open] .category-manage-label .ui-icon{transform:rotate(180deg)}.category-editor-panel,.ad-campaign-editor{padding:22px;background:color-mix(in srgb,var(--cms-surface) 88%,#000 12%);border-top:1px solid var(--cms-border)}.category-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}.category-editor-heading h3{margin:3px 0 0}.category-danger-zone{margin-top:18px;padding:15px 16px;border:1px solid color-mix(in srgb,#ff5268 38%,var(--cms-border));border-radius:9px;display:flex;align-items:center;justify-content:space-between;gap:16px}.category-danger-zone>div{display:grid;gap:3px}.category-danger-zone small{color:var(--cms-muted)}

.ad-manager-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:16px;margin-bottom:18px}.ad-manager-grid>.panel{margin:0}.ad-global-options{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.ad-analytics-summary{align-content:start}.ad-metric-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0 14px}.ad-metric-grid article{padding:14px;border:1px solid var(--cms-border);border-radius:8px;display:grid;gap:4px}.ad-metric-grid article strong{font-size:1.25rem}.ad-metric-grid article span{font-size:.68rem;color:var(--cms-muted);text-transform:uppercase;letter-spacing:.07em}.ad-campaign-create{padding:0!important;overflow:hidden;margin-bottom:18px}.ad-campaign-create>summary{padding:22px 24px}.ad-html-editor{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace!important;min-height:190px}.ad-enabled-check{align-self:center;padding:13px;border:1px solid var(--cms-border);border-radius:8px}.ad-campaign-directory{padding:0!important;overflow:hidden}.ad-campaign-item{border-bottom:1px solid var(--cms-border)}.ad-campaign-item:last-child{border-bottom:0}.ad-campaign-item>summary{list-style:none;cursor:pointer;display:grid;grid-template-columns:minmax(240px,1.4fr) 90px 120px 100px 90px 90px;gap:14px;align-items:center;padding:14px 20px;min-height:78px}.ad-campaign-item>summary:hover{background:color-mix(in srgb,var(--cms-accent) 5%,transparent)}.ad-campaign-identity{display:flex;align-items:center;gap:11px;min-width:0}.ad-campaign-identity img,.ad-campaign-html-icon{width:64px;height:44px;border-radius:6px;border:1px solid var(--cms-border);object-fit:cover;background:#0d0f13;flex:0 0 auto}.ad-campaign-html-icon{display:grid;place-items:center;font-size:.65rem;font-weight:900;letter-spacing:.08em;color:#d6a6ff}.ad-campaign-identity>span{display:grid;gap:4px;min-width:0}.ad-campaign-identity strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ad-campaign-identity small,.ad-campaign-item>summary small{color:var(--cms-muted)}
@media(max-width:1100px){.category-directory-head{display:none}.category-directory-item>summary{grid-template-columns:minmax(220px,1.5fr) minmax(160px,1fr) 90px 90px}.category-directory-item>summary>:nth-child(5){display:none}.category-directory-item>summary>:nth-child(6){grid-column:4}.ad-manager-grid{grid-template-columns:1fr}.ad-campaign-item>summary{grid-template-columns:minmax(220px,1.4fr) 90px 100px 90px}.ad-campaign-item>summary>:nth-child(4),.ad-campaign-item>summary>:nth-child(5){display:none}.ad-campaign-item>summary>:nth-child(6){grid-column:4}}
@media(max-width:720px){.category-kpis{grid-template-columns:1fr}.category-create-drawer>summary,.ad-campaign-create>summary{padding:17px}.category-form-body,.ad-campaign-form,.category-editor-panel,.ad-campaign-editor{padding:16px}.category-directory-item>summary{grid-template-columns:1fr auto;padding:14px 16px}.category-directory-item>summary>:not(:first-child):not(:last-child){display:none}.category-directory-item>summary>:last-child{grid-column:2}.category-editor-heading,.category-form-actions,.category-danger-zone{align-items:stretch;flex-direction:column}.ad-metric-grid{grid-template-columns:1fr 1fr}.ad-campaign-item>summary{grid-template-columns:1fr auto;padding:13px 16px}.ad-campaign-item>summary>:not(:first-child):not(:last-child){display:none}.ad-campaign-item>summary>:last-child{grid-column:2}.ad-campaign-identity img,.ad-campaign-html-icon{width:54px;height:40px}}

/* 0.6.12 — reliable editorial saves, same-section workspaces, visual field pickers and event workspace */
.admin-context-tabs{display:none!important}
.cms-tabs{min-width:0}.cms-tablist{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 16px;padding:6px;border:1px solid var(--cms-border);border-radius:12px;background:color-mix(in srgb,var(--cms-surface) 88%,transparent)}
.cms-tablist .cms-tab,.cms-tablist>[data-tab-target]{appearance:none;border:1px solid transparent;background:transparent;color:var(--cms-text);border-radius:9px;padding:10px 14px;font:inherit;font-weight:750;cursor:pointer;display:inline-flex;align-items:center;gap:8px;min-height:40px}
.cms-tablist .cms-tab:hover,.cms-tablist>[data-tab-target]:hover{background:color-mix(in srgb,var(--cms-accent) 10%,var(--cms-surface));border-color:color-mix(in srgb,var(--cms-accent) 28%,var(--cms-border))}
.cms-tablist .cms-tab.active,.cms-tablist>[data-tab-target].active{background:color-mix(in srgb,var(--cms-accent) 15%,var(--cms-surface));border-color:var(--cms-accent);box-shadow:inset 0 -2px 0 var(--cms-accent)}
.cms-tabpanel[hidden]{display:none!important}.cms-tabpanel{min-width:0}.generated-section-workspace{margin-top:14px}.generated-section-panel>.panel:first-child{margin-top:0}

/* Visual field controls */
.visual-picker-source{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
.cms-icon-picker,.cms-font-picker,.cms-color-picker{display:flex;align-items:center;gap:8px;width:100%;min-width:0}
.cms-icon-picker .cms-icon-select,.cms-font-picker .cms-font-select{flex:1;min-width:0}
.cms-icon-preview,.cms-font-preview{flex:0 0 42px;height:40px;border:1px solid var(--cms-border);border-radius:9px;background:color-mix(in srgb,var(--cms-surface) 92%,var(--cms-accent) 8%);display:grid;place-items:center;color:var(--cms-text);font-size:19px;font-weight:800}
.cms-font-preview{font-size:16px;letter-spacing:-.02em}.cms-color-picker>input:not(.cms-color-swatch){flex:1;min-width:0}.cms-color-swatch{flex:0 0 48px!important;width:48px!important;height:40px!important;padding:3px!important;border-radius:9px!important;cursor:pointer}.cms-color-clear{appearance:none;border:1px solid var(--cms-border);background:transparent;color:var(--cms-muted);border-radius:8px;padding:8px 10px;cursor:pointer}.cms-color-clear:hover{color:var(--cms-text);border-color:var(--cms-accent)}

/* Events */
.events-page-intro{margin-bottom:14px}.event-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:16px}.event-kpis article{border:1px solid var(--cms-border);border-radius:12px;background:var(--cms-surface);padding:14px 16px}.event-kpis strong{display:block;font-size:24px;line-height:1;color:var(--cms-text)}.event-kpis span{display:block;margin-top:6px;color:var(--cms-muted);font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.06em}
.event-directory-table td{vertical-align:middle}.event-list-title{display:grid;gap:4px}.event-list-title strong{font-size:14px}.event-list-title small{color:var(--cms-muted);overflow-wrap:anywhere}.event-editor-form{display:grid;gap:16px}.event-editor-hero{margin:0}.event-editor-tabs>.cms-tablist{position:sticky;top:8px;z-index:8;backdrop-filter:blur(12px)}
.event-media-preview{min-height:180px;border:1px dashed var(--cms-border);border-radius:12px;display:grid;place-items:center;overflow:hidden;background:color-mix(in srgb,var(--cms-bg) 45%,var(--cms-surface))}.event-media-preview img{display:block;width:100%;max-height:360px;object-fit:contain}.event-media-preview span{display:flex;align-items:center;gap:8px;color:var(--cms-muted)}.event-editor-savebar{display:flex;align-items:center;justify-content:space-between;gap:14px;border-top:1px solid var(--cms-border);padding:16px 0 4px}.event-editor-savebar .button{min-width:150px}

/* Categories as an internal workspace */
.category-workspace-tabs{margin-top:14px}.category-create-form{display:grid;gap:16px}.category-create-tabs>.cms-tablist{margin-bottom:14px}.category-directory{margin:0}.category-directory-item>summary{cursor:pointer}.category-directory-item[open]{border-color:color-mix(in srgb,var(--cms-accent) 42%,var(--cms-border))}

/* Article views */
.article-view-count{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;color:var(--cms-text)}.article-view-count .ui-icon{color:var(--cms-muted)}.article-view-count strong{font-variant-numeric:tabular-nums}
.admin-articles-table th:nth-child(5),.admin-articles-table td:nth-child(5){text-align:center}

/* System uses real internal tabs now. */
.system-connections-tabs{margin-top:12px}.system-connections-tabs>.cms-tablist{position:sticky;top:8px;z-index:9}.system-tab-panel{padding-top:2px}

/* Article manual save no longer uses the generic modal; retain clear progress feedback. */
form[action$="/admin/articles/save"].is-submitting button[type="submit"]{opacity:.7;pointer-events:none}

@media(max-width:1100px){
  .event-kpis{grid-template-columns:1fr 1fr 1fr}.event-directory-table thead{display:none}.event-directory-table,.event-directory-table tbody,.event-directory-table tr,.event-directory-table td{display:block;width:100%}.event-directory-table tr{border-bottom:1px solid var(--cms-border);padding:12px}.event-directory-table td{display:grid;grid-template-columns:120px minmax(0,1fr);gap:12px;border:0!important;padding:7px 0!important;text-align:left!important}.event-directory-table td:before{content:attr(data-label);color:var(--cms-muted);font-size:11px;text-transform:uppercase;letter-spacing:.06em;font-weight:800}.event-directory-table td .row-actions{justify-content:flex-start}
}
@media(max-width:760px){
  .cms-tablist{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin}.cms-tablist .cms-tab,.cms-tablist>[data-tab-target]{white-space:nowrap;flex:0 0 auto}.event-kpis{grid-template-columns:1fr}.event-editor-savebar{align-items:stretch;flex-direction:column}.event-editor-savebar .button{width:100%}.event-directory-table td{grid-template-columns:1fr}.event-directory-table td:before{margin-bottom:2px}.cms-icon-picker,.cms-font-picker,.cms-color-picker{align-items:stretch}.cms-color-picker{flex-wrap:wrap}.cms-color-picker>input:not(.cms-color-swatch){min-width:160px}
}

/* Light mode parity for newly introduced controls. */
html[data-theme="light"] .cms-tablist,html[data-theme="light"] .event-kpis article,html[data-theme="light"] .event-media-preview,html[data-theme="light"] .cms-icon-preview,html[data-theme="light"] .cms-font-preview{background:var(--cms-light-surface);border-color:var(--cms-light-border);color:var(--cms-light-text)}
html[data-theme="light"] .cms-tablist .cms-tab,html[data-theme="light"] .cms-tablist>[data-tab-target],html[data-theme="light"] .article-view-count{color:var(--cms-light-text)}
html[data-theme="light"] .event-kpis span,html[data-theme="light"] .event-list-title small,html[data-theme="light"] .event-media-preview span{color:var(--cms-light-muted)}
/* 0.6.12 article table column rebalance after adding lifetime Views. */
@media(min-width:1181px){
  .admin-articles-table th:nth-child(1){width:28%}
  .admin-articles-table th:nth-child(2){width:10%}
  .admin-articles-table th:nth-child(3){width:8%}
  .admin-articles-table th:nth-child(4){width:14%}
  .admin-articles-table th:nth-child(5){width:7%}
  .admin-articles-table th:nth-child(6){width:6%}
  .admin-articles-table th:nth-child(7){width:27%}
}

/* 0.6.13 editorial/UI hardening */
.article-list-title-link{display:inline-block;min-width:0;color:var(--cms-text,#f4f5f8);font-size:.82rem;font-weight:800;line-height:1.28;text-decoration:none;overflow-wrap:anywhere}.article-list-title-link:hover{text-decoration:underline;text-underline-offset:3px;color:#fff}html[data-theme="light"] .cms-body .article-list-title-link{color:var(--cms-light-text,#1c2230)!important}

/* CKEditor writing canvas: left means visually left, not a centered column simulated by huge padding. */
.ma-editor-enhanced .ck-editor__editable_inline{padding:28px 32px!important;caret-color:var(--cms-accent,#f14f64)}
.ma-editor-align-left .ck-content>p,.ma-editor-align-left .ck-content>h1,.ma-editor-align-left .ck-content>h2,.ma-editor-align-left .ck-content>h3,.ma-editor-align-left .ck-content>h4,.ma-editor-align-left .ck-content>h5,.ma-editor-align-left .ck-content>h6,.ma-editor-align-left .ck-content>ul,.ma-editor-align-left .ck-content>ol,.ma-editor-align-left .ck-content>blockquote,.ma-editor-align-left .ck-content>pre,.ma-editor-align-left .ck-content>table{max-width:var(--ma-editor-content-width,820px);margin-left:0!important;margin-right:auto!important}
.ma-editor-align-center .ck-content>p,.ma-editor-align-center .ck-content>h1,.ma-editor-align-center .ck-content>h2,.ma-editor-align-center .ck-content>h3,.ma-editor-align-center .ck-content>h4,.ma-editor-align-center .ck-content>h5,.ma-editor-align-center .ck-content>h6,.ma-editor-align-center .ck-content>ul,.ma-editor-align-center .ck-content>ol,.ma-editor-align-center .ck-content>blockquote,.ma-editor-align-center .ck-content>pre,.ma-editor-align-center .ck-content>table{max-width:var(--ma-editor-content-width,820px);margin-left:auto!important;margin-right:auto!important}
.ma-editor-align-fluid .ck-content>*{max-width:none!important}.ma-editor-enhanced .ck-content{background-image:linear-gradient(90deg,color-mix(in srgb,var(--cms-border,#2a2e38) 38%,transparent) 0 1px,transparent 1px);background-size:100% 100%;background-position:left top;background-repeat:no-repeat}
html[data-theme="light"] .cms-body .ma-editor-enhanced .ck-content{background-image:linear-gradient(90deg,color-mix(in srgb,var(--cms-light-border,#d8dee8) 65%,transparent) 0 1px,transparent 1px)}

/* Center the actual glyph, not just the button box, across the CMS. */
.cms-body .button,.cms-body .icon-action,.cms-body .cms-tab,.cms-body .admin-context-tab,.cms-body .sidebar-toggle,.cms-body .menu-toggle,.cms-body [data-scan-start]{align-items:center!important}.cms-body .button>.ui-icon,.cms-body .icon-action>.ui-icon,.cms-body .cms-tab>.ui-icon,.cms-body .admin-context-tab>.ui-icon,.cms-body button>.ui-icon,.cms-body a.button>.ui-icon{display:inline-flex!important;align-items:center!important;justify-content:center!important;align-self:center!important;line-height:1!important;vertical-align:middle!important;flex:0 0 auto}.cms-body .ui-icon svg,.cms-body svg.ui-icon{display:block!important;margin:auto!important;transform:none!important}.cms-body button:has(>.ui-icon):not(.button):not(.icon-action):not(.cms-tab){align-items:center}.cms-body .button-icon{position:static!important;top:auto!important}

/* Modern featured carousel navigation. */
.ac-feature-carousel{--carousel-arrow-size:44px;--carousel-arrow-inset:16px}.ac-carousel-arrows{gap:10px}.ac-carousel-arrows button{width:var(--carousel-arrow-size)!important;height:var(--carousel-arrow-size)!important;min-width:var(--carousel-arrow-size)!important;min-height:var(--carousel-arrow-size)!important;padding:0!important;border-radius:999px!important;display:grid!important;place-items:center!important;color:#fff!important;box-shadow:0 8px 24px rgba(0,0,0,.28);transition:transform .16s ease,background .16s ease,border-color .16s ease,opacity .16s ease}.ac-carousel-arrows button svg{width:52%;height:52%;display:block;fill:none;stroke:currentColor;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round}.ac-carousel-arrows button:hover{transform:translateY(-1px) scale(1.04)}.ac-carousel-arrows button:focus-visible{outline:3px solid color-mix(in srgb,var(--public-accent) 75%,#fff);outline-offset:3px}.ac-carousel-arrows button:disabled{opacity:.35;cursor:not-allowed;transform:none}.ac-feature-carousel[data-arrow-style="glass"] .ac-carousel-arrows button{background:rgba(10,12,18,.58)!important;border:1px solid rgba(255,255,255,.34)!important;backdrop-filter:blur(12px) saturate(135%)}.ac-feature-carousel[data-arrow-style="solid"] .ac-carousel-arrows button{background:var(--public-accent)!important;border:1px solid var(--public-accent)!important}.ac-feature-carousel[data-arrow-style="minimal"] .ac-carousel-arrows button{background:rgba(10,12,18,.18)!important;border-color:transparent!important;box-shadow:none}.ac-feature-controls{right:var(--carousel-arrow-inset)!important}.ac-feature-slide{transition-duration:var(--carousel-speed,.45s)!important}.ac-feature-carousel.carousel-slide-effect:not(.swiper-active) .ac-feature-slide{transform:translateX(4%);transition:opacity var(--carousel-speed,.45s) ease,transform var(--carousel-speed,.45s) ease}.ac-feature-carousel.carousel-slide-effect:not(.swiper-active) .ac-feature-slide.active{transform:translateX(0)}
/* Swiper is optional and locally installed; these overrides make the same markup usable by it. */
.ac-feature-carousel.swiper-active{overflow:hidden}.ac-feature-carousel.swiper-active .ac-feature-stage{overflow:visible;border:0;border-radius:0;background:transparent}.ac-feature-carousel.swiper-active .ac-feature-slide{position:relative!important;inset:auto!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;height:100%!important}.ac-feature-carousel.swiper-active .swiper-wrapper{height:100%}.ac-feature-carousel.swiper-active .ac-feature-controls{position:absolute;z-index:20}

.runtime-status-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:14px 0}.runtime-status-grid>span{display:grid;gap:4px;min-width:0;padding:11px 12px;border:1px solid var(--cms-border,#2a2e38);border-radius:8px;background:#11141b}.runtime-status-grid b{font-size:.82rem;overflow-wrap:anywhere}.runtime-status-grid small{color:#838da0;font-size:.63rem}.module-runtime-card .module-hero-actions{margin-top:14px}.security-definition-output{margin-top:16px}.security-definition-output pre{max-height:260px;overflow:auto;padding:12px;border:1px solid var(--cms-border,#2a2e38);border-radius:8px;background:#0e1117;color:#cbd5e1;font-size:.7rem;white-space:pre-wrap}.carousel-arrow-preview{display:flex;align-items:center;gap:12px;margin:18px 0}.carousel-arrow-preview button{width:48px;height:48px;display:grid;place-items:center;border:1px solid #4a5262;border-radius:999px;background:#121620;color:#fff}.carousel-arrow-preview svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
html[data-theme="light"] .cms-body .runtime-status-grid>span{background:#f7f9fc!important;border-color:var(--cms-light-border,#d8dee8)!important}html[data-theme="light"] .cms-body .runtime-status-grid b{color:var(--cms-light-text,#1c2230)!important}
@media(max-width:720px){.runtime-status-grid{grid-template-columns:1fr}.ma-editor-enhanced .ck-editor__editable_inline{padding:20px 18px!important}.ac-carousel-arrows button{--carousel-arrow-size:40px}}

/* 0.6.13 final carousel/CMS icon alignment corrections. */
.ac-feature-carousel{position:relative}
.ac-feature-carousel.swiper-active{border:1px solid #2a2c36;border-radius:7px;background:#15161d}
.ac-feature-carousel.swiper-active .ac-feature-controls{left:48px;right:var(--carousel-arrow-inset)!important;bottom:31px}
.cms-body button:has(svg),.cms-body a:has(>.ui-icon),.cms-body button:has(.ui-icon){align-items:center!important}
.cms-body button:has(>.ui-icon:only-child),.cms-body a:has(>.ui-icon:only-child){justify-content:center!important}
.cms-body button svg,.cms-body a.button svg,.cms-body .icon-action svg{align-self:center!important;vertical-align:middle!important}
@media(max-width:720px){.ac-feature-carousel.swiper-active .ac-feature-controls{left:22px;right:20px!important;bottom:23px}}

/* Manga Afternoon CMS 0.6.14-dev — professional control alignment, recovery & updater */
.article-list-kpis{grid-template-columns:repeat(6,minmax(0,1fr));align-items:stretch}
.article-list-kpis>span{min-height:46px;align-items:center;margin:0}
.article-list-toolbar{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:end!important;gap:10px 14px}
.article-list-toolbar .toolbar-search{display:grid!important;grid-template-columns:minmax(280px,1fr) minmax(150px,180px) auto auto;align-items:end!important;gap:9px;width:100%;margin:0!important}
.article-list-toolbar .toolbar-search>*{margin:0!important;min-height:42px}
.article-list-toolbar .search-control{display:flex!important;align-items:center;min-width:0!important;width:100%;height:42px;margin:0!important}
.article-list-toolbar .search-control input{height:40px!important}
.article-list-toolbar .toolbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap;margin:0!important}
.article-list-toolbar .toolbar-actions .button{min-height:42px}
@media(max-width:1500px){.article-list-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.article-list-toolbar{grid-template-columns:1fr}.article-list-toolbar .toolbar-actions{justify-content:flex-start}}
@media(max-width:900px){.article-list-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.article-list-toolbar .toolbar-search{grid-template-columns:1fr 1fr}.article-list-toolbar .search-control{grid-column:1/-1}}
@media(max-width:580px){.article-list-kpis{grid-template-columns:1fr}.article-list-toolbar .toolbar-search{grid-template-columns:1fr}.article-list-toolbar .toolbar-search>*{grid-column:auto}.article-list-toolbar .toolbar-actions{display:grid;grid-template-columns:1fr 1fr}.article-list-toolbar .toolbar-actions .button{width:100%}}

/* A single, predictable button geometry for the whole administration interface. */
.cms-body .button,.cms-body button.button,.cms-body a.button,.cms-body .icon-action,.cms-body .cms-tab,.cms-body .admin-context-tab{box-sizing:border-box;display:inline-flex;align-items:center!important;justify-content:center;gap:.48rem;line-height:1.15}
.cms-body .button .ui-icon,.cms-body .icon-action .ui-icon,.cms-body .cms-tab .ui-icon,.cms-body .admin-context-tab .ui-icon,.cms-body button>.ui-icon,.cms-body a.button>.ui-icon{display:inline-grid!important;place-items:center!important;width:1.05rem;height:1.05rem;min-width:1.05rem;min-height:1.05rem;line-height:1!important;margin:0!important;padding:0!important;position:static!important;transform:none!important}
.cms-body .ui-icon>svg,.cms-body button svg,.cms-body a.button svg,.cms-body .icon-action svg{display:block!important;width:100%;height:100%;margin:auto!important;vertical-align:middle!important;align-self:center!important}
.cms-body .icon-action{justify-content:center!important}
.cms-body .article-action-grid .icon-action{justify-content:flex-start!important}
.cms-body .cms-cancel-button,.cms-body .article-cancel-button{background:transparent!important;border:1px solid #465062!important;color:#c8d0dc!important;box-shadow:none!important;text-decoration:none!important}
.cms-body .cms-cancel-button:hover,.cms-body .article-cancel-button:hover{background:#202631!important;border-color:#697588!important;color:#fff!important;transform:none!important}
.cms-body .cms-cancel-button:focus-visible,.cms-body .article-cancel-button:focus-visible{outline:2px solid color-mix(in srgb,var(--cms-accent,#f14f64) 65%,#fff);outline-offset:2px}
html[data-theme="light"] .cms-body .cms-cancel-button,html[data-theme="light"] .cms-body .article-cancel-button{background:#fff!important;color:#364152!important;border-color:#c7d0dc!important}
html[data-theme="light"] .cms-body .cms-cancel-button:hover,html[data-theme="light"] .cms-body .article-cancel-button:hover{background:#f2f5f8!important;color:#111827!important;border-color:#9da9b8!important}

.article-recovery-notice{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:12px 0;padding:12px 14px;border:1px solid #735b27;border-radius:10px;background:#211c12;color:#e7ddc7}.article-recovery-notice strong{color:#ffd878}.article-recovery-notice span{font-size:.78rem;color:#c7bdab}
html[data-theme="light"] .cms-body .article-recovery-notice{background:#fff9e8;color:#5b4a18;border-color:#dfc476}html[data-theme="light"] .cms-body .article-recovery-notice span{color:#6b5c32}

/* Comprehensive icon/emoji and font selectors. */
.cms-icon-picker{display:grid!important;grid-template-columns:42px minmax(160px,1fr) auto;align-items:center!important;gap:8px;max-width:100%}.cms-icon-picker .cms-icon-preview{width:42px;height:42px;display:grid!important;place-items:center;font-size:1.35rem}.cms-emoji-browse{min-height:42px!important;white-space:nowrap}.cms-icon-picker>.visual-picker-source{display:none!important}
.cms-font-picker{display:grid!important;grid-template-columns:42px minmax(180px,1fr);align-items:center!important;gap:8px}.cms-font-select{width:100%;min-height:42px}.cms-font-preview{width:42px;height:42px;display:grid!important;place-items:center}
.emoji-browser[hidden]{display:none!important}.emoji-browser{position:fixed;inset:0;z-index:100000;display:grid;place-items:center;padding:22px}.emoji-browser-backdrop{position:absolute;inset:0;background:rgba(2,5,10,.76);backdrop-filter:blur(4px)}.emoji-browser-dialog{position:relative;z-index:1;width:min(880px,96vw);max-height:min(760px,90vh);display:grid;grid-template-rows:auto auto auto minmax(0,1fr);gap:12px;padding:18px;border:1px solid var(--cms-border,#343b48);border-radius:15px;background:var(--cms-surface,#17191f);box-shadow:0 28px 90px rgba(0,0,0,.48);color:var(--cms-text,#f4f5f8)}.emoji-browser-dialog header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.emoji-browser-dialog h2{margin:2px 0 4px}.emoji-browser-dialog p{margin:0;color:#8e98aa}.emoji-browser-tools{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:9px}.emoji-browser-tools input,.emoji-browser-tools select{min-height:42px}.emoji-browser-status{font-size:.72rem;color:#8f99aa}.emoji-browser-grid{overflow:auto;display:grid;grid-template-columns:repeat(auto-fill,minmax(46px,1fr));align-content:start;gap:5px;padding:8px;border:1px solid var(--cms-border,#2a2e38);border-radius:10px;background:#0f1218}.emoji-option{width:100%;aspect-ratio:1;border:1px solid transparent;border-radius:8px;background:transparent;color:inherit;font-size:1.55rem;cursor:pointer;display:grid;place-items:center}.emoji-option:hover,.emoji-option:focus-visible{background:#252b36;border-color:#505b6d;outline:0}.emoji-browser-dialog .icon-action{width:40px;height:40px;font-size:1.35rem}
html[data-theme="light"] .cms-body .emoji-browser-dialog{background:#fff;color:var(--cms-light-text,#1c2230);border-color:var(--cms-light-border,#d8dee8)}html[data-theme="light"] .cms-body .emoji-browser-grid{background:#f5f7fa;border-color:var(--cms-light-border,#d8dee8)}html[data-theme="light"] .cms-body .emoji-option:hover{background:#e8edf3;border-color:#bac4d1}
@media(max-width:650px){.cms-icon-picker{grid-template-columns:42px minmax(0,1fr)}.cms-emoji-browse{grid-column:1/-1;width:100%}.emoji-browser{padding:8px}.emoji-browser-tools{grid-template-columns:1fr}.emoji-browser-dialog{max-height:96vh;padding:12px}}

/* Administration menu ordering. */
.admin-menu-order-editor{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0}.admin-menu-order-group{min-width:0;padding:14px;border:1px solid var(--cms-border,#2a2e38);border-radius:11px;background:var(--cms-surface,#17191f)}.admin-menu-order-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:10px}.admin-menu-order-heading h3{margin:3px 0 0}.admin-menu-sortable{display:grid;gap:6px}.admin-menu-order-item{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:46px;padding:7px 8px;border:1px solid #343a46;border-radius:8px;background:#11151c;cursor:grab}.admin-menu-order-item.is-dragging{opacity:.5;border-style:dashed}.admin-menu-drag{display:grid;place-items:center;color:#748095}.admin-menu-order-controls{display:flex;gap:4px}.admin-menu-order-controls .icon-action{width:31px;height:31px;padding:7px!important}.admin-menu-order-item strong{font-size:.78rem}.admin-menu-order-heading .muted{font-size:.66rem}
html[data-theme="light"] .cms-body .admin-menu-order-group{background:#fff;border-color:var(--cms-light-border,#d8dee8)}html[data-theme="light"] .cms-body .admin-menu-order-item{background:#f7f9fc;color:var(--cms-light-text,#1c2230);border-color:#d6dde7}
@media(max-width:1150px){.admin-menu-order-editor{grid-template-columns:1fr}}

/* Update Center: utility software, not a marketing CTA. */
.update-center-pro{display:grid;gap:16px}.update-center-pro .update-panel,.update-center-pro>.panel{border-radius:14px!important;border:1px solid var(--cms-border,#2a2e38)!important;background:var(--cms-surface,#17191f)!important;box-shadow:0 12px 34px rgba(0,0,0,.12)!important;padding:22px!important}.update-center-pro .version-badge{display:inline-flex;align-items:center;gap:7px;padding:8px 11px;margin:8px 0 18px;border:1px solid #394353;border-radius:9px;background:#202630;color:#f6f8fb}.update-center-pro .drop-upload{min-height:190px;padding:28px!important;margin:14px 0!important;border:1px dashed #566174!important;border-radius:12px!important;background:linear-gradient(180deg,#121720,#10141b)!important;transition:border-color .15s,background .15s}.update-center-pro .drop-upload:hover{border-color:#8490a3!important;background:#151b25!important}.update-center-pro .drop-icon{font-size:1.65rem!important;color:#8d75ff}.update-center-pro [data-update-upload]{display:grid;gap:12px}.update-center-pro [data-update-submit]{justify-self:end;width:auto!important;min-width:230px!important;min-height:44px!important;padding:0 18px!important;border-color:#3c4656!important;background:#202630!important;color:#f5f7fa!important;box-shadow:none!important}.update-center-pro [data-update-submit]:hover{background:#2a3240!important;border-color:#69768a!important}.update-center-pro .update-resumable-progress{padding:16px!important;border-radius:12px!important;background:#11161e!important}.update-center-pro .progress{height:8px!important;background:#272f3b!important}.update-center-pro .progress span{background:linear-gradient(90deg,#6b83ff,var(--cms-accent,#f14f64))!important}.update-center-pro .update-stage-row{padding-top:5px;border-top:1px solid #29303c}.update-center-pro [data-update-stage]{display:inline-flex;padding:4px 7px;border:1px solid #40495a;border-radius:999px;background:#1c222c;color:#dbe2ec;font-size:.62rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.update-center-pro .update-actions-row .button{background:#171c24!important;border-color:#3b4555!important;color:#e7ebf1!important}.update-center-pro .update-actions-row .button:hover{background:#242b36!important;border-color:#667386!important}.update-center-pro .recovery-token-banner{border:1px solid #38506d!important;background:#112030!important;box-shadow:none!important}.update-center-pro .recovery-token-banner input{background:#0e1722!important}.update-center-pro .notice,.update-center-pro .info-box{border-radius:10px}
html[data-theme="light"] .cms-body .update-center-pro .update-panel,html[data-theme="light"] .cms-body .update-center-pro>.panel{background:#fff!important;border-color:var(--cms-light-border,#d8dee8)!important;box-shadow:0 10px 28px rgba(25,36,55,.06)!important}html[data-theme="light"] .cms-body .update-center-pro .drop-upload{background:#f7f9fc!important;border-color:#b7c1cf!important}html[data-theme="light"] .cms-body .update-center-pro .drop-upload:hover{background:#f0f4f8!important;border-color:#7f8da1!important}html[data-theme="light"] .cms-body .update-center-pro .update-resumable-progress{background:#f8fafc!important;border-color:#d8dee8!important}html[data-theme="light"] .cms-body .update-center-pro [data-update-submit]{background:#263141!important;color:#fff!important;border-color:#263141!important}html[data-theme="light"] .cms-body .update-center-pro .recovery-token-banner{background:#eef6ff!important;border-color:#a8c9ea!important;color:#1e3a56!important}

/* Security scheduler status remains readable without turning the page into a wall of text. */
.security-schedule-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.security-schedule-state{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px}.security-schedule-state>div{padding:10px;border:1px solid var(--cms-border,#2a2e38);border-radius:8px;background:#11151c}.security-schedule-state small{display:block;color:#8993a5;font-size:.63rem;margin-bottom:3px}.security-schedule-state strong{font-size:.75rem;overflow-wrap:anywhere}@media(max-width:780px){.security-schedule-grid,.security-schedule-state{grid-template-columns:1fr}}
.editor-font-family-select{width:100%;min-height:320px;padding:6px!important;border-radius:9px;background:#11151c!important}.editor-font-family-select option{padding:7px 9px;border-radius:5px}.editor-font-family-select option:checked{background:color-mix(in srgb,var(--cms-accent,#f14f64) 24%,#202630);color:#fff}html[data-theme="light"] .cms-body .editor-font-family-select{background:#fff!important;color:var(--cms-light-text,#1c2230)!important;border-color:var(--cms-light-border,#d8dee8)!important}
.update-center-pro.update-panel{border-radius:14px!important;border:1px solid var(--cms-border,#2a2e38)!important;background:var(--cms-surface,#17191f)!important;padding:22px!important}
.article-list-kpis>span{flex-direction:column;align-items:flex-start!important;justify-content:center!important;gap:3px!important;padding:10px 13px!important}.article-list-kpis strong{font-size:1.05rem!important;line-height:1}.article-list-kpis>span{font-size:.62rem!important;letter-spacing:.075em}

/* 0.6.31 — definitive CKEditor 48 integration + public language switch alignment */
.ckeditor-host{position:relative;display:block;width:100%;min-width:0;isolation:isolate}.ckeditor-host.ckeditor-loading{min-height:430px}.ckeditor-host.ckeditor-loading::before{content:"Loading CKEditor…";position:absolute;inset:12px auto auto 12px;z-index:2;padding:5px 8px;border:1px solid var(--cms-border,#303540);border-radius:6px;background:var(--cms-surface,#17191f);color:var(--cms-muted,#98a2b3);font-size:.68rem;font-weight:750;pointer-events:none}.ckeditor-host.ckeditor-ready::before{display:none}.ckeditor-host>.ck-editor,.ckeditor-host .ck.ck-editor{width:100%!important;max-width:100%!important}.ckeditor-host .ck.ck-menu-bar{position:relative!important;z-index:5!important;display:flex!important;visibility:visible!important;width:100%!important;border-color:var(--cms-border,#303540)!important;background:var(--cms-surface,#151922)!important}.ckeditor-host .ck.ck-menu-bar .ck-menu-bar__menu{visibility:visible!important}.ckeditor-host .ck.ck-toolbar{position:relative!important;z-index:4!important;display:flex!important;visibility:visible!important;width:100%!important;max-width:100%!important;flex-wrap:wrap!important;overflow:visible!important}.ckeditor-host .ck.ck-toolbar>.ck-toolbar__items,.ckeditor-host .ck-toolbar__items{display:flex!important;visibility:visible!important;flex:1 1 100%!important;flex-wrap:wrap!important;align-items:center!important;gap:2px!important;row-gap:4px!important;overflow:visible!important}.ckeditor-host .ck.ck-toolbar .ck-button,.ckeditor-host .ck.ck-toolbar .ck-dropdown{visibility:visible!important}.ckeditor-host .ck-editor__main{width:100%!important;max-width:100%!important}.ckeditor-host .ck-editor__editable_inline{min-height:430px!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important;cursor:text!important;user-select:text!important;-webkit-user-select:text!important;caret-color:currentColor!important}.ckeditor-host[dir="rtl"] .ck-editor__editable_inline,.ckeditor-host.arabic-editor .ck-editor__editable_inline{direction:rtl!important;text-align:right!important;font-family:"Noto Sans Arabic",var(--cms-font,Inter),sans-serif!important}.ckeditor-host[dir="rtl"] .ck.ck-menu-bar,.ckeditor-host[dir="rtl"] .ck.ck-toolbar{direction:ltr!important}.ckeditor-host.ckeditor-fallback-active .editor-toolbar-generated{display:flex!important}.ckeditor-host.ckeditor-ready .editor-toolbar-generated{display:none!important}html[data-theme="dark"] .cms-body .ckeditor-host .ck.ck-menu-bar{background:#11141b!important;color:#e9edf4!important;border-color:#303540!important}html[data-theme="dark"] .cms-body .ckeditor-host .ck.ck-menu-bar .ck-button{color:#d7dde8!important}html[data-theme="dark"] .cms-body .ckeditor-host .ck.ck-menu-bar .ck-button:hover,html[data-theme="dark"] .cms-body .ckeditor-host .ck.ck-menu-bar .ck-button.ck-on{background:#252b37!important;color:#fff!important}html[data-theme="light"] .cms-body .ckeditor-host .ck.ck-menu-bar{background:#fff!important;color:#1c2230!important;border-color:#d8dee8!important}.ac-public .language-switch{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;min-height:30px!important;line-height:1!important}.ac-public .language-option{display:grid!important;place-items:center!important;width:34px!important;height:28px!important;padding:0!important;box-sizing:border-box!important}.ac-public .language-option img{display:block!important;width:26px!important;height:18px!important;object-fit:cover!important;margin:0!important}.ac-public .public-theme-switch{display:inline-flex!important;align-items:center!important;justify-content:center!important;height:30px!important;min-width:48px!important;margin:0!important;line-height:1!important;vertical-align:middle!important;direction:ltr!important}.ac-public .public-theme-switch .theme-switch-track{direction:ltr!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;flex:0 0 44px!important;width:44px!important;height:24px!important;padding:2px!important;box-sizing:border-box!important;margin:0!important}.ac-public .public-theme-switch .theme-switch-thumb{flex:0 0 18px!important;width:18px!important;height:18px!important;margin:0!important;transform:translateX(0)!important}.ac-public .public-theme-switch input:checked+.theme-switch-track .theme-switch-thumb{transform:translateX(20px)!important}html[dir="rtl"] .ac-header-tools{align-items:center!important}html[dir="rtl"] .language-switch,html[dir="rtl"] .public-theme-switch{direction:ltr!important;align-self:center!important}html[dir="rtl"] .public-theme-switch .theme-switch-track{direction:ltr!important}html[dir="rtl"] .public-theme-switch .theme-switch-thumb{transform:translateX(0)!important}html[dir="rtl"] .public-theme-switch input:checked+.theme-switch-track .theme-switch-thumb{transform:translateX(20px)!important}

/* 0.6.32-dev — CKEditor writable-canvas hotfix. */
.ma-ckeditor-mount{position:relative;display:block;width:100%;min-width:0;isolation:isolate}
.ma-ckeditor-mount>.ck-editor,.ma-ckeditor-mount .ck-editor__main{position:relative!important;width:100%!important;max-width:100%!important;pointer-events:auto!important}
.ma-ckeditor-mount .ck-editor__editable,.ma-ckeditor-mount .ck-editor__editable_inline,.ma-ckeditor-mount .ck-content{position:relative!important;z-index:2!important;pointer-events:auto!important;user-select:text!important;-webkit-user-select:text!important;cursor:text!important;caret-color:currentColor!important}
.ma-ckeditor-mount .ck-editor__editable[contenteditable="true"]{min-height:430px!important;outline:none!important}
.ckeditor-host.ckeditor-ready>.ma-editor{display:none!important;pointer-events:none!important}
.ckeditor-host.ckeditor-ready>.editor-toolbar-generated{display:none!important}
.ckeditor-host.ckeditor-fallback-active>.ma-editor{display:block!important;pointer-events:auto!important}
.ckeditor-host.ckeditor-fallback-active>.editor-toolbar-generated{display:flex!important}

/* 0.6.33-dev — CKEditor native attach/focus ownership. */
.ckeditor-host.ckeditor-ready{pointer-events:auto!important}
.ckeditor-host.ckeditor-ready::before,.ckeditor-host.ckeditor-ready::after{pointer-events:none!important}
.ma-ckeditor-mount{z-index:10!important;pointer-events:auto!important;overflow:visible!important}
.ma-ckeditor-mount>.ma-ckeditor-attach{position:relative;display:block;width:100%;min-height:1px;pointer-events:auto!important}
.ma-ckeditor-mount>.ck-editor,.ma-ckeditor-mount .ck.ck-editor{position:relative!important;z-index:1!important;width:100%!important;pointer-events:auto!important}
.ma-ckeditor-mount .ck-editor__main,.ma-ckeditor-mount .ck-editor__editable,.ma-ckeditor-mount .ck-editor__editable_inline{pointer-events:auto!important}
.editor-panel>.ckeditor-host{position:relative!important;z-index:2!important;overflow:visible!important}

/* 0.6.34-dev — full CKEditor source-element bootstrap. */
.ma-ckeditor-mount>.ma-ckeditor-source{display:none!important}
.ma-ckeditor-mount>.ck.ck-editor{position:relative!important;z-index:1!important;width:100%!important;max-width:100%!important}
.ckeditor-host.ckeditor-ready .ck.ck-editor__top{position:relative!important;z-index:6!important;width:100%!important}
.ckeditor-host.ckeditor-ready .ck.ck-menu-bar{display:flex!important;visibility:visible!important;flex-wrap:wrap!important;width:100%!important;min-height:34px!important}
.ckeditor-host.ckeditor-ready .ck.ck-toolbar{display:flex!important;visibility:visible!important;width:100%!important;max-width:100%!important;overflow:visible!important}
.ckeditor-host.ckeditor-ready .ck.ck-toolbar>.ck-toolbar__items{display:flex!important;visibility:visible!important;flex:1 1 100%!important;flex-wrap:wrap!important;overflow:visible!important}
.ckeditor-host.ckeditor-ready .ck-editor__main,.ckeditor-host.ckeditor-ready .ck-editor__editable_inline{position:relative!important;width:100%!important;max-width:100%!important;pointer-events:auto!important}
.ckeditor-host.ckeditor-ready .ck-editor__editable_inline{min-height:520px!important;user-select:text!important;-webkit-user-select:text!important;cursor:text!important}

/* 0.6.35-dev — TinyMCE editorial engine + resumable Community runtime manager. */
.tinymce-host{position:relative;display:block;width:100%;min-width:0;isolation:isolate}.tinymce-host.tinymce-loading{min-height:430px}.tinymce-host.tinymce-loading::before{content:"Loading TinyMCE…";position:absolute;inset:12px auto auto 12px;z-index:2;padding:5px 8px;border:1px solid var(--cms-border,#303540);border-radius:6px;background:var(--cms-surface,#17191f);color:var(--cms-muted,#98a2b3);font-size:.68rem;font-weight:750;pointer-events:none}.tinymce-host.tinymce-ready::before{display:none}.tinymce-host>.tinymce-mount{position:relative;z-index:4;display:block;width:100%;min-width:0}.tinymce-host .tox.tox-tinymce{width:100%!important;max-width:100%!important;border:1px solid var(--cms-border,#303540)!important;border-radius:10px!important;box-shadow:none!important;overflow:hidden!important}.tinymce-host .tox .tox-editor-header{z-index:8!important}.tinymce-host .tox .tox-menubar,.tinymce-host .tox .tox-toolbar-overlord,.tinymce-host .tox .tox-toolbar__primary{flex-wrap:wrap!important}.tinymce-host .tox .tox-toolbar__group{flex-wrap:wrap!important}.tinymce-host .tox .tox-edit-area{min-height:420px!important}.tinymce-host.tinymce-ready>.ma-editor{display:none!important;pointer-events:none!important}.tinymce-host.tinymce-ready>.editor-toolbar-generated{display:none!important}.tinymce-host.tinymce-fallback-active>.ma-editor{display:block!important;min-height:430px!important;pointer-events:auto!important;cursor:text!important;user-select:text!important;-webkit-user-select:text!important}.tinymce-host.tinymce-fallback-active>.editor-toolbar-generated{display:flex!important}.tinymce-host>.tinymce-fallback-notice{margin-bottom:10px}.tinymce-host[dir="rtl"] .tox-edit-area iframe,.tinymce-host.arabic-editor .tox-edit-area iframe{direction:rtl}.tinymce-host[dir="rtl"] .tox-editor-header,.tinymce-host.arabic-editor .tox-editor-header{direction:ltr}.ma-tinymce-source{width:100%;min-height:430px}
.tinymce-runtime-manager{display:grid;gap:14px;padding:18px;border:1px solid var(--cms-border,#2f3540);border-radius:12px;background:color-mix(in srgb,var(--cms-surface,#17191f) 94%,#000)}.tinymce-runtime-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.tinymce-runtime-head h3{margin:.2rem 0 .35rem}.tinymce-runtime-head p{margin:0;max-width:780px}.tinymce-runtime-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.tinymce-runtime-stat{display:grid;gap:3px;padding:12px;border:1px solid var(--cms-border,#303641);border-radius:9px;background:#11151c}.tinymce-runtime-stat>span{font-size:.62rem;text-transform:uppercase;letter-spacing:.08em;color:#8994a7}.tinymce-runtime-stat>strong{font-size:.86rem;overflow-wrap:anywhere}.tinymce-runtime-stat>small{font-size:.65rem;color:#8f99aa;overflow-wrap:anywhere}.tinymce-runtime-actions{display:flex;gap:8px;flex-wrap:wrap}.tinymce-runtime-progress{display:grid;gap:7px;padding:12px;border:1px solid var(--cms-border,#303641);border-radius:9px;background:#10141a}.tinymce-runtime-progress-top{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:.72rem;text-transform:capitalize}.tinymce-runtime-progress .progress-track{height:8px;overflow:hidden;border-radius:999px;background:#252b35}.tinymce-runtime-progress .progress-track>span{display:block;height:100%;width:0;background:var(--cms-accent,#f14f64);transition:width .18s ease}.tinymce-runtime-progress p{margin:0}.tinymce-runtime-note{margin:0!important;display:flex!important;gap:7px;flex-wrap:wrap}.tinymce-runtime-manager.has-module-error{border-color:#713744}.tinymce-runtime-manager.has-module-done{border-color:#335d49}.status-chip.ok{border-color:#315b47!important}.status-chip.warning{border-color:#765f2d!important}.cms-inline-notice-copy .button.small{margin-top:8px;width:max-content}
html[data-theme="light"] .cms-body .tinymce-runtime-manager{background:#fff;border-color:#d8dee8}html[data-theme="light"] .cms-body .tinymce-runtime-stat,html[data-theme="light"] .cms-body .tinymce-runtime-progress{background:#f7f9fc;border-color:#d8dee8}html[data-theme="light"] .cms-body .tinymce-runtime-stat>small,html[data-theme="light"] .cms-body .tinymce-runtime-stat>span{color:#647187}html[data-theme="light"] .cms-body .tinymce-runtime-progress .progress-track{background:#dfe5ed}
@media(max-width:900px){.tinymce-runtime-head{display:grid}.tinymce-runtime-grid{grid-template-columns:1fr}.tinymce-runtime-actions .button{flex:1 1 220px}}

/* 0.6.36-dev — Editorial TinyMCE UI, lazy native fallback and responsive embeds. */
.tinymce-host:not(.tinymce-fallback-active)>.editor-toolbar,
.tinymce-host.tinymce-loading>.editor-toolbar,
.tinymce-host.tinymce-ready>.editor-toolbar{display:none!important}
.tinymce-host .tox.tox-tinymce{border:1px solid #d6dce5!important;border-radius:9px!important;background:#fff!important;box-shadow:0 1px 2px rgba(16,24,40,.05)!important}
.tinymce-host .tox .tox-editor-header{background:#fff!important;border-bottom:1px solid #e4e8ef!important;box-shadow:none!important;padding-top:2px!important}
.tinymce-host .tox .tox-menubar,.tinymce-host .tox .tox-toolbar-overlord,.tinymce-host .tox .tox-toolbar,.tinymce-host .tox .tox-toolbar__primary{background:#fff!important}
.tinymce-host .tox .tox-menubar{padding:3px 8px 1px!important}
.tinymce-host .tox .tox-toolbar-overlord{padding:2px 6px 6px!important}
.tinymce-host .tox .tox-toolbar__group{padding:0 5px!important;border-color:#e7eaf0!important}
.tinymce-host .tox .tox-tbtn{border-radius:6px!important}
.tinymce-host .tox .tox-edit-area{background:#eef1f5!important;min-height:460px!important}
.tinymce-host .tox .tox-edit-area__iframe{background:#eef1f5!important}
.tinymce-host .tox .tox-statusbar{min-height:28px!important;background:#fff!important;border-top:1px solid #e7eaf0!important;color:#667085!important}
.tinymce-host .tox .tox-statusbar__help-text,.tinymce-host .tox .tox-statusbar__path{display:none!important}
.tinymce-host .tox .tox-statusbar__wordcount{margin-inline-start:8px!important}
.tinymce-host .tox .tox-statusbar__resize-handle{margin-inline-start:auto!important}
.tinymce-host.tinymce-ready{padding-top:2px}
.tinymce-host.tinymce-fallback-active>.editor-toolbar-generated{display:flex!important}
.tinymce-host.tinymce-fallback-active>.ma-editor{border:1px solid var(--cms-border,#303540)!important;border-radius:0 0 8px 8px!important}
.article-body .ma-youtube-embed{margin:1.6rem auto;border-radius:12px;background:#050505;box-shadow:0 8px 24px rgba(0,0,0,.12)}
.article-body .ma-youtube-embed iframe{display:block}
@media(max-width:720px){.tinymce-host .tox .tox-toolbar-overlord{padding-inline:2px!important}.tinymce-host .tox .tox-toolbar__group{padding-inline:2px!important}.article-body .ma-youtube-embed{border-radius:8px}}

/* 0.6.37-dev — TinyMCE follows the CMS light/dark appearance. */
html:not([data-theme="light"]) .cms-body .tinymce-host .tox.tox-tinymce{background:#151a22!important;border-color:#323a46!important;color-scheme:dark!important;box-shadow:0 1px 2px rgba(0,0,0,.28)!important}
html:not([data-theme="light"]) .cms-body .tinymce-host .tox .tox-editor-header,
html:not([data-theme="light"]) .cms-body .tinymce-host .tox .tox-menubar,
html:not([data-theme="light"]) .cms-body .tinymce-host .tox .tox-toolbar-overlord,
html:not([data-theme="light"]) .cms-body .tinymce-host .tox .tox-toolbar,
html:not([data-theme="light"]) .cms-body .tinymce-host .tox .tox-toolbar__primary{background:#171c24!important;border-color:#303846!important}
html:not([data-theme="light"]) .cms-body .tinymce-host .tox .tox-toolbar__group{border-color:#303846!important}
html:not([data-theme="light"]) .cms-body .tinymce-host .tox .tox-edit-area,
html:not([data-theme="light"]) .cms-body .tinymce-host .tox .tox-edit-area__iframe{background:#0f1319!important}
html:not([data-theme="light"]) .cms-body .tinymce-host .tox .tox-statusbar{background:#171c24!important;border-top-color:#303846!important;color:#9ea8b8!important}
html[data-theme="light"] .cms-body .tinymce-host .tox.tox-tinymce{background:#fff!important;border-color:#d6dce5!important;color-scheme:light!important}

/* 0.6.39-dev — Joomla-style article workbench + complete TinyMCE settings studio. */
.joomla-article-tabs{display:grid;gap:0;border:1px solid var(--cms-border,#303540);border-radius:8px;overflow:visible;background:var(--cms-surface,#17191f)}
.joomla-article-tablist{position:relative!important;top:auto!important;display:flex!important;gap:0!important;flex-wrap:wrap!important;padding:0!important;border:0!important;border-bottom:1px solid var(--cms-border,#303540)!important;border-radius:0!important;background:#11161d!important;box-shadow:none!important;backdrop-filter:none!important}
.joomla-article-tablist>button{min-height:42px!important;padding:9px 14px!important;border:0!important;border-right:1px solid #29313c!important;border-radius:0!important;background:transparent!important;color:#c8d0dc!important;font-size:.72rem!important;font-weight:750!important;box-shadow:none!important}
.joomla-article-tablist>button:hover{background:#18212b!important;color:#fff!important}.joomla-article-tablist>button.active{background:#0789bd!important;color:#fff!important;box-shadow:none!important}
.joomla-article-tabs>.cms-tabpanel{padding:12px;background:#10161d}.joomla-article-tabs>.cms-tabpanel.active{display:block}
.joomla-article-editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:16px;align-items:stretch;min-width:0}
.joomla-article-editor-main{min-width:0;background:#0e141b;border:1px solid #2c3541;border-radius:4px;overflow:hidden}
.joomla-editor-caption{min-height:39px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px;border-bottom:1px solid #2c3541;background:#121a22;color:#edf2f8;font-size:.76rem;font-weight:800}.joomla-editor-caption small{font-size:.64rem;color:#8f9bad;font-weight:600}.joomla-editor-caption .button.small{min-height:30px!important;padding:5px 9px!important}
.joomla-article-editor-main>.ma-editor,.joomla-article-editor-main>.tinymce-host{width:100%}.joomla-article-editor-main .tinymce-host .tox.tox-tinymce{border:0!important;border-radius:0!important}.joomla-article-editor-main .tinymce-host .tox .tox-editor-header{border-radius:0!important}.joomla-article-editor-main .tinymce-host .tox .tox-edit-area{min-height:500px!important}.joomla-article-editor-main .editor-note{margin:0;padding:8px 12px;border-top:1px solid #26303b;background:#11171f;font-size:.64rem}
.joomla-article-rail{position:sticky;top:14px;display:grid;gap:10px;padding:12px;background:#0f151c;border:1px solid #2d3642;border-radius:4px}.joomla-article-rail h3{margin:0;font-size:.83rem}.joomla-article-rail .field{gap:5px}.joomla-article-rail .field>span,.joomla-switch-row>span:first-child{font-size:.68rem;font-weight:800;color:#d8dee8}.joomla-article-rail input,.joomla-article-rail select,.joomla-article-rail textarea{min-height:36px!important;border-radius:3px!important;background:#0c1218!important}.joomla-switch-row{display:grid;gap:6px;padding:3px 0}.joomla-switch-row .check{margin:0}.joomla-tab-grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.joomla-narrow-panel{max-width:860px}.joomla-article-tabs .panel.compact{border-radius:4px!important;background:#111820!important;border-color:#2c3541!important;box-shadow:none!important}.joomla-article-tabs .selected-media-preview{border-radius:4px!important;background:#0d131a!important}

/* TinyMCE settings studio. */
.ma-legacy-editor-settings-hidden{display:none!important}.tinymce-settings-studio{display:grid;gap:14px;margin:14px 0;padding:0;border:1px solid var(--cms-border,#303540);border-radius:10px;background:#11161d;overflow:hidden}.tinymce-settings-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:18px 20px;background:linear-gradient(100deg,#151a22,#24181f);border-bottom:1px solid #303744}.tinymce-settings-head h2{margin:3px 0 5px;font-size:1.05rem}.tinymce-settings-head p{margin:0;max-width:850px}.tinymce-settings-head-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.tinymce-settings-tabs{display:flex;gap:4px;flex-wrap:wrap;padding:0 14px;border-bottom:1px solid #29313c}.tinymce-settings-tabs button{min-height:38px;padding:8px 11px;border:0;border-bottom:2px solid transparent;background:transparent;color:#aeb8c6;font-size:.7rem;font-weight:780;cursor:pointer}.tinymce-settings-tabs button:hover{color:#fff}.tinymce-settings-tabs button.active{color:#fff;border-bottom-color:var(--cms-accent,#f14f64)}.tinymce-settings-panels{padding:0 16px 4px}.tinymce-settings-panel{display:none;padding:4px 0 12px}.tinymce-settings-panel.active{display:block}.tinymce-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.tinymce-settings-grid .span-2{grid-column:1/-1}.tinymce-settings-grid .field{padding:12px;border:1px solid #2a3340;border-radius:7px;background:#0e141b}.tinymce-settings-grid .field>span{font-size:.69rem;font-weight:800}.tinymce-settings-grid .field small{font-size:.62rem;color:#8995a6}.tinymce-settings-grid textarea{resize:vertical;min-height:78px}.tinymce-check-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.tinymce-check-grid .check{min-height:42px;margin:0;padding:10px 12px;border:1px solid #2a3340;border-radius:7px;background:#0e141b}.tinymce-settings-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 16px;border-top:1px solid #29313c;background:#0e141b;font-size:.68rem}.tinymce-settings-footer strong{color:#f3b45d}.tinymce-settings-studio .notice{margin:12px 0 0}

/* Uploaded language flags replace old GB / MA text chips throughout admin. */
.admin-language-flag{display:inline-block!important;width:24px!important;height:16px!important;object-fit:cover!important;border-radius:2px!important;margin:0 6px 0 0!important;vertical-align:middle!important;box-shadow:0 0 0 1px rgba(255,255,255,.18)}.language-switch a,.language-switch button,.language-toggle a,.language-toggle button{display:inline-flex!important;align-items:center!important;gap:3px!important}.language-switch .admin-language-flag+*,.language-toggle .admin-language-flag+*{margin-inline-start:0!important}

html[data-theme="light"] .cms-body .joomla-article-tabs{background:#fff;border-color:#d8dee8}html[data-theme="light"] .cms-body .joomla-article-tablist{background:#f7f9fc!important;border-color:#d8dee8!important}html[data-theme="light"] .cms-body .joomla-article-tablist>button{color:#445164!important;border-color:#e0e5ec!important}html[data-theme="light"] .cms-body .joomla-article-tablist>button.active{color:#fff!important;background:#0789bd!important}html[data-theme="light"] .cms-body .joomla-article-tabs>.cms-tabpanel{background:#fff}html[data-theme="light"] .cms-body .joomla-article-editor-main,html[data-theme="light"] .cms-body .joomla-article-rail,html[data-theme="light"] .cms-body .joomla-article-tabs .panel.compact{background:#fff!important;border-color:#d8dee8!important}html[data-theme="light"] .cms-body .joomla-editor-caption{background:#f7f9fc;color:#202a37;border-color:#d8dee8}html[data-theme="light"] .cms-body .joomla-article-editor-main .editor-note{background:#f7f9fc;border-color:#d8dee8}html[data-theme="light"] .cms-body .joomla-article-rail input,html[data-theme="light"] .cms-body .joomla-article-rail select,html[data-theme="light"] .cms-body .joomla-article-rail textarea{background:#fff!important}html[data-theme="light"] .cms-body .tinymce-settings-studio{background:#fff;border-color:#d8dee8}html[data-theme="light"] .cms-body .tinymce-settings-head{background:#f7f9fc;border-color:#d8dee8}html[data-theme="light"] .cms-body .tinymce-settings-tabs{border-color:#d8dee8}html[data-theme="light"] .cms-body .tinymce-settings-tabs button{color:#526174}html[data-theme="light"] .cms-body .tinymce-settings-grid .field,html[data-theme="light"] .cms-body .tinymce-check-grid .check,html[data-theme="light"] .cms-body .tinymce-settings-footer{background:#f8fafc;border-color:#d8dee8;color:#283548}

@media(max-width:1100px){.joomla-article-editor-layout{grid-template-columns:1fr}.joomla-article-rail{position:relative;top:auto;grid-template-columns:repeat(2,minmax(0,1fr))}.joomla-article-rail>.field,.joomla-article-rail>.joomla-switch-row{min-width:0}.tinymce-check-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.joomla-article-tablist{overflow-x:auto!important;flex-wrap:nowrap!important}.joomla-article-tablist>button{white-space:nowrap!important}.joomla-tab-grid-2,.tinymce-settings-grid,.joomla-article-rail,.tinymce-check-grid{grid-template-columns:1fr}.tinymce-settings-grid .span-2{grid-column:auto}.tinymce-settings-head{display:grid}.tinymce-settings-head-actions{justify-content:flex-start}.tinymce-settings-head-actions .button{flex:1 1 200px}}


/* 0.6.40 — resilient Text Editor settings host + polished Joomla-style article rail. */
.tinymce-settings-page-root{display:grid;gap:14px;margin:14px 0 22px;min-width:0}
.tinymce-settings-page-root>.tinymce-settings-studio{margin:0}
.tinymce-settings-page-root>.tinymce-runtime-manager{margin:0}
.tinymce-settings-init-error{display:grid;gap:4px;margin:16px 0}.tinymce-settings-init-error span,.tinymce-settings-init-error small{display:block}

/* Any exact English/Arabic admin language tab can receive the uploaded flag, not only .language-switch. */
.has-admin-language-flag{display:inline-flex!important;align-items:center!important;gap:6px!important}
.has-admin-language-flag>.admin-language-flag{flex:0 0 auto!important;margin:0!important}
.joomla-article-tablist>button.has-admin-language-flag,.cms-tablist>button.has-admin-language-flag,[role="tab"].has-admin-language-flag{align-items:center!important}

/* Professional publishing rail. */
.joomla-article-rail{gap:9px!important;padding:10px!important;border-radius:8px!important;background:linear-gradient(180deg,#10171f 0%,#0d131a 100%)!important;box-shadow:0 10px 30px rgba(0,0,0,.18)}
.article-rail-heading{display:flex;align-items:center;gap:10px;padding:10px 11px 12px;margin:-2px -2px 2px;border-bottom:1px solid #2a3440}
.article-rail-heading-emoji{width:34px;height:34px;display:grid;place-items:center;border:1px solid #374250;border-radius:9px;background:#17212b;font-size:1.05rem;box-shadow:inset 0 0 0 1px rgba(255,255,255,.025)}
.article-rail-heading>span:last-child{display:grid;gap:2px;min-width:0}
.article-rail-heading strong{font-size:.78rem;color:#f3f7fb}
.article-rail-heading small{font-size:.6rem;line-height:1.35;color:#8593a5}
.rail-control-card{display:grid!important;gap:7px!important;padding:10px!important;margin:0!important;border:1px solid #293440!important;border-radius:7px!important;background:#111922!important;transition:border-color .16s ease,background .16s ease,transform .16s ease}
.rail-control-card:hover{border-color:#3a4858!important;background:#131d27!important}
.rail-field-label{display:flex!important;align-items:center!important;gap:7px!important;font-size:.67rem!important;font-weight:850!important;color:#dfe7f0!important;letter-spacing:.01em}
.rail-field-emoji{width:22px;height:22px;display:grid;place-items:center;border-radius:6px;background:#1b2632;font-size:.88rem;line-height:1}
.rail-control-card select,.rail-control-card input,.rail-control-card textarea{width:100%;border:1px solid #344150!important;background:#0b1117!important;color:#f2f5f8!important;box-shadow:none!important}
.rail-control-card select:focus,.rail-control-card input:focus,.rail-control-card textarea:focus{border-color:var(--cms-accent,#f14f64)!important;outline:2px solid color-mix(in srgb,var(--cms-accent,#f14f64) 22%,transparent)!important;outline-offset:1px}
.rail-control-card textarea{min-height:112px!important;line-height:1.45!important}
.rail-summary-card{padding-bottom:11px!important}
.rail-featured-control>small{font-size:.59rem;line-height:1.35;color:#8593a5}
.ma-featured-toggle{position:relative;display:flex;align-items:center;gap:10px;min-height:38px;padding:7px 9px;border:1px solid #303c49;border-radius:7px;background:#0c131a;cursor:pointer;user-select:none}
.ma-featured-toggle input{position:absolute!important;inline-size:1px!important;block-size:1px!important;opacity:0!important;pointer-events:none}
.ma-featured-toggle-track{position:relative;width:38px;height:21px;flex:0 0 auto;border-radius:999px;background:#3a4652;box-shadow:inset 0 0 0 1px rgba(255,255,255,.06);transition:background .16s ease}
.ma-featured-toggle-thumb{position:absolute;left:3px;top:3px;width:15px;height:15px;border-radius:50%;background:#f4f7fa;box-shadow:0 1px 4px rgba(0,0,0,.35);transition:transform .16s ease}
.ma-featured-toggle strong{font-size:.67rem;color:#b7c1cc}
.rail-featured-control.is-featured{border-color:#65511e!important;background:linear-gradient(180deg,#19170f,#13140f)!important}
.rail-featured-control.is-featured .ma-featured-toggle-track{background:#d5a72c}
.rail-featured-control.is-featured .ma-featured-toggle-thumb{transform:translateX(17px)}
.rail-featured-control.is-featured .ma-featured-toggle strong{color:#ffd966}
.ma-featured-toggle:focus-within{outline:2px solid color-mix(in srgb,var(--cms-accent,#f14f64) 30%,transparent);outline-offset:2px}

/* Light-mode equivalents. */
html[data-theme="light"] .cms-body .article-rail-heading{border-color:#d8e0e9}
html[data-theme="light"] .cms-body .article-rail-heading-emoji{background:#eef3f8;border-color:#d6dee8}
html[data-theme="light"] .cms-body .article-rail-heading strong{color:#263443}
html[data-theme="light"] .cms-body .article-rail-heading small{color:#6c7a8b}
html[data-theme="light"] .cms-body .rail-control-card{background:#f8fafc!important;border-color:#d8e0e9!important}
html[data-theme="light"] .cms-body .rail-control-card:hover{background:#f3f7fb!important;border-color:#c9d4e0!important}
html[data-theme="light"] .cms-body .rail-field-label{color:#283747!important}
html[data-theme="light"] .cms-body .rail-field-emoji{background:#eaf0f6}
html[data-theme="light"] .cms-body .rail-control-card select,
html[data-theme="light"] .cms-body .rail-control-card input,
html[data-theme="light"] .cms-body .rail-control-card textarea{background:#fff!important;color:#202b38!important;border-color:#cfd8e3!important}
html[data-theme="light"] .cms-body .ma-featured-toggle{background:#fff;border-color:#d2dbe5}
html[data-theme="light"] .cms-body .ma-featured-toggle strong{color:#596879}
html[data-theme="light"] .cms-body .rail-featured-control.is-featured{background:#fffaf0!important;border-color:#e4c568!important}
html[data-theme="light"] .cms-body .rail-featured-control.is-featured .ma-featured-toggle strong{color:#8d6700}

@media(max-width:1100px){
  .article-rail-heading{grid-column:1/-1}
}

/* 0.6.41-dev — authoritative language flags, aligned Featured switch, status icons. */
/* Keep custom admin flags compact and aligned in every institutional/article tab. */
.has-admin-language-flag{min-height:32px!important}
.has-admin-language-flag>.admin-language-flag{display:block!important;width:26px!important;height:17px!important;object-fit:cover!important;border-radius:2px!important;flex:0 0 26px!important}

/* Native status selects keep their backend values; colored emoji live only in labels. */
select.ma-status-select{font-variant-emoji:emoji;white-space:nowrap}

/* 0.6.40 hid the checkbox and relied on a synthetic track. Use the actual accessible
   checkbox as a styled switch so it cannot drift above/below the label when an older
   stylesheet is still cached or a global checkbox rule wins the cascade. */
.ma-featured-toggle{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;min-height:42px!important;padding:8px 10px!important}
.ma-featured-toggle input.ma-featured-toggle-input{
  -webkit-appearance:none!important;appearance:none!important;position:relative!important;
  inline-size:42px!important;block-size:22px!important;width:42px!important;height:22px!important;
  min-width:42px!important;min-height:22px!important;max-width:42px!important;max-height:22px!important;
  flex:0 0 42px!important;margin:0!important;padding:0!important;opacity:1!important;pointer-events:auto!important;
  border:1px solid #4b5968!important;border-radius:999px!important;outline:0!important;cursor:pointer!important;
  background:radial-gradient(circle at 11px 50%,#f5f7fa 0 7px,transparent 7.8px),#394553!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.04)!important;transition:background .16s ease,border-color .16s ease,box-shadow .16s ease!important;
}
.ma-featured-toggle input.ma-featured-toggle-input:checked{
  border-color:#d5a72c!important;background:radial-gradient(circle at calc(100% - 11px) 50%,#fff 0 7px,transparent 7.8px),#d5a72c!important;
}
.ma-featured-toggle input.ma-featured-toggle-input:focus-visible{box-shadow:0 0 0 3px color-mix(in srgb,var(--cms-accent,#f14f64) 32%,transparent)!important}
.ma-featured-toggle strong{display:block!important;align-self:center!important;line-height:1.2!important;margin:0!important}
.rail-featured-control.is-featured .ma-featured-toggle strong{color:#ffd966!important}
/* Old 0.6.40 synthetic track is harmless for cached markup but hidden for the new form. */
.ma-featured-toggle:not(:has(.ma-featured-toggle-track)) .ma-featured-toggle-track{display:none!important}
html[data-theme="light"] .cms-body .ma-featured-toggle input.ma-featured-toggle-input{border-color:#aebac7!important;background:radial-gradient(circle at 11px 50%,#fff 0 7px,transparent 7.8px),#c7d0da!important}
html[data-theme="light"] .cms-body .ma-featured-toggle input.ma-featured-toggle-input:checked{border-color:#c89919!important;background:radial-gradient(circle at calc(100% - 11px) 50%,#fff 0 7px,transparent 7.8px),#d5a72c!important}


/* 0.6.42-dev — consistent CMS actions, deterministic Featured switch, MFA recovery plan. */
/* One geometry system for action buttons throughout the CMS. Semantic color is preserved. */
.cms-body :is(.button.primary,.button.secondary,.button.success,.button.danger,.button.ghost,a.button.primary,a.button.secondary,a.button.success,a.button.danger,a.button.ghost){
  box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:.48rem!important;
  min-height:40px!important;padding:9px 14px!important;border-radius:9px!important;font-weight:800!important;line-height:1.15!important;text-decoration:none!important;
}
.cms-body :is(.button.danger,a.button.danger,.cms-abandon-button){background:#d83d4e!important;border:1px solid #e05061!important;color:#fff!important;box-shadow:0 6px 18px rgba(216,61,78,.18)!important}
.cms-body :is(.button.danger,a.button.danger,.cms-abandon-button):hover{background:#e14859!important;border-color:#ef6573!important;color:#fff!important;filter:none!important;transform:translateY(-1px)!important}
.cms-body :is(.button.success,a.button.success){background:#249d5a!important;border:1px solid #2bb869!important;color:#fff!important}
.cms-body :is(.button.secondary,a.button.secondary){background:#202630!important;border:1px solid #3d4857!important;color:#eef2f7!important}
.cms-body :is(.button.ghost,a.button.ghost){background:transparent!important;border:1px solid #465062!important;color:#cbd3de!important}
html[data-theme="light"] .cms-body :is(.button.secondary,a.button.secondary){background:#eef2f6!important;border-color:#c9d2dc!important;color:#26303d!important}
html[data-theme="light"] .cms-body :is(.button.ghost,a.button.ghost){background:#fff!important;border-color:#c9d2dc!important;color:#364152!important}

/* Article Cancel is an abandon/discard action; the modal's "Keep editing" button remains neutral. */
.cms-body .cms-cancel-button.cms-abandon-button,.cms-body .article-cancel-button.cms-abandon-button{background:#d83d4e!important;border-color:#e05061!important;color:#fff!important}
.cms-dialog-card [data-cms-dialog-cancel]{background:#202630!important;border:1px solid #3d4857!important;color:#eef2f7!important;box-shadow:none!important}
html[data-theme="light"] .cms-body .cms-dialog-card [data-cms-dialog-cancel]{background:#eef2f6!important;border-color:#c9d2dc!important;color:#26303d!important}

/* Never expose the native Featured checkbox. The real input stays keyboard/screen-reader accessible while the track is rendered deterministically. */
.ma-featured-toggle{position:relative!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;min-height:42px!important;padding:8px 10px!important}
.ma-featured-toggle input.ma-featured-toggle-input{position:absolute!important;inline-size:1px!important;block-size:1px!important;width:1px!important;height:1px!important;min-width:1px!important;min-height:1px!important;opacity:0!important;pointer-events:none!important;margin:0!important;padding:0!important;appearance:none!important;-webkit-appearance:none!important}
.ma-featured-toggle .ma-featured-toggle-track{position:relative!important;display:block!important;width:42px!important;height:22px!important;flex:0 0 42px!important;border:1px solid #4b5968!important;border-radius:999px!important;background:#394553!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.04)!important;transition:background .16s ease,border-color .16s ease!important}
.ma-featured-toggle .ma-featured-toggle-thumb{position:absolute!important;display:block!important;left:3px!important;top:3px!important;width:14px!important;height:14px!important;border-radius:50%!important;background:#f5f7fa!important;box-shadow:0 1px 4px rgba(0,0,0,.35)!important;transform:none!important;transition:transform .16s ease!important}
.rail-featured-control.is-featured .ma-featured-toggle-track,.ma-featured-toggle.is-on .ma-featured-toggle-track{background:#d5a72c!important;border-color:#e2ba49!important}
.rail-featured-control.is-featured .ma-featured-toggle-thumb,.ma-featured-toggle.is-on .ma-featured-toggle-thumb{transform:translateX(20px)!important}
.ma-featured-toggle:focus-visible,.ma-featured-toggle:focus-within{outline:2px solid color-mix(in srgb,var(--cms-accent,#f14f64) 38%,transparent)!important;outline-offset:2px!important}
.ma-featured-toggle strong{align-self:center!important;line-height:1.2!important;margin:0!important}

/* Uploaded flags replace legacy text codes; never show a flag next to GB/MA helper chips. */
.has-admin-language-flag :is(.language-code,.lang-code,[data-language-code],[data-lang-code]){display:none!important}
.has-admin-language-flag>.admin-language-flag{margin:0!important;flex:0 0 26px!important}

/* Authenticator emergency-access explanation. This documents recovery; it is not a login bypass. */
.mfa-recovery-plan{display:grid;gap:14px;margin-top:18px;padding:17px;border:1px solid #38506d;border-radius:12px;background:#112030;color:#eaf3ff}
.mfa-recovery-plan-head{display:flex;align-items:flex-start;gap:11px}.mfa-recovery-plan-icon{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border-radius:10px;background:#172d43;font-size:1.25rem}.mfa-recovery-plan h3{margin:2px 0 0;font-size:1rem}.mfa-recovery-plan .eyebrow{margin:0;color:#89bfee}.mfa-recovery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.mfa-recovery-grid>div{padding:12px;border:1px solid #2e4c68;border-radius:9px;background:#0e1b29}.mfa-recovery-grid strong{display:block;margin-bottom:5px;color:#fff;font-size:.78rem}.mfa-recovery-grid p{margin:0;color:#b8cee3;font-size:.72rem;line-height:1.5}.mfa-recovery-foot{margin:0;padding-top:10px;border-top:1px solid #2c4862;color:#b8cee3;font-size:.72rem;line-height:1.5}
html[data-theme="light"] .cms-body .mfa-recovery-plan{background:#eff7ff;border-color:#9bc4e8;color:#1d3852}html[data-theme="light"] .cms-body .mfa-recovery-plan-icon{background:#dbeeff}html[data-theme="light"] .cms-body .mfa-recovery-grid>div{background:#fff;border-color:#c5daed}html[data-theme="light"] .cms-body .mfa-recovery-grid strong{color:#1b334a}html[data-theme="light"] .cms-body .mfa-recovery-grid p,html[data-theme="light"] .cms-body .mfa-recovery-foot{color:#526c84}
@media(max-width:900px){.mfa-recovery-grid{grid-template-columns:1fr}}

/* 0.6.43-dev — deterministic language tabs + selected public carousel engine. */
/* Institutional/article language tabs are rebuilt by admin.js as flag + name only. */
.ma-language-tab-normalized{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important}
.ma-language-tab-normalized>.admin-language-flag{display:block!important;width:26px!important;height:17px!important;min-width:26px!important;object-fit:cover!important;border-radius:2px!important;margin:0!important;box-shadow:0 0 0 1px rgba(255,255,255,.2)!important}
.ma-language-tab-normalized>.admin-language-name{display:inline-block!important;margin:0!important;padding:0!important;line-height:1.15!important}
.ma-language-tab-normalized.ma-language-strip-before::before,.ma-language-tab-normalized.ma-language-strip-after::after{content:none!important;display:none!important}
.ma-language-tab-normalized :is(.language-code,.lang-code,[data-language-code],[data-lang-code]){display:none!important}

/* Modules -> Carousel: make the public-engine binding visible and unambiguous. */
.ma-carousel-public-engine-status{display:block;margin-top:6px;color:var(--cms-muted,#95a0b2);font-size:.72rem;line-height:1.35}
.ma-carousel-public-engine-status.is-synced{color:#58c989}

/* Public carousel engine isolation. app.css historically retained old Swiper-only
   rules while app-0.6.18.css already contained the multi-engine rules. Keep both
   public stylesheets authoritative so the selected runtime has identical geometry. */
.ac-feature-carousel.carousel-engine-active{position:relative!important;overflow:hidden!important}
.ac-feature-carousel.carousel-engine-active .ac-feature-stage{position:relative!important;overflow:hidden!important;height:100%!important}
.ac-feature-carousel.carousel-engine-active .ac-feature-slide,
.ac-feature-carousel.carousel-engine-active .ac-feature-slide.active{
  position:relative!important;inset:auto!important;display:block!important;visibility:visible!important;opacity:1!important;
  pointer-events:auto!important;transform:none!important;height:100%!important;min-width:0!important
}
.ac-feature-carousel.carousel-engine-active .ac-feature-slide>img,
.ac-feature-carousel.carousel-engine-active .ac-feature-slide>.ac-placeholder-art{height:100%!important}
.ac-feature-carousel.carousel-engine-active .ac-feature-controls{position:absolute!important;z-index:30!important}

/* Embla */
.ac-feature-carousel.engine-embla .ma-carousel-viewport{overflow:hidden!important}
.ac-feature-carousel.engine-embla .ma-engine-container{display:flex!important;height:100%!important;touch-action:pan-y pinch-zoom;will-change:transform}
.ac-feature-carousel.engine-embla .ma-engine-slide{flex:0 0 100%!important;min-width:0!important}

/* Keen Slider — runtime wrapper is separate from the controls. */
.ac-feature-carousel.engine-keen .ma-keen-runtime{display:flex!important;position:relative!important;width:100%!important;height:100%!important;overflow:hidden!important;touch-action:pan-y;-webkit-user-select:none;user-select:none}
.ac-feature-carousel.engine-keen .keen-slider__slide{position:relative!important;overflow:hidden!important;width:100%!important;min-width:100%!important;max-width:100%!important;height:100%!important}

/* Glide.js — provide the core layout even if the local runtime CSS is absent. */
.ac-feature-carousel.engine-glide .ma-glide-runtime,.ac-feature-carousel.engine-glide .glide__track,.ac-feature-carousel.engine-glide .glide__slides,.ac-feature-carousel.engine-glide .glide__slide{height:100%!important}
.ac-feature-carousel.engine-glide .ma-glide-runtime{position:relative!important;width:100%!important;box-sizing:border-box!important}
.ac-feature-carousel.engine-glide .glide__track{overflow:hidden!important}
.ac-feature-carousel.engine-glide .glide__slides{position:relative!important;width:100%!important;display:flex!important;flex-wrap:nowrap!important;overflow:hidden!important;margin:0!important;padding:0!important;list-style:none!important;will-change:transform;backface-visibility:hidden;transform-style:preserve-3d;touch-action:pan-y}
.ac-feature-carousel.engine-glide .glide__slide{width:100%!important;min-width:100%!important;flex:0 0 100%!important;white-space:normal!important;-webkit-user-select:none;user-select:none}
.ac-feature-carousel.engine-glide .glide__slide>.ac-feature-slide{width:100%!important;height:100%!important}

/* A failed optional runtime always returns to native hidden-slide semantics. */
.ac-feature-carousel.engine-native:not(.carousel-engine-active) .ac-feature-slide{position:absolute;inset:0}

/* 0.6.44 — Arabic editorial completion + AI Scoop */
.arabic-metadata-grid{margin-top:18px}
.arabic-meta-panel{border-color:color-mix(in srgb,var(--border,#283241) 76%,#16a3ff 24%)}
.arabic-meta-panel h2{display:flex;align-items:center;gap:8px}
.arabic-editor-rail code{display:block;overflow-wrap:anywhere;white-space:normal;margin-top:8px}
[data-ma-arabic-default="1"]{border-color:color-mix(in srgb,#16a3ff 50%,var(--border,#283241));box-shadow:0 0 0 1px rgba(22,163,255,.08)}
.ma-arabic-category-default-note{margin:12px 0 18px}
.arabic-ai-scoop{margin-top:18px;padding:18px;border:1px solid color-mix(in srgb,var(--border,#283241) 70%,#9b5cff 30%);border-radius:14px;background:linear-gradient(135deg,rgba(155,92,255,.09),rgba(22,163,255,.05))}
.arabic-ai-scoop-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;flex-wrap:wrap}
.arabic-ai-scoop-head h3{margin:4px 0 6px;font-size:18px}
.arabic-ai-scoop-head p{margin:0;color:var(--muted,#9db0c7);max-width:900px;line-height:1.5}
.arabic-ai-scoop-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.arabic-ai-scoop-progress{margin-top:16px}
.arabic-ai-scoop-progress .progress-track{height:8px;border-radius:99px;overflow:hidden;background:rgba(255,255,255,.08)}
.arabic-ai-scoop-progress .progress-track>span{display:block;height:100%;background:linear-gradient(90deg,#9b5cff,#16a3ff);transition:width .25s ease}
.arabic-ai-scoop-progress-line{display:flex;justify-content:space-between;gap:18px;margin-top:8px;color:var(--muted,#9db0c7);font-size:12px}
.arabic-ai-scoop-progress-line strong{color:var(--text,#eef5ff)}
.ma-carousel-public-engine-status.is-synced{display:block;margin-top:7px;color:#66d69b;font-weight:800;letter-spacing:.03em}
html[data-ma-public-carousel-engine] .ma-carousel-public-engine-status.is-synced::before{content:'● ';color:#66d69b}
@media (max-width:860px){.arabic-ai-scoop-head{display:block}.arabic-ai-scoop-actions{margin-top:14px}.arabic-ai-scoop-progress-line{display:block}.arabic-ai-scoop-progress-line span{display:block;margin-top:4px}}

/* 0.6.46 — language tabs, backup bulk actions, deployment readiness */
.ma-language-tab-normalized,
.ma-language-tab-normalized.has-admin-language-flag {
  display:inline-flex !important; align-items:center !important; gap:.5rem !important;
}
.ma-language-tab-normalized::before,
.ma-language-tab-normalized::after { content:none !important; display:none !important; }
.admin-language-flag.ma-authoritative-language-flag,
.ma-language-tab-normalized .admin-language-flag {
  width:28px !important; height:18px !important; object-fit:cover !important; flex:0 0 28px !important;
  border-radius:2px; box-shadow:0 0 0 1px rgba(255,255,255,.18);
}
[data-ma-legacy-language-code] { display:none !important; }

.ma-backup-bulk-toolbar {
  display:flex; align-items:center; justify-content:space-between; gap:1rem; flex-wrap:wrap;
  padding:1rem 1.1rem; margin:0 0 1rem; border:1px solid var(--border,#2b3340);
  border-radius:12px; background:rgba(255,255,255,.025);
}
.ma-backup-bulk-left,.ma-backup-bulk-actions { display:flex; align-items:center; gap:.75rem; flex-wrap:wrap; }
.ma-backup-bulk-toolbar small { display:block; color:var(--muted,#9fb0c8); }
.ma-bulk-check,.ma-backup-select-wrap { display:inline-flex; align-items:center; gap:.45rem; cursor:pointer; }
.ma-backup-select,.ma-bulk-check input { width:18px; height:18px; accent-color:var(--accent,#ff4766); }
.ma-backup-select-cell { width:42px; text-align:center; vertical-align:middle; }
.ma-backup-select-wrap { margin:.4rem .6rem .4rem 0; }

.ma-deployment-readiness { margin-top:1.25rem; padding:1.25rem; }
.ma-readiness-head { display:flex; align-items:flex-start; justify-content:space-between; gap:1rem; flex-wrap:wrap; }
.ma-readiness-head h2 { margin:.25rem 0 .35rem; }
.ma-readiness-head p { margin:0; color:var(--muted,#a4b0c3); }
.ma-readiness-summary { margin-top:1rem; padding:.85rem 1rem; border-radius:10px; border:1px solid var(--border,#2b3340); }
.ma-readiness-summary.is-ready { border-color:rgba(46,204,113,.5); background:rgba(46,204,113,.08); }
.ma-readiness-summary.is-blocked { border-color:rgba(255,71,102,.55); background:rgba(255,71,102,.08); }
.ma-readiness-list { display:grid; gap:.65rem; margin-top:1rem; }
.ma-readiness-item { display:grid; grid-template-columns:28px 1fr; gap:.7rem; padding:.8rem .9rem; border:1px solid var(--border,#2b3340); border-radius:10px; background:rgba(255,255,255,.018); }
.ma-readiness-item p { margin:.2rem 0 0; color:var(--muted,#9faec2); }
.ma-readiness-item.severity-blocker { border-color:rgba(255,71,102,.38); }
.ma-readiness-item.severity-warning { border-color:rgba(240,173,78,.35); }

@media (max-width:720px) {
  .ma-backup-bulk-toolbar,.ma-readiness-head { align-items:stretch; }
  .ma-backup-bulk-actions { width:100%; }
  .ma-backup-bulk-actions .button { flex:1 1 auto; text-align:center; }
}

/* Manga Afternoon CMS 0.6.47 — public load-more card parity */
.ac-public .ac-news-card .ma-card-category-chip,
.ac-public .ac-news-card .ac-badge,
.ac-public .ac-news-card .category-colored-badge{
  display:inline-flex!important;
  width:max-content!important;
  max-width:calc(100% - 2px)!important;
  min-height:22px!important;
  align-items:center!important;
  gap:5px!important;
  margin:0 0 8px!important;
  padding:5px 9px!important;
  border-radius:3px!important;
  color:#fff!important;
  font-size:8px!important;
  line-height:1!important;
  font-weight:850!important;
  text-transform:uppercase!important;
  letter-spacing:.025em!important;
  align-self:flex-start!important;
}
.ac-public .ac-news-card-body{display:flex;flex-direction:column;align-items:stretch}
.ac-public .ac-news-card-body .ma-card-category-chip{align-self:flex-start!important}
.ac-public .ac-news-card p[data-ma-excerpt-words]{font-size:var(--category-excerpt-size,15px)!important;line-height:1.55!important}

/* 0.6.47 — always-visible backup bulk action bar */
.cms-body .ma-backup-bulk-toolbar-v2{display:flex!important;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:0 0 18px;padding:12px 14px;border:1px solid var(--cms-border,#2b303a);border-radius:11px;background:var(--cms-surface,#17191f);position:sticky;top:10px;z-index:24;box-shadow:0 10px 30px rgba(0,0,0,.14)}
.cms-body .ma-backup-bulk-toolbar-v2 .ma-backup-bulk-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}
.cms-body .ma-backup-bulk-toolbar-v2 [data-ma-backup-v2-count]{color:var(--cms-muted,#9aa3b2);font-size:.82rem}
.cms-body .ma-backup-floating-delete{position:fixed;right:24px;bottom:24px;z-index:10010;display:flex;align-items:center;gap:12px;padding:10px 12px;border:1px solid #5a2530;border-radius:12px;background:#1a1217;box-shadow:0 18px 50px rgba(0,0,0,.48)}
.cms-body .ma-backup-floating-delete[hidden]{display:none!important}

/* 0.6.47 — integrated Error Pages studio */
.cms-body .ma-error-studio{display:grid;gap:16px}
.cms-body .ma-error-studio-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;flex-wrap:wrap;padding:18px 20px;border:1px solid var(--cms-border,#2b303a);border-radius:14px;background:linear-gradient(120deg,var(--cms-surface,#17191f),color-mix(in srgb,var(--cms-accent,#f14f64) 8%,var(--cms-surface,#17191f)))}
.cms-body .ma-error-studio-head h1{margin:4px 0 5px}.cms-body .ma-error-studio-head p{margin:0;color:var(--cms-muted,#9ba5b5)}
.cms-body .ma-error-code-tabs{display:flex;gap:8px;overflow:auto;padding:4px 2px 8px;scrollbar-width:thin}
.cms-body .ma-error-code-tab{flex:0 0 auto;min-width:70px;border:1px solid var(--cms-border,#2b303a);background:var(--cms-surface,#17191f);color:var(--cms-text,#f4f5f8);border-radius:9px;padding:9px 13px;font-weight:850;cursor:pointer}
.cms-body .ma-error-code-tab.active{background:color-mix(in srgb,var(--cms-accent,#f14f64) 18%,var(--cms-surface,#17191f));border-color:var(--cms-accent,#f14f64);color:#fff}
.cms-body .ma-error-studio-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,1fr);gap:16px;align-items:stretch}
.cms-body .ma-error-editor-pane,.cms-body .ma-error-preview-pane{min-width:0;border:1px solid var(--cms-border,#2b303a);border-radius:13px;background:var(--cms-surface,#17191f);overflow:hidden}
.cms-body .ma-error-pane-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 13px;border-bottom:1px solid var(--cms-border,#2b303a);background:var(--cms-surface-alt,#12151b)}
.cms-body .ma-error-code-editor{display:block;width:100%;min-height:620px;resize:vertical;border:0!important;border-radius:0!important;outline:0;background:#0d1118!important;color:#e7edf7!important;padding:18px!important;font:13px/1.58 ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace!important;tab-size:2;white-space:pre}
.cms-body .ma-error-preview-frame{display:block;width:100%;min-height:620px;border:0;background:#fff}
.cms-body .ma-error-studio-actions{display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-end}
.cms-body .ma-error-save-status{margin-right:auto;color:var(--cms-muted,#9ba5b5);align-self:center}
@media(max-width:1050px){.cms-body .ma-error-studio-workspace{grid-template-columns:1fr}.cms-body .ma-error-code-editor,.cms-body .ma-error-preview-frame{min-height:480px}}

/* 0.6.47 final integration aliases */
.ac-news-card .ma-card-category-chip,.ac-news-card .ac-badge,.ac-news-card .category-colored-badge,
.category-news .news-card .ma-card-category-chip,.category-grid .news-card .ma-card-category-chip{
  display:inline-flex!important;width:max-content!important;max-width:calc(100% - 2px)!important;align-items:center!important;align-self:flex-start!important;
  margin:0 0 8px!important;padding:5px 9px!important;border-radius:3px!important;font-size:8px!important;line-height:1!important;font-weight:850!important;text-transform:uppercase!important;
}
.ma-backup-bulk-floating{position:fixed;right:24px;bottom:24px;z-index:10010;display:flex;align-items:center;gap:12px;padding:10px 12px;border:1px solid #5a2530;border-radius:12px;background:#1a1217;box-shadow:0 18px 50px rgba(0,0,0,.48)}
.ma-backup-bulk-floating[hidden]{display:none!important}
.ma-backup-bulk-toolbar-v2 [data-ma-bulk-v2-count]{color:var(--cms-muted,#9aa3b2);font-size:.82rem}
.arabic-ai-scoop-scan-summary{display:grid;gap:10px;margin-top:14px;padding:12px 14px;border:1px solid color-mix(in srgb,var(--border,#283241) 76%,#9b5cff 24%);border-radius:10px;background:rgba(0,0,0,.08)}
.arabic-ai-scoop-chips{display:flex;gap:7px;flex-wrap:wrap}.arabic-ai-scoop-chip{display:inline-flex;align-items:center;padding:5px 8px;border-radius:999px;border:1px solid var(--border,#344154);font-size:11px;color:var(--muted,#9db0c7)}.arabic-ai-scoop-chip.is-missing{border-color:#9b5cff;color:#e9ddff;background:rgba(155,92,255,.09)}.arabic-ai-scoop-chip.is-complete{border-color:#2c7651;color:#8ee2b7;background:rgba(44,118,81,.08)}
.cms-body .ma-error-code-strip{display:flex;gap:8px;overflow-x:auto;overflow-y:hidden;padding:4px 2px 8px;scrollbar-width:thin}
.cms-body .ma-error-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,1fr);gap:16px;align-items:stretch}
.cms-body .ma-error-pane-title{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 13px;border-bottom:1px solid var(--cms-border,#2b303a);background:var(--cms-surface-alt,#12151b)}
.cms-body .ma-error-preview{display:block;width:100%;min-height:620px;border:0;background:#fff}
.cms-body .ma-error-studio-status{color:var(--cms-muted,#9ba5b5);font-size:.82rem;padding:0 2px}
@media(max-width:1050px){.cms-body .ma-error-workspace{grid-template-columns:1fr}.cms-body .ma-error-preview{min-height:480px}}

/* Manga Afternoon CMS 0.6.48 — consistent fixed CMS confirmation dialog.
   Earlier builds had only button overrides, allowing the confirmation card to enter
   normal document flow at the bottom of very long pages (notably Backup Library). */
.cms-dialog-layer{position:fixed!important;inset:0!important;z-index:2147482000!important;display:grid!important;place-items:center!important;padding:24px!important;overflow:auto!important;isolation:isolate}
.cms-dialog-layer[hidden]{display:none!important}.cms-dialog-backdrop{position:absolute!important;inset:0!important;background:rgba(5,8,13,.76)!important;backdrop-filter:blur(4px)!important}
.cms-dialog-card{position:relative!important;z-index:1!important;width:min(540px,calc(100vw - 32px))!important;max-height:calc(100vh - 48px)!important;overflow:auto!important;margin:auto!important;padding:24px!important;border:1px solid #394352!important;border-radius:16px!important;background:#171b23!important;color:#f5f7fb!important;box-shadow:0 28px 90px rgba(0,0,0,.58)!important;display:grid!important;grid-template-columns:48px minmax(0,1fr)!important;gap:14px 16px!important}
.cms-dialog-icon{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;background:rgba(74,153,255,.12);border:1px solid rgba(74,153,255,.3);font-size:22px;font-weight:900;color:#82b6ff}.cms-dialog-icon.danger{background:rgba(255,73,104,.12);border-color:rgba(255,73,104,.38);color:#ff5b76}
.cms-dialog-copy{min-width:0}.cms-dialog-copy .eyebrow{display:block;margin:0 0 4px;font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#98a8bd;font-weight:850}.cms-dialog-copy h2{margin:0 0 8px!important;font-size:22px!important;line-height:1.15!important;color:#fff!important}.cms-dialog-copy p{margin:0!important;color:#b8c3d2!important;font-size:14px!important;line-height:1.55!important}
.cms-dialog-actions{grid-column:1/-1;display:flex!important;justify-content:flex-end!important;gap:9px!important;margin-top:8px!important;padding-top:16px!important;border-top:1px solid #2d3643!important}.cms-dialog-actions .button{min-width:116px;justify-content:center}
html.cms-dialog-open,html.cms-dialog-open body{overflow:hidden!important}
html[data-theme="light"] .cms-dialog-card{background:#fff!important;color:#1f2937!important;border-color:#d7dee8!important;box-shadow:0 28px 80px rgba(31,41,55,.22)!important}html[data-theme="light"] .cms-dialog-copy h2{color:#17202b!important}html[data-theme="light"] .cms-dialog-copy p{color:#5c6776!important}
@media(max-width:600px){.cms-dialog-layer{padding:14px!important}.cms-dialog-card{grid-template-columns:1fr!important;padding:18px!important}.cms-dialog-icon{width:38px;height:38px}.cms-dialog-actions{grid-column:1!important;display:grid!important;grid-template-columns:1fr 1fr!important}.cms-dialog-actions .button{min-width:0}}

/* 0.6.48 — Website Studio public typography matrix */
.cms-body .ma-public-typography-studio{display:grid;gap:16px;margin-top:18px;padding:18px;border:1px solid var(--cms-border,#2b303a);border-radius:14px;background:var(--cms-surface,#17191f)}
.cms-body .ma-public-typography-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;flex-wrap:wrap}.cms-body .ma-public-typography-head h2{margin:4px 0 6px}.cms-body .ma-public-typography-head p{margin:0;color:var(--cms-muted,#9da8b8);max-width:760px}
.cms-body .ma-public-font-family-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.cms-body .ma-public-typo-table{overflow:auto;border:1px solid var(--cms-border,#2b303a);border-radius:11px}.cms-body .ma-public-typo-row{display:grid;grid-template-columns:minmax(260px,1fr) 130px 130px;align-items:center;gap:10px;padding:10px 12px;border-bottom:1px solid var(--cms-border,#2b303a)}.cms-body .ma-public-typo-row:last-child{border-bottom:0}.cms-body .ma-public-typo-row>span{display:grid}.cms-body .ma-public-typo-row>span small{color:var(--cms-muted,#91a0b3);font-size:10px;text-transform:uppercase;letter-spacing:.08em}.cms-body .ma-public-typo-row input{width:100%;min-height:38px}.cms-body .ma-public-typo-header{position:sticky;top:0;z-index:2;background:var(--cms-surface-alt,#11151b);font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:var(--cms-muted,#9da8b8)}
.cms-body .ma-public-excerpt-runtime{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.cms-body .ma-public-excerpt-runtime>div{display:grid;grid-template-columns:1fr auto;gap:4px 12px;align-items:center;padding:12px;border:1px solid var(--cms-border,#2b303a);border-radius:10px;background:rgba(255,255,255,.015)}.cms-body .ma-public-excerpt-runtime small{color:var(--cms-muted,#96a3b4)}.cms-body .ma-public-excerpt-runtime input{grid-column:2;grid-row:1/3;width:92px;min-height:42px}
@media(max-width:760px){.cms-body .ma-public-font-family-grid,.cms-body .ma-public-excerpt-runtime{grid-template-columns:1fr}.cms-body .ma-public-typo-row{grid-template-columns:minmax(180px,1fr) 90px 90px}}

/* 0.6.48 — first-class Public Module Studio */
.cms-body .ma-module-studio{display:grid;gap:16px}.cms-body .ma-module-studio-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;flex-wrap:wrap;padding:18px 20px;border:1px solid var(--cms-border,#2b303a);border-radius:14px;background:linear-gradient(120deg,var(--cms-surface,#17191f),color-mix(in srgb,#4d8cff 7%,var(--cms-surface,#17191f)))}.cms-body .ma-module-studio-head h1{margin:4px 0 6px}.cms-body .ma-module-studio-head p{margin:0;color:var(--cms-muted,#9ca9ba);max-width:780px}.cms-body .ma-module-studio-actions{display:flex;gap:8px;flex-wrap:wrap}
.cms-body .ma-module-page-legend{display:flex;gap:8px;flex-wrap:wrap}.cms-body .ma-module-page-legend span{display:grid;padding:7px 9px;border:1px solid var(--cms-border,#2b303a);border-radius:8px;background:var(--cms-surface,#17191f)}.cms-body .ma-module-page-legend small{color:var(--cms-muted,#95a2b4);font-size:10px}
.cms-body .ma-module-matrix{overflow:auto;border:1px solid var(--cms-border,#2b303a);border-radius:12px;background:var(--cms-surface,#17191f)}.cms-body .ma-module-matrix-head,.cms-body .ma-module-matrix-row{min-width:1100px;display:grid;grid-template-columns:minmax(230px,1.2fr) 80px repeat(6,110px) 90px;gap:8px;align-items:center;padding:10px 12px}.cms-body .ma-module-matrix-head{position:sticky;top:0;z-index:2;background:var(--cms-surface-alt,#11151b);border-bottom:1px solid var(--cms-border,#2b303a);font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--cms-muted,#98a6b8);text-align:center}.cms-body .ma-module-matrix-head strong:first-child{text-align:left}.cms-body .ma-module-matrix-row{border-bottom:1px solid var(--cms-border,#2b303a)}.cms-body .ma-module-matrix-row:last-child{border-bottom:0}.cms-body .ma-module-name{display:flex;align-items:center;gap:10px;min-width:0}.cms-body .ma-module-name>span{width:34px;height:34px;border:1px solid var(--cms-border,#2b303a);border-radius:9px;display:grid;place-items:center;background:rgba(255,255,255,.025)}.cms-body .ma-module-name>div{display:grid;min-width:0}.cms-body .ma-module-name small{color:var(--cms-muted,#96a3b4)}.cms-body .ma-module-order{width:72px;text-align:center}.cms-body .ma-module-page-check,.cms-body .ma-module-enabled{display:flex;align-items:center;justify-content:center;gap:5px}.cms-body .ma-module-page-check span{font-size:10px;color:var(--cms-muted,#95a2b3)}
.cms-body .ma-module-custom-editor{display:grid;gap:12px}.cms-body .ma-custom-module-editor{border:1px solid var(--cms-border,#2b303a);border-radius:12px;background:var(--cms-surface,#17191f);overflow:hidden}.cms-body .ma-custom-module-editor>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-bottom:1px solid var(--cms-border,#2b303a);background:var(--cms-surface-alt,#11151b)}.cms-body .ma-custom-module-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px}.cms-body .ma-custom-module-fields .span-2{grid-column:1/-1}.cms-body .ma-custom-module-fields textarea{font:13px/1.55 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace!important}
@media(max-width:760px){.cms-body .ma-custom-module-fields{grid-template-columns:1fr}.cms-body .ma-custom-module-fields .span-2{grid-column:auto}}

/* 0.6.48 — public typography runtime. Values come from site-presentation.php. */
:root{--ma-fs-nav:14px;--ma-fs-search:13px;--ma-fs-hero-title:38px;--ma-fs-hero-excerpt:15px;--ma-fs-section-title:22px;--ma-fs-card-title:18px;--ma-fs-card-excerpt:15px;--ma-fs-category-badge:12px;--ma-fs-card-meta:11px;--ma-fs-article-title:50px;--ma-fs-article-body:18px;--ma-fs-article-meta:12px;--ma-fs-sidebar-heading:18px;--ma-fs-sidebar-item-title:13px;--ma-fs-sidebar-item-meta:10px;--ma-fs-button:13px;--ma-fs-breadcrumb:12px;--ma-fs-footer:13px}
body:not(.cms-body){font-family:var(--ma-public-font-family,inherit)}
body:not(.cms-body) header nav a,body:not(.cms-body) .site-nav a,body:not(.cms-body) .main-nav a{font-size:var(--ma-fs-nav)!important}
body:not(.cms-body) header input[type="search"],body:not(.cms-body) .search-form input,body:not(.cms-body) [class*="search"] input{font-size:var(--ma-fs-search)!important}
body:not(.cms-body) .ac-feature-slide h1,body:not(.cms-body) .ac-feature-slide h2,body:not(.cms-body) [class*="hero"] h1,body:not(.cms-body) [class*="feature"] h1{font-size:var(--ma-fs-hero-title)!important}
body:not(.cms-body) .ac-feature-slide p,body:not(.cms-body) [class*="hero"] p{font-size:var(--ma-fs-hero-excerpt)!important}
body:not(.cms-body) .section-title,body:not(.cms-body) .ac-section-title,body:not(.cms-body) main>section>header h2{font-size:var(--ma-fs-section-title)!important}
body:not(.cms-body) [data-ma-card-normalized="1"] h2,body:not(.cms-body) [data-ma-card-normalized="1"] h3,body:not(.cms-body) [data-ma-card-normalized="1"] h4,body:not(.cms-body) .ac-news-card h3{font-size:var(--ma-fs-card-title)!important}
body:not(.cms-body) .ma-card-excerpt-runtime,body:not(.cms-body) [data-ma-card-normalized="1"] [class*="excerpt"]{font-size:var(--ma-fs-card-excerpt)!important;line-height:1.55!important}
body:not(.cms-body) .ma-card-category-chip,body:not(.cms-body) [data-ma-category-normalized="1"]{font-size:var(--ma-fs-category-badge)!important}
body:not(.cms-body) [data-ma-card-normalized="1"] [class*="meta"],body:not(.cms-body) [data-ma-card-normalized="1"] time{font-size:var(--ma-fs-card-meta)!important}
body:not(.cms-body) .article-header h1,body:not(.cms-body) [data-article-page] h1,body:not(.cms-body) main article>header h1{font-size:var(--ma-fs-article-title)!important}
body:not(.cms-body) .article-body,body:not(.cms-body) .article-content,body:not(.cms-body) [data-article-body]{font-size:var(--ma-fs-article-body)!important;line-height:1.62!important}
body:not(.cms-body) .article-meta,body:not(.cms-body) [data-article-page] [class*="meta"]{font-size:var(--ma-fs-article-meta)!important}
body:not(.cms-body) [data-ma-public-module] h2,body:not(.cms-body) [data-ma-public-module] h3,body:not(.cms-body) .ma-public-custom-module-title{font-size:var(--ma-fs-sidebar-heading)!important}
body:not(.cms-body) [data-ma-public-module="trending"] li a,body:not(.cms-body) [data-ma-public-module="trending"] [class*="title"],body:not(.cms-body) [class*="trending"] [class*="title"]{font-size:var(--ma-fs-sidebar-item-title)!important;line-height:1.3!important}
body:not(.cms-body) [data-ma-public-module="trending"] time,body:not(.cms-body) [data-ma-public-module="trending"] [class*="meta"],body:not(.cms-body) [class*="trending"] time{font-size:var(--ma-fs-sidebar-item-meta)!important}
body:not(.cms-body) button,body:not(.cms-body) .button,body:not(.cms-body) .btn{font-size:var(--ma-fs-button)!important}
body:not(.cms-body) .breadcrumb,body:not(.cms-body) [class*="breadcrumb"]{font-size:var(--ma-fs-breadcrumb)!important}
body:not(.cms-body) footer,body:not(.cms-body) footer a{font-size:var(--ma-fs-footer)!important}

/* More News / Latest News category chip parity — deliberately broad because legacy
   archive templates use several different class names. */
body:not(.cms-body) .ma-card-category-chip,body:not(.cms-body) [data-ma-category-normalized="1"]{display:inline-flex!important;box-sizing:border-box!important;width:auto!important;min-width:0!important;max-width:max-content!important;flex:0 0 auto!important;align-self:flex-start!important;justify-self:start!important;align-items:center!important;gap:5px!important;margin:0 0 9px!important;padding:5px 10px!important;border-radius:3px!important;line-height:1!important;font-weight:850!important;text-transform:uppercase!important;letter-spacing:.025em!important;white-space:nowrap!important}

/* Public custom modules follow the visual language of the built-in right rail. */
body:not(.cms-body) .ma-public-custom-module{border:1px solid var(--border,#2c3340);border-radius:8px;background:var(--surface,#171a21);padding:16px;margin:0 0 16px}.ma-public-custom-module-title{margin:0 0 13px;padding-left:10px;border-left:3px solid var(--accent,#ff4968);font-weight:850}.ma-public-custom-module-content>*:first-child{margin-top:0}.ma-public-custom-module-content>*:last-child{margin-bottom:0}.ma-public-custom-module-content img{max-width:100%;height:auto}.ma-public-custom-module-content iframe{max-width:100%;width:100%;border:0}
body:not(.cms-body) .logo-tagline,body:not(.cms-body) [class*="tagline"]{font-size:var(--ma-fs-logo-tagline,10px)!important}
body:not(.cms-body) .category-header h1,body:not(.cms-body) .page-header h1,body:not(.cms-body) main>.page-title{font-size:var(--ma-fs-page-title,42px)!important}
body:not(.cms-body) [data-ma-public-module="trending"] [class*="rank"],body:not(.cms-body) [class*="trending"] [class*="rank"]{font-size:var(--ma-fs-sidebar-rank,12px)!important}
body:not(.cms-body) [data-ma-public-module] p,body:not(.cms-body) .ma-public-custom-module-content{font-size:var(--ma-fs-module-body,13px)!important}
body:not(.cms-body) [class*="pagination"],body:not(.cms-body) [class*="load-more"],body:not(.cms-body) button[data-load-more]{font-size:var(--ma-fs-pagination,13px)!important}
body:not(.cms-body) footer h2,body:not(.cms-body) footer h3,body:not(.cms-body) footer h4{font-size:var(--ma-fs-footer-heading,15px)!important}

/* Manga Afternoon CMS 0.6.49 — final public parity / admin stability repairs */
body:not(.cms-body) [data-ma-lang-control][hidden],
body:not(.cms-body) .ma-current-language-flag{display:none!important}

/* Latest News / category archive badges must use the same compact chip as homepage cards. */
body:not(.cms-body) .ac-news-card .ac-badge,
body:not(.cms-body) .ac-news-card .category-colored-badge,
body:not(.cms-body) .ac-news-card .category-badge,
body:not(.cms-body) .ac-news-card .category-label,
body:not(.cms-body) .news-card .ac-badge,
body:not(.cms-body) .news-card .category-colored-badge,
body:not(.cms-body) .news-card .category-badge,
body:not(.cms-body) .news-card .category-label,
body:not(.cms-body) .article-card .ac-badge,
body:not(.cms-body) .article-card .category-colored-badge,
body:not(.cms-body) .article-card .category-badge,
body:not(.cms-body) [data-ma-category-normalized="1"],
body:not(.cms-body) .ma-card-category-chip{
  display:inline-flex!important;width:max-content!important;max-width:calc(100% - 2px)!important;min-width:0!important;
  align-items:center!important;align-self:flex-start!important;justify-self:start!important;flex:0 0 auto!important;
  margin:0 0 9px!important;padding:5px 10px!important;border-radius:3px!important;
  line-height:1!important;font-size:var(--ma-fs-category-badge,12px)!important;font-weight:850!important;
  text-transform:uppercase!important;letter-spacing:.025em!important;white-space:nowrap!important;
}
body:not(.cms-body) [data-ma-card-normalized="1"]{min-width:0}
body:not(.cms-body) .ma-card-excerpt-runtime{font-size:var(--ma-fs-card-excerpt,15px)!important;line-height:1.55!important}

/* Runtime-created public sidebars use the same visual spacing as native ones. */
body:not(.cms-body) .ma-runtime-public-sidebar{display:grid;gap:22px;align-content:start;min-width:0}
body:not(.cms-body) .ma-runtime-public-sidebar>[data-ma-public-module],
body:not(.cms-body) .ma-runtime-public-sidebar>.ma-public-custom-module{min-width:0}

/* Admin sidebar footer: stable, readable, never concatenated. */
.cms-body .ma-admin-sidebar-footer{display:grid!important;gap:12px!important;margin-top:18px!important;padding:16px 12px 18px!important;border-top:1px solid var(--cms-border,#2b303a)!important;color:var(--cms-muted,#91a0b5)!important;font-size:.72rem!important;line-height:1.35!important}
.cms-body .ma-admin-secure-line{display:flex!important;align-items:flex-start!important;gap:9px!important}
.cms-body .ma-admin-secure-line>span:last-child{display:grid!important;gap:2px!important}
.cms-body .ma-admin-secure-line strong{color:var(--cms-text,#eef2f7)!important;font-size:.73rem!important}
.cms-body .ma-admin-secure-line small{display:block!important;color:var(--cms-muted,#91a0b5)!important;font-size:.68rem!important}
.cms-body .ma-admin-build-line{display:grid!important;gap:2px!important}
.cms-body .ma-admin-build-line span{font-size:.65rem!important;text-transform:uppercase!important;letter-spacing:.08em!important}
.cms-body .ma-admin-build-line strong{color:var(--cms-text,#eef2f7)!important;font-size:.72rem!important}

/* Bulk backup confirmation/progress should stay in the CMS visual system. */
.cms-body .ma-backup-bulk-floating{z-index:10020!important}

/* Manga Afternoon CMS 0.6.50 — professional alignment / archive pagination / module parity */

/* Dashboard tiles: icons are optically and geometrically centered in their squares. */
.cms-body .dashboard-square-tile{align-items:center!important}
.cms-body .dashboard-square-tile .tile-icon,
.cms-body .dashboard-square-tile>.tile-icon,
.cms-body .dashboard-square-tile>[class*="icon"]:first-child,
.cms-body .dashboard-alert>span:first-child{
  display:grid!important;place-items:center!important;align-self:center!important;justify-self:center!important;
  padding:0!important;margin:0!important;line-height:1!important;text-align:center!important;
}
.cms-body .dashboard-square-tile .tile-icon{width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important}
.cms-body .dashboard-square-tile .tile-icon :is(svg,.ui-icon),
.cms-body .dashboard-square-tile .tile-icon>svg{display:block!important;width:18px!important;height:18px!important;margin:auto!important;transform:none!important}
.cms-body .dashboard-square-tile .tile-icon :is(i,span){display:grid!important;place-items:center!important;width:100%!important;height:100%!important;line-height:1!important}

/* Current-language visual is never shown on the public site. */
body:not(.cms-body) [data-ma-lang-control][hidden],
body:not(.cms-body) [data-ma-language-visual][hidden],
body:not(.cms-body) .ma-current-language-flag{display:none!important}
html[data-ma-public-language="en"] body:not(.cms-body) [data-ma-language-visual="en"]{display:none!important}
html[data-ma-public-language="ar"] body:not(.cms-body) [data-ma-language-visual="ar"]{display:none!important}

/* Latest News archive pagination. */
body:not(.cms-body) .ma-news-pagination{
  display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;
  margin:28px 0 10px;padding:14px 16px;border:1px solid #2c323c;border-radius:10px;background:#171a20;color:#dfe5ee;
}
body:not(.cms-body) .ma-news-pagination-summary{font-size:var(--ma-fs-pagination,13px);color:#9da8b8}
body:not(.cms-body) .ma-news-pagination-controls{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
body:not(.cms-body) .ma-news-pagination button,
body:not(.cms-body) .ma-news-page-gap{
  min-width:38px;height:38px;display:inline-grid;place-items:center;padding:0 11px;border:1px solid #343b47;border-radius:7px;
  background:#11151b;color:#e8edf5;font:800 var(--ma-fs-pagination,13px)/1 var(--ma-public-font-family,Inter,system-ui,sans-serif);
}
body:not(.cms-body) .ma-news-pagination button{cursor:pointer}
body:not(.cms-body) .ma-news-pagination button:hover:not(:disabled){border-color:#ff4f68;background:#21161b}
body:not(.cms-body) .ma-news-pagination button.active{border-color:#ff4f68;background:#ff4f68;color:#fff}
body:not(.cms-body) .ma-news-pagination button:disabled{opacity:.38;cursor:not-allowed}
body:not(.cms-body) .ma-news-page-gap{border-color:transparent;background:transparent;color:#7f8a9b;min-width:24px;padding:0}
@media(max-width:680px){body:not(.cms-body) .ma-news-pagination{align-items:stretch;flex-direction:column}.ma-news-pagination-controls{justify-content:center}}

/* Hydrated/public modules always form one ordered vertical stack. */
body:not(.cms-body) :is(.article-sidebar,.ac-sidebar-stack,.right-sidebar,.sidebar-right,[data-public-sidebar]){
  align-content:start!important;
}
body:not(.cms-body) :is(.article-sidebar,.ac-sidebar-stack,.right-sidebar,.sidebar-right,[data-public-sidebar])>[data-ma-public-module],
body:not(.cms-body) :is(.article-sidebar,.ac-sidebar-stack,.right-sidebar,.sidebar-right,[data-public-sidebar])>.ma-public-custom-module{
  width:100%!important;min-width:0!important;margin:0 0 20px!important;
}

/* Public Module Studio order values: fixed professional two-digit slots. */
.cms-body .ma-module-order{width:58px!important;text-align:center!important;font-variant-numeric:tabular-nums!important;letter-spacing:.05em!important}
.cms-body .ma-module-matrix-head,.cms-body .ma-module-matrix-row{grid-template-columns:minmax(230px,1.2fr) 70px repeat(6,110px) 90px!important}

/* Unified CMS notices: no blank legacy icon square and no concatenated title/message. */
.cms-body .ma-notice-normalized{display:flex!important;align-items:center!important;gap:12px!important;min-height:56px!important;padding:13px 15px!important}
.cms-body .ma-notice-normalized>.ma-notice-copy,
.cms-body .cms-inline-notice-copy{display:grid!important;gap:3px!important;min-width:0!important;flex:1 1 auto!important}
.cms-body .ma-notice-normalized>.ma-notice-copy strong,
.cms-body .cms-inline-notice-copy strong{display:block!important;line-height:1.25!important}
.cms-body .ma-notice-normalized>.ma-notice-copy span,
.cms-body .cms-inline-notice-copy span{display:block!important;line-height:1.4!important}
.cms-body .notice>:is(button,.button,.status,.notice-icon,.alert-icon):empty,
.cms-body .alert>:is(button,.button,.status,.notice-icon,.alert-icon):empty{display:none!important}

/* Sidebar footer: fixed rhythm, aligned lock and build row. */
.cms-body .ma-admin-sidebar-footer-v2{
  display:grid!important;gap:12px!important;width:100%!important;margin:20px 0 0!important;padding:16px 12px 14px!important;
  border-top:1px solid var(--cms-border,#2b303a)!important;background:transparent!important;color:var(--cms-muted,#91a0b5)!important;
}
.cms-body .ma-admin-sidebar-footer-v2 .ma-admin-secure-line{display:grid!important;grid-template-columns:28px minmax(0,1fr)!important;align-items:center!important;gap:10px!important;margin:0!important}
.cms-body .ma-admin-footer-icon{width:28px!important;height:28px!important;display:grid!important;place-items:center!important;border:1px solid #303744!important;border-radius:7px!important;background:#12171e!important;font-size:13px!important;line-height:1!important}
.cms-body .ma-admin-footer-copy{display:grid!important;gap:2px!important;min-width:0!important}
.cms-body .ma-admin-footer-copy strong{font-size:11px!important;line-height:1.25!important;color:#eef2f7!important}
.cms-body .ma-admin-footer-copy small{font-size:10px!important;line-height:1.25!important;color:#8290a4!important}
.cms-body .ma-admin-sidebar-footer-v2 .ma-admin-build-line{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;margin:0!important;padding-top:10px!important;border-top:1px solid #252c36!important}
.cms-body .ma-admin-sidebar-footer-v2 .ma-admin-build-line span{font-size:9px!important;letter-spacing:.1em!important;color:#7e8ca1!important}
.cms-body .ma-admin-sidebar-footer-v2 .ma-admin-build-line strong{font-size:11px!important;color:#dce3ec!important;font-variant-numeric:tabular-nums!important}

/* Authoritative V3 backup bulk bar. */
.cms-body .ma-backup-bulk-toolbar-v3{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;flex-wrap:wrap!important;margin:14px 0 18px!important;padding:12px 14px!important;border:1px solid var(--cms-border,#2e3541)!important;border-radius:10px!important;background:var(--cms-surface,#171b22)!important}
.cms-body .cms-inline-notice-close{margin-left:auto!important;width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;padding:0!important;display:grid!important;place-items:center!important;border:1px solid rgba(255,255,255,.18)!important;border-radius:7px!important;background:rgba(0,0,0,.14)!important;color:inherit!important;font-size:18px!important;line-height:1!important;box-shadow:none!important}
.cms-body .cms-inline-notice-close:hover{background:rgba(255,255,255,.08)!important}

/* Manga Afternoon CMS 0.6.51-dev — authoritative admin/public repair styles. */
.cms-body .ma-dashboard-icon-box{
  width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;
  display:grid!important;place-items:center!important;align-self:center!important;justify-self:center!important;
  padding:0!important;margin:0!important;line-height:1!important;
}
.cms-body .ma-dashboard-icon-box .ma-dashboard-icon-visual,
.cms-body .ma-dashboard-icon-box>svg,
.cms-body .ma-dashboard-icon-box>.ui-icon{
  width:18px!important;height:18px!important;display:block!important;margin:auto!important;
  inset:auto!important;position:static!important;transform:none!important;line-height:1!important;
}
.cms-body .admin-main.ma-admin-studio-exclusive>.ma-studio-suppressed,
.cms-body .admin-main.ma-admin-studio-exclusive .ma-studio-suppressed{display:none!important}
.cms-body .admin-main.ma-admin-studio-exclusive>.ma-admin-exclusive-studio{display:block!important;width:100%!important;margin:0!important}
.cms-body .admin-sidebar .ma-system-studio-link{background:transparent!important;border-left:0!important;box-shadow:none!important}
.cms-body .admin-sidebar .ma-system-studio-link.active{background:color-mix(in srgb,var(--cms-accent,#f14f64) 14%,transparent)!important;border-left:3px solid var(--cms-accent,#f14f64)!important;color:#fff!important;box-shadow:none!important}
.cms-body .ma-admin-sidebar-footer-v3{display:grid!important;gap:12px!important;margin:18px 4px 0!important;padding:16px 10px 4px!important;border-top:1px solid #252c36!important;background:transparent!important;color:#91a0b5!important}
.cms-body .ma-admin-sidebar-footer-v3 .ma-admin-secure-line{display:grid!important;grid-template-columns:28px minmax(0,1fr)!important;align-items:center!important;gap:10px!important}
.cms-body .ma-admin-sidebar-footer-v3 .ma-admin-footer-icon{width:28px!important;height:28px!important;display:grid!important;place-items:center!important;font-size:13px!important;line-height:1!important}
.cms-body .ma-admin-sidebar-footer-v3 .ma-admin-footer-copy{display:grid!important;gap:2px!important;min-width:0!important}
.cms-body .ma-admin-sidebar-footer-v3 .ma-admin-footer-copy strong{font-size:11px!important;color:#e2e8f0!important;line-height:1.25!important}
.cms-body .ma-admin-sidebar-footer-v3 .ma-admin-footer-copy small{font-size:9px!important;color:#7e8ca1!important;line-height:1.25!important}
.cms-body .ma-admin-sidebar-footer-v3 .ma-admin-build-line{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;padding-top:10px!important;border-top:1px solid #252c36!important}
.cms-body .ma-admin-sidebar-footer-v3 .ma-admin-build-line span{font-size:9px!important;letter-spacing:.1em!important;color:#7e8ca1!important}
.cms-body .ma-admin-sidebar-footer-v3 .ma-admin-build-line strong{font-size:11px!important;color:#e2e8f0!important;font-variant-numeric:tabular-nums!important}
.cms-body .cms-inline-notice{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:14px!important}
.cms-body .cms-inline-notice-copy,.cms-body .ma-notice-copy{display:grid!important;gap:3px!important;min-width:0!important}
.cms-body .cms-inline-notice-close{width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;padding:0!important;margin:0!important;border:1px solid color-mix(in srgb,currentColor 22%,transparent)!important;border-radius:7px!important;background:transparent!important;color:inherit!important;display:grid!important;place-items:center!important;font-size:18px!important;line-height:1!important;box-shadow:none!important}
.cms-body .notice>:is(button,.button,.icon-button):empty,.cms-body .alert>:is(button,.button,.icon-button):empty{display:none!important}

html[data-ma-active-lang="en"] [data-ma-switch-lang="en"],
html[data-ma-active-lang="ar"] [data-ma-switch-lang="ar"]{display:none!important}
.ma-module-source-frame{position:fixed!important;left:-10000px!important;top:-10000px!important;width:1280px!important;height:1000px!important;opacity:0!important;pointer-events:none!important;border:0!important}
.ma-news-pagination-v51{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;flex-wrap:wrap!important;margin:28px 0 12px!important;padding:16px 18px!important;border:1px solid #2a2f39!important;border-radius:12px!important;background:#171a20!important;color:#eef2f7!important}
.ma-news-pagination-v51 .ma-news-pagination-summary{font-size:.78rem!important;color:#9ca8b8!important}
.ma-news-pagination-v51 .ma-news-pagination-controls{display:flex!important;align-items:center!important;gap:7px!important;flex-wrap:wrap!important}
.ma-news-pagination-v51 button,.ma-news-pagination-v51 .ma-news-page-gap{min-width:36px!important;min-height:36px!important;padding:7px 10px!important;border:1px solid #343a46!important;border-radius:8px!important;background:#1e222a!important;color:#dce3ec!important;font:inherit!important;font-size:.76rem!important;font-weight:800!important;display:grid!important;place-items:center!important}
.ma-news-pagination-v51 button{cursor:pointer!important}.ma-news-pagination-v51 button:hover:not(:disabled){border-color:#f14f64!important;color:#fff!important}.ma-news-pagination-v51 button.active{background:#f14f64!important;border-color:#f14f64!important;color:#fff!important}.ma-news-pagination-v51 button:disabled{opacity:.4!important;cursor:not-allowed!important}.ma-news-pagination-v51 .ma-news-page-gap{border-color:transparent!important;background:transparent!important;min-width:24px!important}
.ma-card-category-chip-v51{display:inline-flex!important;width:max-content!important;max-width:calc(100% - 2px)!important;align-self:flex-start!important}
@media(max-width:720px){.ma-news-pagination-v51{align-items:stretch!important}.ma-news-pagination-v51 .ma-news-pagination-controls{width:100%!important}.ma-news-pagination-v51 button{flex:1 1 auto!important}}

/* Manga Afternoon CMS 0.6.52 — authoritative public runtime surfaces. */
.ma-active-language-flag-hidden,
html[data-ma-active-lang="en"] [data-ma-flag-language="en"],
html[data-ma-active-lang="ar"] [data-ma-flag-language="ar"] {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  min-width: 0 !important;
  max-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
}
.ma-archive-pagination.ma-news-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin: 28px 0 8px;
  padding: 14px 16px;
  border: 1px solid var(--border, #2c313d);
  border-radius: 12px;
  background: var(--surface, #181b22);
}
.ma-news-pagination-summary { color: var(--muted, #9aa7bd); font-size: .82rem; }
.ma-news-pagination-controls { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.ma-news-pagination-controls button {
  min-width: 38px; min-height: 38px; padding: 8px 11px; border: 1px solid var(--border, #303644);
  border-radius: 9px; background: var(--surface-2, #202530); color: inherit; font: inherit; cursor: pointer;
}
.ma-news-pagination-controls button:hover:not(:disabled),
.ma-news-pagination-controls button.active { border-color: var(--accent, #f14763); background: color-mix(in srgb, var(--accent, #f14763) 17%, transparent); }
.ma-news-pagination-controls button:disabled { opacity: .45; cursor: default; }
.ma-news-page-gap { padding: 0 3px; color: var(--muted, #9aa7bd); }
.ma-card-category-chip-0652 {
  display: inline-flex !important; align-items: center !important; width: max-content !important; max-width: 100% !important;
  min-height: 24px; padding: 4px 10px !important; border-radius: 4px !important; line-height: 1 !important;
}
.ma-module-source-frame { position: fixed !important; width: 1px !important; height: 1px !important; left: -10000px !important; top: -10000px !important; opacity: 0 !important; pointer-events: none !important; }
.ma-runtime-public-sidebar { min-width: 0; }
@media (max-width: 720px) {
  .ma-archive-pagination.ma-news-pagination { align-items: stretch; }
  .ma-news-pagination-controls { width: 100%; }
  .ma-news-pagination-summary { width: 100%; }
}

/* Manga Afternoon CMS 0.6.53 — updater studio organization */
.ma-updater-studio-0653{display:grid!important;gap:18px!important;max-width:1240px!important;margin-inline:auto!important}
.ma-updater-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.ma-updater-overview>div{display:grid;gap:6px;padding:16px 18px;border:1px solid var(--cms-border,#2a2e38);border-radius:12px;background:linear-gradient(180deg,rgba(255,255,255,.025),rgba(255,255,255,.008))}
.ma-updater-overview strong{font-size:1rem;color:var(--cms-text,#f4f5f8)}.ma-updater-overview small{line-height:1.45;color:var(--cms-light-muted,#95a0b2)}
.ma-updater-studio-0653 [data-update-upload]{border:1px solid var(--cms-border,#2a2e38);border-radius:14px;padding:18px;background:var(--cms-surface,#17191f)}
.ma-updater-studio-0653 [data-update-progress]{border:1px solid var(--cms-border,#2a2e38);border-radius:14px;padding:18px;background:#11161e}
.ma-updater-studio-0653 .update-actions-row{display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:wrap!important}
.ma-updater-studio-0653 [data-update-submit]{min-width:220px!important}.ma-updater-studio-0653 [data-update-stage]{min-width:88px;justify-content:center}
@media(max-width:900px){.ma-updater-overview{grid-template-columns:1fr}.ma-updater-studio-0653 [data-update-submit]{width:100%!important;min-width:0!important}}

/* Manga Afternoon CMS 0.6.54-dev — recovery + server-side public/editor fixes */
.ma-server-pagination{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin:28px 0 8px;padding:14px 16px;border:1px solid var(--border,#2a2e38);border-radius:12px;background:var(--surface,#17191f)}
.ma-pagination-summary{font-size:13px;color:var(--muted,#9ba0ad)}
.ma-pagination-controls{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.ma-page-button,.ma-page-gap{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:38px;padding:0 12px;border:1px solid var(--border,#2a2e38);border-radius:9px;background:rgba(255,255,255,.02);color:var(--text,#f4f5f8);font-weight:700;text-decoration:none}
.ma-page-button:hover{border-color:var(--accent,#f14f64);background:rgba(241,79,100,.1)}
.ma-page-button.active{border-color:var(--accent,#f14f64);background:var(--accent,#f14f64);color:#fff}
.ma-page-gap{border-color:transparent;background:transparent;color:var(--muted,#9ba0ad);min-width:24px;padding:0}
@media(max-width:720px){.ma-server-pagination{align-items:flex-start}.ma-pagination-controls{width:100%}.ma-page-button.prev,.ma-page-button.next{flex:1}}

.ma-update-studio{display:grid;gap:18px}
.ma-update-tabs{margin-bottom:0}
.ma-update-hero{display:flex;align-items:stretch;justify-content:space-between;gap:22px;padding:24px;border:1px solid var(--cms-border,#2a2e38);border-radius:14px;background:linear-gradient(135deg,var(--cms-surface,#17191f),rgba(241,79,100,.055))}
.ma-update-hero>div:first-child{max-width:760px}.ma-update-hero h2{margin:.35rem 0 .45rem;font-size:28px}.ma-update-hero p{margin:0;color:var(--cms-muted,#9ba0ad);line-height:1.6}
.ma-update-build-card{min-width:270px;display:flex;flex-direction:column;justify-content:center;gap:6px;padding:18px 20px;border:1px solid var(--cms-border,#2a2e38);border-radius:12px;background:rgba(0,0,0,.16)}
.ma-update-build-card span,.ma-update-build-card small{color:var(--cms-muted,#9ba0ad);font-size:11px;letter-spacing:.08em}.ma-update-build-card strong{font-size:17px}
.ma-update-workflow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.ma-update-workflow article{display:flex;align-items:center;gap:14px;padding:16px 18px;border:1px solid var(--cms-border,#2a2e38);border-radius:12px;background:var(--cms-surface,#17191f)}
.ma-update-workflow b{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:rgba(241,79,100,.12);color:var(--cms-accent,#f14f64)}
.ma-update-workflow article div{display:flex;flex-direction:column;gap:3px}.ma-update-workflow article span{font-size:12px;color:var(--cms-muted,#9ba0ad)}
.ma-update-console{display:grid;gap:18px}.ma-update-section-head,.ma-update-progress-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.ma-update-section-head h3{margin:.3rem 0 0}.ma-update-upload{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:14px;align-items:stretch}.ma-update-dropzone{min-height:160px}.ma-update-progress-card{display:grid;gap:12px;padding:18px;border:1px solid var(--cms-border,#2a2e38);border-radius:12px;background:rgba(0,0,0,.12)}
.ma-update-progress-head>div{display:flex;flex-direction:column;gap:3px}.ma-update-progress-head>b{font-size:24px;color:var(--cms-accent,#f14f64)}
.ma-update-actions{display:flex;gap:10px;flex-wrap:wrap}.ma-update-token{border-radius:12px}.ma-update-safety-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.ma-update-safety-grid>div{display:grid;grid-template-columns:30px 1fr;gap:2px 10px;padding:14px;border:1px solid var(--cms-border,#2a2e38);border-radius:10px;background:rgba(255,255,255,.015)}.ma-update-safety-grid>div>span{grid-row:1/3;display:grid;place-items:center;font-size:18px}.ma-update-safety-grid small{color:var(--cms-muted,#9ba0ad);line-height:1.45}
@media(max-width:900px){.ma-update-hero{flex-direction:column}.ma-update-workflow,.ma-update-safety-grid{grid-template-columns:1fr}.ma-update-upload{grid-template-columns:1fr}.ma-update-build-card{min-width:0}}


/* Manga Afternoon CMS 0.6.55-dev — professional Update Studio + native Backup Library */
.ma-update-native-0655{max-width:1280px;margin-inline:auto}
.ma-update-native-0655 .ma-update-hero{align-items:center;padding:26px 28px;box-shadow:0 16px 44px rgba(0,0,0,.10)}
.ma-update-native-0655 .ma-update-hero-copy{display:grid;gap:4px;min-width:0}
.ma-update-native-0655 .ma-update-build-card{min-width:280px;align-self:stretch;justify-content:center}
.ma-update-native-0655 .ma-update-workflow{gap:14px}
.ma-update-native-0655 .ma-update-workflow article{display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:14px;min-height:82px;padding:16px 18px}
.ma-update-native-0655 .ma-update-workflow article>div{display:grid;gap:2px;min-width:0}
.ma-update-native-0655 .ma-update-workflow article small{font-size:10px;letter-spacing:.11em;font-weight:850;color:var(--cms-muted,#9ba0ad)}
.ma-update-native-0655 .ma-update-workflow article strong{font-size:14px;line-height:1.25}
.ma-update-native-0655 .ma-update-workflow article span:not(.ma-update-step-icon){font-size:11px;line-height:1.4;color:var(--cms-muted,#9ba0ad)}
.ma-update-native-0655 .ma-update-step-icon{width:46px;height:46px;min-width:46px;display:grid;place-items:center;border-radius:12px;border:1px solid color-mix(in srgb,var(--cms-accent,#f14f64) 35%,var(--cms-border,#2a2e38));background:color-mix(in srgb,var(--cms-accent,#f14f64) 11%,transparent);color:var(--cms-accent,#f14f64)}
.ma-update-native-0655 .ma-update-step-icon .ui-icon{display:block!important;width:20px!important;height:20px!important;margin:0!important;align-self:center!important;justify-self:center!important}
.ma-update-native-0655 .ma-update-console{max-width:980px;width:100%;margin-inline:auto;padding:22px!important}
.ma-update-native-0655 .ma-update-section-head{padding-bottom:4px}
.ma-update-native-0655 .ma-update-upload{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;padding:0!important;border:0!important;background:transparent!important}
.ma-update-native-0655 .ma-update-dropzone{width:100%;min-height:168px;margin:0!important;padding:26px!important;box-sizing:border-box;border-radius:13px!important}
.ma-update-native-0655 .ma-update-dropzone>strong{font-size:15px}
.ma-update-native-0655 .ma-update-dropzone>input[type=file]{margin-top:8px;max-width:520px}
.ma-update-native-0655 .ma-update-drop-icon{width:46px;height:46px;display:grid;place-items:center;margin-bottom:2px;border-radius:12px;background:rgba(126,104,255,.10);color:#9c87ff}
.ma-update-native-0655 .ma-update-drop-icon .ui-icon{display:block!important;width:22px!important;height:22px!important;margin:0!important}
.ma-update-native-0655 .ma-update-upload-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:2px}
.ma-update-native-0655 .ma-update-upload-note{display:flex;align-items:center;gap:8px;min-width:0;color:var(--cms-muted,#9ba0ad);font-size:12px;line-height:1.45}
.ma-update-native-0655 .ma-update-upload-note .ui-icon{width:16px!important;height:16px!important;color:#59c99d}
.ma-update-native-0655 [data-update-submit]{width:auto!important;min-width:210px!important;min-height:44px!important;justify-self:auto!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;padding:0 18px!important}
.ma-update-native-0655 .ma-update-progress-card{margin-top:2px}
.ma-update-native-0655 .ma-update-actions .button{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-height:40px}
.ma-update-native-0655 .ma-update-safety-grid>div{grid-template-columns:38px minmax(0,1fr);align-items:center;min-height:78px;padding:15px 16px}
.ma-update-native-0655 .ma-update-safety-icon{grid-row:1/3;width:34px;height:34px;display:grid;place-items:center;border-radius:9px;background:rgba(255,255,255,.035);color:var(--cms-muted,#9ba0ad)}
.ma-update-native-0655 .ma-update-safety-icon .ui-icon{width:17px!important;height:17px!important;margin:0!important}
.ma-update-native-0655 .ma-update-safety-grid strong{align-self:end}.ma-update-native-0655 .ma-update-safety-grid small{align-self:start}

.ma-backup-native-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 12px;padding:12px 14px;border:1px solid var(--cms-border,#2a2e38);border-radius:11px;background:var(--cms-surface,#17191f)}
.ma-backup-native-select{display:flex;align-items:center;gap:14px;min-width:0}.ma-backup-native-select label{display:inline-flex;align-items:center;gap:8px;cursor:pointer}.ma-backup-native-select strong{color:var(--cms-muted,#9ba0ad);font-size:12px;white-space:nowrap}
.ma-backup-native-toolbar .button{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-height:40px}
.ma-backup-check-col{width:42px!important;min-width:42px!important;text-align:center!important;padding-left:12px!important;padding-right:8px!important}.ma-backup-check-col input{width:16px;height:16px;margin:0;vertical-align:middle;accent-color:var(--cms-accent,#f14f64)}
.ma-backup-table tbody tr:has(.ma-backup-native-check:checked){background:color-mix(in srgb,var(--cms-accent,#f14f64) 7%,transparent)}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:900px){.ma-update-native-0655 .ma-update-upload-actions{align-items:stretch;flex-direction:column}.ma-update-native-0655 [data-update-submit]{width:100%!important}.ma-backup-native-toolbar{align-items:stretch;flex-direction:column}.ma-backup-native-toolbar .button{width:100%}}

/* Manga Afternoon CMS 0.6.58-dev — functional CMS headers, streamlined updater, public in-site errors */
.cms-body .page-intro>div>p,
.cms-body .module-section-hero>div>p,
.cms-body .panel-title>div>p{display:none!important}
.cms-body .page-intro h2,
.cms-body .panel-title h2,
.cms-body .module-section-hero h2,
.cms-body .module-section-hero h3{display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important}
.cms-body .page-intro h2>.heading-icon,
.cms-body .panel-title h2>.heading-icon,
.cms-body .module-section-hero h2>.heading-icon,
.cms-body .module-section-hero h3>.heading-icon{
  box-sizing:border-box!important;width:32px!important;height:32px!important;min-width:32px!important;padding:7px!important;margin:0!important;
  display:grid!important;place-items:center!important;align-self:center!important;vertical-align:middle!important;border:1px solid color-mix(in srgb,var(--cms-accent,#f14f64) 34%,var(--cms-border,#2a2e38))!important;
  border-radius:9px!important;background:color-mix(in srgb,var(--cms-accent,#f14f64) 10%,transparent)!important;color:var(--cms-accent,#f14f64)!important;transform:none!important
}
.cms-body .page-intro h2>.heading-icon use,
.cms-body .panel-title h2>.heading-icon use,
.cms-body .module-section-hero h2>.heading-icon use,
.cms-body .module-section-hero h3>.heading-icon use{transform:none!important}
.cms-body .module-section-icon{box-sizing:border-box!important;width:44px!important;height:44px!important;min-width:44px!important;display:grid!important;place-items:center!important;padding:0!important;margin:0!important}
.cms-body .module-section-icon>.ui-icon{width:20px!important;height:20px!important;margin:auto!important;display:block!important;transform:none!important}
.cms-body .page-intro{align-items:center!important}
.cms-body .page-intro>div{min-width:0!important}
.cms-body .events-page-intro h2 .heading-icon{position:static!important;inset:auto!important}

/* Compact updater: one version status, one package row, one operation row. */
.ma-update-center-0658{max-width:1120px;margin-inline:auto;display:grid;gap:14px}
.ma-update-tabs-compact{margin:0!important;width:max-content!important;max-width:100%;padding:4px!important}
.ma-update-statusbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;border:1px solid var(--cms-border,#2a2e38);border-radius:12px;background:var(--cms-surface,#17191f)}
.ma-update-status-main{display:flex;align-items:center;gap:12px;min-width:0}.ma-update-status-main>div{display:grid;gap:2px}.ma-update-status-main strong{font-size:15px}.ma-update-status-icon{width:38px;height:38px;min-width:38px;display:grid;place-items:center;border-radius:10px;background:color-mix(in srgb,#36c98f 12%,transparent);color:#59c99d;border:1px solid color-mix(in srgb,#36c98f 30%,var(--cms-border,#2a2e38))}.ma-update-status-icon>.ui-icon{width:18px!important;height:18px!important;margin:auto!important}
.ma-update-functional{display:grid!important;gap:16px!important;padding:18px!important}
.ma-update-file-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:stretch}
.ma-update-file-picker{display:grid;grid-template-columns:44px minmax(170px,.7fr) minmax(250px,1fr);gap:12px;align-items:center;min-height:64px;padding:10px 12px;border:1px solid var(--cms-border,#2a2e38);border-radius:11px;background:color-mix(in srgb,var(--cms-surface,#17191f) 85%,#000 15%)}
.ma-update-file-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:9px;background:rgba(126,104,255,.10);color:#9c87ff}.ma-update-file-icon>.ui-icon{width:19px!important;height:19px!important;margin:auto!important}
.ma-update-file-copy{display:grid;gap:2px}.ma-update-file-copy strong{font-size:13px}.ma-update-file-copy small{font-size:10px;color:var(--cms-muted,#9ba0ad)}
.ma-update-file-picker input[type=file]{width:100%;min-height:40px;margin:0!important;padding:4px!important}
.ma-update-install-button{min-width:170px!important;justify-content:center!important}
.ma-update-operation{display:grid;gap:11px;padding:14px 15px;border:1px solid var(--cms-border,#2a2e38);border-radius:11px;background:rgba(0,0,0,.10)}
.ma-update-operation-head,.ma-update-operation-footer{display:flex;align-items:center;justify-content:space-between;gap:14px}.ma-update-operation-head>div{display:grid;gap:2px;min-width:0}.ma-update-operation-head>b{font-size:20px;color:var(--cms-accent,#f14f64)}
.ma-update-operation-footer .ma-update-actions{justify-content:flex-end}.ma-update-token-compact{margin:0!important}.ma-update-token-compact>label{display:grid;grid-template-columns:140px minmax(0,1fr);align-items:center;gap:12px;width:100%}.ma-update-token-compact>label>span{font-weight:800;font-size:12px}
.ma-update-history-panel{padding:0!important;overflow:hidden}
@media(max-width:760px){.ma-update-file-form{grid-template-columns:1fr}.ma-update-file-picker{grid-template-columns:40px 1fr}.ma-update-file-picker input[type=file]{grid-column:1/-1}.ma-update-install-button{width:100%!important}.ma-update-operation-head,.ma-update-operation-footer{align-items:flex-start;flex-direction:column}.ma-update-operation-footer .ma-update-actions{width:100%;justify-content:flex-start}.ma-update-token-compact>label{grid-template-columns:1fr}}

/* Recoverable public errors are rendered inside the normal Manga Afternoon website. */
.ma-public-error-shell{width:min(var(--public-container,1180px),calc(100% - 32px));margin:32px auto 56px;display:grid;gap:28px}
.ma-public-error-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(190px,280px);align-items:stretch;overflow:hidden;border:1px solid var(--public-border,#262833);border-radius:max(10px,var(--public-radius,6px));background:var(--public-surface,#171820);box-shadow:0 20px 50px rgba(0,0,0,.12)}
.ma-public-error-copy{padding:clamp(28px,5vw,62px);display:grid;align-content:center;justify-items:start}
.ma-public-error-code{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-left:3px solid var(--public-accent,#ff334f);color:var(--public-accent,#ff334f);font-family:var(--public-ui-font,Inter),sans-serif;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.ma-public-error-copy h1{max-width:780px;margin:16px 0 12px;font-family:var(--public-heading-font,Inter),sans-serif;font-size:clamp(40px,6vw,76px);line-height:.95;letter-spacing:-.045em;color:var(--public-text,#f5f6f8)}
.ma-public-error-copy>p{max-width:720px;margin:0;color:var(--public-muted,#9ba0ad);font-size:clamp(15px,1.5vw,18px);line-height:1.65}
.ma-public-error-mark{display:grid;place-items:center;min-height:330px;background:radial-gradient(circle at 50% 45%,color-mix(in srgb,var(--public-accent,#ff334f) 16%,transparent),transparent 62%),color-mix(in srgb,var(--public-surface-alt,#1b1c25) 80%,#000 20%);border-inline-start:1px solid var(--public-border,#262833);overflow:hidden}
.ma-public-error-mark>span{font-family:var(--public-heading-font,Inter),sans-serif;font-size:clamp(76px,10vw,150px);line-height:1;font-weight:950;color:color-mix(in srgb,var(--public-accent,#ff334f) 72%,#fff 28%);letter-spacing:-.08em;transform:translateX(-.04em)}
.ma-public-error-search{width:min(680px,100%);display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;margin-top:26px;border:1px solid var(--public-border,#262833);border-radius:10px;background:var(--public-surface-alt,#1b1c25);overflow:hidden}
.ma-public-error-search-icon{display:grid;place-items:center;color:var(--public-muted,#9ba0ad)}.ma-public-error-search-icon>.ui-icon{width:18px;height:18px}
.ma-public-error-search input{width:100%;min-height:52px;border:0!important;outline:0!important;background:transparent!important;color:var(--public-text,#f5f6f8)!important;font:inherit;padding:0 10px!important}.ma-public-error-search input::placeholder{color:var(--public-muted,#9ba0ad)}
.ma-public-error-search button{align-self:stretch;border:0;background:var(--public-accent,#ff334f);color:#fff;padding:0 22px;font-weight:850;cursor:pointer}
.ma-public-error-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.ma-public-error-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 16px;border-radius:9px;text-decoration:none;font-weight:850}.ma-public-error-primary{background:var(--public-accent,#ff334f);color:#fff}.ma-public-error-secondary{border:1px solid var(--public-border,#262833);background:var(--public-surface-alt,#1b1c25);color:var(--public-text,#f5f6f8)}
.ma-public-error-explore .section-heading{margin:0 0 12px}.ma-public-error-explore .section-heading h2{margin:5px 0 0}
.ma-public-error-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.ma-public-error-grid>a{display:grid;grid-template-columns:38px minmax(0,1fr) 18px;align-items:center;gap:10px;min-height:86px;padding:16px;border:1px solid var(--public-border,#262833);border-radius:10px;background:var(--public-surface,#171820);color:var(--public-text,#f5f6f8);text-decoration:none;transition:border-color .16s ease,transform .16s ease}.ma-public-error-grid>a:hover{border-color:var(--public-accent,#ff334f);transform:translateY(-2px)}.ma-public-error-card-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:9px;background:color-mix(in srgb,var(--public-accent,#ff334f) 11%,transparent);color:var(--public-accent,#ff334f)}.ma-public-error-card-icon>.ui-icon{width:18px;height:18px}.ma-public-error-arrow{width:14px!important;height:14px!important;transform:rotate(-90deg)!important;color:var(--public-muted,#9ba0ad)}
@media(max-width:900px){.ma-public-error-hero{grid-template-columns:1fr}.ma-public-error-mark{min-height:160px;border-inline-start:0;border-top:1px solid var(--public-border,#262833)}.ma-public-error-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.ma-public-error-shell{width:min(var(--public-container,1180px),calc(100% - 20px));margin-top:18px}.ma-public-error-search{grid-template-columns:36px 1fr}.ma-public-error-search button{grid-column:1/-1;min-height:44px}.ma-public-error-grid{grid-template-columns:1fr}}

/* Manga Afternoon CMS 0.6.59-dev — focused updater, exact sidebar state, HTML code editor, interactive TinyMCE studio. */
/* Hidden updater/recovery panels must stay hidden even when older component CSS sets display:grid. */
.cms-body [data-update-progress][hidden],
.cms-body [data-update-token-banner][hidden],
.cms-body [data-update-resume][hidden],
.cms-body [data-update-reload][hidden]{display:none!important}

/* Sidebar highlights the exact destination being viewed. Parent modules stay expanded but are not falsely highlighted. */
.cms-body .admin-sidebar .nav-group.has-active-child>.nav-main{background:transparent!important;border-left-color:transparent!important;box-shadow:none!important;color:#d8dde7!important}
.cms-body .admin-sidebar .nav-group.has-active-child>.nav-main .nav-icon{color:#858c9b!important}
.cms-body .admin-sidebar .nav-sub a.active,
.cms-body .admin-sidebar .nav-sub a[aria-current="page"]{background:color-mix(in srgb,var(--cms-accent,#f14f64) 13%,transparent)!important;color:#fff!important;box-shadow:inset 2px 0 0 var(--cms-accent,#f14f64)!important}
.cms-body .admin-sidebar .nav-sub a.active .nav-sub-icon,
.cms-body .admin-sidebar .nav-sub a[aria-current="page"] .nav-sub-icon{color:var(--cms-accent,#f14f64)!important}

/* Institutional language tabs: single, stable hit target. */
.cms-body [data-ma-institutional-language]{position:relative!important;z-index:1!important;pointer-events:auto!important;user-select:none;min-height:40px!important;cursor:pointer!important}
.cms-body [data-ma-institutional-language]>*{pointer-events:none!important}

/* Error Pages — self-contained HTML code editor with synchronized line-number gutter. */
.cms-body .ma-error-editor-toolbar{align-items:center!important;gap:12px!important}
.cms-body .ma-error-editor-toolbar>div:first-child{display:grid;gap:2px}
.cms-body .ma-error-editor-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.cms-body .ma-error-editor-tools label{display:flex;align-items:center;gap:6px;color:var(--cms-muted,#9ba0ad);font-size:11px;font-weight:750}
.cms-body .ma-error-editor-tools select{min-height:32px;padding:4px 24px 4px 8px;border:1px solid var(--cms-border,#2a2e38);border-radius:7px;background:var(--cms-bg,#101218);color:var(--cms-text,#f4f5f8)}
.cms-body .ma-code-tool{min-height:32px;padding:5px 10px;border:1px solid var(--cms-border,#2a2e38);border-radius:7px;background:transparent;color:var(--cms-muted,#9ba0ad);font:inherit;font-size:11px;font-weight:800;cursor:pointer}
.cms-body .ma-code-tool.active,.cms-body .ma-code-tool:hover{border-color:color-mix(in srgb,var(--cms-accent,#f14f64) 55%,var(--cms-border,#2a2e38));background:color-mix(in srgb,var(--cms-accent,#f14f64) 11%,transparent);color:#fff}
.cms-body .ma-error-code-shell{display:grid;grid-template-columns:54px minmax(0,1fr);min-height:620px;background:#0d1118;border-top:1px solid var(--cms-border,#2a2e38);overflow:hidden}
.cms-body .ma-error-code-gutter{height:620px;overflow:hidden;padding:18px 9px 18px 0;border-right:1px solid #252d38;background:#0a0e14;color:#687386;font:12px/1.58 ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace;text-align:right;user-select:none}
.cms-body .ma-error-code-gutter span{display:block;height:20.54px;line-height:20.54px}
.cms-body .ma-error-code-editor{min-height:620px!important;height:620px!important;resize:none!important;overflow:auto!important;padding:18px!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important;tab-size:2!important}
.cms-body .ma-error-code-editor.ma-code-nowrap{white-space:pre!important;overflow-wrap:normal!important}
.cms-body .ma-error-code-status{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 12px;border-top:1px solid var(--cms-border,#2a2e38);background:#0a0e14;color:#7f8998;font:11px/1.2 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
@media(max-width:1050px){.cms-body .ma-error-code-shell{min-height:480px}.cms-body .ma-error-code-gutter,.cms-body .ma-error-code-editor{height:480px!important;min-height:480px!important}}

/* TinyMCE settings — Joomla-like interactive configuration with live workspace preview. */
.cms-body .tinymce-settings-studio{border-radius:12px!important;background:var(--cms-surface,#17191f)!important}
.cms-body .tinymce-settings-head{align-items:center!important;padding:16px 18px!important;background:color-mix(in srgb,var(--cms-surface,#17191f) 88%,var(--cms-accent,#f14f64) 12%)!important}
.cms-body .tinymce-settings-head h2{font-size:1.16rem!important;margin:2px 0!important}
.cms-body .tinymce-settings-tabs{overflow-x:auto;flex-wrap:nowrap!important;scrollbar-width:thin;padding:0 10px!important}
.cms-body .tinymce-settings-tabs button{white-space:nowrap;min-height:42px!important;padding:9px 13px!important}
.cms-body .tinymce-live-preview{grid-column:1/-1;margin-bottom:14px;border:1px solid var(--cms-border,#2a2e38);border-radius:10px;background:#0c1118;overflow:hidden}
.cms-body .tinymce-live-preview-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 13px;border-bottom:1px solid var(--cms-border,#2a2e38);font-size:12px}.cms-body .tinymce-live-preview-head span{color:var(--cms-muted,#9ba0ad);font-size:10px;text-transform:uppercase;letter-spacing:.08em}
.cms-body .tinymce-live-menubar{padding:8px 12px;border-bottom:1px solid #29313c;background:#151b24;color:#cdd5e1;font-size:11px;white-space:pre;overflow:auto}
.cms-body .tinymce-live-toolbar{display:flex;gap:5px;flex-wrap:wrap;padding:9px 10px;border-bottom:1px solid #29313c;background:#111720;min-height:44px}
.cms-body .tinymce-live-tool{display:inline-flex;align-items:center;min-height:28px;padding:4px 7px;border:1px solid #313a48;border-radius:6px;background:#1b2430;color:#dfe5ee;font-size:10px;font-weight:750}
.cms-body .tinymce-live-canvas{min-height:230px;background:#fff;color:#171a21;transition:max-width .18s,margin .18s,padding .18s,font-size .18s,line-height .18s}.cms-body .tinymce-live-canvas[data-theme="dark"]{background:#10141b;color:#edf1f7}.cms-body .tinymce-live-canvas h2{margin:0 0 14px;font-size:1.6em}.cms-body .tinymce-live-canvas p{margin:0 0 1em}.cms-body .tinymce-live-canvas.document{box-shadow:0 0 0 1px #303846,0 10px 28px rgba(0,0,0,.2)}
.cms-body .tinymce-toolbar-builder{grid-column:1/-1;margin-bottom:12px;padding:13px;border:1px solid #2a3340;border-radius:9px;background:#0e141b}.cms-body .tinymce-toolbar-builder-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.cms-body .tinymce-toolbar-builder-head>div{display:grid;gap:2px}.cms-body .tinymce-toolbar-builder-head small{color:#8995a6;font-size:10px}.cms-body .tinymce-toolbar-palette{display:flex;flex-wrap:wrap;gap:7px}.cms-body .tinymce-tool-chip{min-height:34px;padding:6px 10px;border:1px solid #303947;border-radius:8px;background:#141b24;color:#aeb8c6;font:inherit;font-size:11px;font-weight:750;cursor:pointer}.cms-body .tinymce-tool-chip:hover{color:#fff;border-color:#566277}.cms-body .tinymce-tool-chip.active{background:color-mix(in srgb,var(--cms-accent,#f14f64) 14%,#141b24);border-color:color-mix(in srgb,var(--cms-accent,#f14f64) 62%,#303947);color:#fff}
html[data-theme="light"] .cms-body .tinymce-live-preview,html[data-theme="light"] .cms-body .tinymce-toolbar-builder{background:#f8fafc;border-color:#d8dee8}html[data-theme="light"] .cms-body .tinymce-live-menubar,html[data-theme="light"] .cms-body .tinymce-live-toolbar{background:#f1f4f8;border-color:#d8dee8;color:#354052}html[data-theme="light"] .cms-body .tinymce-live-tool,html[data-theme="light"] .cms-body .tinymce-tool-chip{background:#fff;border-color:#d8dee8;color:#445164}

/* Manga Afternoon CMS 0.6.60-dev — deterministic icon alignment, RTL rhythm, consent UI */
.cms-body :is(.page-intro,.panel-title,.panel,.dashboard-module-head,.module-section-hero) :is(h1,h2,h3,h4):has(> .heading-icon){display:flex!important;align-items:center!important;gap:8px!important;line-height:1.25!important}
.cms-body :is(.page-intro,.panel-title,.panel,.dashboard-module-head,.module-section-hero) :is(h1,h2,h3,h4)> .heading-icon{
  position:static!important;inset:auto!important;box-sizing:content-box!important;width:17px!important;height:17px!important;min-width:17px!important;max-width:17px!important;
  padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:var(--cms-accent,#f14f64)!important;
  display:block!important;align-self:center!important;transform:none!important;vertical-align:middle!important
}
.cms-body .dashboard-module-head h2>.heading-icon{color:var(--tile-color,var(--cms-accent,#f14f64))!important}
.cms-body .panel>h3:has(> .heading-icon){margin-top:0!important;margin-bottom:16px!important}
.cms-body .panel>h3>.heading-icon{flex:0 0 17px!important}

html[dir="rtl"] .ac-card-heading h2:before,html[dir="rtl"] .ac-section-heading h2:before{margin-right:0!important;margin-left:8px!important}

.cms-body .ma-error-code-editor{white-space:pre-wrap!important;overflow-wrap:anywhere!important;word-break:normal!important}
.cms-body .ma-error-editor-tools .ma-code-tool.active{cursor:default!important;opacity:.85!important}

.ma-cookie-consent[hidden]{display:none!important}.ma-cookie-consent{position:fixed;z-index:9990;left:18px;right:18px;bottom:18px;display:flex;justify-content:center;pointer-events:none}.ma-cookie-consent-inner{pointer-events:auto;width:min(980px,100%);display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:16px;padding:16px 18px;background:#171820;border:1px solid #343744;border-radius:12px;box-shadow:0 18px 60px rgba(0,0,0,.42);color:#f3f4f7}.ma-cookie-consent-image{width:74px;height:74px;border-radius:9px;object-fit:cover}.ma-cookie-consent-copy{display:grid;gap:5px;min-width:0}.ma-cookie-consent-copy strong{font-size:15px}.ma-cookie-consent-copy p{margin:0;color:#b8bdca;font-size:13px;line-height:1.55}.ma-cookie-consent-copy a{width:max-content;color:var(--public-accent,#ff5067);font-size:12px;font-weight:700;text-decoration:none}.ma-cookie-consent-actions{display:flex;align-items:center;gap:8px;white-space:nowrap}.ma-cookie-consent .ac-button{min-height:40px;border-radius:8px;padding:9px 14px;border:1px solid #3a3d49;background:#22242d;color:#fff;font:inherit;font-weight:800;cursor:pointer}.ma-cookie-consent .ac-button.primary{background:var(--public-accent,#ff5067);border-color:var(--public-accent,#ff5067)}.ma-cookie-consent[dir="rtl"] .ma-cookie-consent-copy{text-align:right}.ma-cookie-consent[dir="rtl"] .ma-cookie-consent-actions{direction:rtl}
@media(max-width:760px){.ma-cookie-consent{left:10px;right:10px;bottom:10px}.ma-cookie-consent-inner{grid-template-columns:1fr}.ma-cookie-consent-image{width:58px;height:58px}.ma-cookie-consent-actions{display:grid;grid-template-columns:1fr 1fr}.ma-cookie-consent .ac-button{width:100%}}
.cms-body .social-studio-purpose-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(280px,.55fr);gap:16px;align-items:start}.cms-body .social-campaign-card,.cms-body .social-article-share-card{min-width:0}.cms-body .social-network-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px}.cms-body .social-network-option{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid var(--cms-border);border-radius:9px;cursor:pointer;background:color-mix(in srgb,var(--cms-surface) 88%,#000 12%)}.cms-body .social-network-option img{width:24px;height:24px}.cms-body .social-network-option span{display:grid;gap:2px}.cms-body .social-network-option small{color:var(--cms-muted)}.cms-body .social-network-option.is-disabled{opacity:.5;cursor:not-allowed}.cms-body .social-purpose-list{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;margin-top:18px;padding-top:15px;border-top:1px solid var(--cms-border);font-size:.75rem}.cms-body .social-purpose-list span{color:var(--cms-muted)}.cms-body .social-purpose-list strong{font-weight:650}.cms-body .social-platform-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.cms-body .social-channel-card{display:flex;align-items:center;gap:14px;padding:18px;border:1px solid var(--cms-border);border-radius:10px;background:var(--cms-surface)}.cms-body .social-channel-card>div{display:grid;gap:4px}.cms-body .social-channel-card .brand-app.large img{width:34px;height:34px}
.cms-body .legal-editor-grid{align-items:start}.cms-body .legal-editor-grid>.panel{min-width:0}.cms-body .nested-editor-tabs{margin-top:14px}
@media(max-width:980px){.cms-body .social-studio-purpose-grid{grid-template-columns:1fr}.cms-body .social-network-picker,.cms-body .social-platform-grid{grid-template-columns:1fr}.cms-body .social-purpose-list{grid-template-columns:1fr}}


/* Manga Afternoon CMS 0.6.61 — security trust actions + route studio containment */
.ma-route-studio-host{display:block;min-width:0}
.security-finding-actions,.security-baseline-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.security-baseline-actions{margin:14px 0}

/* Manga Afternoon CMS 0.6.62 — language studio, visible article flags, media analyzer and section-order builder */
.cms-body .article-list-title-line{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0}
.cms-body .article-language-flags{display:inline-flex!important;align-items:center;gap:5px;flex:0 0 auto;min-width:max-content;padding:2px 5px;border:1px solid var(--cms-border,#2a2e38);border-radius:6px;background:rgba(255,255,255,.025)}
.cms-body .article-language-flags>span{display:grid;place-items:center;width:25px;height:18px;border-radius:3px;overflow:hidden;box-shadow:0 0 0 1px rgba(255,255,255,.12)}
.cms-body .article-language-flags img{display:block!important;width:25px!important;height:18px!important;max-width:none!important;object-fit:cover!important;margin:0!important}
.cms-body .article-language-flags>span.missing{opacity:.32;filter:grayscale(1)}
.cms-body .article-language-flags>span.missing img{filter:grayscale(1)}
html[data-theme="light"] .cms-body .article-language-flags{background:#f7f9fc;border-color:var(--cms-light-border,#d8dee8)}
html[data-theme="light"] .cms-body .article-language-flags>span{box-shadow:0 0 0 1px rgba(17,24,39,.18)}

.cms-body .language-interface-studio{display:grid;gap:16px;min-width:0}
.cms-body .language-identity-panel,.cms-body .language-catalogue-panel{min-width:0}
.cms-body .language-flag-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:14px}
.cms-body .language-flag-card{display:grid;gap:12px;padding:15px;border:1px solid var(--cms-border,#2a2e38);border-radius:10px;background:color-mix(in srgb,var(--cms-surface,#17191f) 88%,#000 12%)}
.cms-body .language-flag-card-head{display:flex;align-items:center;gap:13px;min-width:0}
.cms-body .language-flag-card-head>div:last-child{display:grid;gap:3px;min-width:0}.cms-body .language-flag-card-head strong{font-size:.86rem}.cms-body .language-flag-card-head small{color:var(--cms-muted,#8d96a8);font-size:.67rem}
.cms-body .language-flag-card .language-flag-preview{width:78px;height:50px;display:grid;place-items:center;overflow:hidden;border:1px solid var(--cms-border,#2a2e38);border-radius:6px;background:#0d0f14;flex:0 0 78px}
.cms-body .language-flag-card .language-flag-preview img{display:block;width:100%;height:100%;object-fit:cover;margin:0}
.cms-body .language-flag-card input[type="file"]{width:100%;min-width:0}
.cms-body .language-translation-groups{display:grid;gap:14px;margin-top:16px}
.cms-body .language-translation-group{border:1px solid var(--cms-border,#2a2e38);border-radius:10px;overflow:hidden;background:color-mix(in srgb,var(--cms-surface,#17191f) 92%,#000 8%)}
.cms-body .language-translation-group-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-bottom:1px solid var(--cms-border,#2a2e38);background:rgba(255,255,255,.025)}
.cms-body .language-translation-group-head h4{margin:0;font-size:.79rem}.cms-body .language-translation-group-head span{color:var(--cms-muted,#8d96a8);font-size:.63rem}
.cms-body .language-translation-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0}
.cms-body .language-translation-field{display:grid!important;grid-template-columns:minmax(150px,.8fr) minmax(220px,1.2fr)!important;align-items:center!important;gap:12px!important;margin:0!important;padding:11px 13px!important;border-bottom:1px solid color-mix(in srgb,var(--cms-border,#2a2e38) 70%,transparent)!important;min-width:0}
.cms-body .language-translation-field:nth-child(odd){border-right:1px solid color-mix(in srgb,var(--cms-border,#2a2e38) 70%,transparent)!important}
.cms-body .language-translation-field>span{display:grid;gap:3px;min-width:0}.cms-body .language-translation-field>span b{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.62rem;color:#c4cbda;overflow-wrap:anywhere}.cms-body .language-translation-field>span small{font-size:.6rem;color:var(--cms-muted,#8d96a8);line-height:1.35;overflow-wrap:anywhere}
.cms-body .language-translation-field input{width:100%;min-width:0;text-align:right;font-size:.76rem}
html[data-theme="light"] .cms-body .language-flag-card,html[data-theme="light"] .cms-body .language-translation-group{background:#fafbfd;border-color:var(--cms-light-border,#d8dee8)}
html[data-theme="light"] .cms-body .language-translation-group-head{background:#f5f7fa;border-color:var(--cms-light-border,#d8dee8)}
html[data-theme="light"] .cms-body .language-translation-field{border-color:var(--cms-light-border,#d8dee8)!important}html[data-theme="light"] .cms-body .language-translation-field>span b{color:#3a4658}

.cms-body .admin-menu-layout-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:13px;padding:11px 12px;border:1px solid var(--cms-border,#2a2e38);border-radius:9px;background:rgba(255,255,255,.02)}
.cms-body .admin-menu-sections{display:grid;gap:13px;counter-reset:ma-menu-section}
.cms-body .admin-menu-layout-section{counter-increment:ma-menu-section;display:grid;gap:10px;padding:12px;border:1px solid var(--cms-border,#2a2e38);border-radius:10px;background:color-mix(in srgb,var(--cms-surface,#17191f) 92%,#000 8%);transition:border-color .15s ease,opacity .15s ease}
.cms-body .admin-menu-layout-section.is-dragging{opacity:.58;border-color:var(--cms-accent,#f14f64)}
.cms-body .admin-menu-layout-section-head{display:grid;grid-template-columns:auto minmax(220px,1fr) auto;align-items:end;gap:10px;padding-bottom:10px;border-bottom:1px solid var(--cms-border,#2a2e38)}
.cms-body .admin-menu-layout-section-head:before{content:"SECTION " counter(ma-menu-section);position:absolute;pointer-events:none;opacity:0}
.cms-body .admin-menu-layout-section-head>.admin-menu-drag{display:grid;place-items:center;width:36px;height:36px;border:1px solid var(--cms-border,#2a2e38);border-radius:7px;cursor:grab;background:#11141b;color:#8e98aa}.cms-body .admin-menu-layout-section-head>.admin-menu-drag:active{cursor:grabbing}
.cms-body .admin-menu-sortable{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-height:20px}
.cms-body .admin-menu-order-item.flexible{display:grid;grid-template-columns:auto auto minmax(0,1fr) auto;align-items:end;gap:9px;padding:9px;border:1px solid var(--cms-border,#2a2e38);border-radius:8px;background:#11141b;min-width:0}
.cms-body .admin-menu-order-item.flexible.is-dragging{opacity:.5}.cms-body .admin-menu-order-item .admin-menu-drag{cursor:grab;color:#7e899b}.cms-body .admin-menu-order-controls{display:flex;align-items:center;gap:5px}
html[data-theme="light"] .cms-body .admin-menu-layout-toolbar,html[data-theme="light"] .cms-body .admin-menu-layout-section{background:#fafbfd;border-color:var(--cms-light-border,#d8dee8)}html[data-theme="light"] .cms-body .admin-menu-layout-section-head,html[data-theme="light"] .cms-body .admin-menu-order-item.flexible{border-color:var(--cms-light-border,#d8dee8)}html[data-theme="light"] .cms-body .admin-menu-order-item.flexible,html[data-theme="light"] .cms-body .admin-menu-layout-section-head>.admin-menu-drag{background:#fff}

.cms-body .media-analyzer-hero p{max-width:760px;margin:5px 0 0;color:var(--cms-muted,#8d96a8)}
.cms-body .media-analyzer-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 16px}
.cms-body .media-analyzer-kpi{display:grid;gap:5px;padding:15px;border:1px solid var(--cms-border,#2a2e38);border-radius:10px;background:var(--cms-surface,#17191f);min-width:0}.cms-body .media-analyzer-kpi>span{font-size:.61rem;text-transform:uppercase;letter-spacing:.07em;color:var(--cms-muted,#8d96a8);font-weight:800}.cms-body .media-analyzer-kpi>strong{font-size:1.25rem;line-height:1.1}.cms-body .media-analyzer-kpi>small{font-size:.64rem;line-height:1.4;color:var(--cms-muted,#8d96a8)}
.cms-body .media-analyzer-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);gap:14px;margin-bottom:14px}.cms-body .media-analyzer-layout>.panel{margin:0}
.cms-body .media-policy-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:14px 0}.cms-body .media-policy-grid>div{display:grid;gap:3px;padding:10px 11px;border:1px solid var(--cms-border,#2a2e38);border-radius:8px;background:rgba(255,255,255,.02)}.cms-body .media-policy-grid span{font-size:.6rem;color:var(--cms-muted,#8d96a8);text-transform:uppercase;letter-spacing:.06em}.cms-body .media-policy-grid strong{font-size:.76rem;overflow-wrap:anywhere}
.cms-body .media-analyzer-recommendation{display:grid;align-content:start;gap:10px}.cms-body .media-analyzer-recommendation h3,.cms-body .media-analyzer-recommendation p{margin:0}.cms-body .media-analyzer-recommendation p{font-size:.76rem;line-height:1.6;color:#c1c7d2}.cms-body .media-analyzer-recommendation small{font-size:.65rem;line-height:1.5;color:var(--cms-muted,#8d96a8)}
.cms-body .media-area-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}.cms-body .media-area-grid article{display:grid;gap:3px;padding:11px;border:1px solid var(--cms-border,#2a2e38);border-radius:8px;background:rgba(255,255,255,.02)}.cms-body .media-area-grid span{font-size:.62rem;color:var(--cms-muted,#8d96a8)}.cms-body .media-area-grid strong{font-size:.88rem}.cms-body .media-area-grid small{font-size:.6rem;color:var(--cms-muted,#8d96a8)}
.cms-body .media-analyzer-tables{align-items:start}.cms-body .media-analyzer-tables>.panel{min-width:0}.cms-body .media-analyzer-tables table small{display:block;margin-top:3px;color:var(--cms-muted,#8d96a8)}.cms-body .media-analyzer-tables code,.cms-body .panel table code{font-size:.62rem;overflow-wrap:anywhere;white-space:normal}
html[data-theme="light"] .cms-body .media-analyzer-kpi{background:#fff;border-color:var(--cms-light-border,#d8dee8)}html[data-theme="light"] .cms-body .media-policy-grid>div,html[data-theme="light"] .cms-body .media-area-grid article{background:#f8fafc;border-color:var(--cms-light-border,#d8dee8)}html[data-theme="light"] .cms-body .media-analyzer-recommendation p{color:#4b5565}

@media(max-width:1260px){.cms-body .language-translation-field-grid{grid-template-columns:1fr}.cms-body .language-translation-field:nth-child(odd){border-right:0!important}.cms-body .media-analyzer-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.cms-body .media-area-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.cms-body .admin-menu-sortable{grid-template-columns:1fr}}
@media(max-width:820px){.cms-body .language-flag-card-grid{grid-template-columns:1fr}.cms-body .language-translation-field{grid-template-columns:1fr!important;align-items:stretch!important}.cms-body .language-translation-group-head{align-items:flex-start;flex-direction:column}.cms-body .media-analyzer-layout{grid-template-columns:1fr}.cms-body .media-area-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cms-body .admin-menu-layout-section-head{grid-template-columns:auto 1fr}.cms-body .admin-menu-layout-section-head>.admin-menu-order-controls{grid-column:1/-1;justify-content:flex-end}}
@media(max-width:560px){.cms-body .media-analyzer-kpis,.cms-body .media-area-grid,.cms-body .media-policy-grid{grid-template-columns:1fr}.cms-body .language-flag-card-head{align-items:flex-start}.cms-body .language-flag-card .language-flag-preview{width:64px;height:42px;flex-basis:64px}.cms-body .admin-menu-order-item.flexible{grid-template-columns:auto auto minmax(0,1fr)}.cms-body .admin-menu-order-item.flexible>.admin-menu-order-controls{grid-column:1/-1;justify-content:flex-end}}

/* Manga Afternoon CMS 0.6.63-dev — compact infrastructure UI + background-operation polish */
.infra-shell{display:grid;gap:16px;margin-top:18px}.infra-header{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:0 0 4px}.infra-header h2{margin:3px 0 5px;font-size:1.35rem}.infra-header p{margin:0;color:var(--cms-muted,#9299a8);max-width:820px}.infra-status-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border:1px solid var(--cms-border,#2a2e38);border-radius:10px;overflow:hidden;background:var(--cms-surface,#17191f)}.infra-status-strip>div{display:grid;gap:4px;padding:12px 14px;min-width:0;border-right:1px solid var(--cms-border,#2a2e38)}.infra-status-strip>div:last-child{border-right:0}.infra-status-strip span{font-size:.64rem;text-transform:uppercase;letter-spacing:.08em;color:var(--cms-muted,#9299a8);font-weight:800}.infra-status-strip strong{font-size:.86rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.infra-ok{color:#38c77a!important}.infra-muted{color:var(--cms-muted,#9299a8)!important}.infra-section{border:1px solid var(--cms-border,#2a2e38);border-radius:10px;background:var(--cms-surface,#17191f);overflow:hidden}.infra-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 16px;border-bottom:1px solid var(--cms-border,#2a2e38)}.infra-section-heading h3{margin:0 0 3px;font-size:.98rem}.infra-section-heading p{margin:0;color:var(--cms-muted,#9299a8);font-size:.74rem}.infra-connection-list{display:grid}.infra-connection-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:14px;padding:13px 16px;border-bottom:1px solid var(--cms-border,#2a2e38)}.infra-connection-row:last-child{border-bottom:0}.infra-connection-copy{display:grid;gap:3px;min-width:0}.infra-connection-copy strong{font-size:.86rem}.infra-connection-copy span{font-size:.72rem;color:var(--cms-muted,#9299a8)}.infra-state{display:inline-flex;align-items:center;justify-content:center;min-width:82px;padding:5px 8px;border-radius:999px;font-size:.65rem;font-weight:800;border:1px solid var(--cms-border,#2a2e38)}.infra-state.ok{color:#38c77a;border-color:color-mix(in srgb,#38c77a 35%,var(--cms-border,#2a2e38));background:color-mix(in srgb,#38c77a 8%,transparent)}.infra-state.muted{color:var(--cms-muted,#9299a8)}.infra-smtp-grid{display:grid;grid-template-columns:minmax(0,1.4fr) 130px minmax(0,1fr) minmax(0,1fr) 180px;gap:12px;padding:16px;align-items:end}.infra-smtp-grid .field{margin:0}.infra-actions{display:flex;justify-content:flex-end;gap:8px;padding:0 16px 16px}.security-scan-panel [data-scan-result]{text-align:right;max-width:60%;color:var(--cms-muted,#9299a8)}
html[data-theme="light"] .cms-body .infra-status-strip,html[data-theme="light"] .cms-body .infra-section{background:#fff;border-color:var(--cms-light-border,#d8dee8)}html[data-theme="light"] .cms-body .infra-status-strip>div,html[data-theme="light"] .cms-body .infra-section-heading,html[data-theme="light"] .cms-body .infra-connection-row{border-color:var(--cms-light-border,#d8dee8)}
@media(max-width:1250px){.infra-status-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.infra-status-strip>div:nth-child(3){border-right:0}.infra-status-strip>div:nth-child(-n+3){border-bottom:1px solid var(--cms-border,#2a2e38)}.infra-smtp-grid{grid-template-columns:minmax(0,1fr) 120px minmax(0,1fr)}.infra-smtp-grid .infra-encryption{grid-column:auto}.infra-smtp-grid .field:nth-child(4){grid-column:1/3}}@media(max-width:760px){.infra-status-strip{grid-template-columns:1fr 1fr}.infra-status-strip>div{border-right:1px solid var(--cms-border,#2a2e38)!important;border-bottom:1px solid var(--cms-border,#2a2e38)!important}.infra-status-strip>div:nth-child(2n){border-right:0!important}.infra-status-strip>div:last-child{grid-column:1/-1;border-right:0!important;border-bottom:0!important}.infra-connection-row{grid-template-columns:1fr auto}.infra-connection-row .button{grid-column:1/-1}.infra-smtp-grid{grid-template-columns:1fr}.infra-smtp-grid .field:nth-child(4),.infra-smtp-grid .infra-encryption{grid-column:auto}.infra-actions{justify-content:stretch;flex-direction:column}.infra-actions .button{width:100%}.security-scan-panel [data-scan-result]{max-width:none;text-align:left}}

/* Manga Afternoon CMS 0.6.65-dev — concise Security Center + Arabic manual-repair details */
.security-clean-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:20px 0 12px;padding:16px 18px;border:1px solid var(--cms-border,#2a2e38);border-radius:11px;background:var(--cms-surface,#17191f)}
.security-clean-title{display:flex;align-items:center;gap:12px;min-width:0}.security-clean-title>.ui-icon{width:22px;height:22px;color:#5da9ff;flex:0 0 auto}.security-clean-title h2{margin:0;font-size:1.18rem}.security-clean-title p{margin:3px 0 0;color:var(--cms-muted,#9299a8);font-size:.73rem}.security-clean-head .security-grade{min-width:118px;padding:9px 12px;border:1px solid var(--cms-border,#2a2e38);border-radius:8px;background:transparent;text-align:right}.security-clean-head .security-grade span{font-size:.58rem;letter-spacing:.08em;color:var(--cms-muted,#9299a8)}.security-clean-head .security-grade strong{display:block;margin-top:2px;font-size:.94rem;color:var(--cms-text,#f4f5f8)}
.security-status-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-bottom:14px}.security-status-grid article{display:flex;align-items:center;gap:10px;min-width:0;padding:11px 12px;border:1px solid var(--cms-border,#2a2e38);border-radius:9px;background:var(--cms-surface,#17191f)}.security-status-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:7px;background:color-mix(in srgb,#5da9ff 10%,transparent);color:#5da9ff;flex:0 0 32px}.security-status-icon .ui-icon{width:16px;height:16px}.security-status-grid article>div{display:grid;gap:2px;min-width:0}.security-status-grid small{font-size:.58rem;text-transform:uppercase;letter-spacing:.07em;color:var(--cms-muted,#9299a8)}.security-status-grid strong{font-size:.77rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--cms-text,#f4f5f8)}
.security-clean-tabs .cms-tablist{gap:2px;padding:4px;border-radius:9px}.security-clean-tabs .cms-tablist button{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:7px 10px;font-size:.72rem}.security-clean-tabs .cms-tablist button .ui-icon{width:14px;height:14px}.security-clean-tabs .status-chip{padding:2px 5px;font-size:.57rem}
.security-scan-clean{padding:16px!important;margin-top:12px!important}.security-scan-clean-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.security-scan-clean-head h2{margin:0 0 3px!important;padding:0!important;border:0!important;font-size:.98rem!important}.security-scan-clean-head span{display:block;color:var(--cms-muted,#9299a8);font-size:.68rem}.security-scan-clean .scan-progress{margin:15px 0 10px}.security-scan-clean .scan-progress-track{height:8px}.security-scan-clean .scan-progress>strong{min-width:38px;text-align:right;font-size:.7rem}.security-scan-live{display:grid;grid-template-columns:110px minmax(0,1fr);align-items:center;gap:10px;padding:9px 10px;border:1px solid var(--cms-border,#2a2e38);border-radius:8px;background:color-mix(in srgb,var(--cms-surface,#17191f) 76%,#000)}.security-scan-live>span{font-size:.66rem;color:var(--cms-muted,#9299a8)}.security-scan-live code{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.66rem;color:var(--cms-text,#f4f5f8);background:transparent!important;border:0!important;padding:0!important}.security-scan-message{min-height:18px;margin-top:8px;font-size:.68rem;color:var(--cms-muted,#9299a8)}.security-last-scan{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:10px;padding-top:10px;border-top:1px solid var(--cms-border,#2a2e38);font-size:.64rem;color:var(--cms-muted,#9299a8)}.security-last-scan strong{color:var(--cms-text,#f4f5f8);font-size:.67rem}.security-tabs>.cms-tabpanel>.panel{box-shadow:none!important}
.arabic-ai-scoop-detail-list{display:grid;gap:6px;margin-top:2px;padding-top:8px;border-top:1px solid color-mix(in srgb,var(--border,#283241) 75%,transparent)}.arabic-ai-scoop-detail-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:8px 9px;border:1px solid var(--border,#344154);border-radius:8px;background:rgba(0,0,0,.08)}.arabic-ai-scoop-detail-copy{display:grid;gap:3px;min-width:0}.arabic-ai-scoop-detail-copy strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.arabic-ai-scoop-detail-copy span{font-size:10px;line-height:1.4;color:var(--muted,#9db0c7)}.arabic-ai-scoop-edit{white-space:nowrap;padding:6px 9px!important;font-size:10px!important}
html[data-theme="light"] .cms-body .security-clean-head,html[data-theme="light"] .cms-body .security-status-grid article{background:#fff;border-color:var(--cms-light-border,#d8dee8)}html[data-theme="light"] .cms-body .security-scan-live{background:#f8fafc;border-color:var(--cms-light-border,#d8dee8)}html[data-theme="light"] .cms-body .arabic-ai-scoop-detail-row{background:#fafbfe}
@media(max-width:980px){.security-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.security-clean-head{align-items:flex-start}.security-scan-clean-head{align-items:flex-start;flex-direction:column}.security-scan-clean-head .button{width:100%}}
@media(max-width:620px){.security-clean-head{flex-direction:column}.security-clean-head .security-grade{width:100%;text-align:left}.security-status-grid{grid-template-columns:1fr}.security-scan-live{grid-template-columns:1fr}.arabic-ai-scoop-detail-row{grid-template-columns:1fr}.arabic-ai-scoop-edit{width:100%;justify-content:center}}

/* 0.6.66 media upload progress */
.media-upload-progress{margin-top:12px;padding:12px;border:1px solid var(--cms-border);border-radius:10px;background:rgba(255,255,255,.02)}
.media-upload-progress[hidden]{display:none!important}.media-upload-progress-track{height:8px;border-radius:99px;overflow:hidden;background:rgba(255,255,255,.08)}
.media-upload-progress-track>span{display:block;height:100%;width:0;background:var(--cms-accent);transition:width .2s ease}.media-upload-progress-line{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-top:8px}.media-upload-progress-line span{color:var(--cms-muted);font-size:12px}

/* 0.6.67 — TinyMCE article galleries + reader image lightbox */
.article-body .ma-article-gallery{display:grid;grid-template-columns:repeat(var(--ma-gallery-columns,3),minmax(0,1fr));gap:var(--ma-gallery-gap,12px);margin:1.75rem 0;align-items:stretch}
.article-body .ma-gallery-item{min-width:0;margin:0;overflow:hidden;border-radius:var(--radius,10px);background:var(--surface-alt,#1e2129)}
.article-body .ma-gallery-item img{display:block;width:100%;height:100%;min-height:150px;aspect-ratio:4/3;object-fit:cover;margin:0}
.article-body .ma-image-zoom-target,.article-body img.ma-zoomable{cursor:zoom-in}
.article-body .ma-image-zoom-target:focus-visible{outline:3px solid var(--accent,#f14f64);outline-offset:3px}
html.ma-lightbox-open,html.ma-lightbox-open body{overflow:hidden}
.ma-image-lightbox{position:fixed;inset:0;z-index:100000;display:flex;align-items:center;justify-content:center;padding:68px 34px 34px;background:rgba(5,7,10,.84)}
.ma-image-lightbox.has-blur{backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.ma-image-lightbox-stage{width:100%;height:100%;display:flex;align-items:center;justify-content:center;cursor:zoom-out}
.ma-image-lightbox-stage img{display:block;max-width:min(94vw,1800px);max-height:88vh;width:auto;height:auto;object-fit:contain;border-radius:8px;box-shadow:0 24px 90px rgba(0,0,0,.55)}
.ma-image-lightbox-close{position:fixed;top:18px;right:22px;z-index:2;width:44px;height:44px;border:1px solid rgba(255,255,255,.3);border-radius:50%;background:rgba(12,14,18,.82);color:#fff;font:300 34px/1 Arial,sans-serif;cursor:pointer;display:grid;place-items:center;padding:0}
.ma-image-lightbox-close:hover,.ma-image-lightbox-close:focus-visible{background:#fff;color:#111;outline:none}
@media(max-width:760px){.article-body .ma-article-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.article-body .ma-gallery-item img{min-height:110px}.ma-image-lightbox{padding:58px 12px 18px}.ma-image-lightbox-close{top:10px;right:10px}}
@media(max-width:460px){.article-body .ma-article-gallery{grid-template-columns:1fr}}

/* 0.6.69 — History Timeline studio + responsive public timeline */
.timeline-config-layout{grid-template-columns:1fr}.timeline-general-panel{max-width:none}.timeline-event-builder-panel{margin-top:18px}.timeline-builder-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:16px}.timeline-builder-head h3{margin:3px 0}.timeline-event-list{display:grid;gap:14px}.timeline-event-card{border:1px solid var(--cms-border,#303440);background:var(--cms-surface,#171820);border-radius:14px;padding:16px;display:grid;gap:15px}.timeline-event-card-head{display:flex;justify-content:space-between;align-items:center;gap:14px;padding-bottom:12px;border-bottom:1px solid var(--cms-border,#303440)}.timeline-event-handle{display:flex;align-items:center;gap:9px;min-width:0}.timeline-event-handle strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.timeline-event-handle small{color:var(--cms-muted,#8f94a4);white-space:nowrap}.timeline-event-actions{display:flex;align-items:center;gap:6px}.timeline-event-actions .icon-button{width:36px;height:36px}.timeline-event-actions .button.compact{padding:8px 10px}.timeline-event-grid{display:grid;grid-template-columns:auto repeat(2,minmax(180px,1fr));gap:12px;align-items:end}.timeline-published{align-self:center}.timeline-stat-inputs{display:grid;grid-template-columns:repeat(5,minmax(100px,1fr));gap:10px}.timeline-media-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.timeline-media-field{border:1px solid var(--cms-border,#303440);border-radius:12px;padding:13px;display:grid;gap:10px}.timeline-media-field>div:first-child{display:grid;gap:3px}.timeline-media-field small{color:var(--cms-muted,#8f94a4)}.timeline-cover-preview{min-height:100px;border:1px dashed var(--cms-border,#303440);border-radius:10px;display:grid;place-items:center;overflow:hidden;position:relative}.timeline-cover-preview img{width:100%;height:150px;object-fit:cover}.timeline-cover-preview span:not(.muted){position:absolute;bottom:8px;left:8px;background:rgba(0,0,0,.65);color:#fff;padding:4px 7px;border-radius:6px;font-size:.7rem}.timeline-gallery-preview{display:flex;flex-wrap:wrap;gap:7px;min-height:54px}.timeline-gallery-chip{position:relative;width:76px;height:76px;border-radius:9px;overflow:hidden;border:1px solid var(--cms-border,#303440);background:#111}.timeline-gallery-chip img{width:100%;height:100%;object-fit:cover}.timeline-gallery-chip button{position:absolute;top:3px;right:3px;width:24px;height:24px;border:0;border-radius:50%;background:rgba(0,0,0,.72);color:#fff;font-size:17px;line-height:1;cursor:pointer}

.ma-history-timeline{margin:3.5rem 0 .5rem;--timeline-line:color-mix(in srgb,var(--public-accent,#ff334f) 35%,var(--public-border,#2d3039));--timeline-card:var(--public-surface,#171820)}.ma-history-timeline-head{margin:0 0 2rem;max-width:800px}.ma-history-timeline-head .eyebrow{color:var(--public-accent,#ff334f);font-size:.72rem;font-weight:800;letter-spacing:.14em}.ma-history-timeline-head h2{font-family:var(--public-heading-font);font-size:clamp(2rem,4vw,3.15rem);line-height:1.04;letter-spacing:-.035em;margin:.45rem 0 .7rem}.ma-history-timeline-head p{color:var(--public-muted);font-size:1rem;line-height:1.7;margin:0}.ma-timeline-track{position:relative;display:grid;gap:1.65rem;padding:0 0 .25rem 74px}.ma-timeline-track::before{content:"";position:absolute;left:30px;top:10px;bottom:12px;width:2px;background:linear-gradient(to bottom,var(--public-accent,#ff334f),var(--timeline-line) 12%,var(--timeline-line) 88%,transparent)}.ma-timeline-event{position:relative;opacity:0;transform:translateY(18px);transition:opacity .45s ease,transform .45s ease}.ma-timeline-event.is-visible{opacity:1;transform:none}.ma-timeline-marker{position:absolute;left:-74px;top:20px;width:62px;display:flex;justify-content:center;z-index:2}.ma-timeline-marker::before{content:"";position:absolute;left:20px;top:8px;width:20px;height:20px;border-radius:50%;background:var(--public-bg,#0d0e14);border:5px solid var(--public-accent,#ff334f);box-shadow:0 0 0 5px color-mix(in srgb,var(--public-accent,#ff334f) 13%,transparent)}.ma-timeline-marker span{position:absolute;top:35px;font-size:.68rem;font-weight:800;color:var(--public-muted);letter-spacing:.04em}.ma-timeline-card{background:var(--timeline-card);border:1px solid var(--public-border);border-radius:var(--public-radius,10px);padding:clamp(18px,2.4vw,28px);box-shadow:0 14px 42px rgba(0,0,0,.08);overflow:hidden}.ma-timeline-card-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,32%);gap:22px;align-items:start}.ma-timeline-title-wrap time{display:inline-block;color:var(--public-accent,#ff334f);font:800 .73rem/1.2 var(--public-ui-font);letter-spacing:.05em;text-transform:uppercase;margin-bottom:7px}.ma-timeline-title-wrap h3{font-family:var(--public-heading-font);font-size:clamp(1.35rem,2.5vw,2rem);line-height:1.15;margin:0 0 9px}.ma-timeline-venue{display:flex;align-items:center;gap:6px;color:var(--public-muted);margin:0;font-size:.87rem}.ma-timeline-venue .ui-icon{width:16px;height:16px;flex:0 0 auto;color:var(--public-accent,#ff334f)}.ma-timeline-cover{display:block;width:100%;border:0;padding:0;background:transparent;border-radius:10px;overflow:hidden;cursor:zoom-in;aspect-ratio:16/10}.ma-timeline-cover img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s ease}.ma-timeline-cover:hover img{transform:scale(1.025)}.ma-timeline-stats{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 0}.ma-timeline-stats span{display:grid;gap:1px;min-width:88px;border:1px solid var(--public-border);background:var(--public-surface-alt);padding:9px 11px;border-radius:8px}.ma-timeline-stats b{font:800 1rem/1.1 var(--public-heading-font)}.ma-timeline-stats small{font-size:.68rem;color:var(--public-muted)}.ma-timeline-guests{margin:18px 0 0;padding:11px 13px;border-left:3px solid var(--public-accent,#ff334f);background:color-mix(in srgb,var(--public-accent,#ff334f) 7%,transparent);border-radius:0 7px 7px 0}.ma-timeline-description{margin:17px 0 0;color:var(--public-text);line-height:1.75}.ma-timeline-media-section{margin-top:20px}.ma-timeline-media-section h4{font-family:var(--public-heading-font);font-size:.8rem;text-transform:uppercase;letter-spacing:.08em;color:var(--public-muted);margin:0 0 9px}.ma-timeline-video{position:relative;width:100%;aspect-ratio:16/9;border-radius:10px;overflow:hidden;background:#000}.ma-timeline-video iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.ma-timeline-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.ma-timeline-gallery-item{border:0;padding:0;background:transparent;border-radius:8px;overflow:hidden;aspect-ratio:1/1;cursor:zoom-in}.ma-timeline-gallery-item img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s ease}.ma-timeline-gallery-item:hover img{transform:scale(1.045)}

/* Gallery + lightbox mobile hardening. */
.article-body .ma-article-gallery img,.ma-timeline-gallery img{cursor:zoom-in}.ma-image-lightbox{min-height:100dvh;overscroll-behavior:contain}.ma-image-lightbox-stage img{touch-action:pinch-zoom;user-select:none;-webkit-user-select:none}.ma-image-lightbox-close{width:48px;height:48px;line-height:1}
html.ma-lightbox-open,html.ma-lightbox-open body{overflow:hidden}

html[dir="rtl"] .ma-timeline-track{padding-left:0;padding-right:74px}html[dir="rtl"] .ma-timeline-track::before{left:auto;right:30px}html[dir="rtl"] .ma-timeline-marker{left:auto;right:-74px}html[dir="rtl"] .ma-timeline-guests{border-left:0;border-right:3px solid var(--public-accent,#ff334f);border-radius:7px 0 0 7px}
@media(max-width:900px){.timeline-stat-inputs{grid-template-columns:repeat(3,minmax(100px,1fr))}.timeline-media-grid{grid-template-columns:1fr}.ma-timeline-card-top{grid-template-columns:1fr}.ma-timeline-cover{max-height:360px}.ma-timeline-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.timeline-builder-head,.timeline-event-card-head{align-items:stretch;flex-direction:column}.timeline-event-actions{justify-content:flex-end}.timeline-event-grid{grid-template-columns:1fr 1fr}.timeline-event-grid .timeline-published{grid-column:1/-1}.timeline-stat-inputs{grid-template-columns:repeat(2,minmax(0,1fr))}.ma-history-timeline{margin-top:2.5rem}.ma-timeline-track{padding-left:38px;gap:1.15rem}.ma-timeline-track::before{left:10px}.ma-timeline-marker{left:-38px;width:30px;top:16px}.ma-timeline-marker::before{left:1px;width:18px;height:18px;border-width:4px}.ma-timeline-marker span{display:none}html[dir="rtl"] .ma-timeline-track{padding-left:0;padding-right:38px}html[dir="rtl"] .ma-timeline-track::before{right:10px}html[dir="rtl"] .ma-timeline-marker{right:-38px}.ma-timeline-card{padding:16px}.ma-timeline-stats span{min-width:calc(50% - 4px);flex:1}.ma-timeline-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.ma-image-lightbox{padding:max(60px,calc(env(safe-area-inset-top) + 52px)) max(10px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left))}.ma-image-lightbox-stage img{max-width:100%;max-height:calc(100dvh - 82px);border-radius:5px}.ma-image-lightbox-close{top:max(8px,env(safe-area-inset-top));right:max(8px,env(safe-area-inset-right))}}
@media(max-width:460px){.timeline-event-grid,.timeline-stat-inputs{grid-template-columns:1fr}.ma-timeline-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.article-body .ma-article-gallery{grid-template-columns:1fr!important}.article-body .ma-gallery-item img{min-height:0;aspect-ratio:4/3}.ma-timeline-card-top{gap:13px}.ma-timeline-description{font-size:.94rem}.ma-timeline-stats span{min-width:0}}
@media(prefers-reduced-motion:reduce){.ma-timeline-event{opacity:1;transform:none;transition:none}.ma-timeline-cover img,.ma-timeline-gallery-item img{transition:none}}

/* 0.6.69 — authoritative light-mode action contrast + button labels. */
html[data-theme="light"] .ac-public .ac-load-more{
  background:#fff!important;color:var(--public-light-accent,var(--public-accent,#e83f58))!important;
  border-color:var(--public-light-accent,var(--public-accent,#e83f58))!important;
}
html[data-theme="light"] .ac-public .ac-load-more:hover,
html[data-theme="light"] .ac-public .ac-load-more:focus-visible{
  background:var(--public-light-accent,var(--public-accent,#e83f58))!important;color:#fff!important;
}
html[data-theme="light"] .ac-public :is(.button.primary,button.primary,.ac-button.primary,[class*="button"][data-primary]){
  background:var(--public-light-accent,var(--public-accent,#e83f58))!important;
  border-color:var(--public-light-accent,var(--public-accent,#e83f58))!important;color:#fff!important;
}
html[data-theme="light"] .ac-public :is(.button.primary,button.primary,.ac-button.primary,[class*="button"][data-primary]):hover,
html[data-theme="light"] .ac-public :is(.button.primary,button.primary,.ac-button.primary,[class*="button"][data-primary]):focus-visible{
  filter:brightness(.94);color:#fff!important;
}
html[data-theme="light"] .ac-public :is(.ma-page-button,.ma-news-pagination button,.ma-news-pagination-v51 button,.ma-pagination-controls button){
  background:#fff!important;color:#253041!important;border-color:#cbd5e1!important;
}
html[data-theme="light"] .ac-public :is(.ma-page-button,.ma-news-pagination button,.ma-news-pagination-v51 button,.ma-pagination-controls button).active,
html[data-theme="light"] .ac-public :is(.ma-page-button,.ma-news-pagination button,.ma-news-pagination-v51 button,.ma-pagination-controls button)[aria-current="page"]{
  background:var(--public-light-accent,var(--public-accent,#e83f58))!important;color:#fff!important;border-color:var(--public-light-accent,var(--public-accent,#e83f58))!important;
}
html[data-theme="light"] .cms-body :is(.button.primary,button.button.primary,.icon-action.primary-action){color:#fff!important}
html[data-theme="light"] .cms-body :is(.button.danger,button.button.danger,.icon-action.danger){color:#fff!important}
html[data-theme="light"] .cms-body :is(.button.secondary,.button.ghost,.pagination-button,.pagination-number,.icon-button){color:#26303d!important}
html[data-theme="light"] .cms-body .pagination-number.active{background:var(--cms-accent,#f14f64)!important;border-color:var(--cms-accent,#f14f64)!important;color:#fff!important}

/* 0.6.70 — institutional Events timeline, multi-video media and layout breathing room. */
.institutional-timeline-wrap{padding:0 clamp(24px,4vw,38px) clamp(30px,4vw,46px);min-width:0}.institutional-timeline-wrap .ma-history-timeline{margin:clamp(28px,4vw,46px) 0 0}.institutional-timeline-wrap .ma-history-timeline-head{padding:0;margin-bottom:clamp(22px,3vw,34px)}.ma-timeline-videos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ma-timeline-videos>.ma-timeline-video:only-child{grid-column:1/-1}.institutional-article-shell>.article-sidebar{min-width:0}.institutional-article-page{min-width:0}
@media(max-width:900px){.ma-timeline-videos{grid-template-columns:1fr}.institutional-timeline-wrap{padding-left:clamp(18px,5vw,28px);padding-right:clamp(18px,5vw,28px)}}
@media(max-width:700px){.institutional-timeline-wrap{padding:0 16px 28px}.institutional-timeline-wrap .ma-history-timeline{margin-top:24px}.ma-history-timeline-head h2{font-size:clamp(1.8rem,9vw,2.4rem)}.ma-timeline-card-top{grid-template-columns:1fr}.ma-timeline-cover{max-height:260px}.ma-timeline-videos{gap:10px}}

/* 0.6.70 — full-site wallpaper advertisement placement. The creative lives in the
   public gutters; content remains readable and gutter clicks are disabled on narrow viewports. */
body.ma-has-wallpaper-ad{background-image:var(--ma-wallpaper-image)!important;background-position:center top!important;background-repeat:no-repeat!important;background-size:max(1600px,100vw) auto!important;background-attachment:fixed!important}.ma-wallpaper-click{display:block;position:fixed;top:0;bottom:0;width:max(0px,calc((100vw - var(--public-container) - 48px)/2));z-index:12;cursor:pointer}.ma-wallpaper-click-left{left:0}.ma-wallpaper-click-right{right:0}html[dir="rtl"] .ma-wallpaper-click-left{left:0}html[dir="rtl"] .ma-wallpaper-click-right{right:0}@media(max-width:1276px){.ma-wallpaper-click{display:none}}@media(max-width:900px){body.ma-has-wallpaper-ad{background-image:none!important}}

/* 0.6.70 — real public error illustration. */
.ma-public-error-mark img{width:100%;height:100%;min-height:100%;display:block;object-fit:cover}.ma-public-error-mark:has(img){padding:0;overflow:hidden}.ma-public-error-mark:has(img) span{display:none}

/* 0.6.70 — structured Error Pages Studio. */
.ma-error-visual-studio{display:grid;gap:18px}.ma-error-studio-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:6px 2px 4px}.ma-error-studio-head h1{margin:.25rem 0 .35rem}.ma-error-studio-head p{margin:0;color:var(--muted);max-width:760px}.ma-error-studio-actions{display:flex;gap:8px;flex-wrap:wrap}.ma-error-code-tabs{display:flex;gap:7px;flex-wrap:wrap;padding:8px;border:1px solid var(--border);border-radius:12px;background:var(--surface)}.ma-error-code-tabs button{appearance:none;border:1px solid transparent;border-radius:8px;padding:8px 13px;background:transparent;color:var(--muted);font-weight:800;cursor:pointer}.ma-error-code-tabs button:hover{color:var(--text);background:var(--surface-alt)}.ma-error-code-tabs button.active{color:#fff;background:var(--accent);border-color:var(--accent)}.ma-error-visual-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);gap:18px;align-items:start}.ma-error-fields{display:grid;gap:22px}.ma-error-field-section{display:grid;gap:12px;padding-bottom:20px;border-bottom:1px solid var(--border)}.ma-error-field-section:last-child{padding-bottom:0;border-bottom:0}.ma-error-field-section h3{margin:.18rem 0 0}.ma-error-image-editor{display:grid;grid-template-columns:180px minmax(0,1fr);gap:16px;align-items:start}.ma-error-image-preview{aspect-ratio:4/3;display:grid;place-items:center;overflow:hidden;border:1px solid var(--border);border-radius:10px;background:var(--surface-alt);color:var(--muted);text-align:center}.ma-error-image-preview img{width:100%;height:100%;object-fit:cover}.ma-error-image-preview strong{display:block;font-size:3.2rem;line-height:1;color:var(--accent)}.ma-error-image-preview span{font-size:.72rem}.ma-error-preview-panel{position:sticky;top:84px}.ma-error-mini-preview{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(150px,.7fr);overflow:hidden;border:1px solid var(--border);border-radius:12px;background:var(--surface-alt)}.ma-error-mini-copy{padding:24px}.ma-error-mini-copy>span{display:block;color:var(--accent);font-size:.7rem;font-weight:900;letter-spacing:.06em}.ma-error-mini-copy h2{margin:10px 0 7px;font-size:1.65rem}.ma-error-mini-copy p{margin:0 0 14px;color:var(--muted);line-height:1.55}.ma-error-mini-copy button{border:0;border-radius:7px;padding:8px 11px;background:var(--accent);color:#fff;font-weight:800}.ma-error-mini-search{display:flex;justify-content:space-between;gap:10px;padding:9px 11px;margin:12px 0;border:1px solid var(--border);border-radius:7px;color:var(--muted);font-size:.76rem;background:var(--surface)}.ma-error-mini-search b{color:var(--text)}.ma-error-mini-mark{display:grid;place-items:center;min-height:230px;background:color-mix(in srgb,var(--accent) 8%,var(--surface));overflow:hidden}.ma-error-mini-mark strong{font-size:4.5rem;color:color-mix(in srgb,var(--accent) 70%,white)}.ma-error-mini-mark img{width:100%;height:100%;object-fit:cover}.ma-error-mini-explore{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-top:10px}.ma-error-mini-explore>b{grid-column:1/-1;margin-bottom:2px}.ma-error-mini-explore span{padding:9px;border:1px solid var(--border);border-radius:7px;background:var(--surface-alt);font-size:.72rem;font-weight:700;text-align:center}
@media(max-width:1050px){.ma-error-visual-grid{grid-template-columns:1fr}.ma-error-preview-panel{position:static}.ma-error-studio-head{flex-direction:column}.ma-error-studio-actions{width:100%}}@media(max-width:650px){.ma-error-image-editor{grid-template-columns:1fr}.ma-error-image-preview{max-width:240px}.ma-error-mini-preview{grid-template-columns:1fr}.ma-error-mini-mark{min-height:160px;order:-1}.ma-error-mini-explore{grid-template-columns:repeat(2,1fr)}}

/* Manga Afternoon CMS 0.6.71-dev — Timeline page containment + multi-upload/folder UI */
/* The institutional Events/Timeline page gets an explicit layout scope. This prevents
   generic/public-module rules from adding a page-top offset or shrinking/clipping the
   sidebar when the Timeline is enabled. */
body.page-institutional-events{margin:0!important;padding:0!important;min-height:100vh}
body.page-institutional-events>.ac-site-header,
body.page-institutional-events>.public-header{margin-top:0!important;transform:none!important;inset-block-start:auto}
body.page-institutional-events>.ac-site-header.is-sticky,
body.page-institutional-events>.public-header.is-sticky{top:0!important}
body.page-institutional-events .institutional-article-shell{width:min(var(--public-container,1380px),calc(100% - 34px))!important;max-width:none!important;margin:30px auto 0!important;padding:0!important;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(300px,var(--public-sidebar-width,340px))!important;gap:30px!important;align-items:start!important}
body.page-institutional-events .institutional-article-page{width:100%!important;max-width:none!important;min-width:0!important;overflow:hidden}
body.page-institutional-events .institutional-article-page>.article-header{padding:clamp(28px,4vw,42px)!important;margin:0!important}
body.page-institutional-events .institutional-article-page>.article-body{padding:clamp(26px,4vw,42px)!important;margin:0!important;max-width:none!important}
body.page-institutional-events .institutional-timeline-wrap{padding:0 clamp(26px,4vw,42px) clamp(34px,4vw,50px)!important;margin:0!important;min-width:0!important}
body.page-institutional-events .institutional-timeline-wrap .ma-history-timeline{margin:clamp(28px,4vw,46px) 0 0!important;min-width:0}
body.page-institutional-events .article-sidebar{display:block!important;position:sticky!important;top:20px!important;width:100%!important;min-width:0!important;max-width:none!important;align-self:start!important;overflow:visible!important}
body.page-institutional-events .article-sidebar>.ac-side-card{width:100%!important;min-width:0!important;max-width:none!important;box-sizing:border-box!important;overflow:visible!important}
body.page-institutional-events .article-trending-card .ac-trending-item{grid-template-columns:32px 72px minmax(0,1fr)!important;width:100%!important;min-width:0!important}
body.page-institutional-events .article-trending-card .ac-trending-item>span{min-width:0!important;overflow:hidden}
body.page-institutional-events .article-trending-card .ac-trending-item strong{display:block;overflow-wrap:anywhere;word-break:normal}
body.page-institutional-events .article-trending-card .ac-trending-item img{width:72px!important;height:54px!important;object-fit:cover!important}

.cms-body .media-folder-nav{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:0 0 14px}
.cms-body .media-folder-link{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:7px 10px;border:1px solid var(--cms-border,#2a2e38);border-radius:8px;text-decoration:none;font-size:.72rem;font-weight:800;color:var(--cms-text,#eef0f4);background:var(--cms-surface,#17191f)}
.cms-body .media-folder-link:hover,.cms-body .media-folder-link.active{border-color:var(--cms-accent,#f14f64);background:color-mix(in srgb,var(--cms-accent,#f14f64) 11%,var(--cms-surface,#17191f));color:var(--cms-text,#eef0f4)}
.cms-body .media-folder-chip{display:inline-flex;align-items:center;width:max-content;max-width:100%;padding:3px 6px;border:1px solid var(--cms-border,#2a2e38);border-radius:999px;font-size:.58rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:var(--cms-muted,#8d96a8)}
.cms-body .media-picker-item.selected{border-color:var(--cms-accent,#f14f64)!important;box-shadow:0 0 0 2px color-mix(in srgb,var(--cms-accent,#f14f64) 22%,transparent)!important}
.cms-body .media-upload-batch{display:grid;gap:8px;margin-top:12px}
.cms-body .media-upload-batch[hidden]{display:none!important}
.cms-body .media-upload-batch-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(120px,.8fr) 44px;gap:10px;align-items:center;padding:9px 10px;border:1px solid var(--cms-border,#2a2e38);border-radius:8px;background:rgba(255,255,255,.02)}
.cms-body .media-upload-batch-copy{display:grid;gap:2px;min-width:0}.cms-body .media-upload-batch-copy strong{font-size:.7rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cms-body .media-upload-batch-copy span{font-size:.62rem;color:var(--cms-muted,#8d96a8)}
.cms-body .media-upload-batch-track{height:7px;overflow:hidden;border-radius:999px;background:rgba(255,255,255,.08)}.cms-body .media-upload-batch-track>span{display:block;height:100%;width:0;background:var(--cms-accent,#f14f64);transition:width .18s ease}
.cms-body .media-upload-batch-row>b{font-size:.65rem;text-align:right}.cms-body .media-upload-batch-row.ok{border-color:color-mix(in srgb,#36c879 40%,var(--cms-border,#2a2e38))}.cms-body .media-upload-batch-row.error{border-color:color-mix(in srgb,#ef5267 55%,var(--cms-border,#2a2e38))}
html[data-theme="light"] .cms-body .media-folder-link{background:#fff;color:#1c2430;border-color:var(--cms-light-border,#d8dee8)}
html[data-theme="light"] .cms-body .media-folder-link:hover,html[data-theme="light"] .cms-body .media-folder-link.active{background:#f7f9fc;color:#111827}
html[data-theme="light"] .cms-body .media-upload-batch-row{background:#fff;border-color:var(--cms-light-border,#d8dee8)}html[data-theme="light"] .cms-body .media-upload-batch-track{background:#e7ebf1}

@media(max-width:1100px){
  body.page-institutional-events .institutional-article-shell{grid-template-columns:1fr!important;width:calc(100% - 24px)!important;gap:22px!important}
  body.page-institutional-events .article-sidebar{position:static!important;top:auto!important;display:block!important}
  body.page-institutional-events .article-trending-card .ac-trending-item{grid-template-columns:32px 84px minmax(0,1fr)!important}
  body.page-institutional-events .article-trending-card .ac-trending-item img{width:84px!important;height:60px!important}
}
@media(max-width:700px){
  body.page-institutional-events .institutional-article-shell{width:calc(100% - 20px)!important;margin-top:14px!important}
  body.page-institutional-events .institutional-article-page>.article-header{padding:24px 20px!important}
  body.page-institutional-events .institutional-article-page>.article-body{padding:24px 20px!important}
  body.page-institutional-events .institutional-timeline-wrap{padding:0 20px 30px!important}
  .cms-body .media-upload-batch-row{grid-template-columns:minmax(0,1fr) 42px}.cms-body .media-upload-batch-track{grid-column:1/-1;grid-row:2}.cms-body .media-upload-batch-row>b{grid-column:2;grid-row:1}
}

/* 0.6.72 — Timeline editor + public Events hardening */
.timeline-event-builder-panel{overflow:visible}
.timeline-event-list{display:grid;gap:10px}
.timeline-event-card{display:block!important;padding:0!important;overflow:clip;border:1px solid var(--cms-border,#303440);background:var(--cms-surface,#171820);border-radius:12px}
.timeline-event-card[hidden]{display:none!important}
.timeline-event-card>summary{list-style:none;cursor:pointer;user-select:none;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;color:var(--cms-text,#f5f6f8);background:var(--cms-surface,#171820)}
.timeline-event-card>summary::-webkit-details-marker{display:none}
.timeline-event-card>summary::after{content:"+";display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border-radius:7px;border:1px solid var(--cms-border,#303440);color:var(--cms-text,#f5f6f8);background:var(--cms-surface-alt,#1d1f29);font:700 18px/1 var(--public-ui-font,system-ui)}
.timeline-event-card[open]>summary::after{content:"−"}
.timeline-event-card[open]>summary{border-bottom:1px solid var(--cms-border,#303440)}
.timeline-event-summary .timeline-event-handle{display:flex;align-items:center;gap:10px;min-width:0;flex:1}
.timeline-event-summary .timeline-event-handle>span{display:grid;min-width:0;gap:2px}
.timeline-event-summary .timeline-event-handle strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:inherit}
.timeline-event-summary .timeline-event-handle small{color:var(--cms-muted,#a3a8b7);font-size:12px}
.timeline-event-summary-meta{display:flex;align-items:center;gap:10px;margin-left:auto}
.timeline-edit-hint{font-size:12px;color:var(--cms-muted,#a3a8b7)}
.timeline-event-editor{padding:16px;display:grid;gap:15px}
.timeline-event-local-actions{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 12px;border:1px solid var(--cms-border,#303440);border-radius:10px;background:var(--cms-surface-alt,#1b1c25)}
.timeline-event-local-actions>div:first-child{display:grid;gap:2px}
.timeline-event-local-actions small{color:var(--cms-muted,#a3a8b7)}
.timeline-event-local-actions>div:last-child{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.timeline-event-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px}
.timeline-event-search{display:flex;align-items:center;gap:8px;flex:1;min-width:220px;max-width:650px;border:1px solid var(--cms-border,#303440);background:var(--cms-surface-alt,#1b1c25);border-radius:9px;padding:0 10px;color:var(--cms-muted,#a3a8b7)}
.timeline-event-search input{width:100%;border:0!important;background:transparent!important;padding:10px 4px!important;color:var(--cms-text,#f5f6f8)!important;outline:none!important;box-shadow:none!important}
.timeline-event-toolbar-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.timeline-event-toolbar .button,.timeline-event-local-actions .button,.timeline-builder-head .button{min-height:36px;color:var(--cms-text,#f5f6f8)!important;background:var(--cms-surface-alt,#1b1c25);border-color:var(--cms-border,#303440)}
.timeline-event-toolbar .button:hover,.timeline-builder-head .button.secondary:hover{background:color-mix(in srgb,var(--cms-surface-alt,#1b1c25) 80%,#fff 8%)}
.timeline-event-local-actions .button.primary,.timeline-builder-head .button.primary{background:var(--public-accent,#ff334f)!important;color:#fff!important;border-color:var(--public-accent,#ff334f)!important}
.timeline-event-local-actions .button.danger{background:#c93a4e!important;color:#fff!important;border-color:#d44a5e!important}
.timeline-sticky-savebar{position:sticky;z-index:20;bottom:10px;margin-top:14px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:11px 13px;border:1px solid var(--cms-border,#303440);border-radius:11px;background:color-mix(in srgb,var(--cms-surface,#171820) 92%,transparent);backdrop-filter:blur(14px);box-shadow:0 12px 36px rgba(0,0,0,.24)}
.timeline-sticky-savebar p{margin:0;color:var(--cms-muted,#a3a8b7);font-size:12px}
html[data-theme="light"] .timeline-event-card>summary,html[data-theme="light"] .timeline-event-editor,html[data-theme="light"] .timeline-event-search input{color:var(--cms-text,#171a22)!important}
html[data-theme="light"] .timeline-event-card>summary::after,html[data-theme="light"] .timeline-event-toolbar .button,html[data-theme="light"] .timeline-event-local-actions .button:not(.primary):not(.danger),html[data-theme="light"] .timeline-builder-head .button.secondary{color:#18202c!important;background:#eef2f7!important;border-color:#cdd5e1!important}
html[data-theme="light"] .timeline-event-local-actions .button.primary,html[data-theme="light"] .timeline-event-local-actions .button.danger,html[data-theme="light"] .timeline-builder-head .button.primary{color:#fff!important}

/* The Events page is an article layout. Remove legacy empty-body spacing and keep
   the static Trending card isolated from generic module-source hydrators. */
body.page-institutional-events .institutional-article-page>.article-header{padding-bottom:18px!important}
body.page-institutional-events .institutional-article-page>.article-body{padding-top:0!important;padding-bottom:18px!important}
body.page-institutional-events .institutional-article-page>.article-body>:first-child{margin-top:0!important}
body.page-institutional-events .institutional-article-page>.article-body>:last-child{margin-bottom:0!important}
body.page-institutional-events .institutional-timeline-wrap{padding-top:0!important}
body.page-institutional-events .institutional-timeline-wrap .ma-history-timeline{margin-top:24px!important}
body.page-institutional-events [data-public-sidebar-static="1"]{isolation:isolate;contain:layout paint style;min-width:0}
body.page-institutional-events [data-public-sidebar-static="1"] .article-trending-card{overflow:hidden!important;min-width:0!important}
body.page-institutional-events [data-public-sidebar-static="1"] .ac-trending-item{overflow:hidden!important}
body.page-institutional-events [data-public-sidebar-static="1"] .ac-trending-item>span{display:grid!important;gap:3px!important;min-width:0!important}
body.page-institutional-events [data-public-sidebar-static="1"] .ac-trending-item strong{white-space:normal!important;display:-webkit-box!important;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden!important}
body.page-institutional-events .ma-module-source-frame,.ma-module-source-frame{display:none!important;visibility:hidden!important;width:0!important;height:0!important;overflow:hidden!important}

/* Marker geometry: circle is centered on the line; year is clearly separated. */
.ma-timeline-marker{top:18px!important;width:64px!important}
.ma-timeline-marker::before{left:21px!important;top:7px!important}
.ma-timeline-marker span{top:45px!important;left:0!important;width:64px!important;text-align:center!important;line-height:1!important;white-space:nowrap!important}
html[dir="rtl"] .ma-timeline-marker span{left:auto!important;right:0!important}
.ma-timeline-gallery-item,.ma-timeline-cover{pointer-events:auto!important;touch-action:manipulation}
.ma-timeline-gallery-item img,.ma-timeline-cover img,.ma-article-gallery img{pointer-events:none}
.ma-image-zoom-target{cursor:zoom-in!important}
.ma-image-lightbox{z-index:2147483000!important}

@media(max-width:780px){
  .timeline-builder-head,.timeline-event-toolbar,.timeline-event-local-actions,.timeline-sticky-savebar{align-items:stretch;flex-direction:column}
  .timeline-event-search{max-width:none;width:100%}
  .timeline-event-toolbar-actions,.timeline-event-local-actions>div:last-child{width:100%}
  .timeline-event-toolbar-actions .button,.timeline-event-local-actions>div:last-child .button{flex:1 1 auto}
  .timeline-event-summary-meta .timeline-edit-hint{display:none}
}
@media(max-width:700px){
  .ma-timeline-marker{left:-38px!important;width:30px!important;top:16px!important}
  .ma-timeline-marker::before{left:1px!important;top:8px!important}
  .ma-timeline-marker span{display:none!important}
  html[dir="rtl"] .ma-timeline-marker{left:auto!important;right:-38px!important}
}

/* 0.6.73 — Timeline marker logo, authoritative institutional modules and lightbox hardening. */

body.page-institutional-events [data-public-modules-authoritative="1"]{display:block!important;contain:layout paint style;isolation:isolate}
body.page-institutional-events [data-institutional-sidebar-live]{display:grid!important;gap:20px!important;width:100%!important;min-width:0!important}
body.page-institutional-events [data-institutional-sidebar-live]>.ac-side-card,
body.page-institutional-events [data-institutional-sidebar-live]>.ma-public-custom-module{width:100%!important;min-width:0!important;max-width:none!important;box-sizing:border-box!important;overflow:hidden!important;margin:0!important}
body.page-institutional-events [data-institutional-sidebar-live] .ac-trending-item{grid-template-columns:32px 72px minmax(0,1fr)!important;min-width:0!important;overflow:hidden!important}
body.page-institutional-events [data-institutional-sidebar-live] .ac-trending-item>span{min-width:0!important;overflow:hidden!important}.page-institutional-events [data-institutional-sidebar-live] .ac-trending-item strong{display:-webkit-box!important;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden!important;white-space:normal!important;overflow-wrap:anywhere!important}.page-institutional-events [data-institutional-sidebar-live] .ac-trending-item small{display:block!important;white-space:normal!important;overflow-wrap:anywhere!important}
body.page-institutional-events [data-institutional-sidebar-template]{display:none!important}

.ma-timeline-marker::before{display:none!important;content:none!important}.ma-timeline-marker{height:76px!important;pointer-events:none!important}.ma-timeline-marker-dot,.ma-timeline-marker-logo{position:absolute!important;z-index:2!important;display:grid!important;place-items:center!important}.ma-timeline-marker-dot{left:20px!important;top:7px!important;width:20px!important;height:20px!important;border-radius:50%!important;background:var(--public-bg,#0d0e14)!important;border:5px solid var(--public-accent,#ff334f)!important;box-shadow:0 0 0 5px color-mix(in srgb,var(--public-accent,#ff334f) 13%,transparent)!important}.ma-timeline-marker-logo{left:10px!important;top:0!important;width:42px!important;height:42px!important;border-radius:10px!important;background:var(--public-surface,#171820)!important;border:1px solid var(--public-border,#2d3039)!important;box-shadow:0 6px 18px rgba(0,0,0,.18)!important;overflow:hidden!important;padding:3px!important}.ma-timeline-marker-logo img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;border-radius:7px!important}.ma-timeline-marker-year{position:absolute!important;top:50px!important;left:0!important;width:64px!important;text-align:center!important;font-size:.68rem!important;line-height:1!important;font-weight:800!important;color:var(--public-muted)!important;letter-spacing:.04em!important;white-space:nowrap!important}.ma-timeline-marker.has-logo .ma-timeline-marker-year{top:52px!important}html[dir="rtl"] .ma-timeline-marker-logo{left:auto!important;right:10px!important}html[dir="rtl"] .ma-timeline-marker-dot{left:auto!important;right:20px!important}html[dir="rtl"] .ma-timeline-marker-year{left:auto!important;right:0!important}
.ma-timeline-gallery-item,.ma-timeline-cover{position:relative!important;z-index:1!important;cursor:zoom-in!important;pointer-events:auto!important}.ma-timeline-gallery-item img,.ma-timeline-cover img{pointer-events:none!important}.ma-timeline-lightbox{z-index:2147483646!important}

@media(max-width:700px){.ma-timeline-marker{width:30px!important;height:46px!important}.ma-timeline-marker-logo{left:-4px!important;top:2px!important;width:28px!important;height:28px!important;border-radius:7px!important;padding:2px!important}.ma-timeline-marker-dot{left:1px!important;top:8px!important;width:18px!important;height:18px!important;border-width:4px!important}.ma-timeline-marker-year{display:none!important}html[dir="rtl"] .ma-timeline-marker-logo{left:auto!important;right:-4px!important}html[dir="rtl"] .ma-timeline-marker-dot{left:auto!important;right:1px!important}body.page-institutional-events [data-institutional-sidebar-live] .ac-trending-item{grid-template-columns:32px 84px minmax(0,1fr)!important}}

/* 0.6.73b — top-layer image viewer + institutional module pre-hydration guard. */
dialog.ma-image-lightbox:not([open]){display:none!important}
dialog.ma-image-lightbox[open]{display:flex!important;position:fixed!important;inset:0!important;width:100vw!important;max-width:none!important;height:100dvh!important;max-height:none!important;margin:0!important;border:0!important;border-radius:0!important;padding:68px 34px 34px!important;background:rgba(5,7,10,.84)!important;color:#fff!important;box-sizing:border-box!important;overflow:hidden!important}
dialog.ma-image-lightbox::backdrop{background:rgba(5,7,10,.72)}
dialog.ma-image-lightbox.has-blur::backdrop{backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.ma-timeline-cover,.ma-timeline-gallery-item{text-decoration:none!important;color:inherit!important}
body.page-institutional-events [data-public-modules-authoritative="1"]{position:relative!important;z-index:1!important}
@media(max-width:760px){dialog.ma-image-lightbox[open]{padding:58px 12px 18px!important}}

/* 0.6.76 — Restore the exact original Timeline circle marker style and enlarge the year label. */
.ma-timeline-marker{position:absolute!important;left:-74px!important;top:20px!important;width:62px!important;height:52px!important;display:flex!important;justify-content:center!important;z-index:2!important;pointer-events:none!important}
.ma-timeline-marker::before,.ma-timeline-marker-logo{display:none!important;content:none!important}
.ma-timeline-marker-dot{position:absolute!important;display:block!important;left:20px!important;top:8px!important;width:20px!important;height:20px!important;box-sizing:border-box!important;border-radius:50%!important;background:var(--public-bg,#0d0e14)!important;border:5px solid var(--public-accent,#ff334f)!important;box-shadow:0 0 0 5px color-mix(in srgb,var(--public-accent,#ff334f) 13%,transparent)!important}
.ma-timeline-marker-year{position:absolute!important;display:block!important;top:36px!important;left:0!important;width:62px!important;text-align:center!important;font-size:.9rem!important;line-height:1!important;font-weight:900!important;color:var(--public-muted)!important;letter-spacing:.04em!important;white-space:nowrap!important}
html[dir="rtl"] .ma-timeline-marker{left:auto!important;right:-74px!important}
html[dir="rtl"] .ma-timeline-marker-dot{left:auto!important;right:20px!important}
html[dir="rtl"] .ma-timeline-marker-year{left:auto!important;right:0!important}
@media(max-width:700px){.ma-timeline-marker{left:-38px!important;width:30px!important;height:30px!important;top:16px!important}.ma-timeline-marker-dot{left:1px!important;top:8px!important;width:18px!important;height:18px!important;border-width:4px!important}.ma-timeline-marker-year{display:none!important}html[dir="rtl"] .ma-timeline-marker{left:auto!important;right:-38px!important}html[dir="rtl"] .ma-timeline-marker-dot{left:auto!important;right:1px!important}}

/* 0.6.77 — Fully restore the original Timeline marker implementation: circle via ::before, year below, larger and clearly visible. */
.ma-timeline-marker{position:absolute!important;left:-74px!important;top:20px!important;width:62px!important;height:52px!important;display:flex!important;justify-content:center!important;z-index:2!important;pointer-events:none!important}
.ma-timeline-marker-dot,.ma-timeline-marker-logo{display:none!important;content:none!important}
.ma-timeline-marker::before{content:""!important;display:block!important;position:absolute!important;left:20px!important;top:8px!important;width:20px!important;height:20px!important;border-radius:50%!important;background:var(--public-bg,#0d0e14)!important;border:5px solid var(--public-accent,#ff334f)!important;box-shadow:0 0 0 5px color-mix(in srgb,var(--public-accent,#ff334f) 13%,transparent)!important}
.ma-timeline-marker .ma-timeline-marker-year{position:absolute!important;display:block!important;top:36px!important;left:0!important;width:62px!important;text-align:center!important;font-size:1.02rem!important;line-height:1!important;font-weight:900!important;color:var(--public-muted)!important;letter-spacing:.04em!important;white-space:nowrap!important}
html[dir="rtl"] .ma-timeline-marker{left:auto!important;right:-74px!important}
html[dir="rtl"] .ma-timeline-marker::before{left:auto!important;right:20px!important}
html[dir="rtl"] .ma-timeline-marker .ma-timeline-marker-year{left:auto!important;right:0!important}
@media(max-width:700px){.ma-timeline-marker{left:-38px!important;right:auto!important;width:30px!important;height:30px!important;top:16px!important}.ma-timeline-marker::before{left:1px!important;right:auto!important;top:8px!important;width:18px!important;height:18px!important;border-width:4px!important}.ma-timeline-marker .ma-timeline-marker-year{display:none!important}html[dir="rtl"] .ma-timeline-marker{left:auto!important;right:-38px!important}html[dir="rtl"] .ma-timeline-marker::before{left:auto!important;right:1px!important}}

/* 0.6.78 — Timeline marker final spacing: keep the restored original circle and give the year a clear visual gap. */
.ma-timeline-marker{height:76px!important}
.ma-timeline-marker .ma-timeline-marker-year{top:52px!important;font-size:1.06rem!important;line-height:1!important;font-weight:900!important;color:var(--public-muted)!important}
@media(max-width:700px){.ma-timeline-marker{height:30px!important}.ma-timeline-marker .ma-timeline-marker-year{display:none!important}}

/* 0.6.80 — Events page reads as one institutional article: Timeline intro sits under the page title; duplicate Timeline heading is removed. */
body.page-institutional-events .institutional-events-intro{margin:8px 0 14px!important;max-width:760px!important;font-size:1.05rem!important;line-height:1.65!important;color:var(--theme-public-muted,var(--public-muted,#a7adba))!important}
body.page-institutional-events .institutional-article-page>.article-header .institutional-events-intro+.article-meta{margin-top:0!important}
body.page-institutional-events .institutional-timeline-wrap{padding-top:0!important}
body.page-institutional-events .institutional-timeline-wrap .ma-history-timeline{margin-top:18px!important}
body.page-institutional-events .ma-history-timeline-head{display:none!important}

/* 0.6.81 — Public module spacing + YouTube brand color. */
.ac-public .ac-social-circle.brand-youtube{
  background:#ff0000!important;
  border-color:#ff0000!important;
}
.ac-public .ac-social-circle.brand-youtube img{
  width:14px!important;
  height:14px!important;
}

/* Keep Public Module Studio modules visibly separated on every public page,
   including institutional/article sidebars that render through an inner live wrapper. */
body:not(.cms-body) [data-institutional-sidebar-live]{
  display:grid!important;
  gap:22px!important;
  align-content:start!important;
  min-width:0!important;
  width:100%!important;
}
body:not(.cms-body) [data-institutional-sidebar-live]>[data-ma-public-module],
body:not(.cms-body) [data-institutional-sidebar-live]>.ma-public-custom-module{
  width:100%!important;
  min-width:0!important;
  margin:0!important;
}
body:not(.cms-body) :is(.ac-sidebar-stack,.ma-runtime-public-sidebar,[data-public-sidebar]){
  gap:22px!important;
  align-content:start!important;
}


/* 0.6.83 — Manga Afternoon institutional featured images. */
.manga-page-featured-card{margin:14px 0!important}
.manga-page-featured-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,440px);gap:20px;align-items:center}
.manga-page-featured-card h3{margin:4px 0 6px}
.manga-page-featured-card .muted{margin:0 0 14px;max-width:760px;line-height:1.55}
.manga-page-featured-card .button-row{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}
.manga-page-featured-preview{margin:0!important;min-height:180px!important}
.manga-page-featured-preview img{height:220px!important;object-fit:cover!important}
.manga-page-alt-grid{margin-top:4px}
.institutional-page-hero{margin-bottom:0!important}
.institutional-page-intro-copy{margin:0!important;padding:30px 32px 0!important;max-width:900px;line-height:1.65}
body.page-institutional-events .institutional-page-intro-copy+.article-body:empty{display:none}
@media(max-width:900px){.manga-page-featured-grid{grid-template-columns:1fr}.manga-page-featured-preview{order:-1}.institutional-page-intro-copy{padding:24px 22px 0!important}}

/* MA CMS 0.6.85 — Partners module */
.ma-partners-module{margin:2.2rem 0;padding:1.25rem 0}.ma-partners-heading{text-align:center;margin-bottom:1.2rem}.ma-partners-heading h2{margin:0}.ma-partners-viewport{overflow:hidden}.ma-partners-track{display:flex;gap:var(--partner-gap,28px);align-items:stretch}.ma-partner-item{display:flex;flex:0 0 var(--partner-logo-width,190px);min-width:var(--partner-logo-width,190px);flex-direction:column;align-items:center;justify-content:center;gap:.55rem;text-decoration:none;color:inherit}.ma-partner-logo-box{display:flex;width:var(--partner-logo-width,190px);height:var(--partner-logo-height,100px);align-items:center;justify-content:center;padding:.75rem;box-sizing:border-box;border:1px solid var(--public-border);border-radius:var(--public-radius,12px);background:var(--public-surface)}.ma-partner-logo-box img{display:block;width:100%;height:100%;object-fit:contain}.ma-partner-name{font-size:.88rem;text-align:center;color:var(--public-muted)}.ma-partners-module.mode-grid .ma-partners-track{display:grid;grid-template-columns:repeat(auto-fit,minmax(var(--partner-logo-width,190px),1fr));justify-items:center}.ma-partners-module.mode-fade .ma-partners-track,.ma-partners-module.mode-sequence .ma-partners-track{position:relative;min-height:calc(var(--partner-logo-height,100px) + 2.2rem);display:block}.ma-partners-module.mode-fade .ma-partner-item,.ma-partners-module.mode-sequence .ma-partner-item{position:absolute;inset:0;margin:auto;opacity:0;pointer-events:none;transition:opacity .65s ease,transform .65s ease}.ma-partners-module.mode-fade .ma-partner-item.is-active,.ma-partners-module.mode-sequence .ma-partner-item.is-active{opacity:1;pointer-events:auto}.ma-partners-module.mode-sequence .ma-partner-item{transform:translateX(24px)}.ma-partners-module.mode-sequence .ma-partner-item.is-active{transform:translateX(0)}.ma-partners-module.mode-marquee .ma-partners-track{width:max-content;will-change:transform}.ma-partners-module.mode-marquee.is-ready .ma-partners-track{animation:ma-partners-marquee var(--partner-marquee-duration,24s) linear infinite}.ma-partners-module.mode-marquee:hover .ma-partners-track{animation-play-state:paused}@keyframes ma-partners-marquee{to{transform:translateX(calc(-50% - (var(--partner-gap,28px) / 2)))}}@media(prefers-reduced-motion:reduce){.ma-partners-module.mode-marquee .ma-partners-track{animation:none!important}.ma-partners-module.mode-fade .ma-partner-item,.ma-partners-module.mode-sequence .ma-partner-item{transition:none}}@media(max-width:640px){.ma-partners-module{--partner-logo-width:150px}.ma-partners-module.mode-grid .ma-partners-track{grid-template-columns:repeat(2,minmax(0,1fr))}.ma-partner-item,.ma-partner-logo-box{width:100%;min-width:0}}

/* MA CMS 0.6.85 — Partners admin */
.partner-admin-list{display:grid;gap:1rem}.partner-admin-row{display:grid;grid-template-columns:150px minmax(0,1fr) auto;gap:1rem;align-items:center;padding:1rem;border:1px solid var(--cms-border,#303440);border-radius:14px;background:var(--cms-surface,#171820)}.partner-admin-logo{height:86px;display:flex;align-items:center;justify-content:center;border:1px dashed var(--cms-border,#303440);border-radius:10px;overflow:hidden}.partner-admin-logo img{width:100%;height:100%;object-fit:contain;padding:.5rem;box-sizing:border-box}.partner-admin-fields{display:grid;grid-template-columns:minmax(140px,1fr) minmax(140px,1fr) minmax(190px,1.3fr) 90px auto;gap:.75rem;align-items:end}.partner-admin-actions{display:flex;flex-direction:column;gap:.5rem}.timeline-optimization-panel{margin:1rem 0 1.5rem}@media(max-width:900px){.partner-admin-row{grid-template-columns:1fr}.partner-admin-fields{grid-template-columns:1fr}.partner-admin-actions{flex-direction:row;flex-wrap:wrap}}

/* MA 0.6.86: render public email at-signs through CSS so complete addresses are
   not emitted as plain text in article/Legal HTML. */
.ma-obfuscated-email{display:inline;white-space:nowrap}
.ma-obfuscated-email-at::before{content:"\40"}

/* MA CMS 0.6.87 — Google integrations + bilingual "They trust us" administration. */
.google-config-status-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 16px}
.google-config-status{display:grid;gap:4px;padding:14px 16px;border:1px solid var(--cms-border,#303440);border-radius:12px;background:var(--cms-surface,#171820)}
.google-config-status>span{font-size:.78rem;text-transform:uppercase;letter-spacing:.08em;color:var(--cms-muted,#9ba0ad)}
.google-config-status>strong{font-size:1rem}.google-config-status>small{color:var(--cms-muted,#9ba0ad)}
.google-settings-card{margin-bottom:16px}.google-enable-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px;margin:12px 0 18px}
.google-oauth-instructions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0}
.google-oauth-instructions>div{padding:14px 16px;border:1px solid var(--cms-border,#303440);border-radius:12px;background:color-mix(in srgb,var(--cms-surface,#171820) 88%,#000)}
.google-oauth-instructions code{display:block;margin-top:7px;padding:8px 10px;border-radius:8px;overflow-wrap:anywhere}.google-oauth-instructions p{margin:8px 0 0;color:var(--cms-muted,#9ba0ad)}
.google-launch-checklist{margin:8px 0 14px;padding-left:22px}.google-launch-checklist li{margin:.45rem 0}
@media(max-width:980px){.google-config-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.google-enable-grid,.google-oauth-instructions{grid-template-columns:1fr}}
@media(max-width:560px){.google-config-status-grid{grid-template-columns:1fr}}

/* MA CMS 0.6.88 — navigable gallery lightbox. */
.ma-image-lightbox-nav{position:fixed;top:50%;z-index:4;width:56px;height:56px;margin:0;padding:0;transform:translateY(-50%);display:grid;place-items:center;border:1px solid rgba(255,255,255,.32);border-radius:50%;background:rgba(12,14,18,.82);color:#fff;font:300 46px/1 Arial,sans-serif;cursor:pointer;box-shadow:0 10px 34px rgba(0,0,0,.3);transition:background .16s ease,color .16s ease,transform .16s ease}
.ma-image-lightbox-nav:hover,.ma-image-lightbox-nav:focus-visible{background:#fff;color:#111;outline:none;transform:translateY(-50%) scale(1.05)}
.ma-image-lightbox-prev{left:max(18px,env(safe-area-inset-left))}.ma-image-lightbox-next{right:max(18px,env(safe-area-inset-right))}
.ma-image-lightbox-counter{position:fixed;left:50%;bottom:max(16px,env(safe-area-inset-bottom));z-index:4;transform:translateX(-50%);min-width:58px;padding:7px 11px;border:1px solid rgba(255,255,255,.24);border-radius:999px;background:rgba(12,14,18,.74);color:#fff;text-align:center;font:700 .78rem/1 var(--public-ui-font,Arial,sans-serif);letter-spacing:.04em;pointer-events:none}
.ma-image-lightbox-nav[hidden],.ma-image-lightbox-counter[hidden]{display:none!important}
@media(max-width:760px){.ma-image-lightbox-nav{width:46px;height:46px;font-size:38px}.ma-image-lightbox-prev{left:max(6px,env(safe-area-inset-left))}.ma-image-lightbox-next{right:max(6px,env(safe-area-inset-right))}.ma-image-lightbox-counter{bottom:max(8px,env(safe-area-inset-bottom));padding:6px 9px}.ma-image-lightbox.has-gallery-nav .ma-image-lightbox-stage img{max-width:calc(100vw - 66px)}}
@media(prefers-reduced-motion:reduce){.ma-image-lightbox-nav{transition:none}}

/* 0.6.89 social publication embeds */
.article-body .ma-social-embed{display:block!important;width:var(--article-embed-width,100%)!important;max-width:var(--article-embed-width,100%)!important;margin:26px auto!important;box-sizing:border-box;clear:both}
.article-body .ma-social-embed>blockquote,.article-body .ma-social-embed>.instagram-media{margin-left:auto!important;margin-right:auto!important;max-width:540px!important;width:100%!important;min-width:0!important}
.article-body .ma-twitter-embed.twitter-tweet{max-width:550px!important;margin-left:auto!important;margin-right:auto!important}
.article-body .ma-instagram-embed{min-height:120px}
.article-body .ma-facebook-embed{display:grid!important;justify-items:center;gap:8px;max-width:min(var(--article-embed-width,100%),540px)!important}
.article-body .ma-facebook-embed .ma-facebook-post-frame{display:block!important;width:100%!important;max-width:500px!important;height:680px!important;min-height:420px!important;margin:0 auto!important;border:0!important;background:transparent}
.article-body .ma-social-embed-fallback{display:block;margin:0 auto;text-align:center;font-family:Inter,system-ui,sans-serif;font-size:.78rem;color:var(--public-muted);text-decoration:none}
.article-body .ma-social-embed-fallback:hover{text-decoration:underline}
@media(max-width:620px){.article-body .ma-facebook-embed .ma-facebook-post-frame{height:620px!important}.article-body .ma-social-embed{margin:20px auto!important}}


/* MA CMS 0.6.90 — centered article media, auto-growing newsroom editor and richer analytics */
.article-body img{display:block!important;max-width:100%!important;height:auto!important;margin-left:auto!important;margin-right:auto!important}
.article-body .video-embed,.article-body .ma-youtube-embed,.article-body .ma-social-embed,.article-body blockquote.twitter-tweet,.article-body .instagram-media,.article-body iframe[src*="youtube"],.article-body iframe[src*="facebook.com/plugins"]{margin-left:auto!important;margin-right:auto!important}
.article-body .ma-instagram-embed>.instagram-media{display:block!important;margin-left:auto!important;margin-right:auto!important}
.cms-body .joomla-article-editor-main{display:flex;flex-direction:column;min-height:100%}
.cms-body .joomla-article-editor-main>.tinymce-host{flex:1 1 auto;min-height:620px}
.cms-body .joomla-article-editor-main .tinymce-host .tox.tox-tinymce{width:100%!important;min-height:620px!important}
.cms-body .joomla-article-editor-main .tinymce-host .tox .tox-edit-area{min-height:500px!important}
.cms-body .analytics-kpis-eight{grid-template-columns:repeat(4,minmax(0,1fr))}
.cms-body .analytics-performance-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}
.cms-body .analytics-overview-details,.cms-body .analytics-acquisition-extra{margin-top:0}
.cms-body .analytics-large-number{font-size:2.6rem;font-weight:850;line-height:1.05;margin:14px 0 8px}
.cms-body .analytics-session-table-wide{max-height:620px}
.cms-body .analytics-session-table-wide table{min-width:1900px}
.cms-body .analytics-session-table-wide td,.cms-body .analytics-session-table-wide th{vertical-align:top;white-space:nowrap}
.cms-body .analytics-session-table-wide td:nth-child(6){white-space:normal;min-width:260px}
.cms-body .analytics-dashboard code{font-size:.9em}
@media(max-width:1500px){.cms-body .analytics-kpis-eight{grid-template-columns:repeat(2,minmax(0,1fr))}.cms-body .analytics-performance-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:820px){.cms-body .analytics-kpis-eight,.cms-body .analytics-performance-kpis{grid-template-columns:1fr}.cms-body .joomla-article-editor-main>.tinymce-host{min-height:560px}}

/* 0.6.91 — production Deployment Center */
.deployment-hero{align-items:flex-start}
.deployment-hero>.status-pill{margin-left:auto}
.deployment-requirements{display:grid;gap:10px;margin-top:14px}
.deployment-requirement{display:flex;gap:12px;align-items:flex-start;padding:12px 14px;border:1px solid var(--cms-border);border-radius:10px;background:color-mix(in srgb,var(--cms-surface) 90%,transparent)}
.deployment-requirement>span{width:22px;flex:0 0 22px;margin-top:2px}
.deployment-requirement strong{display:block}
.deployment-requirement p{margin:3px 0 0;color:var(--cms-muted,#9da3b2)}
.deployment-requirement.blocker{border-color:color-mix(in srgb,#ff5a68 48%,var(--cms-border));background:color-mix(in srgb,#ff5a68 8%,var(--cms-surface))}
.deployment-requirement.warning{border-color:color-mix(in srgb,#e8b44d 42%,var(--cms-border))}
.deployment-requirement.ok{border-color:color-mix(in srgb,#54c78b 40%,var(--cms-border))}
.deployment-readiness-line{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:14px;padding-top:14px;border-top:1px solid var(--cms-border)}
.deployment-path-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0}
.deployment-path-grid>div{padding:12px;border:1px solid var(--cms-border);border-radius:10px;background:color-mix(in srgb,var(--cms-bg) 55%,var(--cms-surface))}
.deployment-path-grid small{display:block;color:var(--cms-muted,#9da3b2);margin-bottom:7px}
.deployment-path-grid code{display:block;white-space:normal;overflow-wrap:anywhere}
.deployment-backup-actions{display:flex;gap:10px;margin:14px 0}
.deployment-progress{margin-top:16px;padding:14px;border:1px solid var(--cms-border);border-radius:10px;background:color-mix(in srgb,var(--cms-bg) 58%,var(--cms-surface))}
.deployment-progress .module-update-track{margin-bottom:8px}
.deployment-progress>strong{display:inline-block;min-width:48px}
.deployment-progress>p{margin:6px 0 0;color:var(--cms-muted,#9da3b2)}
.deployment-backup-files{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:16px}
.deployment-backup-files article{display:flex;flex-direction:column;gap:8px;padding:16px;border:1px solid var(--cms-border);border-radius:12px;background:color-mix(in srgb,var(--cms-bg) 55%,var(--cms-surface))}
.deployment-backup-files h4{margin:0}
.deployment-backup-files code{display:block;overflow-wrap:anywhere;padding:9px;border-radius:7px;background:var(--cms-bg);font-size:11px}
.deployment-backup-files .button{align-self:flex-start;margin-top:4px}
.deployment-confirm{display:flex;align-items:flex-start;gap:10px;margin:16px 0;padding:14px;border:1px solid var(--cms-border);border-radius:10px;background:color-mix(in srgb,var(--cms-bg) 55%,var(--cms-surface))}
.deployment-confirm input{margin-top:4px}
.deployment-launch-button{min-height:46px;font-weight:800;letter-spacing:.02em}
.deployment-after-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.deployment-after-grid article{padding:16px;border:1px solid var(--cms-border);border-radius:12px;background:color-mix(in srgb,var(--cms-bg) 55%,var(--cms-surface))}
.deployment-after-grid h4{margin-top:0}
.deployment-after-grid code{overflow-wrap:anywhere}
.deployment-complete-panel{border-color:color-mix(in srgb,#54c78b 38%,var(--cms-border))}
@media(max-width:900px){.deployment-path-grid,.deployment-backup-files,.deployment-after-grid{grid-template-columns:1fr}.deployment-hero>.status-pill{margin-left:0}}

/* 0.6.101 — production post-deployment audit */
.deployment-audit-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:18px 0}.audit-summary-grid{display:grid;grid-template-columns:repeat(7,minmax(110px,1fr));gap:10px;margin:16px 0 20px}.audit-summary-grid article{border:1px solid var(--cms-border);background:color-mix(in srgb,var(--cms-surface) 92%,transparent);border-radius:12px;padding:14px;min-width:0}.audit-summary-grid article span{display:block;color:var(--muted,#9ba0ad);font-size:11px;text-transform:uppercase;letter-spacing:.08em;font-weight:800}.audit-summary-grid article strong{display:block;margin-top:6px;font-size:24px;line-height:1}.audit-summary-grid .audit-critical strong,.audit-summary-grid .audit-errors strong{color:#ff6478}.audit-summary-grid .audit-warnings strong{color:#f2c15f}.audit-summary-grid .audit-passes strong{color:#58d9a7}.audit-table code{display:block;max-width:360px;overflow-wrap:anywhere;white-space:normal}.audit-table td{vertical-align:top;min-width:100px}.audit-table td:nth-child(3){min-width:220px}.audit-table td:nth-child(4),.audit-table td:nth-child(5){min-width:260px}.audit-severity-critical,.audit-severity-error{background:rgba(255,72,96,.16)!important;color:#ff7b8d!important;border-color:rgba(255,72,96,.3)!important}.audit-severity-warning{background:rgba(242,193,95,.14)!important;color:#f2c15f!important;border-color:rgba(242,193,95,.28)!important}.audit-severity-info{background:rgba(91,169,255,.14)!important;color:#82bbff!important;border-color:rgba(91,169,255,.28)!important}.audit-pass-list{margin-top:12px;display:grid;gap:8px}.audit-pass-list p{margin:0;padding:8px 10px;border:1px solid color-mix(in srgb,var(--cms-border) 75%,transparent);border-radius:8px}.deployment-progress [data-audit-queue]{display:block;margin-top:8px;color:var(--muted,#9ba0ad)}.panel-title.compact{margin-top:20px;margin-bottom:10px}@media(max-width:1280px){.audit-summary-grid{grid-template-columns:repeat(4,minmax(110px,1fr))}}@media(max-width:760px){.audit-summary-grid{grid-template-columns:repeat(2,minmax(110px,1fr))}.audit-table td:nth-child(3),.audit-table td:nth-child(4),.audit-table td:nth-child(5){min-width:200px}}
