/* ========================================================================
   MEDIA HUB — Cross-Cultural Design System
   Matches ToolHub EXAMPLE_FOR_ALL.css 100%
   Target: RO / DACH / EN | Psychological: Trust + Clarity + Micro-reward
   ======================================================================== */

/* 1. VARIABLES & THEME =================================================== */
:root {
/* Colors */
--bg-page: #F8FAFC;
--bg-card: #FFFFFF;
--bg-surface: #F1F5F9;
--text-primary: #0F172A;
--text-secondary: #475569;
--text-muted: #94A3B8;
--accent: #2563EB;       /* Trust blue (universal) */
--accent-hover: #1D4ED8;
--accent-light: #DBEAFE;
--warm: #D97706;         /* Approachable amber */
--warm-light: #FEF3C7;
--success: #10B981;
--success-light: #D1FAE5;
--error: #EF4444;
--error-light: #FEE2E2;
--border: #E2E8F0;
--shadow-sm: 0 1px 3px rgba(15,23,42,0.08);
--shadow-md: 0 4px 12px rgba(15,23,42,0.12);
--shadow-lg: 0 12px 40px rgba(15,23,42,0.15);
--focus-ring: 0 0 0 3px rgba(37,99,235,0.25);
/* Spacing */
--space-xs: 0.25rem;
--space-sm: 0.5rem;
--space-md: 1rem;
--space-lg: 1.5rem;
--space-xl: 2rem;
--space-2xl: 3rem;
/* Layout */
--radius: 12px;
--radius-sm: 8px;
--radius-xs: 6px;
--max-width: 1200px;
--header-height: 64px;
/* Typography */
--font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
--text-xs: 0.75rem;
--text-sm: 0.875rem;
--text-base: 0.9375rem;
--text-lg: 1.0625rem;
--text-xl: 1.25rem;
--text-2xl: 1.5rem;
--text-3xl: 1.75rem;
/* Motion */
--ease: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
--ease-slow: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Auto dark mode (follows OS preference) */
@media (prefers-color-scheme: dark) {
:root {
--bg-page: #0B1120;
--bg-card: #111827;
--bg-surface: #1E293B;
--text-primary: #F1F5F9;
--text-secondary: #CBD5E1;
--text-muted: #64748B;
--accent-light: #1E3A5F;
--warm-light: #422006;
--success-light: #064E3B;
--error-light: #450A0A;
--border: #334155;
--shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
--shadow-md: 0 4px 12px rgba(0,0,0,0.4);
--shadow-lg: 0 12px 40px rgba(0,0,0,0.5);
}
}

/* Manual theme override (JS toggles .theme-light / .theme-dark on <html>) */
html.theme-dark {
--bg-page: #0B1120;
--bg-card: #111827;
--bg-surface: #1E293B;
--text-primary: #F1F5F9;
--text-secondary: #CBD5E1;
--text-muted: #64748B;
--accent-light: #1E3A5F;
--warm-light: #422006;
--success-light: #064E3B;
--error-light: #450A0A;
--border: #334155;
--shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
--shadow-md: 0 4px 12px rgba(0,0,0,0.4);
--shadow-lg: 0 12px 40px rgba(0,0,0,0.5);
}

html.theme-light {
--bg-page: #F8FAFC;
--bg-card: #FFFFFF;
--bg-surface: #F1F5F9;
--text-primary: #0F172A;
--text-secondary: #475569;
--text-muted: #94A3B8;
--accent-light: #DBEAFE;
--warm-light: #FEF3C7;
--success-light: #D1FAE5;
--error-light: #FEE2E2;
--border: #E2E8F0;
--shadow-sm: 0 1px 3px rgba(15,23,42,0.08);
--shadow-md: 0 4px 12px rgba(15,23,42,0.12);
--shadow-lg: 0 12px 40px rgba(15,23,42,0.15);
}

/* Shimmer effect for loading states */
.shimmer {
background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
background-size: 200% 100%;
animation: shimmer 1.5s infinite;
}
html.theme-dark .shimmer {
background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.05) 50%, transparent 100%);
background-size: 200% 100%;
}

/* Badge pulse animation */
.badge-pulse {
animation: pulse 2s infinite;
}

/* Sub-site banner — matches ToolHub example */
.subsite-banner {
  background: var(--accent);
  color: #fff;
  text-align: center;
  padding: 10px 16px;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: .3px;
  position: sticky;
  top: var(--header-height);
  z-index: 49;
}
.subsite-banner strong {
  font-weight: 700;
}
.subsite-banner-link {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 700;
}
.subsite-banner-link:hover {
  opacity: 0.9;
}

/* Sub-site legal footer — matches ToolHub example */
.subsite-legal-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 8px 16px;
  z-index: 9998;
  text-align: center;
  font-size: var(--text-sm);
}
.subsite-legal-footer a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
.legal-link-underline {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* 2. BASE & RESET ======================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
scroll-behavior: smooth;
-webkit-text-size-adjust: 100%;
text-rendering: optimizeLegibility;
font-feature-settings: "kern" 1, "liga" 1;
}
body {
font-family: var(--font-sans);
background: var(--bg-page);
color: var(--text-primary);
line-height: 1.5;
-webkit-font-smoothing: antialiased;
min-height: 100vh;
display: flex;
flex-direction: column;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; }

/* 3. LAYOUT & CONTAINERS ================================================ */
.container {
width: 100%;
max-width: var(--max-width);
margin: 0 auto;
padding-inline: var(--space-lg);
}
.site-header {
position: sticky;
top: 0;
z-index: 50;
height: var(--header-height);
background: var(--bg-card);
border-bottom: 1px solid var(--border);
display: flex;
align-items: center;
backdrop-filter: blur(12px);
}
html.theme-dark .site-header {
background: rgba(17,24,39,0.9);
}
.site-header .container {
display: flex;
align-items: center;
justify-content: space-between;
height: 100%;
gap: var(--space-sm);
}

