:root{--afx-bg:#080c1c;--afx-card:#11172b;--afx-card2:#171d35;--afx-border:#28304a;--afx-text:#f7f8ff;--afx-muted:#aab3ca;--afx-purple:#6d4aff;--afx-purple2:#8c6cff}.animfx-auth-wrap,.animfx-onboarding,.animfx-dashboard{max-width:880px;margin:38px auto}.animfx-card{background:var(--afx-card);color:var(--afx-text);border:1px solid var(--afx-border);border-radius:20px;padding:30px;box-shadow:0 18px 50px rgba(0,0,0,.18)}.animfx-card h2{color:#fff;margin:0 0 8px}.animfx-card p{color:var(--afx-muted)}.animfx-form{display:grid;gap:17px;margin-top:22px}.animfx-form label{display:grid;gap:7px;color:#e9ecf8;font-weight:600}.animfx-form input,.animfx-form textarea,.animfx-form select{width:100%;box-sizing:border-box;background:#0b1022;color:#fff;border:1px solid #303957;border-radius:11px;padding:12px 14px;outline:none}.animfx-form input:focus,.animfx-form textarea:focus,.animfx-form select:focus{border-color:var(--afx-purple2);box-shadow:0 0 0 3px rgba(109,74,255,.14)}.animfx-check{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center;gap:9px!important;font-weight:400!important}.animfx-check input{width:auto}.animfx-btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:11px;background:linear-gradient(135deg,var(--afx-purple),var(--afx-purple2));color:#fff!important;padding:12px 18px;text-decoration:none;font-weight:700;cursor:pointer}.animfx-btn-light{background:#222a43}.animfx-notice{padding:12px 14px;border-radius:10px;margin:10px 0}.animfx-error{background:#3a1720;color:#ffb9c4}.animfx-success{background:#143326;color:#aef0c9}.animfx-small{font-size:13px}.animfx-step{font-size:12px;font-weight:800;letter-spacing:.12em;color:#9b87ff}.animfx-chip-grid{display:flex;flex-wrap:wrap;gap:9px;margin-top:10px}.animfx-chip{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center;gap:6px!important;padding:9px 12px;border:1px solid #303957;border-radius:999px;background:#0b1022;font-weight:500!important}.animfx-chip input{width:auto}.animfx-two{display:grid;grid-template-columns:1fr 1fr;gap:15px}.animfx-profile{max-width:980px;margin:32px auto;border:1px solid #252a35;border-radius:20px;overflow:hidden;background:#11141b;color:#fff}.animfx-cover{height:230px;background:linear-gradient(120deg,#111936,#33206d);background-size:cover;background-position:center}.animfx-profile-body{padding:0 30px 34px}.animfx-profile-top{display:flex;gap:18px;align-items:end;margin-top:-55px}.animfx-profile-body img.avatar,.animfx-avatar{object-fit:cover;border:5px solid #11141b;border-radius:50%;background:#11141b}.animfx-profile h2{margin:10px 0 2px;color:#fff}.animfx-title,.animfx-meta{color:#aeb7cb}.animfx-tags{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.animfx-tags span{background:#1b2340;border:1px solid #303957;border-radius:999px;padding:6px 10px;font-size:13px}.animfx-tabs{padding:18px 0;border-top:1px solid #2a2f3b;border-bottom:1px solid #2a2f3b;margin-top:22px}.animfx-empty{padding:30px 0;color:#9da7bd}.animfx-dashboard-head{display:flex;justify-content:space-between;gap:20px;align-items:center}.animfx-dashboard-head>div{display:flex;align-items:center;gap:14px}.animfx-dashboard-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:26px 0}.animfx-dashboard-grid a{display:grid;gap:5px;background:var(--afx-card2);border:1px solid var(--afx-border);border-radius:14px;padding:20px;text-decoration:none;color:#fff}.animfx-dashboard-grid span{color:var(--afx-muted);font-size:14px}@media(max-width:700px){.animfx-two,.animfx-dashboard-grid{grid-template-columns:1fr}.animfx-card{padding:22px}.animfx-profile-top,.animfx-dashboard-head{align-items:flex-start;flex-direction:column}.animfx-cover{height:170px}}
.animfx-community-shell{max-width:820px;margin:38px auto;color:var(--afx-text)}.animfx-feed-title{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px}.animfx-feed-title h2{color:#fff;margin:4px 0}.animfx-feed-title p{color:var(--afx-muted);margin:0}.animfx-post-card{background:var(--afx-card);border:1px solid var(--afx-border);border-radius:18px;padding:22px;margin:0 0 18px;color:var(--afx-text);overflow:hidden}.animfx-post-head{display:flex;justify-content:space-between;gap:14px;align-items:center}.animfx-author{display:flex;align-items:center;gap:11px;color:#fff!important;text-decoration:none}.animfx-author img{border-radius:50%;object-fit:cover}.animfx-author span{display:grid;gap:2px}.animfx-author small{color:var(--afx-muted);font-size:12px}.animfx-post-actions{display:flex;gap:10px}.animfx-post-actions a,.animfx-post-footer a{color:#a996ff;text-decoration:none;font-size:13px}.animfx-post-category{display:inline-block;margin:16px 0 0;padding:5px 9px;border-radius:999px;background:#201a43;color:#bbaeff;font-size:12px}.animfx-post-copy{font-size:16px;line-height:1.65;margin:16px 0;color:#eef0f8}.animfx-post-image{width:100%;max-height:620px;object-fit:cover;border-radius:14px;display:block;margin-top:14px}.animfx-video{position:relative;padding-top:56.25%;margin-top:14px;border-radius:14px;overflow:hidden;background:#000}.animfx-video iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.animfx-link-card{display:grid;gap:7px;margin-top:14px;padding:18px;border:1px solid var(--afx-border);border-radius:14px;background:#0b1022;text-decoration:none;color:#fff!important}.animfx-link-card span{color:var(--afx-muted);word-break:break-all;font-size:13px}.animfx-link-card b{color:#a996ff}.animfx-post-footer{display:flex;justify-content:space-between;border-top:1px solid var(--afx-border);margin-top:18px;padding-top:14px}.animfx-pagination{padding:18px 0;text-align:center}.animfx-pagination .page-numbers{display:inline-block;padding:7px 11px;margin:2px;border:1px solid var(--afx-border);border-radius:8px;color:#fff;text-decoration:none}.animfx-pagination .current{background:var(--afx-purple)}.animfx-edit-preview{max-width:240px;border-radius:12px;border:1px solid var(--afx-border)}.animfx-report-box{margin-top:18px}.animfx-profile-posts{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:22px 0}.animfx-profile-posts a{display:grid;gap:5px;padding:15px;border-radius:12px;background:#171d35;color:#fff;text-decoration:none}.animfx-profile-posts span{font-size:12px;color:var(--afx-muted)}
@media(max-width:700px){.animfx-feed-title{align-items:flex-start;flex-direction:column}.animfx-profile-posts{grid-template-columns:1fr}.animfx-post-card{padding:17px}.animfx-post-head{align-items:flex-start}.animfx-post-actions{flex-direction:column}}
.animfx-network-stats{margin:8px 0 12px;color:#778}.animfx-follow-btn{display:inline-block;margin-top:6px}.animfx-portfolio-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px;margin:20px 0}.animfx-project-card img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:12px}.animfx-project-card iframe{max-width:100%;border-radius:12px}.animfx-badge{display:inline-block;padding:5px 9px;border-radius:999px;background:#6c4dff;color:#fff;font-size:12px}.animfx-card input,.animfx-card textarea,.animfx-card select{width:100%;padding:11px;border:1px solid #ccd1dc;border-radius:9px;box-sizing:border-box}
/* v1.3.1 theme compatibility: consume AnimFX Creator theme variables when available */
.animfx-community-shell,.animfx-card,.animfx-profile,.animfx-project-card,.animfx-post-card{color:var(--afx-text,#f7f8ff)}
.animfx-card h1,.animfx-card h2,.animfx-card h3,.animfx-feed-title h1,.animfx-feed-title h2,.animfx-feed-title h3,.animfx-profile h2,.animfx-author,.animfx-dashboard-grid a,.animfx-profile-posts a{color:var(--afx-text,#f7f8ff)!important}
.animfx-card p,.animfx-feed-title p,.animfx-post-copy,.animfx-title,.animfx-meta,.animfx-empty,.animfx-author small,.animfx-dashboard-grid span,.animfx-profile-posts span{color:var(--afx-muted,#aeb8d0)!important}
.animfx-form label{color:var(--afx-text,#f7f8ff)}
.animfx-form input,.animfx-form textarea,.animfx-form select,.animfx-card input,.animfx-card textarea,.animfx-card select{background:var(--afx-input,#0b1022);color:var(--afx-text,#f7f8ff);border-color:var(--afx-border,#303957)}
.animfx-chip,.animfx-link-card,.animfx-dashboard-grid a,.animfx-profile-posts a{background:var(--afx-card2,#171d35);color:var(--afx-text,#f7f8ff)!important;border-color:var(--afx-border,#303957)}
.animfx-post-actions a,.animfx-post-footer a,.animfx-link-card b{color:var(--afx-link,#a996ff)}
.animfx-pagination .page-numbers{color:var(--afx-text,#f7f8ff)}
.animfx-profile{background:var(--afx-card,#11172d)!important}.animfx-profile-body img.avatar,.animfx-avatar{border-color:var(--afx-card,#11172d);background:var(--afx-card,#11172d)}
/* v1.3.2 registration + engagement refinements */
.animfx-check{display:flex!important;align-items:flex-start!important;justify-content:flex-start!important;gap:10px!important;width:100%;text-align:left!important}
.animfx-check input[type="checkbox"]{flex:0 0 auto!important;width:18px!important;height:18px!important;margin:2px 0 0!important;padding:0!important}
.animfx-password-field{display:flex;align-items:stretch;gap:8px}.animfx-password-field input{flex:1}.animfx-password-toggle{flex:0 0 auto;border:1px solid var(--afx-border,#303957);background:var(--afx-card2,#171d35);color:var(--afx-text,#fff);border-radius:10px;padding:0 14px;cursor:pointer;font-weight:700}
.animfx-engagement{display:flex;align-items:center;gap:8px;border-top:1px solid var(--afx-border);margin-top:16px;padding-top:12px;flex-wrap:wrap}.animfx-inline-form{margin:0}.animfx-engage-btn{appearance:none;border:0;background:transparent;color:var(--afx-muted)!important;text-decoration:none;padding:8px 10px;border-radius:9px;font:inherit;font-weight:650;cursor:pointer}.animfx-engage-btn:hover{background:var(--afx-card2);color:var(--afx-text)!important}.animfx-engage-btn.is-active{color:#e84b6a!important}.animfx-comments{border-top:1px solid var(--afx-border);margin-top:14px;padding-top:16px}.animfx-comments h3{color:var(--afx-text)!important}.animfx-comment{padding:12px 0;border-bottom:1px solid var(--afx-border)}.animfx-comment strong{color:var(--afx-text)}.animfx-comment small{margin-left:8px;color:var(--afx-muted)}.animfx-comment p{color:var(--afx-text)!important;margin:5px 0}.animfx-comment-form{display:grid;gap:10px;margin-top:14px}.animfx-comment-form textarea{background:var(--afx-input);color:var(--afx-text);border:1px solid var(--afx-border);border-radius:10px;padding:12px}.animfx-muted{color:var(--afx-muted)!important}
/* v1.4.0 masonry feed, saves and creator directory */
.animfx-community-shell{max-width:1180px}.animfx-masonry-feed{column-count:3;column-gap:18px}.animfx-masonry-feed .animfx-post-card{display:inline-block;width:100%;break-inside:avoid;margin:0 0 18px;padding:16px}.animfx-masonry-feed .animfx-post-image{max-height:none;object-fit:contain}.animfx-masonry-feed .animfx-post-copy{font-size:14px}.animfx-masonry-feed .animfx-video{padding-top:56.25%}.animfx-masonry-feed .animfx-engagement{gap:2px}.animfx-masonry-feed .animfx-engage-btn{font-size:12px;padding:7px}.animfx-save-btn.is-active{color:#8b72ff!important}.animfx-creators-directory{max-width:1180px;margin:38px auto}.animfx-creators-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.animfx-creator-card{background:var(--afx-card);border:1px solid var(--afx-border);border-radius:18px;padding:24px;text-align:center}.animfx-creator-card .animfx-avatar,.animfx-creator-card img.avatar{border-radius:50%;object-fit:cover}.animfx-creator-card h3{margin:10px 0 2px}.animfx-creator-card h3 a{color:var(--afx-text);text-decoration:none}.animfx-creator-card .animfx-tags{justify-content:center}.animfx-creator-stats{display:flex;justify-content:center;gap:22px;margin:14px 0;color:var(--afx-muted);font-size:13px}.animfx-creator-stats span{display:grid}.animfx-creator-stats strong{color:var(--afx-text);font-size:17px}.animfx-portfolio-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}.animfx-project-card img{height:auto;aspect-ratio:auto;object-fit:contain}@media(max-width:900px){.animfx-masonry-feed{column-count:2}.animfx-creators-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.animfx-masonry-feed{column-count:1}.animfx-creators-grid{grid-template-columns:1fr}}

.animfx-post-footer button.animfx-report-toggle{border:0;background:none;padding:0;color:var(--afx-link,#a996ff);font:inherit;font-size:13px;cursor:pointer}.animfx-inline-report{margin-top:12px;padding:14px;border:1px solid var(--afx-border);border-radius:12px;background:var(--afx-card2);display:grid;gap:9px}.animfx-inline-report[hidden]{display:none}.animfx-inline-report select,.animfx-inline-report textarea{width:100%;padding:10px;border:1px solid var(--afx-border);border-radius:9px;background:var(--afx-input);color:var(--afx-text)}.animfx-report-status{color:var(--afx-muted)}.animfx-single-post-shell{max-width:820px}.animfx-single-post-shell .animfx-post-card{max-width:760px;margin:18px auto}.animfx-direct-single{padding-top:18px;padding-bottom:40px}

/* v1.4.3 comments */
.animfx-comment-form textarea{font-size:16px!important;line-height:1.55;min-height:110px}.animfx-comment p{font-size:16px!important;line-height:1.55}.animfx-comment-form .animfx-btn{font-size:15px;padding:11px 18px}
/* v1.5.0 engagement sizing, spacing, interactive posts, portfolio */
.animfx-engage-btn{font-size:14px!important;padding:9px 11px!important}.animfx-engage-btn span{font-size:14px!important}.animfx-masonry-feed{gap:20px!important}.animfx-post-card{margin-bottom:2px}.animfx-poll,.animfx-quiz{display:grid;gap:9px;margin:14px 0}.animfx-poll-option,.animfx-quiz-option{position:relative;overflow:hidden;text-align:left;border:1px solid var(--afx-border);border-radius:12px;padding:12px 14px;background:var(--afx-card2);color:var(--afx-text);cursor:pointer;font-size:14px}.animfx-poll-option span,.animfx-poll-option b{position:relative;z-index:2}.animfx-poll-option b{float:right}.animfx-poll-option i{position:absolute;z-index:1;left:0;top:0;bottom:0;background:rgba(108,77,255,.22)}.animfx-poll-option.is-selected{border-color:var(--afx-accent)}.animfx-quiz-option.correct{border-color:#27b36a;background:rgba(39,179,106,.12)}.animfx-quiz-option.wrong{border-color:#e84b6a;background:rgba(232,75,106,.12)}.animfx-quiz-result{font-weight:800;min-height:22px}.animfx-quiz-result.is-correct{color:#27b36a}.animfx-quiz-result.is-wrong{color:#e84b6a}.animfx-quiz{position:relative}.animfx-confetti{position:absolute;top:10%;width:7px;height:12px;background:var(--afx-accent);animation:afxConfetti 1.1s ease-out forwards;z-index:5}@keyframes afxConfetti{to{transform:translateY(120px) rotate(420deg);opacity:0}}.animfx-option-row{display:grid!important;grid-template-columns:28px 1fr;align-items:center;gap:8px}.animfx-option-row input[type=radio]{width:18px;height:18px}.animfx-creator-card-actions{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin:12px 0}.animfx-experience{font-size:13px;color:var(--afx-muted)}.animfx-portfolio-page{max-width:1180px;margin:auto}.animfx-portfolio-hero{display:flex;gap:18px;align-items:center;background:var(--afx-card);border:1px solid var(--afx-border);border-radius:18px;padding:22px;margin-bottom:22px}.animfx-portfolio-hero img{border-radius:50%;object-fit:cover}.animfx-social-links{display:flex;gap:10px;flex-wrap:wrap}.animfx-social-links a{color:var(--afx-link);text-decoration:none;font-weight:700}.animfx-project-card{overflow:hidden;padding:0!important}.animfx-project-card>img,.animfx-project-card iframe{width:100%;display:block}.animfx-project-body{padding:16px}.animfx-featured{display:block;margin-top:8px;color:var(--afx-link)}.animfx-social-editor{margin:18px 0}.animfx-social-editor summary{cursor:pointer;font-weight:800}.animfx-universal-search{display:flex;gap:10px;margin:18px 0 28px}.animfx-universal-search input{flex:1;min-width:0;background:var(--afx-input);color:var(--afx-text);border:1px solid var(--afx-border);border-radius:12px;padding:13px 14px}.animfx-search-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:26px}.animfx-search-item{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid var(--afx-border);border-radius:12px;background:var(--afx-card);text-decoration:none}.animfx-search-item img{border-radius:50%}.animfx-search-item span{display:grid}.animfx-search-item small{color:var(--afx-muted)}@media(max-width:600px){.animfx-search-results{grid-template-columns:1fr}.animfx-portfolio-hero{align-items:flex-start}}
/* v1.5.1 compact masonry, creator cards, resource library */
.animfx-masonry-feed{display:block!important;column-count:3!important;column-gap:12px!important}.animfx-masonry-feed .animfx-post-card{display:inline-block!important;width:100%!important;break-inside:avoid!important;margin:0 0 12px!important;vertical-align:top}.animfx-creators-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.animfx-creator-card{display:flex;align-items:center;justify-content:space-between;gap:22px;text-align:left;padding:20px}.animfx-creator-identity{display:flex;align-items:center;gap:14px;min-width:0}.animfx-creator-identity h3{margin:0 0 2px}.animfx-creator-card .animfx-tags{justify-content:flex-start;margin:8px 0}.animfx-creator-side{margin-left:auto;text-align:right}.animfx-creator-stats{justify-content:flex-end;margin:0 0 8px}.animfx-creator-card-actions{justify-content:flex-end;margin:8px 0}.animfx-resources-page,.animfx-resource-single{max-width:1180px;margin:0 auto}.animfx-resource-filters{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.animfx-resource-filters a{padding:8px 12px;border:1px solid var(--afx-border);border-radius:999px;text-decoration:none;background:var(--afx-card);color:var(--afx-text)}.animfx-resource-filters a.is-active{background:var(--afx-accent);color:#fff}.animfx-resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.animfx-resource-card{background:var(--afx-card);border:1px solid var(--afx-border);border-radius:16px;overflow:hidden}.animfx-resource-card>img{width:100%;aspect-ratio:16/10;object-fit:cover}.animfx-resource-card>div{padding:16px}.animfx-resource-icon{min-height:150px!important;display:grid!important;place-items:center;font-size:52px;background:var(--afx-card2)}.animfx-resource-viewer{width:100%;height:70vh;border:1px solid var(--afx-border);border-radius:12px}.animfx-resource-share{display:flex;gap:10px;flex-wrap:wrap}.animfx-resource-single iframe:not(.animfx-resource-viewer){max-width:100%}html[data-animfx-theme="light"] .animfx-tags span{background:#eee9ff!important;color:#5538d8!important;border-color:#cfc4ff!important}
@media(max-width:900px){.animfx-masonry-feed{column-count:2!important}.animfx-creators-grid,.animfx-resource-grid{grid-template-columns:1fr}.animfx-creator-card{align-items:flex-start}.animfx-creator-side{text-align:left}.animfx-creator-stats,.animfx-creator-card-actions{justify-content:flex-start}}@media(max-width:600px){.animfx-masonry-feed{column-count:1!important}.animfx-creator-card{display:block}.animfx-creator-side{margin-top:14px}}
/* v1.6.0 resources, identity chips and exams */
.animfx-chip-grid{gap:10px!important}.animfx-chip{border-radius:10px!important;padding:10px 13px!important;display:flex!important;align-items:center!important;gap:7px!important;justify-content:flex-start!important;min-height:44px}.animfx-chip input[type=checkbox]{margin:0!important;flex:0 0 auto}.animfx-resource-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.animfx-view-resource{font-size:13px!important;padding:8px 11px!important}.animfx-download-resource{font-size:15px!important;padding:11px 17px!important}.animfx-exams-page,.animfx-exam-take{max-width:1000px;margin:auto}.animfx-exam-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.animfx-exam-form{display:grid;gap:14px}.animfx-exam-form fieldset{display:grid;gap:9px}.animfx-exam-form legend{font-weight:800;padding:0 6px}.animfx-exam-form label{display:block;padding:10px;border:1px solid var(--afx-border);border-radius:10px}.animfx-exam-result strong{font-size:32px}.animfx-profile-exams{margin:18px 0}.animfx-exam-results-list{display:grid;gap:8px}.animfx-exam-results-list>div{display:flex;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid var(--afx-border);border-radius:10px;background:var(--afx-card2)}@media(max-width:800px){.animfx-exam-grid{grid-template-columns:1fr}}
/* v1.6.1 resource + exam polish */
.animfx-resource-card>img{width:100%!important;height:auto!important;aspect-ratio:auto!important;object-fit:contain!important;display:block;background:var(--afx-card2)}
.animfx-resource-meta{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:8px}.animfx-resource-meta .animfx-badge{background:#eee9ff;color:#5538d8}
.animfx-resource-embed-code{width:100%;min-height:90px;font-family:monospace}
.animfx-exam-filters{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0 24px}.animfx-exam-filters a{padding:8px 12px;border:1px solid var(--afx-border);border-radius:999px;text-decoration:none;background:var(--afx-card);color:var(--afx-text)}.animfx-exam-filters a.is-active{background:var(--afx-accent);color:#fff}
.animfx-language-switch{display:flex;gap:8px;margin:16px 0}.animfx-language-switch a{padding:8px 14px;border:1px solid var(--afx-border);border-radius:10px;text-decoration:none}.animfx-language-switch a.is-active{background:var(--afx-accent);color:#fff}
.animfx-exam-progress{display:flex;justify-content:space-between;gap:12px;margin:12px 0;color:var(--afx-muted)}.animfx-progress-track{height:8px;background:var(--afx-card2);border-radius:99px;overflow:hidden;margin-bottom:18px}.animfx-progress-track i{display:block;height:100%;background:var(--afx-accent);transition:width .2s}
.animfx-exam-question{padding:22px!important}.animfx-exam-question h3{margin:0 0 18px;font-size:20px}.animfx-exam-options{display:grid;gap:10px}.animfx-exam-option{display:grid!important;grid-template-columns:22px 1fr;gap:10px;align-items:center;padding:13px 14px!important;cursor:pointer}.animfx-exam-option input{width:18px!important;height:18px!important;margin:0!important}.animfx-exam-nav{display:flex;justify-content:space-between;gap:10px;margin-top:18px}.animfx-exam-question[hidden]{display:none!important}.animfx-exam-review{display:grid;gap:10px;margin-top:18px}.animfx-review-row{padding:14px;border:1px solid var(--afx-border);border-radius:12px;background:var(--afx-card2)}.animfx-review-row.correct{border-color:#27b36a}.animfx-review-row.wrong{border-color:#e84b6a}.animfx-review-row p{margin:5px 0}.animfx-print-only{display:none}
@media print{.afx-header,.afx-footer,.animfx-exam-nav,.animfx-language-switch,.animfx-exam-submit,.animfx-exam-result-actions{display:none!important}.animfx-print-only{display:block}.animfx-exam-question{display:block!important;break-inside:avoid;background:#fff!important;color:#000!important;border:1px solid #bbb!important}.animfx-exam-option{color:#000!important}.animfx-exam-take{max-width:none!important}.animfx-exam-progress,.animfx-progress-track{display:none!important}}
/* v1.6.2 exam result persistence / review / post-result print */
.animfx-review-row.correct{border:2px solid #27b36a!important}.animfx-review-row.wrong{border:2px solid #e84b6a!important}.animfx-blank-exam-print{display:none}
@media print{
 body.afx-print-blank .animfx-exam-result,body.afx-print-blank .animfx-exam-review,body.afx-print-blank .animfx-language-switch,body.afx-print-blank .animfx-exam-take>a,body.afx-print-blank .animfx-exam-take>h2{display:none!important}
 body.afx-print-blank .animfx-blank-exam-print{display:block!important;color:#000!important;background:#fff!important}
 body.afx-print-blank .afx-print-question{break-inside:avoid;margin:0 0 14px;padding:8px 0;border-bottom:1px solid #ddd}
 body.afx-print-blank .afx-print-question ol{margin:7px 0 0 24px}
}


/* v1.6.4 exam dashboard/history */
.animfx-exam-history-list{display:grid;gap:16px}.animfx-exam-history-card{padding:20px}.animfx-exam-history-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.animfx-exam-history-head h3{margin:0 0 4px}.animfx-attempt-table{display:grid;gap:2px}.animfx-attempt-row{display:grid;grid-template-columns:.65fr 1fr .8fr .8fr 1.2fr .9fr;gap:10px;align-items:center;padding:11px 12px;border-radius:8px;background:var(--afx-card2,#171d35)}.animfx-attempt-heading{font-weight:700;background:transparent;border-bottom:1px solid var(--afx-border,#303957);border-radius:0}.animfx-creator-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important}@media(max-width:700px){.animfx-exam-history-head{align-items:flex-start;flex-direction:column}.animfx-attempt-heading{display:none}.animfx-attempt-row{grid-template-columns:1fr 1fr}.animfx-attempt-row span:last-child{text-align:right}}

/* v1.6.5 onboarding UI hardening: isolate checkbox chips from generic form/theme input rules. */
.animfx-onboarding .animfx-chip-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;align-items:stretch!important;margin-top:10px!important}
.animfx-onboarding .animfx-chip{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;width:100%!important;min-width:0!important;min-height:48px!important;box-sizing:border-box!important;padding:10px 12px!important;margin:0!important;border:1px solid #303957!important;border-radius:10px!important;background:#0b1022!important;line-height:1.3!important;white-space:normal!important;overflow:visible!important;text-align:left!important}
.animfx-onboarding .animfx-chip input[type=checkbox]{appearance:auto!important;-webkit-appearance:checkbox!important;display:inline-block!important;position:static!important;float:none!important;flex:0 0 16px!important;width:16px!important;min-width:16px!important;max-width:16px!important;height:16px!important;min-height:16px!important;padding:0!important;margin:0!important;border:0!important;box-shadow:none!important;vertical-align:middle!important}
.animfx-onboarding .animfx-chip input[type=checkbox] + *{min-width:0!important}
@media(max-width:900px){.animfx-onboarding .animfx-chip-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:700px){.animfx-onboarding .animfx-chip-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:460px){.animfx-onboarding .animfx-chip-grid{grid-template-columns:1fr!important}}

/* v1.6.7 Creator Directory: collision-proof responsive card layout */
.animfx-creators-directory .animfx-creator-card{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(300px,auto)!important;
  align-items:center!important;
  gap:24px!important;
  height:auto!important;
  min-height:0!important;
  overflow:visible!important;
}
.animfx-creators-directory .animfx-creator-identity{min-width:0!important;align-self:center!important}
.animfx-creators-directory .animfx-creator-side{
  margin-left:0!important;
  min-width:300px!important;
  display:grid!important;
  grid-template-rows:auto auto auto!important;
  align-content:center!important;
  gap:10px!important;
  text-align:right!important;
}
.animfx-creators-directory .animfx-creator-stats{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(64px,1fr))!important;
  gap:12px!important;
  margin:0!important;
  justify-content:stretch!important;
}
.animfx-creators-directory .animfx-experience{
  position:static!important;
  margin:0!important;
  line-height:1.4!important;
  min-height:18px!important;
  overflow-wrap:anywhere!important;
}
.animfx-creators-directory .animfx-creator-card-actions{
  position:static!important;
  display:flex!important;
  flex-wrap:nowrap!important;
  align-items:stretch!important;
  justify-content:flex-end!important;
  gap:8px!important;
  margin:0!important;
}
.animfx-creators-directory .animfx-creator-card-actions .animfx-btn,
.animfx-creators-directory .animfx-creator-card-actions button,
.animfx-creators-directory .animfx-creator-card-actions a{
  min-height:44px!important;
  min-width:108px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  line-height:1.2!important;
  white-space:normal!important;
  text-align:center!important;
  box-sizing:border-box!important;
}
@media(max-width:1050px){
 .animfx-creators-directory .animfx-creator-card{grid-template-columns:1fr!important;align-items:start!important}
 .animfx-creators-directory .animfx-creator-side{min-width:0!important;width:100%!important;text-align:left!important}
 .animfx-creators-directory .animfx-creator-card-actions{justify-content:flex-start!important;flex-wrap:wrap!important}
}
@media(max-width:600px){
 .animfx-creators-directory .animfx-creator-stats{grid-template-columns:repeat(3,1fr)!important}
 .animfx-creators-directory .animfx-creator-card-actions .animfx-btn,
 .animfx-creators-directory .animfx-creator-card-actions button,
 .animfx-creators-directory .animfx-creator-card-actions a{flex:1 1 120px!important}
}

/* v1.6.8 creator profile themes */
.animfx-profile-theme-picker{margin:24px 0;padding:20px;border:1px solid var(--afx-border);border-radius:16px;background:var(--afx-card2)}.animfx-profile-theme-picker h3{margin:0 0 4px}.animfx-profile-theme-picker p{margin:0 0 14px;color:var(--afx-muted)}.animfx-theme-swatches{display:grid;grid-template-columns:repeat(5,minmax(110px,1fr));gap:10px;margin-bottom:14px}.animfx-theme-swatch{min-height:64px;border:2px solid transparent;border-radius:12px;padding:10px;display:flex;align-items:flex-end;gap:7px;cursor:pointer;font-weight:700}.animfx-theme-swatch input{width:auto!important;margin:0!important}.animfx-swatch-default{background:#11172d;color:#f7f8ff}.animfx-swatch-midnight{background:#071226;color:#d8e9ff}.animfx-swatch-graphite{background:#202124;color:#f1f3f4}.animfx-swatch-pearl{background:#f7f8fc;color:#171a25}.animfx-swatch-lavender{background:#f2edff;color:#32265d}.animfx-profile-theme-midnight{--afx-card:#071226;--afx-card2:#0d1c35;--afx-text:#eaf3ff;--afx-muted:#a8bdd8;--afx-border:#244264}.animfx-profile-theme-midnight .animfx-cover{background:linear-gradient(120deg,#071226,#123d68)}.animfx-profile-theme-graphite{--afx-card:#202124;--afx-card2:#292a2d;--afx-text:#f1f3f4;--afx-muted:#bdc1c6;--afx-border:#4a4d52}.animfx-profile-theme-graphite .animfx-cover{background:linear-gradient(120deg,#202124,#45474d)}.animfx-profile-theme-pearl{--afx-card:#fff;--afx-card2:#f5f6fa;--afx-text:#171a25;--afx-muted:#626b7b;--afx-border:#d9dde7;color:#171a25!important}.animfx-profile-theme-pearl .animfx-cover{background:linear-gradient(120deg,#e8ebf3,#fff)}.animfx-profile-theme-lavender{--afx-card:#fbf9ff;--afx-card2:#f1ecff;--afx-text:#2c2443;--afx-muted:#71678d;--afx-border:#d8cef3;color:#2c2443!important}.animfx-profile-theme-lavender .animfx-cover{background:linear-gradient(120deg,#ddd2ff,#f8f5ff)}.animfx-profile-theme-pearl h2,.animfx-profile-theme-pearl h3,.animfx-profile-theme-pearl .animfx-tabs,.animfx-profile-theme-lavender h2,.animfx-profile-theme-lavender h3,.animfx-profile-theme-lavender .animfx-tabs{color:var(--afx-text)!important}.animfx-profile-theme-pearl .animfx-profile-body img.avatar,.animfx-profile-theme-pearl .animfx-avatar,.animfx-profile-theme-lavender .animfx-profile-body img.avatar,.animfx-profile-theme-lavender .animfx-avatar{border-color:var(--afx-card)!important;background:var(--afx-card)!important}@media(max-width:800px){.animfx-theme-swatches{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* v1.6.8 on-site YouTube learning player */
html.animfx-modal-open{overflow:hidden}.animfx-video-modal[hidden]{display:none!important}.animfx-video-modal{position:fixed;inset:0;z-index:999999;display:grid;place-items:center;padding:20px}.animfx-video-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.82);backdrop-filter:blur(5px)}.animfx-video-modal-dialog{position:relative;width:min(1100px,94vw);z-index:1;background:#05070d;border:1px solid #343b52;border-radius:18px;padding:14px;box-shadow:0 24px 80px rgba(0,0,0,.55)}.animfx-video-modal-frame{position:relative;aspect-ratio:16/9;background:#000;border-radius:12px;overflow:hidden}.animfx-video-modal-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.animfx-video-modal-close{position:absolute;right:-12px;top:-12px;z-index:3;width:38px;height:38px;border:0;border-radius:50%;background:#fff;color:#111;font-size:26px;line-height:1;cursor:pointer;box-shadow:0 4px 20px rgba(0,0,0,.35)}
/* v1.6.9 */
.animfx-post-copy-clamped{display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:4!important;overflow:hidden!important;max-height:6.4em!important}
.animfx-creators-directory .animfx-creator-identity{display:flex!important;align-items:flex-start!important;gap:16px!important}.animfx-creators-directory .animfx-creator-identity>.animfx-avatar,.animfx-creators-directory .animfx-creator-identity>img{flex:0 0 auto!important}.animfx-creators-directory .animfx-creator-identity h3{margin:0 0 6px!important}
.animfx-learning-search{display:flex;gap:10px;align-items:stretch;margin:18px 0}.animfx-learning-search input[type=search]{flex:1;min-width:0;border:1px solid var(--afx-border);background:var(--afx-card);color:var(--afx-text);border-radius:10px;padding:12px 14px}.animfx-learning-more{text-align:center;margin:24px 0 34px}.animfx-learning-status{display:block;margin-top:8px;color:var(--afx-muted)}.animfx-learning-articles-title{margin-top:34px}@media(max-width:650px){.animfx-learning-search{flex-wrap:wrap}.animfx-learning-search input[type=search]{flex-basis:100%}}
/* v1.7.0 notifications */
.animfx-notification-bell{position:relative;width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--afx-border,#252c48);background:var(--afx-card,#11172d);color:var(--afx-text,#fff);border-radius:10px;cursor:pointer;font-size:18px}.animfx-notification-count{position:absolute;right:-5px;top:-7px;min-width:18px;height:18px;padding:0 5px;border-radius:10px;background:#ef4444;color:#fff;font-size:11px;font-weight:800;line-height:18px;text-align:center}.animfx-notification-count:empty,.animfx-notification-count[data-count="0"]{display:none}.animfx-notification-wrap{position:relative;display:inline-flex}.animfx-notification-dropdown{display:none;position:absolute;right:0;top:48px;width:min(380px,calc(100vw - 28px));max-height:520px;overflow:auto;background:var(--afx-card,#11172d);border:1px solid var(--afx-border,#252c48);border-radius:14px;box-shadow:0 18px 50px rgba(0,0,0,.28);z-index:10050}.animfx-notification-dropdown.is-open{display:block}.animfx-notification-head{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid var(--afx-border,#252c48)}.animfx-notification-head button{border:0;background:none;color:var(--afx-link,#a996ff);cursor:pointer}.animfx-notification-item,.animfx-notification-row{display:flex;flex-direction:column;gap:3px;padding:13px 16px;text-decoration:none;color:var(--afx-text,#fff);border-bottom:1px solid var(--afx-border,#252c48)}.animfx-notification-item.is-unread,.animfx-notification-row.is-unread{background:rgba(108,77,255,.12)}.animfx-notification-item span,.animfx-notification-row span,.animfx-notification-item small,.animfx-notification-row small{color:var(--afx-muted,#aeb8d0)}.animfx-notification-foot{display:block;text-align:center;padding:12px;text-decoration:none;color:var(--afx-link,#a996ff)}.animfx-notification-page-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}.animfx-notification-list{border:1px solid var(--afx-border,#252c48);border-radius:14px;overflow:hidden}.animfx-profile-reminder{position:fixed;right:22px;bottom:22px;z-index:10040;width:min(390px,calc(100vw - 28px));padding:18px 48px 18px 18px;border:1px solid rgba(108,77,255,.55);border-radius:16px;background:var(--afx-card,#11172d);color:var(--afx-text,#fff);box-shadow:0 20px 60px rgba(0,0,0,.35);display:flex;flex-direction:column;gap:7px}.animfx-profile-reminder>button{position:absolute;right:12px;top:8px;border:0;background:none;color:inherit;font-size:24px;cursor:pointer}.animfx-profile-reminder span{color:var(--afx-muted,#aeb8d0)}.animfx-profile-reminder .animfx-btn{align-self:flex-start;margin-top:5px}@media(max-width:900px){.animfx-profile-reminder{bottom:76px}.animfx-notification-dropdown{position:fixed;top:72px;right:10px}}

/* v1.7.1 account-wide appearance settings */
.animfx-settings-page{max-width:1100px;margin:0 auto}.animfx-settings-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0 20px}.animfx-settings-tabs a{padding:9px 13px;border:1px solid var(--afx-border);border-radius:10px;text-decoration:none;color:var(--afx-text);background:var(--afx-card)}.animfx-settings-tabs a.is-active{background:var(--afx-accent);color:#fff}.animfx-settings-page>.animfx-card{margin-bottom:18px}.animfx-theme-swatches-six{grid-template-columns:repeat(3,minmax(130px,1fr))}.animfx-swatch-neon{background:linear-gradient(135deg,#07111f,#35145f 48%,#082f42);color:#fff;box-shadow:0 0 20px rgba(121,70,255,.35),inset 0 0 18px rgba(0,225,255,.12)}
body.animfx-ui-theme-midnight{--afx-bg:#050b18;--afx-card:#071226;--afx-card2:#0d1c35;--afx-text:#eaf3ff;--afx-muted:#a8bdd8;--afx-border:#244264;--afx-input:#0a1930}body.animfx-ui-theme-graphite{--afx-bg:#17181a;--afx-card:#202124;--afx-card2:#292a2d;--afx-text:#f1f3f4;--afx-muted:#bdc1c6;--afx-border:#4a4d52;--afx-input:#252629}body.animfx-ui-theme-pearl{--afx-bg:#f3f5f9;--afx-card:#fff;--afx-card2:#f5f6fa;--afx-text:#171a25;--afx-muted:#626b7b;--afx-border:#d9dde7;--afx-input:#fff}body.animfx-ui-theme-lavender{--afx-bg:#f6f2ff;--afx-card:#fbf9ff;--afx-card2:#f1ecff;--afx-text:#2c2443;--afx-muted:#71678d;--afx-border:#d8cef3;--afx-input:#fff}body.animfx-ui-theme-neon{--afx-bg:#040713;--afx-card:#0a1020;--afx-card2:#10172b;--afx-text:#f6f7ff;--afx-muted:#aeb6d5;--afx-border:#343a68;--afx-input:#0b1225;--afx-accent:#8a5cff}body.animfx-ui-theme-neon .animfx-card,body.animfx-ui-theme-neon .animfx-post-card,body.animfx-ui-theme-neon .animfx-learning-card,body.animfx-ui-theme-neon .animfx-resource-card{border-color:rgba(123,91,255,.55);box-shadow:0 0 18px rgba(115,65,255,.14),0 0 28px rgba(0,220,255,.06)}body.animfx-ui-theme-neon .animfx-btn{background:linear-gradient(90deg,#7b4dff,#d23cff,#00bfe8);box-shadow:0 0 16px rgba(138,92,255,.28)}body.animfx-ui-theme-pearl .animfx-card,body.animfx-ui-theme-lavender .animfx-card{color:var(--afx-text)}
@media(max-width:700px){.animfx-theme-swatches-six{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* v1.7.2 centralized Settings + visual theme gallery */
.animfx-settings-page{max-width:1060px!important;padding:8px 0 36px}.animfx-settings-page>h2{margin-bottom:5px}.animfx-settings-tabs{position:relative;display:flex;gap:8px;padding:6px;background:var(--afx-card2,#171d35);border:1px solid var(--afx-border,#303957);border-radius:14px;margin:20px 0}.animfx-settings-tabs a{flex:0 0 auto;border:0!important;background:transparent!important;padding:10px 16px!important;border-radius:10px!important;font-weight:750}.animfx-settings-tabs a.is-active{background:var(--afx-accent,#714cff)!important;color:#fff!important;box-shadow:0 7px 22px rgba(113,76,255,.22)}.animfx-settings-panel{padding:24px!important;border-radius:18px!important}.animfx-settings-panel-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.animfx-theme-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:20px 0}.animfx-theme-choice{position:relative;display:flex;flex-direction:column;gap:5px;min-width:0;padding:13px;border:2px solid var(--afx-border,#303957);border-radius:16px;background:var(--afx-card2,#171d35);cursor:pointer;transition:.18s ease}.animfx-theme-choice:hover{transform:translateY(-2px);border-color:var(--afx-accent,#714cff)}.animfx-theme-choice.is-selected,.animfx-theme-choice:has(input:checked){border-color:var(--afx-accent,#714cff);box-shadow:0 0 0 3px rgba(113,76,255,.12)}.animfx-theme-choice input{position:absolute!important;opacity:0!important;pointer-events:none;width:1px!important;height:1px!important}.animfx-theme-choice strong{color:var(--afx-text,#fff);font-size:15px}.animfx-theme-choice small{color:var(--afx-muted,#aeb8d0);min-height:34px}.animfx-theme-selected{font-size:12px;font-weight:800;color:var(--afx-link,#a996ff);opacity:0}.animfx-theme-choice.is-selected .animfx-theme-selected,.animfx-theme-choice:has(input:checked) .animfx-theme-selected{opacity:1}.animfx-theme-preview-ui{height:92px;border-radius:11px;padding:10px;display:grid;grid-template-columns:28% 1fr;grid-template-rows:18px 1fr;gap:7px;overflow:hidden;border:1px solid rgba(255,255,255,.12)}.animfx-theme-preview-ui i{grid-column:1/-1;border-radius:5px}.animfx-theme-preview-ui b,.animfx-theme-preview-ui em{border-radius:7px}.animfx-theme-preview-default .animfx-theme-preview-ui{background:#080d20}.animfx-theme-preview-default i{background:#704cff}.animfx-theme-preview-default b{background:#141b34}.animfx-theme-preview-default em{background:#11172d}.animfx-theme-preview-midnight .animfx-theme-preview-ui{background:#050b18}.animfx-theme-preview-midnight i{background:#1767a8}.animfx-theme-preview-midnight b{background:#0d1c35}.animfx-theme-preview-midnight em{background:#071226}.animfx-theme-preview-graphite .animfx-theme-preview-ui{background:#17181a}.animfx-theme-preview-graphite i{background:#55595f}.animfx-theme-preview-graphite b{background:#292a2d}.animfx-theme-preview-graphite em{background:#202124}.animfx-theme-preview-pearl .animfx-theme-preview-ui{background:#f3f5f9;border-color:#d9dde7}.animfx-theme-preview-pearl i{background:#6d4aff}.animfx-theme-preview-pearl b{background:#e8ebf2}.animfx-theme-preview-pearl em{background:#fff}.animfx-theme-preview-lavender .animfx-theme-preview-ui{background:#f6f2ff;border-color:#d8cef3}.animfx-theme-preview-lavender i{background:#8b66d9}.animfx-theme-preview-lavender b{background:#e9e0ff}.animfx-theme-preview-lavender em{background:#fbf9ff}.animfx-theme-preview-neon{background:linear-gradient(145deg,rgba(16,23,43,.96),rgba(32,13,55,.96))}.animfx-theme-preview-neon .animfx-theme-preview-ui{background:#040713;box-shadow:0 0 18px rgba(0,220,255,.15)}.animfx-theme-preview-neon i{background:linear-gradient(90deg,#7b4dff,#e43cff,#00d7ef);box-shadow:0 0 10px rgba(210,60,255,.55)}.animfx-theme-preview-neon b{background:#111735;border:1px solid #00d7ef;box-shadow:0 0 8px rgba(0,215,239,.28)}.animfx-theme-preview-neon em{background:#17102e;border:1px solid #d23cff;box-shadow:0 0 8px rgba(210,60,255,.28)}.animfx-settings-email>.animfx-card{margin:0!important}.animfx-settings-actions{margin-top:16px}
body.animfx-ui-theme-midnight,body.animfx-ui-theme-graphite,body.animfx-ui-theme-pearl,body.animfx-ui-theme-lavender,body.animfx-ui-theme-neon{background:var(--afx-bg)!important;color:var(--afx-text)!important}body.animfx-ui-theme-midnight .afx-main,body.animfx-ui-theme-graphite .afx-main,body.animfx-ui-theme-pearl .afx-main,body.animfx-ui-theme-lavender .afx-main,body.animfx-ui-theme-neon .afx-main{background:var(--afx-bg)!important;color:var(--afx-text)!important}body.animfx-ui-theme-pearl .afx-header,body.animfx-ui-theme-lavender .afx-header{background:var(--afx-card)!important;border-color:var(--afx-border)!important}body.animfx-ui-theme-pearl .afx-nav a,body.animfx-ui-theme-lavender .afx-nav a,body.animfx-ui-theme-pearl .afx-brand,body.animfx-ui-theme-lavender .afx-brand{color:var(--afx-text)!important}body.animfx-ui-theme-neon .afx-header{background:linear-gradient(90deg,#050817,#130a27,#061321)!important;border-bottom-color:rgba(123,91,255,.45)!important;box-shadow:0 0 24px rgba(123,77,255,.1)}body.animfx-ui-theme-neon .animfx-settings-tabs,body.animfx-ui-theme-neon .animfx-creator-card{box-shadow:0 0 20px rgba(123,77,255,.1)}
@media(max-width:760px){.animfx-theme-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.animfx-settings-tabs{overflow-x:auto;flex-wrap:nowrap}.animfx-settings-panel{padding:17px!important}}@media(max-width:480px){.animfx-theme-gallery{grid-template-columns:1fr}}
/* v1.8.0: one AnimFX theme system; improve native light-mode separation */
body:not(.dark-mode) .animfx-post-card,body:not(.dark-mode) .animfx-card,body:not(.dark-mode) .animfx-creator-card,body:not(.dark-mode) .animfx-resource-card{border:1px solid #d9deea!important;box-shadow:0 4px 14px rgba(20,30,55,.06)}
body:not(.dark-mode) .afx-main,body:not(.dark-mode) .animfx-community-shell{background:#f5f7fb}
.animfx-gamification-card{margin-bottom:18px}.animfx-gamification-card .animfx-progress-track{margin:10px 0}
/* v1.8.2 targeted community UX */
.animfx-community-filters{display:flex;gap:8px;overflow-x:auto;padding:2px 0 16px;margin-bottom:4px;scrollbar-width:thin}.animfx-community-filters a{white-space:nowrap;text-decoration:none;padding:8px 12px;border:1px solid var(--afx-border,#303957);border-radius:10px;background:var(--afx-card,#11172d);color:var(--afx-text,#fff);font-weight:700;font-size:13px}.animfx-community-filters a.is-active{background:var(--afx-accent,#6c4dff);border-color:var(--afx-accent,#6c4dff);color:#fff}.animfx-community-filters a.is-child{font-size:12px;opacity:.9}.animfx-recent-comment{display:block;width:100%;text-align:left;border:0;border-top:1px solid var(--afx-border,#303957);background:transparent;color:var(--afx-muted,#aeb8d0);padding:10px 0;cursor:pointer}.animfx-recent-comment strong{color:var(--afx-text,#fff);margin-right:5px}.animfx-recent-comment small{display:block;margin-top:3px;color:var(--afx-link,#a996ff)}.animfx-comment-modal[hidden]{display:none!important}.animfx-comment-modal{position:fixed;inset:0;z-index:10080;background:rgba(0,0,0,.66);display:grid;place-items:center;padding:18px}.animfx-comment-dialog{position:relative;width:min(620px,100%);max-height:min(720px,88vh);overflow:auto;background:var(--afx-card,#11172d);color:var(--afx-text,#fff);border:1px solid var(--afx-border,#303957);border-radius:18px;padding:22px;box-shadow:0 24px 70px rgba(0,0,0,.38)}.animfx-comment-close{position:absolute;right:12px;top:10px;border:0;background:transparent;color:inherit;font-size:28px;cursor:pointer}.animfx-comment-ajax-form{display:grid;gap:10px;position:sticky;bottom:-22px;background:var(--afx-card,#11172d);padding:12px 0 2px}.animfx-comment-ajax-form textarea{width:100%;box-sizing:border-box;border:1px solid var(--afx-border,#303957);border-radius:10px;padding:11px;background:var(--afx-input,#0b1022);color:var(--afx-text,#fff)}.animfx-view-posts{display:block;text-align:center;margin-top:9px}.animfx-search-item-rich{display:flex!important;align-items:center!important;gap:12px}.animfx-search-item-rich img,.animfx-search-placeholder{width:62px;height:48px;flex:0 0 62px;border-radius:8px;object-fit:cover;background:var(--afx-card2,#171d35);display:grid;place-items:center}.animfx-single-post-shell{max-width:760px!important;margin:0 auto}.animfx-single-post-shell .animfx-post-image{width:100%!important;height:auto!important;max-height:58vh!important;object-fit:contain!important;background:var(--afx-card2,#171d35)}.animfx-single-post-shell .animfx-post-card{max-width:720px;margin:0 auto}.animfx-single-comments-note{text-align:center;padding-top:10px}
@media(max-width:700px){.animfx-comment-dialog{max-height:92vh;padding:18px}.animfx-single-post-shell .animfx-post-image{max-height:none!important}.animfx-community-filters{margin-left:-4px;margin-right:-4px}}

/* v1.8.3 community feed row-first layout + dark theme surface fix */
.animfx-masonry-feed{
 display:grid!important;
 grid-template-columns:repeat(3,minmax(0,1fr))!important;
 gap:12px!important;
 column-count:unset!important;
 column-gap:unset!important;
 align-items:start!important;
}
.animfx-masonry-feed .animfx-post-card{
 display:block!important;
 width:auto!important;
 margin:0!important;
 break-inside:auto!important;
 align-self:start!important;
}
html[data-animfx-theme="dark"] .animfx-community-shell,
html[data-animfx-theme="dark"] .animfx-community-shell .animfx-masonry-feed,
html[data-animfx-theme="dark"] .animfx-community-shell .animfx-pagination{
 background:transparent!important;
 color:var(--afx-text,#f7f8ff)!important;
}
@media(max-width:900px){.animfx-masonry-feed{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:600px){.animfx-masonry-feed{grid-template-columns:1fr!important}}

/* v1.8.4 — onboarding chips: readable in light mode without changing dark mode. */
html[data-animfx-theme="light"] .animfx-onboarding .animfx-chip{
  background:#ffffff!important;
  color:#15182a!important;
  border-color:#d9deea!important;
  box-shadow:0 1px 2px rgba(20,30,55,.03)!important;
}
html[data-animfx-theme="light"] .animfx-onboarding .animfx-chip:hover{
  background:#f7f5ff!important;
  border-color:#b9aaff!important;
}
html[data-animfx-theme="light"] .animfx-onboarding .animfx-chip:has(input[type="checkbox"]:checked){
  background:#eee9ff!important;
  color:#3f2bb8!important;
  border-color:#9d89ff!important;
}

/* v1.8.6 — compact masonry feed: 10px horizontal + vertical spacing. */
.animfx-masonry-feed{
  display:block!important;
  column-count:3!important;
  column-gap:10px!important;
  gap:0!important;
}
.animfx-masonry-feed .animfx-post-card{
  display:inline-block!important;
  width:100%!important;
  box-sizing:border-box!important;
  break-inside:avoid!important;
  -webkit-column-break-inside:avoid!important;
  margin:0 0 10px!important;
  vertical-align:top!important;
}
@media(max-width:900px){.animfx-masonry-feed{column-count:2!important}}
@media(max-width:600px){.animfx-masonry-feed{column-count:1!important}}

/* v1.8.7 — exact compact feed rhythm + blog cards + load more */
.animfx-masonry-feed{display:block!important;column-count:3!important;column-gap:10px!important;gap:0!important;padding:0!important;margin:0!important}
.animfx-masonry-feed>.animfx-post-card{display:inline-block!important;width:100%!important;box-sizing:border-box!important;break-inside:avoid!important;-webkit-column-break-inside:avoid!important;margin:0 0 10px!important;vertical-align:top!important}
.animfx-blog-card .animfx-blog-mark{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--afx-accent,#6c4dff);color:#fff;font-weight:900}.animfx-blog-card .animfx-blog-body{padding-top:12px}.animfx-blog-card h3{font-size:17px;line-height:1.35;margin:0 0 8px}.animfx-blog-card h3 a,.animfx-blog-read{color:var(--afx-text,#fff);text-decoration:none}.animfx-blog-card p{color:var(--afx-muted,#aeb8d0);margin:0 0 10px;line-height:1.55}.animfx-blog-read{color:var(--afx-link,#a996ff);font-weight:800}.animfx-community-more{display:flex;justify-content:center;align-items:center;gap:10px;padding:18px 0 6px;clear:both}.animfx-community-load-status{color:var(--afx-muted,#aeb8d0);font-size:13px}
@media(max-width:900px){.animfx-masonry-feed{column-count:2!important}}
@media(max-width:600px){.animfx-masonry-feed{column-count:1!important}}
