/* ============================================================
   SMILE — «نادي سمايل» and «لفّ واربح» (js/club.js), and today's entry offer.
   ============================================================ */
#sheetClub { background: #FFFFFF; }
html.phone #sheetClub { max-height: 92dvh; }
#sheetClub .sheet__head h3 { font: 700 24px/1.45 var(--font-display); }
.club { display: grid; gap: 14px; padding-bottom: 10px; }
.clubcard { position: relative; overflow: hidden; display: grid; gap: 4px; padding: 18px 18px 16px; border-radius: 20px; color: #FFFFFF; background: radial-gradient(120% 90% at 0% 0%, #3A3A37 0%, #141413 60%); box-shadow: 0 18px 34px -18px rgba(0,0,0,.5); }
.clubcard::after { content: ""; position: absolute; width: 180px; height: 180px; left: -60px; bottom: -90px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,228,92,.35), rgba(255,228,92,0)); }
.clubcard small { font: 700 11px/1 var(--font-body); letter-spacing: .12em; color: #FFE45C; }
.clubcard b { font: 700 26px/1.3 var(--font-display); }
.clubcard--intro span { font-size: 13px; opacity: .85; }
.clubcard__pts { font: 800 34px/1.1 var(--font-body) !important; }
.clubcard__pts span { font-size: 15px; font-weight: 600; opacity: .8; }
.clubcard__val { font-size: 13px; opacity: .8; }
.clubcard__bar { height: 6px; border-radius: 3px; background: rgba(255,255,255,.18); overflow: hidden; margin-top: 8px; }
.clubcard__bar i { display: block; height: 100%; border-radius: 3px; background: #FFE45C; }
.clubcard__next { font-size: 12px; opacity: .85; }
.clubcard--gold { background: radial-gradient(120% 90% at 0% 0%, #6E5A12 0%, #2A230A 65%); }
.clubcard--platinum { background: radial-gradient(120% 90% at 0% 0%, #5B6470 0%, #1C2026 65%); }
.club__perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.club__perks li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.6; }
.club__perks svg, .club__appic svg { width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: #141413; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.club__join { height: 54px; border: 0; border-radius: 14px; background: #FFE45C; color: #141413; font: 800 17px/1 var(--font-body); cursor: pointer; }
.club__note { margin: 0; font-size: 12px; line-height: 1.7; color: var(--sh-muted, #77766F); }
.club__sec { padding: 14px; border-radius: 16px; background: #F6F6F3; display: grid; gap: 10px; }
.club__sec h4 { margin: 0; font: 700 15px/1.4 var(--font-body); display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.club__sec h4 small { font-size: 12px; font-weight: 600; color: #1B7446; }
.club__sec p { margin: 0; font-size: 13px; color: #45443F; line-height: 1.6; }
.club__btn { height: 44px; padding: 0 16px; border: 1.5px solid #141413; border-radius: 12px; background: #FFFFFF; color: #141413; font: 700 14px/1 var(--font-body); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.club__btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.club__btn--ink { background: #141413; color: #FFFFFF; }
.club__btn:disabled { opacity: .5; cursor: default; }
.club__week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.club__week span { display: grid; justify-items: center; gap: 4px; }
.club__week i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #FFFFFF; border: 1.5px dashed #D9D9D5; font: 700 10px/1 var(--font-body); font-style: normal; color: #77766F; }
.club__week span.on i { background: #FFE45C; border: 0; color: #141413; }
.club__week span.me i { border-color: #141413; }
.club__week i svg { width: 16px; height: 16px; fill: none; stroke: #141413; stroke-width: 2.6; }
.club__week small { font-size: 10px; color: #77766F; }
.club__spin { grid-template-columns: minmax(0, 1fr) auto; align-items: center; background: #FFF6C7; }
.club__refs { display: flex; align-items: center; gap: 8px; }
.club__refs i { width: 30px; height: 8px; border-radius: 4px; background: #E3E3DF; }
.club__refs i.on { background: #141413; }
.club__refs span { font-size: 12.5px; font-weight: 700; margin-inline-start: 4px; }
.club__link { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 10px; border-radius: 12px; background: #FFFFFF; border: 1px solid #E3E3DF; min-width: 0; }
.club__link span { flex: 1; min-width: 0; font: 600 12.5px/1.4 ui-monospace, monospace; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: left; }
.club__link button { display: inline-flex; align-items: center; gap: 4px; height: 34px; padding: 0 12px; border: 0; border-radius: 10px; background: #141413; color: #FFFFFF; font: 700 13px/1 var(--font-body); cursor: pointer; }
.club__link button svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.club__demo { border: 0; background: none; padding: 0; color: #141413; font: inherit; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.club__app { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; }
.club__appic { width: 42px; height: 42px; border-radius: 12px; background: #FFFFFF; display: grid; place-items: center; }
.club__earn { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 13.5px; }
.club__earn li { display: flex; justify-content: space-between; gap: 10px; }
.club__tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.club__tier { padding: 10px 8px; border-radius: 12px; background: #FFFFFF; border: 1.5px solid transparent; display: grid; gap: 2px; align-content: start; }
.club__tier.on { border-color: #141413; }
.club__tier b { font-size: 14px; }
.club__tier small { font-size: 10.5px; color: #77766F; }
.club__tier ul { margin: 4px 0 0; padding-inline-start: 14px; font-size: 11px; line-height: 1.6; color: #45443F; }

/* the wheel */
.spin { display: grid; gap: 12px; justify-items: center; padding-bottom: 10px; }
.spin__lead { margin: 0; font-size: 13.5px; text-align: center; color: #45443F; }
.spin__stage { position: relative; width: min(300px, 82vw); aspect-ratio: 1; }
.spin__wheel { width: 100%; height: 100%; display: block; filter: drop-shadow(0 14px 22px rgba(0,0,0,.25)); }
.spin__wheel text { font-family: var(--font-body); }
.spin__pin { position: absolute; top: -6px; left: 50%; width: 0; height: 0; margin-left: -14px; border-left: 14px solid transparent; border-right: 14px solid transparent; border-top: 26px solid #C8322B; z-index: 2; filter: drop-shadow(0 3px 3px rgba(0,0,0,.25)); }
.spin__go { position: absolute; top: 50%; left: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border: 4px solid #141413; border-radius: 50%; background: #FFE45C; color: #141413; font: 800 18px/1 var(--font-body); cursor: pointer; box-shadow: 0 6px 16px rgba(0,0,0,.3); }
.spin__go:disabled { background: #FFFFFF; font-size: 15px; cursor: default; }
.spin__go:not(:disabled):active { transform: scale(.95); }
.spin__result { width: 100%; }
.spin__card { display: grid; gap: 6px; justify-items: center; text-align: center; padding: 14px; border-radius: 16px; background: #FFF6C7; }
.spin__card b { font: 700 22px/1.4 var(--font-display); }
.spin__card span { font-size: 13px; color: #45443F; line-height: 1.7; }
.spin__card code { font: 800 14px/1 ui-monospace, monospace; background: #FFFFFF; padding: 3px 8px; border-radius: 6px; }
.spin__club { justify-self: stretch; }

/* the special circles in the story bar: spin and the club */
.stc--spin .stc__ring, .stc--club .stc__ring { background: conic-gradient(from 0deg, #FFE45C, #141413, #FFE45C, #141413, #FFE45C); }
.stc__icon { position: relative; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #FFE45C; color: #141413; }
.stc--club .stc__icon { background: #141413; color: #FFE45C; }
.stc__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* today's entry offer (a real countdown to midnight, a real code) */
.offer-in { display: grid; gap: 12px; justify-items: center; text-align: center; padding: 6px 0 12px; }
.offer-in__tag { font: 700 12px/1 var(--font-body); background: #141413; color: #FFE45C; padding: 6px 12px; border-radius: 999px; }
.offer-in h4 { margin: 0; font: 700 30px/1.35 var(--font-display); }
.offer-in h4 mark { background: #FFE45C; padding: 0 .15em; border-radius: 4px; }
.offer-in p { margin: 0; font-size: 14px; color: #45443F; line-height: 1.7; }
.offer-in__clock { display: flex; gap: 8px; direction: ltr; }
.offer-in__clock span { display: grid; gap: 2px; justify-items: center; min-width: 58px; padding: 8px 0; border-radius: 12px; background: #F3F3F1; }
.offer-in__clock b { font: 800 22px/1 ui-monospace, monospace; }
.offer-in__clock small { font-size: 10px; color: #77766F; }
.offer-in__code { font: 800 18px/1 ui-monospace, monospace; letter-spacing: .08em; padding: 10px 16px; border: 2px dashed #141413; border-radius: 12px; }
.offer-in__acts { display: grid; grid-template-columns: 1.3fr 1fr; gap: 8px; width: 100%; }
.offer-in__acts button { height: 48px; border-radius: 12px; font: 700 15px/1 var(--font-body); cursor: pointer; }
.offer-in__acts .go { border: 0; background: #141413; color: #FFFFFF; }
.offer-in__acts .no { border: 1.5px solid #141413; background: #FFFFFF; color: #141413; }

/* «ميك ماي ستايل» on the product page, the «حدّث» pill, the receipt by email */
#pv .np__style { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 48px; margin-top: 12px; border: 0; border-radius: 12px; background: #FFE45C; color: #141413; font: 800 15px/1 var(--font-body); cursor: pointer; }
#pv .np__style svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.updpill { position: fixed; z-index: 91; top: calc(10px + env(safe-area-inset-top, 0px)); left: 50%; transform: translate(-50%, -140%); display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; border-radius: 999px; background: #141413; color: #FFFFFF; font: 600 13px/1 var(--font-body); box-shadow: 0 12px 30px -12px rgba(0,0,0,.5); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.updpill.show { transform: translate(-50%, 0); }
.updpill button { height: 32px; padding: 0 14px; border: 0; border-radius: 999px; background: #FFE45C; color: #141413; font: 800 13px/1 var(--font-body); cursor: pointer; }
.rc__mail { display: flex; gap: 6px; margin-top: 10px; }
.rc__mail input { flex: 1; min-width: 0; width: 0; height: 44px; border: 1.5px solid #E3E3DF; border-radius: 12px; padding: 0 12px; font: 500 14px/1 var(--font-body); direction: ltr; text-align: left; }
.rc__mail button { height: 44px; padding: 0 14px; border: 0; border-radius: 12px; background: #141413; color: #FFFFFF; font: 700 13.5px/1 var(--font-body); cursor: pointer; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .updpill { transition: none; } }
