/* «شارك حضورك» (live-share-package screens Reg-RG1–3, Share-SH1–5): the share panel + the live suggestion card.
   Always dark (the posters are dark); logical properties so Arabic RTL and English LTR both work. */
.as-ovl, .as-sug { --as-g: #31E931; --as-bg: #161616; --as-s1: #1D1D1D; --as-s2: #262626; --as-line: rgba(255,255,255,.10); --as-line2: rgba(255,255,255,.16);
  --as-tx: #F2F2F2; --as-mut: #9C9C9C; font-family: "Graphik Arabic", system-ui, sans-serif; color: var(--as-tx); }
.as-lock, .as-lock body { overflow: hidden; }
.as-ovl { position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 24px; }
.as-i { width: 20px; height: 20px; flex: none; }
.as-dlg { position: relative; width: 1140px; max-width: 100%; max-height: calc(100vh - 48px); overflow: auto; background: var(--as-bg);
  border: 1px solid var(--as-line); border-radius: 28px; padding: 28px 30px 24px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.8); }
.as-x { position: absolute; inset-inline-start: 18px; top: 18px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--as-s2); color: var(--as-tx);
  display: grid; place-items: center; cursor: pointer; }
.as-x:hover { background: #262d27; }
.as-head { text-align: center; margin: 0 56px 22px; }
.as-head h2 { margin: 0; font-size: 28px; font-weight: 600; line-height: 1.3; }
.as-head__d { margin: 6px 0 0; font-size: 16px; font-weight: 500; }
.as-head__s { margin: 4px 0 0; font-size: 13.5px; color: var(--as-mut); }
.as-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 28px; align-items: start; }
.as-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.as-col--poster { order: 2; }   /* poster on the end side (left in Arabic), like the design */
.as-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.as-row--s { font-size: 13px; }
.as-k { font-size: 13px; color: var(--as-mut); }
.as-lang { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--as-mut); }
.as-seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--as-s2); gap: 2px; }
.as-seg button { height: 34px; padding: 0 16px; border-radius: 999px; border: 0; background: transparent; color: var(--as-mut); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.as-seg button[aria-pressed="true"] { background: #F2F4F3; color: #0B0D0C; }
.as-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-start; }
.as-chip { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px 0 8px; border-radius: 999px; border: 1px solid var(--as-line);
  background: var(--as-s1); color: var(--as-mut); font: inherit; font-size: 13px; cursor: pointer; white-space: nowrap; }
.as-chip b { font-weight: 500; color: var(--as-tx); }
.as-chip span { font-size: 12px; }
.as-chip[aria-pressed="true"] { background: #F2F4F3; border-color: #F2F4F3; color: #2B2F2C; }
.as-chip[aria-pressed="true"] b { color: #0B0D0C; font-weight: 600; }
.as-chip__ic { width: 24px; height: 24px; border-radius: 6px; }
.as-chip__st { width: 24px; height: 24px; color: var(--as-g); }
.as-poster { position: relative; margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid rgba(49,233,50,.35); background: #0A0D0B; aspect-ratio: 1200 / 627; }
.as-poster.is-tall { max-height: 56vh; aspect-ratio: auto; display: flex; justify-content: center; border-color: var(--as-line); background: transparent; }
.as-poster img { display: block; width: 100%; height: 100%; object-fit: contain; transition: opacity .2s; }
.as-poster.is-tall img { width: auto; max-width: 100%; max-height: 56vh; border-radius: 16px; border: 1px solid rgba(49,233,50,.35); }
.as-poster img.is-loading { opacity: .35; }
.as-poster__l[hidden] { display: none; }
.as-poster__l { position: absolute; inset: 0; display: grid; place-items: center; font-size: 13px; color: var(--as-mut); pointer-events: none; }
.as-main { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 56px; border-radius: 18px; border: 0; background: var(--as-g);
  color: #0A0A0A; font: inherit; font-size: 19px; font-weight: 600; cursor: pointer; box-shadow: 0 10px 30px -10px rgba(49,233,50,.6); }
.as-main:hover { filter: brightness(1.05); }
.as-main--sm { height: 46px; font-size: 15px; border-radius: 999px; box-shadow: none; }
.as-card { border: 1px solid var(--as-line); border-radius: 18px; background: var(--as-s1); padding: 14px 12px 12px; }
.as-hint { margin: 0 4px 12px; font-size: 13px; color: var(--as-mut); line-height: 1.6; }
.as-plats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.as-plat { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; height: 78px; border-radius: 14px; border: 1px solid var(--as-line2);
  background: var(--as-bg); color: var(--as-tx); font: inherit; font-size: 13.5px; cursor: pointer; }
.as-plat:hover { border-color: rgba(49,233,50,.5); background: #111712; }
.as-plat b { font-weight: 600; }
.as-logo { width: 38px; height: 38px; border-radius: 8px; object-fit: contain; }
.as-text { border: 1px solid var(--as-line); border-radius: 18px; background: var(--as-s1); padding: 14px 16px; }
.as-text__h { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; color: var(--as-mut); }
.as-text__b { margin: 10px 0 0; font-size: 14px; line-height: 1.85; text-align: start; overflow-wrap: anywhere; }
.as-text__b mark { background: rgba(49,233,50,.14); color: var(--as-g); border-radius: 4px; padding: 0 4px; }
.as-link { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; color: var(--as-g); font: inherit; font-size: 13px; cursor: pointer; text-decoration: none; padding: 0; }
.as-link .as-i { width: 16px; height: 16px; }
.as-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.as-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; border-radius: 16px; border: 1px solid var(--as-line2); background: transparent;
  color: var(--as-tx); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; text-decoration: none; }
.as-btn:hover { background: var(--as-s1); }
.as-btn--sm { height: 46px; padding: 0 18px; border-radius: 999px; font-size: 14px; font-weight: 500; }
.as-foot { text-align: center; font-size: 13px; color: var(--as-mut); display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; }
.as-foot a { color: var(--as-tx); text-decoration: none; } .as-foot a:hover { color: var(--as-g); }
.as-foot .as-i { width: 16px; height: 16px; }
:where(.as-ovl, .as-sug) button:focus-visible, :where(.as-ovl, .as-sug) a:focus-visible { outline: 2px solid var(--as-g); outline-offset: 2px; }

/* phone: full screen, one column (Reg-RG2/RG3, Share-SH3/SH5) */
.as-dlg--m { width: 100%; height: 100%; max-height: none; border-radius: 0; border: 0; padding: 16px 16px calc(24px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 14px; }
.as-ovl:has(.as-dlg--m) { padding: 0; }
.as-dlg--m > * { flex-shrink: 0; }
.as-dlg--m .as-x { top: 14px; inset-inline-start: 14px; }
.as-dlg--m .as-lang { align-self: center; margin-top: 4px; }
.as-dlg--m .as-head { margin: 0 4px; } .as-dlg--m .as-head h2 { font-size: 23px; } .as-dlg--m .as-head__d { font-size: 14px; } .as-dlg--m .as-head__s { font-size: 12.5px; }
.as-chips--row { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
.as-chips--row::-webkit-scrollbar { display: none; }
.as-dlg--m .as-poster.is-tall, .as-dlg--m .as-poster.is-tall img { max-height: 50vh; }
.as-dlg--m .as-plat { height: 74px; }

/* live: suggestion card on the right (Share-SH2 / SH4), non-modal */
.as-sug { position: fixed; z-index: 900; inset-inline-end: auto; right: 24px; top: 78px; width: 372px; max-width: calc(100vw - 32px);
  background: rgba(13,17,14,.96); border: 1px solid rgba(49,233,50,.45); border-radius: 22px; padding: 14px 16px 16px; box-shadow: 0 24px 60px -16px rgba(0,0,0,.8);
  display: flex; flex-direction: column; gap: 10px; opacity: 0; transform: translateX(24px); transition: opacity .3s, transform .3s; }
.as-sug.is-in { opacity: 1; transform: none; }
.as-sug__h { display: flex; justify-content: space-between; align-items: center; }
.as-sug__k { display: inline-flex; align-items: center; gap: 8px; color: var(--as-g); font-size: 14px; font-weight: 600; }
.as-sug__k i { width: 8px; height: 8px; border-radius: 50%; background: var(--as-g); }
.as-sug__x { width: 30px; height: 30px; border: 0; background: none; color: var(--as-mut); display: grid; place-items: center; cursor: pointer; border-radius: 50%; }
.as-sug__x .as-i { width: 18px; height: 18px; }
.as-sug__img { width: 100%; aspect-ratio: 1200 / 627; border-radius: 12px; border: 1px solid rgba(49,233,50,.3); background: #0A0D0B; object-fit: cover; }
.as-sug__t { font-size: 17px; font-weight: 600; }
.as-sug__d { margin: 0; font-size: 13px; line-height: 1.7; color: var(--as-mut); }
.as-sug__p { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.as-sug__p button { height: 46px; border-radius: 12px; border: 0; background: var(--as-s2); display: grid; place-items: center; cursor: pointer; }
.as-sug__p button:hover { background: #262d27; }
.as-sug__p .as-logo { width: 28px; height: 28px; border-radius: 6px; }
.as-sug__b { display: flex; gap: 8px; }
.as-sug__b .as-main { flex: 1; }
@media (max-width: 760px) {
  .as-sug { right: 12px; left: 12px; width: auto; top: auto; bottom: calc(96px + env(safe-area-inset-bottom)); transform: translateY(24px); }
  .as-cols { grid-template-columns: 1fr; }
}

/* the green «شارك» in the live toolbar (Share-SH2) */
.mt-b.mt-b--post { width: auto; padding: 0 22px; gap: 8px; background: #31E931; color: #0A0A0A; font-weight: 600; font-size: 16px; border-radius: 999px; }
.mt-b.mt-b--post:hover { filter: brightness(1.05); background: #31E931; }
.mt-b.mt-b--post span { font-family: inherit; }
@media (max-width: 760px) { .mt-b.mt-b--post { padding: 0; width: 52px; } .mt-b.mt-b--post span { display: none; } }
/* session page: «شارك حضورك» button under the booking */
.as-cta { display: inline-flex; align-items: center; gap: 8px; }
/* the live page styles every button: keep the panel's own colours */
:is(.as-ovl, .as-sug) .as-main { color: #0A0A0A; background: var(--as-g); font-size: 19px; font-weight: 600; }
:is(.as-ovl, .as-sug) .as-main--sm { font-size: 15px; }
:is(.as-ovl, .as-sug) :is(.as-btn, .as-plat, .as-x) { color: var(--as-tx); }

/* owner 2026-10-10: charcoal panel, smaller logos, platform chips without pixel sizes, download on the poster */
.as-x:hover, .as-sug__p button:hover { background: #303030; }
.as-plat:hover { background: #1F1F1F; }
.as-row { justify-content: flex-start; }
.as-chip { height: 34px; padding: 0 12px 0 7px; gap: 7px; }
.as-chip__ic, .as-chip__st { width: 20px; height: 20px; border-radius: 5px; }
.as-logo { width: 30px; height: 30px; border-radius: 7px; }
.as-plat { height: 68px; gap: 6px; font-size: 13px; }
.as-sug__p .as-logo { width: 24px; height: 24px; }
.as-poster__dl { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(0,0,0,.6); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.18); text-decoration: none; }
.as-poster__dl:hover { background: rgba(0,0,0,.8); }
.as-poster__dl .as-i { width: 18px; height: 18px; }
.as-head { margin-bottom: 18px; }

/* social icons (itshover.com): line icons in the panel's text colour; the hover motion of the originals, in CSS */
.as-logo.so { width: 28px; height: 28px; border-radius: 0; color: var(--as-tx); overflow: visible; }
.as-chip .as-logo.so { width: 18px; height: 18px; }
.as-chip[aria-pressed="true"] .as-logo.so { color: #0B0D0C; }
.as-sug__p .as-logo.so { width: 22px; height: 22px; }
.so * { transform-box: fill-box; transform-origin: center; }
.so--threads { transform-origin: center; }
.so-draw { stroke-dasharray: 1; stroke-dashoffset: 0; }
:is(.as-plat, .as-chip, .as-sug__p button):hover .so-box { animation: so-pulse .4s ease-in-out; }
:is(.as-plat, .as-chip, .as-sug__p button):hover .so-ln { animation: so-draw .5s ease-out .15s both; }
:is(.as-plat, .as-chip, .as-sug__p button):hover .so-x { animation: so-x .5s ease-in-out; }
:is(.as-plat, .as-chip, .as-sug__p button):hover .so-fb { animation: so-fb .5s ease-in-out; }
:is(.as-plat, .as-chip, .as-sug__p button):hover .so-plane { animation: so-plane 1s ease-in-out; }
:is(.as-plat, .as-chip, .as-sug__p button):hover .so-phone { animation: so-phone .4s ease-in-out; }
:is(.as-plat, .as-chip, .as-sug__p button):hover .so--threads { animation: so-spin 1s cubic-bezier(.34,1.56,.64,1); }
:is(.as-plat, .as-chip, .as-sug__p button):hover .so--threads .so-draw { animation: so-draw 1s ease-in-out both; }
:is(.as-plat, .as-chip, .as-sug__p button):hover .so-ig { animation: so-pulse .3s ease-out; }
:is(.as-plat, .as-chip, .as-sug__p button):hover .so-lens { animation: so-lens .25s ease-out; }
:is(.as-plat, .as-chip, .as-sug__p button):hover .so-dot { animation: so-blink .2s ease-in-out .25s; }
@keyframes so-pulse { 50% { transform: scale(1.05); } }
@keyframes so-lens { 50% { transform: scale(1.2); } }
@keyframes so-blink { 50% { opacity: 0; } }
@keyframes so-draw { from { stroke-dashoffset: 1; opacity: 0; } 30% { opacity: 1; } to { stroke-dashoffset: 0; opacity: 1; } }
@keyframes so-x { 25% { transform: scale(1.05) rotate(-10deg); } 50% { transform: scale(1.1) rotate(0); } 75% { transform: scale(1.05) rotate(10deg); } }
@keyframes so-fb { 33% { transform: scale(.9); } 66% { transform: scale(1.05); } }
@keyframes so-plane { 0% { transform: translate(0,0); opacity: 1; } 40% { transform: translate(10px,-10px); opacity: 0; } 50% { transform: translate(-10px,10px); opacity: 0; } 100% { transform: translate(0,0); opacity: 1; } }
@keyframes so-phone { 20% { transform: rotate(-15deg); } 40% { transform: rotate(15deg); } 60% { transform: rotate(-10deg); } 80% { transform: rotate(10deg); } }
@keyframes so-spin { 0% { transform: scale(.5) rotate(180deg); } 60% { transform: scale(1.1) rotate(-10deg); } 100% { transform: scale(1) rotate(0); } }
@media (prefers-reduced-motion: reduce) { .so, .so * { animation: none !important; } }