/* Header brand (favicon mark + wordmark) */
.logo {
display: inline-flex;
align-items: center;
gap: var(--space-sm);
color: var(--text-primary);
font-size: var(--text-lg);
line-height: 1.2;
transition: opacity var(--ease);
white-space: nowrap;
}
.logo:hover { opacity: 0.9; }
.logo-img {
width: 32px;
height: 32px;
flex-shrink: 0;
display: block;
border-radius: var(--radius-sm);
}
.logo strong {
font-weight: 700;
letter-spacing: -0.02em;
}

/* Main Nav */
.main-nav {
display: flex;
gap: var(--space-xs);
align-items: center;
}
.nav-btn {
display: inline-flex;
align-items: center;
gap: 6px;
padding: var(--space-sm) var(--space-md);
border-radius: var(--radius-sm);
font-size: var(--text-sm);
font-weight: 500;
color: var(--text-secondary);
background: transparent;
border: none;
transition: all var(--ease);
white-space: nowrap;
}
.nav-btn:hover {
background: var(--bg-surface);
color: var(--text-primary);
}
.nav-btn.active {
background: var(--accent-light);
color: var(--accent);
font-weight: 600;
}
html.theme-dark .nav-btn.active {
background: var(--accent-light);
color: #93C5FD;
}
.nav-btn svg { flex-shrink: 0; }

/* Header controls group */
.header-controls {
display: flex;
align-items: center;
gap: var(--space-sm);
}

/* Mobile Menu Button */
.mobile-menu-btn {
display: none;
width: 40px;
height: 40px;
border-radius: var(--radius-sm);
border: 1px solid var(--border);
background: var(--bg-surface);
place-items: center;
}

main { flex: 1; padding-block: var(--space-xl); }

/* 4. TYPOGRAPHY & UTILITIES ============================================= */
h1, h2, h3, h4 {
text-wrap: balance;
line-height: 1.2;
font-weight: 600;
}
h1 { font-size: var(--text-3xl); margin-bottom: var(--space-md); }
h2 { font-size: var(--text-2xl); margin-bottom: var(--space-lg); }
h3 { font-size: var(--text-xl); }
.text-center { text-align: center; }
.text-muted  { color: var(--text-muted); }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.sr-only {
position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* 5. COMPONENTS ========================================================= */

/* Language Switcher - Pill Design */
.lang-switch {
display: inline-flex;
background: var(--bg-surface);
padding: 4px;
border-radius: 999px;
gap: 4px;
align-items: center;
width: auto;
}
.lang-btn {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 6px 12px;
border-radius: 999px;
font-size: var(--text-sm);
font-weight: 500;
color: var(--text-secondary);
background: transparent;
border: none;
transition: all 0.2s ease;
white-space: nowrap;
cursor: pointer;
}
.lang-btn:hover { color: var(--text-primary); }
.lang-btn.active {
background: var(--bg-card);
color: var(--accent);
font-weight: 600;
box-shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
}

/* Theme Toggle */
.theme-toggle {
width: 36px; height: 36px;
border-radius: 50%;
border: 1px solid var(--border);
background: var(--bg-surface);
display: grid; place-items: center;
font-size: 1.1rem;
transition: all var(--ease);
}
.theme-toggle:hover { border-color: var(--accent); }

/* Hero Section */
.hero {
text-align: center;
padding-block: var(--space-xl);
}
.hero p {
font-size: var(--text-lg);
color: var(--text-secondary);
max-width: 650px;
margin: var(--space-sm) auto var(--space-xl);
}

/* Tools count banner */
.tools-count-banner {
text-align: center;
font-size: var(--text-lg);
font-weight: 600;
color: var(--text-secondary);
margin-bottom: var(--space-xl);
}

/* Filters */
.filters {
display: flex;
flex-wrap: wrap;
gap: var(--space-sm);
justify-content: center;
margin-bottom: var(--space-xl);
}
.filter-btn {
padding: var(--space-xs) var(--space-md);
border: 1px solid var(--border);
background: var(--bg-card);
border-radius: 999px;
font-size: var(--text-sm);
color: var(--text-secondary);
transition: var(--ease);
}
.filter-btn:hover,
.filter-btn.active {
background: var(--accent);
color: #fff;
border-color: var(--accent);
}

/* Tool Grid */
.tool-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: var(--space-lg);
}

