/* Trend Masr Toolkit — front.css. Uses the Trend Masr theme tokens when present, with fallbacks for any theme. */
.tmt-modal, .tmt-banner, .tmt-fab, .tmt-wallet, .tmt-qo, .tmt-toast, .tmt-thanks-wallet {
	--t-ink: var(--tm-ink, #1c0f14); --t-muted: var(--tm-muted, #7c7199); --t-purple: var(--tm-purple, #8a0e3f); --t-pink: var(--tm-pink, #e5357f);
	--t-orange: var(--tm-orange, #ff6a2a); --t-green: var(--tm-green, #13a36b); --t-red: var(--tm-red, #e0245e);
	--t-grad: var(--tm-g-brand, linear-gradient(135deg, #ff7a2a, #e5357f 55%, #8b5cf6));
	--t-ease: var(--tm-ease, cubic-bezier(.2, .8, .2, 1)); --t-spring: var(--tm-spring, cubic-bezier(.34, 1.56, .64, 1));
	font-family: var(--tm-font, "Cairo", system-ui, Tahoma, sans-serif); box-sizing: border-box;
}
.tmt-modal *, .tmt-banner *, .tmt-wallet *, .tmt-qo * { box-sizing: border-box; }

/* Buttons */
.tmt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; padding: 10px 22px; border: 0; border-radius: 999px; background: var(--t-grad); color: #fff !important; font: inherit; font-weight: 800; font-size: 15px; text-decoration: none; cursor: pointer; box-shadow: 0 12px 24px -12px rgba(229, 53, 127, .8); transition: transform .25s var(--t-spring), filter .2s; }
.tmt-btn:hover { transform: translateY(-2px); filter: saturate(1.1); }
.tmt-btn:active { transform: scale(.96); }
.tmt-btn--big { width: 100%; min-height: 52px; font-size: 16px; }
.tmt-btn.is-loading { color: transparent !important; position: relative; pointer-events: none; }
.tmt-btn.is-loading::after { content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: tmt-spin .7s linear infinite; }
.tmt-link { border: 0; background: none; font: inherit; font-weight: 700; color: var(--t-muted); cursor: pointer; padding: 8px 10px; }
@keyframes tmt-spin { to { transform: rotate(360deg); } }

/* Modal */
.tmt-modal { position: fixed; inset: 0; z-index: 2147483000; display: grid; place-items: center; padding: 16px; direction: rtl; }
.tmt-modal__scrim { position: absolute; inset: 0; background: rgba(29, 11, 78, .45); opacity: 0; transition: opacity .3s; -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.tmt-modal__panel { position: relative; width: min(440px, 100%); max-height: calc(100dvh - 32px); overflow: auto; padding: 22px; border-radius: 26px; background: rgba(252, 249, 255, .94); border: 1px solid #fff; box-shadow: 0 40px 80px -30px rgba(76, 29, 149, .6); color: var(--t-ink); outline: 0; transform: translateY(24px) scale(.96); opacity: 0; transition: transform .45s var(--t-spring), opacity .3s; -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); }
.tmt-modal.is-open .tmt-modal__scrim { opacity: 1; }
.tmt-modal.is-open .tmt-modal__panel { transform: none; opacity: 1; }
.tmt-x { position: absolute; top: 10px; inset-inline-end: 10px; z-index: 3; display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(138, 14, 63, .1); color: var(--t-ink); cursor: pointer; }
.tmt-x:hover { background: rgba(138, 14, 63, .2); }

/* Wheel */
.tmt-field { display: grid; gap: 4px; text-align: start; font-size: 13px; font-weight: 800; color: var(--t-ink); }
.tmt-field input { width: 100%; min-height: 50px; padding: 10px 16px; border-radius: 16px; border: 1.5px solid rgba(138, 14, 63, .2); background: #fff; font: inherit; font-size: 17px; font-weight: 700; letter-spacing: .04em; color: var(--t-ink); text-align: left; }
.tmt-field input:focus { outline: 0; border-color: var(--t-purple); box-shadow: 0 0 0 4px rgba(138, 14, 63, .15); }
@keyframes tmt-pop { from { opacity: 0; transform: scale(.9); } }
.tmt-confetti { position: absolute; top: 30%; width: 8px; height: 12px; border-radius: 2px; pointer-events: none; animation: tmt-fall 1.8s cubic-bezier(.2, .6, .4, 1) forwards; }
@keyframes tmt-fall { from { transform: translate(0, 0) rotate(0); opacity: 1; } to { transform: translate(var(--x), 360px) rotate(var(--r)); opacity: 0; } }

/* Coupon chip */
.tmt-coupon { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "l c" "s c"; align-items: center; gap: 0 12px; width: 100%; padding: 12px 16px; border: 2px dashed rgba(229, 53, 127, .55); border-radius: 18px; background: #fff; font: inherit; color: var(--t-ink); cursor: pointer; text-align: start; transition: transform .2s var(--t-spring), border-color .2s; }
.tmt-coupon span { grid-area: l; font-size: 12px; font-weight: 700; color: var(--t-muted); }
.tmt-coupon small { grid-area: s; font-size: 11px; color: var(--t-purple); font-weight: 700; }
.tmt-coupon b { grid-area: c; justify-self: end; font-size: 22px; font-weight: 900; letter-spacing: .06em; background: var(--t-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tmt-coupon:hover { transform: translateY(-2px); border-color: var(--t-pink); }
.tmt-coupon.is-copied { border-style: solid; border-color: var(--t-green); }

/* Floating gift button */
.tmt-fab { position: fixed; z-index: 70; inset-inline-start: 14px; bottom: calc(var(--tm-tabbar-h, 0px) + 16px + env(safe-area-inset-bottom)); display: grid; place-items: center; width: 54px; height: 54px; border: 0; border-radius: 50%; background: var(--t-grad); color: #fff; font-size: 25px; cursor: pointer; box-shadow: 0 14px 26px -10px rgba(229, 53, 127, .8); transition: transform .3s var(--t-spring), bottom .35s var(--t-ease); }
.tmt-fab:hover { transform: scale(1.08) rotate(-8deg); }
.tmt-fab.is-hot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid rgba(229, 53, 127, .6); animation: tmt-ring 1.8s ease-out infinite; }
@keyframes tmt-ring { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
body.tm-tabbar-hidden .tmt-fab { bottom: calc(16px + env(safe-area-inset-bottom)); }

/* Popups */
.tmt-popup .tmt-modal__panel { padding: 0; overflow: hidden auto; text-align: center; }
.tmt-popup__body { display: grid; gap: 12px; padding: 0 22px 22px; }
.tmt-popup__img { display: block; width: calc(100% + 44px); max-width: none; height: auto; max-height: 46vh; object-fit: cover; margin: 0 -22px 4px; }
.tmt-popup__body > :first-child:not(img) { margin-top: 26px; }
.tmt-popup__title { margin: 0; font-size: 22px; font-weight: 900; line-height: 1.35; color: var(--t-ink); }
.tmt-popup__content { color: var(--t-muted); font-weight: 600; }
.tmt-popup__content p { margin: 0 0 6px; }
.tmt-popup--sheet { align-items: end; padding: 0; }
.tmt-popup--sheet .tmt-modal__panel { width: min(560px, 100%); border-radius: 26px 26px 0 0; transform: translateY(100%); padding-bottom: env(safe-area-inset-bottom); }
.tmt-popup--corner { place-items: end start; pointer-events: none; }
.tmt-popup--corner .tmt-modal__scrim { display: none; }
.tmt-popup--corner .tmt-modal__panel { pointer-events: auto; width: min(340px, calc(100% - 24px)); margin-bottom: calc(var(--tm-tabbar-h, 0px) + 12px); }

/* Install / push banner */
.tmt-banner { position: fixed; z-index: 2147482000; inset-inline: 12px; bottom: calc(var(--tm-tabbar-h, 0px) + 12px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: auto 1fr; gap: 10px 12px; align-items: center; max-width: 460px; margin-inline: auto; padding: 14px; border-radius: 22px; background: rgba(252, 249, 255, .9); border: 1px solid #fff; box-shadow: 0 24px 50px -20px rgba(76, 29, 149, .55); color: var(--t-ink); direction: rtl; transform: translateY(140%); transition: transform .5s var(--t-spring); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); }
.tmt-banner.is-open { transform: none; }
.tmt-banner img { border-radius: 14px; }
.tmt-banner__bell { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(255, 106, 42, .14); font-size: 24px; }
.tmt-banner__txt { display: grid; gap: 2px; line-height: 1.4; }
.tmt-banner__txt b { font-size: 15px; font-weight: 900; }
.tmt-banner__txt span { font-size: 12.5px; color: var(--t-muted); font-weight: 600; }
.tmt-banner__btns { grid-column: 1 / -1; display: flex; gap: 8px; align-items: center; }
.tmt-banner__btns .tmt-btn { flex: 1; min-height: 42px; }
.tmt-banner__ios { grid-column: 1 / -1; margin: 0; padding: 0 18px 0 0; font-size: 13px; font-weight: 700; color: var(--t-ink); }
.tmt-banner__ios li { margin: 4px 0; }
.tmt-banner__ios svg { vertical-align: -3px; color: #0a7aff; }

/* Toast fallback (theme toasts are used when available) */
.tmt-toast { position: fixed; z-index: 2147483600; left: 50%; bottom: calc(var(--tm-tabbar-h, 0px) + 20px); transform: translateX(-50%); display: grid; gap: 2px; min-width: 220px; padding: 12px 18px; border-radius: 16px; background: #1c0f14; color: #fff; text-align: center; direction: rtl; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .5); animation: tmt-pop .4s var(--t-spring); }
.tmt-toast span { font-size: 13px; opacity: .85; }
.tmt-toast.is-err { background: #8a1238; }
.tmt-toast.is-out { opacity: 0; transition: opacity .35s; }

/* Wallet (checkout + thank you) */
.tmt-wallet__desc { margin: 0 0 8px; }
.tmt-wallet { display: grid; gap: 10px; margin: 6px 0 2px; color: var(--t-ink); }
.tmt-wallet__msg { margin: 0; padding: 12px 14px; border-radius: 16px; background: rgba(138, 14, 63, .07); font-size: 13.5px; font-weight: 700; line-height: 1.7; }
.tmt-wallet__num { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 12px 14px; border-radius: 16px; background: #fff; border: 1px solid rgba(138, 14, 63, .14); }
.tmt-wallet__amount { font-weight: 900; color: var(--tm-price, #c8155f); }
.tmt-wallet__num b { flex: 1; font-size: 19px; font-weight: 900; letter-spacing: .06em; text-align: center; }
.tmt-copy { border: 0; border-radius: 999px; padding: 7px 14px; background: var(--t-purple); color: #fff; font: inherit; font-size: 12.5px; font-weight: 800; cursor: pointer; }
.tmt-copy.is-copied { background: var(--t-green); }
.tmt-wallet__link { justify-self: start; font-weight: 800; color: var(--t-purple); text-decoration: underline; text-underline-offset: 3px; }
.tmt-upload { position: relative; display: grid; gap: 8px; }
.tmt-upload__drop { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px; border: 2px dashed rgba(138, 14, 63, .35); border-radius: 18px; background: rgba(255, 255, 255, .8); cursor: pointer; transition: border-color .2s, background .2s; }
.tmt-upload__drop:hover { border-color: var(--t-purple); background: #fff; }
.tmt-upload__drop input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.tmt-upload__drop:focus-within { outline: 3px solid rgba(138, 14, 63, .4); outline-offset: 2px; }
.tmt-upload__ico { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; background: rgba(138, 14, 63, .1); color: var(--t-purple); }
.tmt-upload__txt { display: grid; line-height: 1.4; }
.tmt-upload__txt b { font-size: 14.5px; font-weight: 900; }
.tmt-upload__txt small { font-size: 12px; color: var(--t-muted); font-weight: 600; word-break: break-all; }
.tmt-upload__bar { display: none; height: 6px; border-radius: 99px; background: rgba(138, 14, 63, .12); overflow: hidden; }
.tmt-upload__bar i { display: block; width: 0; height: 100%; background: var(--t-grad); transition: width .2s; }
.tmt-upload.is-loading .tmt-upload__bar { display: block; }
.tmt-upload__preview { max-width: 120px; max-height: 160px; border-radius: 12px; border: 1px solid #fff; box-shadow: 0 8px 18px -10px rgba(76, 29, 149, .5); object-fit: cover; }
.tmt-upload.is-done .tmt-upload__drop { border-style: solid; border-color: var(--t-green); background: rgba(19, 163, 107, .06); }
.tmt-upload.is-done .tmt-upload__ico { background: rgba(19, 163, 107, .14); color: var(--t-green); }
.tmt-upload.is-error .tmt-upload__drop { border-color: var(--t-red); }
.tmt-upload.is-error .tmt-upload__txt small { color: var(--t-red); }
.tmt-thanks-wallet { margin: 18px 0; padding: 18px; border-radius: 22px; background: rgba(255, 255, 255, .75); border: 1px solid #fff; box-shadow: 0 14px 30px -20px rgba(76, 29, 149, .45); }
.tmt-thanks-wallet h2 { margin: 0 0 10px; font-size: 19px; }
.tmt-coupon-note { display: block; font-size: 11.5px; font-weight: 700; color: var(--t-green, #13a36b); }
.tmt-coupon-note.is-off { color: var(--tm-orange, #ff6a2a); }
.woocommerce-checkout .payment_methods li img[src*="tmt"], .wc_payment_method img[src*="/icons/vodafone"], .wc_payment_method img[src*="/icons/instapay"] { width: 30px; height: 30px; border-radius: 8px; vertical-align: middle; }

/* Quantity offers */
.tmt-qo { display: grid; gap: 8px; margin: 0 0 14px; padding: 0; border: 0; min-width: 0; }
.tmt-qo legend { padding: 0; margin-bottom: 8px; font-size: 14px; font-weight: 900; color: var(--t-ink); }
.tmt-qo__opt { position: relative; display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "r q p" "r s s"; align-items: center; gap: 0 10px; padding: 11px 14px; border-radius: 16px; border: 1.5px solid rgba(138, 14, 63, .16); background: rgba(255, 255, 255, .78); cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s var(--t-spring); }
.tmt-qo__opt:hover { transform: translateY(-1px); }
.tmt-qo__opt input { grid-area: r; width: 18px; height: 18px; margin: 0; accent-color: var(--t-purple); }
.tmt-qo__q { grid-area: q; font-weight: 800; color: var(--t-ink); }
.tmt-qo__q em { margin-inline-start: 6px; padding: 1px 8px; border-radius: 99px; background: var(--t-grad); color: #fff; font-size: 10.5px; font-style: normal; font-weight: 800; vertical-align: 2px; }
.tmt-qo__p { grid-area: p; font-weight: 900; color: var(--tm-price, #c8155f); }
.tmt-qo__opt small { grid-area: s; font-size: 12px; font-weight: 700; color: var(--t-green); }
.tmt-qo__opt.is-on { border-color: var(--t-purple); background: #fff; box-shadow: 0 0 0 4px rgba(138, 14, 63, .1); }
.tmt-qo-hint { margin-top: 4px; font-size: 12px; font-weight: 800; color: var(--t-purple); }

@media (prefers-reduced-motion: reduce) {
	.tmt-modal__panel, .tmt-banner, .tmt-fab { transition: none !important; }
	.tmt-fab.is-hot::after { animation: none; }
}
.tmt-installed [data-tm-hide-installed], .tmt-installed .tm-wide--app_cta, .tmt-installed [data-tm-install] { display: none !important; }
.tmt-push-on [data-tm-hide-subscribed], .tmt-push-off [data-tm-hide-subscribed] { display: none !important; }
.tmt-installed .tm-sec:has(> .tm-wide--app_cta) { display: none !important; }

/* =====================================================================================
 * Lucky wheel v3 — neon arcade (dark room, neon signs, checker floor)
 * Nothing here moves the layout: decorations only fade (opacity), so the popup never jiggles.
 * =================================================================================== */
.tmt-game { --n-pink: #ff3ec9; --n-cyan: #40e0ff; --n-yellow: #ffd84d; --n-bg: #12042e; }
.tmt-game .tmt-modal__scrim { background: radial-gradient(120% 90% at 50% 0%, rgba(120, 40, 200, .55), rgba(8, 2, 24, .9)); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.tmt-game .tmt-modal__panel {
	width: min(880px, 100%); padding: 22px 18px 20px; display: grid; gap: 12px; align-items: center; text-align: center; isolation: isolate;
	overflow-x: clip; overflow-y: auto; scrollbar-gutter: stable; scrollbar-width: thin; scrollbar-color: rgba(255, 62, 201, .5) transparent;
	color: #fff; border-radius: 28px; border: 1.5px solid rgba(255, 110, 225, .75); background: var(--n-bg);
	box-shadow: 0 0 0 1px rgba(64, 224, 255, .22), 0 0 34px rgba(255, 62, 201, .5), 0 40px 90px -30px #000;
	-webkit-backdrop-filter: none; backdrop-filter: none;
}
@media (min-width: 760px) { .tmt-game .tmt-modal__panel { grid-template-columns: 1fr 1.05fr; padding: 34px 32px 30px; text-align: start; gap: 30px; } }
.tmt-game .tmt-x { background: rgba(18, 4, 46, .7); color: #fff; border: 1.5px solid rgba(255, 110, 225, .7); box-shadow: 0 0 10px rgba(255, 62, 201, .5); }
.tmt-game .tmt-x:hover { background: rgba(255, 62, 201, .3); }

.tmt-g__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; contain: strict; border-radius: inherit;
	background:
		radial-gradient(60% 38% at 12% 0%, rgba(255, 62, 201, .5), transparent 70%),
		radial-gradient(50% 34% at 92% 10%, rgba(64, 224, 255, .34), transparent 70%),
		radial-gradient(80% 46% at 50% 112%, rgba(255, 106, 42, .34), transparent 70%),
		linear-gradient(180deg, #1f0750 0%, #12042e 55%, #0a0220 100%);
}
.tmt-g__bg i { position: absolute; display: block; }
.tmt-g__floor { inset-inline: -40%; bottom: -4%; height: 36%; opacity: .55; transform: perspective(360px) rotateX(64deg); transform-origin: 50% 100%;
	background: repeating-conic-gradient(#ff3ec9 0 25%, #1a0640 0 50%) 0 0 / 68px 68px;
	-webkit-mask-image: linear-gradient(to top, #000 15%, transparent 92%); mask-image: linear-gradient(to top, #000 15%, transparent 92%); }
.tmt-g__neon { background: no-repeat center / contain; animation: tmt-flicker 5s steps(1) infinite; }
.tmt-g__neon--a { top: 14px; inset-inline-start: 18px; width: 54px; height: 54px; rotate: -16deg; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60' fill='none' stroke='%2340e0ff' stroke-width='3' stroke-linejoin='round'%3E%3Cpath d='M30 6 55 52H5Z'/%3E%3C/svg%3E"); filter: drop-shadow(0 0 6px #40e0ff); }
.tmt-g__neon--b { top: 38%; inset-inline-end: 12px; width: 70px; height: 34px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 40' fill='none' stroke='%23ff3ec9' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 6l16 14L8 34M32 6l16 14-16 14M56 6l16 14-16 14'/%3E%3C/svg%3E"); filter: drop-shadow(0 0 6px #ff3ec9); animation-delay: -1.7s; }
.tmt-g__neon--c { bottom: 26%; inset-inline-start: 10px; width: 78px; height: 26px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 90 30' fill='none' stroke='%23ffd84d' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 22 20 8l15 14L50 8l15 14L80 8'/%3E%3C/svg%3E"); filter: drop-shadow(0 0 6px #ffd84d); animation-delay: -3.1s; opacity: .8; }
.tmt-g__neon--d { top: 20px; inset-inline-end: 64px; width: 30px; height: 30px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' fill='none' stroke='%23ff3ec9' stroke-width='3.5'%3E%3Ccircle cx='20' cy='20' r='15'/%3E%3C/svg%3E"); filter: drop-shadow(0 0 6px #ff3ec9); animation-delay: -.8s; }
@keyframes tmt-flicker { 0%, 100% { opacity: .95; } 46% { opacity: .95; } 48% { opacity: .35; } 50% { opacity: .95; } 52% { opacity: .5; } 54% { opacity: .95; } }

.tmt-g__stage { position: relative; width: min(330px, 68vw, 40dvh); aspect-ratio: 1; margin: 16px auto 6px; contain: layout; }
.tmt-g__glow { position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 3px var(--n-pink), 0 0 24px 6px rgba(255, 62, 201, .8), 0 0 64px 16px rgba(64, 224, 255, .35); animation: tmt-glow 2.4s ease-in-out infinite alternate; }
@keyframes tmt-glow { from { opacity: .55; } to { opacity: 1; } }
.tmt-g__rim { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.tmt-g__ring { fill: #1a0640; stroke: #ff9bea; stroke-width: 1.6; }
.tmt-g__bulb { fill: #fff6c2; filter: drop-shadow(0 0 3px #ffd84d); animation: tmt-bulb 1.1s steps(1) infinite; }
.tmt-g__bulb.is-b { animation-delay: .55s; }
.tmt-game.is-spinning .tmt-g__bulb { animation-duration: .25s; }
@keyframes tmt-bulb { 50% { fill: rgba(255, 255, 255, .22); filter: none; } }
.tmt-g__spin { position: absolute; inset: 6.5%; z-index: 2; border-radius: 50%; will-change: transform; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .55); }
.tmt-g__disc { display: block; width: 100%; height: 100%; }
.tmt-g__disc text { fill: #fff; font-family: var(--tm-font, "Cairo", Tahoma, sans-serif); font-weight: 900; paint-order: stroke; stroke: rgba(18, 4, 46, .45); stroke-width: 1.4px; }
.tmt-g__pointer { position: absolute; z-index: 4; top: -3.5%; left: 50%; width: 14%; transform: translateX(-50%); transform-origin: 50% 30%; filter: drop-shadow(0 0 8px rgba(255, 216, 77, .9)); }
.tmt-g__pointer.is-tick { animation: tmt-ptr .14s ease-out; }
@keyframes tmt-ptr { 40% { transform: translateX(-50%) rotate(-16deg); } }
.tmt-g__hub { position: absolute; z-index: 5; top: 50%; left: 50%; display: grid; place-items: center; width: 27%; aspect-ratio: 1; transform: translate(-50%, -50%); padding: 0; border-radius: 50%; cursor: pointer; font: inherit; font-weight: 900; font-size: clamp(13px, 3.6vw, 17px); line-height: 1.2; color: #fff; border: 3px solid #fff; background: radial-gradient(circle at 35% 30%, #ffd27a, #ff6a2a 48%, #ff3e8d); box-shadow: 0 0 18px rgba(255, 106, 42, .9), inset 0 -6px 12px rgba(0, 0, 0, .2), inset 0 6px 10px rgba(255, 255, 255, .45); }
.tmt-g__hub span { display: block; padding: 0 6px; text-shadow: 0 1px 2px rgba(0, 0, 0, .3); }
.tmt-g__hub.is-ready { animation: tmt-hub-ring 1.4s ease-in-out infinite; }
.tmt-g__hub.is-busy, .tmt-g__hub:disabled { cursor: default; animation: none; filter: saturate(.8); }
@keyframes tmt-hub-ring { 50% { box-shadow: 0 0 0 9px rgba(255, 210, 122, .3), 0 0 26px rgba(255, 106, 42, 1), inset 0 -6px 12px rgba(0, 0, 0, .2), inset 0 6px 10px rgba(255, 255, 255, .45); } }

.tmt-g__side { position: relative; display: grid; gap: 10px; min-width: 0; }
.tmt-g__kicker { justify-self: center; padding: 4px 14px; border-radius: 99px; background: rgba(10, 2, 32, .6); border: 1.5px solid var(--n-cyan); color: var(--n-cyan); font-size: 12.5px; font-weight: 800; box-shadow: 0 0 12px rgba(64, 224, 255, .55), inset 0 0 8px rgba(64, 224, 255, .3); text-shadow: 0 0 8px rgba(64, 224, 255, .9); }
@media (min-width: 760px) { .tmt-g__kicker { justify-self: start; } }
.tmt-g__title { margin: 0; font-size: clamp(25px, 6.6vw, 38px); font-weight: 900; line-height: 1.3; color: #fff; text-shadow: 0 0 4px #fff, 0 0 14px var(--n-pink), 0 0 32px var(--n-pink), 0 0 62px rgba(255, 62, 201, .55); }
.tmt-g__sub { margin: 0; color: rgba(255, 255, 255, .88); font-weight: 600; font-size: 14px; }
.tmt-g__panel { display: grid; gap: 10px; padding: 16px; border-radius: 20px; background: rgba(14, 4, 40, .78); border: 1px solid rgba(255, 110, 225, .5); box-shadow: inset 0 0 20px rgba(255, 62, 201, .16), 0 0 18px rgba(64, 224, 255, .14); color: #fff; text-align: start; }
.tmt-g__panel.is-nudge { animation: tmt-nudge .45s ease; }
@keyframes tmt-nudge { 25% { translate: 6px 0; } 75% { translate: -6px 0; } }
.tmt-g__panel .tmt-field { color: #fff; font-size: 12.5px; }
.tmt-g__panel .tmt-field input { min-height: 46px; font-size: 15.5px; background: rgba(255, 255, 255, .95); border-color: transparent; color: #1c0f14; }
.tmt-g__panel .tmt-field input:focus { border-color: var(--n-cyan); box-shadow: 0 0 0 3px rgba(64, 224, 255, .35); }
.tmt-field input.is-bad { border-color: #ff5a7a !important; box-shadow: 0 0 0 3px rgba(255, 90, 122, .25); }
.tmt-field__err { min-height: 0; font-size: 12px; font-weight: 800; color: #e0245e; }
.tmt-field__err:empty { display: none; }
.tmt-g__panel .tmt-field__err { color: #ffb3c4; }
.tmt-g__form { display: grid; gap: 9px; }
.tmt-g__tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 16px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.tmt-g__tabs button { min-height: 38px; border: 0; border-radius: 12px; background: none; color: rgba(255, 255, 255, .85); font: inherit; font-weight: 800; font-size: 13.5px; cursor: pointer; }
.tmt-g__tabs button[aria-selected="true"] { background: linear-gradient(135deg, #ff3ec9, #8b5cf6); color: #fff; box-shadow: 0 0 14px rgba(255, 62, 201, .6); }
.tmt-g__perk, .tmt-g__hi { margin: 0; font-weight: 900; font-size: 15.5px; }
.tmt-g__tip { margin: 0; font-size: 13.5px; color: rgba(255, 255, 255, .9); font-weight: 600; }
.tmt-g__tip b, .tmt-g__hold b { color: var(--n-yellow); }
.tmt-g__err { min-height: 1.1em; color: #ffb3c4; font-weight: 800; font-size: 12.5px; }
.tmt-g__note { margin: 0; padding: 8px 12px; border-radius: 12px; background: rgba(255, 90, 122, .18); border: 1px solid rgba(255, 90, 122, .5); font-size: 13px; font-weight: 700; }
.tmt-g__lost { justify-self: center; color: #fff; font-size: 12.5px; font-weight: 700; }
.tmt-game .tmt-btn { background: linear-gradient(135deg, #ffb13b, #ff6a2a 55%, #ff3e8d); box-shadow: 0 0 18px rgba(255, 106, 42, .7), 0 12px 24px -12px rgba(255, 62, 201, .9); }
.tmt-game .tmt-link { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.tmt-g__loading { display: flex; justify-content: center; gap: 6px; padding: 14px; }
.tmt-g__loading i { width: 9px; height: 9px; border-radius: 50%; background: var(--n-cyan); box-shadow: 0 0 8px var(--n-cyan); animation: tmt-dot 1s ease-in-out infinite; }
.tmt-g__loading i:nth-child(2) { animation-delay: .15s; } .tmt-g__loading i:nth-child(3) { animation-delay: .3s; }
@keyframes tmt-dot { 50% { opacity: .25; } }
.tmt-g__prize { display: grid; gap: 9px; justify-items: center; text-align: center; animation: tmt-pop .55s var(--t-spring) both; }
.tmt-g__prizeico { display: grid; place-items: center; flex: none; width: 60px; height: 60px; border-radius: 20px; background: rgba(255, 255, 255, .96); font-size: 32px; box-shadow: 0 0 18px rgba(255, 216, 77, .8); }
.tmt-g__won { margin: 0; font-size: 18px; font-weight: 900; }
.tmt-g__won b { color: var(--n-yellow); text-shadow: 0 0 10px rgba(255, 216, 77, .7); }
.tmt-g__claim { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: linear-gradient(135deg, rgba(255, 216, 77, .2), rgba(255, 62, 201, .2)); border: 1.5px dashed rgba(255, 216, 77, .8); animation: tmt-pop .55s var(--t-spring) both; }
.tmt-g__claim .tmt-g__prizeico { width: 52px; height: 52px; font-size: 28px; }
.tmt-g__claim .tmt-g__won { font-size: 16.5px; }
.tmt-g__hold { margin: 2px 0 0; font-size: 12.5px; font-weight: 700; color: rgba(255, 255, 255, .92); }
.tmt-g__hold b { font-variant-numeric: tabular-nums; }
.tmt-game .tmt-coupon { background: rgba(255, 255, 255, .96); border-color: var(--n-yellow); box-shadow: 0 0 14px rgba(255, 216, 77, .5); }
.tmt-g__exp { margin: 0; padding: 6px 14px; border-radius: 99px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); font-weight: 900; font-size: 14px; }
.tmt-g__exp.is-urgent { background: rgba(255, 77, 109, .45); }
.tmt-g__until, .tmt-g__notes { margin: 0; font-size: 12.5px; color: rgba(255, 255, 255, .88); font-weight: 600; }
.tmt-g__ok { margin: 0; font-size: 13px; font-weight: 800; color: #9dffd6; }
.tmt-g__btns { display: grid; gap: 4px; width: 100%; justify-items: center; }
.tmt-g__gifts { display: grid; gap: 8px; }
.tmt-g__gift { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "i l c" "i t t"; align-items: center; gap: 2px 10px; padding: 10px 12px; border: 1.5px dashed rgba(255, 216, 77, .6); border-radius: 16px; background: rgba(255, 255, 255, .08); color: #fff; font: inherit; text-align: start; cursor: pointer; }
.tmt-g__gift > span { grid-area: i; font-size: 24px; }
.tmt-g__gift > b { grid-area: l; font-size: 14px; }
.tmt-g__gift code { grid-area: c; font-weight: 900; background: none; color: var(--n-yellow); }
.tmt-g__gift small { grid-area: t; font-size: 12px; font-weight: 700; color: rgba(255, 255, 255, .85); }
.tmt-game .tmt-confetti { z-index: 9; }
@media (prefers-reduced-motion: reduce) { .tmt-g__neon, .tmt-g__glow, .tmt-g__bulb, .tmt-g__hub.is-ready { animation: none !important; } }

/* Floating gift button: desktop only (mobile has the wheel in the tab bar). Hidden once the customer has played. */
.tmt-fab[hidden] { display: none !important; }
@media (max-width: 1023px) { .tm-tabbar ~ .tmt-fab, body:has(.tm-tabbar) .tmt-fab { display: none !important; } }
/* (countdown chip removed) */
.tmt-fab__cd { display: none; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); padding: 2px 8px; border-radius: 99px; background: #1c0f14; color: #fff; font-size: 10.5px; font-weight: 800; white-space: nowrap; box-shadow: 0 6px 12px -6px rgba(29, 11, 78, .8); }
.tmt-fab__cd b { font-weight: 800; }
.tmt-fab.has-gift { background: linear-gradient(135deg, #22c58b, #0ea5e9); }
.tmt-exp { display: block; margin-top: 2px; font-size: 11.5px; font-weight: 800; color: var(--tm-pink, #e5357f); }

/* My Account → الهدايا */
.tmt-gifts { display: grid; gap: 14px; }
.tmt-gifts__sum { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 22px; color: #fff; background: linear-gradient(135deg, #5b21b6, #9d2bb5 55%, #e5357f); box-shadow: 0 18px 34px -22px rgba(91, 33, 182, .9); }
.tmt-gifts__sum small { display: block; font-size: 12px; font-weight: 700; opacity: .85; }
.tmt-gifts__sum b { font-size: 20px; font-weight: 900; color: #fff; }
.tmt-gifts__sum .woocommerce-Price-amount { color: #fff !important; }
.tmt-gifts__next { text-align: end; } .tmt-gifts__next b { font-size: 14px; }
.tmt-gifts__play { border: 0; border-radius: 99px; padding: 11px 18px; background: #fff; color: #5b21b6; font: inherit; font-weight: 900; cursor: pointer; box-shadow: 0 10px 20px -10px rgba(29, 11, 78, .7); }
.tmt-gifts__h { margin: 6px 0 0; font-size: 15px; font-weight: 900; }
.tmt-gifts__h span { display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin-inline-start: 4px; padding: 0 6px; border-radius: 99px; background: rgba(138, 14, 63, .12); color: #8a0e3f; font-size: 12px; }
.tmt-gifts__list { display: grid; gap: 10px; }
@media (min-width: 760px) { .tmt-gifts__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tmt-gift { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; padding: 14px; border-radius: 20px; background: rgba(255, 255, 255, .72); border: 1px solid #fff; box-shadow: 0 14px 28px -22px rgba(76, 29, 149, .6); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.tmt-gift__ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: rgba(138, 14, 63, .1); font-size: 26px; }
.tmt-gift__body { display: grid; gap: 6px; min-width: 0; }
.tmt-gift__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.tmt-gift__top b { font-size: 15.5px; font-weight: 900; }
.tmt-gift__st { padding: 2px 10px; border-radius: 99px; font-size: 11.5px; font-weight: 800; background: rgba(138, 14, 63, .12); color: #8a0e3f; }
.tmt-gift.is-used .tmt-gift__st { background: rgba(19, 163, 107, .12); color: #13a36b; }
.tmt-gift.is-expired { opacity: .6; }
.tmt-gift.is-expired .tmt-gift__st { background: rgba(0, 0, 0, .06); color: #7c7199; }
.tmt-gift__code { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 12px; border: 2px dashed rgba(229, 53, 127, .5); border-radius: 14px; background: #fff; font: inherit; cursor: pointer; }
.tmt-gift__code b { font-size: 17px; font-weight: 900; letter-spacing: .06em; color: #1c0f14; }
.tmt-gift__code small { font-size: 11px; color: #8a0e3f; font-weight: 700; }
.tmt-gift__code.is-copied { border-style: solid; border-color: #13a36b; }
.tmt-gift__meta, .tmt-gift__notes { margin: 0; font-size: 12.5px; font-weight: 600; color: #7c7199; }
.tmt-gift .tm-btn { justify-self: start; }
.tmt-cd { font-weight: 800; color: #8a0e3f; } .tmt-cd.is-urgent { color: #e0245e; }
.tmt-gifts__empty { display: grid; justify-items: center; gap: 6px; padding: 30px 16px; border-radius: 22px; background: rgba(255, 255, 255, .6); text-align: center; }
.tmt-gifts__empty span { font-size: 40px; } .tmt-gifts__empty p { margin: 0; color: #7c7199; }
.tmt-dashgift { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; width: 100%; margin: 0 0 12px; padding: 14px 16px; border: 0; border-radius: 22px; color: #fff !important; text-decoration: none; text-align: start; font: inherit; cursor: pointer; background: linear-gradient(135deg, #5b21b6, #9d2bb5 55%, #e5357f); box-shadow: 0 18px 34px -22px rgba(91, 33, 182, .9); }
.tmt-dashgift__ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(255, 255, 255, .95); font-size: 24px; }
.tmt-dashgift__txt b { display: block; font-size: 15px; font-weight: 900; }
.tmt-dashgift__txt small, .tmt-dashgift__txt .tmt-cd { font-size: 12.5px; color: #fff; opacity: .92; }
.tmt-dashgift__go { padding: 8px 14px; border-radius: 99px; background: #fff; color: #5b21b6; font-weight: 900; font-size: 13px; }

/* «حمّل التطبيق» guides */
.tmt-guide { display: grid; gap: 12px; justify-items: center; text-align: center; }
.tmt-guide__icon { width: 64px; height: 64px; border-radius: 18px; box-shadow: 0 12px 24px -12px rgba(76, 29, 149, .6); }
.tmt-guide__title { margin: 0; font-size: 19px; font-weight: 900; color: var(--t-ink); }
.tmt-guide__steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 8px; width: 100%; text-align: start; }
.tmt-guide__steps li { position: relative; padding: 10px 46px 10px 12px; border-radius: 14px; background: rgba(138, 14, 63, .07); font-size: 14px; font-weight: 600; line-height: 1.7; color: var(--t-ink); counter-increment: s; }
.tmt-guide__steps li::before { content: counter(s); position: absolute; top: 50%; inset-inline-start: 10px; transform: translateY(-50%); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--t-grad); color: #fff; font-weight: 900; font-size: 13px; }
.tmt-guide__steps svg { vertical-align: -4px; color: #0a7aff; }
.tmt-guide__arrow { position: fixed; z-index: 2147483001; bottom: 8px; left: 50%; transform: translateX(-50%); font-size: 40px; color: #fff; text-shadow: 0 4px 14px rgba(0, 0, 0, .5); animation: tmt-arrow 1s ease-in-out infinite; pointer-events: none; }
.tmt-guide__arrow.is-top { top: 8px; bottom: auto; left: auto; right: 90px; transform: rotate(180deg); }
@keyframes tmt-arrow { 50% { translate: 0 10px; } }
.tmt-no-install [data-tm-install], .tmt-no-install .tm-wide--app_cta, .tmt-no-install .tm-sec:has(> .tm-wide--app_cta) { display: none !important; }


/* v4.3: the pointer always has room above the wheel (it was cut at the top of the popup) */
.tmt-g__stage { margin-top: 30px !important; width: min(320px, 66vw, 36dvh) !important; }
.tmt-g__pointer { top: -6% !important; }
.tmt-game .tmt-modal__panel { padding-top: 26px; scroll-padding-top: 40px; }

/* v4.4 wheel: prizes without a code — gift product, reminders, cart/checkout/account banner */
.tmt-g__gift { cursor: default; }
.tmt-g__gift small + small { grid-area: c; color: var(--n-yellow); }
.tmt-g__prizeico img { width: 100%; height: 100%; object-fit: contain; border-radius: inherit; padding: 6px; }
.tmt-g__code { display: block; margin-top: 10px; font-size: 12px; color: rgba(255, 255, 255, .7); }
.tmt-g__code code { background: none; color: inherit; font-weight: 800; user-select: all; }
.tmt-remind { position: fixed; z-index: 9990; inset-inline: 12px; bottom: calc(84px + env(safe-area-inset-bottom)); max-width: 440px; margin-inline: auto; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 18px; background: linear-gradient(135deg, #2a0e66, #8a0e3f); color: #fff; box-shadow: 0 14px 40px rgba(42, 14, 102, .35); transform: translateY(24px); opacity: 0; transition: transform .35s ease, opacity .35s ease; }
.tmt-remind.is-open { transform: none; opacity: 1; }
.tmt-remind__ico { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; background: #fff; font-size: 22px; overflow: hidden; }
.tmt-remind__ico img { width: 100%; height: 100%; object-fit: contain; }
.tmt-remind__txt { flex: 1; min-width: 0; display: grid; gap: 2px; line-height: 1.35; }
.tmt-remind__txt b { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tmt-remind__txt span { font-size: 12px; opacity: .9; }
.tmt-remind__txt i { font-style: normal; }
.tmt-remind .tmt-btn { flex: none; padding: 8px 14px; min-height: 0; font-size: 13px; background: #ffd84d; color: #2a0e66; }
.tmt-remind__x { flex: none; border: 0; background: none; color: #fff; font-size: 22px; line-height: 1; padding: 2px 4px; cursor: pointer; opacity: .8; }
@media (min-width: 1024px) { .tmt-remind { bottom: 24px; inset-inline: auto 24px; } }
.tmt-wb { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; padding: 12px 14px; border: 1.5px dashed #b9a2f5; border-radius: 16px; background: #f6f1ff; color: #2a0e66; }
.tmt-wb.is-on { border-style: solid; border-color: #22a06b; background: #effaf4; }
.tmt-wb__ico { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: #fff; font-size: 24px; overflow: hidden; }
.tmt-wb__ico img { width: 100%; height: 100%; object-fit: contain; }
.tmt-wb__txt { flex: 1; min-width: 0; display: grid; gap: 2px; line-height: 1.45; }
.tmt-wb__txt b { font-size: 14px; }
.tmt-wb__txt span { font-size: 12.5px; color: #5b4a86; }
.tmt-wb__txt i { font-style: normal; white-space: nowrap; }
.tmt-wb__btn { flex: none; padding: 8px 14px; border-radius: 999px; background: #8a0e3f; color: #fff !important; font-weight: 800; font-size: 13px; text-decoration: none !important; }
.tmt-giftprice { font-weight: 800; color: #22a06b; }
.tmt-giftqty { display: inline-grid; place-items: center; min-width: 32px; font-weight: 800; }

/* v4.4 wallets: the transfer screenshot goes on WhatsApp (replaces the upload box) */
.tmt-wallet__wa { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; background: #25d366; color: #fff !important; text-decoration: none !important; box-shadow: 0 10px 22px -12px rgba(37, 211, 102, .9); transition: transform .15s, background .2s; }
.tmt-wallet__wa:hover { background: #1fbe5b; transform: translateY(-1px); }
.tmt-wallet__waico { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.tmt-wallet__watxt { display: grid; gap: 2px; line-height: 1.35; }
.tmt-wallet__watxt b { font-size: 15px; }
.tmt-wallet__watxt small { font-size: 12px; opacity: .92; }

/* v4.4.1 wheel: gold coupon tickets + product pictures on the slices */
.tmt-g__disc .tmt-g__tval { fill: #2b1806; stroke: none; font-weight: 900; }
/* No letter-spacing on Arabic SVG text: Safari then lays the letters out one by one (disjoined, reversed). */
.tmt-g__disc text { letter-spacing: 0 !important; word-spacing: 0; }
.tmt-g__disc .tmt-g__tunit { fill: #3d2408; stroke: none; font-weight: 800; }
.tmt-g__disc .tmt-g__tband { fill: #f3c977; stroke: none; font-weight: 900; }
.tmt-g__disc .tmt-g__cond { fill: #fff; font-weight: 800; stroke-width: 1px; }
.tmt-g__disc .tmt-g__cond.is-dark, .tmt-g__disc .tmt-g__lbl.is-dark { fill: #18301a; stroke: rgba(255, 255, 255, .6); }
.tmt-g__ticket { filter: drop-shadow(0 1.4px 1.6px rgba(0, 0, 0, .35)); }
.tmt-g__pframe { filter: drop-shadow(0 1.4px 1.8px rgba(0, 0, 0, .3)); }

/* Theme «green» — lime & white slices, silver rim with lime ring, dark green stage and gold coins (Green Friday) */
.tmt-game.is-green { --n-pink: #9cff2e; --n-cyan: #c8ff5a; --n-yellow: #ffd34d; --n-bg: #062a0c; }
.tmt-game.is-green .tmt-modal__scrim { background: radial-gradient(120% 90% at 50% 0%, rgba(80, 180, 20, .45), rgba(2, 18, 4, .92)); }
.tmt-game.is-green .tmt-modal__panel { border-color: rgba(156, 255, 46, .8); background: radial-gradient(90% 70% at 50% 20%, #1b5e14 0%, #0a3410 45%, #041d07 100%); box-shadow: 0 0 0 1px rgba(156, 255, 46, .3), 0 0 40px rgba(120, 230, 30, .35); }
.tmt-game.is-green .tmt-x { background: rgba(4, 29, 7, .7); border-color: rgba(156, 255, 46, .8); box-shadow: 0 0 10px rgba(156, 255, 46, .5); }
.tmt-game.is-green .tmt-g__neon, .tmt-game.is-green .tmt-g__floor { display: none; }
.tmt-game.is-green .tmt-g__glow { box-shadow: 0 0 0 3px #7be000, 0 0 26px 8px rgba(140, 255, 40, .65), 0 0 70px 18px rgba(140, 255, 40, .25); }
.tmt-game.is-green .tmt-g__ring { fill: url(#tmtsilver); stroke: #8cf000; stroke-width: 2.4; }
.tmt-game.is-green .tmt-g__bulb { fill: #f4ffd9; filter: drop-shadow(0 0 3.5px #9cff2e); }
.tmt-game.is-green .tmt-g__spin { box-shadow: 0 0 0 2px #8cf000, inset 0 0 0 1px rgba(255, 255, 255, .4); }
.tmt-game.is-green .tmt-g__pointer path { fill: url(#tmtptrg); stroke: #0a2e0c; }
.tmt-game.is-green .tmt-g__pointer { filter: drop-shadow(0 0 8px rgba(156, 255, 46, .9)); }
.tmt-game.is-green .tmt-g__hub { background: radial-gradient(circle at 35% 30%, #555 0%, #1a1a1a 55%, #000 100%) !important; color: #fff !important; border: 3px solid #cfd4cf !important; box-shadow: 0 0 0 3px #1a1a1a, 0 6px 16px rgba(0, 0, 0, .55) !important; }
.tmt-game.is-green .tmt-g__hub span { font-size: 1.15em; letter-spacing: .02em; }
.tmt-game.is-green .tmt-g__title { text-shadow: 0 0 4px #fff, 0 0 14px #8cf000, 0 0 30px rgba(140, 255, 40, .55); }
.tmt-game.is-green .tmt-g__kicker { border-color: #9cff2e; color: #c8ff5a; box-shadow: 0 0 12px rgba(156, 255, 46, .5); }
.tmt-game.is-green .tmt-g__panel { background: rgba(3, 26, 6, .78); border-color: rgba(156, 255, 46, .45); box-shadow: inset 0 0 20px rgba(156, 255, 46, .12); }
.tmt-game.is-green .tmt-g__tabs button[aria-selected="true"] { background: linear-gradient(135deg, #b6ff3a, #4cbf00); color: #062a0c; box-shadow: 0 0 14px rgba(156, 255, 46, .6); }
.tmt-game.is-green .tmt-btn { background: linear-gradient(135deg, #d8ff5a, #7be000 55%, #3fae00); color: #062a0c !important; box-shadow: 0 0 18px rgba(140, 255, 40, .6), 0 12px 24px -12px rgba(0, 0, 0, .8); }
.tmt-game.is-green .tmt-g__loading i { background: #9cff2e; box-shadow: 0 0 8px #9cff2e; }
.tmt-g__coin { position: absolute; z-index: 6; width: 15%; aspect-ratio: 1; border-radius: 50%; pointer-events: none; background: radial-gradient(circle at 35% 30%, #fff6c4 0%, #ffd34d 30%, #e8a317 62%, #9c6406 100%); box-shadow: inset -3px -4px 0 rgba(120, 70, 0, .45), inset 2px 2px 0 rgba(255, 255, 255, .5), 0 6px 14px rgba(0, 0, 0, .45); animation: tmt-coin 4.5s ease-in-out infinite; }
.tmt-g__coin::after { content: ""; position: absolute; inset: 18%; border-radius: 50%; border: 2px solid rgba(150, 90, 0, .45); }
.tmt-g__coin--a { top: -6%; inset-inline-start: -4%; rotate: -24deg; }
.tmt-g__coin--b { top: 18%; inset-inline-end: -8%; width: 11%; rotate: 18deg; animation-delay: -1.5s; }
.tmt-g__coin--c { bottom: -4%; inset-inline-start: -8%; width: 10%; rotate: 40deg; animation-delay: -3s; opacity: .85; }
@keyframes tmt-coin { 50% { transform: translateY(-8px) rotate(10deg); } }
@media (prefers-reduced-motion: reduce) { .tmt-g__coin { animation: none; } }
.tmt-game.is-green .tmt-g__bg { background:
	radial-gradient(55% 38% at 15% 0%, rgba(160, 255, 60, .32), transparent 70%),
	radial-gradient(45% 34% at 90% 12%, rgba(255, 211, 77, .18), transparent 70%),
	radial-gradient(80% 46% at 50% 112%, rgba(110, 220, 30, .28), transparent 70%),
	linear-gradient(180deg, #0f4a14 0%, #072c0b 55%, #031806 100%); }
.tmt-game.is-green .tmt-modal__panel { scrollbar-color: rgba(156, 255, 46, .5) transparent; }
.tmt-game.is-green .tmt-modal__panel { outline: 0; border: 1.5px solid rgba(156, 255, 46, .8) !important; }

/* v4.6 (3.6.0) wheel: confetti in a clipped layer (it made the popup scroll sideways on iPhone → the wheel slid
   left and back after the spin) + a bigger wheel so the prizes read better */
.tmt-confetti-layer { position: absolute; inset: 0; z-index: 9; overflow: hidden; pointer-events: none; border-radius: inherit; }
.tmt-game .tmt-modal__panel { overscroll-behavior-x: none; touch-action: pan-y; }
.tmt-g__stage { width: min(360px, 84vw, 46dvh) !important; }
@media (min-width: 760px) { .tmt-g__stage { width: min(400px, 40vw, 58dvh) !important; } }

/* v3.8.1 — the real wheel, small, inside the home «العب واكسب» banner */
.tmt-mini { position: absolute; inset: 0; display: block; }
.tmt-mini .tmt-g__rim { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.tmt-mini .tmt-g__spin { animation: tmt-mini-spin 22s linear infinite; }
.tmt-mini .tmt-g__pointer { top: -6%; width: 15%; }
.tmt-mini .tmt-g__hub { cursor: inherit; font-size: clamp(12px, 2.6vw, 24px); border-width: 2px; }
.tmt-mini.is-green .tmt-g__ring { fill: url(#tmmsilver); }
.tmt-mini.is-green .tmt-g__pointer path { fill: url(#tmmptrg); }
@keyframes tmt-mini-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .tmt-mini .tmt-g__spin { animation: none; } }

/* ---------------------------------------------------------------- app feel (installed / store app) — v3.9 */
.tm-app-mode, .tm-app-mode body { -webkit-tap-highlight-color: transparent; overscroll-behavior-y: contain; }
.tm-app-mode a, .tm-app-mode button, .tm-app-mode [role="button"], .tm-app-mode nav, .tm-app-mode .tm-iconbtn { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.tm-app-mode a img { -webkit-touch-callout: none; -webkit-user-drag: none; }
.tm-app-mode button:active, .tm-app-mode .tm-btn:active, .tm-app-mode .tmt-btn:active { transform: scale(.97); }
.tm-in-app [data-tm-install], .tm-in-app .tm-app2, .tm-in-app .tmt-banner { display: none !important; }
@media (display-mode: standalone) {
	@view-transition { navigation: auto; }
	::view-transition-old(root), ::view-transition-new(root) { animation-duration: .18s; }
}
.tm-navbar { position: fixed; inset: 0 0 auto; height: 3px; z-index: 2147483000; pointer-events: none; transform-origin: right; transform: scaleX(0); opacity: 0; background: linear-gradient(90deg, #8a0e3f, #e5357f 55%, #ff7a1a); }
.tm-navbar.is-on { opacity: 1; transform: scaleX(.85); transition: transform 6s cubic-bezier(.08, .7, .2, 1), opacity .15s; }
.tm-navbar.is-done { opacity: 0; transform: scaleX(1); transition: transform .2s, opacity .3s .15s; }
.tm-ptr { position: fixed; top: -46px; left: 50%; z-index: 2147482999; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: #8a0e3f; background: #fff; box-shadow: 0 8px 22px -8px rgba(76, 29, 149, .45); transform: translate(-50%, 0); opacity: 0; pointer-events: none; }
.tm-ptr.is-pull { opacity: 1; }
.tm-ptr.is-ready { color: #fff; background: #8a0e3f; }
.tm-ptr.is-spin { opacity: 1; top: 14px; color: #fff; background: #8a0e3f; animation: tm-ptr-spin .7s linear infinite; }
@keyframes tm-ptr-spin { to { transform: translate(-50%, 0) rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .tm-navbar.is-on { transition: opacity .15s; } .tm-ptr.is-spin { animation: none; } }

/* delete account */
.tmt-delacc-link { margin-top: 28px; padding-top: 18px; border-top: 1px dashed rgba(138, 14, 63, .2); text-align: center; }
.tmt-delacc-link a { color: #c0262d; font-size: 13.5px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.tmt-delacc { max-width: 520px; padding: 22px; border: 1px solid rgba(192, 38, 45, .18); border-radius: 20px; background: rgba(255, 255, 255, .75); }
.tmt-delacc h2 { margin: 0 0 10px; font-size: 20px; color: #c0262d; }
.tmt-delacc p { margin: 0 0 12px; line-height: 1.8; }
.tmt-delacc__note { font-size: 13px; color: #7c7199; }
.tmt-delacc__err { color: #c0262d; font-weight: 700; }
.tmt-delacc label { display: block; margin: 6px 0; font-weight: 700; }
.tmt-delacc input[type=text] { width: 100%; min-height: 46px; padding: 8px 14px; border: 1.5px solid rgba(192, 38, 45, .3); border-radius: 14px; font-size: 16px; }
.tmt-delacc__btns { display: flex; align-items: center; gap: 16px; margin-top: 14px; }
.tmt-delacc .tmt-delacc__go { min-height: 46px; padding: 0 24px; border: 0; border-radius: 999px; color: #fff !important; -webkit-text-fill-color: #fff; background: #c0262d !important; font: inherit; font-weight: 800; cursor: pointer; }
.tmt-delacc-done { position: fixed; bottom: 90px; left: 50%; z-index: 99999; transform: translateX(-50%); padding: 12px 22px; border-radius: 999px; color: #fff; background: #1c0f14; font-weight: 700; animation: tmt-delacc-out 4s forwards; }
@keyframes tmt-delacc-out { 0%, 80% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }
