/* Home reference: ui/home.png. Artwork atlas; all labels and controls are live HTML. */
.app-shell{height:100vh;height:100dvh;max-width:440px;container-type:inline-size;background:#f7fbfe}
.app-screen, .app-screen.active-screen { transform: none; }
.app-header{min-height:0;height:calc(calc(11.6 * var(--reference-unit)) + env(safe-area-inset-top,0px));padding:calc(calc(1 * var(--reference-unit)) + env(safe-area-inset-top,0px)) calc(4.5 * var(--reference-unit)) calc(1.5 * var(--reference-unit)) calc(5.7 * var(--reference-unit));gap:calc(2 * var(--reference-unit))}
.brand-wrap{gap:calc(2.5 * var(--reference-unit))}.brand-name{font-size:calc(6.4 * var(--reference-unit));letter-spacing:calc(-.25 * var(--reference-unit))}.paiso-symbol{width:calc(6.8 * var(--reference-unit));height:calc(8.2 * var(--reference-unit))}
.header-actions{gap:calc(2.6 * var(--reference-unit))}.header-icon,.header-avatar{width:calc(9 * var(--reference-unit));height:calc(9 * var(--reference-unit));min-width:0}.header-icon{background:#eaf2fb}.header-icon svg{width:calc(4.7 * var(--reference-unit));height:calc(4.7 * var(--reference-unit))}.header-avatar{background:transparent}.avatar-dot{width:calc(2.3 * var(--reference-unit));height:calc(2.3 * var(--reference-unit));top:0;right:0;background:#ff600d}
.reference-art{display:block;background-image:url('/assets/home-reference.webp');background-repeat:no-repeat;pointer-events:none}
.reference-avatar{width:100%;height:100%;border-radius:50%}
.home-screen{padding-bottom:0;overscroll-behavior-y:contain;touch-action:pan-y pinch-zoom;scroll-padding:12px}
.home-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:calc(2.5 * var(--reference-unit));padding:0 calc(2.65 * var(--reference-unit)) 20px;max-width:none;width:100%}
.home-layout>*{min-width:0;margin:0}.home-layout button{touch-action:manipulation}
.home-hero{position:relative;isolation:isolate;width:100%;height:calc(42.4 * var(--reference-unit));min-height:0;aspect-ratio:auto;padding:calc(4.2 * var(--reference-unit));border-radius:calc(4 * var(--reference-unit));overflow:hidden;background:radial-gradient(ellipse at 70% 90%,#006c70,transparent 65%),linear-gradient(110deg,#010d26,#003e48 65%,#00a78f);display:block}
.hero-art{position:absolute;inset:0 0 0 auto;width:57.7%;height:100%;z-index:-1;mask-image:linear-gradient(90deg,transparent,#000 11%)}
.home-hero .hero-content{width:58%;max-width:none}.home-hero .hero-title{font-size:calc(6.2 * var(--reference-unit));line-height:1.05;font-weight:750;letter-spacing:calc(-.16 * var(--reference-unit));margin:0;color:white}.home-hero .hero-title .cyan{color:#00e3ce}
.home-hero .hero-sub{font-size:calc(2.8 * var(--reference-unit));line-height:1.3;margin:calc(1.1 * var(--reference-unit)) 0 calc(2.1 * var(--reference-unit));white-space:nowrap;color:#fff}
.home-hero .hero-cta{height:calc(7.8 * var(--reference-unit));min-height:0;font-size:calc(2.7 * var(--reference-unit));padding:0 calc(4 * var(--reference-unit));gap:calc(1 * var(--reference-unit));border-radius:99px;background:#fbfdff;box-shadow:none;color:#070e2e;font-weight:700}.hero-cta svg{width:calc(2.8 * var(--reference-unit));height:calc(2.8 * var(--reference-unit))}
.home-hero .banner-dots{left:35%;bottom:calc(2 * var(--reference-unit));gap:calc(1.7 * var(--reference-unit))}.home-hero .banner-dots i{width:calc(2.2 * var(--reference-unit));height:calc(2.2 * var(--reference-unit));background:#c8dbdf}.home-hero .banner-dots i:first-child{background:#00e8cb}
.home-layout .section-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:calc(5.8 * var(--reference-unit));margin:0 0 calc(1.4 * var(--reference-unit));padding:0 calc(.25 * var(--reference-unit))}
.home-layout .section-head h2{display:flex;align-items:center;gap:calc(2.4 * var(--reference-unit));font-size:calc(4 * var(--reference-unit));line-height:1.25;font-weight:750;letter-spacing:calc(-.12 * var(--reference-unit));margin:0;color:#0b1036}
.home-quick .section-head h2:before,.home-shortcuts .section-head h2:before{content:'';width:calc(1.5 * var(--reference-unit));height:calc(4.1 * var(--reference-unit));border-radius:calc(1 * var(--reference-unit));background:linear-gradient(#03d3ad,#00a58d);flex-shrink:0}
.home-layout .view-all-btn{display:flex;align-items:center;gap:calc(1 * var(--reference-unit));min-height:calc(5.8 * var(--reference-unit));padding:0;background:none;border:0;color:#687ba1;font-size:calc(2.9 * var(--reference-unit));white-space:nowrap}.home-layout .view-all-btn svg{width:calc(2.5 * var(--reference-unit));height:calc(2.5 * var(--reference-unit))}
.quick-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:calc(1.5 * var(--reference-unit))}.quick-card{display:flex;flex-direction:column;align-items:center;min-width:0;overflow:hidden;border-radius:calc(3.5 * var(--reference-unit));background:linear-gradient(135deg,#c9f4ef,#def9f5);text-align:center;padding-bottom:calc(2.5 * var(--reference-unit))}
.quick-spin{background:linear-gradient(135deg,#e7dbff,#f0eaff)}.quick-bonus{background:linear-gradient(135deg,#fff6df,#fff0d5)}
.quick-art{width:100%;aspect-ratio:235/153;flex-shrink:0}.quick-card h3{font-size:calc(3.4 * var(--reference-unit));line-height:1.15;font-weight:750;letter-spacing:calc(-.12 * var(--reference-unit));margin:calc(.65 * var(--reference-unit)) 0 calc(.6 * var(--reference-unit));white-space:nowrap}
.quick-card p{display:flex;align-items:center;justify-content:center;min-height:calc(5.3 * var(--reference-unit));font-size:calc(2.4 * var(--reference-unit));line-height:1.15;margin:0 0 calc(1.4 * var(--reference-unit));padding:0 calc(.4 * var(--reference-unit));color:#0c1737}
.quick-card>button{display:flex;align-items:center;justify-content:center;gap:calc(.7 * var(--reference-unit));width:84%;height:calc(7.5 * var(--reference-unit));border:0;border-radius:99px;background:linear-gradient(120deg,#00c7a2,#008b7d);color:white;font-size:calc(2.8 * var(--reference-unit));font-weight:600;padding:0 calc(1 * var(--reference-unit));margin-top:auto}
.quick-spin>button{background:linear-gradient(120deg,#a448ff,#6125eb)}.quick-bonus>button{background:linear-gradient(120deg,#ff7626,#e90b36)}.quick-card>button svg{width:calc(2.8 * var(--reference-unit));height:calc(2.8 * var(--reference-unit))}.quick-card>button:disabled{opacity:.65}
.home-shortcuts .explore-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:calc(1.5 * var(--reference-unit));margin:0}
.home-shortcuts .earn-tile{position:relative;display:block;isolation:isolate;overflow:hidden;aspect-ratio:355/172;min-height:0;border:0;border-radius:calc(3.2 * var(--reference-unit));padding:0;text-align:left;color:white;box-shadow:none;background:linear-gradient(120deg,#b5002c,#950028)}
.home-shortcuts .earn-tile-1{background:linear-gradient(120deg,#273cf0,#101079)}.home-shortcuts .earn-tile-2{background:linear-gradient(120deg,#7300cb,#380054)}.home-shortcuts .earn-tile-3{background:linear-gradient(120deg,#ff6400,#c73600)}
.tile-art{position:absolute;top:0;left:0;width:100%;aspect-ratio:355/104;z-index:-1;mask-image:linear-gradient(#000 83%,transparent)}
.earn-copy{position:absolute;left:calc(3 * var(--reference-unit));bottom:calc(1.65 * var(--reference-unit));display:flex;flex-direction:column;gap:calc(.5 * var(--reference-unit))}.home-shortcuts .explore-title{font-size:calc(3.5 * var(--reference-unit));line-height:1.1;font-weight:700;color:white}.home-shortcuts .explore-sub{font-size:calc(2.8 * var(--reference-unit));line-height:1.2;color:white;font-weight:400;white-space:nowrap}
.tile-arrow{position:absolute;right:calc(2.2 * var(--reference-unit));bottom:calc(1.6 * var(--reference-unit));width:calc(7.3 * var(--reference-unit));height:calc(7.3 * var(--reference-unit));border-radius:50%;background:#ffffff50;display:grid;place-items:center}.tile-arrow svg{width:calc(4.5 * var(--reference-unit));height:calc(4.5 * var(--reference-unit))}
.home-featured .section-head h2{gap:calc(1.8 * var(--reference-unit))}.popular-icon{display:block;width:calc(5.8 * var(--reference-unit));height:calc(4.5 * var(--reference-unit));background-image:url('/assets/home-reference.webp');background-repeat:no-repeat;background-size:1971.111% 5217.647%;background-position:10.3325% 77.5862%;flex-shrink:0}
.home-featured .featured-games{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:calc(1.5 * var(--reference-unit));min-height:0;align-items:start}
.home-featured .featured-game{display:flex;flex-direction:column;gap:0;border-radius:calc(2.7 * var(--reference-unit));background:#f0f2fb;overflow:hidden;padding:0;min-width:0}.home-featured .featured-game:first-child{background:#fff4dd}
.home-featured .game-cover{aspect-ratio:174/116;border-radius:calc(2.7 * var(--reference-unit));position:relative;background:none}.popular-art{position:absolute;inset:0;width:100%;height:100%}
.home-featured .featured-game>b{font-size:calc(2.5 * var(--reference-unit));line-height:1.2;font-weight:700;white-space:normal;overflow-wrap:anywhere;min-height:calc(5.8 * var(--reference-unit));padding:calc(1.2 * var(--reference-unit)) calc(.4 * var(--reference-unit)) calc(.8 * var(--reference-unit));display:grid;place-items:center;letter-spacing:calc(-.06 * var(--reference-unit))}
.game-price{position:absolute;bottom:3px;right:3px;background:#101334e8;color:white;border-radius:6px;padding:3px 4px;font-size:9px}
.home-games-placeholder{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:12px;min-height:82px;padding:16px;border:1px solid #e6eef6;border-radius:14px;background:#fff;font-size:12px;color:var(--text-muted)}.home-featured .games-empty-link{min-height:82px}
nav.bottom-nav{height:calc(calc(16 * var(--reference-unit)) + env(safe-area-inset-bottom,0px));min-height:60px;padding:calc(1.4 * var(--reference-unit)) calc(1 * var(--reference-unit)) max(calc(2 * var(--reference-unit)),env(safe-area-inset-bottom,0px));border-radius:calc(4.2 * var(--reference-unit)) calc(4.2 * var(--reference-unit)) 0 0;background:#fff;box-shadow:0 -2px 14px #24426c08}
nav.bottom-nav button{font-size:calc(2.7 * var(--reference-unit));gap:calc(1.2 * var(--reference-unit));padding:0;min-height:44px;color:#64799f}nav.bottom-nav button svg{width:calc(5.3 * var(--reference-unit));height:calc(5.3 * var(--reference-unit))}nav.bottom-nav button.active{color:#00b496}nav.bottom-nav button.active[data-tab=home] svg{fill:currentColor;stroke-width:1.5}
nav.bottom-nav .nav-reward>span{width:calc(15 * var(--reference-unit));height:calc(15 * var(--reference-unit));bottom:calc(2.3 * var(--reference-unit));background:linear-gradient(135deg,#00c6a9,#008a7b);border:0;box-shadow:0 2px 15px #00ac8b55}nav.bottom-nav .nav-reward svg{width:calc(7 * var(--reference-unit));height:calc(7 * var(--reference-unit))}
.home-checkin-dialog{margin:auto;padding:0;border:0;border-radius:20px;width:min(92vw,420px);max-height:90dvh;overflow:auto;background:#fff;color:#0b1433;box-shadow:0 16px 60px #001c3540}.home-checkin-dialog::backdrop{background:#05172e80;backdrop-filter:blur(4px)}
.checkin-dialog-content{position:relative;padding:46px 12px 16px}.checkin-close{position:absolute;right:8px;top:5px;width:40px;height:40px;border:0;border-radius:50%;background:#eef4fa;font-size:26px;color:#3b526b}.home-checkin{margin:0;padding:12px;box-shadow:none}.home-checkin .daily-title{font-size:16px}.home-checkin .daily-sub{font-size:11px}.home-checkin .daily-claim-btn{height:44px}.checkin-note{text-align:center;font-size:11px;line-height:1.5;color:#64748b;margin:8px 12px 0}.home-checkin .days-grid{gap:5px}
.home-layout button,.header-icon,.header-avatar{transition:transform 140ms ease,opacity 140ms ease}.home-layout button:active:not(:disabled){transform:scale(.98)}
@media(prefers-reduced-motion:reduce){.home-layout button,.header-icon,.header-avatar{transition:none}.home-layout button:active:not(:disabled){transform:none}.home-screen{scroll-behavior:auto}}
.hero-art{background-size:213.22115384615384% 550.9316770186335%;background-position:82.59023354564756% 13.429752066115702%}
.art-checkin{background-size:377.4468085106383% 1159.4771241830065%;background-position:12.883435582822086% 36.397285626156695%}
.art-spin{background-size:379.05982905982904% 1159.4771241830065%;background-position:50.68912710566615% 36.397285626156695%}
.art-bonus{background-size:389.03508771929825% 1159.4771241830065%;background-position:87.4051593323217% 36.397285626156695%}
.art-earn-0{background-size:249.85915492957744% 1705.7692307692307%;background-position:15.789473684210526% 58.26347305389221%}
.art-earn-1{background-size:249.85915492957744% 1705.7692307692307%;background-position:84.58646616541353% 58.26347305389221%}
.art-earn-2{background-size:249.85915492957744% 1705.7692307692307%;background-position:15.789473684210526% 69.16167664670658%}
.art-earn-3{background-size:249.85915492957744% 1705.7692307692307%;background-position:84.58646616541353% 69.16167664670658%}
.art-game-0{background-size:506.85714285714283% 1529.310344827586%;background-position:11.938202247191011% 84.55971049457177%}
.art-game-1{background-size:524.8520710059172% 1529.310344827586%;background-position:37.74373259052925% 84.55971049457177%}
.art-game-2{background-size:521.7647058823529% 1529.310344827586%;background-position:62.90097629009763% 84.55971049457177%}
.art-game-3{background-size:518.7134502923976% 1529.310344827586%;background-position:88.26815642458101% 84.55971049457177%}
.reference-avatar{background-size:1364.6153846153845% 2687.878787878788%;background-position:87.8345498783455% 6.61592505854801%}

/* Shared illustration fallbacks also use the current reference atlas. */
.earn-art{background-image:url('/assets/home-reference.webp')}
.earn-art-0{background-size:715.3225806451613% 2163.4146341463415%;background-position:17.693315858453474% 58.687943262411345%}
.earn-art-1{background-size:806.3636363636365% 1887.2340425531913%;background-position:67.82496782496783% 58.452380952380956%}
.earn-art-2{background-size:564.9681528662421% 2062.7906976744184%;background-position:19.315068493150687% 69.3127962085308%}
.earn-art-3{background-size:844.7619047619048% 1705.7692307692307%;background-position:73.27365728900256% 70%}
.earn-art-4{background-size:806.3636363636365% 1887.2340425531913%;background-position:67.82496782496783% 58.452380952380956%}
.earn-art-5{background-size:587.4172185430464% 1419.2%;background-position:84.10326086956522% 37.11340206185567%}