/* Tool Card */
.tool-card {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: var(--space-lg);
box-shadow: var(--shadow-sm);
transition: var(--ease-slow);
display: flex;
flex-direction: column;
gap: var(--space-sm);
position: relative;
contain: layout style;
cursor: pointer;
}
/* Touch devices get subtle lift only on active press */
@media (hover: hover) {
.tool-card:hover {
transform: translateY(-2px);
box-shadow: var(--shadow-md);
border-color: var(--accent);
}
}
.tool-card h3 {
margin: 0;
font-size: var(--text-lg);
line-height: 1.3;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.tool-card p {
margin: 0;
color: var(--text-secondary);
font-size: var(--text-sm);
flex: 1;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
}
.tool-card .btn {
margin-top: auto;
}
.tool-icon {
width: 48px;
height: 48px;
border-radius: var(--radius-sm);
margin-bottom: var(--space-sm);
object-fit: contain;
}

/* Badges — BEM naming */
.badge {
display: inline-flex;
align-items: center;
gap: var(--space-xs);
padding: var(--space-xs) var(--space-sm);
border-radius: 999px;
font-size: var(--text-xs);
font-weight: 500;
line-height: 1;
}
.badge--video { background: var(--accent-light); color: var(--accent); }
.badge--audio { background: var(--warm-light); color: var(--warm); }
.badge--cat   { background: var(--success-light); color: #065F46; }
html.theme-dark .badge--cat { background: var(--success-light); color: #6EE7B7; }

/* Buttons — BEM naming */
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: var(--space-xs);
padding: var(--space-sm) var(--space-md);
border-radius: var(--radius-sm);
font-size: var(--text-sm);
font-weight: 500;
border: 1px solid transparent;
background: var(--accent);
color: #fff;
transition: var(--ease);
cursor: pointer;
white-space: nowrap;
}
.btn:hover { background: var(--accent-hover); }
.btn--outline {
background: transparent;
border-color: var(--border);
color: var(--text-primary);
}
.btn--outline:hover { background: var(--bg-surface); }
.btn--danger {
background: var(--error);
color: #fff;
border-color: var(--error);
}
.btn--danger:hover { background: #DC2626; }
.btn-sm {
padding: var(--space-xs) var(--space-sm);
font-size: var(--text-xs);
}
.btn-lg {
width: 100%;
padding: var(--space-md);
font-size: var(--text-base);
}
.btn-primary { /* alias — same as .btn default */ }

/* Forms */
.form-group { margin-bottom: var(--space-md); }
.form-label {
display: block;
font-size: var(--text-sm);
font-weight: 500;
margin-bottom: var(--space-xs);
color: var(--text-secondary);
}
.form-input, .form-textarea, .form-select {
width: 100%;
padding: var(--space-sm) var(--space-md);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
background: var(--bg-card);
color: var(--text-primary);
font-size: var(--text-base);
transition: var(--ease);
outline: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
box-shadow: var(--focus-ring);
border-color: var(--accent);
}
.form-input.is-error, .form-textarea.is-error {
border-color: var(--error);
box-shadow: 0 0 0 3px rgba(239,68,68,0.2);
}
html.theme-dark .form-input,
html.theme-dark .form-textarea,
html.theme-dark .form-select {
background: var(--bg-surface);
color: var(--text-primary);
}
.form-textarea {
resize: vertical;
min-height: 80px;
}
.form-help { font-size: var(--text-xs); color: var(--text-muted); margin-top: var(--space-xs); }
.form-actions {
display: flex;
gap: var(--space-sm);
margin-top: var(--space-md);
}

/* 5b. MEDIA HUB SPECIFIC COMPONENTS ===================================== */

/* Search Box */
.search-box {
display: flex;
align-items: center;
gap: var(--space-sm);
padding: var(--space-xs) var(--space-md);
border: 1px solid var(--border);
border-radius: 999px;
background: var(--bg-card);
flex: 1;
max-width: 320px;
}
.search-box svg { color: var(--text-muted); flex-shrink: 0; }
.search-box input {
border: none;
background: none;
outline: none;
color: var(--text-primary);
font-size: var(--text-sm);
width: 100%;
}
.search-box input::placeholder { color: var(--text-muted); }

/* Sort Select */
.sort-select select {
padding: var(--space-xs) var(--space-md);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
background: var(--bg-card);
color: var(--text-secondary);
font-size: var(--text-sm);
cursor: pointer;
outline: none;
}
.sort-select select:focus { border-color: var(--accent); }

/* View Toggle */
.view-toggle {
display: inline-flex;
background: var(--bg-surface);
padding: 3px;
border-radius: var(--radius-sm);
gap: 2px;
align-items: center;
border: 1px solid var(--border);
}
.view-toggle-btn {
display: grid;
place-items: center;
width: 34px;
height: 34px;
border-radius: var(--radius-xs);
border: none;
background: transparent;
color: var(--text-muted);
transition: all var(--ease);
cursor: pointer;
}
.view-toggle-btn:hover {
color: var(--text-primary);
background: var(--bg-surface);
}
.view-toggle-btn.active {
background: var(--bg-card);
color: var(--accent);
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Filters Bar */
.filters-bar {
display: flex;
align-items: center;
gap: var(--space-md);
margin-bottom: var(--space-xl);
flex-wrap: wrap;
}
.filter-group {
display: flex;
gap: var(--space-xs);
}

/* Media Counter */
.media-counter {
display: flex;
align-items: center;
justify-content: center;
gap: var(--space-md);
margin-top: var(--space-sm);
flex-wrap: wrap;
}
.counter-item {
display: inline-flex;
align-items: center;
gap: var(--space-xs);
padding: 4px 14px;
border-radius: 999px;
font-size: var(--text-sm);
font-weight: 600;
line-height: 1.5;
transition: all var(--ease);
}
.counter-audio {
background: var(--warm-light);
color: var(--warm);
}
.counter-video {
background: var(--accent-light);
color: var(--accent);
}
html.theme-dark .counter-audio {
background: rgba(217, 119, 6, 0.15);
color: #FBBF24;
}
html.theme-dark .counter-video {
background: var(--accent-light);
color: #93C5FD;
}
.counter-total {
background: var(--bg-surface);
color: var(--text-secondary);
border: 1px solid var(--border);
}
.counter-num {
font-weight: 800;
font-size: var(--text-base);
}
.counter-icon {
font-size: 1rem;
line-height: 1;
}

/* Media Grid / Tool Grid override for list view */
.tool-grid.view-list {
display: flex;
flex-direction: column;
gap: var(--space-xs);
}

/* Media Card (tool-card variant) */
.media-card {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: var(--radius);
overflow: hidden;
box-shadow: var(--shadow-sm);
transition: var(--ease-slow);
cursor: pointer;
position: relative;
contain: layout style;
}
@media (hover: hover) {
.media-card:hover {
transform: translateY(-2px);
box-shadow: var(--shadow-md);
border-color: var(--accent);
}
}
.media-card-thumb {
position: relative;
aspect-ratio: 16/9;
background: var(--bg-surface);
display: grid;
place-items: center;
overflow: hidden;
}
.media-card-thumb .thumb-icon {
font-size: 2.5rem;
opacity: 0.6;
}
.media-card-thumb .play-overlay {
position: absolute;
inset: 0;
display: grid;
place-items: center;
background: rgba(0,0,0,0.3);
opacity: 0;
transition: opacity var(--ease);
}
.media-card:hover .play-overlay { opacity: 1; }
.play-overlay-circle {
width: 56px;
height: 56px;
border-radius: 50%;
background: var(--accent);
display: grid;
place-items: center;
box-shadow: 0 4px 12px rgba(37,99,235,0.4);
}
.play-overlay-circle svg { color: #fff; margin-left: 3px; }

.media-card-body {
padding: var(--space-md);
display: flex;
flex-direction: column;
gap: var(--space-xs);
}
.media-card-title {
font-size: var(--text-base);
font-weight: 600;
margin: 0;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.media-card-desc {
color: var(--text-secondary);
font-size: var(--text-sm);
margin: 0;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.media-card-meta {
display: flex;
align-items: center;
gap: var(--space-sm);
color: var(--text-muted);
font-size: var(--text-xs);
}

/* Like Button */
.like-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  color: var(--text-muted);
  font-size: var(--text-xs);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--ease);
  flex-shrink: 0;
  line-height: 1;
  white-space: nowrap;
}
/* In grid cards, push to end of meta row */
.media-card-meta .like-btn {
  margin-left: auto;
}
.like-btn:hover {
  border-color: #EF4444;
  color: #EF4444;
  background: rgba(239, 68, 68, 0.08);
  transform: scale(1.05);
}
.like-btn.is-liked {
  border-color: #EF4444;
  color: #EF4444;
  background: rgba(239, 68, 68, 0.1);
  font-weight: 600;
}
.like-btn.is-liked:hover {
  background: rgba(239, 68, 68, 0.18);
}
.like-btn.is-loading {
  opacity: 0.6;
  pointer-events: none;
}
.like-btn svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.like-btn .like-count {
  font-weight: 600;
  min-width: 0;
}

/* Like pop animation */
.like-btn.like-pop {
  animation: likePop 0.4s ease;
}
@keyframes likePop {
  0% { transform: scale(1); }
  30% { transform: scale(1.25); }
  60% { transform: scale(0.95); }
  100% { transform: scale(1); }
}

/* Like button in player modal */
.like-btn-player {
  margin-top: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  font-size: var(--text-sm);
  border-radius: var(--radius-sm);
  gap: 6px;
}
.like-btn-player svg {
  width: 16px;
  height: 16px;
}
.like-btn-player .like-count {
  font-weight: 700;
  font-size: var(--text-base);
}
.like-btn-player .like-label {
  font-weight: 500;
}

/* Dark mode like button tweaks */
html.theme-dark .like-btn:hover {
  border-color: #F87171;
  color: #F87171;
  background: rgba(239, 68, 68, 0.12);
}
html.theme-dark .like-btn.is-liked {
  border-color: #F87171;
  color: #F87171;
  background: rgba(239, 68, 68, 0.15);
}

/* Empty State */
.empty-state {
text-align: center;
padding: var(--space-2xl);
color: var(--text-muted);
}
.empty-state svg { margin: 0 auto var(--space-md); opacity: 0.4; }
.empty-state p { font-size: var(--text-lg); }

/* List View Cards */
.tool-grid.view-list .media-card {
display: flex;
flex-direction: row;
border-radius: var(--radius-sm);
overflow: hidden;
}
.tool-grid.view-list .media-card-thumb {
width: 120px;
min-width: 120px;
aspect-ratio: auto;
height: 80px;
border-radius: 0;
}
.tool-grid.view-list .media-card-thumb .thumb-icon {
font-size: 1.5rem;
}
.tool-grid.view-list .media-card-thumb .play-overlay {
border-radius: 0;
}
.tool-grid.view-list .media-card-thumb .play-overlay-circle {
width: 36px;
height: 36px;
}
.tool-grid.view-list .media-card-thumb .play-overlay-circle svg {
width: 14px;
height: 14px;
}
.tool-grid.view-list .media-card-body {
flex: 1;
display: flex;
align-items: center;
gap: var(--space-lg);
padding: var(--space-sm) var(--space-md);
min-width: 0;
}
.tool-grid.view-list .media-card-title {
font-size: var(--text-sm);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
min-width: 0;
flex-shrink: 1;
}
.tool-grid.view-list .media-card-desc {
display: none;
}
.tool-grid.view-list .media-card-meta {
flex-shrink: 0;
margin-left: auto;
white-space: nowrap;
gap: var(--space-sm);
}
.tool-grid.view-list .media-card-body .media-card-title-wrap {
flex: 1;
min-width: 0;
}
.tool-grid.view-list .media-card-body .media-card-meta-wrap {
flex-shrink: 0;
display: flex;
align-items: center;
gap: var(--space-md);
}
/* Like button in list view cards */
.tool-grid.view-list .like-btn {
  font-size: 0.7rem;
  padding: 2px 6px;
}
.tool-grid.view-list .like-btn svg {
  width: 12px;
  height: 12px;
}
.tool-grid.view-list .media-card:hover {
transform: none;
border-color: var(--accent);
background: var(--bg-surface);
}

/* Upload Section */
.upload-card {
max-width: 640px;
margin: 0 auto;
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: var(--space-xl);
box-shadow: var(--shadow-sm);
}
.drop-zone {
border: 2px dashed var(--border);
border-radius: var(--radius);
padding: var(--space-2xl) var(--space-lg);
text-align: center;
transition: all var(--ease);
cursor: pointer;
margin-bottom: var(--space-lg);
}
.drop-zone:hover,
.drop-zone.dragover {
border-color: var(--accent);
background: var(--accent-light);
}
.drop-zone-icon { color: var(--text-muted); margin-bottom: var(--space-md); }
.drop-zone-text { font-size: var(--text-base); color: var(--text-secondary); margin-bottom: var(--space-sm); }
.drop-zone-or { font-size: var(--text-sm); color: var(--text-muted); margin-bottom: var(--space-sm); }

/* File Preview */
.file-preview {
margin-bottom: var(--space-lg);
padding: var(--space-md);
background: var(--bg-surface);
border-radius: var(--radius-sm);
}
.file-preview-info {
display: flex;
align-items: center;
gap: var(--space-md);
}
.file-preview-icon { font-size: 1.5rem; }
.file-preview-name { font-weight: 600; font-size: var(--text-sm); }
.file-preview-size { font-size: var(--text-xs); color: var(--text-muted); }
.btn-icon {
margin-left: auto;
width: 32px;
height: 32px;
border-radius: 50%;
border: none;
background: var(--bg-surface);
color: var(--text-secondary);
font-size: 1.2rem;
display: grid;
place-items: center;
transition: all var(--ease);
}
.btn-icon:hover { background: var(--error-light); color: var(--error); }

/* Progress */
.upload-progress {
margin-bottom: var(--space-md);
}
.progress-bar {
width: 100%;
height: 8px;
background: var(--bg-surface);
border-radius: 999px;
overflow: hidden;
}
.progress-fill {
height: 100%;
background: var(--accent);
border-radius: 999px;
transition: width 0.3s ease;
width: 0%;
}
.progress-text {
text-align: center;
font-size: var(--text-sm);
color: var(--text-muted);
margin-top: var(--space-xs);
}

/* Admin */
.admin-card {
max-width: 420px;
margin: 0 auto;
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: var(--space-xl);
box-shadow: var(--shadow-sm);
}
.admin-card h2 {
margin-bottom: var(--space-lg);
}
.admin-card p {
margin-bottom: var(--space-md);
color: var(--text-secondary);
}
.admin-dashboard {
max-width: 100%;
}
.admin-topbar {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: var(--space-xl);
}
.admin-welcome {
font-size: var(--text-lg);
font-weight: 600;
}
.admin-table-wrap {
overflow-x: auto;
border: 1px solid var(--border);
border-radius: var(--radius);
background: var(--bg-card);
}
.admin-table {
width: 100%;
border-collapse: collapse;
font-size: var(--text-sm);
}
.admin-table th {
background: var(--bg-surface);
text-align: left;
padding: var(--space-sm) var(--space-md);
font-weight: 600;
color: var(--text-secondary);
border-bottom: 1px solid var(--border);
white-space: nowrap;
}
.admin-table td {
padding: var(--space-sm) var(--space-md);
border-bottom: 1px solid var(--border);
vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--bg-surface); }
.admin-actions {
display: flex;
gap: var(--space-xs);
}

/* Admin Toolbar */
.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  flex-wrap: wrap;
}
.admin-toolbar-left {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
}

/* Admin Bulk Bar (appears when items are selected) */
.admin-bulk-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  background: var(--accent-light);
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-md);
  opacity: 0;
  visibility: hidden;
  max-height: 0;
  overflow: hidden;
  transition: all 0.25s ease;
}
.admin-bulk-bar.is-visible {
  opacity: 1;
  visibility: visible;
  max-height: 60px;
}
.bulk-count {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--accent);
}

