/* جولة 22: الدخول بقوقل + أمان الحساب */
.g-wrap { margin:0 0 12px }
.g-btn { display:flex; justify-content:center; min-height:44px }
.g-or { display:flex; align-items:center; gap:10px; margin:12px 0 4px; font-size:.78rem; opacity:.6 }
.g-or::before, .g-or::after { content:''; flex:1; height:1px; background:currentColor; opacity:.3 }

.acc-modal { position:fixed; inset:0; z-index:9000; display:flex; align-items:center; justify-content:center; background:rgba(0,0,0,.72); padding:16px }
.acc-modal .dlg { width:min(520px,100%); max-height:calc(100dvh - 32px); display:flex; flex-direction:column; gap:8px }
.acc-modal .dlg input { width:100%; box-sizing:border-box }
.acc-dlg { padding:0 !important; overflow:hidden }
.acc-h { display:flex; align-items:center; justify-content:space-between; padding:14px 16px; border-bottom:1px solid rgba(255,255,255,.08) }
.acc-h h3 { margin:0 }
.acc-body { overflow:auto; padding:6px 16px 16px; display:flex; flex-direction:column; gap:6px }
.acc-sec { padding:12px 0; border-bottom:1px solid rgba(255,255,255,.06); display:flex; flex-direction:column; gap:8px }
.acc-sec:last-child { border-bottom:0 }
.acc-sec h4 { margin:0; font-size:.95rem }
.acc-sec p { margin:0 }
.acc-row { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:10px 12px; border-radius:10px; background:rgba(255,255,255,.04) }
.acc-row.ok { background:rgba(80,200,120,.1); border:1px solid rgba(80,200,120,.3) }
.acc-g { display:flex; justify-content:flex-start; min-height:44px }
.acc-devs { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:6px }
.acc-devs li { display:flex; align-items:center; gap:10px; padding:10px 12px; border-radius:10px; background:rgba(255,255,255,.04) }
.acc-devs li.cur { background:rgba(255,255,255,.08); outline:1px solid rgba(255,255,255,.14) }
.acc-devs i { font-style:normal; font-size:1.3rem }
.acc-devs div { flex:1; min-width:0; display:flex; flex-direction:column }
.acc-devs b { font-size:.9rem }
.acc-devs em { font-style:normal; font-size:.7rem; color:#7be3a0; margin-inline-start:6px }
.acc-devs small, .acc-log small { opacity:.6; font-size:.74rem }
.acc-log { margin:0; padding:0 18px; display:flex; flex-direction:column; gap:6px; font-size:.86rem }
.acc-log li { display:flex; flex-direction:column }
.acc-sec .btn.danger { align-self:flex-start }
@media (max-width:520px) { .acc-modal { padding:0; align-items:stretch } .acc-modal .dlg { width:100%; max-height:100dvh; border-radius:0 } }

/* ===== جولة 22.1: أقسام الإعدادات ===== */
.set-tabs { position:sticky; top:0; z-index:3; display:grid; grid-template-columns:repeat(5,1fr); gap:6px; margin:0 0 14px; padding:6px; background:#08090ccc; border:1px solid var(--line); -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px) }
.set-tabs button { display:flex; flex-direction:column; align-items:center; gap:4px; padding:9px 4px; background:transparent; border:1px solid transparent; color:inherit; opacity:.6; cursor:pointer; font:inherit; font-size:.78rem; transition:opacity .15s, background .15s, border-color .15s }
.set-tabs button svg { width:20px; height:20px }
.set-tabs button:hover { opacity:.9 }
.set-tabs button.on { opacity:1; background:rgba(255,255,255,.05); border-color:var(--accent,#c22); box-shadow:inset 0 -2px 0 var(--accent,#c22) }
#scr-settings .set-group[hidden] { display:none }
#scr-settings .set-group { animation:setIn .18s ease }
@keyframes setIn { from { opacity:0; transform:translateY(4px) } to { opacity:1; transform:none } }
@media (max-width:520px) { .set-tabs button span { font-size:.68rem } .set-tabs { gap:3px; padding:4px } }

/* ===== الحساب والأمان (داخل الإعدادات وفي النافذة) ===== */
.acc-inline { display:block; margin-bottom:6px }
.acc-grid { display:grid; grid-template-columns:1fr; gap:10px }
@media (max-width:700px) { .acc-grid { grid-template-columns:1fr } }
.acc-card { background:#0b0c11; border:1px solid var(--line); padding:14px; display:flex; flex-direction:column; gap:10px; min-width:0 }
.acc-card header { display:flex; gap:10px; align-items:flex-start }
.acc-card h4 { margin:0; font-size:.95rem; display:flex; align-items:center; gap:6px }
.acc-card header p { margin:2px 0 0; font-size:.78rem; opacity:.6; line-height:1.6 }
.acc-ic { flex:none; width:36px; height:36px; display:grid; place-items:center; background:rgba(255,255,255,.05); border:1px solid var(--line) }
.acc-ic svg { width:20px; height:20px }
.acc-g-card { grid-column:1 / -1; background:linear-gradient(135deg,#0f1117,#0b0c11) }
.acc-g-card .acc-ic { background:#fff; border-color:#fff; border-radius:50% } .acc-g-card .acc-ic svg { width:22px; height:22px }
.acc-g-card.linked { border-color:rgba(80,200,120,.35) }
.acc-g { display:flex; justify-content:center; min-height:44px; max-width:360px; width:100%; margin:0 auto }
.acc-linked { display:flex; align-items:center; gap:8px; padding:10px 12px; background:rgba(80,200,120,.08); border:1px solid rgba(80,200,120,.25); flex-wrap:wrap }
.acc-linked b { flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; font-size:.88rem }
.acc-ok { width:22px; height:22px; display:grid; place-items:center; border-radius:50%; background:#2f9e5a } .acc-ok svg { width:14px; height:14px }
.acc-n { font-style:normal; font-size:.72rem; padding:1px 8px; border-radius:99px; background:rgba(255,255,255,.08) }
.acc-devs { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:6px }
.acc-devs li { display:flex; align-items:center; gap:10px; padding:8px 10px; background:rgba(255,255,255,.03); border:1px solid transparent }
.acc-devs li.cur { border-color:rgba(255,255,255,.12) }
.acc-devs i { font-style:normal; font-size:1.2rem }
.acc-devs div { flex:1; min-width:0; display:flex; flex-direction:column }
.acc-devs b { font-size:.86rem; display:flex; gap:6px; align-items:center; flex-wrap:wrap }
.acc-devs em { font-style:normal; font-size:.66rem; color:#7be3a0; padding:1px 6px; border:1px solid rgba(123,227,160,.35) }
.acc-devs small, .acc-log small { opacity:.55; font-size:.72rem }
.acc-all { align-self:flex-start; display:inline-flex; gap:6px; align-items:center } .acc-all svg { width:14px; height:14px }
.acc-note { margin:0; font-size:.76rem; opacity:.55 }
.acc-pw summary, .acc-more summary { cursor:pointer; font-size:.85rem; padding:8px 10px; background:rgba(255,255,255,.04); border:1px solid var(--line); list-style:none }
.acc-pw summary::-webkit-details-marker, .acc-more summary::-webkit-details-marker { display:none }
.acc-pw[open] summary { margin-bottom:8px }
.acc-pw input { width:100%; box-sizing:border-box; margin-bottom:6px }
.acc-log { margin:0; padding:0 16px; display:flex; flex-direction:column; gap:6px; font-size:.84rem }
.acc-log li { display:flex; flex-direction:column }
.acc-more { margin-top:4px } .acc-more summary { padding:6px 10px; font-size:.78rem; opacity:.75 }
.acc-skel { display:grid; gap:10px } .acc-skel i { height:84px; background:linear-gradient(90deg,#0b0c11,#14161d,#0b0c11); background-size:200% 100%; animation:accSk 1.2s infinite linear; border:1px solid var(--line) }
@keyframes accSk { to { background-position:-200% 0 } }
.acc-modal .acc-body .acc-grid { grid-template-columns:1fr }
.acc-hint { margin:4px 0 8px; font-size:.78rem; line-height:1.7; padding:8px 10px; background:rgba(255,255,255,.04); border:1px solid var(--line) }
.acc-hint .lnk { padding:0; display:inline }

/* ===== جولة 23: ديسكورد ===== */
.dc-btn { display:flex; align-items:center; justify-content:center; gap:10px; width:100%; max-width:360px; margin:8px auto 0; min-height:44px; padding:0 18px; border:0; border-radius:99px; background:#5865F2; color:#fff; font:inherit; font-weight:700; font-size:.92rem; cursor:pointer; transition:filter .15s, transform .1s }
.dc-btn svg { width:22px; height:22px; fill:currentColor }
.dc-btn:hover { filter:brightness(1.1) } .dc-btn:active { transform:scale(.98) } .dc-btn:disabled { opacity:.6; cursor:wait }
.g-wrap .g-btn[hidden], .g-wrap .dc-btn[hidden] { display:none }
.acc-dc-card { grid-column:1 / -1 }
.acc-dc-card .acc-ic { background:#5865F2; border-color:#5865F2; border-radius:50%; color:#fff } .acc-dc-card .acc-ic svg { fill:currentColor }
.acc-dc-card.linked { border-color:rgba(88,101,242,.5) }
.acc-linked.dc { background:rgba(88,101,242,.1); border-color:rgba(88,101,242,.35) }
.acc-dav { width:28px; height:28px; border-radius:50%; flex:none }
.acc-dc-card .dc-btn { margin:0 auto }
