/* ========================================================================
TOOL LANDING PAGE - CROSS-CULTURAL DESIGN SYSTEM
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;
--warm: #D97706;         /* Approachable amber */
--success: #10B981;
--error: #EF4444;
--border: #E2E8F0;
--shadow-sm: 0 1px 3px rgba(15,23,42,0.08);
--shadow-md: 0 4px 12px rgba(15,23,42,0.12);
--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;
--max-width: 1200px;
--header-height: 64px;
/* Typography */
--font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
--font-mono: "JetBrains Mono", "Fira Code", "Cascadia Code", "Consolas", monospace;
--text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
--text-sm: clamp(0.8125rem, 0.75rem + 0.3vw, 0.9375rem);
--text-base: clamp(0.875rem, 0.8rem + 0.3vw, 1rem);
--text-lg: clamp(1rem, 0.9rem + 0.4vw, 1.125rem);
--text-xl: clamp(1.25rem, 1rem + 1vw, 1.5rem);
--text-2xl: clamp(1.5rem, 1.2rem + 1.2vw, 1.875rem);
--text-3xl: clamp(1.875rem, 1.5rem + 1.5vw, 2.25rem);
/* Motion */
--ease: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
--ease-slow: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
@media (prefers-color-scheme: dark) {
:root {
--bg-page: #0B1120;
--bg-card: #111827;
--bg-surface: #1E293B;
--text-primary: #F1F5F9;
--text-secondary: #CBD5E1;
--text-muted: #64748B;
--border: #334155;
--shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
--shadow-md: 0 4px 12px rgba(0,0,0,0.4);
}
}
/* 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;
--border: #334155;
--shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
--shadow-md: 0 4px 12px rgba(0,0,0,0.4);
}

/* 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; }

/* 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;
}
.site-header .container {
display: flex;
align-items: center;
justify-content: space-between;
height: 100%;
}
/* Header brand */
.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);
}
.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 { flex: 1; padding-block: var(--space-xl); }
footer {
border-top: 1px solid var(--border);
padding-block: var(--space-xl);
color: var(--text-muted);
font-size: var(--text-sm);
}

/* 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;
}
.lang-btn:hover {
color: var(--text-primary);
}
.lang-btn[aria-current="true"] {
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;
}

/* Buttons */
.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);
}
.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--sm {
padding: var(--space-xs) var(--space-sm);
font-size: var(--text-xs);
}
.btn--success {
background: var(--success);
}
.btn--success:hover {
background: #059669;
}
.btn--danger {
background: transparent;
border-color: var(--error);
color: var(--error);
}
.btn--danger:hover {
background: var(--error);
color: #fff;
}
.btn:disabled {
opacity: 0.5;
cursor: not-allowed;
}

/* ========================================================================
   CONVERTER-SPECIFIC STYLES
   ======================================================================== */

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

/* Mode Toggle */
.mode-toggle {
display: flex;
align-items: center;
background: var(--bg-surface);
border-radius: 999px;
padding: 4px;
border: 1px solid var(--border);
margin-bottom: var(--space-lg);
width: fit-content;
margin-left: auto;
margin-right: auto;
}
.mode-toggle__option {
padding: 0.5rem 1.25rem;
border-radius: 999px;
font-size: var(--text-sm);
font-weight: 600;
cursor: pointer;
transition: all 0.2s ease;
background: transparent;
border: none;
color: var(--text-secondary);
white-space: nowrap;
}
.mode-toggle__option:hover {
color: var(--text-primary);
background: var(--bg-card);
}
.mode-toggle__option.active {
background: var(--accent);
color: white;
box-shadow: var(--shadow-sm);
}
.mode-toggle__arrow {
display: flex;
align-items: center;
justify-content: center;
color: var(--warm);
font-size: 1.2rem;
padding: 0 0.5rem;
animation: pulse-arrow 2s infinite;
}
@keyframes pulse-arrow {
0%, 100% { opacity: 1; }
50% { opacity: 0.4; }
}

/* Toolbar */
.toolbar {
display: flex;
align-items: center;
justify-content: space-between;
padding: var(--space-sm) 0;
gap: var(--space-md);
flex-wrap: wrap;
}
.toolbar__left,
.toolbar__right {
display: flex;
align-items: center;
gap: var(--space-sm);
}

/* Editor Container */
.editor-container {
display: grid;
grid-template-columns: 1fr 1fr;
gap: var(--space-lg);
min-height: 55vh;
}
@media (max-width: 900px) {
.editor-container {
grid-template-columns: 1fr;
}
}

/* Editor Panel */
.editor-panel {
display: flex;
flex-direction: column;
background: var(--bg-card);
border-radius: var(--radius);
border: 1px solid var(--border);
overflow: hidden;
box-shadow: var(--shadow-sm);
transition: var(--ease);
}
.editor-panel:focus-within {
border-color: var(--accent);
box-shadow: var(--focus-ring);
}
.editor-panel__header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0.5rem 1rem;
background: var(--bg-surface);
border-bottom: 1px solid var(--border);
min-height: 40px;
}
.editor-panel__title {
font-size: var(--text-xs);
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.8px;
color: var(--text-secondary);
display: flex;
align-items: center;
gap: var(--space-xs);
}
.editor-panel__actions {
display: flex;
align-items: center;
gap: 0.25rem;
}
.editor-panel__body {
flex: 1;
display: flex;
position: relative;
}

