/* Zetawe Games – «تحدّي أونلاين» v2 – تصميم احترافي بروح اللعبة */
html.zo-open, html.zo-open body { overflow: hidden; }
#zo {
  --ink: #12303B; --sun: #FFC93C; --org: #FF8A1F; --pink: #E8456B; --mint: #2FB67C; --teal: #12B5B0; --cream: #FFF6E3; --gc: #12B5B0;
  --clay: inset 0 3px 0 rgba(255,255,255,.65), inset 0 -6px 0 rgba(18,48,59,.13), 0 6px 0 var(--ink);
  position: fixed; inset: 0; z-index: 70; color: #fff; isolation: isolate; font-family: "Baloo Bhaijaan 2", Tahoma, sans-serif;
  background: radial-gradient(120% 70% at 50% -10%, #1592A0 0%, #0A5E6B 50%, #062F38 100%);
}
#zo::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: radial-gradient(circle at 25% 25%, rgba(255,255,255,.1) 0 3px, transparent 4px); background-size: 56px 56px; opacity: .7; }
#zo[dir="ltr"] .zo-flip { transform: scaleX(-1); }
#zo button { font-family: inherit; }
.zo-shell { position: absolute; inset: 0; display: flex; flex-direction: column; padding: env(safe-area-inset-top, 0) env(safe-area-inset-right, 0) 0 env(safe-area-inset-left, 0); }
.zo-scroll { flex: 1; overflow: hidden auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.zo-wrap { max-width: 620px; margin: 0 auto; padding: 8px 16px 28px; }
.zo-center { text-align: center; }
.zo-muted { opacity: .75; font-weight: 700; font-size: 15px; }
.zo-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* الشريط العلوي */
.zo-bar { flex: 0 0 auto; display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 10px; padding: 10px 14px; }
.zo-bar-t { display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; font: 400 22px/1.2 Lalezar, sans-serif; text-shadow: 0 2px 0 var(--ink); }
.zo-bar-t > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zo-glb svg, .zo-bar-t .zo-glb { width: 26px; height: 26px; color: var(--sun); display: inline-grid; }
.zo-bar-code { justify-self: end; padding: 4px 10px; border-radius: 10px; background: rgba(255,255,255,.12); font: 800 14px/1.4 "Baloo Bhaijaan 2", sans-serif; letter-spacing: .06em; min-width: 48px; text-align: center; }
.zo-ibtn { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; border: 3px solid var(--ink); background: var(--cream); color: var(--ink); cursor: pointer; box-shadow: 0 4px 0 var(--ink); text-decoration: none; }
.zo-ibtn svg { width: 22px; height: 22px; }
.zo-ibtn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.zo-ibtn.lt { background: #fff; }
.zo-ibtn.wa { background: #25D366; color: #fff; }
.zo-net { margin: 0 14px 6px; padding: 8px 12px; border-radius: 12px; background: var(--pink); text-align: center; font-weight: 800; }

/* الأزرار */
.zo-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 10px 22px; border-radius: 18px; border: 3px solid var(--ink); cursor: pointer;
  background: linear-gradient(180deg, #FFD567, #FF9F2E); color: var(--ink); font: 400 21px/1.1 Lalezar, sans-serif; box-shadow: var(--clay); touch-action: manipulation; transition: transform .1s, box-shadow .1s; }
.zo-btn svg { width: 22px; height: 22px; }
.zo-btn:active:not([disabled]) { transform: translateY(4px); box-shadow: inset 0 3px 8px rgba(18,48,59,.2), 0 2px 0 var(--ink); }
.zo-btn[disabled] { opacity: .45; filter: grayscale(.5); cursor: not-allowed; }
.zo-btn.xl { min-height: 62px; font-size: 25px; padding: 12px 28px; border-width: 4px; }
.zo-btn.sm { min-height: 44px; font-size: 18px; padding: 6px 16px; }
.zo-btn.ghost { background: linear-gradient(180deg, #FFFDF6, #FFE9B8); }
.zo-link { display: block; margin: 14px auto 0; border: 0; background: rgba(255,255,255,.12); color: #fff; padding: 10px 18px; border-radius: 999px; font: 800 15px/1.3 "Baloo Bhaijaan 2", sans-serif; cursor: pointer; }
.zo-err { min-height: 1.6em; text-align: center; font-weight: 800; color: #FFD9DF; margin: 12px 0 0; }

/* الشاشة الرئيسية */
.zo-hero { text-align: center; padding: 8px 0 6px; }
.zo-hero h1 { margin: 6px 0 4px; font: 400 32px/1.2 Lalezar, sans-serif; text-shadow: 0 3px 0 var(--ink); }
.zo-hero p { margin: 0 auto; max-width: 400px; font-weight: 700; opacity: .85; }
.zo-orbit { position: relative; width: 132px; height: 132px; margin: 0 auto; }
.zo-orbit b { position: absolute; inset: 26px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #5BE0D8, #12B5B0); border: 4px solid var(--ink); color: var(--ink); box-shadow: 0 6px 0 var(--ink), 0 0 40px rgba(91,224,216,.5); }
.zo-orbit b svg { width: 50px; height: 50px; }
.zo-orbit i { position: absolute; inset: 6px; border-radius: 50%; border: 2px dashed rgba(255,255,255,.35); animation: zo-spin 18s linear infinite; }
.zo-orbit i:nth-child(2) { inset: -4px; animation-duration: 26s; animation-direction: reverse; border-style: dotted; }
.zo-orbit i:nth-child(3) { inset: 50% auto auto 50%; width: 16px; height: 16px; margin: -76px 0 0 -8px; border: 3px solid var(--ink); background: var(--sun); transform-origin: 8px 76px; animation-duration: 6s; }
@keyframes zo-spin { to { transform: rotate(360deg); } }
.zo-panel, .zo-tile, .zo-game, .zo-ticket, .zo-q, .zo-dialog { background: var(--cream); color: var(--ink); border: 4px solid var(--ink); border-radius: 24px; box-shadow: var(--clay); }
.zo-panel { padding: 14px 16px; margin: 14px 0; }
.zo-me { display: flex; align-items: center; gap: 14px; }
.zo-field { flex: 1; display: flex; flex-direction: column; gap: 4px; font-weight: 800; font-size: 14px; }
.zo-field input { font: 800 18px/1.3 "Baloo Bhaijaan 2", sans-serif; color: var(--ink); background: #fff; border: 3px solid var(--ink); border-radius: 14px; padding: 10px 12px; min-height: 50px; width: 100%; font-size: max(16px, 18px); }
.zo-field input:focus, .zo-code-in input:focus + .zo-cbs .zo-cb.f { outline: 3px solid var(--sun); outline-offset: 2px; }
.zo-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.zo-tile { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 18px 12px 14px; cursor: default; min-height: 180px; }
button.zo-tile { cursor: pointer; font-family: inherit; }
button.zo-tile:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--ink); }
.zo-tile b { font: 400 23px/1.1 Lalezar, sans-serif; }
.zo-tile small { font-size: 13.5px; font-weight: 700; opacity: .7; }
.zo-tile-i { width: 54px; height: 54px; border-radius: 17px; display: grid; place-items: center; border: 3px solid var(--ink); box-shadow: 0 4px 0 var(--ink); }
.zo-tile-i svg { width: 30px; height: 30px; }
.zo-create { background: linear-gradient(180deg, #FFE08A, #FFB547); }
.zo-create .zo-tile-i { background: #fff; }
.zo-join .zo-tile-i { background: var(--teal); color: #fff; }
.zo-code-in { position: relative; display: block; width: 100%; cursor: text; }
.zo-code-in input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; font-size: 16px; z-index: 1; caret-color: transparent; }
.zo-cbs { display: flex; gap: 4px; justify-content: center; }
.zo-cb { width: 100%; max-width: 30px; height: 40px; border-radius: 9px; border: 3px solid var(--ink); background: #fff; display: grid; place-items: center; font: 400 22px/1 Lalezar, sans-serif; }
.zo-cb.f { border-color: var(--org); box-shadow: 0 0 0 3px rgba(255,138,31,.3); }
.zo-join .zo-btn { width: 100%; }
@media (max-width: 380px) { .zo-actions { grid-template-columns: 1fr; } .zo-tile { min-height: 0; } .zo-cb { max-width: 40px; } }

/* اللوبي */
.zo-ticket { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; margin: 4px 0 14px; background: linear-gradient(180deg, #FFFDF6, #FFF0CC); overflow: hidden; }
.zo-ticket::before, .zo-ticket::after { content: ""; position: absolute; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: #0A5E6B; border: 4px solid var(--ink); }
.zo-ticket::before { left: -17px; } .zo-ticket::after { right: -17px; }
.zo-ticket-l { padding-inline-start: 8px; }
.zo-ticket-l small { display: block; font-weight: 800; font-size: 13px; opacity: .7; }
.zo-code { font: 400 46px/1.05 Lalezar, sans-serif; color: var(--pink); letter-spacing: .06em; }
.zo-ticket-r { display: flex; gap: 8px; padding-inline-end: 10px; }
.zo-game { display: flex; align-items: center; gap: 14px; padding: 14px; margin: 14px 0; background: linear-gradient(180deg, #fff, #FFF3D6); }
.zo-gt { flex: 1; min-width: 0; }
.zo-gt small { font-weight: 800; font-size: 12.5px; opacity: .65; }
.zo-gt h2 { margin: 0; font: 400 26px/1.15 Lalezar, sans-serif; }
.zo-gt p { margin: 2px 0 0; font-weight: 700; font-size: 14px; opacity: .75; }
.zo-gi { flex: 0 0 auto; width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--gc); border: 3px solid var(--ink); box-shadow: 0 4px 0 var(--ink); color: #fff; }
.zo-gi svg { width: 36px; height: 36px; fill: #fff; --b: var(--gc); }
.zo-gi.sm { width: 32px; height: 32px; border-radius: 10px; border-width: 2px; box-shadow: none; }
.zo-gi.sm svg { width: 20px; height: 20px; }
.zo-gi.xl { width: 104px; height: 104px; border-radius: 32px; margin: 10px auto 6px; border-width: 4px; box-shadow: 0 7px 0 var(--ink); }
.zo-gi.xl svg { width: 60px; height: 60px; }
.zo-ph { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.zo-ph h3 { margin: 0; font: 400 21px/1.2 Lalezar, sans-serif; }
.zo-pill { display: inline-block; padding: 2px 12px; border-radius: 999px; background: var(--ink); color: #fff; font: 800 14px/1.6 "Baloo Bhaijaan 2", sans-serif; }
.zo-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.zo-chip { display: inline-flex; align-items: center; min-height: 36px; padding: 4px 14px; border-radius: 999px; border: 2px solid rgba(18,48,59,.25); background: #fff; color: var(--ink); font: 800 14.5px/1.3 "Baloo Bhaijaan 2", sans-serif; }
button.zo-chip { cursor: pointer; min-height: 44px; border-width: 3px; border-color: var(--ink); }
button.zo-chip.on { background: var(--mint); color: #fff; box-shadow: 0 3px 0 var(--ink); }
.zo-pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.zo-pc { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 6px 10px; border-radius: 18px; background: #fff; border: 3px solid rgba(18,48,59,.18); text-align: center; color: var(--ink); font-family: inherit; }
.zo-pc b { font-size: 15px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zo-pc small { font-size: 12px; font-weight: 800; opacity: .6; }
.zo-pc.me { border-color: var(--org); background: #FFF6DE; }
.zo-pc.off { opacity: .45; }
.zo-pc.empty { border-style: dashed; background: transparent; cursor: pointer; }
.zo-crown { position: absolute; top: -12px; inset-inline-end: 8px; width: 26px; height: 26px; color: var(--sun); filter: drop-shadow(0 2px 0 var(--ink)); }
.zo-crown svg { width: 100%; height: 100%; }
.zo-av { width: 48px; height: 48px; border-radius: 50%; display: inline-grid; place-items: center; flex: 0 0 auto; background: hsl(var(--h), 70%, 52%); color: #fff; font: 400 23px/1 Lalezar, sans-serif; border: 3px solid var(--ink); box-shadow: 0 3px 0 var(--ink); }
.zo-av.lg { width: 64px; height: 64px; font-size: 30px; }
.zo-av.sm { width: 32px; height: 32px; font-size: 16px; border-width: 2px; box-shadow: none; }
.zo-av.xs { width: 26px; height: 26px; font-size: 13px; border-width: 2px; box-shadow: none; }
.zo-av.ghost { background: transparent; color: var(--ink); border-style: dashed; box-shadow: none; }
.zo-foot { flex: 0 0 auto; padding: 12px 16px calc(14px + env(safe-area-inset-bottom, 0)); background: linear-gradient(rgba(6,47,56,0), rgba(6,47,56,.92) 35%); text-align: center; }
.zo-foot .zo-btn.xl { width: 100%; max-width: 520px; }
.zo-foot .zo-row .zo-btn { flex: 1; max-width: 300px; }
.zo-wait { display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px; border-radius: 999px; background: rgba(255,255,255,.12); font-weight: 800; }
.zo-loader { display: inline-flex; gap: 8px; margin: 30px auto 14px; }
.zo-loader i { width: 16px; height: 16px; border-radius: 50%; background: var(--sun); border: 3px solid var(--ink); animation: zo-bounce .9s ease-in-out infinite; }
.zo-loader i:nth-child(2) { animation-delay: .15s; background: var(--teal); } .zo-loader i:nth-child(3) { animation-delay: .3s; background: var(--pink); }
.zo-loader.sm { margin: 0; gap: 5px; } .zo-loader.sm i { width: 10px; height: 10px; border-width: 2px; }
.zo-loading { padding-top: 18vh; }
@keyframes zo-bounce { 50% { transform: translateY(-10px); } }

/* الأوراق (اختيار اللعبة والإعدادات) */
.zo-sheet-bg { position: absolute; inset: 0; z-index: 5; background: rgba(3,22,27,.55); animation: zo-fade .2s; }
.zo-sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; max-height: 86%; display: flex; flex-direction: column; background: var(--cream); color: var(--ink); border-top: 4px solid var(--ink); border-radius: 28px 28px 0 0; box-shadow: 0 -10px 40px rgba(0,0,0,.35); animation: zo-up .28s cubic-bezier(.2,.9,.3,1.1); padding-bottom: env(safe-area-inset-bottom, 0); max-width: 720px; margin: 0 auto; }
.zo-grab { width: 54px; height: 6px; border-radius: 3px; background: rgba(18,48,59,.25); margin: 10px auto 2px; }
.zo-sheet h3 { margin: 6px 18px 8px; font: 400 25px/1.2 Lalezar, sans-serif; text-align: center; }
.zo-sheet h4 { margin: 16px 0 8px; font-size: 15px; font-weight: 800; opacity: .75; }
.zo-sheet-b { overflow: auto; padding: 0 16px 14px; }
.zo-sheet-f { padding: 10px 16px 14px; }
.zo-sheet-f .zo-btn { width: 100%; }
@keyframes zo-up { from { transform: translateY(100%); } }
@keyframes zo-fade { from { opacity: 0; } }
.zo-ggrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.zo-gopt { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 8px 12px; border-radius: 20px; border: 3px solid rgba(18,48,59,.2); background: #fff; color: var(--ink); cursor: pointer; text-align: center; }
.zo-gopt .zo-gi { width: 54px; height: 54px; border-radius: 17px; }
.zo-gopt .zo-gi svg { width: 30px; height: 30px; }
.zo-gopt b { font: 400 18px/1.15 Lalezar, sans-serif; }
.zo-gopt small { font-size: 12.5px; font-weight: 700; opacity: .65; line-height: 1.35; }
.zo-gopt.on { border-color: var(--ink); background: #FFF0C8; box-shadow: 0 4px 0 var(--ink); }
.zo-seg { display: flex; padding: 4px; gap: 4px; border-radius: 16px; background: rgba(18,48,59,.08); border: 3px solid var(--ink); }
.zo-seg button { flex: 1; min-height: 44px; border: 0; border-radius: 11px; background: none; color: var(--ink); font: 800 15px/1.2 "Baloo Bhaijaan 2", sans-serif; cursor: pointer; }
.zo-seg button.on { background: var(--sun); box-shadow: 0 3px 0 var(--ink); }

/* أثناء اللعب */
.zo-hud { display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; font-size: 18px; }
.zo-hud-n { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zo-hud .zo-pill { font-size: 13px; background: rgba(255,255,255,.18); flex: 0 0 auto; }
.zo-strip { flex: 0 0 auto; display: flex; gap: 6px; overflow-x: auto; padding: 8px 12px calc(10px + env(safe-area-inset-bottom, 0)); background: rgba(3,26,31,.75); border-top: 2px solid rgba(255,255,255,.08); scrollbar-width: none; }
.zo-strip::-webkit-scrollbar { display: none; }
.zo-sp { position: relative; flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 6px; border-radius: 999px; background: rgba(255,255,255,.1); font-weight: 800; font-size: 15px; }
.zo-sp.me { background: rgba(255,201,60,.28); box-shadow: inset 0 0 0 2px var(--sun); }
.zo-sp.off { opacity: .45; }
.zo-rk { font-style: normal; font-size: 12px; opacity: .7; }
.zo-sp em { position: absolute; top: -10px; inset-inline-end: -4px; font-style: normal; font-size: 12px; padding: 0 6px; border-radius: 999px; animation: zo-pop .5s; }
.zo-sp em.up { background: var(--mint); } .zo-sp em.dn { background: var(--pink); }
@keyframes zo-pop { from { transform: scale(0); } 60% { transform: scale(1.3); } }
.zo-qmeta { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 6px 0 8px; }
.zo-tag { display: inline-block; padding: 3px 12px; border-radius: 999px; background: var(--sun); color: var(--ink); border: 2px solid var(--ink); font-weight: 800; font-size: 14px; max-width: 70%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zo-lv { padding: 2px 10px; border-radius: 999px; font-weight: 800; font-size: 13px; color: #fff; border: 2px solid var(--ink); }
.zo-lv.l1 { background: #2FB67C; } .zo-lv.l2 { background: #12B5B0; } .zo-lv.l3 { background: #FF8A1F; } .zo-lv.l4 { background: #E8456B; }
.zo-q { padding: 18px 16px; margin-bottom: 12px; text-align: center; }
.zo-q p { margin: 0; font: 400 clamp(22px, 5.4vw, 34px)/1.35 Lalezar, sans-serif; }
.zo-prop { margin-top: 12px; padding: 10px; border-radius: 16px; background: #fff; border: 3px dashed rgba(18,48,59,.3); }
.zo-prop small { display: block; font-weight: 800; opacity: .6; font-size: 13px; }
.zo-prop b { font: 400 26px/1.3 Lalezar, sans-serif; color: var(--pink); }
.zo-real { margin-top: 8px; font-weight: 800; }
.zo-timer { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; }
.zo-tb { --p: 1; flex: 1; height: 14px; border-radius: 99px; background: rgba(255,255,255,.18); border: 2px solid rgba(3,26,31,.6); overflow: hidden; }
.zo-tb i { display: block; height: 100%; transform-origin: right center; transform: scaleX(var(--p)); background: linear-gradient(90deg, var(--pink), var(--sun) 40%, var(--mint)); transition: transform .2s linear; }
#zo[dir="ltr"] .zo-tb i { transform-origin: left center; }
.zo-tn { min-width: 2.2em; text-align: center; font: 400 26px/1 Lalezar, sans-serif; }
.zo-tn.low, .zo-bign.low { color: #FFB3C0; animation: zo-pulse .5s infinite alternate; }
@keyframes zo-pulse { to { transform: scale(1.15); } }
.zo-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.zo-opt { position: relative; display: flex; align-items: center; gap: 10px; min-height: 66px; padding: 10px 12px; border: 3px solid var(--ink); border-radius: 18px; box-shadow: var(--clay); color: var(--ink); text-align: start; cursor: pointer;
  font: 800 clamp(15px, 3.8vw, 19px)/1.25 "Baloo Bhaijaan 2", sans-serif; transition: transform .1s, opacity .2s; touch-action: manipulation; }
button.zo-opt:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--ink); }
.zo-opt.o0 { background: linear-gradient(180deg, #5BE0D8, #2CC6BE); } .zo-opt.o1 { background: linear-gradient(180deg, #FFCB7A, #FFB04D); }
.zo-opt.o2 { background: linear-gradient(180deg, #FFAEC2, #F58BA7); } .zo-opt.o3 { background: linear-gradient(180deg, #B5CFFF, #8DB5F8); }
.zo-l { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 15px; }
.zo-ot { min-width: 0; overflow-wrap: anywhere; }
.zo-opt[aria-disabled="true"]:not(.pick):not(.ok):not(.no) { opacity: .5; }
.zo-opt.pick { outline: 4px solid #fff; outline-offset: 2px; transform: scale(1.02); }
.zo-opt.ok { background: linear-gradient(180deg, #4FD49A, #2FB67C); color: #fff; outline: 4px solid #fff; outline-offset: 2px; animation: zo-pop .4s; }
.zo-opt.ok .zo-l { background: #fff; color: var(--mint); }
.zo-opt.no { background: linear-gradient(180deg, #FF7A93, #E8456B); color: #fff; }
.zo-opt.dim { opacity: .4; }
.zo-opt.gone { visibility: hidden; }
.zo-cnt { position: absolute; top: -11px; inset-inline-end: -6px; min-width: 26px; padding: 0 7px; border-radius: 999px; background: #fff; color: var(--ink); border: 2px solid var(--ink); font-style: normal; font-size: 13px; text-align: center; }
.zo-status { text-align: center; font-weight: 800; font-size: 16px; margin: 6px 0; text-shadow: 0 2px 0 rgba(0,0,0,.25); }
.zo-status.big { font: 400 24px/1.3 Lalezar, sans-serif; }
.zo-status.good { color: #A8F0CB; } .zo-status.bad { color: #FFC2CD; }
.zo-result { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 8px 0; padding: 12px 16px; border-radius: 18px; font: 400 26px/1.2 Lalezar, sans-serif; text-align: center; animation: zo-pop .45s; }
.zo-result.good { background: rgba(47,182,124,.25); box-shadow: inset 0 0 0 3px #4FD49A; }
.zo-result.bad { background: rgba(232,69,107,.22); box-shadow: inset 0 0 0 3px #FF7A93; }
.zo-result.to { background: rgba(255,255,255,.1); font-size: 22px; }
.zo-result b { color: var(--sun); }
.zo-result small { display: block; width: 100%; font: 800 14px/1.3 "Baloo Bhaijaan 2", sans-serif; opacity: .85; }
.zo-who { display: inline-flex; align-items: center; gap: 6px; font: 800 16px/1.2 "Baloo Bhaijaan 2", sans-serif; }
.zo-turn { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 4px 0 12px; padding: 10px 14px; border-radius: 16px; background: rgba(255,255,255,.1); font-weight: 800; }
.zo-turn.me { background: linear-gradient(180deg, #FFD567, #FF9F2E); color: var(--ink); box-shadow: var(--clay); border: 3px solid var(--ink); animation: zo-pop .4s; }
.zo-note { margin: 10px 0; padding: 10px 14px; border-radius: 14px; background: rgba(255,201,60,.18); box-shadow: inset 0 0 0 2px rgba(255,201,60,.6); font-weight: 800; text-align: center; }
.zo-sent { margin: 12px 0; padding: 14px; border-radius: 16px; background: rgba(255,255,255,.1); text-align: center; font-weight: 800; font-size: 18px; }
.zo-sent b { color: var(--sun); font-size: 24px; }
.zo-numin { display: flex; gap: 10px; margin: 6px 0 12px; }
.zo-numin input { flex: 1; min-width: 0; font: 400 30px/1 Lalezar, sans-serif; text-align: center; color: var(--ink); background: #fff; border: 4px solid var(--ink); border-radius: 18px; padding: 10px; min-height: 62px; box-shadow: var(--clay); }
.zo-numin input:focus { outline: 4px solid var(--sun); }
.zo-numin input.shake { animation: zo-shake .3s; }
@keyframes zo-shake { 25% { transform: translateX(-8px); } 75% { transform: translateX(8px); } }
.zo-bigans { margin: 10px 0; text-align: center; }
.zo-bigans small { display: block; font-weight: 800; opacity: .75; }
.zo-bigans b { font: 400 54px/1.1 Lalezar, sans-serif; color: var(--sun); text-shadow: 0 4px 0 var(--ink); }
.zo-guesses, .zo-hist, .zo-rest { list-style: none; margin: 8px 0; padding: 0; display: grid; gap: 8px; }
.zo-guesses li, .zo-hist li, .zo-rest li { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 14px; background: rgba(255,255,255,.1); font-weight: 800; }
.zo-guesses li > b, .zo-hist li > b, .zo-rest li > i { margin-inline-start: auto; font: 400 22px/1 Lalezar, sans-serif; font-style: normal; }
.zo-guesses li small, .zo-hist li span { font-size: 13px; opacity: .8; min-width: 64px; text-align: end; }
.zo-guesses li.win { background: rgba(255,201,60,.28); box-shadow: inset 0 0 0 2px var(--sun); }
.zo-guesses li.me, .zo-rest li.me { box-shadow: inset 0 0 0 2px #fff; }
.zo-hist li.up span { color: #A8F0CB; } .zo-hist li.down span { color: #FFC2CD; } .zo-hist li.ok { background: rgba(47,182,124,.3); }
.zo-range { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 4px 0 12px; font-weight: 800; }
.zo-range b { min-width: 76px; padding: 6px 12px; border-radius: 14px; background: var(--cream); color: var(--ink); border: 3px solid var(--ink); font: 400 30px/1 Lalezar, sans-serif; box-shadow: 0 4px 0 var(--ink); }

/* المليون */
.zo-milhead { display: flex; justify-content: space-between; gap: 10px; margin: 4px 0 8px; font-weight: 800; }
.zo-milhead b { color: var(--sun); font: 400 22px/1 Lalezar, sans-serif; }
.zo-aids { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 4px 0 10px; }
.zo-aid { min-height: 46px; padding: 6px 16px; border-radius: 999px; border: 3px solid var(--ink); background: #fff; color: var(--ink); font: 800 15px/1 "Baloo Bhaijaan 2", sans-serif; cursor: pointer; box-shadow: 0 3px 0 var(--ink); }
.zo-aid.used, .zo-aid[disabled] { opacity: .35; cursor: default; }
.zo-aid.wd { background: var(--pink); color: #fff; }
.zo-aud { display: flex; justify-content: center; gap: 14px; height: 120px; align-items: flex-end; margin: 6px 0 12px; }
.zo-aud span { display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; justify-content: flex-end; font-weight: 800; }
.zo-aud i { width: 30px; background: var(--sun); border: 2px solid var(--ink); border-radius: 6px 6px 0 0; }
.zo-moneyd { margin-top: 12px; } .zo-moneyd summary { cursor: pointer; font-weight: 800; text-align: center; opacity: .8; padding: 6px; }
.zo-money { display: grid; gap: 4px; max-width: 280px; margin: 6px auto; }
.zo-money i { font-style: normal; text-align: center; padding: 3px; border-radius: 8px; background: rgba(255,255,255,.08); font-weight: 800; }
.zo-money i.done { background: rgba(47,182,124,.35); } .zo-money i.cur { background: var(--sun); color: var(--ink); } .zo-money i.safe { box-shadow: inset 0 0 0 2px var(--sun); }

/* الجرس والضغط */
.zo-buzzwrap { display: grid; place-items: center; padding: 12px 0; }
.zo-buzzer { width: min(62vw, 240px); aspect-ratio: 1; border-radius: 50%; border: 6px solid var(--ink); cursor: pointer; background: radial-gradient(circle at 40% 30%, #FF8FA3, #E8456B 55%, #B0203E); color: #fff; font: 400 26px/1.2 Lalezar, sans-serif;
  box-shadow: inset 0 -12px 0 rgba(0,0,0,.2), 0 14px 0 var(--ink), 0 0 0 10px rgba(232,69,107,.25); touch-action: manipulation; transition: transform .08s, box-shadow .08s; padding: 20px; }
.zo-buzzer:active:not([disabled]), .zo-buzzer.pressed { transform: translateY(10px); box-shadow: inset 0 -4px 0 rgba(0,0,0,.2), 0 4px 0 var(--ink); }
.zo-buzzer[disabled]:not(.pressed) { filter: grayscale(.8); opacity: .6; }
.zo-tapc { padding-top: 6vh; } .zo-tapc p { font: 400 26px/1.3 Lalezar, sans-serif; }
.zo-bign { display: block; font: 400 110px/1 Lalezar, sans-serif; color: var(--sun); text-shadow: 0 8px 0 var(--ink); }
.zo-tapbars { display: grid; gap: 6px; margin-bottom: 14px; }
.zo-bar-row { display: flex; align-items: center; gap: 8px; font-weight: 800; }
.zo-bar-row b { min-width: 36px; text-align: end; }
.zo-barv { flex: 1; height: 14px; border-radius: 99px; background: rgba(255,255,255,.12); overflow: hidden; }
.zo-barv i { display: block; height: 100%; width: var(--w, 0%); background: linear-gradient(90deg, var(--teal), var(--sun)); border-radius: inherit; transition: width .15s; }
.zo-bar-row.me .zo-barv i { background: linear-gradient(90deg, var(--org), var(--sun)); }
.zo-tapbtn { display: grid; place-items: center; width: min(78vw, 300px); aspect-ratio: 1; margin: 0 auto; border-radius: 50%; border: 6px solid var(--ink); cursor: pointer; background: radial-gradient(circle at 40% 30%, #FFE08A, #FFB547 55%, #E58A10); color: var(--ink); box-shadow: inset 0 -12px 0 rgba(0,0,0,.15), 0 12px 0 var(--ink); touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.zo-tapbtn span { font: 400 36px/1 Lalezar, sans-serif; } .zo-tapbtn b { font: 400 52px/1 Lalezar, sans-serif; }
.zo-tapbtn.hit { animation: zo-hit .12s; }
@keyframes zo-hit { 50% { transform: scale(.94) translateY(6px); } }

/* صح أم خطأ */
.zo-tf { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.zo-tfb { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 8px; border-radius: 22px; border: 4px solid var(--ink); box-shadow: var(--clay); color: #fff; cursor: pointer; font: 400 26px/1 Lalezar, sans-serif; }
.zo-tfb svg { width: 44px; height: 44px; }
.zo-tfb.t0 { background: linear-gradient(180deg, #4FD49A, #2FB67C); } .zo-tfb.t1 { background: linear-gradient(180deg, #FF7A93, #E8456B); }
.zo-tfb.pick { outline: 4px solid #fff; outline-offset: 2px; } .zo-tfb.ok { outline: 5px solid var(--sun); outline-offset: 2px; } .zo-tfb.dim, .zo-tfb.no { opacity: .4; }

/* لوحات الألعاب */
.zo-ladder { display: flex; gap: 4px; margin: 2px 0 8px; } .zo-ladder i { flex: 1; height: 8px; border-radius: 4px; background: rgba(255,255,255,.15); }
.zo-ladder i.l1.done, .zo-ladder i.l1.cur { background: #2FB67C; } .zo-ladder i.l2.done, .zo-ladder i.l2.cur { background: #12B5B0; } .zo-ladder i.l3.done, .zo-ladder i.l3.cur { background: #FF8A1F; } .zo-ladder i.l4.done, .zo-ladder i.l4.cur { background: #E8456B; }
.zo-ladder i.cur { box-shadow: 0 0 0 2px #fff; }
.zo-jep { display: grid; grid-template-columns: repeat(var(--cols), 1fr); gap: 6px; }
.zo-jh { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 58px; padding: 4px; border-radius: 12px; background: var(--ink); text-align: center; font-weight: 800; font-size: 12px; line-height: 1.2; }
.zo-jh span { font-size: 18px; }
.zo-jc { min-height: 56px; border-radius: 12px; border: 3px solid var(--ink); background: linear-gradient(180deg, #5B8DEF, #3E6BD0); color: var(--sun); font: 400 22px/1 Lalezar, sans-serif; text-shadow: 0 2px 0 var(--ink); display: grid; place-items: center; box-shadow: 0 4px 0 var(--ink); }
button.zo-jc { cursor: pointer; } button.zo-jc:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.zo-jc.open { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); box-shadow: none; color: #fff; }
.zo-jc.open[style] { background: hsl(var(--h), 60%, 45%); border-color: var(--ink); }
.zo-jval { text-align: center; font: 400 20px/1.3 Lalezar, sans-serif; margin: 2px 0 6px; color: var(--sun); }
.zo-wheel { position: relative; width: min(84vw, 340px); margin: 6px auto 14px; }
.zo-wpin { position: absolute; top: -6px; left: 50%; z-index: 2; width: 0; height: 0; margin-left: -14px; border: 14px solid transparent; border-top: 26px solid var(--sun); filter: drop-shadow(0 3px 0 var(--ink)); }
.zo-wsvg { display: block; width: 100%; height: auto; filter: drop-shadow(0 8px 0 var(--ink)); }
.zo-wrot { transform: rotate(var(--to)); transform-origin: 0 0; }
.zo-wsvg.spin .zo-wrot { animation: zo-wspin 4s cubic-bezier(.12,.6,.12,1) forwards; }
@keyframes zo-wspin { from { transform: rotate(var(--from)); } to { transform: rotate(var(--to)); } }
.zo-doors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.zo-door { position: relative; min-height: 92px; border-radius: 22px 22px 8px 8px; border: 3px solid #3B2412; background: linear-gradient(180deg, #A9743F, #7A4A22); color: #FFE9C2; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: 6px 4px; font-weight: 800; font-size: 12px; line-height: 1.2; text-align: center; box-shadow: inset 0 0 0 4px rgba(0,0,0,.12), 0 4px 0 #3B2412; }
.zo-door::after { content: ""; position: absolute; top: 44%; inset-inline-start: 22%; width: 7px; height: 7px; border-radius: 50%; background: var(--sun); }
button.zo-door { cursor: pointer; font-family: inherit; } button.zo-door:active { transform: translateY(3px); }
.zo-door.open { background: #2B1A0D; } .zo-door.open::after { display: none; }
.zo-door.open i { position: absolute; top: 14px; left: 0; right: 0; font-style: normal; font-size: 13px; color: var(--sun); }
.zo-surprise { margin: 4px 0 12px; padding: 14px; border-radius: 20px; text-align: center; background: var(--cream); color: var(--ink); border: 4px solid var(--ink); box-shadow: var(--clay); animation: zo-pop .45s; }
.zo-surprise b { display: block; font: 400 30px/1.2 Lalezar, sans-serif; color: var(--pink); } .zo-surprise span { font-weight: 800; }
.zo-mem { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; max-width: 420px; margin: 0 auto; }
.zo-mem.c20 { grid-template-columns: repeat(5, 1fr); }
.zo-card { aspect-ratio: 3/4; border-radius: 14px; border: 3px solid var(--ink); background: linear-gradient(135deg, #12B5B0 25%, #0E9A96 25% 50%, #12B5B0 50% 75%, #0E9A96 75%); background-size: 18px 18px; box-shadow: 0 4px 0 var(--ink); display: grid; place-items: center; }
button.zo-card { cursor: pointer; } button.zo-card:active { transform: translateY(3px); }
.zo-card.up { background: var(--cream); animation: zo-flip .3s; } .zo-card span { font-size: clamp(24px, 7vw, 38px); }
.zo-card.found { background: hsl(var(--h), 65%, 80%); } .zo-card.match { outline: 4px solid var(--mint); } .zo-card.miss { outline: 4px solid var(--pink); }
@keyframes zo-flip { from { transform: rotateY(90deg); } }
.zo-simon { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: min(80vw, 320px); margin: 10px auto; }
.zo-pad { aspect-ratio: 1; border-radius: 24px; border: 5px solid var(--ink); background: var(--pc); opacity: .55; cursor: pointer; box-shadow: 0 6px 0 var(--ink); transition: opacity .1s, transform .1s, filter .1s; }
.zo-pad.p0 { border-radius: 90px 24px 24px 24px; } .zo-pad.p1 { border-radius: 24px 90px 24px 24px; } .zo-pad.p2 { border-radius: 24px 24px 24px 90px; } .zo-pad.p3 { border-radius: 24px 24px 90px 24px; }
.zo-simon.live .zo-pad { opacity: .85; } .zo-pad.lit { opacity: 1 !important; filter: brightness(1.35) saturate(1.2); transform: scale(1.04); }
.zo-pad[disabled] { cursor: default; }
.zo-simc { position: absolute; inset: 50% auto auto 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; pointer-events: none; }
.zo-simc b { font: 400 30px/1 Lalezar, sans-serif; color: var(--sun); }
.zo-dots { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; } .zo-dots i { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,.2); } .zo-dots i.on { background: var(--sun); }
.zo-outs { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; font-weight: 800; opacity: .8; }
.zo-stw { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 12px; padding: 14px; margin-bottom: 12px; border-radius: 20px; background: var(--cream); border: 4px solid var(--ink); box-shadow: var(--clay); }
.zo-stw span { font: 400 26px/1.3 Lalezar, sans-serif; padding: 0 6px; border-radius: 10px; opacity: .35; }
.zo-stw span.cur { opacity: 1; outline: 3px solid #8B3FD9; transform: scale(1.15); } .zo-stw span.done { opacity: .15; }
.zo-stbtns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.zo-stbtns button { aspect-ratio: 1.6; border-radius: 18px; border: 4px solid var(--ink); background: var(--sc); cursor: pointer; box-shadow: 0 5px 0 var(--ink); }
.zo-stbtns button:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--ink); }
.zo-lg { display: grid; gap: 6px; max-width: 320px; margin: 0 auto 12px; }
.zo-lgrow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.zo-lgrow span { aspect-ratio: 1; display: grid; place-items: center; border-radius: 12px; border: 3px solid rgba(255,255,255,.3); background: rgba(255,255,255,.06); font: 400 28px/1 Lalezar, sans-serif; }
.zo-lgrow span.r { background: #E8456B; border-color: var(--ink); } .zo-lgrow span.y { background: #F2C200; color: var(--ink); border-color: var(--ink); border-radius: 50%; } .zo-lgrow span.x { background: rgba(0,0,0,.25); border-color: transparent; }
.zo-kb { display: grid; gap: 6px; } .zo-kbr { display: flex; gap: 4px; justify-content: center; }
.zo-kbr button { flex: 1; max-width: 40px; min-height: 48px; border-radius: 10px; border: 2px solid var(--ink); background: var(--cream); color: var(--ink); font: 800 18px/1 "Baloo Bhaijaan 2", sans-serif; cursor: pointer; box-shadow: 0 3px 0 var(--ink); padding: 0; }
.zo-kbr button.wide { max-width: 110px; flex: 2; } .zo-kbr button.go { background: var(--mint); color: #fff; }
.zo-kbr button:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.zo-lgothers { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 12px; }
.zo-lgo { display: flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 12px; background: rgba(255,255,255,.08); } .zo-lgo.won { box-shadow: inset 0 0 0 2px var(--mint); }
.zo-lgo span { display: grid; gap: 2px; } .zo-lgo i { display: flex; gap: 2px; } .zo-lgo em { width: 8px; height: 8px; border-radius: 2px; background: rgba(0,0,0,.3); } .zo-lgo em.r { background: #E8456B; } .zo-lgo em.y { background: #F2C200; }
.zo-sq { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.zo-sqc { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 86px; padding: 6px; border-radius: 16px; border: 3px solid var(--ink); background: var(--cream); color: var(--ink); text-align: center; font-family: inherit; box-shadow: 0 4px 0 var(--ink); }
button.zo-sqc { cursor: pointer; } .zo-sqc span { font-size: 22px; } .zo-sqc b { font-size: 12.5px; line-height: 1.2; }
.zo-sqc.own { background: hsl(var(--h), 60%, 72%); } .zo-sqc i { font-style: normal; font-size: 11px; font-weight: 800; } .zo-sqc.cur { outline: 4px solid var(--sun); }
.zo-opps { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.zo-oppb { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px; border-radius: 18px; border: 3px solid var(--ink); background: var(--cream); color: var(--ink); cursor: pointer; box-shadow: 0 4px 0 var(--ink); }
.zo-oppb.on { background: var(--sun); }
.zo-duel { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 6px 0 12px; }
.zo-dside { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px; border-radius: 18px; background: rgba(255,255,255,.08); }
.zo-dside.on { background: rgba(255,201,60,.25); box-shadow: inset 0 0 0 3px var(--sun); } .zo-dside.win { background: rgba(47,182,124,.3); }
.zo-clock { font: 400 34px/1 Lalezar, sans-serif; } .zo-clock.low { color: #FFB3C0; }
.zo-vs { font: 400 24px/1 Lalezar, sans-serif; color: var(--sun); }

/* العدّ قبل البداية */
.zo-intro { padding-top: 3vh; }
.zo-intro h1 { margin: 6px 0 10px; font: 400 36px/1.2 Lalezar, sans-serif; text-shadow: 0 3px 0 var(--ink); }
.zo-rules { list-style: none; padding: 0; margin: 0 auto 16px; max-width: 440px; display: grid; gap: 8px; text-align: start; }
.zo-rules li { padding: 10px 14px; border-radius: 14px; background: rgba(255,255,255,.1); font-weight: 700; }
.zo-count { display: inline-grid; place-items: center; width: 110px; height: 110px; border-radius: 50%; background: var(--sun); color: var(--ink); border: 5px solid var(--ink); box-shadow: 0 8px 0 var(--ink); font: 400 60px/1 Lalezar, sans-serif; }
.zo-count.pop { animation: zo-pop .45s; }

/* النهاية */
.zo-endv h1 { margin: 6px 0 2px; font: 400 32px/1.2 Lalezar, sans-serif; text-shadow: 0 3px 0 var(--ink); }
.zo-trophy svg { width: 92px; height: 92px; filter: drop-shadow(0 6px 0 rgba(0,0,0,.3)); animation: zo-pop .6s; }
.zo-trophy.sad svg { width: 70px; height: 70px; color: #fff; }
.zo-podium { display: flex; align-items: flex-end; justify-content: center; gap: 10px; margin: 22px 0 10px; }
.zo-pd { flex: 1; max-width: 140px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.zo-pd b { font-size: 15px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .zo-pd i { font: 400 22px/1 Lalezar, sans-serif; font-style: normal; color: var(--sun); }
.zo-pdb { width: 100%; display: grid; place-items: center; border-radius: 16px 16px 0 0; border: 4px solid var(--ink); border-bottom: 0; font: 400 34px/1 Lalezar, sans-serif; color: var(--ink); }
.zo-pd.p1 .zo-pdb { height: 120px; background: linear-gradient(180deg, #FFE08A, #FFC93C); } .zo-pd.p2 .zo-pdb { height: 90px; background: linear-gradient(180deg, #F3F6F7, #C9D3D6); } .zo-pd.p3 .zo-pdb { height: 66px; background: linear-gradient(180deg, #FFC79A, #E58A4A); }
.zo-pd.me .zo-av { outline: 3px solid #fff; outline-offset: 2px; }
.zo-rest { max-width: 420px; margin: 10px auto; } .zo-rest li > span { width: 24px; opacity: .7; }

/* نوافذ */
.zo-confirm { position: absolute; inset: 0; z-index: 10; display: grid; place-items: center; padding: 20px; background: rgba(3,22,27,.6); animation: zo-fade .2s; }
.zo-dialog { max-width: 400px; width: 100%; padding: 20px; text-align: center; }
.zo-dialog h3 { margin: 0 0 16px; font: 400 23px/1.3 Lalezar, sans-serif; }

/* زر الدخول من قائمة الألعاب */
.zo-entry-row { margin: 8px 0 22px; display: flex; justify-content: center; }
.zo-entry { position: relative; display: flex; align-items: center; gap: 14px; width: min(100%, 560px); padding: 14px 18px; border-radius: 24px; border: 4px solid var(--ink, #12303B); cursor: pointer; text-align: start;
  background: linear-gradient(135deg, #12303B 0%, #0E5561 55%, #12B5B0 100%); color: #fff; box-shadow: inset 0 3px 0 rgba(255,255,255,.18), 0 7px 0 #12303B, 0 16px 30px -10px rgba(18,181,176,.6); font-family: "Baloo Bhaijaan 2", Tahoma, sans-serif; overflow: hidden; }
.zo-entry::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.18) 45%, transparent 60%); transform: translateX(-100%); animation: zo-shine 3.5s ease-in-out infinite; }
html.lite .zo-entry::before { animation: none; display: none; }
@keyframes zo-shine { 60%, 100% { transform: translateX(100%); } }
.zo-entry:active { transform: translateY(4px); box-shadow: 0 3px 0 #12303B; }
.zo-entry-i { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: #FFC93C; color: #12303B; border: 3px solid #12303B; box-shadow: 0 4px 0 #12303B; }
.zo-entry-i svg { width: 32px; height: 32px; }
.zo-entry-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.zo-entry-t b { font: 400 25px/1.15 Lalezar, sans-serif; }
.zo-entry-t small { font-size: 13.5px; font-weight: 700; opacity: .85; }
.zo-entry-live { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: #E8456B; border: 2px solid #12303B; font-size: 12px; font-weight: 800; }
.zo-entry-live i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: zo-pulse .9s infinite alternate; }
@media (max-width: 380px) { .zo-entry-live { display: none; } .zo-entry-t b { font-size: 21px; } }
@media (max-width: 360px) { .zo-opts { grid-template-columns: 1fr; } .zo-opt { min-height: 54px; } .zo-doors { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 700px) { .zo-wrap { max-width: 680px; } .zo-q p { font-size: 34px; } }
html.lite #zo::before, html.lite .zo-orbit i { animation: none; }
html.lite #zo .zo-opt, html.lite #zo .zo-btn { transition: none; }
.zo-foot .zo-row { flex-wrap: nowrap; }
.zo-foot .zo-row .zo-btn { white-space: nowrap; font-size: clamp(17px, 4.6vw, 22px); padding-inline: 14px; }

/* ===== 1.3.0: الشخصيات الكرتونية ===== */
.zo-av.av { background: #fff; padding: 0; overflow: hidden; }
.zo-av.av svg { width: 100%; height: 100%; display: block; }
.zo-av.xl { width: 84px; height: 84px; border-width: 4px; box-shadow: 0 5px 0 var(--ink); }
.zo-mebox .zo-me { display: flex; align-items: center; gap: 14px; }
.zo-mebox .zo-field { flex: 1; min-width: 0; }
.zo-avt { margin: 14px 2px 8px; font-weight: 800; font-size: 14px; color: inherit; opacity: .9; }
.zo-avt b { color: var(--org, #FF8A1F); }
.zo-avs { display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, 56px); grid-auto-columns: 56px; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.zo-avo { width: 56px; height: 56px; padding: 0; border-radius: 50%; border: 3px solid var(--ink); background: #fff; overflow: hidden; cursor: pointer; scroll-snap-align: center; box-shadow: 0 3px 0 var(--ink); transition: transform .15s; }
.zo-avo svg { width: 100%; height: 100%; display: block; }
.zo-avo.on { outline: 4px solid var(--sun, #FFC93C); outline-offset: 2px; transform: scale(1.06); }
.zo-avo:active { transform: scale(.92); }
@media (min-width: 560px) { .zo-avs { grid-auto-flow: row; grid-template-rows: none; grid-template-columns: repeat(8, 1fr); grid-auto-columns: auto; overflow: visible; } .zo-avo { width: 100%; height: auto; aspect-ratio: 1; } }

/* ===== ردود الفعل بالإيموجي ===== */
.zo-bar-r { display: inline-flex; align-items: center; gap: 8px; justify-self: end; }
.zo-rbtn { width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--ink); background: var(--sun, #FFC93C); font-size: 21px; line-height: 1; box-shadow: 0 3px 0 var(--ink); cursor: pointer; color: var(--ink); font-weight: 900; padding: 0; flex: 0 0 auto; }
.zo-rbtn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.zo-tray-bg { position: absolute; inset: 0; z-index: 7; }
@keyframes zo-pop { from { transform: scale(.6); opacity: 0; } }
#zo-fx { position: fixed; inset: 0; pointer-events: none; z-index: 2147483000; overflow: hidden; }
.zo-re { position: absolute; bottom: 110px; display: flex; flex-direction: column; align-items: center; gap: 2px; will-change: transform, opacity; }
.zo-re b { font-size: 46px; line-height: 1; filter: drop-shadow(0 4px 0 rgba(0,0,0,.25)); }
.zo-re small { background: #12303B; color: #fff; font: 800 12px/1 "Baloo Bhaijaan 2", Tahoma, sans-serif; padding: 4px 9px; border-radius: 99px; max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zo-re.me small { background: #FFC93C; color: #12303B; }
.zo-re.css { animation: zo-fly 2.2s ease-in forwards; }
@keyframes zo-fly { 0% { transform: translateY(0) scale(.4); opacity: 0; } 15% { transform: translateY(-80px) scale(1.1); opacity: 1; } 100% { transform: translateY(-320px) scale(1); opacity: 0; } }

/* ===== ثأر! ===== */
.zo-revenge { background: linear-gradient(135deg, #FF6B3D, #E8456B) !important; color: #fff !important; }
.zo-revenge span { font: 400 26px/1 Lalezar, sans-serif; }
.zo-rmrow { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 14px; margin: 0 16px 6px; border-radius: 16px; background: rgba(255,255,255,.12); color: #fff; font-weight: 800; flex-wrap: wrap; }
.zo-rmav { display: inline-flex; }
.zo-rmav .zo-av { margin-inline-start: -8px; }
.zo-rmrow b { background: #FFC93C; color: #12303B; padding: 2px 10px; border-radius: 99px; }

/* السيرفر مليان */
.zo-busy { gap: 10px; text-align: center; }
.zo-busy-i { font-size: 72px; line-height: 1; filter: drop-shadow(0 0 24px rgba(255,120,40,.7)); }
.zo-busy h2 { margin: 6px 0 0; font: 400 30px/1.2 Lalezar, sans-serif; color: #FFC93C; }
.zo-busy p { max-width: 360px; margin: 0 auto 10px; line-height: 1.7; font-weight: 700; }
.zo-busy .zo-btn { width: 100%; max-width: 360px; }

/* ===== 1.6: قائمة الردود (عبارات + إيموجي) ===== */
.zo-tray { position: absolute; z-index: 8; top: calc(64px + env(safe-area-inset-top, 0px)); inset-inline-end: 10px; width: min(94vw, 360px); max-height: calc(100% - 90px); overflow: auto; padding: 12px; background: #fff; border: 3px solid var(--ink, #12303B); border-radius: 22px; box-shadow: 0 6px 0 var(--ink, #12303B), 0 24px 50px -16px rgba(0,0,0,.5); animation: zo-trayin .22s cubic-bezier(.2,1.4,.4,1); transform-origin: top right; }
@keyframes zo-trayin { from { opacity: 0; transform: scale(.85) translateY(-8px); } }
.zo-tray-h { margin: 2px 4px 8px; font: 800 13px/1 "Baloo Bhaijaan 2", Tahoma, sans-serif; color: #5B7480; letter-spacing: .3px; }
.zo-tray-h + div { margin-bottom: 12px; } .zo-tray-em { margin-bottom: 0 !important; }
.zo-tray-ph { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.zo-tray-ph button { display: flex; align-items: center; gap: 7px; min-height: 46px; padding: 6px 10px; border: 2px solid #E2ECEF; border-radius: 14px; background: #F6FAFB; color: #12303B; font: 800 15px/1.2 "Baloo Bhaijaan 2", Tahoma, sans-serif; text-align: start; cursor: pointer; }
.zo-tray-ph button i { font-style: normal; font-size: 20px; line-height: 1; }
.zo-tray-ph button:active { transform: scale(.95); background: #FFE7A3; border-color: #FFC93C; }
.zo-tray-em { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.zo-tray-em button { aspect-ratio: 1; max-height: 58px; border: 0; border-radius: 14px; background: #F2F6F7; font-size: 30px; line-height: 1; cursor: pointer; padding: 0; }
.zo-tray-em button:active { transform: scale(.85); background: #FFE7A3; }
.zo-re.ph b { display: flex; align-items: center; gap: 6px; font: 800 19px/1.2 "Baloo Bhaijaan 2", Tahoma, sans-serif; color: #12303B; background: #fff; padding: 9px 14px; border-radius: 18px 18px 18px 6px; border: 3px solid #12303B; box-shadow: 0 4px 0 #12303B; white-space: nowrap; filter: none; }
.zo-re.ph b i { font-style: normal; font-size: 22px; }
.zo-re.ph.me b { background: #FFC93C; }

/* ===== 1.6: الأصحاب والدعوات ===== */
.zo-frbtn { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; width: 100%; margin-top: 12px; padding: 14px 16px; border: 3px solid var(--ink, #12303B); border-radius: 22px; background: linear-gradient(135deg, #E8F7FF, #D3EEFF); color: #12303B; text-align: start; cursor: pointer; box-shadow: 0 5px 0 var(--ink, #12303B); font-family: inherit; }
.zo-frbtn span { grid-row: 1 / 3; font-size: 34px; line-height: 1; }
.zo-frbtn b { font: 400 22px/1.1 Lalezar, sans-serif; } .zo-frbtn small { font-weight: 700; font-size: 13px; opacity: .75; }
.zo-frbtn em { position: absolute; top: -10px; inset-inline-end: 14px; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 99px; background: #FF3B5C; color: #fff; font: 800 14px/26px "Baloo Bhaijaan 2", Tahoma, sans-serif; font-style: normal; text-align: center; border: 2px solid #fff; }
.zo-frbtn:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--ink, #12303B); }
.zo-invfr { display: block; width: 100%; margin: 4px 0 12px; padding: 12px; border: 3px dashed #12303B; border-radius: 18px; background: #FFF3C9; color: #12303B; font: 800 17px/1 "Baloo Bhaijaan 2", Tahoma, sans-serif; cursor: pointer; }
#zf { position: fixed; inset: 0; z-index: 3000; display: grid; align-items: end; justify-items: center; opacity: 0; transition: opacity .2s; font-family: "Baloo Bhaijaan 2", Tahoma, sans-serif; }
#zf.on { opacity: 1; }
.zf-bg { position: absolute; inset: 0; background: rgba(4,20,28,.6); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.zf-card { position: relative; width: min(100%, 520px); max-height: 88vh; overflow: auto; padding: 18px 16px calc(20px + env(safe-area-inset-bottom, 0px)); background: #FFF8EC; color: #12303B; border-radius: 28px 28px 0 0; border: 3px solid #12303B; border-bottom: 0; transform: translateY(30px); transition: transform .3s cubic-bezier(.2,1.2,.4,1); }
#zf.on .zf-card { transform: none; }
.zf-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.zf-h h2 { margin: 0; font: 400 26px/1.2 Lalezar, sans-serif; }
.zf-close { width: 40px; height: 40px; border-radius: 50%; border: 3px solid #12303B; background: #fff; font-size: 16px; font-weight: 900; cursor: pointer; color: #12303B; }
.zf-me { display: grid; justify-items: center; gap: 6px; padding: 14px; border-radius: 20px; background: linear-gradient(160deg, #12303B, #0B4A55); color: #fff; }
.zf-me small { font-weight: 800; opacity: .85; }
.zf-code { font: 800 34px/1 ui-monospace, Menlo, monospace; letter-spacing: 6px; color: #FFD23F; }
.zf-me-a { display: flex; gap: 8px; }
.zf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 18px; border: 3px solid #12303B; border-radius: 16px; background: #FFC93C; color: #12303B; font: 800 16px/1 "Baloo Bhaijaan 2", Tahoma, sans-serif; cursor: pointer; text-decoration: none; box-shadow: 0 4px 0 #12303B; }
.zf-btn.sm { padding: 8px 14px; font-size: 14px; border-width: 2px; box-shadow: 0 3px 0 #061A20; }
.zf-btn.wa { background: #25D366; color: #fff; }
.zf-btn:disabled { opacity: .6; }
.zf-add { display: flex; gap: 8px; margin-top: 14px; }
.zf-add input { flex: 1; min-width: 0; padding: 12px 14px; border: 3px solid #12303B; border-radius: 16px; font: 800 22px/1 ui-monospace, Menlo, monospace; letter-spacing: 4px; text-transform: uppercase; background: #fff; color: #12303B; }
.zf-msg { min-height: 20px; margin: 6px 4px 0; font-weight: 800; font-size: 14px; } .zf-msg.ok { color: #0E8C5F; } .zf-msg.bad { color: #D62D4B; }
.zf-sh { margin: 14px 4px 8px; font: 400 19px/1.2 Lalezar, sans-serif; }
.zf-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.zf-list li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 18px; background: #fff; border: 2px solid #E8DFCC; }
.zf-av { position: relative; flex: none; width: 46px; height: 46px; border-radius: 50%; overflow: hidden; border: 3px solid #12303B; background: #E8F7FF; }
.zf-av svg { width: 100%; height: 100%; display: block; }
.zf-av i { position: absolute; bottom: 2px; right: 2px; width: 12px; height: 12px; border-radius: 50%; background: #B9C4C8; border: 2px solid #fff; }
.zf-list li.on .zf-av i { background: #2EE59D; }
.zf-n { display: grid; flex: 1; min-width: 0; } .zf-n b { font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .zf-n small { font-size: 12px; font-weight: 700; opacity: .7; }
.zf-list li.on .zf-n small { color: #0E8C5F; opacity: 1; }
.zf-inv-b { padding: 9px 14px; border: 2px solid #12303B; border-radius: 14px; background: #FFC93C; color: #12303B; font: 800 15px/1 "Baloo Bhaijaan 2", Tahoma, sans-serif; cursor: pointer; box-shadow: 0 3px 0 #12303B; white-space: nowrap; }
.zf-inv-b.sent { background: #D7F7E9; box-shadow: none; }
.zf-x { width: 34px; height: 34px; border-radius: 50%; border: 0; background: #F3EDE1; color: #8A7F6E; font-weight: 900; cursor: pointer; }
.zf-empty, .zf-hint, .zf-loading, .zf-err { text-align: center; font-weight: 700; opacity: .8; margin: 10px 4px; }
#zf-inv { position: fixed; z-index: 3100; left: 50%; top: calc(env(safe-area-inset-top, 0px) + 12px); width: min(94vw, 440px); display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; align-items: center; padding: 12px; border-radius: 22px; background: #fff; color: #12303B; border: 3px solid #12303B; box-shadow: 0 6px 0 #12303B, 0 20px 40px -10px rgba(0,0,0,.5); transform: translate(-50%, -150%); transition: transform .4s cubic-bezier(.2,1.4,.4,1); font-family: "Baloo Bhaijaan 2", Tahoma, sans-serif; }
#zf-inv.on { transform: translate(-50%, 0); }
.zf-inv-av { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; border: 3px solid #12303B; background: #E8F7FF; }
.zf-inv-av svg { width: 100%; height: 100%; display: block; }
.zf-inv-t { display: grid; } .zf-inv-t b { font: 400 22px/1.1 Lalezar, sans-serif; } .zf-inv-t span { font-weight: 700; font-size: 14px; }
.zf-inv-a { grid-column: 1 / -1; display: grid; grid-template-columns: 2fr 1fr; gap: 8px; }
.zf-inv-a button { padding: 11px; border: 2px solid #12303B; border-radius: 14px; background: #F3EDE1; color: #12303B; font: 800 16px/1 "Baloo Bhaijaan 2", Tahoma, sans-serif; cursor: pointer; }
.zf-inv-a button.go { background: #2EE59D; box-shadow: 0 3px 0 #12303B; }
@media (prefers-reduced-motion: reduce) { #zf-inv, .zf-card { transition: none; } }
.zf-add input::placeholder { letter-spacing: 0; font: 700 17px/1 "Baloo Bhaijaan 2", Tahoma, sans-serif; text-transform: none; }
