
/* YZFP V5: accessible dual theme and language controls */
.ui-toggle{height:36px;min-width:38px;display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:0 10px;border:1px solid #dfe3ef;background:#fff;color:#39415a;border-radius:10px;font-size:12px;font-weight:800;transition:background .17s,border-color .17s}.ui-toggle:hover{background:#f5edfa;border-color:#d9b4e7}.ui-toggle .theme-glyph{font-size:20px;line-height:1}.ui-toggle .toggle-title{font-size:11px;font-weight:670}.ui-toggle.language-toggle{color:#7831b5;letter-spacing:.03em}.right-actions{gap:7px}.role-tag{display:inline-flex;background:#f0e8fc;color:#793cb3;border-radius:18px;padding:5px 11px;font-size:12px;font-weight:800}.staff-welcome{padding:22px 24px;margin-bottom:20px;border-radius:15px;background:linear-gradient(120deg,#fff5fa,#f4f2ff 65%,#f0f9ff);border:1px solid #e8dff3}.staff-welcome h2{margin:11px 0 8px;font-size:24px}.staff-welcome p{margin:0;font-size:13px}.permission-tags{display:flex;gap:9px;flex-wrap:wrap;padding-top:12px}.admin-content{min-width:0}.admin-layout{align-items:start}.member-role-select{min-width:160px}.footer a{display:block}
@media(max-width:1110px){.ui-toggle .toggle-title{display:none}.ui-toggle{height:34px;min-width:34px;padding:0 8px}.nav-link{padding-left:6px;padding-right:6px}.header-join{max-width:128px}}
@media(max-width:680px){.right-actions{gap:4px}.ui-toggle{min-width:30px;padding:0 5px;height:32px;font-size:11px;border-radius:8px}.ui-toggle .theme-glyph{font-size:17px}.brand-copy small{display:none}.brand-copy strong{font-size:16px}.right-actions .header-join{padding:8px!important;max-width:none}.header-join span{display:none!important}.role-tag{font-size:10px}.admin-side{gap:5px}.admin-side button{padding:10px}}
html[data-theme="dark"]{color-scheme:dark;--bg:#101425;--panel:#1a2033;--panel2:#1d253b;--line:#384158;--white:#f2f5ff;--muted:#b2bdd5}
html[data-theme="dark"] body{background:#101425;color:#f0f3ff}
html[data-theme="dark"] .site-header{background:#141a2b;border-bottom-color:#30374d;box-shadow:none}
html[data-theme="dark"] .brand-copy strong,html[data-theme="dark"] h1,html[data-theme="dark"] h2,html[data-theme="dark"] h3,html[data-theme="dark"] h4{color:#f3f5ff}
html[data-theme="dark"] .brand-copy small,html[data-theme="dark"] p,html[data-theme="dark"] .muted{color:#b5c0d6}
html[data-theme="dark"] .nav-link{color:#d3d9e7}html[data-theme="dark"] .nav-link:hover,html[data-theme="dark"] .nav-link.active{color:#fff;background:#28223d}
html[data-theme="dark"] .site-menu,html[data-theme="dark"] .nav.open{background:#1d2335;border-color:#3b4359;color:#f4f6ff}html[data-theme="dark"] .site-menu button{color:#e9ecfb}html[data-theme="dark"] .site-menu button:hover{background:#303752}
html[data-theme="dark"] .ui-toggle,html[data-theme="dark"] .iconbtn,html[data-theme="dark"] .text-search{background:#252a40;border-color:#45465d;color:#e5e8fb}
html[data-theme="dark"] .demo-utility{background:#1a2033;border-color:#333b55;color:#c5ccdd}html[data-theme="dark"] .demo-inner,html[data-theme="dark"] .switcher,html[data-theme="dark"] .switcher>span{color:#ccd4e8}html[data-theme="dark"] #roleSwitch,html[data-theme="dark"] .switcher select{background:#283047;color:#fff;border-color:#485067}
html[data-theme="dark"] .home-clean,html[data-theme="dark"] .clean-hero,html[data-theme="dark"] .clean-offer,html[data-theme="dark"] .clean-join,html[data-theme="dark"] .clean-strip,html[data-theme="dark"] .festival-home,html[data-theme="dark"] .news-home,html[data-theme="dark"] .section,html[data-theme="dark"] .page-heading,html[data-theme="dark"] .section-alt,html[data-theme="dark"] .editorial-news{background:#101425!important;color:#f0f3ff;border-color:#30394f}
html[data-theme="dark"] .clean-hero h1,html[data-theme="dark"] .page-heading h1,html[data-theme="dark"] .page-heading h2,html[data-theme="dark"] .section-heading h2,html[data-theme="dark"] .section-header h2,html[data-theme="dark"] .clean-join h2{color:#f5f3ff!important}
html[data-theme="dark"] .clean-hero .hero-lead,html[data-theme="dark"] .page-heading p{color:#b2bdd5}
html[data-theme="dark"] .feature,html[data-theme="dark"] .content-card,html[data-theme="dark"] .film-card,html[data-theme="dark"] .card,html[data-theme="dark"] .member-card,html[data-theme="dark"] .forum-item,html[data-theme="dark"] .event-item,html[data-theme="dark"] .form-panel,html[data-theme="dark"] .admin-side,html[data-theme="dark"] .dash-stat,html[data-theme="dark"] .modal,html[data-theme="dark"] .table-wrap,html[data-theme="dark"] .empty,html[data-theme="dark"] .quick-link-card{background:#1c2235!important;border-color:#3a4259!important;color:#f2f4ff;box-shadow:none!important}
html[data-theme="dark"] .content-card h3,html[data-theme="dark"] .feature h3,html[data-theme="dark"] .member-card h3,html[data-theme="dark"] .forum-item h3,html[data-theme="dark"] .event-item h3,html[data-theme="dark"] .film-info h3,html[data-theme="dark"] .dash-stat strong,html[data-theme="dark"] .modal-head h2{color:#f5f6ff!important}
html[data-theme="dark"] .content-card p,html[data-theme="dark"] .feature p,html[data-theme="dark"] .forum-item p,html[data-theme="dark"] .film-info .sub,html[data-theme="dark"] .film-info .meta,html[data-theme="dark"] .member-card p,html[data-theme="dark"] .film-info .film-top-meta{color:#b9c1d4!important}
html[data-theme="dark"] main .section .film-grid .film-card,html[data-theme="dark"] .home-clean .film-grid .film-card{background:#1c2235!important;border-color:#3a4259!important}
html[data-theme="dark"] main .section .film-grid .film-info,html[data-theme="dark"] .home-clean .film-grid .film-info{background:#1c2235!important;color:#f5f6ff!important}
html[data-theme="dark"] main .section .film-grid .film-info h3,html[data-theme="dark"] .home-clean .film-grid .film-info h3{color:#f5f6ff!important}
html[data-theme="dark"] main .section .film-grid .film-info .sub,html[data-theme="dark"] .home-clean .film-grid .film-info .sub,html[data-theme="dark"] main .section .film-grid .film-info .meta,html[data-theme="dark"] .home-clean .film-grid .film-info .meta,html[data-theme="dark"] main .section .film-grid .film-info .film-top-meta,html[data-theme="dark"] .home-clean .film-grid .film-info .film-top-meta{color:#bec7db!important}
html[data-theme="dark"] main .section .film-grid .film-info .meta{border-color:#414a60!important}
html[data-theme="dark"] .quick-link-card{color:#edf1fd}html[data-theme="dark"] .quick-link-card:hover{background:#2c334b!important}
html[data-theme="dark"] .festival-row{color:#ebefff;border-color:#353e53}html[data-theme="dark"] .festival-row:hover{background:#262d45}html[data-theme="dark"] .festival-name,html[data-theme="dark"] .festival-deadline b{color:#f3f4ff}html[data-theme="dark"] .festival-name small,html[data-theme="dark"] .festival-deadline{color:#b9c4da}
html[data-theme="dark"] .join-content p,html[data-theme="dark"] .section-heading p{color:#b8c3d8}
html[data-theme="dark"] .input,html[data-theme="dark"] .select,html[data-theme="dark"] .textarea{background:#151c2e;color:#f5f6ff;border-color:#444d64}html[data-theme="dark"] .input::placeholder,html[data-theme="dark"] .textarea::placeholder{color:#a0abc2}html[data-theme="dark"] .form-field,html[data-theme="dark"] .form-hint{color:#dbe2ef}
html[data-theme="dark"] .helpbox,html[data-theme="dark"] .placeholder-alert{background:#332c24;color:#f2deb4;border-color:#645034}html[data-theme="dark"] .role-tag{background:#302441;color:#ead4ff}html[data-theme="dark"] .staff-welcome{background:linear-gradient(116deg,#271f38,#202a47);border-color:#483952}html[data-theme="dark"] .staff-welcome p{color:#c3c9d9}
html[data-theme="dark"] .admin-side button{color:#dce3f2}html[data-theme="dark"] .admin-side button:hover,html[data-theme="dark"] .admin-side button.selected{background:#322840;color:#f5dcfa}
html[data-theme="dark"] .data-table th{background:#2a3145;color:#f2f5ff}html[data-theme="dark"] .data-table td{color:#ccd5e7;border-color:#3c455b}html[data-theme="dark"] .data-table b{color:#f0f3ff}
html[data-theme="dark"] .pill{background:#293047;border-color:#46506a;color:#dce2f2}html[data-theme="dark"] .pill.cyan{background:#163950;color:#b0e7ff;border-color:#286482}html[data-theme="dark"] .pill.green{background:#1a4539;color:#bbffdf;border-color:#316954}html[data-theme="dark"] .pill.amber{background:#53412b;color:#f6d69d;border-color:#715a3c}html[data-theme="dark"] .pill.pink{background:#4f2947;color:#ffb7db;border-color:#6e375c}
html[data-theme="dark"] .btn.secondary{background:#242a41;color:#f4f6ff;border-color:#4a5168}html[data-theme="dark"] .btn.ghost{color:#d3ddf0}
html[data-theme="dark"] .footer{background:#141a2a;border-color:#313b50;color:#e9eeff}html[data-theme="dark"] .footer h4,html[data-theme="dark"] .footer-brand-title{color:#f3f5ff}html[data-theme="dark"] .footer a{color:#bbc5da}html[data-theme="dark"] .footer-about p,html[data-theme="dark"] .footer-topline,html[data-theme="dark"] .footer-bottom{color:#a9b6cd;border-color:#333b50}html[data-theme="dark"] .footer-grid{color:#f3f5ff}
html[data-theme="dark"] .modal p,html[data-theme="dark"] .profile-meta,html[data-theme="dark"] .topic-meta{color:#c4cbda}html[data-theme="dark"] .modal b[style],html[data-theme="dark"] .content-card span[style]{color:#fff!important}
