/* .slp-*: the old slider-pack look, still used by the Acemi Menajer Paketi (shopRookiePack.js) — Docs/PremiumOfferDesign.md palette.
   The Yılbaşı Paketi (shopLegendPack.js) has its own .sny-* look at the end of this file. */

/* Entry card in Mağaza → Teklifler */
.slp-entry { position: relative; overflow: hidden; display: flex; align-items: center; gap: 16px; padding: 14px 18px; margin-bottom: 14px; border-radius: 18px; border: 3px solid #fbbf24; cursor: pointer; color: #ffffff; background: linear-gradient(135deg, #2a0a18 0%, #701a75 55%, #be185d 100%); box-shadow: 0 0 24px rgba(251, 191, 36, 0.35); }
.slp-entry:active { transform: translateY(1px); }
.slp-entry-shine { position: absolute; inset: 0 auto 0 0; width: 40%; pointer-events: none; background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.14), transparent); animation: slpShine 4.5s linear infinite; }
@keyframes slpShine { from { transform: translateX(-120%); } to { transform: translateX(320%); } }
.slp-entry-art { flex: 0 0 auto; }
.slp-entry-text { flex: 1 1 auto; min-width: 0; }
.slp-entry-title { font-family: 'Rajdhani', sans-serif; font-weight: 900; font-size: 26px; line-height: 1.1; color: #ffffff; }
.slp-entry-desc { font-size: 14px; color: #fde68a; margin-top: 2px; }
.slp-kicker { font-weight: 900; font-size: 12px; letter-spacing: 2px; color: #fde047; }
.slp-entry-timer, .slp-timer { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; padding: 8px 12px; border-radius: 12px; background: rgba(10, 6, 30, 0.6); border: 1.5px solid #f0abfc; color: #ffffff; }
.slp-entry-timer small, .slp-timer small { font-size: 11px; color: #f5d0fe; }
.slp-entry-timer b, .slp-timer b { font-family: 'Rajdhani', sans-serif; font-size: 18px; color: #fde047; font-variant-numeric: tabular-nums; }

/* Panel */
.slp-overlay { position: absolute; inset: 0; z-index: 9996; display: none; align-items: center; justify-content: center; background: rgba(6, 4, 20, 0.72); }
.slp-card { position: relative; overflow: hidden; width: min(780px, 92%); max-height: 92%; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; padding: 22px 24px 16px; border-radius: 22px; border: 3px solid #fbbf24; color: #ffffff; background: linear-gradient(150deg, #2a0a18 0%, #4c1d95 45%, #701a75 75%, #be185d 100%); box-shadow: 0 0 40px rgba(251, 191, 36, 0.35), 0 24px 60px rgba(0, 0, 0, 0.55); }
.slp-close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 2px solid #ffffff; background: rgba(0, 0, 0, 0.35); color: #ffffff; font-size: 20px; cursor: pointer; }
.slp-hero { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-right: 48px; }
.slp-title { margin: 2px 0; font-family: 'Rajdhani', sans-serif; font-weight: 900; font-size: 34px; color: #ffffff; }
.slp-reason { margin: 0; font-size: 15px; color: #f5d0fe; }

.slp-slider { padding: 6px 4px 0; }
.slp-slider input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 14px; border-radius: 8px; outline: none; background: linear-gradient(90deg, #fde047 0%, #f59e0b var(--slp-fill, 25%), rgba(255, 255, 255, 0.18) var(--slp-fill, 25%)); }
.slp-slider input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 38px; height: 38px; border-radius: 50%; border: 4px solid #ffffff; background: #f59e0b; box-shadow: 0 0 14px rgba(253, 224, 71, 0.8); cursor: grab; }
.slp-marks { display: flex; justify-content: space-between; gap: 6px; margin-top: 10px; }
.slp-mark { flex: 1 1 0; padding: 6px 4px; border-radius: 10px; border: 1.5px solid rgba(255, 255, 255, 0.35); background: rgba(10, 6, 30, 0.45); color: #ffffff; font-weight: 800; font-size: 14px; cursor: pointer; }
.slp-mark.bought { border-color: #4ade80; color: #bbf7d0; }
.slp-buy.bought { cursor: default; background: #14532d; color: #dcfce7; box-shadow: none; }
.slp-mark.on { border-color: #fde047; background: #fde047; color: #3b0764; }

.slp-entry-x { display: inline-block; margin-top: 6px; padding: 3px 10px; border-radius: 999px; background: #fde047; color: #3b0764; font-weight: 900; font-size: 13px; }
.slp-tier-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.slp-x { padding: 6px 14px; border-radius: 999px; background: #fde047; color: #3b0764; font-weight: 900; font-size: 16px; }
.slp-tier { display: flex; align-items: center; gap: 12px; font-family: 'Rajdhani', sans-serif; font-weight: 900; font-size: 24px; color: #ffffff; }
.slp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.slp-tile { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 6px; border-radius: 14px; background: rgba(10, 6, 30, 0.5); border: 1.5px solid rgba(255, 255, 255, 0.2); text-align: center; color: #ffffff; }
.slp-tile b { font-family: 'Rajdhani', sans-serif; font-size: 26px; color: #ffffff; }
.slp-tile small { font-size: 13px; font-weight: 700; color: #f5d0fe; }
.slp-tile.star { border: 2px solid #fbbf24; background: rgba(120, 53, 15, 0.45); }
.slp-tile-icon { font-size: 30px; line-height: 1; }

.slp-buy { display: flex; align-items: center; justify-content: center; gap: 14px; width: 100%; min-height: 58px; border: none; border-radius: 14px; cursor: pointer; background: linear-gradient(135deg, #fde047, #f59e0b); color: #3b0764; font-weight: 900; font-size: 22px; box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45); }
.slp-buy b { font-family: 'Rajdhani', sans-serif; font-size: 24px; padding: 2px 12px; border-radius: 10px; background: rgba(59, 7, 100, 0.12); color: #3b0764; }
.slp-foot { text-align: center; font-size: 12px; color: #f5d0fe; }
.slp-entry:where([data-free-dot])::after { top: 10px; right: 10px; }

/* ==========================================================================
   Yılbaşı Paketi (.sny-*) — New Year night: navy + gold + festive red, art from assets/shop/newyear/ (local ComfyUI).
   Each tier has its own accent (.sny-card[data-tier]); every text wraps, nothing is cut (owner 2026-12-04).
   ========================================================================== */

/* Entry card in Mağaza → Teklifler (same 290 px as the other art cards): text on the left, the banner art on the right
   fading into the navy card */
.sny-entry { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; height: 290px; box-sizing: border-box; padding: 20px 28px; margin-bottom: 14px; border-radius: 20px; border: 2px solid #fde68a; cursor: pointer; color: #ffffff; background: radial-gradient(60% 120% at 0% 100%, rgba(185, 28, 28, 0.35) 0%, rgba(0, 0, 0, 0) 70%), linear-gradient(135deg, #0b2037 0%, #0a1a3f 60%, #081436 100%); box-shadow: 0 0 28px rgba(251, 191, 36, 0.3); }
.sny-entry-art { position: absolute; top: 0; bottom: 0; right: 0; width: min(870px, 64%); z-index: -1; pointer-events: none; background-size: cover; background-position: right center; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%); mask-image: linear-gradient(90deg, transparent 0%, #000 34%); }
.sny-entry:active { transform: translateY(1px); }
.sny-entry-text { flex: 1 1 auto; min-width: 0; max-width: 54%; display: flex; flex-direction: column; align-items: flex-start; }
.sny-entry-title { margin-top: 4px; font-family: 'Rajdhani', sans-serif; font-weight: 900; font-size: 46px; line-height: 1; color: #ffffff; text-shadow: 0 2px 0 #7f1d1d, 0 4px 16px rgba(0, 0, 0, 0.7); overflow-wrap: anywhere; }
.sny-entry-desc { margin-top: 8px; font-size: 17px; font-weight: 700; line-height: 1.3; color: #fde68a; overflow-wrap: anywhere; }
.sny-entry-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin-top: 14px; max-width: 100%; }
.sny-timer.sny-timer-row { flex-direction: row; align-items: baseline; gap: 10px; padding: 6px 14px; }
.sny-entry:where([data-free-dot])::after { top: 10px; right: 10px; }

.sny-kicker { font-weight: 900; font-size: 13px; line-height: 1.3; letter-spacing: 2px; color: #fde68a; overflow-wrap: anywhere; }
.sny-timer { display: inline-flex; flex-direction: column; align-items: center; padding: 8px 16px; border-radius: 14px; background: rgba(4, 8, 24, 0.8); border: 1.5px solid rgba(253, 230, 138, 0.75); color: #ffffff; }
.sny-timer small { font-size: 12px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: #fde68a; }
.sny-timer b { font-family: 'Rajdhani', sans-serif; font-weight: 900; font-size: 24px; line-height: 1.1; color: #ffffff; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Panel */
/* 9996: above the floating Kupa Ligi / Not Defteri / Genel Sohbet buttons (9995) — the pack also opens on the home screen */
.sny-overlay { position: absolute; inset: 0; z-index: 9996; display: none; align-items: center; justify-content: center; background: rgba(3, 6, 20, 0.78); }
.sny-card {
  --acc: #fbbf24; --acc-light: #fef3c7; --acc-ink: #3a1d00; --acc-glow: rgba(251, 191, 36, 0.42);
  /* one row as tall as the card (an auto row grew with its content and the card's overflow cut the bottom off) */
  position: relative; display: grid; grid-template-columns: minmax(0, 38fr) minmax(0, 62fr); grid-template-rows: minmax(0, 1fr);
  width: min(1280px, 94%); height: min(660px, 94%); box-sizing: border-box; overflow: hidden;
  border-radius: 26px; border: 2px solid rgba(253, 230, 138, 0.9); background: #081436; color: #ffffff;
  box-shadow: 0 0 60px rgba(251, 191, 36, 0.25), 0 30px 80px rgba(0, 0, 0, 0.6);
}
.sny-card[data-tier="1"] { --acc: #93c5fd; --acc-light: #e0f2fe; --acc-ink: #0c1a3a; --acc-glow: rgba(147, 197, 253, 0.35); }
.sny-card[data-tier="2"] { --acc: #34d399; --acc-light: #d1fae5; --acc-ink: #052e1c; --acc-glow: rgba(52, 211, 153, 0.35); }
.sny-card[data-tier="3"] { --acc: #f87171; --acc-light: #fee2e2; --acc-ink: #3b0a0a; --acc-glow: rgba(248, 113, 113, 0.38); }
.sny-card[data-tier="4"] { --acc: #c4b5fd; --acc-light: #ede9fe; --acc-ink: #1e0b4b; --acc-glow: rgba(196, 181, 253, 0.38); }
.sny-close { position: absolute; top: 16px; right: 18px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 2px solid #ffffff; background: rgba(4, 8, 24, 0.7); color: #ffffff; font-size: 20px; line-height: 1; cursor: pointer; }

.sny-hero { position: relative; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 12px; padding: clamp(14px, 4%, 26px); background-color: #0b1a44; background-size: cover; background-position: center; }
.sny-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(5, 10, 30, 0.2) 0%, rgba(5, 10, 30, 0) 30%, rgba(5, 10, 30, 0.55) 64%, rgba(5, 10, 30, 0.96) 100%), linear-gradient(90deg, rgba(8, 20, 54, 0) 78%, rgba(8, 20, 54, 0.85) 100%); }
.sny-hero > * { position: relative; z-index: 1; max-width: 100%; }
.sny-title { margin: 6px 0 0; font-family: 'Rajdhani', sans-serif; font-weight: 900; font-size: 52px; line-height: 1; color: #ffffff; text-shadow: 0 2px 0 #7f1d1d, 0 4px 18px rgba(0, 0, 0, 0.75); overflow-wrap: anywhere; }

.sny-body { position: relative; min-width: 0; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 14px 22px 10px; background: radial-gradient(120% 70% at 100% 0%, var(--acc-glow) 0%, rgba(0, 0, 0, 0) 60%), linear-gradient(160deg, #0d2154 0%, #081436 55%, #150b33 100%); }
.sny-head { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; padding-right: 52px; }
.sny-tier { display: flex; align-items: center; gap: 12px; min-width: 0; }
.sny-tier-icon { flex: 0 0 auto; width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle, var(--acc-glow) 0%, rgba(0, 0, 0, 0) 70%); border: 2px solid var(--acc); }
.sny-tier-name { min-width: 0; font-family: 'Rajdhani', sans-serif; font-weight: 900; font-size: 30px; line-height: 1.05; color: #ffffff; overflow-wrap: anywhere; }
.sny-x { max-width: 100%; padding: 5px 12px; border-radius: 999px; background: linear-gradient(135deg, #fef3c7, #fbbf24); color: #3a1d00; font-weight: 900; font-size: 14px; line-height: 1.25; }

/* the rewards take the free height but never shrink below their content: if the column is too short the body scrolls,
   the slider and the buy button are never drawn over the tiles (SM-X230: window 1280x800 at its 1.5x touch scale) */
.sny-rewards { flex: 1 0 auto; display: grid; grid-template-columns: minmax(0, 1fr); align-content: stretch; gap: 10px; }
.sny-rewards.has-player { grid-template-columns: minmax(0, 30fr) minmax(0, 70fr); }
.sny-player { min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 10px 8px; border-radius: 18px; border: 2px solid var(--acc); background: linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.3)); text-align: center; }
.sny-player span { font-size: 14px; font-weight: 800; line-height: 1.25; color: #e2e8f0; }
.sny-ovr { width: 92px; height: 108px; flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; clip-path: polygon(50% 0, 100% 13%, 100% 78%, 50% 100%, 0 78%, 0 13%); background: linear-gradient(160deg, #fff7d1 0%, #fbbf24 45%, #b45309 100%); color: #2a1600; }
.sny-ovr b { font-family: 'Rajdhani', sans-serif; font-weight: 900; font-size: 40px; line-height: 1; }
.sny-ovr small { font-weight: 900; font-size: 14px; line-height: 1.1; letter-spacing: 2px; }
/* the top tier's player card glows: a fixed shadow layer whose opacity pulses (opacity only = no repaint) */
.sny-player { position: relative; }
.sny-player::after { content: ""; position: absolute; inset: -2px; border-radius: 18px; pointer-events: none; box-shadow: 0 0 26px rgba(251, 191, 36, 0.6); opacity: 0; }
.sny-card[data-tier="5"] .sny-player::after { animation: snyGlow 2.4s ease-in-out infinite; }
@keyframes snyGlow { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }

/* the tiles share the free height (1fr never goes below the content, so nothing is cut) */
.sny-res { min-width: 0; display: grid; grid-template-rows: 1fr 1fr; gap: 10px; }
.sny-res-big { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sny-res-small { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.sny-tile { min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 6px 4px; border-radius: 16px; background: rgba(4, 10, 32, 0.62); border: 1.5px solid rgba(255, 255, 255, 0.16); text-align: center; color: #ffffff; }
.sny-tile b { font-family: 'Rajdhani', sans-serif; font-weight: 900; font-size: 24px; line-height: 1.05; color: #ffffff; white-space: nowrap; }
.sny-tile small { max-width: 100%; font-size: 13px; font-weight: 800; line-height: 1.2; color: #cbd5e1; }
.sny-tile-icon { display: flex; align-items: center; justify-content: center; line-height: 0; }
.sny-tile.big { display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; justify-content: center; align-content: center; column-gap: 14px; row-gap: 2px; align-items: center; justify-items: start; padding: 8px 12px; text-align: left; border-color: rgba(253, 230, 138, 0.35); }
.sny-tile.big .sny-tile-icon { grid-row: 1 / 3; }
.sny-tile.big b { font-size: 34px; align-self: end; }
.sny-tile.big small { align-self: start; font-size: 15px; color: #fde68a; }

.sny-slider { flex: 0 0 auto; padding: 2px 2px 0; }
.sny-slider input[type="range"] { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 12px; margin: 10px 0 0; border-radius: 8px; outline: none; background: linear-gradient(90deg, var(--acc-light) 0%, var(--acc) var(--sny-fill, 100%), rgba(255, 255, 255, 0.16) var(--sny-fill, 100%)); }
.sny-slider input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 36px; height: 36px; border-radius: 50%; border: 4px solid #ffffff; background: var(--acc); box-shadow: 0 0 14px var(--acc-glow), 0 2px 6px rgba(0, 0, 0, 0.5); cursor: grab; }
.sny-marks { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; margin-top: 10px; }
.sny-mark { min-width: 0; padding: 5px 4px; border-radius: 12px; border: 1.5px solid rgba(255, 255, 255, 0.3); background: rgba(4, 10, 32, 0.55); color: #ffffff; font-weight: 800; font-size: 14px; line-height: 1.2; cursor: pointer; }
.sny-mark.on { border-color: var(--acc); background: var(--acc); color: var(--acc-ink); }
.sny-mark.bought { border-color: #4ade80; color: #bbf7d0; }
.sny-mark.bought.on { background: #16a34a; border-color: #16a34a; color: #ffffff; }

.sny-buy { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 16px; width: 100%; min-height: 52px; padding: 4px 16px; flex: 0 0 auto; border-radius: 16px; border: 2px solid #fde68a; cursor: pointer; background: linear-gradient(180deg, #ef4444 0%, #b91c1c 100%); color: #ffffff; font-weight: 900; font-size: 22px; letter-spacing: 1px; box-shadow: 0 5px 0 #7f1d1d, 0 10px 24px rgba(185, 28, 28, 0.45); }
/* a fixed light band whose opacity pulses (opacity only = no repaint, and no moving box widening the button) */
.sny-buy::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.22) 45%, transparent 60%); opacity: 0; animation: snyShine 3s ease-in-out infinite; }
@keyframes snyShine { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }
.sny-buy b { font-family: 'Rajdhani', sans-serif; font-size: 25px; line-height: 1.1; padding: 2px 14px; border-radius: 10px; background: #fef3c7; color: #3a1d00; white-space: nowrap; }
.sny-buy:active { transform: translateY(2px); box-shadow: 0 3px 0 #7f1d1d, 0 6px 16px rgba(185, 28, 28, 0.4); }
.sny-buy.bought { cursor: default; background: #14532d; border-color: #4ade80; color: #dcfce7; box-shadow: none; }
.sny-buy.bought::after { display: none; }
.sny-foot { text-align: center; font-size: 12px; line-height: 1.3; color: #cbd5e1; }
