@charset "utf-8";
@font-face{
	font-family:Samim;
	src:url("../font/samim.woff2") format("woff2");
	font-weight:normal;
	font-display:swap;
}
@font-face{
	font-family:Samim;
	src:url("../font/samim-medium.woff2") format("woff2");
	font-weight:500;
	font-display:swap;
}
@font-face{
	font-family:Samim;
	src:url("../font/samim-bold.woff2") format("woff2");
	font-weight:bold;
	font-display:swap;
}
@view-transition{navigation:auto}
:root{color-scheme:light dark}
*:lang(en){direction:ltr}
*:lang(fa,ar,ur,he){direction:rtl}
[translate][lang]{display:none}
html:lang(fa) [translate][lang="fa"],
html:lang(en) [translate][lang="en"],
html:lang(ar) [translate][lang="ar"]{display:inherit}
html,body{
	margin:0;
	padding:0;
	width:100%;
}
html{
	scrollbar-color:#555 transparent;
	scrollbar-width:thin;
}
body{
	min-height:100vh;
	height:auto;
	overflow:hidden auto;
	scroll-margin:0;
	scroll-padding:0;
	scroll-snap-type:y mandatory;
	scroll-behavior:smooth;
	scroll-snap-align:center;
	background-color:#fff;
	font-smoothing:antialiased;
}
body,
body :is(*,*::before,*::after){
	box-sizing:border-box;
	color:#555;
	font:normal normal normal normal 14px / normal Samim,system-ui;
}
main{
	max-width:98vw;
	margin:10px auto;
}
noscript,
.notsupported{
	position:fixed;
	display:none;
	z-index:100000;
	inset:0;
	width:100vw;
	height:100vh;
	background-color:#3490dc;
	color:#fff;
	text-align:center;
	vertical-align:middle;
	padding-top:5%;
	margin:0;
	direction:ltr;
	font-family:system-ui,Tahoma;
	/*IE:5,6,7 hack*/
	*display:block;
	_display:block;
}
.notsupported a{
	color:#fff !important;
	text-decoration:underline;
}
.notsupported p{
	color:#fff !important;
	text-align:center;
	margin:30px auto;
}
noscript{
	z-index:99999;
	display:block;
}
a{
	color:light-dark(#07a,#0bf);
	text-decoration:none;
	text-decoration-skip-ink:auto;
	transition:color .2s;
	outline:none;
}
a:hover{
	color:#f00;
	text-decoration:none;
}
form{
	height:auto;
	margin:0;
	padding:0;
	border-width:0;
}
::placeholder{
	color:#5559;
}
label:has(input[type="file"]),
input[type="file"]::file-selector-button,
input,textarea,select,button{
	display:inline-block;
	font-family:Samim,system-ui;
	margin:0;
	padding:4px;
	background-color:#fff;
	color:#555;
	border-width:1px;
	border-radius:3px;
}
option{
	display:unset;
	font-family:inherit;
}
label:has(input[type="file"]),
input[type="file"]::file-selector-button,
input[type="submit"],
button,
select{
	border:1px solid light-dark(#7676764d,#c3c3c34d);
	font-size:14px;
	cursor:pointer;
}
option{
	margin:0;
	padding:0;
}
label:has(input[type="file"]),
input[type="file"]::file-selector-button,
input[type="submit"],
button{
	background-color:#eee;
	padding:3px 10px;
	min-width:80px;
	min-height:30px;
	display:inline-flex;
	place-content:center;
	margin-inline-end:5px;
}
:is(input[type="submit"],button,input[type="file"]::file-selector-button,label:has(input[type="file"])):is(:focus,:active,:hover){
	background-color:#27ae60;
	border-color:#27ae60;
	color:#fff;
	text-shadow:none;
}
[inert],
label:has(input[type="file"]:disabled),
:is(input[type="submit"],button,input[type="file"]::file-selector-button):disabled{
	pointer-events:none;
	cursor:default;
	user-select:none;
	opacity:.4;
}
:is(input,button,textarea):focus,
:is(input,button,textarea):active{outline:none}
:is(input,textarea):focus,
input:default{box-shadow:0 0 6px 1px #8883}
:is(input,textarea):read-only{
	background-color:#f7f7f7;
}
:required{
	border-bottom:1px solid #f90;
}
:invalid{
	border-bottom:1px solid #f00;
}
hr{
	border-width:0;
	border-bottom:1px dotted #505050;
}
progress{
	appearance:none;
	margin:0;
	border:none;
	height:5px;
}
progress,
progress[value]::-webkit-progress-bar,
progress[value]::-webkit-progress-value{
	border-radius:2px;
}
progress[value]::-webkit-progress-bar{
	background-color:#f1f1f1;
}
progress[value]::-webkit-progress-value{
	background-color:#08e;
}
details{
	border:1px solid #aaa;
	background-color:#fff;
	border-radius:4px;
	padding:5px 5px 0;
}
summary{
	font-weight:bold;
	margin:-5px -5px 0;
	padding:5px;
}
details[open]{padding:5px}
details[open] summary{
	border-bottom:1px solid #aaa;
	margin-bottom:5px;
}
code,
pre{
	white-space:pre-wrap;
	word-break:break-word;
	tab-size:4;
	font-size:13.3px;
	line-height:18px;
}
code{
	font-family:"Courier New",Courier,monospace;
	outline:none;
	flex-grow:1;
	padding:10px;
	margin:10px auto;
	direction:ltr !important;
	text-align:left !important;
	background-color:light-dark(#f0f3f6,#171717);
	color:light-dark(#24292e,#dcdcdc);
	width:100%;
	display:block;
	border-radius:4px;
}
#_log,
.message{
	display:block;
	width:100%;
	max-width:100%;
	margin:10px 0;
	padding:20px;
	border:0;
	overflow:auto;
	border-radius:4px;
	box-shadow:0 0 0 1px #a9d5de inset,0 0 0 0 transparent;
	background-color:#f8ffff;
	color:#276f86;
}
svg,use,svg:focus,use:focus{outline:none}
.SVGs{display:none}
:is(button,label:has(input[type="file"])) > svg{
	fill:#555;
	display:block;
	width:16px;
	height:16px;
	place-self:center;
	pointer-events:none;
}
:is(button,label:has(input[type="file"])):is(:hover,:active,:focus) > svg{
	fill:#fff;
}
blockquote{
	margin:20px 40px;
	margin:0;
	margin-bottom:10px;
	padding:20px;
	background-color:light-dark(#f9f9f9,#1e1e1e);
	color:light-dark(#333,#ccc);
	border-inline-start:5px solid light-dark(#007bff,#4dabf7);
	font-style:italic;
	font-size:15px;
	position:relative;
	border-radius:3px;
}
blockquote::before{
	content:'”';
	font-size:50px;
	position:absolute;
	inset-inline-start:10px;
	top:-5px;
	color:light-dark(#007bff,#4dabf7);
	opacity:.2;
	font-family:serif;
}
blockquote:dir(ltr)::before,
html:dir(ltr) blockquote::before{
	content:'“';
}
blockquote cite{
	display:block;
	margin-top:1em;
	font-style:normal;
	font-size:13px;
	color:light-dark(#555,#888);
	text-align:end;
}
q{
	quotes:"«" "»";
	font-style:italic;
	color:light-dark(#555,#ccc);
}
q::before{content:open-quote}
q::after {content:close-quote}
img{
	/*contain-intrinsic-size:200px 100px;*/
}
/*IE:8,9,10,11 hack*/
@media all\0{.notsupported{display:table-cell}}
/*Chrome:141 hack*/
@supports not ((caret-animation:manual) or (:target-after)){.notsupported{display:table-cell}}

article,
img,
textarea{
	display:block;
	width:100%;
	max-width:100%;
	margin:10px 0;
}
textarea{
	min-width:100%;
	border:1px solid #ddd;
	border-radius:4px;
	margin:20px 0 10px 0;
	padding:20px;
	anchor-name:--prompt-txt;
	font-family:Samim,system-ui;
}
article{
	white-space:pre-line;
	border:0;
	padding:0;
	margin:20px 0 10px 0;
}
::highlight(highlight){
	color:#f55;
	font-weight:bold;
}
blockquote[id]{
	font-style:normal;
}
blockquote[id] > span{
	color:light-dark(#2896dd,#a9dafa);
}
label > input[type="file"]{
	display:none;
}
label:has(input[type="file"]),
button{
	width:30px;
	min-width:30px;
	aspect-ratio:1;
	border-radius:50%;
	padding:3px;
}
:is(button,cite,label:has(input[type="file"]),) > svg{
	width:25px;
	height:25px;
}
cite > svg{
	fill:#fff;
	display:inline-block;
	place-self:center;
	pointer-events:none;
}
#_langs{
	z-index:100002;
	position:fixed;
	top:30px;
	inset-inline-end:30px;
	margin:0;
	text-overflow:ellipsis;
	white-space:nowrap;
	text-align:center;
	text-align-last:center;
	border:1px solid #fff3;
	scrollbar-color:#0005 transparent;
	scrollbar-width:thin;
	scroll-margin:0;
	scroll-padding:0;
}
#_langs,
#_langs > option{
	border-radius:4px;
	cursor:pointer;
	width:90px;
	height:32px;
	outline-width:0;
	padding:0;
	padding-block-end:0;
	padding-inline-end:0;
	background-color:transparent;
}
main > img,
aside{
	display:inline-flex;
	gap:5px;
	user-select:none;
	place-items:center;
	place-content:center;
	place-self:end start;
	min-width:30px;
	min-height:30px;
	max-width:90vw;
	max-height:30px;
	width:fit-content;
	height:30px;
	border:0;
	border-radius:0;
	background:transparent;
	margin:0;
	padding:0;
	z-index:1;
	position:absolute;
	inset-inline-start:calc(anchor(start) + 7px);
	bottom:calc(anchor(bottom) + 7px);
	position-anchor:--prompt-txt;
}
aside > *{
	margin-inline-end:0 !important;
}
blockquote > img,
main > img{
	max-width:200px;
	height:auto;
	max-height:unset;
	border-radius:4px;
	display:block;
}
main > img{
	inset-inline-start:unset;
	inset-inline-end:calc(anchor(end) + 7px);
}
main > img:not([src]){
	display:none;
}
progress{
	width:100%;
}
progress:is([value="0"],[value="1"],[value="100"]){
	display:none;
}
@media screen and (max-width:640px){}