/* शब्द खेल — word game (uses the site tokens from style.css). One-shot motions (tile flights, dealing,
   pops) run through the Web Animations API in shabd-khel.js; looping/background motion lives here. */
.sk-section { position: relative; overflow: hidden; isolation: isolate; padding-top: 34px; background: linear-gradient(180deg, #fff5fa 0%, #fdeef6 45%, #fff6ea 100%); }
.sk-section > .container { position: relative; z-index: 1; }
.sk-app { max-width: 880px; margin: 0 auto; font-family: var(--font); }
.sk-app button { font-family: inherit; }

/* ---------- animated base ---------- */
.sk-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; contain: strict; }
.sk-blob { position: absolute; width: 560px; height: 560px; border-radius: 50%; will-change: transform; }
.sk-blob.b1 { background: radial-gradient(circle, rgba(232,91,164,.30), transparent 66%); top: -180px; left: -160px; animation: sk-blob1 24s ease-in-out infinite alternate; }
.sk-blob.b2 { background: radial-gradient(circle, rgba(217,159,58,.28), transparent 66%); top: 28%; right: -220px; animation: sk-blob2 30s ease-in-out infinite alternate; }
.sk-blob.b3 { background: radial-gradient(circle, rgba(110,24,69,.16), transparent 66%); bottom: -240px; left: 22%; animation: sk-blob3 27s ease-in-out infinite alternate; }
.sk-ring { position: absolute; left: 50%; border-radius: 50%; will-change: transform; }
.sk-ring.r1 { width: 720px; height: 720px; top: 40px; margin-left: -360px; border: 2px dashed rgba(192,41,122,.10); animation: sk-spin 110s linear infinite; }
.sk-ring.r2 { width: 500px; height: 500px; top: 150px; margin-left: -250px; border: 3px dotted rgba(217,159,58,.20); animation: sk-spin 80s linear infinite reverse; }
.sk-ring.r3 { width: 300px; height: 300px; top: 250px; margin-left: -150px; border: 1.5px solid rgba(192,41,122,.08); box-shadow: 0 0 60px rgba(232,91,164,.10) inset; animation: sk-breathe 7s ease-in-out infinite; }
.sk-glyph { position: absolute; font-family: var(--font-dev); font-size: var(--s); color: var(--maroon); opacity: 0; animation: sk-drift var(--d) ease-in-out var(--delay) infinite; will-change: transform, opacity; }

/* ---------- map / hero ---------- */
.sk-hero { background: rgba(255,255,255,.93); border-radius: 20px; box-shadow: var(--shadow); padding: 22px; margin-bottom: 26px; text-align: center; animation: sk-rise .55s cubic-bezier(.2,.9,.3,1.1) backwards; }
.sk-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.sk-stat { background: var(--cream); border: 1px solid var(--line); border-radius: 14px; padding: 12px 6px; animation: sk-pop-in .5s cubic-bezier(.2,.9,.3,1.3) backwards; }
.sk-stat:nth-child(2) { animation-delay: .08s; } .sk-stat:nth-child(3) { animation-delay: .16s; }
.sk-stat b { display: block; font-size: 22px; color: var(--maroon); line-height: 1.2; }
.sk-stat b i { font-style: normal; }
.sk-stat b small { font-size: 13px; color: var(--muted); font-weight: 500; }
.sk-stat span { font-size: 13px; color: var(--muted); }
.sk-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; align-items: center; }
.sk-hero-sub { margin-top: 12px; }
.sk-pulse, .sk-mix-btn { position: relative; overflow: hidden; }
.sk-pulse { animation: sk-glow 2.4s ease-in-out infinite; }
.sk-pulse::after, .sk-mix-btn::after { content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); animation: sk-shine 3.2s ease-in-out infinite; }
.sk-mix-btn::after { animation-delay: 1.6s; }
.sk-mix-btn small { font-size: 11.5px; opacity: .9; margin-left: 4px; }
.sk-icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; font-size: 18px; cursor: pointer; line-height: 1; flex: none; transition: transform .2s, border-color .2s; }
.sk-icon-btn:hover { border-color: var(--magenta); transform: rotate(-12deg) scale(1.08); }

