/* شكل تطبيق العميل داخل جهاز «مشروعك» */
.tk .devices { position: relative; min-height: 360px; align-items: flex-start; padding-top: 6px; }
.tk .browser { transform: rotateY(6deg) rotateX(3deg); }
.ui { position: relative; display: flex; flex-direction: column; gap: 7px; padding: 10px; min-height: 300px; overflow: hidden; background: linear-gradient(180deg, #fff, #f4f2fa); color: #1c1a24; font-size: 10px; }
.ui.app { min-height: 330px; border-radius: 18px; padding: 8px 7px; gap: 6px; }
.ux { position: relative; }
.ux.nw { animation: ux-in .7s cubic-bezier(.2, 1.5, .4, 1) both; }
@keyframes ux-in { 0% { opacity: 0; transform: translateY(-14px) scale(.85); filter: blur(4px); } 100% { opacity: 1; transform: none; filter: none; } }
.ux.nw::after { content: ""; position: absolute; inset: -3px; border-radius: 12px; box-shadow: 0 0 0 2px #f1b35c; animation: ux-ring 1.2s ease-out forwards; pointer-events: none; }
@keyframes ux-ring { from { opacity: 1; } to { opacity: 0; transform: scale(1.06); } }

.ux-top, .ux-a-top { display: flex; align-items: center; gap: 5px; }
.ux .logo { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 6px; background: linear-gradient(135deg, #f1b35c, #e8992e); color: #1a1206; font-weight: 900; font-size: 10px; }
.ux .sp { flex: 1; }
.ux .lang { padding: 2px 5px; border-radius: 6px; background: #eeeaf8; font-size: 8px; font-weight: 700; }
.ux .cart { position: relative; font-size: 13px; } .ux .cart i { position: absolute; top: -4px; right: -5px; width: 11px; height: 11px; border-radius: 50%; background: #ff4d6d; color: #fff; font-size: 7px; font-style: normal; display: grid; place-items: center; }
.ux .me { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #eeeaf8; font-size: 10px; }
.ux-search { padding: 6px 8px; border-radius: 9px; background: #fff; box-shadow: 0 2px 6px #2a1f5a14; color: #999; }
.ux-hero { display: flex; align-items: center; justify-content: space-between; padding: 12px 10px; border-radius: 12px; color: #fff; background: linear-gradient(120deg, #8b6cff, #ff6f91); font-size: 11px; }
.ux .coupon { padding: 2px 6px; border-radius: 6px; background: #ffd34d; color: #1a1206; font-weight: 900; animation: wob 1.6s ease-in-out infinite; }
@keyframes wob { 50% { transform: rotate(-8deg) scale(1.1); } }
.ux-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ui.site .ux-grid { grid-template-columns: repeat(4, 1fr); }
.ux .pr { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 7px 4px; border-radius: 10px; background: #fff; box-shadow: 0 3px 8px #2a1f5a12; }
.ux .pr span { font-size: 20px; } .ux .pr small { font-weight: 800; font-size: 8.5px; } .ux .pr em { font-style: normal; color: #f1b35c; font-size: 7px; letter-spacing: -1px; }
.ux-book { display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 10px; background: #fff; box-shadow: 0 2px 6px #2a1f5a12; }
.ux-book .days { display: flex; gap: 3px; flex: 1; } .ux-book .days span { flex: 1; text-align: center; padding: 4px 0; border-radius: 6px; background: #f2f0f8; font-weight: 700; }
.ux-book .days span.on { background: #8b6cff; color: #fff; } .ux-book button { border: 0; border-radius: 7px; background: #1c1a24; color: #fff; font: inherit; font-size: 9px; padding: 5px 7px; }
.ux-video { display: flex; align-items: center; justify-content: center; gap: 6px; height: 54px; border-radius: 10px; background: linear-gradient(135deg, #1c1a24, #3b2f63); color: #fff; } .ux-video span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #fff; color: #1c1a24; font-size: 10px; }
.ux-map { height: 70px; border-radius: 10px; overflow: hidden; background: linear-gradient(#cfe9d6 1.5px, transparent 1.5px) 0 0 / 16px 16px, linear-gradient(90deg, #cfe9d6 1.5px, transparent 1.5px) 0 0 / 16px 16px, #e9f6ec; }
.ux-map .pin { position: absolute; font-size: 16px; animation: ride 3.4s ease-in-out infinite alternate; } .ux-map .home { position: absolute; right: 10%; top: 18%; font-size: 15px; }
@keyframes ride { from { left: 6%; top: 55%; } to { left: 62%; top: 18%; } }
.ux-add { padding: 7px; border-radius: 9px; background: #1c1a24; color: #fff; text-align: center; font-weight: 800; }
.ux-pay { padding: 7px; border-radius: 9px; background: #000; color: #fff; text-align: center; font-weight: 800; font-size: 10.5px; }
.ux-notif { position: absolute !important; top: 6px; left: 6px; right: 6px; z-index: 4; padding: 7px 9px; border-radius: 11px; background: #ffffffee; box-shadow: 0 6px 18px #0003; font-weight: 700; animation: notif 4s ease-in-out infinite !important; }
@keyframes notif { 0%, 10% { transform: translateY(-140%); opacity: 0; } 20%, 70% { transform: none; opacity: 1; } 85%, 100% { transform: translateY(-140%); opacity: 0; } }
.ux-ai { position: absolute !important; bottom: 34px; inset-inline-start: 6px; z-index: 3; padding: 5px 8px; border-radius: 10px 10px 10px 3px; background: linear-gradient(135deg, #8b6cff, #c49bff); color: #fff; font-weight: 700; box-shadow: 0 6px 14px #8b6cff55; animation: float 3s ease-in-out infinite; }
.ux-chat, .ux-wa { position: absolute !important; bottom: 6px; z-index: 3; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; box-shadow: 0 6px 14px #0003; font-size: 12px; }
.ux-chat { inset-inline-end: 6px; background: #1c1a24; } .ux-wa { inset-inline-end: 36px; background: #25d366; font-size: 9px; }
@keyframes float { 50% { transform: translateY(-4px); } }

/* لوحة التحكم */
.ui.admin { background: linear-gradient(180deg, #fbfaff, #eeebf7); }
.ux-kpi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.ux-kpi div { padding: 7px; border-radius: 9px; background: #fff; box-shadow: 0 2px 6px #2a1f5a12; } .ux-kpi small { display: block; color: #888; font-size: 8px; } .ux-kpi b { font-size: 13px; }
.ux-chart { display: flex; align-items: flex-end; gap: 4px; height: 64px; padding: 6px; border-radius: 10px; background: #fff; box-shadow: 0 2px 6px #2a1f5a12; }
.ux-chart i { flex: 1; height: var(--h); border-radius: 3px 3px 0 0; background: linear-gradient(180deg, #8b6cff, #c49bff); animation: bar 1s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes bar { from { height: 0; } }
.ux-vend, .ux-exp { padding: 6px 8px; border-radius: 9px; background: #fff; box-shadow: 0 2px 6px #2a1f5a12; font-weight: 700; }
.ux-stock { display: flex; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 9px; background: #fff; font-weight: 700; } .ux-stock span { flex: 1; height: 6px; border-radius: 6px; background: #eee; overflow: hidden; } .ux-stock span i { display: block; height: 100%; width: var(--w); background: #6fe3b4; }
.ux-rows div { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 6px; padding: 6px 0; border-bottom: 1px solid #ece9f5; } .ux-rows span { height: 6px; border-radius: 4px; background: #e2def0; }
.mini-admin { position: absolute; bottom: 4px; inset-inline-start: 0; z-index: 3; width: 130px; padding: 8px; border-radius: 12px; background: #1c1a24; color: #fff; font-size: 9px; box-shadow: 0 14px 30px #000a; }
.mini-admin b { color: #ffd98e; } .mini-admin .ux-chart { height: 40px; margin-top: 4px; background: #ffffff10; box-shadow: none; }
.mini-admin.nw { animation: ux-in .7s cubic-bezier(.2, 1.5, .4, 1) both; }
@media (prefers-reduced-motion: reduce) { .ux, .ux *, .mini-admin { animation: none !important; } }

/* الأساس لكل نوع */
.ux .nav { display: flex; gap: 6px; } .ux .nav i { font-style: normal; font-size: 8px; color: #6b6780; font-weight: 700; }
.ux-base-land, .ux-base-web { display: flex; flex-direction: column; gap: 7px; }
.ux-base-land .hero-img { height: 64px; border-radius: 12px; display: grid; place-items: center; font-size: 30px; background: radial-gradient(circle at 70% 30%, #ffe2a2, transparent 60%), linear-gradient(135deg, #1c1a24, #3b2f63); }
.ux-base-land .cta { align-self: center; padding: 6px 16px; border-radius: 999px; background: #1c1a24; color: #fff; font-weight: 800; }
.feat3, .svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.feat3 span, .svc span { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 7px 3px; border-radius: 10px; background: #fff; box-shadow: 0 2px 6px #2a1f5a12; font-weight: 700; font-size: 9px; }
.feat3 i, .svc i { font-style: normal; font-size: 15px; }
.quote { padding: 8px; border-radius: 10px; background: #fff7e8; text-align: center; font-weight: 700; } .quote small { display: block; color: #f1b35c; }
.about { display: flex; gap: 7px; align-items: center; padding: 7px; border-radius: 10px; background: #fff; box-shadow: 0 2px 6px #2a1f5a12; }
.about .ph { display: grid; place-items: center; width: 40px; height: 34px; border-radius: 8px; background: #eeeaf8; font-size: 16px; }
.about span:last-child { flex: 1; display: flex; flex-direction: column; gap: 3px; } .about i { height: 4px; border-radius: 3px; background: #e2def0; } .about i:last-child { width: 70%; }
.form { display: flex; flex-direction: column; gap: 4px; } .form span { padding: 5px 7px; border-radius: 7px; background: #fff; border: 1px solid #ece9f5; color: #999; font-size: 8.5px; min-height: 16px; }
.form b { align-self: flex-start; padding: 4px 12px; border-radius: 7px; background: #8b6cff; color: #fff; font-size: 9px; }
.ux-base-cats { display: flex; gap: 4px; overflow: hidden; } .ux-base-cats span { flex: none; padding: 4px 8px; border-radius: 999px; background: #fff; box-shadow: 0 2px 5px #2a1f5a12; font-weight: 700; font-size: 8.5px; } .ux-base-cats span:first-child { background: #1c1a24; color: #fff; }
.ux-base-deal { display: flex; align-items: center; gap: 6px; padding: 7px 9px; border-radius: 10px; background: linear-gradient(90deg, #fff1d6, #ffe2a2); } .ux-base-deal em { margin-inline-start: auto; font-style: normal; font-weight: 900; color: #c2410c; }
.ux-base-sellers { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; } .ux-base-sellers span { display: flex; align-items: center; gap: 4px; padding: 6px; border-radius: 9px; background: #fff; box-shadow: 0 2px 6px #2a1f5a12; font-weight: 700; font-size: 8.5px; } .ux-base-sellers i { font-style: normal; font-size: 13px; } .ux-base-sellers em { margin-inline-start: auto; font-style: normal; color: #f1b35c; }
.ux-base-apphome { display: flex; flex-direction: column; gap: 6px; } .ux-base-apphome .tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; } .ux-base-apphome .tiles span { display: grid; place-items: center; height: 44px; border-radius: 12px; background: #fff; box-shadow: 0 3px 8px #2a1f5a12; font-size: 20px; }
.tabbar { margin-top: auto; display: flex; justify-content: space-around; padding: 6px 0 2px; border-top: 1px solid #ece9f5; font-size: 13px; } .tabbar span { opacity: .45; } .tabbar span.on { opacity: 1; }
/* الداشبورد بقائمة جانبية */
.ui.admin { display: grid; grid-template-columns: 62px 1fr; grid-auto-rows: min-content; column-gap: 8px; }
.ui.admin > * { grid-column: 2; } .ui.admin > .side { grid-column: 1; grid-row: 1 / span 10; }
.side { display: flex; flex-direction: column; gap: 4px; padding: 6px 4px; border-radius: 10px; background: #1c1a24; } .side span { padding: 5px 4px; border-radius: 6px; color: #a9a6b2; font-size: 7.5px; font-weight: 700; } .side span.on { background: #ffffff1a; color: #fff; }

/* جهاز «مشروعك» أكبر ومريح — للشاشات الكبيرة بس، في الجوال يبقى فوق الشات صغير */
@media (min-width: 1001px) {
  #app { max-width: 1480px; }
  .tk { grid-template-columns: minmax(0, 1fr) minmax(420px, 600px); }
  .tk .pv { padding: 26px; }
  .tk .devices { min-height: 560px; }
  .tk .ui { font-size: 13px; gap: 10px; padding: 14px; min-height: 470px; }
  .tk .ui.app { min-height: 520px; padding: 12px 10px; gap: 9px; }
  .tk .phone { width: 220px; padding: 34px 10px 14px; border-radius: 36px; }
  .tk .phone .notch { width: 64px; height: 14px; margin-left: -32px; top: 12px; }
  .tk .devices.both .phone { margin-inline-start: -60px; margin-bottom: -24px; }
  .tk .browser .bar span { font-size: 12px; }
  .tk .ux .logo { width: 24px; height: 24px; font-size: 13px; }
  .tk .ux .lang, .tk .ux .nav i, .tk .ux-base-cats span, .tk .ux-base-sellers span, .tk .feat3 span, .tk .svc span, .tk .form span, .tk .form b, .tk .side span { font-size: 11px; }
  .tk .ux .me, .tk .ux .cart { font-size: 16px; } .tk .ux .me { width: 24px; height: 24px; }
  .tk .ux-hero { padding: 16px 14px; font-size: 14px; }
  .tk .ux .pr { padding: 10px 6px; } .tk .ux .pr span { font-size: 28px; } .tk .ux .pr small { font-size: 11px; } .tk .ux .pr em { font-size: 9px; }
  .tk .ux-map { height: 100px; } .tk .ux-map .pin, .tk .ux-map .home { font-size: 22px; }
  .tk .ux-chart { height: 96px; } .tk .ux-kpi small { font-size: 10px; } .tk .ux-kpi b { font-size: 17px; }
  .tk .ui.admin { grid-template-columns: 86px 1fr; }
  .tk .ux-base-land .hero-img { height: 96px; font-size: 40px; } .tk .feat3 i, .tk .svc i { font-size: 20px; }
  .tk .ux-base-apphome .tiles span { height: 60px; font-size: 26px; }
  .tk .tabbar { font-size: 18px; }
  .tk .ux-chat, .tk .ux-wa { width: 34px; height: 34px; font-size: 15px; }
  .tk .pv-price b { font-size: 34px; }
}

/* ================= «مشروعك» كجهاز ألعاب: شاشة، HUD، أرضية نيون، وأزرار ================= */
.tk .pv.gb { padding: 16px 20px 26px; border-radius: 28px 28px 80px 28px; border: 1px solid #ffffff2e; overflow: hidden;
  background: radial-gradient(120% 60% at 20% 0%, #8a6cff55, transparent 60%), linear-gradient(160deg, #6446d6 0%, #3a2491 48%, #22155a 100%);
  box-shadow: inset 0 2px 0 #ffffff4d, inset 0 -8px 0 #00000040, inset 0 0 0 6px #ffffff08, 0 40px 80px -30px #000, 0 0 90px -25px #7c5cff; }
.gb::before { content: ""; position: absolute; inset: 0 0 auto; height: 45%; background: linear-gradient(180deg, #ffffff1f, transparent); pointer-events: none; border-radius: inherit; }
.gb-top { position: relative; display: flex; align-items: center; gap: 8px; padding: 0 6px 10px; direction: ltr; }
.gb-top .led { width: 9px; height: 9px; border-radius: 50%; background: #3dff8f; box-shadow: 0 0 10px #3dff8f, 0 0 2px #fff inset; animation: led 2.4s ease-in-out infinite; }
@keyframes led { 50% { opacity: .55; } }
.gb-top small, .gb-ss span, .hud-lv small, .pv-price small, .gb-toast small { font-family: "Press Start 2P", monospace; font-size: 7px; letter-spacing: 1px; color: #ffffff8c; }
.gb-brand { margin-left: auto; font-style: italic; font-weight: 900; font-size: 15px; color: #fff; letter-spacing: .5px; }
.gb-brand em { margin-left: 5px; font-family: "Press Start 2P", monospace; font-style: normal; font-size: 9px; color: #ffd98e; text-shadow: 0 0 10px #f1b35c; }

/* الشاشة */
.gb-screen { position: relative; border: 12px solid #17132a; border-radius: 16px 16px 34px 16px; overflow: hidden; isolation: isolate;
  background: radial-gradient(100% 70% at 50% 100%, #3b1a6b, transparent 70%), linear-gradient(180deg, #07051a, #140b33); box-shadow: inset 0 0 40px #000c, 0 0 0 1px #ffffff1a, 0 2px 0 #ffffff26; }
.gb-screen::after { content: ""; position: absolute; inset: 0; z-index: 8; pointer-events: none; border-radius: inherit;
  background: repeating-linear-gradient(0deg, transparent 0 2px, #00000026 2px 3px), radial-gradient(120% 90% at 50% 50%, transparent 60%, #0000008c); }
.gb-screen::before { content: ""; position: absolute; inset: 0; z-index: 9; pointer-events: none; background: linear-gradient(125deg, #ffffff14, transparent 35%); }

/* HUD: المستوى، الخبرة، النقاط */
.gb-hud { position: relative; z-index: 3; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 10px 14px; background: #0000008c; border-bottom: 2px solid #ffffff17; }
.hud-lv { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 8px; border: 2px solid #7dffb066; border-radius: 6px; background: #7dffb012; }
.hud-lv b { font-family: "Press Start 2P", monospace; font-size: 12px; color: #7dffb0; text-shadow: 0 0 10px #7dffb0aa; direction: ltr; }
.hud-xp { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.hud-xp small { overflow: hidden; color: #e9e4ff; font-size: 12.5px; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }
.hud-xp span { position: relative; height: 12px; padding: 2px; border: 2px solid #ffffff40; border-radius: 3px; background: #0008; }
.hud-xp i { display: block; height: 100%; border-radius: 1px; background: repeating-linear-gradient(90deg, #7dffb0 0 7px, #3ccf7c 7px 9px); box-shadow: 0 0 12px #7dffb0aa; transition: width .9s cubic-bezier(.3, 1.4, .4, 1); }
.pv.clear .hud-xp i { background: repeating-linear-gradient(90deg, #ffd98e 0 7px, #f1b35c 7px 9px); box-shadow: 0 0 14px #f1b35c; }
.gb .pv-price { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; opacity: .45; }
.gb .pv-price.on { opacity: 1; }
.gb .pv-price small { display: inline-flex; align-items: center; gap: 6px; color: #ffd98ecc; }
.gb .pv-price b { display: flex; align-items: baseline; gap: 5px; font-family: "Press Start 2P", monospace; font-size: 17px; font-weight: 400; color: #ffd98e; text-shadow: 2px 2px 0 #9a5a10, 0 0 18px #f1b35c88; }
.gb .pv-price em { font-family: inherit; font-size: 8px; color: #f1b35c; text-shadow: none; }
.coin { display: inline-block; width: 11px; height: 11px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff4c4, #ffcc4d 45%, #c88a12); box-shadow: 0 0 8px #ffcc4d; animation: coin 1.2s linear infinite; }
@keyframes coin { 50% { transform: scaleX(.15); } }

/* المسرح: شمس وأرضية نيون تتحرك، والأجهزة واقفة فوقها */
.gb-stage { position: relative; z-index: 1; min-height: 430px; padding: 18px 14px 12px; overflow: hidden;
  background-image: radial-gradient(1.5px 1.5px at 12% 18%, #fff9, transparent), radial-gradient(1px 1px at 72% 12%, #fff8, transparent), radial-gradient(1.5px 1.5px at 40% 30%, #fff6, transparent), radial-gradient(1px 1px at 88% 34%, #fff9, transparent), radial-gradient(1px 1px at 25% 44%, #fff5, transparent); }
.gb-stage .sun { position: absolute; left: 50%; bottom: 30%; width: 220px; height: 220px; translate: -50% 0; border-radius: 50%; opacity: .5; filter: blur(1px);
  background: linear-gradient(180deg, #ffd27f, #ff5f9e 70%); -webkit-mask: repeating-linear-gradient(180deg, #000 0 14px, transparent 14px 18px); mask: repeating-linear-gradient(180deg, #000 0 14px, transparent 14px 18px); }
.gb-stage .grid { position: absolute; left: -60%; right: -60%; bottom: 0; height: 40%; transform: perspective(240px) rotateX(64deg); transform-origin: 50% 100%;
  background-image: linear-gradient(#ff5fd2aa 2px, transparent 2px), linear-gradient(90deg, #8b6cffaa 2px, transparent 2px); background-size: 46px 46px; animation: grid-run 1.4s linear infinite;
  -webkit-mask: linear-gradient(to top, #000 35%, transparent); mask: linear-gradient(to top, #000 35%, transparent); }
@keyframes grid-run { to { background-position: 0 46px; } }
.gb-stage #pv-body { position: relative; z-index: 2; }
.tk .gb .devices { min-height: 400px; animation: hover-float 5s ease-in-out infinite; }
@keyframes hover-float { 50% { transform: translateY(-7px); } }
.gb .browser, .gb .phone { box-shadow: 0 30px 40px -18px #000, 0 0 40px -10px #8b6cff99; }
.gb .pv-empty p { color: #e9e4ff; }

/* تحت الشاشة: المدة والفريق كشخصيات */
.gb-foot { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 14px; background: #0000008c; border-top: 2px solid #ffffff17; }
.gb-foot #pv-weeks { color: #c9c2ee; font-size: 12px; font-weight: 700; }
.gb .pv-team { margin: 0; padding: 0; border: 0; }
.gb .pv-team small { color: #ffffff8c; font-size: 11px; }
.gb .pv-team span { display: inline-block; font-size: 22px; animation: pop .45s cubic-bezier(.2, 1.6, .4, 1) both, sprite .7s steps(2) infinite; animation-delay: calc(var(--i) * 80ms), calc(var(--i) * 120ms); }
@keyframes sprite { 50% { transform: translateY(-4px); } }

/* «فتحت!» مثل الألعاب */
.gb-toast { position: absolute; top: 62px; left: 50%; z-index: 7; display: flex; align-items: center; gap: 10px; max-width: 86%; padding: 8px 16px 8px 12px; translate: -50% 0; opacity: 0; pointer-events: none;
  background: #120d2ef2; border: 3px solid #ffd98e; border-radius: 4px; box-shadow: 0 0 0 3px #120d2e, 0 0 30px #f1b35c99; transform: translateY(-30px) scale(.8); transition: opacity .25s, transform .35s cubic-bezier(.2, 1.6, .4, 1); }
.gb-toast.on { opacity: 1; transform: none; }
.gb-toast .ti { font-size: 28px; animation: emo-bob .8s ease-in-out infinite; }
.gb-toast .tt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.gb-toast small { color: #ffd98e; }
.gb-toast b { overflow: hidden; color: #fff; font-size: 14px; white-space: nowrap; text-overflow: ellipsis; }

/* المرحلة خلصت: الشاشة تلمع */
.pv.clear .gb-screen { animation: clear-flash 1.6s ease-in-out 2; }
@keyframes clear-flash { 30% { box-shadow: inset 0 0 40px #000c, 0 0 0 3px #ffd98e, 0 0 40px #f1b35c; } }

/* الأزرار: يسار عصا الاتجاهات، يمين A و B */
.gb-pad { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; padding: 26px 18px 4px; direction: ltr; }
.dpad { position: relative; width: 96px; height: 96px; }
.dpad i, .dpad b { position: absolute; width: 32px; height: 32px; background: linear-gradient(180deg, #2a2340, #15111f); box-shadow: 0 4px 0 #07050c; cursor: pointer; }
.dpad i:nth-child(1) { left: 32px; top: 0; border-radius: 6px 6px 0 0; } .dpad i:nth-child(2) { left: 64px; top: 32px; border-radius: 0 6px 6px 0; }
.dpad i:nth-child(3) { left: 32px; top: 64px; border-radius: 0 0 6px 6px; } .dpad i:nth-child(4) { left: 0; top: 32px; border-radius: 6px 0 0 6px; }
.dpad b { left: 32px; top: 32px; background: radial-gradient(circle, #0c0914 30%, #1d1830 32%); }
.gb-ss { display: flex; gap: 14px; transform: rotate(-24deg); }
.gb-ss span { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.gb-ss span::before { content: ""; width: 38px; height: 10px; border-radius: 9px; background: #1d1830; box-shadow: 0 2px 0 #07050c, inset 0 1px 0 #ffffff1a; }
.gb-ab { display: flex; justify-content: flex-end; gap: 14px; transform: rotate(-24deg); }
.gb-ab button { width: 54px; height: 54px; border: 0; border-radius: 50%; cursor: pointer; font-family: "Press Start 2P", monospace; font-size: 12px; color: #ffffffb3;
  background: radial-gradient(circle at 35% 30%, #ff8ab4, #e0336f 45%, #9c0f45); box-shadow: 0 6px 0 #5e0727, 0 10px 18px #0009, inset 0 2px 0 #ffffff55; }
.gb-ab .gb-b { margin-top: 26px; }
.press { animation: press .22s ease-out; }
@keyframes press { 40% { transform: translateY(4px); box-shadow: 0 2px 0 #07050c; filter: brightness(1.25); } }
.gb-pad { padding-bottom: 50px; }
.gb-spk { position: absolute; right: 34px; bottom: 18px; display: flex; gap: 7px; transform: rotate(-30deg); pointer-events: none; direction: ltr; }
.gb-spk i { width: 5px; height: 40px; border-radius: 5px; background: #00000059; box-shadow: inset 0 2px 3px #000a, 0 1px 0 #ffffff1f; }

@media (max-width: 1000px) {
  .tk .pv.gb { padding: 10px 10px 12px; border-radius: 22px; }
  .gb-pad, .gb-spk, .gb-top small { display: none; }
  .gb-stage { min-height: 0; } .tk .gb .devices { min-height: 170px; }
  .gb .pv-price b { font-size: 13px; } .gb-hud { gap: 8px; padding: 8px 10px; }
}
@media (prefers-reduced-motion: reduce) { .gb-stage .grid, .tk .gb .devices, .coin, .gb .pv-team span { animation: none; } }