/* Textarea */
.editor-textarea {
width: 100%;
height: 100%;
min-height: 400px;
padding: var(--space-md);
background: var(--bg-page);
color: var(--text-primary);
border: none;
outline: none;
resize: vertical;
font-family: var(--font-mono);
font-size: 0.85rem;
line-height: 1.7;
tab-size: 4;
transition: var(--ease);
}
.editor-textarea::placeholder {
color: var(--text-muted);
}
.editor-textarea:focus {
background: var(--bg-card);
}

/* Preview Area */
.preview-area {
width: 100%;
height: 100%;
min-height: 400px;
padding: var(--space-md);
overflow-y: auto;
background: var(--bg-page);
font-size: var(--text-base);
line-height: 1.7;
}
.preview-area h1, .preview-area h2, .preview-area h3,
.preview-area h4, .preview-area h5, .preview-area h6 {
margin: 1rem 0 0.5rem;
color: var(--accent);
font-weight: 700;
}
.preview-area h1 { font-size: 1.8rem; border-bottom: 2px solid var(--border); padding-bottom: 0.3rem; }
.preview-area h2 { font-size: 1.5rem; border-bottom: 1px solid var(--border); padding-bottom: 0.2rem; }
.preview-area h3 { font-size: 1.25rem; }
.preview-area h4 { font-size: 1.1rem; }
.preview-area p { margin: 0.5rem 0; }
.preview-area a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.preview-area code {
background: var(--bg-surface);
padding: 0.15rem 0.45rem;
border-radius: 4px;
font-family: var(--font-mono);
font-size: 0.85em;
color: var(--warm);
}
.preview-area pre {
background: var(--bg-surface);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
padding: 1rem;
overflow-x: auto;
margin: 0.75rem 0;
}
.preview-area pre code {
background: none;
padding: 0;
color: var(--text-primary);
font-size: 0.82rem;
}
.preview-area blockquote {
border-left: 4px solid var(--accent);
padding: 0.5rem 1rem;
margin: 0.75rem 0;
background: rgba(37, 99, 235, 0.06);
border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
color: var(--text-secondary);
}
.preview-area ul, .preview-area ol {
padding-left: 1.5rem;
margin: 0.5rem 0;
list-style: revert;
}
.preview-area li { margin: 0.2rem 0; }
.preview-area table {
width: 100%;
border-collapse: collapse;
margin: 0.75rem 0;
font-size: var(--text-sm);
}
.preview-area th, .preview-area td {
border: 1px solid var(--border);
padding: 0.5rem 0.75rem;
text-align: left;
}
.preview-area th {
background: var(--bg-surface);
font-weight: 600;
color: var(--accent);
}
.preview-area tr:nth-child(even) {
background: rgba(148, 163, 184, 0.06);
}
.preview-area hr {
border: none;
border-top: 2px solid var(--border);
margin: 1rem 0;
}
.preview-area img {
max-width: 100%;
border-radius: var(--radius-sm);
}
.preview-area del { opacity: 0.6; }

/* Empty State */
.empty-state {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100%;
color: var(--text-muted);
text-align: center;
padding: var(--space-2xl);
}
.empty-state__icon {
font-size: 3rem;
margin-bottom: var(--space-md);
opacity: 0.5;
}
.empty-state__text {
font-size: var(--text-sm);
line-height: 1.6;
}

/* Stats Bar */
.stats-bar {
display: flex;
align-items: center;
gap: var(--space-lg);
padding: var(--space-sm) 0;
margin-top: var(--space-md);
font-size: var(--text-xs);
color: var(--text-muted);
}
.stat {
display: flex;
align-items: center;
gap: 0.25rem;
}
.stat__value {
color: var(--text-secondary);
font-weight: 600;
}

