/* ⚡ لا تفوّلها! — ثيم النيون */
.vt { max-width: 520px; margin: 0 auto; padding: 14px 16px 40px; color: #f5f3ff; }
.vt-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 20px; padding: 18px; text-align: center; box-shadow: 0 0 30px -12px #a855f7; }
.vt-card h1 { margin: 4px 0 6px; font-size: 30px; text-shadow: 0 0 14px #22d3ee; }
.vt-tag { color: #b9b2dc; margin: 0 0 12px; }
.vt-rules { text-align: right; list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 7px; font-size: 15px; }
.vt-rules li { background: rgba(255,255,255,.05); border-radius: 12px; padding: 8px 10px; }
.vt-daily { color: #facc15; font-weight: 800; margin: 8px 0; }
.vt-best { color: #22d3ee; font-weight: 700; }
.vt-go { font-size: 20px; padding: 14px 40px; margin-top: 6px; }
.vt-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }
.vt-note { color: #b9b2dc; font-size: 13px; margin-top: 12px; }
.vt-final { font-size: 22px; margin: 6px 0; } .vt-final b { font-size: 44px; color: #facc15; text-shadow: 0 0 16px #facc15; }
.vt-log { list-style: none; padding: 0; margin: 8px 0; display: grid; gap: 5px; font-size: 14px; }
.vt-log li { background: rgba(255,255,255,.05); border-radius: 10px; padding: 6px 10px; }

.vt-game { user-select: none; -webkit-user-select: none; }
.vt-hud { display: flex; justify-content: space-between; gap: 6px; font-size: 14px; background: rgba(255,255,255,.06); border-radius: 14px; padding: 8px 10px; margin-bottom: 10px; }
.vt-hud b { color: #22d3ee; }
/* 🔄 زر إعادة الجولة (أيقونة Lucide) + سؤال التأكيد — طلب علي 2026-11-15 */
.vt-hud { align-items: center; }
.vt-restart { flex: none; display: grid; place-items: center; width: 34px; height: 34px; margin: -4px 0; padding: 0; border: 1.5px solid #22d3ee; border-radius: 50%;
  background: rgba(34, 211, 238, .12); color: #67e8f9; cursor: pointer; box-shadow: 0 0 10px rgba(34, 211, 238, .45); transition: background .2s, box-shadow .2s, transform .15s; }
.vt-restart:hover { background: rgba(34, 211, 238, .25); box-shadow: 0 0 16px rgba(34, 211, 238, .75); }
.vt-restart:active { transform: scale(.9); }
.vt-restart:focus-visible { outline: 2px solid #f0abfc; outline-offset: 2px; }
.vt-restart.spin svg { animation: vtSpinBack .55s cubic-bezier(.22, 1, .36, 1); }
@keyframes vtSpinBack { from { transform: rotate(0); } to { transform: rotate(-360deg); } }
.vt-ask { margin: -2px 0 10px; padding: 10px 12px; border-radius: 14px; border: 1.5px solid rgba(168, 85, 247, .6); background: linear-gradient(160deg, #2a175f, #1a0d40); box-shadow: 0 0 18px rgba(168, 85, 247, .35); text-align: center; }
.vt-ask[hidden] { display: none; }
.vt-ask p { margin: 0 0 8px; font-weight: 700; font-size: 14.5px; }
.vt-ask div { display: flex; gap: 8px; justify-content: center; }
.vt-ask button { flex: 1; max-width: 150px; min-height: 40px; border-radius: 99px; font: inherit; font-weight: 800; font-size: 14px; cursor: pointer; }
.vt-ask .yes { border: 0; color: #fff; background: linear-gradient(90deg, #22d3ee, #a855f7); box-shadow: 0 0 12px rgba(34, 211, 238, .5); }
.vt-ask .no { border: 1.5px solid #3b2c8a; color: #f5f3ff; background: rgba(255, 255, 255, .06); }
@media (prefers-reduced-motion: reduce) { .vt-restart.spin svg { animation: none; } }
.vt-stage { position: relative; height: min(68vh, 520px); border-radius: 24px; overflow: hidden; touch-action: none; cursor: pointer;
  background: radial-gradient(circle at 50% 85%, rgba(34,211,238,.18), transparent 55%), linear-gradient(#1d0f47, #140a33); border: 1px solid rgba(255,255,255,.14); -webkit-touch-callout: none; }
.vt-stage.danger { box-shadow: inset 0 0 60px -10px #f43f5e; }
.vt-stage.flash { animation: vtFlash .25s; }
@keyframes vtFlash { 50% { filter: brightness(2.2) hue-rotate(40deg); } }
.vt-stage.glitch { animation: vtGlitch .18s steps(2) 2; }
@keyframes vtGlitch { 50% { filter: brightness(.25) contrast(2); transform: translateX(4px); } }

.vt-meter { position: absolute; right: 18px; top: 22px; bottom: 22px; width: 26px; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); }
.vt-fill { position: absolute; bottom: 0; left: 0; right: 0; height: 0; border-radius: 14px; background: linear-gradient(0deg, #4ade80, #22d3ee 45%, #ec4899 75%, #f43f5e); box-shadow: 0 0 16px #22d3ee; }
.vt-gold { position: absolute; left: -6px; right: -6px; border: 2px solid #facc15; border-radius: 8px; background: rgba(250,204,21,.25); box-shadow: 0 0 14px #facc15; z-index: 1; }
.vt-tick { position: absolute; left: 50%; transform: translate(-50%, 50%); font-size: 20px; }

.vt-volt { position: absolute; top: 18px; left: 0; right: 60px; text-align: center; }
.vt-volt b { display: block; font-size: clamp(44px, 13vw, 60px); line-height: 1; font-variant-numeric: tabular-nums; text-shadow: 0 0 18px #22d3ee; }
.vt-volt small { color: #b9b2dc; }
.vt-volt.hot b { color: #ec4899; text-shadow: 0 0 20px #ec4899; }
.vt-volt.crit b { color: #f43f5e; text-shadow: 0 0 24px #f43f5e; }

.vt-lock { position: absolute; top: 120px; left: 50%; transform: translateX(-50%); background: #f43f5e; color: #fff; font-weight: 800; font-size: 22px; padding: 8px 18px; border-radius: 14px; box-shadow: 0 0 24px #f43f5e; z-index: 3; animation: vtPulse .3s infinite alternate; }
@keyframes vtPulse { to { transform: translateX(-50%) scale(1.08); } }

.vt-man { position: absolute; bottom: 44px; left: 10px; right: 54px; top: 92px; display: flex; align-items: flex-end; justify-content: center; pointer-events: none; }
.vt-man img { max-width: 100%; max-height: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 18px; -webkit-mask-image: radial-gradient(circle at 50% 55%, #000 62%, transparent 72%); mask-image: radial-gradient(circle at 50% 55%, #000 62%, transparent 72%); }
.vt-man.happy { animation: vtJump .5s; }
.vt-robot { position: absolute; bottom: 70px; left: 50%; width: 170px; margin-left: -115px; }
.vt-robot svg { width: 100%; overflow: visible; }
.rb-head { fill: #a855f7; stroke: #f5f3ff; stroke-width: 2; }
.rb-body { fill: #3b82f6; stroke: #f5f3ff; stroke-width: 2; }
.rb-pad { fill: #22d3ee; filter: drop-shadow(0 0 8px #22d3ee); }
.rb-bulb { fill: #facc15; }
.rb-pupil { fill: #22d3ee; transition: r .08s; }
.rb-batt { fill: #4ade80; transform-origin: 60px 122px; }
.rb-spark { opacity: 0; }
.vt-robot.tell .rb-spark { opacity: 1; animation: vtPulse .12s infinite alternate; }
.vt-robot.fried .rb-head, .vt-robot.fried .rb-body { fill: #1a1a1a; }
.vt-robot.happy { animation: vtJump .5s; }
@keyframes vtJump { 40% { transform: translateY(-30px); } }

.vt-hint { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: #b9b2dc; font-weight: 700; margin: 0; }
.vt-pop { position: absolute; top: 42%; left: 0; right: 60px; text-align: center; font-size: 30px; font-weight: 800; pointer-events: none; opacity: 0; }
.vt-pop.show { animation: vtPop 1.1s ease-out; }
@keyframes vtPop { 0% { opacity: 0; transform: scale(.6); } 15% { opacity: 1; transform: scale(1.1); } 80% { opacity: 1; } 100% { opacity: 0; transform: translateY(-40px); } }
/* 📱 وقت اللعب (طلب علي 2026-11-14): الأزرار اللي فوق تختفي، واللعبة بحجم الشاشة بالضبط بدون تنزيل.
   يرجع بزر الرجوع حق الجوال. اضغط في أي مكان بالمربع */
body.vt-playing { overflow: hidden; overscroll-behavior: none; }
body.vt-playing .site-bar, body.vt-playing .site-back, body.vt-playing .chat-open, body.vt-playing .notice-box, body.vt-playing #noticeBox { display: none !important; }
body.vt-playing .vt { padding: max(8px, env(safe-area-inset-top)) 10px max(8px, env(safe-area-inset-bottom)); }
body.vt-playing .vt-game { display: flex; flex-direction: column; height: calc(100dvh - max(16px, env(safe-area-inset-top) + env(safe-area-inset-bottom))); }
body.vt-playing .vt-mode:empty { display: none; }
body.vt-playing .vt-hud { flex: none; margin-bottom: 8px; }
body.vt-playing .vt-stage { flex: 1 1 auto; height: auto; min-height: 0; }
body.vt-playing .vt-man { align-items: center; top: 110px; bottom: 50px; }
/* ⚡💨 مؤثرات حية فوق الرجّال (طلب علي: أوقعي، دخان وشرار) */
.vt-fx { position: absolute; inset: 0; pointer-events: none; z-index: 2; overflow: hidden; }
.vt-stage::after { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 1; background: radial-gradient(circle at 50% 55%, rgba(186, 230, 253, .55), transparent 60%); opacity: var(--flick, 0); mix-blend-mode: screen; }
.vt-spark { position: absolute; transform: translate(-50%, -50%) rotate(var(--r, 0deg)); font-size: 26px; color: #a5f3fc; text-shadow: 0 0 10px #22d3ee, 0 0 22px #67e8f9; animation: vtSpark .26s steps(2) forwards; }
.vt-spark.big { font-size: 44px; }
@keyframes vtSpark { 0% { opacity: 1; transform: translate(-50%, -50%) scale(1.3) rotate(-15deg); } 50% { opacity: .4; } 100% { opacity: 0; transform: translate(-50%, -50%) scale(.7) rotate(20deg); } }
.vt-smoke { position: absolute; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: radial-gradient(circle, rgba(203, 213, 225, .75), rgba(148, 163, 184, .35) 55%, transparent 70%); filter: blur(2px); animation: vtSmoke 1.6s ease-out forwards; }
.vt-smoke.big { width: 90px; height: 90px; margin: -45px 0 0 -45px; background: radial-gradient(circle, rgba(71, 85, 105, .85), rgba(30, 41, 59, .5) 55%, transparent 70%); animation-duration: 2s; }
@keyframes vtSmoke { 0% { opacity: 0; transform: translateY(0) scale(.5); } 15% { opacity: .9; } 100% { opacity: 0; transform: translateY(-130px) translateX(20px) scale(2.2); } }
/* 📅 تحدي اليوم + 🎯 تمرين + توب اليوم (طلب علي 2026-11-14) */
.vt-go { display: block; width: 100%; box-sizing: border-box; }
.vt-go:disabled { opacity: .6; }
.vt-practice { margin-top: 8px; font-size: 17px; padding: 11px 20px; }
.vt-bnote { color: #c4b5fd; font-size: 13px; margin: 6px 0 0; }
.vt-mode { margin: 0 0 6px; text-align: center; color: #facc15; font-weight: 800; }
.vt-board { margin-top: 14px; text-align: right; }
.vt-board h3 { margin: 0 0 8px; font-size: 16px; color: #67e8f9; text-align: center; }
.vt-top { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.vt-top li { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 12px; background: rgba(255,255,255,.05); }
.vt-top li i { font-style: normal; width: 24px; text-align: center; }
.vt-top li b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vt-top li small { color: #facc15; font-weight: 800; }
.vt-face { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; overflow: hidden; border: 2px solid #a855f7; background: #2a1b5c; font-weight: 800; font-size: 13px; }
.vt-face img, .vt-face svg { width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: reduce) { .vt-stage.glitch, .vt-stage.flash, .vt-lock { animation: none; } }
