/* DRUTO PLAY SAFE FINISH V2 — CSS ONLY; existing game markup, logo URLs, assets, scripts, and routes remain unchanged */
:root{--druto-gold:#f8d477;--druto-violet:#a68aff;--druto-panel:#191b37}
body{background:radial-gradient(ellipse at 15% 0%,#552c8355,transparent 42%),radial-gradient(ellipse at 95% 24%,#153b7255,transparent 35%),#0c1022;color:#faf8ff}
.shell{max-width:1240px;margin-inline:auto}
.top{padding:12px 16px;border:1px solid #b99aff35;background:#191831b8;border-radius:20px;box-shadow:0 12px 35px #0003;flex-wrap:wrap}
.drutoGameBrand{min-width:0}.drutoGameBrand img{width:64px!important;height:64px!important;object-fit:contain!important;background:#fff!important;border:2px solid #f9d77e!important;border-radius:16px!important;padding:4px!important;box-shadow:0 0 0 4px #ffffff12,0 8px 22px #0005;display:block!important}
.drutoGameBrandText strong{font-size:clamp(17px,2.4vw,26px)!important;white-space:normal!important;letter-spacing:-.4px}.drutoGameBrandText small{font-size:10px!important;letter-spacing:.8px!important;line-height:1.4}
.topActions{flex-wrap:wrap}.quiet{border-radius:12px;background:#ffffff10;border-color:#ffffff35;color:#fff;min-height:42px}
.drutoCompanyHeadline{margin-top:20px!important;border-radius:22px!important;box-shadow:0 12px 35px #31185b50!important}
.hero{isolation:isolate;border-radius:28px!important;overflow:hidden;min-height:345px;box-shadow:0 18px 45px #0006!important}
.hero h1{position:relative;z-index:1;line-height:1.24!important}.hero p{position:relative;z-index:1}.hero .heroArt{object-fit:contain!important;filter:drop-shadow(0 15px 22px #0007)}
.cta{min-height:46px;transition:transform .2s ease,filter .2s ease}.cta:hover{transform:translateY(-2px);filter:brightness(1.06)}
.wallet{gap:12px}.balance{min-height:66px;flex:1 1 145px;border:1px solid #bba4ff38;background:linear-gradient(125deg,#2d2450,#172a41);box-shadow:0 8px 22px #0002}.balance b{font-size:21px}.membership{margin-left:0;border:1px solid #a7f3d055;border-radius:14px;background:#163e3433;padding:14px}
.heading h2{font-size:clamp(22px,2.8vw,30px);line-height:1.35}.search{max-width:310px;min-height:46px;border:1px solid #b99aff60;background:#171c37;color:#fff;border-radius:14px}.search::placeholder{color:#c5bed5}
.filters{gap:10px;padding-bottom:12px}.filter{min-height:42px;border:1px solid #a996dd50;background:#201d3a;color:#eee5ff;font-size:13px}.filter.active{background:linear-gradient(110deg,#fce49a,#f6b95b);color:#2e1946;border-color:#ffe4a0}
.grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
#gameGrid .gameCard,.existing .gameCard{display:flex;flex-direction:column;border-radius:20px!important;background:linear-gradient(145deg,#292344,#161c36)!important;box-shadow:0 12px 26px #0004!important;min-width:0;overflow:hidden;transition:transform .2s ease,box-shadow .2s ease}
#gameGrid .gameCard:hover,.existing .gameCard:hover{transform:translateY(-5px);box-shadow:0 18px 38px #0007!important}
#gameGrid .gameCard[hidden],.existing .gameCard[hidden]{display:none!important}
#gameGrid .art,.existing .art{aspect-ratio:1.32;min-height:0;background:#2b2250}.art img{width:100%;height:100%;object-fit:cover;display:block}
#gameGrid .info,.existing .info{display:flex;flex-direction:column;flex:1;padding:15px!important;min-width:0}
#gameGrid .info b,.existing .info b{font-size:clamp(15px,1.4vw,18px)!important;line-height:1.35;overflow-wrap:anywhere}
#gameGrid .info small,.existing .info small{font-size:12px;line-height:1.5;min-height:36px;color:#c9c1d9}
#gameGrid .cardAction,.existing .cardAction{margin-top:auto;padding-top:12px;gap:8px;min-height:46px;align-items:center}
#gameGrid .cardAction em{border-radius:10px;padding:8px 11px!important}
.onlineBanner{border-radius:20px;padding:24px;background:linear-gradient(110deg,#153c35,#212048)}
.drutoCompanyFooter{border-radius:24px!important}.bottom{bottom:max(12px,env(safe-area-inset-bottom));box-shadow:0 12px 35px #0009}
.drutoWelcomeBox{max-height:min(90vh,800px);overflow-y:auto}
@media(max-width:900px){.grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){.shell{padding:12px 12px 105px}.top{padding:10px;gap:8px}.drutoGameBrand img{width:48px!important;height:48px!important}.drutoGameBrandText strong{font-size:16px!important}.drutoGameBrandText small{font-size:8px!important}.topActions{gap:5px}.quiet{font-size:11px;padding:8px 10px}.hero{min-height:315px!important;padding:22px!important}.hero h1{font-size:clamp(24px,6vw,33px)!important;max-width:64%!important}.hero p{max-width:62%!important;font-size:12px!important}.hero .heroArt{width:40%!important;right:-2%!important;top:16%!important;height:70%!important}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.heading{gap:12px}.search{max-width:100%;width:100%}.onlineBanner{flex-direction:column;align-items:stretch}.drutoCompanyFooter{padding:18px!important}}
@media(max-width:380px){.top{align-items:flex-start}.topActions{width:100%;justify-content:flex-end}.hero h1{font-size:24px!important}.hero p{font-size:11px!important}.hero .heroArt{opacity:.85}.info{padding:11px!important}.cardAction{flex-wrap:wrap}.drutoGameBrandText small{letter-spacing:0!important}}
@media(prefers-reduced-motion:reduce){.gameCard,.cta{transition:none!important}}
