/* ==========================================================================
   Ücretsiz Kazan (views/kazan.php) · Bonuslar (views/bonuslar.php) · VIP "nasıl çalışır" ·
   turnuva sıralaması ve penceresi · haftanın oyunu · promosyon kalbi
   Renkler temanın değişkenlerinden; animasyonlar yalnız transform/opacity, süslü alanlar
   [data-offpause] içinde (ekran dışında durur). Etkileşim: assets/js/rewards.js
   ========================================================================== */

/* ---------- ortak: durum çipi, uçan puan, meşgul düğme ---------- */
.rw-chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 800; white-space: nowrap; }
.rw-chip .ico { width: 13px; height: 13px; }
.rw-chip--amber { background: rgba(255, 190, 70, .14); color: #ffd27a; }
.rw-chip--green { background: rgba(var(--accent-rgb), .14); color: var(--accent-hi); }
.rw-chip--red { background: rgba(255, 90, 110, .14); color: #ff8b9b; }

.rw-burst {
  position: absolute; left: 50%; top: 0; z-index: 5; padding: 4px 10px; border-radius: 999px;
  background: var(--accent-grad); color: var(--on-accent, #04200f); font: 800 13px/1.2 var(--font-display); white-space: nowrap;
  pointer-events: none; animation: rw-burst 1.1s var(--ease) forwards;
}
@keyframes rw-burst {
  0% { opacity: 0; transform: translate(-50%, 8px) scale(.7); }
  20% { opacity: 1; transform: translate(-50%, -14px) scale(1.06); }
  100% { opacity: 0; transform: translate(-50%, -54px) scale(1); }
}
.is-pop { animation: rw-pop .5s var(--ease-spring, var(--ease)); }
@keyframes rw-pop { 40% { transform: scale(1.06); } }
.btn.is-busy { opacity: .7; pointer-events: none; }

/* beyaz düğme (bonus kutuları — renkli kartın üstünde okunsun) */
.btn--light { background: #fff; color: #120d24; border: 0; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .6); }
.btn--light:hover { background: #f1edff; transform: translateY(-1px); }

/* ==========================================================================
   Ücretsiz Kazan
   ========================================================================== */
.rw-hero { background: radial-gradient(60% 120% at 100% 0%, rgba(255, 190, 70, .24), transparent 60%), radial-gradient(70% 120% at 0% 100%, rgba(var(--accent-rgb), .22), transparent 60%), var(--bg-2); }
.rw-hero__fx { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.rw-hero__orb { position: absolute; right: 8%; top: 50%; width: 260px; height: 260px; margin-top: -130px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 207, 77, .28), transparent 65%); }
.rw-coin {
  position: absolute; left: var(--x); top: var(--y); display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--elx-gold, linear-gradient(135deg, #ff9f1c, #ffcf4d)); color: #6b3d00; box-shadow: inset 0 -3px 0 rgba(120, 60, 0, .35), 0 10px 22px -8px rgba(255, 170, 40, .8);
  animation: rw-float 5s ease-in-out infinite; animation-delay: calc(var(--d) * -1);
}
.rw-coin .ico { width: 20px; height: 20px; }
@keyframes rw-float { 50% { transform: translateY(-14px) rotate(12deg); } }

.rw-jump { margin-bottom: 18px; }

.rw-sec { position: relative; margin-bottom: 18px; padding: clamp(16px, 2vw, 24px); border-radius: var(--radius-xl); background: var(--glass); border: 1px solid var(--line); scroll-margin-top: calc(var(--topbar-h, 64px) + var(--tabnav-h, 0px) + 16px); }
.rw-sec__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.rw-sec__ico { display: grid; place-items: center; flex-shrink: 0; width: 46px; height: 46px; border-radius: 14px; background: rgba(var(--t, var(--accent-rgb)), .14); color: rgb(var(--t, var(--accent-rgb))); box-shadow: inset 0 0 0 1px rgba(var(--t, var(--accent-rgb)), .3); }
.rw-sec__ico .ico { width: 22px; height: 22px; }
.rw-sec__ico--amber { --t: 255, 190, 70; }
.rw-sec__ico--green { --t: var(--accent-rgb); }
.rw-sec__ico--violet { --t: var(--cyan-rgb); }
.rw-sec__title { flex: 1; min-width: 0; }
.rw-sec__title h2 { font-size: clamp(18px, 1.6vw, 22px); }
.rw-sec__title p { margin-top: 3px; font-size: 13.5px; color: var(--text-dim); }

/* seri */
.rw-streak { display: flex; align-items: baseline; gap: 4px; padding: 8px 14px; border-radius: 14px; background: rgba(255, 140, 50, .1); border: 1px solid rgba(255, 140, 50, .28); white-space: nowrap; }
.rw-streak__flame { align-self: center; color: #ff9d3c; }
.rw-streak__flame .ico { width: 18px; height: 18px; }
.rw-streak b { font: 800 22px/1 var(--font-display); }
.rw-streak small { font-size: 12px; color: var(--text-mute); }

/* 7 günlük takvim */
.rw-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.rw-day {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 14px 6px 12px; border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015)); border: 1px solid var(--line); text-align: center;
  animation: card-in .5s var(--ease) backwards; animation-delay: calc(var(--i) * 45ms);
}
.rw-day__n { font-size: 11.5px; font-weight: 800; color: var(--text-mute); text-transform: uppercase; letter-spacing: .04em; }
.rw-day__art { position: relative; display: grid; place-items: center; width: 52px; height: 52px; margin: 8px 0 6px; border-radius: 50%; background: rgba(var(--cyan-rgb), .12); color: var(--cyan); }
.rw-day__art .ico { position: relative; width: 24px; height: 24px; }
.rw-day__glow { position: absolute; inset: -8px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--accent-rgb), .45), transparent 65%); opacity: 0; }
.rw-day__pts { font: 800 18px/1.1 var(--font-display); }
.rw-day small { font-size: 11px; color: var(--text-mute); }
.rw-day__state { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-height: 22px; margin-top: 8px; padding: 2px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; color: var(--text-mute); background: rgba(255, 255, 255, .05); }
.rw-day__state .ico { width: 12px; height: 12px; }

.rw-day.is-done .rw-day__art, .rw-day.is-claimed .rw-day__art { background: rgba(var(--accent-rgb), .14); color: var(--accent-hi); }
.rw-day.is-done { opacity: .75; }
.rw-day.is-done .rw-day__state, .rw-day.is-claimed .rw-day__state { background: rgba(var(--accent-rgb), .14); color: var(--accent-hi); }
.rw-day.is-claimed { border-color: rgba(var(--accent-rgb), .45); background: linear-gradient(180deg, rgba(var(--accent-rgb), .16), rgba(var(--accent-rgb), .03)); }
.rw-day.is-today { border-color: rgba(var(--accent-rgb), .6); background: linear-gradient(180deg, rgba(var(--accent-rgb), .2), rgba(var(--accent-rgb), .04)); box-shadow: 0 0 0 1px rgba(var(--accent-rgb), .25), 0 16px 34px -18px rgba(var(--accent-rgb), .9); }
.rw-day.is-today .rw-day__art { background: var(--accent-grad); color: var(--on-accent, #04200f); animation: rw-bob 2.4s ease-in-out infinite; }
.rw-day.is-today .rw-day__glow { opacity: 1; animation: rw-pulse 2.4s ease-in-out infinite; }
.rw-day.is-today .rw-day__state { background: var(--accent-grad); color: var(--on-accent, #04200f); }
.rw-day.is-next { border-style: dashed; border-color: rgba(var(--cyan-rgb), .45); }
.rw-day.is-next .rw-day__state { color: var(--cyan); background: rgba(var(--cyan-rgb), .12); }
.rw-day.is-locked .rw-day__art { opacity: .6; }
@keyframes rw-bob { 50% { transform: translateY(-4px); } }
@keyframes rw-pulse { 50% { transform: scale(1.18); opacity: .5; } }

/* 7. gün: büyük ödül */
.rw-day--big { background: radial-gradient(90% 70% at 50% 0%, rgba(255, 207, 77, .22), transparent 70%), linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); border-color: rgba(255, 207, 77, .35); }
.rw-day--big .rw-day__art { background: var(--elx-gold, linear-gradient(135deg, #ff9f1c, #ffcf4d)); color: #6b3d00; }
.rw-day--big .rw-day__pts { background: linear-gradient(180deg, #fff3c4, #ffcf4d); -webkit-background-clip: text; background-clip: text; color: transparent; }

.rw-daily__foot { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.rw-daily__foot p { color: var(--text-dim); font-size: 14px; }
.rw-daily__done { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-hi) !important; font-weight: 700; }
.rw-daily__done .ico { width: 18px; height: 18px; }
.rw-collect em { margin-left: 4px; padding: 2px 9px; border-radius: 999px; background: rgba(4, 32, 15, .16); font-style: normal; font-size: 13px; }
.rw-timer { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 12px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); font-size: 13px; color: var(--text-dim); }
.rw-timer .ico { width: 15px; height: 15px; color: var(--cyan); }
.rw-timer b { font-family: var(--font-display); color: var(--text); font-variant-numeric: tabular-nums; }

/* görev ilerlemesi */
.rw-progress { display: grid; gap: 6px; min-width: 170px; }
.rw-progress small { font-size: 12px; color: var(--text-mute); text-align: right; }
.rw-progress small b { color: var(--text); }
.rw-progress__bar { position: relative; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .06); overflow: hidden; }
/* --p: 0–1 arası oran (yüzde değil: scaleX birimsiz sayı ister) */
.rw-progress__bar i { position: absolute; inset: 0; border-radius: inherit; background: var(--accent-grad); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .8s var(--ease); }

/* görevler */
.rw-tasks { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 10px; }
.rw-task { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: 'ico text pts' 'ico text act'; align-items: center; gap: 4px 12px; padding: 14px; border-radius: 16px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); transition: border-color .25s, background-color .25s; }
.rw-task:hover { border-color: var(--line-strong); }
.rw-task__ico { grid-area: ico; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: rgba(var(--cyan-rgb), .12); color: var(--cyan); }
.rw-task__ico .ico { width: 20px; height: 20px; }
.rw-task__text { grid-area: text; min-width: 0; }
.rw-task__text b { display: block; font-size: 14px; }
.rw-task__text small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--text-mute); }
.rw-task__pts { grid-area: pts; justify-self: end; padding: 3px 9px; border-radius: 999px; background: rgba(255, 190, 70, .12); color: #ffd27a; font: 800 12.5px/1.3 var(--font-display); }
.rw-task__act { grid-area: act; justify-self: end; display: flex; gap: 6px; }
.rw-task__act .btn { --h: 32px; padding: 0 12px; font-size: 12.5px; }
.rw-task__ok { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 800; color: var(--accent-hi); }
.rw-task__ok .ico { width: 15px; height: 15px; }
.rw-task.is-done { border-color: rgba(var(--accent-rgb), .45); background: rgba(var(--accent-rgb), .06); }
.rw-task.is-done .rw-task__ico, .rw-task.is-claimed .rw-task__ico { background: rgba(var(--accent-rgb), .14); color: var(--accent-hi); }
.rw-task.is-claimed { opacity: .72; }
.rw-task.is-claimed .rw-task__pts { background: rgba(255, 255, 255, .05); color: var(--text-mute); }
/* uygulama görevi: tarayıcıda "Yükle", yüklü uygulamanın içinde "Topla" */
.rw-task__app { display: none; }
.is-app .rw-task__app { display: inline-flex; }
.is-app .rw-task__install { display: none; }

/* VIP ilerleme şeridi */
.rw-vipbar { display: grid; grid-template-columns: auto auto minmax(80px, 1fr) auto auto; align-items: center; gap: 14px; margin-top: 16px; padding: 14px 16px; border-radius: 16px; background: linear-gradient(90deg, rgba(var(--cyan-rgb), .12), rgba(var(--accent-rgb), .06)); border: 1px solid rgba(var(--cyan-rgb), .25); transition: border-color .25s, transform .25s var(--ease); }
.rw-vipbar:hover { border-color: rgba(var(--cyan-rgb), .5); transform: translateY(-1px); }
.rw-vipbar__ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--elx-violet, linear-gradient(135deg, #6a38ef, #a26bff)); color: #fff; }
.rw-vipbar__ico .ico { width: 18px; height: 18px; }
.rw-vipbar__text small { display: block; font-size: 11.5px; color: var(--text-mute); }
.rw-vipbar__text b { font-family: var(--font-display); }
.rw-vipbar__track { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.rw-vipbar__track i { display: block; width: 100%; height: 100%; border-radius: inherit; background: var(--elx-violet, linear-gradient(90deg, #6a38ef, #a26bff)); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .8s var(--ease); }
.rw-vipbar__left { font-size: 12.5px; color: var(--text-dim); white-space: nowrap; }
.rw-vipbar__go { color: var(--text-mute); }

/* kayıp iadesi */
.rw-cash { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 24px; align-items: center; background: radial-gradient(60% 100% at 0% 50%, rgba(var(--accent-rgb), .12), transparent 70%), var(--glass); }
.rw-cash__badge { position: relative; display: grid; place-items: center; align-content: center; width: 160px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 35%, rgba(var(--accent-rgb), .35), rgba(var(--accent-rgb), .06) 70%); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .35); }
.rw-cash__ring { position: absolute; inset: -6px; border-radius: 50%; border: 2px dashed rgba(var(--accent-rgb), .45); animation: spin-t 18s linear infinite; }
.rw-cash__badge b { font: 900 46px/1 var(--font-display); background: linear-gradient(180deg, #e6fff3, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rw-cash__badge small { margin-top: 2px; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-hi); }
.rw-cash__head h2 { font-size: clamp(18px, 1.6vw, 22px); }
.rw-cash__head p { margin-top: 4px; font-size: 13.5px; color: var(--text-dim); }
.rw-cash__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.rw-cash__card { display: grid; align-content: start; gap: 8px; padding: 14px; border-radius: 16px; background: rgba(0, 0, 0, .22); border: 1px solid var(--line); }
.rw-cash__card > small { font-size: 12px; font-weight: 700; color: var(--text-mute); }
.rw-cash__nums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.rw-cash__nums span { display: grid; gap: 2px; }
.rw-cash__nums em { font-style: normal; font-size: 12px; color: var(--text-mute); }
.rw-cash__nums b { font: 800 20px/1.15 var(--font-display); font-variant-numeric: tabular-nums; }
.rw-cash__nums b.is-accent { color: var(--accent-hi); }
.rw-cash__hint { font-size: 12px; color: var(--text-mute); }
.rw-clock { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.rw-clock span { display: grid; justify-items: center; padding: 8px 4px; border-radius: 10px; background: rgba(255, 255, 255, .04); }
.rw-clock b { font: 800 20px/1.1 var(--font-display); font-variant-numeric: tabular-nums; }
.rw-clock small { font-size: 10.5px; color: var(--text-mute); }
.rw-cash__last { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .035); border: 1px solid var(--line); font-size: 13.5px; color: var(--text-dim); }
.rw-cash__last > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.rw-cash__last > span:first-child .ico { width: 17px; height: 17px; color: var(--cyan); flex-shrink: 0; }
.rw-cash__last b { color: var(--text); }
.rw-cash__last.is-ready { border-color: rgba(var(--accent-rgb), .5); background: rgba(var(--accent-rgb), .08); }
.rw-cash__last.is-ready > span:first-child .ico { color: var(--accent-hi); }

/* hoş geldin paketi kısa yolu */
.rw-promo { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; padding: 16px 18px; border-radius: var(--radius-xl); background: linear-gradient(100deg, rgba(255, 190, 70, .16), rgba(var(--cyan-rgb), .12) 60%, rgba(var(--accent-rgb), .1)); border: 1px solid rgba(255, 190, 70, .25); transition: transform .3s var(--ease), border-color .3s; }
.rw-promo:hover { transform: translateY(-2px); border-color: rgba(255, 190, 70, .5); }
.rw-promo__gifts { display: flex; }
.rw-promo__gifts i { display: grid; place-items: center; width: 40px; height: 40px; margin-left: -10px; border-radius: 12px; background: var(--bg-3); border: 2px solid var(--bg-1); color: #ffcf4d; transform: rotate(calc(var(--i) * 6deg - 9deg)); }
.rw-promo__gifts i:first-child { margin-left: 0; }
.rw-promo__gifts .ico { width: 19px; height: 19px; }
.rw-promo__text { flex: 1; min-width: 0; }
.rw-promo__text small { display: block; font-size: 12px; color: var(--text-mute); }
.rw-promo__text b { font-family: var(--font-display); font-size: 16px; }

/* sosyal medya */
.rw-social { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.rw-soc { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; border-radius: 16px; background: radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--c) 22%, transparent), transparent 70%), rgba(255, 255, 255, .03); border: 1px solid color-mix(in srgb, var(--c) 28%, transparent); transition: transform .3s var(--ease), border-color .3s; }
.rw-soc:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c) 60%, transparent); }
.rw-soc__ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: color-mix(in srgb, var(--c) 20%, transparent); color: var(--c); }
.rw-soc__ico .ico { width: 22px; height: 22px; }
.rw-soc b { font-size: 15px; }
.rw-soc__go { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 700; color: var(--text-dim); }
.rw-soc__go .ico { width: 13px; height: 13px; }

.rw-note { display: flex; align-items: flex-start; gap: 8px; margin: 6px 2px 0; font-size: 12.5px; color: var(--text-mute); }
.rw-note .ico { flex-shrink: 0; width: 16px; height: 16px; margin-top: 1px; }
.rw-note button { color: var(--accent-hi); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

/* ==========================================================================
   Bonuslar
   ========================================================================== */
.bn-hero { background: radial-gradient(60% 120% at 100% 0%, rgba(162, 107, 255, .3), transparent 60%), radial-gradient(70% 120% at 0% 100%, rgba(255, 190, 70, .16), transparent 60%), var(--bg-2); }
.bn-hero__fx { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.bn-hero__burst { position: absolute; right: 10%; top: 50%; width: 300px; height: 300px; margin-top: -150px; border-radius: 50%; background: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, .05) 0 8deg, transparent 8deg 22deg); mask-image: radial-gradient(circle, #000 20%, transparent 68%); -webkit-mask-image: radial-gradient(circle, #000 20%, transparent 68%); animation: spin-t 40s linear infinite; }
.bn-mini { position: absolute; top: var(--t); right: var(--r); width: 40px; height: 40px; animation: rw-float 5.5s ease-in-out infinite; animation-delay: calc(var(--i) * -1.3s); }
.bn-mini__box { position: absolute; inset: 30% 6% 0; border-radius: 6px; background: var(--g); }
.bn-mini__lid { position: absolute; inset: 14% 0 auto; height: 24%; border-radius: 5px; background: var(--g); filter: brightness(1.15); }
.bn-mini::after { content: ''; position: absolute; left: 44%; width: 12%; top: 14%; bottom: 0; background: rgba(255, 255, 255, .85); }

/* adımların renkleri */
.bn-step--gold, .bn-mini--gold { --g: linear-gradient(160deg, #c89a52, #7a5426); --c1: 200, 154, 82; }
.bn-step--teal, .bn-mini--teal { --g: linear-gradient(160deg, #3d9aa8, #1d4f63); --c1: 61, 154, 168; }
.bn-step--blue, .bn-mini--blue { --g: linear-gradient(160deg, #4f7bd9, #263f8a); --c1: 79, 123, 217; }
.bn-step--violet, .bn-mini--violet { --g: linear-gradient(160deg, #9a5ce6, #4e2a92); --c1: 154, 92, 230; }

.bn-pack { margin-bottom: 22px; }
.bn-pack__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.bn-pack__head h2 { font-size: clamp(19px, 1.7vw, 23px); }
.bn-pack__head p { margin-top: 2px; font-size: 13.5px; color: var(--text-dim); }
.bn-ends { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 12px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); font-size: 13px; color: var(--text-dim); }
.bn-ends .ico { width: 15px; height: 15px; color: var(--gold, #ffcf4d); }
.bn-ends b { font-family: var(--font-display); color: var(--text); font-variant-numeric: tabular-nums; }
.bn-ends.is-over { color: var(--text-mute); }

.bn-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding-top: 34px; }
.bn-step {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 64px 16px 16px; border-radius: 22px; text-align: center;
  background: radial-gradient(90% 60% at 50% 0%, rgba(255, 255, 255, .22), transparent 70%), var(--g);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 22px 40px -24px rgba(var(--c1), .9);
  animation: card-in .6s var(--ease) backwards; animation-delay: calc(var(--i) * 80ms);
  transition: transform .35s var(--ease);
}
.bn-step:hover { transform: translateY(-4px); }
.bn-step__pct { font: 900 clamp(26px, 2.4vw, 34px)/1 var(--font-display); color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .25); }
.bn-step__n { font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, .85); }
.bn-step__rule { margin-top: 4px; padding: 3px 10px; border-radius: 999px; background: rgba(0, 0, 0, .22); font-size: 11.5px; color: rgba(255, 255, 255, .85); }
.bn-step__act { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100%; margin-top: auto; padding-top: 14px; }
.bn-step__act .btn { --h: 40px; font-size: 13.5px; }
.bn-step__bonus { font: 800 17px/1.2 var(--font-display); color: #fff; }
.bn-step__note { font-size: 11.5px; color: rgba(255, 255, 255, .78); }
.bn-step__note b { font-variant-numeric: tabular-nums; }
.bn-step__locked { display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: 100%; height: 40px; border-radius: 12px; background: rgba(0, 0, 0, .2); font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, .8); }
.bn-step__locked .ico { width: 15px; height: 15px; }
.bn-step .rw-chip--amber { background: rgba(0, 0, 0, .28); color: #ffe08a; }
.bn-step .rw-chip--green { background: rgba(0, 0, 0, .28); color: #9dffd0; }
.bn-step .rw-chip--red { background: rgba(0, 0, 0, .28); color: #ffb3bd; }
.bn-step.is-locked, .bn-step.is-expired, .bn-step.is-missed { filter: saturate(.45) brightness(.82); }
.bn-step.is-ready { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 0 0 2px rgba(255, 255, 255, .55), 0 24px 46px -20px rgba(var(--c1), 1); }

/* kutu çizimi: gövde + kurdele + kapak + fiyonk */
.bn-gift { position: absolute; left: 50%; top: -34px; width: 92px; height: 92px; margin-left: -46px; animation: rw-float 4.8s ease-in-out infinite; animation-delay: calc(var(--i) * -1.1s); }
.bn-gift__glow { position: absolute; inset: -14px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .45), transparent 62%); opacity: .5; }
.bn-gift__box { position: absolute; left: 12%; right: 12%; top: 42%; bottom: 4%; display: grid; place-items: center; border-radius: 8px; background: linear-gradient(180deg, #f4f2ff, #c9c2e8); box-shadow: inset 0 -6px 0 rgba(0, 0, 0, .08), 0 12px 18px -10px rgba(0, 0, 0, .6); }
.bn-gift__box::before { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 16%; margin-left: -8%; background: var(--g); }
.bn-gift__box b { position: relative; z-index: 1; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; color: rgb(var(--c1)); font: 900 14px/1 var(--font-display); box-shadow: 0 2px 6px rgba(0, 0, 0, .2); }
.bn-gift__lid { position: absolute; left: 6%; right: 6%; top: 30%; height: 16%; border-radius: 6px; background: linear-gradient(180deg, #ffffff, #dcd6f5); box-shadow: 0 4px 8px -4px rgba(0, 0, 0, .5); transform-origin: 85% 100%; transition: transform .5s var(--ease-spring, var(--ease)); }
.bn-gift__lid i { position: absolute; top: 0; bottom: 0; left: 50%; width: 15%; margin-left: -7.5%; background: var(--g); }
.bn-gift__bow { position: absolute; left: 50%; top: 14%; width: 44%; height: 20%; margin-left: -22%; transition: transform .5s var(--ease-spring, var(--ease)); }
.bn-gift__bow::before, .bn-gift__bow::after { content: ''; position: absolute; top: 0; width: 52%; height: 100%; border-radius: 50% 50% 40% 40%; background: var(--g); box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .25); }
.bn-gift__bow::before { left: 0; transform: rotate(-24deg); transform-origin: right bottom; }
.bn-gift__bow::after { right: 0; transform: rotate(24deg); transform-origin: left bottom; }
.bn-step:hover .bn-gift__lid { transform: translateY(-4px) rotate(-6deg); }
.bn-step:hover .bn-gift__bow { transform: translateY(-4px) rotate(-6deg); }
/* bonusu hazır kutu: kapak aralanır, ışık atar */
.bn-step.is-ready .bn-gift__lid, .bn-step.is-ready .bn-gift__bow { transform: translateY(-9px) rotate(-14deg); }
.bn-step.is-ready .bn-gift__glow { opacity: 1; animation: rw-pulse 2s ease-in-out infinite; }
.bn-step.is-claimed .bn-gift__lid, .bn-step.is-claimed .bn-gift__bow { transform: translate(14px, -16px) rotate(18deg); opacity: .9; }

.bn-how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 16px; counter-reset: bn; }
.bn-how li { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 14px; border-radius: 16px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.bn-how li > span { grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(var(--cyan-rgb), .12); color: var(--cyan); }
.bn-how li > span .ico { width: 19px; height: 19px; }
.bn-how b { font-size: 14px; }
.bn-how small { font-size: 12.5px; color: var(--text-mute); }

.bn-claims { display: grid; gap: 8px; }
.bn-claim { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.bn-claim__ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; }
.bn-claim__ico .ico { width: 18px; height: 18px; }
.bn-claim__ico--gift { background: rgba(255, 190, 70, .12); color: #ffd27a; }
.bn-claim__ico--cash { background: rgba(var(--accent-rgb), .12); color: var(--accent-hi); }
.bn-claim__text b { display: block; font-size: 14px; }
.bn-claim__text small { display: block; font-size: 12px; color: var(--text-mute); }
.bn-claim__note { color: #ff9aa8 !important; }
.bn-claim__amt { font: 800 15px/1 var(--font-display); font-variant-numeric: tabular-nums; }

.bn-more { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.bn-card { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 18px; background: radial-gradient(110% 90% at 0% 0%, rgba(var(--t), .18), transparent 70%), rgba(255, 255, 255, .03); border: 1px solid rgba(var(--t), .22); transition: transform .3s var(--ease), border-color .3s; }
.bn-card:hover { transform: translateY(-3px); border-color: rgba(var(--t), .5); }
.bn-card__ico { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 6px; border-radius: 13px; background: rgba(var(--t), .16); color: rgb(var(--t)); }
.bn-card__ico .ico { width: 21px; height: 21px; }
.bn-card b { font-size: 15px; }
.bn-card small { font-size: 12.5px; color: var(--text-mute); }
.bn-card em { display: inline-flex; align-items: center; gap: 4px; margin-top: auto; padding-top: 8px; font-style: normal; font-size: 13px; font-weight: 800; color: rgb(var(--t)); }
.bn-card em .ico { width: 14px; height: 14px; }
.bn-card--cash { --t: var(--accent-rgb); }
.bn-card--daily { --t: 255, 190, 70; }
.bn-card--box { --t: 255, 95, 174; }
.bn-card--vip { --t: var(--cyan-rgb); }

/* ==========================================================================
   VIP: nasıl çalışır + puan dökümü
   ========================================================================== */
.vip-how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 22px 0 6px; }
.vip-how__step { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 20px; overflow: hidden; background: linear-gradient(150deg, rgba(var(--cyan-rgb), .16), rgba(var(--accent-rgb), .05) 80%), var(--bg-2); border: 1px solid var(--line-strong); animation: card-in .6s var(--ease) backwards; animation-delay: calc(var(--i) * 90ms); }
.vip-how__n { align-self: flex-start; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); font-size: 11.5px; font-weight: 800; color: var(--text-dim); }
.vip-how__ico { position: absolute; right: 16px; top: 16px; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--elx-violet, linear-gradient(135deg, #6a38ef, #a26bff)); color: #fff; box-shadow: 0 14px 28px -14px rgba(162, 107, 255, .9); transform: rotate(8deg); }
.vip-how__ico .ico { width: 24px; height: 24px; }
.vip-how__step b { margin-top: 10px; font: 800 19px/1.2 var(--font-display); }
.vip-how__step p { max-width: 34ch; font-size: 13.5px; color: var(--text-dim); }
.vip-how__link { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 13px; font-weight: 800; color: var(--accent-hi); }
.vip-how__link .ico { width: 14px; height: 14px; }

.vip-points { display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: center; gap: 22px; }
.vip-points__sum small { display: block; font-size: 12px; color: var(--text-mute); }
.vip-points__sum b { display: block; font: 900 32px/1.1 var(--font-display); }
.vip-points__sum span { font-size: 12.5px; color: var(--text-dim); }
.vip-points__parts { display: grid; gap: 8px; }
.vip-points__parts div { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; min-width: 170px; }
.vip-points__parts small { font-size: 12.5px; color: var(--text-mute); }
.vip-points__parts b { font-family: var(--font-display); }
.vip-points__dot { width: 10px; height: 10px; border-radius: 50%; }
.vip-points__dot--a { background: var(--cyan); }
.vip-points__dot--b { background: var(--accent); }
.vip-points__list { display: grid; gap: 4px; }
.vip-points__list li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 7px 10px; border-radius: 10px; background: rgba(255, 255, 255, .03); font-size: 13px; }
.vip-points__list li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vip-points__list small { color: var(--text-mute); }
.vip-points__list b { color: var(--accent-hi); font-family: var(--font-display); }

/* ==========================================================================
   Turnuvalar: kart özeti ve ayrıntı penceresi
   ========================================================================== */
.tour__lead { display: grid; gap: 5px; }
.tour__lead-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 10px; background: rgba(0, 0, 0, .22); font-size: 13px; }
.tour__lead-row b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tour__lead-row em { font-style: normal; font-weight: 800; font-family: var(--font-display); color: var(--tone); }
.tour__lead-row.is-me { box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .5); }
.tour__lead-empty { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; background: rgba(0, 0, 0, .22); font-size: 13px; color: var(--text-dim); }
.tour__lead-empty .ico { width: 16px; height: 16px; color: var(--tone); }
.tour__me { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-dim); }
.tour__me .ico { width: 15px; height: 15px; color: var(--accent-hi); }
.tour__soon { display: flex; align-items: center; gap: 8px; padding: 12px; border-radius: 12px; background: rgba(0, 0, 0, .22); font-size: 13px; color: var(--text-dim); }
.tour__soon .ico { width: 16px; height: 16px; color: var(--gold, #ffcf4d); }
.tour__actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; }
.tour__actions:empty { display: none; }

.tmd__medal, .tmd__rank { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; font: 800 12.5px/1 var(--font-display); }
.tmd__rank { background: rgba(255, 255, 255, .06); color: var(--text-dim); }
.tmd__medal .ico { width: 15px; height: 15px; }
.tmd__medal--1 { background: linear-gradient(135deg, #ffcf4d, #ff9f1c); color: #5a3300; }
.tmd__medal--2 { background: linear-gradient(135deg, #e6ebf5, #9aa6bd); color: #2b3242; }
.tmd__medal--3 { background: linear-gradient(135deg, #e7a46b, #a5602e); color: #3d1f08; }

.modal--tour .modal__box.tmd { max-width: 940px; padding: 0; overflow-x: hidden; overscroll-behavior: contain; }
.tmd .modal__x { background: rgba(4, 6, 14, .55); }
.tmd__inner { --tone: #3b7cff; display: flex; flex-direction: column; }
.tmd__head { display: flex; align-items: center; gap: 16px; padding: 24px 64px 20px 24px; background: radial-gradient(80% 140% at 0% 0%, color-mix(in srgb, var(--tone) 34%, transparent), transparent 65%), var(--bg-2); border-bottom: 1px solid var(--line); }
.tmd__ico { display: grid; place-items: center; flex-shrink: 0; width: 56px; height: 56px; border-radius: 16px; background: color-mix(in srgb, var(--tone) 24%, transparent); color: var(--tone); box-shadow: 0 0 28px -6px var(--tone); }
.tmd__ico .ico { width: 26px; height: 26px; }
.tmd__title { flex: 1; min-width: 0; }
.tmd__title small { font-size: 12px; color: var(--text-mute); }
.tmd__title h2 { font-size: clamp(19px, 2vw, 24px); }
.tmd__prize { font: 900 22px/1.2 var(--font-display); color: var(--text); }
.tmd__prize small { font: 600 12px var(--font); color: var(--text-mute); }
.tmd__clock { display: grid; justify-items: end; gap: 4px; }
.tmd__clock small { font-size: 11.5px; color: var(--text-mute); }
.tmd__clock span { display: flex; gap: 2px; font: 800 20px/1 var(--font-display); font-variant-numeric: tabular-nums; }
.tmd__clock b { padding: 6px 7px; border-radius: 8px; background: rgba(0, 0, 0, .3); }
.tmd__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px; padding: 20px 24px; }
.tmd__sub { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.tmd__sub h3, .tmd__info h3 { font-size: 15px; }
.tmd__sub small { font-size: 12px; color: var(--text-mute); }
.tmd__rows { display: grid; gap: 4px; }
.tmd__row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto 92px; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .03); font-size: 13px; }
.tmd__row b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.tmd__row b em { margin-left: 4px; padding: 1px 6px; border-radius: 6px; background: rgba(var(--accent-rgb), .16); color: var(--accent-hi); font-size: 10.5px; font-style: normal; }
.tmd__row > span:nth-child(3) { font-family: var(--font-display); font-weight: 800; color: var(--tone); font-variant-numeric: tabular-nums; }
.tmd__win { text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; }
.tmd__row--head { background: none; padding-top: 0; padding-bottom: 2px; font-size: 11px; font-weight: 700; color: var(--text-mute); text-transform: uppercase; letter-spacing: .04em; }
.tmd__row--head > span:nth-child(3) { color: var(--text-mute); font-family: var(--font); }
.tmd__row--head > span:last-child { text-align: right; }
.tmd__row.is-me { background: rgba(var(--accent-rgb), .1); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .4); }
.tmd__row--me { margin-top: 6px; }
.tmd__empty { display: grid; justify-items: center; gap: 6px; padding: 28px 14px; border-radius: 14px; background: rgba(255, 255, 255, .03); text-align: center; }
.tmd__empty .ico { width: 30px; height: 30px; color: var(--tone); }
.tmd__empty small { font-size: 12.5px; color: var(--text-mute); }
.tmd__upd { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 11.5px; color: var(--text-mute); }
.tmd__upd .ico { width: 13px; height: 13px; }
.tmd__info { display: flex; flex-direction: column; gap: 10px; }
.tmd__rules { display: grid; gap: 6px; margin-bottom: 8px; padding-left: 18px; list-style: disc; font-size: 13px; color: var(--text-dim); }
.tmd__rules li::marker { color: var(--tone); }
.tmd__prizes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.tmd__prizes li { display: flex; justify-content: space-between; gap: 8px; padding: 7px 10px; border-radius: 10px; background: rgba(255, 255, 255, .03); font-size: 13px; }
.tmd__prizes li span { color: var(--text-mute); }
.tmd__prizes li b { font-variant-numeric: tabular-nums; }
.tmd__prizes li.is-top { background: color-mix(in srgb, var(--tone) 14%, transparent); }
.tmd__prizes li.is-top b { color: var(--text); }
.tmd__games { padding: 0 24px 24px; }
.tmd__gamegrid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.modal--tour.is-open .tmd__head > * { animation: fade-up .45s var(--ease) backwards; }
.modal--tour.is-open .tmd__row { animation: fade-up .4s var(--ease) backwards; }
.modal--tour.is-open .tmd__row:nth-child(n+2) { animation-delay: .05s; }
.modal--tour.is-open .tmd__row:nth-child(n+4) { animation-delay: .1s; }
.modal--tour.is-open .tmd__row:nth-child(n+7) { animation-delay: .15s; }

/* ==========================================================================
   Casino: haftanın oyunu
   ========================================================================== */
.view-hero--gotw { align-items: center; }
.gotw-stats { margin-top: 18px; }
.gotw { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 118px; gap: 14px; width: min(420px, 100%); padding: 18px; border-radius: 20px; overflow: hidden; background: radial-gradient(90% 120% at 100% 0%, color-mix(in srgb, var(--a, #6a38ef) 45%, transparent), transparent 70%), linear-gradient(135deg, rgba(var(--cyan-rgb), .22), rgba(10, 8, 24, .7)); border: 1px solid rgba(var(--cyan-rgb), .3); }
.gotw__text { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.gotw__tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 207, 77, .16); color: #ffd97a; font-size: 11.5px; font-weight: 800; }
.gotw__tag .ico { width: 13px; height: 13px; }
.gotw__text h2 { font: 800 clamp(18px, 1.7vw, 22px)/1.15 var(--font-display); }
.gotw__text small { font-size: 12.5px; color: var(--text-dim); }
.gotw__text .btn { margin-top: auto; }
.gotw__cover { position: relative; align-self: center; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; box-shadow: 0 18px 30px -14px rgba(0, 0, 0, .9); transform: rotate(4deg); transition: transform .4s var(--ease); }
.gotw:hover .gotw__cover { transform: rotate(0) scale(1.03); }
.gotw__cover img { width: 100%; height: 100%; object-fit: cover; }
.gotw__laurel { position: absolute; inset: auto -10px -16px auto; width: 90px; height: 90px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 207, 77, .35), transparent 65%); pointer-events: none; }

/* ==========================================================================
   Promosyon kalbi
   ========================================================================== */
.plike { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); font-size: 12px; font-weight: 800; color: var(--text-dim); transition: color .2s, border-color .2s, background-color .2s; }
.plike .ico { width: 14px; height: 14px; }
.plike .plike__on { display: none; }
.plike:hover { color: #ff7d97; border-color: rgba(255, 110, 140, .4); }
.plike.is-on { color: #ff7d97; background: rgba(255, 90, 120, .12); border-color: rgba(255, 110, 140, .4); }
.plike.is-on .plike__off { display: none; }
.plike.is-on .plike__on { display: block; }
.plike.is-pop .ico { animation: check-pop .45s var(--ease); }
.pcard__meta-end { display: inline-flex; align-items: center; gap: 6px; }

/* kenar menü: Bonuslar satırının rengi */
.elx-deal--sky { --t: 110, 190, 255; }

/* ==========================================================================
   Telefon ve tablet
   ========================================================================== */
@media (max-width: 1100px) {
  .rw-coin:not(.rw-coin--keep) { display: none; }
  .bn-mini { width: 30px; height: 30px; }
  .bn-mini:nth-child(n+4) { display: none; }
  .bn-hero__burst { right: -60px; top: 0; margin-top: -120px; }
  .rw-coin--keep { width: 34px; height: 34px; }
  /* satır içi konumu ezmek için !important (telefonda başlık sola yaslı, sağ üst boş) */
  .rw-coin--keep:nth-of-type(2) { --x: 82% !important; --y: 6% !important; }
  .rw-coin--keep:nth-of-type(3) { --x: 91% !important; --y: 15% !important; }
  .bn-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 52px; }
  .bn-more { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tmd__gamegrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .vip-points { grid-template-columns: 1fr 1fr; }
  .vip-points__list { grid-column: 1 / -1; }
  .gotw { width: 100%; }
}

@media (max-width: 767.98px) {
  .rw-sec { padding: 16px 14px; }
  .rw-sec__head { flex-wrap: wrap; gap: 12px; }
  .rw-sec__title { flex-basis: calc(100% - 60px); }
  .rw-streak, .rw-progress { margin-left: 58px; }
  .rw-progress { flex: 1; min-width: 0; }
  .rw-progress small { text-align: left; }

  /* takvim: 6 küçük kutu, 7. gün geniş */
  .rw-days { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .rw-day { padding: 10px 4px 10px; border-radius: 16px; }
  .rw-day__art { width: 42px; height: 42px; margin: 6px 0 4px; }
  .rw-day__art .ico { width: 20px; height: 20px; }
  .rw-day__pts { font-size: 16px; }
  .rw-day--big { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: 'art n state' 'art pts state' 'art small state'; justify-items: start; column-gap: 12px; padding: 12px 14px; text-align: left; }
  .rw-day--big .rw-day__art { grid-area: art; margin: 0; width: 52px; height: 52px; }
  .rw-day--big .rw-day__n { grid-area: n; }
  .rw-day--big .rw-day__pts { grid-area: pts; font-size: 20px; }
  .rw-day--big small { grid-area: small; }
  .rw-day--big .rw-day__state { grid-area: state; margin: 0; }
  .rw-daily__foot { flex-direction: column; align-items: stretch; text-align: center; }
  .rw-daily__foot .btn { width: 100%; }
  .rw-daily__done { justify-content: center; }
  .rw-timer { justify-content: center; }

  .rw-tasks { grid-template-columns: 1fr; }
  .rw-task { padding: 12px; }
  .rw-task__ico { width: 40px; height: 40px; }

  .rw-vipbar { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: 'ico text go' 'track track track' 'left left left'; gap: 8px 12px; }
  .rw-vipbar__ico { grid-area: ico; }
  .rw-vipbar__text { grid-area: text; }
  .rw-vipbar__track { grid-area: track; }
  .rw-vipbar__left { grid-area: left; white-space: normal; }
  .rw-vipbar__go { grid-area: go; }

  .rw-cash { grid-template-columns: 1fr; justify-items: center; gap: 14px; }
  .rw-cash__badge { width: 120px; }
  .rw-cash__badge b { font-size: 36px; }
  .rw-cash__body { width: 100%; }
  .rw-cash__head { text-align: center; }
  .rw-cash__grid { grid-template-columns: 1fr; }
  .rw-cash__last { flex-direction: column; align-items: stretch; }
  .rw-cash__last .btn { width: 100%; }

  .rw-promo { flex-wrap: wrap; }
  .rw-promo .btn { width: 100%; }
  .rw-social { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .bn-mini { display: none; }
  .bn-steps { gap: 10px; row-gap: 46px; padding-top: 30px; }
  .bn-step { padding: 52px 10px 12px; border-radius: 18px; }
  .bn-gift { width: 76px; height: 76px; margin-left: -38px; top: -30px; }
  .bn-step__rule { font-size: 10.5px; padding: 3px 8px; }
  .bn-step__act .btn { --h: 38px; padding: 0 8px; font-size: 12.5px; }
  .bn-how { grid-template-columns: 1fr; }
  .bn-claim { grid-template-columns: auto minmax(0, 1fr) auto; }
  .bn-claim .rw-chip { grid-column: 2 / -1; justify-self: start; }
  .bn-more { grid-template-columns: 1fr 1fr; gap: 10px; }
  .bn-card { padding: 14px; }

  .vip-how { grid-template-columns: 1fr; }
  .vip-points { grid-template-columns: 1fr; gap: 14px; }

  .modal--tour .modal__box.tmd { max-height: calc(100dvh - 20px); padding-bottom: 0; }
  .tmd__head { flex-wrap: wrap; padding: 20px 56px 16px 16px; }
  .tmd__clock { justify-items: start; width: 100%; }
  .tmd__grid { grid-template-columns: 1fr; padding: 16px; }
  .tmd__row { grid-template-columns: 30px minmax(0, 1fr) auto 76px; gap: 8px; padding: 8px; font-size: 12.5px; }
  .tmd__games { padding: 0 16px calc(20px + env(safe-area-inset-bottom)); }
  .tmd__gamegrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }

  .gotw { grid-template-columns: minmax(0, 1fr) 96px; padding: 14px; }
}

@media (max-width: 380px) {
  .bn-steps { grid-template-columns: 1fr; row-gap: 46px; }
  .rw-social { grid-template-columns: 1fr; }
}
