:root{
  color-scheme:light;
  --theme-bg:#ffffff;--theme-surface:#ffffff;--theme-subtle:#f8f9fa;
  --theme-text:#202124;--theme-muted:#5f6368;--theme-border:#e8eaed;
  --theme-accent:#1a73e8;--theme-accent-hover:#1967d2;--theme-accent-soft:#e8f0fe;
}
html[data-theme="dark"]{
  color-scheme:dark;
  --theme-bg:#111418;--theme-surface:#1b2026;--theme-subtle:#232a32;
  --theme-text:#f1f3f6;--theme-muted:#adb5be;--theme-border:#353e48;
  --theme-accent:#8ab4f8;--theme-accent-hover:#669df6;--theme-accent-soft:#263f5e;
  --ink:var(--theme-text);--muted:var(--theme-muted);--line:var(--theme-border);--soft:var(--theme-subtle);
}
.theme-toggle{height:36px;width:36px;flex-shrink:0;display:inline-grid;place-items:center;border:0;border-radius:50%;background:transparent;color:#5f6368;cursor:pointer;transition:background .18s,color .18s}
.theme-toggle:hover{background:#f1f3f4;color:#1a73e8}
.theme-toggle:focus-visible{outline:2px solid #1a73e8;outline-offset:2px}
.admin-login-theme{position:absolute;left:40px;top:26px;border:1px solid #dadce0;background:#fff}
.app-icon-wasage{background:linear-gradient(140deg,#265aa6,#458ef4)}
.app-icon-booster{background:linear-gradient(140deg,#3156b5,#586ad6)}
.cover-generated.cover-wasage{background:linear-gradient(135deg,#164887,#3676d7)}
.cover-generated>span:last-child{color:#d9e9ff}
.home-intro h1 span,.breadcrumb span,.empty-admin svg{color:#1a73e8}
.empty-icon{background:#e8f0fe;color:#1a73e8}
.outline-button{border-color:#c8dcfa;color:#1967d2}
.moderation-actions .accept{background:#e8f0fe;color:#1967d2}
.admin-login-theme{z-index:2}
.section-kicker,.eyebrow-greeting,.safe-label,.verified-line{color:#1a73e8}
.primary-button:not(.unavailable){background:#1a73e8;border-color:#1a73e8;color:#fff}
.primary-button:hover:not(:disabled){background:#1967d2}
.app-card-grid .app-icon{border-color:var(--theme-border)}
html[data-theme="dark"] body{background:var(--theme-bg);color:var(--theme-text)}
html[data-theme="dark"] .topbar,
html[data-theme="dark"] .mobile-bottom-nav,
html[data-theme="dark"] .footer{background:var(--theme-bg);border-color:var(--theme-border);box-shadow:0 1px 0 var(--theme-border)}
html[data-theme="dark"] .brand,html[data-theme="dark"] .brand-name,
html[data-theme="dark"] .header-links a,
html[data-theme="dark"] .header-icon-button,
html[data-theme="dark"] .header-info-icon,
html[data-theme="dark"] .theme-toggle{background:transparent;color:var(--theme-muted)}
html[data-theme="dark"] .brand-name{color:var(--theme-text)}
html[data-theme="dark"] .header-links a.selected,
html[data-theme="dark"] .mobile-bottom-nav a.selected{color:var(--theme-accent)}
html[data-theme="dark"] .header-links a.selected:after{background:var(--theme-accent)}
html[data-theme="dark"] .theme-toggle:hover,html[data-theme="dark"] .header-icon-button:hover{background:var(--theme-subtle);color:var(--theme-accent)}
html[data-theme="dark"] .play-search-overlay{background:var(--theme-subtle);box-shadow:0 5px 22px #0006;color:var(--theme-muted)}
html[data-theme="dark"] .play-search-overlay input,html[data-theme="dark"] .play-search-overlay button{color:var(--theme-text)}
html[data-theme="dark"] .play-search-overlay button[type=submit]{color:var(--theme-accent)}
html[data-theme="dark"] .device-chip,
html[data-theme="dark"] .category-chip{color:var(--theme-text);background:var(--theme-surface);border-color:var(--theme-border)}
html[data-theme="dark"] .device-chip:hover{background:var(--theme-subtle)}
html[data-theme="dark"] .device-chip.selected,
html[data-theme="dark"] .category-chip.active{background:var(--theme-accent-soft);color:var(--theme-accent);border-color:#385879}
html[data-theme="dark"] .device-separator{background:var(--theme-border)}
html[data-theme="dark"] .play-section-head h1,
html[data-theme="dark"] .play-section-head h2,
html[data-theme="dark"] .listing-intro h1,
html[data-theme="dark"] .section-heading h2{color:var(--theme-text)}
html[data-theme="dark"] .play-section-head p,
html[data-theme="dark"] .listing-intro p,
html[data-theme="dark"] .play-empty-inline,
html[data-theme="dark"] .play-announcement{color:var(--theme-muted)}
html[data-theme="dark"] .play-section-arrow{color:var(--theme-text)}
html[data-theme="dark"] .play-section-arrow:hover{background:var(--theme-subtle)}
html[data-theme="dark"] .app-card-grid h3{color:var(--theme-text)}
html[data-theme="dark"] .app-card-grid p,
html[data-theme="dark"] .app-card-grid .app-card-meta,
html[data-theme="dark"] .stars,
html[data-theme="dark"] .stars svg{color:var(--theme-muted)}
html[data-theme="dark"] .app-card-grid .app-icon{border-color:var(--theme-border);box-shadow:0 2px 8px #0004}
html[data-theme="dark"] .play-category-link,
html[data-theme="dark"] .play-announcement{background:var(--theme-surface);border-color:var(--theme-border);color:var(--theme-text)}
html[data-theme="dark"] .play-category-link:hover{background:var(--theme-subtle)}
html[data-theme="dark"] .play-category-link>span{background:var(--theme-accent-soft);color:var(--theme-accent)}
html[data-theme="dark"] .play-category-link>svg{color:var(--theme-muted)}
html[data-theme="dark"] .play-announcement svg{color:var(--theme-accent)}
html[data-theme="dark"] .empty-state{background:var(--theme-subtle)}
html[data-theme="dark"] .empty-state h3{color:var(--theme-text)}
html[data-theme="dark"] .empty-state p{color:var(--theme-muted)}
html[data-theme="dark"] .empty-state button{background:var(--theme-accent-soft);color:var(--theme-accent)}
html[data-theme="dark"] .footer-brand strong,html[data-theme="dark"] .footer-links{color:var(--theme-text)}
html[data-theme="dark"] .footer-brand span,html[data-theme="dark"] .footer-inner small{color:var(--theme-muted)}
/* Details, app metadata, screenshots and reviews */
html[data-theme="dark"] .breadcrumb,html[data-theme="dark"] .breadcrumb span{color:var(--theme-muted)}
html[data-theme="dark"] .overview-info h1{color:var(--theme-text)}
html[data-theme="dark"] .developer-name{color:var(--theme-accent)}
html[data-theme="dark"] .overview-desc,html[data-theme="dark"] .download-help{color:var(--theme-muted)}
html[data-theme="dark"] .download-help svg{color:var(--theme-accent)}
html[data-theme="dark"] .metrics-row b{color:var(--theme-text)}
html[data-theme="dark"] .metrics-row small{color:var(--theme-muted)}
html[data-theme="dark"] .metrics-row>div{border-color:var(--theme-border)}
html[data-theme="dark"] .primary-button.download-button{background:#347fe5;color:#fff}
html[data-theme="dark"] .primary-button.download-button:hover:not(:disabled){background:#236dcc}
html[data-theme="dark"] .primary-button.download-button.unavailable{background:#363d46;color:#a7b0ba}
html[data-theme="dark"] .details-app-icon .app-icon-large,html[data-theme="dark"] .screenshots-list a{border-color:var(--theme-border)}
html[data-theme="dark"] .no-screenshots{background:var(--theme-subtle)}
html[data-theme="dark"] .no-screenshots>div{background:var(--theme-accent-soft);color:var(--theme-accent)}
html[data-theme="dark"] .no-screenshots strong{color:var(--theme-text)}
html[data-theme="dark"] .no-screenshots span{color:var(--theme-muted)}
html[data-theme="dark"] .full-description{color:#d5dae0}
html[data-theme="dark"] .app-tags span{background:var(--theme-subtle);color:var(--theme-muted)}
html[data-theme="dark"] .side-panel,html[data-theme="dark"] .review-form{background:var(--theme-surface);border-color:var(--theme-border)}
html[data-theme="dark"] .side-panel h3{color:var(--theme-text)}
html[data-theme="dark"] .info-row{border-color:var(--theme-border);color:var(--theme-muted)}
html[data-theme="dark"] .info-row span{color:var(--theme-muted)}
html[data-theme="dark"] .info-row b{color:var(--theme-text)}
html[data-theme="dark"] .reviews-summary{background:var(--theme-subtle);color:var(--theme-text)}
html[data-theme="dark"] .score-number{color:var(--theme-text);border-color:var(--theme-border)}
html[data-theme="dark"] .score-number small,html[data-theme="dark"] .score-note p{color:var(--theme-muted)}
html[data-theme="dark"] .score-note b{color:var(--theme-text)}
html[data-theme="dark"] .review-item{border-color:var(--theme-border)}
html[data-theme="dark"] .review-person strong{color:var(--theme-text)}
html[data-theme="dark"] .review-person span,html[data-theme="dark"] .review-item p,html[data-theme="dark"] .no-reviews{color:var(--theme-muted)}
html[data-theme="dark"] .review-avatar,html[data-theme="dark"] .moderation-avatar{background:var(--theme-accent-soft);color:var(--theme-accent)}
html[data-theme="dark"] .form-head h3{color:var(--theme-text)}
html[data-theme="dark"] .form-head span,html[data-theme="dark"] .review-note,html[data-theme="dark"] .field-label{color:var(--theme-muted)}
html[data-theme="dark"] .review-form input,html[data-theme="dark"] .review-form textarea{background:var(--theme-subtle);color:var(--theme-text);border-color:var(--theme-border)}
html[data-theme="dark"] input::placeholder,html[data-theme="dark"] textarea::placeholder{color:#8d98a5}
html[data-theme="dark"] .form-message.success{background:var(--theme-accent-soft);color:var(--theme-accent)}
/* Administration: dashboard, editor, login, uploads and moderation */
html[data-theme="dark"] .admin-shell,html[data-theme="dark"] .admin-body{background:var(--theme-bg);color:var(--theme-text)}
html[data-theme="dark"] .admin-sidebar,html[data-theme="dark"] .admin-topbar,
html[data-theme="dark"] .admin-panel,html[data-theme="dark"] .stat-card,
html[data-theme="dark"] .category-admin-card{background:var(--theme-surface);color:var(--theme-text);border-color:var(--theme-border)}
html[data-theme="dark"] .admin-brand b,html[data-theme="dark"] .admin-topbar b,
html[data-theme="dark"] .admin-heading h1,html[data-theme="dark"] .admin-panel h2,
html[data-theme="dark"] .stat-card strong{color:var(--theme-text)}
html[data-theme="dark"] .admin-brand small,html[data-theme="dark"] .admin-side-label,
html[data-theme="dark"] .admin-topbar span,html[data-theme="dark"] .admin-heading p,
html[data-theme="dark"] .stat-card small,html[data-theme="dark"] .stat-caption,
html[data-theme="dark"] .admin-panel-head p{color:var(--theme-muted)}
html[data-theme="dark"] .admin-sidebar nav button,
html[data-theme="dark"] .admin-sidebar-bottom a,html[data-theme="dark"] .admin-sidebar-bottom button{color:var(--theme-muted)}
html[data-theme="dark"] .admin-sidebar nav button.active{background:var(--theme-accent-soft);color:var(--theme-accent)}
html[data-theme="dark"] .admin-sidebar nav button:hover{background:var(--theme-subtle)}
html[data-theme="dark"] .admin-sidebar-bottom,html[data-theme="dark"] .admin-topbar{border-color:var(--theme-border)}
html[data-theme="dark"] .admin-preview{background:var(--theme-surface);color:var(--theme-accent);border-color:var(--theme-border)}
html[data-theme="dark"] .admin-admin-avatar,html[data-theme="dark"] .admin-brand-mark,
html[data-theme="dark"] .stat-icon.green,html[data-theme="dark"] .quick-icon.green,
html[data-theme="dark"] .stat-icon.blue,html[data-theme="dark"] .quick-icon.blue,
html[data-theme="dark"] .category-admin-icon{background:var(--theme-accent-soft);color:var(--theme-accent)}
html[data-theme="dark"] .admin-app-row,html[data-theme="dark"] .moderation-row{border-color:var(--theme-border)}
html[data-theme="dark"] .admin-app-row strong,html[data-theme="dark"] .table-app b,
html[data-theme="dark"] .category-admin-card b,html[data-theme="dark"] .moderation-heading strong{color:var(--theme-text)}
html[data-theme="dark"] .admin-app-row small,html[data-theme="dark"] .table-app small,
html[data-theme="dark"] .category-admin-card small,html[data-theme="dark"] .moderation-heading>span:nth-child(2),
html[data-theme="dark"] .moderation-body p{color:var(--theme-muted)}
html[data-theme="dark"] .admin-quick>button,html[data-theme="dark"] .admin-search,
html[data-theme="dark"] .admin-search input{background:var(--theme-surface);color:var(--theme-text);border-color:var(--theme-border)}
html[data-theme="dark"] .admin-quick b{color:var(--theme-text)}
html[data-theme="dark"] .admin-quick small{color:var(--theme-muted)}
html[data-theme="dark"] .admin-table th{background:var(--theme-subtle);color:var(--theme-muted);border-color:var(--theme-border)}
html[data-theme="dark"] .admin-table td{color:var(--theme-muted);border-color:var(--theme-border)}
html[data-theme="dark"] .table-actions button,html[data-theme="dark"] .table-actions a,
html[data-theme="dark"] .mini-action,html[data-theme="dark"] .category-admin-card button{background:var(--theme-subtle);color:var(--theme-muted)}
html[data-theme="dark"] .status-pill.published,html[data-theme="dark"] .status-pill.approved{background:var(--theme-accent-soft);color:var(--theme-accent)}
html[data-theme="dark"] .admin-notice,html[data-theme="dark"] .admin-tip{background:var(--theme-accent-soft);color:var(--theme-accent);border-color:#385879}
html[data-theme="dark"] .admin-tip p{color:var(--theme-muted)}
html[data-theme="dark"] .admin-error-banner{background:#482b2e;color:#ffb0a9;border-color:#70414a}
html[data-theme="dark"] .editor-drawer,html[data-theme="dark"] .editor-top{background:var(--theme-surface);color:var(--theme-text);border-color:var(--theme-border)}
html[data-theme="dark"] .editor-top h2,html[data-theme="dark"] .editor-section-title h3{color:var(--theme-text)}
html[data-theme="dark"] .editor-close{background:var(--theme-subtle);color:var(--theme-muted)}
html[data-theme="dark"] .field-grid label,html[data-theme="dark"] .settings-fields label,
html[data-theme="dark"] .full-field,html[data-theme="dark"] .publish-options>label{color:var(--theme-muted)}
html[data-theme="dark"] .field-grid input,html[data-theme="dark"] .field-grid select,
html[data-theme="dark"] .settings-fields input,html[data-theme="dark"] .settings-fields textarea,
html[data-theme="dark"] .full-field input,html[data-theme="dark"] .full-field textarea,
html[data-theme="dark"] .publish-options select{background:var(--theme-subtle);color:var(--theme-text);border-color:var(--theme-border)}
html[data-theme="dark"] .upload-box,html[data-theme="dark"] .upload-screenshot,
html[data-theme="dark"] .apk-upload,html[data-theme="dark"] .store-logo-editor{background:var(--theme-subtle);border-color:var(--theme-border);color:var(--theme-text)}
html[data-theme="dark"] .upload-box strong,html[data-theme="dark"] .apk-upload b,
html[data-theme="dark"] .store-logo-instructions strong{color:var(--theme-text)}
html[data-theme="dark"] .upload-box small,html[data-theme="dark"] .apk-upload small,
html[data-theme="dark"] .store-logo-instructions small,html[data-theme="dark"] .full-field small{color:var(--theme-muted)}
html[data-theme="dark"] .upload-box>div,html[data-theme="dark"] .store-logo-preview{background:var(--theme-surface);color:var(--theme-accent);border-color:var(--theme-border)}
html[data-theme="dark"] .download-mode-options button{background:var(--theme-surface);border-color:var(--theme-border);color:var(--theme-text)}
html[data-theme="dark"] .download-mode-options button.active{background:var(--theme-accent-soft);color:var(--theme-accent);border-color:var(--theme-accent);box-shadow:none}
html[data-theme="dark"] .download-mode-options small{color:var(--theme-muted)}
html[data-theme="dark"] .seo-audit{background:var(--theme-accent-soft);border-color:#385879}
html[data-theme="dark"] .seo-audit-heading,html[data-theme="dark"] .seo-audit-checks span.ok{color:var(--theme-accent)}
html[data-theme="dark"] .seo-audit-checks span,html[data-theme="dark"] .seo-audit>p{color:var(--theme-muted)}
html[data-theme="dark"] .editor-actions{border-color:var(--theme-border)}
html[data-theme="dark"] .editor-actions>button:first-child,
html[data-theme="dark"] .store-logo-actions button{background:var(--theme-subtle);border-color:var(--theme-border);color:var(--theme-text)}
html[data-theme="dark"] .settings-panel .store-logo-upload{background:var(--theme-accent-soft);color:var(--theme-accent)}
html[data-theme="dark"] .admin-login-screen{background:radial-gradient(ellipse at 28% 5%,#23324a,var(--theme-bg) 55%);color:var(--theme-text)}
html[data-theme="dark"] .admin-login-box{background:var(--theme-surface);border-color:var(--theme-border)}
html[data-theme="dark"] .admin-login-box h1{color:var(--theme-text)}
html[data-theme="dark"] .admin-login-box p,html[data-theme="dark"] .admin-login-box label,
html[data-theme="dark"] .login-foot{color:var(--theme-muted)}
html[data-theme="dark"] .admin-login-box input{background:var(--theme-subtle);color:var(--theme-text);border-color:var(--theme-border)}
html[data-theme="dark"] .admin-login-theme{background:var(--theme-surface);border-color:var(--theme-border)}
html[data-theme="dark"] .admin-back{color:var(--theme-accent)}
html[data-theme="dark"] .moderation-actions .accept{background:var(--theme-accent-soft);color:var(--theme-accent)}
@media(max-width:720px){
  .admin-login-theme{left:16px;top:19px}
  html[data-theme="dark"] .mobile-bottom-nav{box-shadow:0 -2px 14px #0006}
}
