/* v39.52 — bounded entrance, compact screens, content can grow in every language. */
html{width:100%;max-width:100%;overflow-x:hidden;overflow-x:clip}body{width:100%;max-width:100%;min-width:0;overflow-x:hidden;overflow-x:clip}
#startupScreen,#startupScreen *,.shell{box-sizing:border-box}#startupScreen{width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;transform:none!important}
/* The old negative inset painted 300px outside the page after overflow was opened for the picker. */
#startupScreen::after{inset:0!important;width:auto!important;max-width:100%!important}
#startupScreen::before{inset:0!important;width:100%!important;height:100%!important;max-height:none!important;opacity:1!important;background-image:linear-gradient(180deg,#050711b8 0%,#060812b8 46%,#070912e8 78%,#070912 100%),var(--club-photo)!important;background-size:cover!important;background-position:center 35%!important}
#startupScreen .startup-brand,#startupScreen .startup-content{width:min(100%,440px)!important;max-width:100%;min-width:0}
#startupScreen .startup-content h1{color:#fff!important;text-shadow:0 2px 18px #000;font-weight:800;overflow-wrap:break-word}#startupScreen #startupHint{color:#eeeaf2!important;text-shadow:0 1px 8px #000;line-height:1.55}
#startupScreen .startup-club-heading{color:#fff}#startupScreen .startup-label{color:#f4eef7!important;text-shadow:0 1px 5px #000}#startupClubTrigger{background:#10121df5!important;border-color:#a49ba66b!important}.startup-club-copy small,.startup-club-option small{color:#d0c8d8!important}.startup-club-menu{max-width:100%;box-sizing:border-box}.startup-brand small{color:#eee8f2!important;text-shadow:0 1px 8px #000}
body[data-startup=login] main.shell{width:min(100%,560px)!important;max-width:100%!important;min-width:0;margin-inline:auto!important;padding:0 18px 26px!important;transform:none!important}body[data-startup=login] #scanView{width:100%;min-width:0;padding-top:8px!important}body[data-startup=login] #startupScreen{padding-top:calc(env(safe-area-inset-top) + 18px)!important}body[data-startup=login] #scanView>.surface{width:100%;max-width:100%;margin-inline:0!important;padding:16px!important;background:#11121e!important;border:1px solid #685065!important;border-radius:20px!important}
#loginForm input,.rg-dialog input,.rg-dialog select{font-size:16px!important}#startupBack{width:100%;max-width:100%}#loginForm .mobile-login-tabs{gap:9px;margin-bottom:17px}#loginForm .mobile-login-tabs button{min-height:55px;padding:11px 9px;font-size:14px;word-break:normal;overflow-wrap:break-word}
/* Share a small header rhythm instead of adding a spacer per view. */
body[data-startup=ready] .shell{padding-top:calc(env(safe-area-inset-top) + 4px)!important;padding-bottom:calc(92px + env(safe-area-inset-bottom))!important}
body[data-startup=ready] .shell>.top{height:98px!important;min-height:98px!important;padding-top:10px!important;padding-bottom:10px!important;margin-bottom:4px!important;border-radius:0 0 21px 21px!important}
body[data-startup=ready] .top>img{width:54px!important;height:54px!important}body[data-startup=ready] .top .brand h1{font-size:29px!important}.top .brand #currentClubLabel{font-size:11px!important;max-width:100%;white-space:normal!important;line-height:1.35!important}
body[data-startup=ready] #homeView,body[data-startup=ready] #placesView,body[data-startup=ready] #settingsView{padding-top:9px!important}
#homeView .home-metrics{padding:6px 2px 8px!important;margin:0 0 7px!important;min-height:38px}#homeView .home-metrics span{font-size:10px;line-height:1.25}.home-metrics strong{font-size:14px}
#homeView .home-ad{aspect-ratio:auto!important;height:auto!important;min-height:142px!important;max-height:none!important;margin:0 0 10px!important;padding:24px 16px 13px!important;align-items:flex-start!important;text-align:left!important;justify-content:center!important;border-radius:20px!important}
#homeView .home-ad-kicker{top:12px!important;left:16px!important;font-size:8px!important;letter-spacing:.2em!important}#homeView .home-ad-symbol{position:absolute!important;right:22px!important;top:50%!important;transform:translateY(-50%);width:38px!important;height:38px!important;min-height:38px!important;margin:0!important;font-size:25px!important}
#homeView .home-ad h2{font-size:clamp(23px,6vw,30px)!important;line-height:1.06!important;margin:10px 64px 7px 0!important;max-width:calc(100% - 60px)}#homeView .home-ad p{margin:0!important;font-size:10px!important;line-height:1.4!important;max-width:80%}
#homeView .pulse-entry{min-height:76px!important;padding:13px 15px!important;gap:13px!important;margin-bottom:10px!important;border-radius:18px!important}#homeView .pulse-entry-orbit{width:39px!important;height:39px!important;font-size:25px;box-shadow:0 0 0 5px #ff3b7910}#homeView .pulse-entry small{font-size:9px;letter-spacing:.15em}#homeView .pulse-entry strong{font-size:20px;margin:4px 0}#homeView .pulse-entry>span>span{font-size:10px;line-height:1.4}
#homeView .home-places-entry,#homeView .home-map-entry,#homeView .home-instagram{min-height:62px!important;height:auto!important;padding:12px 14px!important;margin-bottom:9px!important;gap:10px!important;border-radius:17px!important}#homeView .home-places-entry strong,#homeView .home-map-entry strong,#homeView .home-instagram strong{font-size:15px!important;line-height:1.25!important}#homeView .home-places-entry small,#homeView .home-map-entry small,#homeView .home-instagram small{font-size:10px!important;line-height:1.4!important;margin-top:3px!important}
#placesView>.sectionHead,#settingsView>.sectionHead{min-height:0!important;padding:9px 0 13px!important;margin:0!important}#placesView>.sectionHead h2,#settingsView>.sectionHead h2{font-size:28px!important;margin:0 0 7px!important}#placesView>.sectionHead p,#settingsView>.sectionHead p{font-size:12px!important}
#placesView .places-actions{gap:10px!important;margin-bottom:14px!important}#placesView .places-actions .places-entry,#placesView .places-actions #placesBooking{height:150px!important;min-height:150px!important;padding:12px!important}#placesView .places-actions strong{font-size:16px!important;line-height:1.2!important}#placesView .places-actions small{font-size:10px!important;line-height:1.35!important}#placesView .contacts-heading{font-size:11px!important;margin:12px 0!important}#allClubContacts{gap:8px!important}#placesView .club-contact-row{grid-template-columns:65px minmax(0,1fr) auto!important;min-height:80px!important;padding:9px!important;gap:10px!important}#placesView .club-contact-photo{width:65px!important;height:62px!important}#placesView .club-contact-row strong{font-size:13px!important;line-height:1.3}#placesView .club-contact-row small{font-size:10px!important;margin-top:3px}#placesView .club-contact-row a{font-size:10px!important;padding:9px!important}
/* Keep legacy IDs alive for account logic, remove redundant profile presentation. */
#profileView{padding-top:0!important}#profileView .clean-profile-title,#profileView>.clean-login-row{display:none!important}#profileView #loyaltyCard{margin-top:0!important}#profileView .profile-balance{min-height:0!important;margin-top:13px!important;padding:14px 16px!important;border-radius:18px!important}#profileView .balance-caption strong{font-size:29px!important;margin-top:3px}#profileView .balance-caption span{font-size:9px!important}#profileView .balance-tools{margin:3px 0 14px!important}#profileView .privilege-grid>div,#profileView .privilege-grid>button{min-height:94px!important;padding:12px 4px!important}
.experience-settings{margin:0 0 16px!important}.experience-heading>span{font-size:9px;letter-spacing:.17em}.experience-heading h3{font-size:21px;margin:6px 0 4px}.experience-heading p{font-size:12px;margin-bottom:12px}.experience-choices{gap:10px}.experience-choices>button{padding:7px 7px 10px!important;border-radius:16px!important}.skin-preview{height:58px}.skin-preview b{font-size:32px;top:7px}.skin-preview i{top:12px;bottom:12px;width:5px}.experience-choices strong{font-size:14px;margin-top:6px}.experience-choices small{font-size:10px;margin-top:3px}
.bottom{height:calc(65px + env(safe-area-inset-bottom))!important;padding-top:4px!important;padding-bottom:calc(4px + env(safe-area-inset-bottom))!important;bottom:5px!important;border-radius:22px!important}.bottom button small{font-size:9px!important;line-height:1.3}.bottom button{min-width:0;min-height:0!important;padding-inline:1px!important}
@media(max-width:360px){#placesView .club-contact-row{grid-template-columns:54px minmax(0,1fr) auto!important;gap:7px!important}#placesView .club-contact-photo{width:54px!important;height:58px!important}#placesView .club-contact-row>a{grid-column:auto!important;justify-self:auto}#placesView .club-contact-row a{font-size:9px!important;padding:7px!important}.top .brand h1{letter-spacing:.1em!important}#homeView .pulse-entry strong{font-size:18px}#homeView .home-metrics span{font-size:9px}}
@media(max-height:740px){#homeView .home-ad{min-height:122px!important}body[data-startup=ready] .shell>.top{height:88px!important;min-height:88px!important}#homeView .pulse-entry{min-height:68px!important;padding-block:10px!important}#placesView .places-actions .places-entry,#placesView .places-actions #placesBooking{height:130px!important;min-height:130px!important}}
body[data-startup=ready] .shell:has(#homeView:not([hidden]))>.top{height:94px!important;min-height:94px!important}#homeView .pulse-entry{min-height:72px!important;padding-block:11px!important}#homeView .home-places-entry,#homeView .home-map-entry,#homeView .home-instagram{min-height:60px!important}
/* v39.53: restore full icon drawing area; border-box had left only 1px after padding. */
#startupScreen .startup-benefits svg{box-sizing:content-box!important;width:26px!important;height:26px!important;padding:11px!important;border-radius:14px!important;display:block!important;flex:none!important;fill:none!important;stroke:currentColor!important;color:#f4dfb5!important;stroke-width:1.8!important}
#homeView .home-ad{min-height:230px!important}
#homeView .pulse-entry{display:grid!important;grid-template-columns:43px minmax(0,1fr) 34px!important;gap:12px!important;isolation:isolate;border:1px solid #75354e80!important;background:linear-gradient(90deg,#0b0b15f5,#0b0b15d9 47%,#0b0b1533),url('/assets/game-impulse-art.svg') right center/auto 100% no-repeat!important;box-shadow:inset 0 1px #ffffff07,0 6px 20px #0003!important;padding:12px 14px!important}
#homeView .pulse-entry-orbit{display:grid!important;place-items:center;width:43px!important;height:46px!important;border:1px solid #bb275849!important;border-radius:13px!important;background:linear-gradient(145deg,#5011265e,#0a0812bb)!important;box-shadow:inset 0 1px #ff567d12!important;color:#ff4a82!important}
#homeView .pulse-entry-orbit svg{display:block;width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#homeView .pulse-entry strong{font-size:16px!important;font-weight:650!important;letter-spacing:-.15px;margin:4px 0;line-height:1.3!important}#homeView .pulse-entry>b{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;border:1px solid #c235604d;background:radial-gradient(ellipse at top,#8f18375e,#080913c9);box-shadow:inset 0 1px #f6648c21,0 0 12px #f9004021;color:#eee6f1;font-size:24px;font-weight:300;line-height:1}
#homeView .pulse-entry:active{border-color:#ff4b7f!important;box-shadow:0 0 22px #fa0c4740!important}
@media(max-height:740px){#homeView .home-ad{min-height:174px!important}}@media(max-width:350px){#homeView .pulse-entry{grid-template-columns:38px minmax(0,1fr) 29px!important;gap:9px!important;padding:12px!important}#homeView .pulse-entry-orbit{width:38px!important;height:41px!important}#homeView .pulse-entry>b{width:29px;height:29px}#homeView .pulse-entry strong{font-size:14px!important}}

/* v39.54: use the remaining home space for the advertising panel. */
@media(min-height:741px) and (max-height:820px){#homeView .home-ad{min-height:210px!important}}

/* v39.56: registration credentials are one compact row, not a decorative card. */
.rg-dialog #rgResult .rg-identity-strip{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(72px,1fr);gap:12px;padding:14px 16px;margin:15px 0 12px;border:1px solid #78435d80;border-radius:14px;background:#17111d80}.rg-dialog .rg-identity-strip>div{min-width:0}.rg-dialog .rg-identity-strip>div+div{border-left:1px solid #79536755;padding-left:12px}.rg-dialog .rg-identity-strip span{display:block;font-size:11px;line-height:1.4;letter-spacing:0;color:#c9bdce}.rg-dialog .rg-identity-strip strong{display:block;font-size:clamp(14px,3.6vw,17px);line-height:1.4;font-weight:700;letter-spacing:0;margin-top:5px;white-space:nowrap;font-variant-numeric:tabular-nums}.rg-dialog #rgResult>.hint{font-size:12px;line-height:1.5;margin:10px 0 15px}html[data-theme=light] .rg-dialog .rg-identity-strip{background:#ffffff08}html[data-skin=graphite] .rg-dialog #rgResult .rg-identity-strip{border-color:#78618c77;background:#1b182a80}
