/* «ربعي» and the chat (new/chat/chat.js). Navy and gold like the sign-in screen; the shape Khaled saw on 2026-11-20
   (~/Desktop/التقارير/Claude-2026-11-20-chat-*.png): iPad = friends and the conversation side by side, iPhone = one at a time. */
.gsc-veil { position: fixed; inset: 0; z-index: 4800; display: flex; color: #fff; font-family: inherit;
  padding: max(16px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
  background: radial-gradient(120% 90% at 50% 0%, #13224a 0%, #0b1530 45%, #08101f 100%); gap: 18px; }
.gsc-veil[hidden], .gsc-veil [hidden] { display: none !important; }
.gsc-card { border-radius: 22px; border: 1px solid rgba(255, 255, 255, .14); overflow: hidden;
  background: linear-gradient(125deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, .06) 100%),
    radial-gradient(120% 90% at 50% 0%, #18295a 0%, #0f1c40 55%, #0a1430 100%); }
.gsc-veil button { font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.gsc-veil button:active { transform: scale(.97); }

/* friends */
.gsc-list { width: 36%; min-width: 300px; display: flex; flex-direction: column; }
.gsc-lh { display: flex; align-items: center; gap: 10px; padding: 16px 16px 10px; }
.gsc-lh h1 { margin: 0; flex: 1; font-size: 26px; font-weight: 800; color: #ffc83d; }
.gsc-x { width: 42px; height: 42px; flex: none; border-radius: 13px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .08); font-size: 20px; }
.gsc-gold { height: 42px; padding: 0 14px; border-radius: 13px; border: 0; background: #ffc83d; color: #2a1d00 !important; font-weight: 800; font-size: 15px; }
.gsc-plain { height: 42px; padding: 0 14px; border-radius: 13px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .08); font-weight: 700; font-size: 15px; }
.gsc-scroll { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding-bottom: 12px; }
.gsc-sec { padding: 8px 18px 4px; font-size: 13px; color: #9fb0d4; }
.gsc-empty { padding: 24px 22px; text-align: center; color: #9fb0d4; font-size: 15px; line-height: 1.6; }
.gsc-req { margin: 0 12px 8px; padding: 9px 11px; border-radius: 16px; background: rgba(255, 200, 61, .1); border: 1px solid rgba(255, 200, 61, .35); display: flex; align-items: center; gap: 9px; }
.gsc-req .gsc-who b { font-size: 15px; }
.gsc-mini { height: 34px; padding: 0 12px; border-radius: 11px; font-weight: 800; font-size: 14px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .1); }
.gsc-mini.yes { background: #ffc83d; color: #2a1d00 !important; border-color: #ffc83d; }
.gsc-row { width: 100%; display: flex; align-items: center; gap: 12px; padding: 9px 18px; border: 0; background: none; text-align: right; border-right: 4px solid transparent; }
.gsc-row.on { background: rgba(255, 200, 61, .12); border-right-color: #ffc83d; }
.gsc-av { position: relative; flex: none; }
.gsc-av img { width: 50px; height: 50px; border-radius: 50%; display: block; border: 2px solid rgba(255, 255, 255, .18); background: #1d3270; }
.gsc-av i { position: absolute; bottom: 1px; left: 1px; width: 13px; height: 13px; border-radius: 50%; background: #6b7690; border: 2.5px solid #0f1c40; }
.gsc-av i.on { background: #3ddc84; }
.gsc-who { flex: 1; min-width: 0; }
.gsc-who b { display: block; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-bottom: .2em; margin-bottom: -.2em; }
.gsc-who small { display: block; font-size: 13px; color: #9fb0d4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-bottom: .2em; margin-bottom: -.2em; }
.gsc-badge { min-width: 24px; height: 24px; padding: 0 7px; border-radius: 7px; background: #ffc83d; color: #2a1d00; font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.gsc-unb { height: 32px; padding: 0 11px; border-radius: 10px; font-size: 13px; font-weight: 700; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .08); }

/* the conversation */
.gsc-chat { flex: 1; min-width: 0; display: flex; flex-direction: column; position: relative; }
.gsc-ch { display: flex; align-items: center; gap: 11px; padding: 12px 14px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.gsc-ch .gsc-who small.on { color: #3ddc84; }
.gsc-back { width: 40px; height: 40px; flex: none; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .2); background: none; font-size: 20px; }
.gsc-act { height: 40px; padding: 0 13px; border-radius: 12px; font-weight: 800; font-size: 15px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .07); white-space: nowrap; }
.gsc-act.rep { color: #ffd27a !important; } .gsc-act.blk { color: #ff8a8f !important; }
.gsc-msgs { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 14px 16px; display: flex; flex-direction: column; gap: 9px; }
.gsc-day { align-self: center; font-size: 12px; color: #9fb0d4; background: rgba(255, 255, 255, .06); padding: 4px 12px; border-radius: 10px; }
.gsc-m { max-width: 72%; padding: 9px 13px 7px; border-radius: 18px; font-size: 17px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; border: 0; text-align: right; }
.gsc-m small { display: block; font-size: 11px; opacity: .6; margin-top: 2px; text-align: left; direction: ltr; }
.gsc-m.mine { align-self: flex-start; background: #ffc83d; color: #2a1d00 !important; border-bottom-right-radius: 6px; }
.gsc-m.theirs { align-self: flex-end; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .14); border-bottom-left-radius: 6px; }
.gsc-m.held { outline: 3px solid #ffc83d; outline-offset: 3px; }
.gsc-m.wait { opacity: .55; }
.gsc-star { color: #ffb4b4; font-weight: 800; letter-spacing: 1px; }
.gsc-m.mine .gsc-star { color: #8a3a00; }
.gsc-quick { display: flex; gap: 8px; padding: 0 14px 10px; flex-wrap: wrap; }
.gsc-quick button { font-size: 14px; padding: 6px 12px; border-radius: 12px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); }
.gsc-bar { display: flex; gap: 10px; padding: 10px 14px; border-top: 1px solid rgba(255, 255, 255, .14); align-items: center; }
.gsc-in { flex: 1; min-width: 0; height: 48px; border-radius: 16px; background: #0b1530; border: 1px solid rgba(255, 255, 255, .22); padding: 0 15px; color: #fff; font: inherit; font-size: 16px; }
.gsc-in::placeholder { color: #9fb0d4; }
.gsc-send { width: 48px; height: 48px; flex: none; border-radius: 16px; border: 0; background: #ffc83d; display: grid; place-items: center; }
.gsc-send svg { width: 24px; height: 24px; transform: scaleX(-1); }
.gsc-send:disabled { opacity: .45; }
.gsc-note { margin: 0 14px 10px; padding: 9px 13px; border-radius: 13px; font-size: 14px; line-height: 1.5; background: rgba(229, 72, 77, .14); border: 1px solid rgba(229, 72, 77, .45); color: #ffc9cb; }
.gsc-pick { flex: 1; display: grid; place-items: center; color: #9fb0d4; font-size: 17px; text-align: center; padding: 20px; }

/* windows: add a friend, report, block */
.gsc-win-veil { position: fixed; inset: 0; z-index: 4900; display: grid; place-items: center; background: rgba(8, 16, 31, .72); padding: 16px; }
.gsc-win { width: min(460px, 100%); padding: 24px 24px 18px; text-align: center; }
.gsc-win h2 { margin: 0 0 6px; font-size: 25px; color: #ffc83d; }
.gsc-win p { margin: 0 0 14px; font-size: 15px; color: #c9d3ea; line-height: 1.5; }
.gsc-quote { margin: 0 0 12px; padding: 9px 13px; border-radius: 14px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); font-size: 15px; text-align: right; overflow-wrap: anywhere; }
.gsc-reasons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.gsc-reasons button { padding: 10px 6px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .06); font-size: 15px; font-weight: 700; }
.gsc-reasons button.on { border-color: #ffc83d; background: rgba(255, 200, 61, .14); color: #ffc83d !important; }
.gsc-wb { display: flex; gap: 10px; }
.gsc-wb button { flex: 1; height: 50px; border-radius: 14px; font-size: 17px; font-weight: 800; border: 0; }
.gsc-wb .go { background: #ffc83d; color: #2a1d00 !important; } .gsc-wb .red { background: #e5484d; }
.gsc-wb .no { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); }
.gsc-num { width: 100%; height: 52px; margin-bottom: 12px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .25); background: #0b1530; color: #fff;
  font: inherit; font-size: 22px; text-align: center; letter-spacing: 3px; direction: ltr; }
.gsc-msg { min-height: 1.4em; margin: 0 0 10px !important; font-weight: 700; }
.gsc-msg.bad { color: #ff8a8f !important; } .gsc-msg.good { color: #3ddc84 !important; }

/* the side-menu button */
.gsc-menu-btn { position: relative; height: 40px; border-radius: 10px; font: inherit; font-size: 15px; font-weight: 800; cursor: pointer;
  color: #2a1d00; background: #ffc83d; border: 0; margin: 0 14px 10px; width: calc(100% - 28px); }
.gsc-menu-btn .gsc-badge { position: absolute; top: -7px; left: -7px; background: #e5484d; color: #fff; border: 2px solid #1a2b57; }
.gsc-admin-btn { margin: 0; width: 100%; }   /* first of the bottom row (gsaMenu) */

/* a phone on its side: one pane at a time, everything smaller */
.gsc-veil.phone { padding: 8px max(14px, env(safe-area-inset-right)) 8px max(14px, env(safe-area-inset-left)); }
.gsc-veil.phone .gsc-list { width: 100%; min-width: 0; }
.gsc-veil.phone.in-chat .gsc-list, .gsc-veil.phone:not(.in-chat) .gsc-chat { display: none; }
.gsc-veil.phone .gsc-rows { display: grid; grid-template-columns: 1fr 1fr; }
.gsc-veil.phone .gsc-lh { padding: 9px 12px 6px; } .gsc-veil.phone .gsc-lh h1 { font-size: 20px; }
.gsc-veil.phone .gsc-x, .gsc-veil.phone .gsc-back { width: 34px; height: 34px; font-size: 16px; }
.gsc-veil.phone .gsc-gold, .gsc-veil.phone .gsc-plain { height: 34px; font-size: 13px; padding: 0 11px; border-radius: 10px; }
.gsc-veil.phone .gsc-row { padding: 6px 12px; gap: 9px; } .gsc-veil.phone .gsc-av img { width: 38px; height: 38px; }
.gsc-veil.phone .gsc-who b { font-size: 14px; } .gsc-veil.phone .gsc-who small { font-size: 11px; }
.gsc-veil.phone .gsc-sec { padding: 4px 14px 2px; font-size: 11px; }
.gsc-veil.phone .gsc-req { margin: 0 10px 4px; padding: 5px 9px; } .gsc-veil.phone .gsc-mini { height: 30px; font-size: 12px; }
.gsc-veil.phone .gsc-ch { padding: 6px 10px; gap: 9px; } .gsc-veil.phone .gsc-act { height: 34px; font-size: 13px; padding: 0 10px; }
.gsc-veil.phone .gsc-msgs { padding: 8px 12px; gap: 6px; }
.gsc-veil.phone .gsc-m { font-size: 14px; padding: 6px 11px 5px; border-radius: 14px; } .gsc-veil.phone .gsc-m small { font-size: 9px; }
.gsc-veil.phone .gsc-bar { padding: 6px 10px; } .gsc-veil.phone .gsc-in { height: 38px; font-size: 14px; border-radius: 12px; }
.gsc-veil.phone .gsc-send { width: 38px; height: 38px; border-radius: 12px; }
.gsc-veil.phone .gsc-quick { display: none; } .gsc-veil.phone .gsc-day { font-size: 10px; padding: 2px 9px; }
.gsc-veil.phone .gsc-note { margin: 0 10px 6px; padding: 6px 10px; font-size: 12px; }
@media (max-height: 520px) {
  .gsc-win { padding: 14px 18px 12px; width: min(440px, 100%); } .gsc-win h2 { font-size: 19px; } .gsc-win p { font-size: 12px; margin-bottom: 8px; }
  .gsc-quote { font-size: 12px; padding: 6px 10px; margin-bottom: 8px; } .gsc-reasons { gap: 6px; margin-bottom: 10px; } .gsc-reasons button { padding: 6px; font-size: 12px; }
  .gsc-wb button { height: 38px; font-size: 14px; } .gsc-num { height: 42px; font-size: 18px; margin-bottom: 8px; }
}
.gsc-badge[hidden] { display: none; }   /* no «0» on «ربعي والشات» (display:grid used to beat [hidden]) */