.sk-chapter { margin-bottom: 28px; }
.sk-ch-head { margin-bottom: 12px; }
.sk-ch-head h2 { font-size: 21px; font-family: var(--font-dev); }
.sk-ch-head h2 em { color: var(--magenta); font-style: normal; }
.sk-ch-head p { font-size: 13px; color: var(--muted); margin-top: 2px; }
.sk-chapter.pending .sk-ch-head, .sk-chapter.pending .sk-level { opacity: 0; }
.sk-chapter.in .sk-ch-head { animation: sk-slide-in .5s ease-out backwards; }
.sk-chapter.in .sk-level { animation: sk-card-in .55s cubic-bezier(.2,.9,.3,1.25) backwards; animation-delay: calc(.1s + var(--i) * 55ms); }
.sk-level-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 12px; }
.sk-level { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 16px 8px 12px; border-radius: 16px; border: 2px solid var(--line); background: #fff; cursor: pointer; transition: transform .2s, box-shadow .2s, border-color .2s; color: var(--ink); }
.sk-level:hover:not(:disabled) { transform: translateY(-4px) rotate(-1deg); border-color: var(--magenta); box-shadow: 0 12px 26px rgba(192,41,122,.18); }
.sk-level:hover:not(:disabled) .sk-lv-no { transform: scale(1.1) rotate(8deg); }
.sk-level:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.sk-lv-no { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 17px; color: #fff; background: linear-gradient(135deg, var(--magenta), var(--magenta-dark)); box-shadow: 0 4px 12px rgba(192,41,122,.3); transition: transform .25s cubic-bezier(.2,.9,.3,1.4); }
.sk-level.done .sk-lv-no { background: linear-gradient(135deg, #f0bf5c, var(--gold-dark)); box-shadow: 0 4px 12px rgba(185,132,42,.35); }
.sk-lv-title { font-weight: 600; color: var(--maroon); font-size: 15px; margin-top: 4px; }
.sk-lv-meta { font-size: 12px; color: var(--muted); }
.sk-level.locked { cursor: not-allowed; background: #faf5f8; }
.sk-level.locked .sk-lv-no { background: #d9c6d0; box-shadow: none; }
.sk-level.locked .sk-lv-title { color: var(--muted); }
.sk-level.next { border-color: var(--magenta); }
.sk-level.next::before { content: '▶ अब खेलें'; position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: var(--magenta); color: #fff; font-size: 11px; font-weight: 600; padding: 2px 9px; border-radius: 10px; white-space: nowrap; }
.sk-level.next::after { content: ''; position: absolute; inset: -2px; border-radius: 16px; border: 2px solid var(--magenta); animation: sk-ring-out 1.8s ease-out infinite; pointer-events: none; }
.sk-lock { font-size: 15px; opacity: .7; }
.sk-stars { letter-spacing: 1px; font-size: 17px; line-height: 1; }
.sk-stars span { color: #e6d6de; display: inline-block; }
.sk-stars span.on { color: var(--gold); text-shadow: 0 1px 0 rgba(0,0,0,.08); }
.sk-level.done .sk-stars span.on { animation: sk-twinkle 3s ease-in-out infinite; }
.sk-level.done .sk-stars span.on:nth-child(2) { animation-delay: .4s; } .sk-level.done .sk-stars span.on:nth-child(3) { animation-delay: .8s; }
.sk-note { text-align: center; color: var(--muted); font-size: 13px; margin-top: 6px; }

/* ---------- play ---------- */
.sk-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.sk-back { width: 42px; height: 42px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--maroon); font-size: 20px; cursor: pointer; flex: none; transition: transform .2s, border-color .2s; }
.sk-back:hover { border-color: var(--magenta); color: var(--magenta); transform: translateX(-3px); }
.sk-bar-t { flex: 1; min-width: 0; line-height: 1.25; }
.sk-bar-t small { display: block; font-size: 12px; color: var(--muted); }
.sk-bar-t b { color: var(--maroon); font-size: 17px; }
.sk-bar-r { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.sk-pill { display: inline-block; padding: 5px 11px; border-radius: 20px; background: var(--cream-2); color: var(--magenta-dark); font-weight: 600; font-size: 13px; white-space: nowrap; }
.sk-pill i { font-style: normal; }
.sk-pill.gold { background: #fbf0d6; color: var(--gold-dark); }
.sk-pill.green { background: #e3f5e9; color: #1d7a35; }
.sk-pill.fire { background: linear-gradient(135deg, #ffb347, #e8453c); color: #fff; box-shadow: 0 4px 12px rgba(232,69,60,.35); }
.sk-pill[hidden] { display: none; }
.sk-progress { height: 9px; border-radius: 9px; background: rgba(243,219,232,.8); overflow: hidden; margin-bottom: 16px; }
.sk-progress i { position: relative; display: block; height: 100%; border-radius: 9px; background: linear-gradient(90deg, var(--gold), var(--magenta)); transition: width .6s cubic-bezier(.2,.9,.3,1); overflow: hidden; }
.sk-progress i::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.6), transparent); animation: sk-sweep 1.8s linear infinite; }

.sk-card { background: rgba(255,255,255,.96); border-radius: 20px; box-shadow: 0 10px 34px rgba(110,24,69,.12); padding: 20px 18px; }
.sk-card.sk-in { animation: sk-card-enter .5s cubic-bezier(.2,.9,.3,1.1) backwards; }
.sk-card.sk-out { animation: sk-card-exit .23s ease-in forwards; }
.sk-kind { display: inline-block; font-size: 13px; font-weight: 600; color: var(--magenta-dark); background: var(--cream-2); padding: 4px 12px; border-radius: 20px; margin-bottom: 10px; animation: sk-pop-in .45s .08s cubic-bezier(.2,.9,.3,1.4) backwards; }
.sk-hint { background: linear-gradient(135deg, #fff6e5, #fdeef6); border: 1px solid #f4dcc0; border-radius: 14px; padding: 14px 16px; margin-bottom: 18px; position: relative; overflow: hidden; }
.sk-hint::before { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.7) 50%, transparent 70%); transform: translateX(-100%); animation: sk-hint-shine 1.2s .2s ease-out; }
.sk-hint-tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--gold-dark); letter-spacing: .3px; margin-bottom: 4px; }
.sk-hint p { font-family: var(--font-dev); font-size: 19px; color: var(--maroon); line-height: 1.6; position: relative; }
.sk-hint p span { display: inline-block; animation: sk-word-in .4s cubic-bezier(.2,.8,.3,1) backwards; }

.sk-slots { --gap: 7px; position: relative; display: flex; justify-content: center; gap: var(--gap); margin: 6px 0 8px; min-height: 40px; }
.sk-slot, .sk-tile { font-family: 'Mukta', var(--font-dev); font-weight: 600; display: inline-grid; place-items: center; padding: 0 2px; line-height: 1; border-radius: 12px; }
.sk-slot { width: min(62px, calc((100% - (var(--n) - 1) * var(--gap)) / var(--n))); aspect-ratio: 1 / 1.08; font-size: clamp(19px, 5.4vw, 28px); border: 2.5px dashed #e3c4d4; background: #fffafc; color: var(--maroon); cursor: default; transition: background .25s, border-color .25s, color .25s, box-shadow .25s; }
.sk-slot.filled { border-style: solid; border-color: var(--magenta); background: #fff; cursor: pointer; box-shadow: 0 3px 0 #f0cfe0; }
.sk-slot.locked { border-color: var(--gold); background: #fff8ea; cursor: default; box-shadow: 0 3px 0 #f1dfb9; }
.sk-slot.given { border-style: solid; border-color: #e6cfdb; background: #f7eef3; color: #7b5a6b; cursor: default; box-shadow: none; }
.sk-slot.incoming { color: transparent; border-style: dashed; border-color: #e3c4d4; background: #fffafc; box-shadow: none; }
.sk-slots.ok .sk-slot { border-color: #22a04a; background: #e9f8ee; color: #176b2f; box-shadow: 0 3px 0 #bfe6cb; animation: sk-hop .5s ease-out backwards; }
.sk-slots.ok .sk-slot:nth-child(2) { animation-delay: .05s; } .sk-slots.ok .sk-slot:nth-child(3) { animation-delay: .1s; }
.sk-slots.ok .sk-slot:nth-child(4) { animation-delay: .15s; } .sk-slots.ok .sk-slot:nth-child(5) { animation-delay: .2s; }
.sk-slots.ok .sk-slot:nth-child(6) { animation-delay: .25s; } .sk-slots.ok .sk-slot:nth-child(7) { animation-delay: .3s; }
.sk-slots.ok.merge .sk-slot { animation: sk-merge .4s cubic-bezier(.6,0,.4,1) forwards; }
.sk-merged { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-dev); font-size: clamp(32px, 9vw, 48px); font-weight: 700; color: #176b2f; text-shadow: 0 0 22px rgba(34,160,74,.35); animation: sk-merged-in .6s .22s cubic-bezier(.2,.9,.3,1.35) backwards; pointer-events: none; }
.sk-merged::after { content: ''; position: absolute; left: 50%; top: 50%; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; border: 3px solid rgba(34,160,74,.45); animation: sk-ripple .8s .25s ease-out forwards; opacity: 0; }
.sk-slots.shown .sk-slot { border-color: var(--gold); background: #fff8ea; color: var(--maroon); }
.sk-slots.bad { animation: sk-shake .45s; }
.sk-slots.bad .sk-slot.filled { border-color: #d0453b; background: #fdeceb; color: #a12a22; }

.sk-msg { min-height: 26px; text-align: center; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.sk-msg.bad { color: #b3261e; animation: sk-pop-in .3s; }
.sk-msg.info { color: var(--gold-dark); animation: sk-pop-in .3s; }

.sk-tray { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 16px 10px; border-radius: 16px; border: 1px solid var(--line); margin-bottom: 14px; overflow: hidden; background: linear-gradient(120deg, #fff5fa, #fdf3e6, #fdeef6, #fff5fa); background-size: 300% 300%; animation: sk-tray-flow 12s ease infinite; }
.sk-tile { min-width: 58px; height: 62px; padding: 0 10px; font-size: 27px; border: 0; color: #fff; cursor: pointer; background: linear-gradient(160deg, #d43a8c, var(--magenta-dark)); box-shadow: 0 5px 0 #7d1650, 0 8px 16px rgba(110,24,69,.25); transition: transform .14s, box-shadow .14s, opacity .25s; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.sk-tile:hover:not(:disabled) { transform: translateY(-3px) rotate(-2deg); }
.sk-tile:active:not(:disabled) { transform: translateY(4px); box-shadow: 0 1px 0 #7d1650, 0 2px 6px rgba(110,24,69,.2); }
.sk-tile:focus-visible, .sk-slot:focus-visible, .sk-opt:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.sk-tile.used { opacity: .16; cursor: default; box-shadow: none; transform: scale(.9); }
.sk-tile.returning { visibility: hidden; }
.sk-tile:disabled:not(.used) { cursor: default; }

/* choose the right word */
.sk-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.sk-opt { position: relative; min-height: 72px; border-radius: 16px; border: 2px solid var(--line); background: #fff; font-family: var(--font-dev); font-size: clamp(20px, 5vw, 26px); color: var(--maroon); cursor: pointer; padding: 10px 12px 10px 40px; box-shadow: 0 4px 0 #f0d9e5; transition: transform .18s, border-color .18s, box-shadow .18s, background .25s, opacity .3s; }
.sk-opt:hover:not(:disabled) { transform: translateY(-3px); border-color: var(--magenta); box-shadow: 0 7px 0 #f0d9e5, 0 12px 22px rgba(192,41,122,.14); }
.sk-opt:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 1px 0 #f0d9e5; }
.sk-opt-k { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; border-radius: 50%; background: var(--cream-2); font: 600 12px/22px var(--font); color: var(--magenta-dark); text-align: center; }
.sk-opt.right { border-color: #22a04a; background: #e9f8ee; color: #176b2f; box-shadow: 0 4px 0 #bfe6cb, 0 0 0 6px rgba(34,160,74,.14); animation: sk-hop .55s ease-out; }
.sk-opt.wrong { border-color: #d0453b; background: #fdeceb; color: #a12a22; animation: sk-shake .4s; opacity: .75; }
.sk-opt.gone { opacity: .22; transform: scale(.93); }
.sk-opt.reveal { border-color: var(--gold); background: #fff8ea; box-shadow: 0 4px 0 #f1dfb9, 0 0 0 6px rgba(217,159,58,.15); }
.sk-opt:disabled { cursor: default; }

.sk-tools { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.sk-tool { border: 1.5px solid var(--line); background: #fff; color: var(--maroon); border-radius: 22px; padding: 9px 15px; font-size: 14px; font-weight: 500; cursor: pointer; transition: border-color .15s, color .15s, transform .15s; }
.sk-tool:hover { border-color: var(--magenta); color: var(--magenta-dark); transform: translateY(-2px); }
.sk-tool small { color: var(--muted); font-size: 11.5px; }

.sk-done { text-align: center; border-radius: 16px; padding: 18px 16px 20px; animation: sk-done-in .5s .15s cubic-bezier(.2,.9,.3,1.15) backwards; }
.sk-done.ok { background: #effaf2; border: 1px solid #c7ebd2; }
.sk-done.skip { background: #fff8ea; border: 1px solid #f1dfb9; }
.sk-done-head { display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; font-weight: 600; color: var(--maroon); font-size: 16px; }
.sk-done-word { font-family: var(--font-dev); font-size: clamp(30px, 8vw, 40px); color: var(--maroon); margin: 6px 0 4px; }
.sk-info { font-family: var(--font-dev); font-size: 17px; color: var(--ink); line-height: 1.7; max-width: 620px; margin: 8px auto 6px; }
.sk-src { display: block; color: var(--muted); font-size: 12.5px; margin-bottom: 14px; }
.sk-next { animation: sk-nudge 1.6s 1.2s ease-in-out infinite; }

/* ---------- result ---------- */
.sk-result { background: rgba(255,255,255,.96); border-radius: 20px; box-shadow: var(--shadow); padding: 28px 20px; text-align: center; animation: sk-rise .5s cubic-bezier(.2,.9,.3,1.1) backwards; }
.sk-res-stars .sk-stars { font-size: 56px; letter-spacing: 6px; }
.sk-res-stars .sk-stars span { animation: sk-star-in .7s cubic-bezier(.2,.9,.3,1.5) backwards; }
.sk-res-stars .sk-stars span:nth-child(1) { animation-delay: .2s; } .sk-res-stars .sk-stars span:nth-child(2) { animation-delay: .45s; } .sk-res-stars .sk-stars span:nth-child(3) { animation-delay: .7s; }
.sk-res-stars .sk-stars span.on { text-shadow: 0 0 18px rgba(217,159,58,.55); }
.sk-result h2 { margin-top: 6px; font-size: 26px; animation: sk-pop-in .5s .5s cubic-bezier(.2,.9,.3,1.3) backwards; }
.sk-res-sub { color: var(--muted); font-size: 14px; }
.sk-best { display: inline-block; margin-top: 10px; padding: 5px 14px; border-radius: 20px; background: linear-gradient(135deg, #f0bf5c, var(--gold-dark)); color: #fff; font-weight: 600; font-size: 14px; animation: sk-pop-in .5s .9s cubic-bezier(.2,.9,.3,1.5) backwards; }
.sk-res-nums { display: flex; justify-content: center; gap: 14px; margin: 18px 0; }
.sk-res-nums div { background: var(--cream); border: 1px solid var(--line); border-radius: 14px; padding: 10px 18px; min-width: 120px; }
.sk-res-nums b { font-size: 28px; color: var(--magenta); }
.sk-res-nums span { display: block; font-size: 13px; color: var(--muted); }
.sk-res-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 24px; }
.sk-res-h { font-size: 17px; margin-bottom: 10px; text-align: left; }
.sk-res-list { list-style: none; text-align: left; display: grid; gap: 8px; }
.sk-res-list li { border: 1px solid var(--line); border-left: 4px solid #22a04a; border-radius: 10px; padding: 10px 14px; background: #fff; animation: sk-slide-in .45s ease-out backwards; animation-delay: calc(.5s + var(--i) * 60ms); }
.sk-res-list li.skip { border-left-color: var(--gold); }
.sk-res-list li div { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.sk-res-list b { font-family: var(--font-dev); font-size: 19px; color: var(--maroon); }
.sk-res-list span { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.sk-res-list p { font-size: 14.5px; color: var(--ink); margin-top: 2px; line-height: 1.6; }

/* ---------- glossary ---------- */
.sk-glossary { background: rgba(255,255,255,.94); border-radius: 20px; box-shadow: var(--shadow); padding: 18px; }
.sk-gl-ch { font-size: 18px; margin: 18px 0 8px; font-family: var(--font-dev); }
.sk-gl-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.sk-gl-item { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: var(--cream); animation: sk-card-in .45s cubic-bezier(.2,.9,.3,1.2) backwards; animation-delay: calc(var(--i) * 40ms); }
.sk-gl-item b { font-family: var(--font-dev); font-size: 19px; color: var(--maroon); }
.sk-gl-item p { font-size: 13.5px; line-height: 1.6; margin-top: 2px; }
.sk-empty { text-align: center; color: var(--muted); padding: 30px 10px; line-height: 2; }
.sk-empty .btn { margin-top: 12px; }

/* ---------- modal ---------- */
.sk-modal { position: fixed; inset: 0; z-index: 300; background: rgba(52,10,32,.55); display: grid; place-items: center; padding: 16px; animation: sk-fade .25s; }
.sk-modal-box { position: relative; background: #fff; border-radius: 20px; max-width: 490px; width: 100%; max-height: calc(100vh - 32px); overflow-y: auto; padding: 24px 22px 22px; text-align: center; box-shadow: 0 24px 60px rgba(0,0,0,.3); animation: sk-modal-in .5s cubic-bezier(.2,.9,.3,1.25) backwards; }
.sk-modal-box h3 { font-size: 22px; margin-bottom: 12px; }
.sk-modal-x { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--cream-2); color: var(--maroon); font-size: 16px; cursor: pointer; transition: transform .2s; }
.sk-modal-x:hover { transform: rotate(90deg); }
.sk-howto-lead { font-size: 14.5px; margin: 14px 0 8px; line-height: 1.7; }
.sk-kinds { list-style: none; text-align: left; display: grid; gap: 8px; margin-bottom: 12px; }
.sk-kinds li { background: var(--cream); border: 1px solid var(--line); border-radius: 12px; padding: 9px 12px; font-size: 14px; line-height: 1.6; animation: sk-slide-in .45s ease-out backwards; }
.sk-kinds li:nth-child(1) { animation-delay: .35s; } .sk-kinds li:nth-child(2) { animation-delay: .5s; } .sk-kinds li:nth-child(3) { animation-delay: .65s; }
.sk-kinds b { color: var(--maroon); }
.sk-rules { font-size: 13px; color: var(--muted); margin-bottom: 14px; line-height: 1.7; }
.sk-demo { background: var(--cream); border-radius: 14px; padding: 12px; }
.sk-demo-row { display: flex; justify-content: center; gap: 8px; --n: 3; --gap: 8px; }
.sk-demo .sk-tile { min-width: 50px; height: 52px; font-size: 23px; cursor: default; animation: sk-card-in .5s cubic-bezier(.2,.9,.3,1.3) backwards; animation-delay: calc(.15s + var(--i) * 90ms); }
.sk-demo .sk-slot { width: 52px; font-size: 23px; border-style: solid; border-color: #22a04a; background: #e9f8ee; color: #176b2f; animation: sk-hop .6s ease-out backwards; animation-delay: calc(.8s + var(--i) * 120ms); }
.sk-demo-arrow { color: var(--gold-dark); margin: 6px 0; font-size: 18px; animation: sk-nudge 1.4s ease-in-out infinite; }
.sk-demo-word { font-family: var(--font-dev); font-size: 22px; color: #176b2f; margin-top: 6px; font-weight: 600; animation: sk-pop-in .5s 1.3s cubic-bezier(.2,.9,.3,1.4) backwards; }

/* ---------- flying bits ---------- */
.sk-ghost { position: fixed; z-index: 350; pointer-events: none; display: grid; place-items: center; border-radius: 12px; font: 600 27px/1 'Mukta', var(--font-dev); color: #fff; background: linear-gradient(160deg, #d43a8c, var(--magenta-dark)); box-shadow: 0 14px 28px rgba(110,24,69,.35); transform-origin: 50% 50%; }
.sk-ghost.back { opacity: .9; }
.sk-ghost.hint { background: linear-gradient(160deg, #f0bf5c, var(--gold-dark)); box-shadow: 0 14px 28px rgba(185,132,42,.4); }
.sk-fly-pts { position: fixed; z-index: 360; pointer-events: none; font: 800 26px/1 var(--font); color: var(--gold-dark); text-shadow: 0 2px 0 #fff, 0 4px 14px rgba(185,132,42,.45); white-space: nowrap; }
.sk-confetti { position: fixed; z-index: 400; pointer-events: none; font-size: 20px; animation: sk-fly 1.15s ease-out forwards; }

/* ---------- keyframes ---------- */
@keyframes sk-blob1 { to { transform: translate(140px, 120px) scale(1.2); } }
@keyframes sk-blob2 { to { transform: translate(-160px, -80px) scale(1.15); } }
@keyframes sk-blob3 { to { transform: translate(-120px, -140px) scale(1.25); } }
@keyframes sk-spin { to { transform: rotate(360deg); } }
@keyframes sk-breathe { 0%,100% { transform: scale(1); opacity: .7; } 50% { transform: scale(1.12); opacity: 1; } }
@keyframes sk-drift { 0% { opacity: 0; transform: translateY(40px) rotate(calc(var(--r) * -1)) scale(.8); } 25%, 75% { opacity: .1; } 100% { opacity: 0; transform: translateY(-70px) rotate(var(--r)) scale(1.1); } }
@keyframes sk-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes sk-pop-in { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes sk-slide-in { from { opacity: 0; transform: translateX(-26px); } to { opacity: 1; transform: none; } }
@keyframes sk-card-in { from { opacity: 0; transform: translateY(26px) scale(.85) rotate(-3deg); } to { opacity: 1; transform: none; } }
@keyframes sk-glow { 0%,100% { box-shadow: 0 8px 22px rgba(192,41,122,.28), 0 0 0 0 rgba(192,41,122,.35); } 50% { box-shadow: 0 8px 22px rgba(192,41,122,.28), 0 0 0 12px rgba(192,41,122,0); } }
@keyframes sk-shine { 0% { left: -60%; } 55%, 100% { left: 130%; } }
@keyframes sk-ring-out { 0% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(1.12); } }
@keyframes sk-twinkle { 0%,100% { transform: scale(1); } 50% { transform: scale(1.25) rotate(15deg); } }
@keyframes sk-sweep { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
@keyframes sk-card-enter { from { opacity: 0; transform: translateX(70px) rotate(2.5deg) scale(.95); } to { opacity: 1; transform: none; } }
@keyframes sk-card-exit { to { opacity: 0; transform: translateX(-80px) rotate(-2.5deg) scale(.95); } }
@keyframes sk-hint-shine { to { transform: translateX(100%); } }
@keyframes sk-word-in { from { opacity: 0; transform: translateY(10px) scale(.9); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes sk-hop { 0% { transform: none; } 40% { transform: translateY(-12px) scale(1.1); } 100% { transform: none; } }
@keyframes sk-merge { to { opacity: 0; transform: translateX(calc(var(--c) * 100%)) scale(.45); } }
@keyframes sk-merged-in { from { opacity: 0; transform: scale(.3); letter-spacing: 18px; } to { opacity: 1; transform: none; letter-spacing: normal; } }
@keyframes sk-ripple { 0% { opacity: .9; transform: scale(.3); } 100% { opacity: 0; transform: scale(2.4); } }
@keyframes sk-shake { 0%,100% { transform: none; } 20% { transform: translateX(-9px); } 40% { transform: translateX(8px); } 60% { transform: translateX(-6px); } 80% { transform: translateX(4px); } }
@keyframes sk-tray-flow { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes sk-done-in { from { opacity: 0; transform: translateY(26px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes sk-nudge { 0%,100% { transform: none; } 50% { transform: translateY(-3px); } }
@keyframes sk-star-in { 0% { opacity: 0; transform: translateY(-60px) scale(.2) rotate(-180deg); } 70% { opacity: 1; transform: translateY(6px) scale(1.25) rotate(10deg); } 100% { transform: none; } }
@keyframes sk-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes sk-modal-in { from { opacity: 0; transform: translateY(30px) scale(.85); } to { opacity: 1; transform: none; } }
@keyframes sk-fly { 0% { opacity: 1; transform: translate(-50%, -50%) scale(.6); } 100% { opacity: 0; transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) rotate(var(--rot)) scale(1.1); } }

@media (prefers-reduced-motion: reduce) {
  .sk-app *, .sk-app *::before, .sk-app *::after, .sk-modal, .sk-bg * { animation: none !important; transition: none !important; }
  .sk-glyph { opacity: .06; }
  .sk-slots.merge .sk-slot { visibility: hidden; }
}

@media (max-width: 600px) {
  .sk-section { padding-top: 22px; }
  .sk-hero { padding: 16px 12px; }
  .sk-hero-actions .btn-lg { padding: 12px 20px; font-size: 15px; }
  .sk-stats { gap: 8px; }
  .sk-stat b { font-size: 18px; }
  .sk-level-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 12px 10px; }
  .sk-card { padding: 16px 12px; border-radius: 16px; }
  .sk-hint p { font-size: 17px; }
  .sk-slots { --gap: 5px; }
  .sk-slot { border-radius: 10px; border-width: 2px; }
  .sk-tray { gap: 8px; padding: 12px 6px; }
  .sk-tile { min-width: 52px; height: 56px; font-size: 24px; }
  .sk-options { gap: 9px; }
  .sk-opt { min-height: 64px; padding-left: 34px; }
  .sk-bar-t b { font-size: 15px; }
  .sk-bar .sk-icon-btn { width: 36px; height: 36px; font-size: 16px; }
  .sk-res-nums div { min-width: 0; flex: 1; padding: 10px; }
  .sk-blob { width: 380px; height: 380px; }
  .sk-ring.r1 { width: 480px; height: 480px; margin-left: -240px; }
  .sk-ring.r2 { width: 340px; height: 340px; margin-left: -170px; }
}