/* History Section */
.history-section {
margin-top: var(--space-xl);
background: var(--bg-card);
border-radius: var(--radius);
border: 1px solid var(--border);
overflow: hidden;
box-shadow: var(--shadow-sm);
}
.history-section__header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0.65rem 1rem;
background: var(--bg-surface);
border-bottom: 1px solid var(--border);
cursor: pointer;
user-select: none;
}
.history-section__title {
font-size: var(--text-xs);
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.8px;
color: var(--text-secondary);
display: flex;
align-items: center;
gap: var(--space-xs);
}
.history-section__toggle {
transition: transform 0.3s ease;
color: var(--text-muted);
font-size: var(--text-xs);
}
.history-section__toggle.collapsed {
transform: rotate(-90deg);
}
.history-section__body {
max-height: 400px;
overflow-y: auto;
transition: max-height 0.3s ease;
}
.history-section__body.collapsed {
max-height: 0;
overflow: hidden;
}
.history-list {
list-style: none;
}
.history-item {
display: flex;
align-items: flex-start;
gap: var(--space-md);
padding: var(--space-md);
border-bottom: 1px solid var(--border);
transition: var(--ease);
cursor: pointer;
}
.history-item:hover {
background: var(--bg-surface);
}
.history-item:last-child {
border-bottom: none;
}
.history-item__badge {
display: inline-flex;
align-items: center;
gap: 0.2rem;
padding: 0.1rem 0.5rem;
border-radius: 999px;
font-size: var(--text-xs);
font-weight: 600;
white-space: nowrap;
flex-shrink: 0;
margin-top: 2px;
}
.history-item__badge--md2html {
background: rgba(37, 99, 235, 0.1);
color: var(--accent);
border: 1px solid rgba(37, 99, 235, 0.2);
}
.history-item__badge--html2md {
background: rgba(217, 119, 6, 0.1);
color: var(--warm);
border: 1px solid rgba(217, 119, 6, 0.2);
}
.history-item__content {
flex: 1;
min-width: 0;
}
.history-item__preview {
font-size: var(--text-xs);
color: var(--text-secondary);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 100%;
}
.history-item__time {
font-size: 0.65rem;
color: var(--text-muted);
margin-top: 0.2rem;
}
.history-item__delete {
background: none;
border: none;
color: var(--text-muted);
cursor: pointer;
padding: 0.25rem;
border-radius: 4px;
transition: var(--ease);
font-size: 0.8rem;
flex-shrink: 0;
opacity: 0;
}
.history-item:hover .history-item__delete {
opacity: 1;
}
.history-item__delete:hover {
color: var(--error);
background: rgba(239, 68, 68, 0.1);
}
.history-empty {
padding: var(--space-2xl);
text-align: center;
color: var(--text-muted);
font-size: var(--text-sm);
}

/* Toast Notification */
.toast-container {
position: fixed;
bottom: 1.5rem;
right: 1.5rem;
z-index: 9999;
display: flex;
flex-direction: column;
gap: var(--space-sm);
}
.toast {
display: flex;
align-items: center;
gap: var(--space-sm);
padding: var(--space-sm) var(--space-md);
border-radius: var(--radius);
background: var(--bg-card);
border: 1px solid var(--border);
color: var(--text-primary);
font-size: var(--text-sm);
box-shadow: var(--shadow-md);
animation: toast-in 0.3s ease-out;
max-width: 350px;
}
.toast--success { border-color: var(--success); }
.toast--error { border-color: var(--error); }
.toast--info { border-color: var(--accent); }
@keyframes toast-in {
from { transform: translateX(100%); opacity: 0; }
to { transform: translateX(0); opacity: 1; }
}
@keyframes toast-out {
from { transform: translateX(0); opacity: 1; }
to { transform: translateX(100%); opacity: 0; }
}

/* Spinner */
.spinner {
width: 16px;
height: 16px;
border: 2px solid var(--border);
border-top-color: var(--accent);
border-radius: 50%;
animation: spin 0.6s linear infinite;
display: none;
}
.spinner.active {
display: inline-block;
}
@keyframes spin {
to { transform: rotate(360deg); }
}

/* Fade In */
.fade-in {
animation: fadeIn 0.3s ease-out;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(8px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
0%, 100% { transform: scale(1); }
50% { transform: scale(1.15); }
}

/* ========================================================================
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-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);
}

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

/* ========================================================================
STICKY DONATION BUTTON
======================================================================== */
.sticky-donate-wrapper {
position: fixed;
bottom: 24px;
right: 24px;
z-index: 90;
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);
}
.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; }

/* ========================================================================
MODAL
======================================================================== */
.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;
}
.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;
}
.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;
}
.modal-content .modal-title {
margin-top: 0;
margin-bottom: var(--space-lg);
font-size: var(--text-2xl);
color: var(--text-primary);
}
.modal-loading {
text-align: center;
padding: var(--space-2xl);
color: var(--text-muted);
}

/* 7. RESPONSIVE ========================================================= */
@media (max-width: 900px) {
.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;
}
.editor-container { grid-template-columns: 1fr; }
.editor-textarea, .preview-area {
min-height: 300px;
padding: var(--space-sm);
font-size: 0.8rem;
}
.lang-btn span { display: none; }
.lang-btn { padding: 6px 8px; font-size: 1.2rem; }
.btn span.btn-label { display: none; }
.mode-toggle { width: 100%; }
.mode-toggle__option { flex: 1; text-align: center; padding: 0.45rem 0.5rem; font-size: var(--text-xs); }
.sticky-donate-wrapper { bottom: 16px; right: 16px; }
.sticky-donate-btn { padding: 8px 14px; font-size: var(--text-xs); }
.footer-links a:hover { transform: none; }
.stats-bar { flex-wrap: wrap; gap: var(--space-sm); }
.toolbar { gap: var(--space-xs); }
}
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
animation-duration: 0.01ms !important;
transition-duration: 0.01ms !important;
}
}
@media print {
.site-header, .stats-bar, .btn, .theme-toggle, .lang-switch, footer, .sticky-donate-wrapper, .history-section, .toolbar, .mode-toggle { display: none; }
body { background: #fff; color: #000; }
}
