/* Mobile controls and the GiftSpin pack entry flow. */
body[data-view=plinko] .plinko-v29-layout{max-width:740px;margin:auto}
body[data-view=plinko] .plinko-stage{padding:16px;border-radius:24px;background:radial-gradient(ellipse at 50% 35%,#42326455,transparent 65%),#11121e}
body[data-view=plinko] .plinko-board{max-width:520px}
body[data-view=plinko] #dropBall{min-height:54px;margin:22px 0 0;justify-content:center;gap:18px;background:linear-gradient(110deg,#be8bff,#9155f7);box-shadow:0 7px 28px #8a42e536;font-size:16px}
body[data-view=plinko] .round-feedback{margin:12px 0 0;text-align:center;min-height:18px}
body[data-view=plinko] .plinko-console{background:#151520;border-color:#302b41}
body[data-view=plinko] .plinko-console .bet-shortcuts{gap:9px}
body[data-view=plinko] .plinko-console .bet-shortcuts button{min-height:46px;border:1px solid #5d457b;border-radius:12px;background:linear-gradient(135deg,#39264e,#241b36);color:#eee3ff;font-size:16px;font-weight:750;box-shadow:inset 0 1px #ffffff12;transition:background .15s,transform .15s}
body[data-view=plinko] .bet-shortcuts button:active{transform:scale(.96)}
.plinko-presets{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:4px}
.plinko-presets button{min-width:0;min-height:40px;border-radius:9px;border:1px solid #ffffff0c;background:#20202c;color:#bfb4d3;font-size:12px}
body[data-view=plinko] .risk-options button{min-height:44px}
body[data-view=plinko] .risk-options button.active{background:#623e93;border-color:#b181ed;color:#fff}
body[data-view=plinko] .risk-readout b{color:#cda9ff}
.free-v35{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:40px;max-width:1040px;margin:20px auto 44px;padding:28px;background:radial-gradient(ellipse at 10% 50%,#1c57975e,transparent 60%),#1c1a29;border:1px solid #7b95c54d;border-radius:28px}
.free-v35-art,.welcome-pack{position:relative;isolation:isolate;display:grid;place-items:center}
.free-v35-art img{width:100%;max-width:380px;border-radius:22px;position:relative;z-index:1}
.pack-watermark{position:absolute;color:transparent;-webkit-text-stroke:2px #c394ff22;font-size:clamp(220px,38vw,360px);font-style:italic;font-weight:900;letter-spacing:-30px;transform:rotate(-14deg);pointer-events:none;line-height:1}
.free-v35 h1{font-size:clamp(27px,4vw,42px);letter-spacing:-1.4px;margin:14px 0}
.free-v35-copy p{color:#aba1b8;font-size:14px;line-height:1.7}.free-v35-copy small{display:block;color:#837790;font-size:11px;text-align:center;margin:15px 0 0}
.task-progress{margin:26px 0 20px;color:#ccaff1;font-size:12px}.task-progress>div{display:flex;gap:6px;margin-top:10px}.task-progress i{height:4px;flex:1;border-radius:4px;background:#342840}.task-progress i.done{background:#b988ff;box-shadow:0 0 12px #b988ff44}
#modal.welcome-v35,#modal.requirements-v35{width:min(460px,calc(100vw - 24px));max-height:calc(100dvh - 28px);padding:28px 22px 22px;border:1px solid #66507955;border-radius:26px;background:radial-gradient(ellipse at 50% 40%,#58337240,transparent 65%),#19151f;color:#f9f5ff;overflow:auto;box-shadow:0 24px 100px #0009}
#modal.welcome-v35 #modalContent{text-align:center}.welcome-wordmark{display:block;font-size:28px;font-weight:900;font-style:italic;letter-spacing:-1.4px;margin:4px auto 12px}.welcome-wordmark span{color:#c699ff}
#modal.welcome-v35 h2{font-size:24px;line-height:1.22;letter-spacing:-.6px;margin:10px 0 6px}.welcome-pack{height:300px}.welcome-pack img{width:244px;height:244px;object-fit:contain;position:relative;z-index:1;border-radius:24px;transform:rotate(-8deg);box-shadow:0 25px 55px #210b3f88;animation:packFloat 5s ease-in-out infinite}.welcome-pack .pack-watermark{font-size:340px;-webkit-text-stroke-color:#d6aaff26}
#modal.welcome-v35 p{font-size:13px;line-height:1.6;color:#b9aac9;margin:8px 0 20px}#modal.welcome-v35 small{display:block;margin-top:13px;color:#887a99;font-size:10px}
#modal.welcome-v35 .primary,#modal.requirements-v35 .primary,.free-v35 .primary{min-height:52px;border:0;background:linear-gradient(110deg,#c89aff,#9959f4);color:#211132;font-weight:800;border-radius:13px;box-shadow:0 8px 25px #8d3ce52b}
#modal .countdown-close{width:48px;font-size:13px;opacity:.8;background:#ffffff0a;border:1px solid #ffffff10;cursor:default}
.sheet-handle{width:42px;height:4px;background:#76698380;border-radius:5px;margin:-12px auto 26px}#modal.requirements-v35 h2{text-align:center;font-size:23px;color:#d1adff;margin-bottom:10px}.sheet-intro{text-align:center;color:#a295b0;font-size:12px;line-height:1.6;margin-bottom:24px}
.task-list{display:grid;gap:10px}.task-row{display:flex;align-items:center;gap:10px;min-height:76px;padding:13px 12px;background:#25202d;border:1px solid #44364d;border-radius:14px}.task-icon{display:grid;place-items:center;flex:none;width:30px;height:34px;color:#c79df7;border:1px solid #644483;border-radius:9px}.task-row>div{flex:1;min-width:0}.task-row b{font-size:12px;display:block}.task-row small{display:block;font-size:10px;color:#9e90af;margin-top:5px;line-height:1.4}.task-action{display:grid;place-items:center;min-height:38px;padding:9px 11px;border:0;border-radius:9px;background:#bd8cf1;color:#24132f;font-weight:750;font-size:11px;text-decoration:none;flex:none}.task-count{font-size:11px;color:#cfb0f4;white-space:nowrap}.task-check{color:#b5ecc9;font-size:20px}.task-verify{background:none;border:0;color:#be9cdc;font-size:12px;min-height:36px;padding:6px;text-align:center;width:100%}
.story-submit{margin:16px 0;border:1px solid #3f334b;border-radius:14px;padding:14px;background:#120f19}.story-submit label{display:block;font-size:12px;color:#d2c1e2;margin-bottom:8px}.story-submit input{box-sizing:border-box;width:100%;min-width:0;padding:12px 10px;background:#211a2b;color:#fff;border:1px solid #564165;border-radius:9px;font-size:12px}.story-submit p{font-size:11px;line-height:1.5;color:#a899b7}.story-submit button{min-height:42px;font-size:12px}#storyFeedback:empty{display:none}#modal.requirements-v35 #cancelFreeTasks{margin-top:10px;min-height:46px;background:#26202e}#modal.requirements-v35 .primary:disabled{opacity:.38;box-shadow:none}
@keyframes packFloat{50%{transform:translateY(-9px) rotate(-5deg)}}
@media(max-width:700px){.free-v35{display:block;padding:20px;margin:10px 0 30px}.free-v35-art img{max-width:230px}.free-v35-copy{text-align:center}.free-v35 h1{font-size:28px}.free-v35 .eyebrow{margin-top:20px}.free-v35-copy p{font-size:12px}.free-v35 .pack-watermark{font-size:260px}body[data-view=plinko] .shared-badge{font-size:9px}body[data-view=plinko] .plinko-heading h1{font-size:25px}body[data-view=plinko] .plinko-stage{padding:12px 9px}body[data-view=plinko] .plinko-console{padding:16px}body[data-view=plinko] .plinko-buckets span{font-size:8px}}
@media(max-height:720px){.welcome-pack{height:240px}.welcome-pack img{width:204px;height:204px}.welcome-pack .pack-watermark{font-size:285px}#modal.welcome-v35 h2{font-size:21px}}
@media(max-width:360px){.task-row{padding:10px 8px;gap:7px}.task-icon{display:none}.task-action{padding:9px 8px;font-size:10px}#modal.requirements-v35{padding:25px 14px 16px}.welcome-pack{height:232px}.welcome-pack img{width:205px;height:205px}}
@media(prefers-reduced-motion:reduce){.welcome-pack img{animation:none}}
/* Static catalog artwork, matching the pack cards already used by GiftSpin. */
#modal.welcome-v35,#modal.requirements-v35{overflow-x:hidden}
.welcome-pack{overflow:hidden}
#modal.welcome-v35{padding:34px 24px 22px;border-radius:28px;background:radial-gradient(ellipse at 50% 52%,#44235e33,transparent 62%),#1b1722;border-color:#49345288;box-shadow:0 32px 100px #0009}
.welcome-kicker{display:block;margin:5px 36px 14px;color:#a68bbf;font-size:9px;font-weight:700;letter-spacing:1.6px}
#modal.welcome-v35 h2{font-size:25px;line-height:1.25;font-weight:800;letter-spacing:-.65px;margin:0}
.welcome-pack{height:328px;margin:12px -8px 6px}
.welcome-pack img{width:260px;height:306px;object-fit:contain;border-radius:0;transform:none;animation:none;box-shadow:none;filter:drop-shadow(0 18px 24px #10051f66)}
.welcome-pack .pack-watermark{font-size:350px;transform:rotate(-13deg);top:1px;left:calc(50% - 118px);line-height:.9;-webkit-text-stroke:2px #b59ac721;letter-spacing:-25px}
#modal.welcome-v35 p{font-size:12px;line-height:1.65;margin:2px 0 22px;color:#ac9eba}
#modal.welcome-v35 .primary{display:flex;align-items:center;justify-content:center;gap:13px;min-height:52px;background:linear-gradient(105deg,#d1a8ff,#a164f0);font-size:15px;box-shadow:0 5px 28px #a666e726}
#modal.welcome-v35 .primary span{display:flex}
#modal.welcome-v35 .close{display:flex;align-items:center;justify-content:center;gap:5px;top:13px;right:13px;width:32px;height:32px;padding:6px;background:#ffffff0a;border:1px solid #ffffff09;color:#cbbdd8}
#modal.welcome-v35 .countdown-close{width:54px;border-radius:20px;font-size:12px;color:#c5a3e0}
#modal.welcome-v35 .countdown-close svg{width:13px;height:13px}
.task-icon svg{width:19px;height:19px;stroke-width:1.65}.task-check{display:flex;align-items:center}.task-check svg{width:19px;height:19px}
#modal.requirements-v35{padding:24px 18px 18px}.sheet-handle{margin:-8px auto 21px}.task-row{min-height:65px;padding:11px 10px}.sheet-intro{margin-bottom:18px}.story-submit{padding:12px;margin:12px 0}.story-submit p{margin:8px 0;font-size:10px}.story-submit label{font-size:11px}.task-list{gap:9px}
@media(max-width:360px){.task-icon{display:grid;width:28px;height:30px}.task-row{gap:7px}.task-row b{font-size:11px}.task-row small{font-size:9px}.task-action{font-size:10px;padding:8px}.task-count{font-size:10px}#modal.welcome-v35{padding:34px 17px 20px}.welcome-kicker{font-size:8px;margin-left:25px;margin-right:25px}}
@media(max-height:740px){.welcome-pack{height:258px;margin:8px -8px}.welcome-pack img{width:215px;height:250px}.welcome-pack .pack-watermark{font-size:290px;left:calc(50% - 105px)}#modal.welcome-v35 h2{font-size:23px}#modal.welcome-v35{padding-top:30px}.welcome-kicker{margin-bottom:12px}}

/* Restore the blue daily-case palette while retaining the task flow. */
.free-v35 .eyebrow,.free-v35 .task-progress{color:#9dceff}
.free-v35-copy p{color:#a6b7cd}.free-v35-copy small{color:#8a9cb6}
.free-v35 .task-progress i{background:#2a3d57}.free-v35 .task-progress i.done{background:#69aaff;box-shadow:0 0 12px #69aaff44}
.free-v35 .primary{background:linear-gradient(110deg,#96d6ff,#5298f5);color:#102740;box-shadow:0 8px 25px #3185dc2b}
.free-v35 .primary:hover{background:linear-gradient(110deg,#b0e1ff,#69aaff)}

/* Daily-pack task sheet: compact rows, progressive disclosure, pinned actions. */
#modal.requirements-v35{box-sizing:border-box;position:fixed;inset:auto 0 0;width:min(480px,100%);max-width:100%;max-height:92dvh;margin:0 auto;padding:14px 20px max(18px,env(safe-area-inset-bottom));border:1px solid #ffffff12;border-bottom:0;border-radius:28px 28px 0 0;background:linear-gradient(155deg,#20232b,#171a21 65%);box-shadow:0 -16px 80px #0006;color:#f5f7fc;overscroll-behavior:contain;animation:taskSheetIn .24s ease-out}
#modal.requirements-v35::backdrop{background:#050810a6;backdrop-filter:blur(5px)}
#modal.requirements-v35>.close{display:none}
#modal.requirements-v35 .sheet-handle{width:42px;height:5px;margin:0 auto 22px;background:#ffffff30}
#modal.requirements-v35 .requirements-heading{display:block;position:static;min-height:0;height:auto;padding:0;margin:0;text-align:center;background:none;border:0;box-shadow:none;backdrop-filter:none}
#modal.requirements-v35 h2{font-size:23px;letter-spacing:-.55px;font-weight:800;color:#b4dcff;margin:0 0 9px}
.requirements-heading p{margin:0;color:#a4aab7;font-size:12px;line-height:1.5}
.requirements-progress{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:22px 0 14px;font-size:10px;font-weight:600;color:#8f9caf}
.requirements-progress>div{display:flex;gap:5px;width:72px}.requirements-progress i{flex:1;height:4px;background:#ffffff14;border-radius:5px}.requirements-progress i.done{background:#83c9ff}
#modal.requirements-v35 .task-list{gap:10px}
#modal.requirements-v35 .task-row{min-height:72px;padding:13px 12px;gap:11px;border:1px solid #ffffff10;border-radius:15px;background:#ffffff04;box-shadow:inset 0 1px #ffffff03}
#modal.requirements-v35 .task-icon{display:grid;width:34px;height:36px;border:1px solid #8ecfff24;background:#81c6ff08;border-radius:10px;color:#9cd4ff}
#modal.requirements-v35 .task-row b{font-size:12px;font-weight:700;line-height:1.4;color:#eff3fa}
#modal.requirements-v35 .task-row small{font-size:10px;line-height:1.4;color:#939dac;margin-top:4px}
#modal.requirements-v35 .task-action{min-height:36px;padding:9px 11px;border-radius:9px;background:#a7d8ff;color:#112d46;font-size:11px;font-weight:750;box-shadow:0 2px 6px #0002}
#modal.requirements-v35 .task-action:hover{background:#c0e3ff}
#modal.requirements-v35 .task-count{display:inline-block;margin-left:4px;padding:1px 5px;border-radius:5px;background:#8ecfff13;color:#aad7fb;font-size:10px}
#modal.requirements-v35 .completed{border-color:#8ecfff2c;background:#8ecfff06}
#modal.requirements-v35 .task-check{color:#a7d8ff;padding:0 8px}
.story-details{margin:12px 0 0;border:1px solid #ffffff0b;border-radius:12px;background:#0b11192b}
.story-details summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 12px;color:#acbfd3;font-size:11px;cursor:pointer;list-style:none}
.story-details summary::-webkit-details-marker{display:none}.story-details summary>span{font-size:17px;line-height:1;transition:transform .2s}.story-details[open] summary>span{transform:rotate(45deg)}
#modal.requirements-v35 .story-submit{background:none;border:0;border-top:1px solid #ffffff09;border-radius:0;padding:12px;margin:0}
#modal.requirements-v35 .story-submit label{color:#c1cfdd}.story-details .story-submit input{background:#121923;border-color:#415368;color:#eff5ff;font-size:12px}
#modal.requirements-v35 .story-submit p{color:#94a3b6;line-height:1.6}
#modal.requirements-v35 .story-submit button{background:#273c51;border:1px solid #83c9ff29;color:#bedffd;border-radius:9px}
.requirements-verification{display:flex;justify-content:center;gap:15px;margin:8px 0}
#modal.requirements-v35 .task-verify{width:auto;min-height:36px;font-size:11px;color:#99bddc;padding:5px 0}
.requirements-actions{position:sticky;bottom:0;padding-top:8px;background:linear-gradient(#171a2100,#171a21 12px)}
#modal.requirements-v35 .primary{min-height:52px;background:linear-gradient(105deg,#a7ddff,#60abff);color:#112942;font-size:14px;box-shadow:0 6px 22px #529df51a;border-radius:12px}
#modal.requirements-v35 .primary:disabled{opacity:1;background:#293c50;color:#91acc4;box-shadow:none;cursor:not-allowed}
.requirements-hint{margin:9px 0 0;text-align:center;font-size:10px;color:#8c98a8;line-height:1.4}
#modal.requirements-v35 #cancelFreeTasks{min-height:44px;margin-top:12px;border:1px solid #ffffff12;border-radius:12px;background:#ffffff03;color:#aeb7c5;font-size:12px}
@keyframes taskSheetIn{from{transform:translateY(28px);opacity:0}to{transform:translateY(0);opacity:1}}
@media(max-width:360px){#modal.requirements-v35{padding-left:12px;padding-right:12px}#modal.requirements-v35 .task-row{padding:11px 9px;gap:8px}#modal.requirements-v35 .task-icon{width:29px;height:33px}#modal.requirements-v35 .task-row b{font-size:11px}#modal.requirements-v35 .task-action{font-size:10px;padding:8px}#modal.requirements-v35 h2{font-size:22px}}
@media(prefers-reduced-motion:reduce){#modal.requirements-v35{animation:none}}

/* Welcome shares the daily-case artwork and rises from the bottom edge. */
#modal.welcome-v35{box-sizing:border-box;position:fixed;inset:auto 0 0;margin:0 auto;width:min(460px,100%);max-width:100%;max-height:94dvh;padding:35px 24px max(24px,env(safe-area-inset-bottom));border:1px solid #ffffff0c;border-bottom:0;border-radius:26px 26px 0 0;background:radial-gradient(ellipse at 50% 47%,#2865a51a,transparent 60%),#191c24;box-shadow:0 -12px 65px #0005;animation:welcomeRise .38s cubic-bezier(.2,.8,.2,1)}
#modal.welcome-v35::backdrop{background:#050810a6;backdrop-filter:blur(5px)}
#modal.welcome-v35 .welcome-kicker{color:#91b5d6;font-size:9px;letter-spacing:1.5px;margin:5px 15px 14px}
#modal.welcome-v35 h2{color:#f7f9fe;font-size:26px;line-height:1.22;letter-spacing:-.6px}
#modal.welcome-v35 .welcome-pack{height:268px;margin:18px 0 10px;overflow:visible}
#modal.welcome-v35 .welcome-pack>img{width:268px;height:268px;max-width:100%;object-fit:contain;animation:none;transform:none;filter:drop-shadow(0 18px 26px #08152530)}
#modal.welcome-v35 p{color:#a6b4c6;font-size:12px;line-height:1.7;margin:4px 0 23px}
#modal.welcome-v35 small{color:#7e8da3;margin-top:15px;font-size:10px}
#modal.welcome-v35 .close,#modal.welcome-v35 .close:hover{position:absolute;top:12px;right:12px;width:32px;height:32px;padding:6px;background:none;border:0;box-shadow:none;border-radius:0;color:#a9b7c8;opacity:1}
#modal.welcome-v35 .close svg{width:20px;height:20px;stroke-width:1.8}
#modal.welcome-v35 .countdown-close{width:48px;color:#91a5be;font-size:11px}
#modal.welcome-v35 .countdown-close svg{width:12px;height:12px}
#modal.welcome-v35 .primary{position:relative;isolation:isolate;overflow:hidden;min-height:54px;border-radius:12px;background:linear-gradient(105deg,#a6daff,#66afff);color:#102b45;font-size:15px;font-weight:750;box-shadow:0 5px 24px #69aeff20;animation:welcomeGlow 4.8s ease-in-out infinite}
#modal.welcome-v35 .primary::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(105deg,transparent 30%,#ffffff35 50%,transparent 70%);transform:translateX(-140%);animation:welcomeShimmer 5.5s ease-in-out infinite}
@keyframes welcomeRise{from{transform:translateY(100%);opacity:.5}to{transform:translateY(0);opacity:1}}
@keyframes welcomeShimmer{0%,35%{transform:translateX(-140%)}70%,100%{transform:translateX(140%)}}
@keyframes welcomeGlow{0%,100%{box-shadow:0 5px 20px #69aeff20}50%{box-shadow:0 5px 27px #69aeff38}}
@media(max-height:740px){#modal.welcome-v35{padding:30px 20px 20px}#modal.welcome-v35 .welcome-pack{height:218px;margin:12px 0 8px}#modal.welcome-v35 .welcome-pack>img{width:218px;height:218px}#modal.welcome-v35 h2{font-size:24px}#modal.welcome-v35 p{margin-bottom:19px}}
@media(prefers-reduced-motion:reduce){#modal.welcome-v35,#modal.welcome-v35 .primary,#modal.welcome-v35 .primary::after{animation:none}}
