/* v364 · برگهٔ «کیفیت صدا و تصویر» و هشدار اینترنت ضعیف */
#aq111.q364{ position:fixed; inset:0; z-index:10080; background:rgba(8,4,16,.62); display:flex; align-items:flex-end; justify-content:center; animation:q364f .2s ease; -webkit-backdrop-filter:blur(2px); backdrop-filter:blur(2px) }
#aq111.q364.out{ opacity:0; transition:opacity .2s }
@keyframes q364f{ from{ opacity:0 } }
@keyframes q364u{ from{ transform:translateY(40px); opacity:.4 } }
.q364-c{ width:100%; max-width:440px; max-height:90vh; overflow-y:auto; color:#fff; direction:rtl;
  background:radial-gradient(120% 60% at 100% 0,rgba(124,58,237,.28),transparent 60%),radial-gradient(100% 50% at 0 0,rgba(236,72,153,.18),transparent 55%),#140c22;
  border-radius:24px 24px 0 0; padding:16px 16px calc(18px + env(safe-area-inset-bottom)); animation:q364u .28s cubic-bezier(.2,.8,.2,1);
  box-shadow:0 -12px 40px rgba(0,0,0,.45); border-top:1px solid rgba(255,255,255,.08) }
.q364-hd{ display:flex; align-items:center; gap:12px; margin-bottom:12px }
.q364-hi{ width:44px; height:44px; border-radius:14px; display:grid; place-items:center; flex:0 0 44px; background:linear-gradient(135deg,#8b5cf6,#ec4899); box-shadow:0 8px 22px -8px rgba(236,72,153,.7) }
.q364-hi svg{ width:24px; height:24px }
.q364-hd h4{ font-size:16px; font-weight:900; margin:0 }
.q364-hd p{ font-size:11px; color:rgba(255,255,255,.55); font-weight:700; margin:2px 0 0 }
.q364-hd > div{ flex:1; min-width:0 }
.q364-x-btn{ width:34px; height:34px; border-radius:11px; border:0; background:rgba(255,255,255,.08); color:#fff; font-size:14px; cursor:pointer; flex:0 0 34px }

.q364-ic{ width:30px; height:30px; border-radius:10px; display:grid; place-items:center; flex:0 0 30px; color:#fff }
.q364-ic svg{ width:17px; height:17px }
.q364-ic.c-g{ background:linear-gradient(135deg,#34d399,#059669) } .q364-ic.c-r{ background:linear-gradient(135deg,#fb7185,#e11d48) }
.q364-ic.c-a{ background:linear-gradient(135deg,#fbbf24,#ea580c) } .q364-ic.c-n,.q364-ic.c-sl{ background:rgba(255,255,255,.12) }
.q364-ic.c-v{ background:linear-gradient(135deg,#a78bfa,#7c3aed) } .q364-ic.c-b{ background:linear-gradient(135deg,#38bdf8,#2563eb) }
.q364-ic.c-p{ background:linear-gradient(135deg,#f472b6,#db2777) } .q364-ic.c-t{ background:linear-gradient(135deg,#2dd4bf,#0d9488) }

.q364-live{ margin-bottom:12px }
.q364-tiles{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px }
.q364-t{ background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.08); border-radius:16px; padding:10px 9px; min-width:0 }
.q364-t .q364-ic{ width:26px; height:26px; border-radius:9px; margin-bottom:6px } .q364-t .q364-ic svg{ width:15px; height:15px }
.q364-t small{ display:block; font-size:10px; color:rgba(255,255,255,.55); font-weight:800 }
.q364-t b{ display:block; font-size:13px; font-weight:900; margin-top:2px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; direction:ltr; text-align:right }
.q364-t em{ display:block; font-style:normal; font-size:10px; color:rgba(255,255,255,.45); font-weight:700; margin-top:1px; direction:ltr; text-align:right; white-space:nowrap }
.q364-t b.t-g{ color:#6ee7b7 } .q364-t b.t-r{ color:#fda4af } .q364-t b.t-a{ color:#fcd34d } .q364-t b.t-n{ color:rgba(255,255,255,.7) }
.q364-t b.t-g,.q364-t b.t-r,.q364-t b.t-a,.q364-t b.t-n{ direction:rtl }
.q364-why{ display:flex; gap:8px; align-items:flex-start; margin-top:8px; padding:9px 10px; border-radius:13px; background:rgba(251,191,36,.12); border:1px solid rgba(251,191,36,.25); font-size:11.5px; font-weight:700; line-height:1.7; color:#fde68a }
.q364-why .q364-ic{ width:24px; height:24px; flex:0 0 24px } .q364-why .q364-ic svg{ width:14px; height:14px }
.q364-off{ display:flex; gap:9px; align-items:center; padding:11px 12px; border-radius:15px; background:rgba(255,255,255,.05); border:1px dashed rgba(255,255,255,.14); font-size:11.5px; font-weight:700; color:rgba(255,255,255,.65); line-height:1.7 }

.q364-sec{ background:rgba(255,255,255,.035); border:1px solid rgba(255,255,255,.07); border-radius:18px; padding:12px; margin-bottom:10px }
.q364-st{ display:flex; align-items:center; gap:9px; margin-bottom:10px }
.q364-st b{ font-size:13.5px; font-weight:900; flex:1 }
.q364-st small{ font-size:10px; color:rgba(255,255,255,.45); font-weight:800 }
.q364-seg{ display:flex; gap:6px }
.q364-seg button{ flex:1; min-width:0; border:1.5px solid rgba(255,255,255,.12); background:rgba(255,255,255,.04); color:#fff; border-radius:14px; padding:8px 4px; font-family:inherit; cursor:pointer; transition:.15s }
.q364-seg button b{ display:block; font-size:12px; font-weight:900 }
.q364-seg button small{ display:block; font-size:10px; font-weight:800; color:rgba(255,255,255,.5); margin-top:1px }
.q364-seg button.on{ background:linear-gradient(135deg,#7c3aed,#db2777); border-color:rgba(255,255,255,.35); box-shadow:0 6px 18px -8px rgba(219,39,119,.8) }
.q364-seg button.on small{ color:rgba(255,255,255,.85) }
.q364-hint{ font-size:10.5px; color:rgba(255,255,255,.5); font-weight:700; margin:7px 2px 0; min-height:15px }
.q364-row{ display:flex; align-items:center; gap:10px; padding:9px 0; border-top:1px solid rgba(255,255,255,.06) }
.q364-st + .q364-row{ border-top:0; padding-top:0 }
.q364-x{ flex:1; min-width:0 }
.q364-x b{ display:block; font-size:12.5px; font-weight:900 }
.q364-x small{ display:block; font-size:10px; color:rgba(255,255,255,.5); font-weight:700; line-height:1.5 }
.q364-sw{ flex:0 0 44px; width:44px; height:26px; border-radius:99px; background:rgba(255,255,255,.16); border:0; cursor:pointer; position:relative; transition:.2s }
.q364-sw i{ position:absolute; top:3px; inset-inline-start:3px; width:20px; height:20px; border-radius:50%; background:#fff; transition:.2s; box-shadow:0 2px 6px rgba(0,0,0,.3) }
.q364-sw.on{ background:linear-gradient(135deg,#22c55e,#10b981) }
.q364-sw.on i{ inset-inline-start:21px }
.q364-note{ display:flex; gap:8px; align-items:flex-start; font-size:10.5px; color:rgba(255,255,255,.5); font-weight:700; line-height:1.75; margin:4px 2px 0 }
.q364-note .q364-ic{ width:22px; height:22px; flex:0 0 22px } .q364-note .q364-ic svg{ width:13px; height:13px }
.q364-ok{ position:sticky; bottom:0; margin-top:8px; text-align:center; font-size:11.5px; font-weight:900; color:#a7f3d0; opacity:0; transition:opacity .2s; min-height:16px }
.q364-ok.on{ opacity:1 }

#q364Warn{ position:fixed; top:calc(70px + env(safe-area-inset-top)); left:50%; transform:translate(-50%,-14px); z-index:10090; display:flex; align-items:center; gap:8px; max-width:min(92vw,420px);
  padding:8px 14px 8px 10px; border-radius:99px; background:rgba(20,10,30,.92); border:1px solid rgba(251,113,133,.35); color:#fff; font:800 12px/1.5 Vazirmatn,system-ui,sans-serif; direction:rtl;
  opacity:0; pointer-events:none; transition:opacity .25s, transform .25s; box-shadow:0 10px 30px -10px rgba(0,0,0,.6) }
#q364Warn.on{ opacity:1; transform:translate(-50%,0) }
#q364Warn .q364-ic{ width:24px; height:24px; flex:0 0 24px; border-radius:50% } #q364Warn .q364-ic svg{ width:13px; height:13px }
