@font-face { font-family: "Plex Arabic"; src: url("../assets/fonts/ibm-plex-sans-arabic.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Arabic"; src: url("../assets/fonts/ibm-plex-sans-arabic-semibold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
:root[data-site-theme] { --brand-page: #11130f; --brand-surface: #191c16; --brand-ink: #f1f3e8; --brand-muted: #a4ab99; --brand-line: #34392d; --brand-accent: var(--site-accent, #d5fa74); --brand-on-accent: #11130f; --brand-link: var(--brand-accent); color-scheme: dark; }
:root[data-site-theme="light"] { --brand-page: #f2f2e9; --brand-surface: #fafbf5; --brand-ink: #242a1c; --brand-muted: #5c6451; --brand-line: #d4d8c8; --brand-link: #344625; color-scheme: light; }
:root[data-site-theme="midnight"] { --brand-page: #0c1421; --brand-surface: #141f30; --brand-ink: #eaf0f7; --brand-muted: #a2b2c9; --brand-line: #2c3c53; }
html[data-site-theme] body.classic-page { --bg-main: var(--brand-page); --bg-card: var(--brand-surface); --bg-nav: var(--brand-page); --text-main: var(--brand-ink); --text-muted: var(--brand-muted); --border-color: var(--brand-line); --primary-color: var(--brand-link); font-family: "Plex Arabic", Tahoma, sans-serif; }
html[data-site-theme] .classic-page .primary-btn { background: var(--brand-accent); color: var(--brand-on-accent) !important; }
.classic-page *, .classic-page *::before, .classic-page *::after { box-sizing: border-box; }
.classic-page .profile-image-container { min-width: 0; width: min(42%, 480px); }
.classic-page .profile-image-container img { max-width: 100%; }
.classic-page .text-content { min-width: 0; overflow-wrap: anywhere; }
.classic-page .floating-panel { max-width: calc(100vw - 50px); }
.classic-page .panel-section .primary-btn { width: 100%; }
@media (max-width: 1100px) { .classic-page .profile-image-container { width: min(100%, 480px); } }
html[data-site-motion="0"] .classic-page *, html[data-site-motion="0"] .portfolio-page *, html[data-site-motion="0"] .portfolio-page *::before, html[data-site-motion="0"] .portfolio-page *::after { animation: none !important; transition: none !important; }
html[data-site-motion="0"] { scroll-behavior: auto !important; }
@media (prefers-reduced-motion: reduce) { .classic-page *, .classic-page *::before, .classic-page *::after { animation: none !important; transition: none !important; } }
.appearance-preview-banner { position: relative; z-index: 100; margin: 0; padding: 10px 20px; text-align: center; font: 13px "Plex Arabic", sans-serif; background: var(--brand-accent); color: #11130f; }
.appearance-preview-banner a { text-decoration: underline; margin-inline-start: 12px; }
.classic-page .appearance-preview-banner { position: fixed; inset: auto 0 0; z-index: 1500; width: 100%; }
.classic-page:has(.appearance-preview-banner) { padding-bottom: 80px; }
html[data-site-theme] .reader-page { --accent: var(--site-accent); }
