@font-face{font-family:"AlSiyasi Sans";src:url("./fonts/AlSiyasiSans-Light.otf") format("opentype");font-weight:300;font-style:normal;font-display:swap}
@font-face{font-family:"AlSiyasi Sans";src:url("./fonts/AlSiyasiSans-Regular.otf") format("opentype");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"AlSiyasi Sans";src:url("./fonts/AlSiyasiSans-Medium.otf") format("opentype");font-weight:500 600;font-style:normal;font-display:swap}
@font-face{font-family:"AlSiyasi Sans";src:url("./fonts/AlSiyasiSans-Bold.otf") format("opentype");font-weight:700 800;font-style:normal;font-display:swap}
@font-face{font-family:"AlSiyasi Sans";src:url("./fonts/AlSiyasiSans-Black.otf") format("opentype");font-weight:900;font-style:normal;font-display:swap}

:root{--alsiyasi-font:"AlSiyasi Sans",Arial,sans-serif}
html,body,#root,button,input,select,textarea,option{font-family:var(--alsiyasi-font)!important}
/* Keep the interface appearance, but never override the user's video font. */
#root *:not(.draggable-subtitle):not(.draggable-subtitle *):not(.subtitle-overlay):not(.subtitle-overlay *):not(.opening-title-block):not(.opening-title-block *):not(.video-title-overlay):not(.video-title-overlay *):not(.news-headline-overlay):not(.news-headline-overlay *){font-family:var(--alsiyasi-font)!important}
.draggable-subtitle .caption-text,.draggable-subtitle .caption-line,.draggable-subtitle .caption-word{font-family:inherit!important}

@font-face{font-family:AlSiyasiSans;src:url('./fonts/AlSiyasiSans-Regular.otf') format('opentype');font-weight:400;font-display:swap}
@font-face{font-family:AlSiyasiSansLight;src:url('./fonts/AlSiyasiSans-Light.otf') format('opentype');font-weight:300;font-display:swap}
@font-face{font-family:AlSiyasiSansMedium;src:url('./fonts/AlSiyasiSans-Medium.otf') format('opentype');font-weight:500;font-display:swap}
@font-face{font-family:AlSiyasiSansBold;src:url('./fonts/AlSiyasiSans-Bold.otf') format('opentype');font-weight:700;font-display:swap}
@font-face{font-family:AlSiyasiSansBlack;src:url('./fonts/AlSiyasiSans-Black.otf') format('opentype');font-weight:900;font-display:swap}

.font-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0}
.font-choice{display:grid;gap:6px;min-width:0}
.font-choice>span{font-size:12px}
.font-choice select{width:100%;min-width:0;min-height:44px;border:1px solid #e3d8ce;border-radius:10px;background:#fff;padding:6px;font-size:13px}
.compact-font-choices{display:flex;gap:5px}
.kashida-level-button{position:relative!important;gap:6px!important;color:#fff!important;background:#117f7b!important;border-color:#117f7b!important;box-shadow:0 4px 11px rgba(17,127,123,.2)!important}
.kashida-level-button .kashida-level-icon{position:relative;display:grid;place-items:center;min-width:28px;height:24px;padding:0 5px;border-radius:8px;background:rgba(255,255,255,.17);color:#fff;font:700 16px/1 AlSiyasiSans,Arial!important}
.kashida-level-button .kashida-level-badge{position:absolute;top:-6px;right:-6px;display:grid;place-items:center;min-width:19px;height:14px;padding:0 3px;border:2px solid #117f7b;border-radius:7px;background:#282421;color:#fff;font:700 7px/1 AlSiyasiSans,Arial!important}
.kashida-level-button small{font:700 10px/1 AlSiyasiSans,Arial!important;color:#fff!important}
.pro-app .quick-toolbar .style-tools>.kashida-level-button{background:#117f7b!important;border-color:#117f7b!important;color:#fff!important;opacity:1!important}
.font-composition-button:disabled{cursor:not-allowed;filter:saturate(.5)}
.quick-letterform-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:7px 9px;border:1px solid rgba(241,90,36,.34);border-radius:15px;background:#fff8f4}
.quick-letterform-tools>button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:8px;border-radius:11px;border:0;cursor:pointer}
.quick-letterform-tools>button:disabled{cursor:not-allowed}
.pro-app .quick-toolbar .font-group:has(.font-choices){flex-basis:auto!important;min-width:250px!important}
.pro-app .quick-toolbar .font-choices select{width:auto!important;min-width:80px!important;max-width:180px}
@media(max-width:560px){.font-choices{grid-template-columns:1fr}.compact-font-choices{flex-wrap:wrap}}