/* Admin table checkbox column */
.admin-table input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: var(--accent);
}

/* Admin download button */
.admin-download-btn svg {
  pointer-events: none;
}

/* Modal — matches example pattern */
.modal-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
display: flex;
align-items: center;
justify-content: center;
z-index: 10000;
opacity: 0;
visibility: hidden;
transition: opacity 0.3s ease, visibility 0.3s ease;
padding: var(--space-lg);
}
.modal-overlay.is-active {
opacity: 1;
visibility: visible;
}
.modal-container {
background: var(--bg-card);
border-radius: var(--radius);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
max-width: 90vw;
max-height: 90vh;
overflow: hidden;
display: flex;
flex-direction: column;
position: relative;
}
/* On mobile, allow scrolling inside the modal when content overflows */
@media (max-width: 640px) {
.modal-container {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
}
.modal-close {
position: absolute;
top: var(--space-md);
right: var(--space-md);
background: none;
border: none;
font-size: 1.5rem;
cursor: pointer;
color: var(--text-muted);
z-index: 1;
width: 32px;
height: 32px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
transition: background 0.2s ease;
}
.modal-close:hover {
background: var(--bg-surface);
color: var(--text-primary);
}
.modal-content {
padding: var(--space-2xl);
overflow-y: auto;
max-height: 80vh;
}

/* Player Modal */
.player-modal {
width: 800px;
max-width: 100%;
}
.player-modal .player-info {
overflow-y: auto;
flex: 1;
min-height: 0;
}
.player-media {
background: #000;
border-radius: var(--radius) var(--radius) 0 0;
overflow: hidden;
}
.player-media video,
.player-media audio {
width: 100%;
display: block;
}
.player-media audio {
padding: var(--space-xl);
}
.player-info {
padding: var(--space-lg);
}
.player-info h2 {
margin-bottom: var(--space-sm);
}
.player-desc {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  margin-bottom: var(--space-md);
  white-space: pre-line;
  line-height: 1.8;
  max-height: 320px;
  overflow-y: auto;
  padding-right: var(--space-sm);
}
.player-desc::-webkit-scrollbar {
  width: 4px;
}
.player-desc::-webkit-scrollbar-track {
  background: transparent;
}
.player-desc::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}
.player-desc::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}
/* Lyrics section headers like [Verse], [Chorus], etc. */
.player-desc .lyrics-section {
  display: inline;
  font-weight: 700;
  color: var(--accent);
  font-size: var(--text-sm);
  letter-spacing: 0.02em;
}
/* Lyrics line groups (stanzas) */
.player-desc .lyrics-stanza {
  display: block;
  margin-bottom: 0.8em;
}
/* Lyrics individual lines */
.player-desc .lyrics-line {
  display: block;
}
/* "Lyrics" label at the top */
.player-desc .lyrics-label {
  display: block;
  font-weight: 700;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.6em;
  padding-bottom: 0.4em;
  border-bottom: 1px solid var(--border);
}
.player-meta {
display: flex;
flex-wrap: wrap;
gap: var(--space-sm);
font-size: var(--text-xs);
color: var(--text-muted);
align-items: center;
}
/* Donation Modal */
.donation-modal {
  width: 90vw;
  max-width: 1000px;      /* Adjust this to make it wider/narrower */
  height: 85vh;           /* Adjust this to make it taller/shorter */
  max-height: 90vh;       /* Keeps it safely inside the viewport */
}
/* Share Buttons */
.player-share {
margin-top: var(--space-md);
padding-top: var(--space-md);
border-top: 1px solid var(--border);
display: flex;
align-items: center;
gap: var(--space-md);
}
.share-label {
font-size: var(--text-sm);
font-weight: 600;
color: var(--text-secondary);
white-space: nowrap;
}
.share-buttons {
display: flex;
gap: var(--space-xs);
flex-wrap: wrap;
}
.share-btn {
display: grid;
place-items: center;
width: 38px;
height: 38px;
border-radius: var(--radius-sm);
border: 1px solid var(--border);
background: var(--bg-surface);
color: var(--text-secondary);
cursor: pointer;
transition: all var(--ease);
}
.share-btn:hover {
border-color: transparent;
color: #fff;
transform: translateY(-1px);
box-shadow: var(--shadow-sm);
}
.share-btn:active { transform: translateY(0); }
.share-facebook:hover { background: #1877F2; }
.share-x:hover        { background: #000; }
.share-whatsapp:hover { background: #25D366; }
.share-telegram:hover { background: #0088CC; }
.share-email:hover    { background: var(--accent); }
.share-copy:hover     { background: var(--warm); }
.share-copy.copied    { background: var(--success); border-color: var(--success); color: #fff; }

/* Custom Audio Player */
.audio-player-custom {
background: linear-gradient(135deg, #1E293B, #0F172A);
border-radius: var(--radius) var(--radius) 0 0;
padding: var(--space-2xl) var(--space-xl);
display: flex;
flex-direction: column;
align-items: center;
gap: var(--space-lg);
}
.audio-visual {
width: 100px;
height: 100px;
border-radius: 50%;
background: linear-gradient(135deg, var(--accent), var(--warm));
display: grid;
place-items: center;
box-shadow: 0 0 30px rgba(37,99,235,0.3);
animation: audioPulse 2s infinite ease-in-out;
}
@keyframes audioPulse {
0%, 100% { transform: scale(1); box-shadow: 0 0 30px rgba(37,99,235,0.3); }
50% { transform: scale(1.05); box-shadow: 0 0 40px rgba(37,99,235,0.5); }
}
.audio-visual.paused { animation: none; }
.audio-visual svg { color: #fff; }
.audio-controls {
display: flex;
align-items: center;
gap: var(--space-md);
width: 100%;
max-width: 400px;
}
.audio-play-btn {
width: 48px;
height: 48px;
border-radius: 50%;
background: var(--accent);
border: none;
display: grid;
place-items: center;
color: #fff;
flex-shrink: 0;
transition: all var(--ease);
}
.audio-play-btn:hover { background: var(--accent-hover); transform: scale(1.05); }
.audio-timeline {
flex: 1;
display: flex;
flex-direction: column;
gap: 4px;
}
.audio-timeline input[type="range"] {
width: 100%;
-webkit-appearance: none;
appearance: none;
height: 4px;
background: rgba(255,255,255,0.2);
border-radius: 2px;
outline: none;
}
.audio-timeline input[type="range"]::-webkit-slider-thumb {
-webkit-appearance: none;
width: 14px;
height: 14px;
border-radius: 50%;
background: var(--accent);
cursor: pointer;
}
.audio-time {
display: flex;
justify-content: space-between;
font-size: var(--text-xs);
color: rgba(255,255,255,0.5);
}
.audio-volume {
display: flex;
align-items: center;
gap: var(--space-xs);
color: rgba(255,255,255,0.7);
}
.audio-volume input[type="range"] {
width: 70px;
-webkit-appearance: none;
appearance: none;
height: 3px;
background: rgba(255,255,255,0.2);
border-radius: 2px;
outline: none;
}
.audio-volume input[type="range"]::-webkit-slider-thumb {
-webkit-appearance: none;
width: 12px;
height: 12px;
border-radius: 50%;
background: #fff;
cursor: pointer;
}

/* Tap-to-unmute overlay for mobile autoplay */
.unmute-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  cursor: pointer;
  z-index: 5;
  gap: 8px;
  transition: opacity 0.3s ease;
}
.unmute-overlay svg {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}
.unmute-overlay span {
  font-size: 0.875rem;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.unmute-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Edit Modal */
.edit-modal {
width: 500px;
max-width: 100%;
padding: var(--space-xl);
}
.edit-modal h2 {
margin-bottom: var(--space-lg);
}

/* Mobile Nav */
.mobile-nav {
position: fixed;
top: 0;
right: -280px;
width: 280px;
height: 100vh;
background: var(--bg-card);
border-left: 1px solid var(--border);
z-index: 100;
padding: var(--space-xl);
display: flex;
flex-direction: column;
gap: var(--space-md);
transition: right 0.3s ease;
}
.mobile-nav.open { right: 0; }
.mobile-nav-close {
align-self: flex-end;
font-size: 1.5rem;
background: none;
border: none;
color: var(--text-muted);
width: 36px;
height: 36px;
display: grid;
place-items: center;
border-radius: 50%;
}
.mobile-nav-close:hover { background: var(--bg-surface); }
.mobile-nav-link {
display: flex;
align-items: center;
gap: var(--space-sm);
padding: var(--space-md);
border-radius: var(--radius-sm);
font-size: var(--text-lg);
font-weight: 500;
color: var(--text-secondary);
background: none;
border: none;
text-align: left;
transition: all var(--ease);
}
.mobile-nav-link:hover,
.mobile-nav-link.active {
background: var(--accent-light);
color: var(--accent);
}
.mobile-overlay {
position: fixed;
inset: 0;
background: rgba(0,0,0,0.4);
z-index: 99;
opacity: 0;
visibility: hidden;
transition: all 0.3s ease;
}
.mobile-overlay.visible { opacity: 1; visibility: visible; }

/* Views */
.view { display: none; }
.view.active { display: block; }

/* Toast */
.toast {
position: fixed;
bottom: 24px;
left: 50%;
transform: translateX(-50%) translateY(20px);
background: var(--bg-card);
color: var(--text-primary);
border: 1px solid var(--border);
padding: var(--space-sm) var(--space-lg);
border-radius: 999px;
font-size: var(--text-sm);
font-weight: 500;
box-shadow: var(--shadow-md);
opacity: 0;
transition: opacity var(--ease), transform var(--ease);
pointer-events: none;
z-index: 300;
white-space: nowrap;
}
.toast.show {
opacity: 1;
transform: translateX(-50%) translateY(0);
}
.toast.success { border-color: var(--success); }
.toast.error   { border-color: var(--error); }

/* ========================================================================
   MODERN FOOTER
   ======================================================================== */
.site-footer {
background: var(--bg-surface);
border-top: 1px solid var(--border);
padding: var(--space-2xl) 0 var(--space-lg);
position: relative;
}
.site-footer::before {
content: "";
position: absolute;
left: 50%;
top: 0;
transform: translateX(-50%);
width: min(1200px, calc(100% - 2rem));
height: 1px;
background: linear-gradient(90deg, transparent, rgba(37,99,235,0.35), transparent);
}
.footer-grid-modern {
display: grid;
grid-template-columns: 1.6fr 1fr 1fr;
gap: var(--space-2xl);
padding-bottom: var(--space-xl);
}
.footer-brand {
display: flex;
flex-direction: column;
gap: var(--space-md);
max-width: 320px;
}
.footer-logo {
font-size: var(--text-2xl);
font-weight: 800;
letter-spacing: -0.03em;
}
.footer-logo span { color: var(--accent); }
.footer-tagline {
font-size: var(--text-sm);
line-height: 1.8;
color: var(--text-secondary);
margin: 0;
}
.footer-column {
display: flex;
flex-direction: column;
gap: var(--space-md);
}
.footer-heading {
font-size: 0.85rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.14em;
color: var(--text-muted);
margin: 0;
}
.footer-links {
list-style: none;
padding: 0;
margin: 0;
display: grid;
gap: 0.75rem;
}
.footer-links a {
color: var(--text-secondary);
font-size: var(--text-sm);
text-decoration: none;
transition: color var(--ease), transform var(--ease);
}
.footer-links a:hover {
color: var(--accent);
transform: translateX(2px);
}
.footer-bottom {
border-top: 1px solid var(--border);
padding-top: var(--space-lg);
}
.footer-bottom-content {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
gap: var(--space-sm);
color: var(--text-muted);
font-size: var(--text-xs);
}

/* ========================================================================
   STICKY DONATE BUTTON (Ethical UX)
   ======================================================================== */
.sticky-donate-wrapper {
position: fixed;
bottom: 54px;
right: 24px;
z-index: 9999;
display: flex;
flex-direction: column;
align-items: flex-end;
gap: 8px;
opacity: 0;
transform: translateY(20px);
transition: opacity var(--ease), transform var(--ease);
pointer-events: none;
}
.sticky-donate-wrapper.is-visible {
opacity: 1;
transform: translateY(0);
pointer-events: auto;
}
.sticky-donate-btn {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 10px 16px;
background: linear-gradient(135deg, #FFDD00 0%, #FFC107 100%);
color: #111;
font-weight: 600;
font-size: var(--text-sm);
border-radius: 999px;
box-shadow: var(--shadow-md);
border: none;
text-decoration: none;
transition: transform var(--ease), box-shadow var(--ease);
cursor: pointer;
}
.sticky-donate-btn:hover {
transform: translateY(-2px) scale(1.02);
box-shadow: 0 8px 16px rgba(255, 205, 0, 0.3);
}
.donate-icon { font-size: 1.2em; }
.sticky-donate-dismiss {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: 50%;
width: 24px;
height: 24px;
display: grid;
place-items: center;
font-size: 12px;
color: var(--text-muted);
cursor: pointer;
transition: var(--ease);
align-self: flex-end;
}

/* 6. STATES & ANIMATIONS ================================================ */
@keyframes pulse {
0%, 100% { transform: scale(1); }
50% { transform: scale(1.15); }
}
@keyframes shimmer {
to { background-position: -200% 0; }
}
.loading .tool-card,
.loading .media-card {
background: linear-gradient(90deg, var(--bg-surface) 25%, #e2e8f0 50%, var(--bg-surface) 75%);
background-size: 200% 100%;
animation: shimmer 1.5s infinite;
border-color: transparent;
}
@media (prefers-color-scheme: dark) {
.loading .tool-card,
.loading .media-card {
background: linear-gradient(90deg, #1e293b 25%, #334155 50%, #1e293b 75%);
background-size: 200% 100%;
}
}
html.theme-dark .loading .tool-card,
html.theme-dark .loading .media-card {
background: linear-gradient(90deg, #1e293b 25%, #334155 50%, #1e293b 75%);
background-size: 200% 100%;
}

/* Focus Accessibility */
:focus-visible {
outline: none;
box-shadow: var(--focus-ring);
border-radius: var(--radius-sm);
}

/* 7. RESPONSIVE ========================================================= */
@media (max-width: 900px) {
.main-nav { display: none; }
.mobile-menu-btn { display: grid; }
.filters-bar { flex-direction: column; align-items: stretch; }
.search-box { max-width: 100%; }
.filter-group { justify-content: center; }
.sort-select { width: 100%; }
.sort-select select { width: 100%; }
.admin-table { font-size: var(--text-xs); }
.tool-grid.view-list .media-card-body {
flex-wrap: wrap;
gap: var(--space-xs);
}
.tool-grid.view-list .media-card-thumb {
width: 80px;
min-width: 80px;
height: 60px;
}
.footer-grid-modern {
grid-template-columns: 1fr;
gap: var(--space-xl);
text-align: center;
}
.footer-brand { align-items: center; }
.footer-column { align-items: center; }
.footer-links { align-items: center; }
.footer-bottom-content {
flex-direction: column;
text-align: center;
}
}

@media (max-width: 640px) {
:root {
--space-xl: 1.5rem;
--space-2xl: 2rem;
}
.tool-grid { grid-template-columns: 1fr; }
.lang-btn span { display: none; }
.lang-btn { padding: 6px 8px; font-size: 1.2rem; }
.player-modal {
  width: 100%;
  max-height: 100dvh;
  border-radius: 0;
}
/* Fallback for browsers without dvh support */
@supports not (max-height: 100dvh) {
  .player-modal {
    max-height: 100vh;
  }
}
/* Remove overlay padding on mobile so player fills the screen */
.modal-overlay.is-active .player-modal {
  max-height: 100dvh;
  height: 100dvh;
}
@supports not (max-height: 100dvh) {
  .modal-overlay.is-active .player-modal {
    max-height: 100vh;
    height: 100vh;
  }
}
.modal-overlay:has(.player-modal) {
  padding: 0;
  align-items: stretch;
  justify-content: stretch;
}
/* Ensure modal content is scrollable on small screens */
.modal-overlay.is-active .player-modal {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.player-modal .modal-close {
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border-radius: 50%;
  z-index: 10;
}
.player-modal .modal-close:hover {
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
}
.player-media {
  border-radius: 0;
}
.audio-player-custom {
  border-radius: 0;
}
.player-media video {
  max-height: 40vh;
}
.audio-player-custom {
  padding: var(--space-lg) var(--space-md);
}
.audio-visual {
  width: 72px;
  height: 72px;
}
.audio-visual svg {
  width: 28px;
  height: 28px;
}
.audio-controls {
  flex-wrap: wrap;
  gap: var(--space-sm);
}
.audio-volume {
  width: 100%;
  justify-content: center;
}
.audio-volume input[type="range"] {
  flex: 1;
  max-width: 120px;
}
.player-info {
  padding: var(--space-md);
}
.player-desc {
  max-height: 120px;
}
.player-share {
  flex-wrap: wrap;
  gap: var(--space-sm);
}
.share-buttons {
  width: 100%;
}
.upload-card { padding: var(--space-md); }
.logo strong { font-size: var(--text-base); }
.tool-grid.view-list .media-card-thumb {
width: 64px;
min-width: 64px;
height: 48px;
}
.tool-grid.view-list .media-card-meta {
font-size: 0.65rem;
gap: 3px;
}
.tool-grid.view-list .badge {
font-size: 0.6rem;
padding: 1px 5px;
}
.sticky-donate-wrapper { bottom: 16px; right: 16px; }
.sticky-donate-btn { padding: 8px 14px; font-size: var(--text-xs); border-radius: 999px; }
.footer-links a:hover { transform: none; }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
animation-duration: 0.01ms !important;
transition-duration: 0.01ms !important;
}
}

/* Print */
@media print {
.site-header, .filters-bar, .btn, .theme-toggle,
.lang-switch, .site-footer, .upload-card, .admin-card,
.sticky-donate-wrapper { display: none; }
body { background: #fff; color: #000; }
.tool-card, .media-card { break-inside: avoid; box-shadow: none; border: 1px solid #000; }
}