/* NightClub fix4074 — translucent neon on user-selected background.
   Additive CSS: no behavioural changes to buttons, sound or notifications. */
:root{
  --accent:#ee60dd;--accent2:#a12acf;--line:rgba(255,159,247,.35);
  --panel:rgba(28,8,37,.55);--panel2:rgba(33,12,44,.63);
  --muted:#eee1f2;--shadow:0 14px 32px rgba(9,0,17,.36);
}
html{background:#100016}
body{background-color:#100016!important;background-image:none!important;color:#fff}
body::before{
  content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;
  background-image:linear-gradient(180deg,rgba(21,1,36,.12) 0%,rgba(23,2,39,.15) 26%,rgba(18,0,29,.27) 65%,rgba(10,0,20,.46) 100%),url('/club-background.jpg');
  background-repeat:no-repeat;background-size:cover;background-position:33% top;
}
body::after{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,rgba(18,2,27,.02),rgba(18,2,27,.06));}
.app-shell{max-width:720px;background:transparent!important}
#app{min-width:0}
.topbar{
  background:linear-gradient(180deg,rgba(16,2,26,.60),rgba(16,2,26,.28))!important;
  border-color:rgba(255,157,250,.17)!important;
  box-shadow:0 7px 24px rgba(6,0,17,.18)!important;
  min-height:65px;height:65px!important;
}
.brand-copy{min-width:0!important}
.brand-copy::before{
  content:"♡";display:grid;place-items:center;margin-right:7px;color:#ff8cee;
  font-size:30px;line-height:1;font-weight:900;text-shadow:0 0 10px #f039de,0 0 21px #f039de;
}
.brand-copy strong{font-size:clamp(13px,3.7vw,19px)!important;letter-spacing:.15px!important;white-space:normal!important;overflow-wrap:anywhere;max-width:none!important;line-height:1.14}
.online-pill{color:#fff!important;background:rgba(29,8,40,.51)!important;border:1px solid rgba(255,150,244,.34)!important;padding:7px 10px!important;box-shadow:0 4px 20px rgba(0,0,0,.3)!important}
.online-pill i{background:#26e980!important;box-shadow:0 0 14px #11e967!important}
.hero,.panel,.card,.balance-card,.menu-card,.admin-menu-card,.host-card,.chat-row,.setting-row,.metric,.empty,.operation-row,.rf-switch-row,.chat-selection-bar,.admin-stat-entry{
  background:linear-gradient(125deg,rgba(73,24,77,.36),rgba(25,7,38,.49))!important;
  border:1px solid rgba(255,159,239,.35)!important;
  box-shadow:0 10px 32px rgba(7,0,15,.30),inset 0 1px 0 rgba(255,226,253,.15)!important;
  -webkit-backdrop-filter:blur(13px) saturate(145%)!important;
  backdrop-filter:blur(13px) saturate(145%)!important;
}
.hero{padding:20px 18px!important;border-radius:25px!important}
.hero::after{background:radial-gradient(circle,rgba(245,63,208,.20),transparent 70%)}
.hero h1,.backline h2,.section-head h2{text-shadow:0 2px 14px #15001a}
.hero p,.hero .eyebrow{color:#f2ddee!important}
.btn:not(.danger),.btn.secondary,.glass-button,.topup-btn,.action-btn,.backline button{
  color:#fff!important;border:1px solid rgba(255,164,246,.42)!important;
  background:linear-gradient(145deg,rgba(141,49,134,.38),rgba(42,9,56,.42))!important;
  box-shadow:0 7px 19px rgba(21,0,28,.22),inset 0 1px 0 rgba(255,215,254,.15)!important;
  -webkit-backdrop-filter:blur(12px)!important;backdrop-filter:blur(12px)!important;
  border-radius:17px!important;
}
.btn:not(.danger):not(.secondary):not([data-action="send-chat"]),.btn.primary,.topup-home-btn,.reg-primary{
  background:linear-gradient(125deg,rgba(249,58,187,.88),rgba(184,18,158,.82))!important;
  border:1px solid rgba(255,177,245,.54)!important;
  box-shadow:0 4px 18px rgba(218,30,185,.34),inset 0 1px 0 rgba(255,239,253,.24)!important;
}
.btn.danger{background:rgba(115,24,54,.55)!important;border-color:rgba(255,119,150,.5)!important;color:#ffd1db!important}
.btn:focus-visible,.menu-card:focus-visible,.nav-item:focus-visible,.backline button:focus-visible,.field input:focus-visible,.reg-field input:focus-visible{outline:2px solid #ffbafa!important;outline-offset:2px}
.btn:active,.menu-card:active,.nav-item:active{transform:scale(.98)}
.section-head h2{font-size:22px;font-weight:850;letter-spacing:.1px}
.section-head{margin-top:24px;gap:12px}
.section-head::before{content:"";display:block;height:32px;width:5px;border-radius:10px;background:#f345dd;box-shadow:0 0 12px #f345dd;order:-1}
.section-head h2{margin-right:auto}
.field input,.field select,.field textarea,.composer input,.reg-field input{
  background:rgba(20,4,33,.69)!important;color:#fff!important;border:1px solid rgba(255,163,243,.35)!important;
}
.panel .muted,.panel .tiny,.host-main small,.menu-card small{color:#ecd7eb!important}
.bottom-nav{
  width:calc(100% - 24px);max-width:696px;left:12px;right:12px;
  bottom:calc(8px + env(safe-area-inset-bottom));
  border:1px solid rgba(255,166,243,.36)!important;border-radius:27px!important;
  padding:9px 8px!important;display:flex!important;
  background:linear-gradient(130deg,rgba(52,18,59,.68),rgba(20,6,31,.74))!important;
  box-shadow:0 8px 27px rgba(8,0,16,.4),inset 0 1px 0 rgba(255,231,251,.12)!important;
  -webkit-backdrop-filter:blur(20px) saturate(140%)!important;backdrop-filter:blur(20px) saturate(140%)!important;
}
.bottom-nav[hidden]{display:none!important}
.bottom-nav .nav-item{flex:1 1 0;min-width:0;min-height:55px;color:#f6e6ff!important;border-radius:20px!important;font-weight:800}
.bottom-nav .nav-item.active{
  background:linear-gradient(145deg,rgba(224,49,181,.73),rgba(103,29,106,.71))!important;
  box-shadow:0 0 18px rgba(255,58,223,.28),inset 0 1px 0 rgba(255,236,252,.26)!important;
}
.bottom-nav .nav-item small{font-size:clamp(9px,2.7vw,12px);color:#fff}
.bottom-nav .nav-item span{font-size:22px;line-height:1.2}
/* Homepage layout deliberately overlays the image through clear glass, keeping every existing action. */
body.home-view .hero{margin-top:16px;background:linear-gradient(130deg,rgba(77,22,84,.40),rgba(19,5,31,.53))!important}
body.home-view .hero-heading{display:flex;align-items:flex-start;gap:12px;position:relative;z-index:1}
body.home-view .hero-crown{font-size:29px;color:#ff9bea;text-shadow:0 0 15px rgba(245,83,232,.6)}
body.home-view .hero-heading-copy{min-width:0}
body.home-view .hero .eyebrow{font-size:13px;font-weight:850;color:#fff!important;text-transform:none;letter-spacing:0;line-height:1.3}
body.home-view .hero h1{font-size:clamp(18px,5.4vw,27px);line-height:1.18;margin:3px 0 4px}
body.home-view .hero p{font-size:12px}
body.home-view .hero .home-balance-line{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:10px;margin:19px 0 10px;padding:10px 10px 10px 14px;border:1px solid rgba(255,162,243,.24);border-radius:20px;background:rgba(48,9,57,.35)}
body.home-view .hero .home-balance-line .balance{font-size:clamp(20px,5.8vw,32px);width:auto;flex:1 1 40%;text-shadow:0 1px 9px rgba(0,0,0,.55)!important;white-space:normal}
body.home-view .hero .home-balance-line .topup-home-btn{width:auto;flex:0 1 auto;min-height:40px;padding:9px 12px;font-size:clamp(11px,3vw,14px);white-space:normal}
body.home-view .hero .hero-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:11px}
body.home-view .hero .hero-actions .btn{min-height:46px}
body.home-view .grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:11px!important}
body.home-view .grid .menu-card{
  display:grid;grid-template-columns:42px minmax(0,1fr);grid-template-rows:auto auto;align-items:center;align-content:center;
  column-gap:11px;row-gap:4px;min-height:108px!important;padding:12px 11px!important;position:relative;
  background:linear-gradient(130deg,rgba(104,36,105,.39),rgba(26,8,40,.50))!important;
  border:1px solid rgba(255,164,238,.50)!important;border-radius:21px!important;
  text-align:left;color:#fff!important;
}
body.home-view .grid .menu-card .ico{
  grid-row:1/3;grid-column:1;display:grid;place-items:center;font-size:22px;line-height:1;
  width:42px;height:42px;border-radius:50%;border:1px solid rgba(255,154,241,.35);
  background:radial-gradient(circle at 40% 20%,rgba(242,128,231,.44),rgba(62,19,78,.57));
  box-shadow:0 0 15px rgba(235,77,208,.17);
}
body.home-view .grid .menu-card strong{grid-row:1;grid-column:2;font-size:clamp(12px,3.3vw,16px);line-height:1.2;overflow-wrap:anywhere;text-shadow:0 1px 7px rgba(0,0,0,.62)}
body.home-view .grid .menu-card small{grid-row:2;grid-column:2;margin:0;font-size:clamp(10px,2.6vw,12px);line-height:1.22;overflow-wrap:anywhere}
body.home-view .grid .menu-card:active{box-shadow:0 0 18px rgba(255,79,216,.4)!important}
/* Registration, random chat, inbox, wallet, profile and admin all share the same backdrop. */
body.registration-mode{background:#100016!important}
body.registration-mode::before{opacity:1}
.registration-screen{background:transparent!important}
.registration-screen::before{
  background-image:linear-gradient(180deg,rgba(12,1,23,.21) 0%,rgba(14,1,27,.31) 50%,rgba(12,1,22,.64) 100%),url('/club-background.jpg')!important;
  background-position:33% top!important;background-size:cover!important;
}
.registration-screen::after{background:linear-gradient(180deg,rgba(12,1,25,.05),rgba(12,1,25,.40))!important}
.reg-card{background:rgba(24,5,34,.70)!important;border:1px solid rgba(255,163,244,.36)!important;-webkit-backdrop-filter:blur(19px)!important;backdrop-filter:blur(19px)!important;box-shadow:0 14px 35px rgba(9,0,16,.40)!important}
.reg-language-switch button.selected,.reg-gender.selected{background:linear-gradient(130deg,rgba(242,57,186,.7),rgba(139,35,161,.7))!important}
.msg-screen{background:linear-gradient(180deg,rgba(15,3,27,.84),rgba(11,3,22,.88))!important}
.msg-screen .msg-header,.msg-screen .msg-composer,.msg-screen .chat-tools{background:rgba(31,9,43,.88)!important;border-color:rgba(245,158,242,.25)!important}
.msg-screen .msg-list{background:rgba(22,5,35,.72)!important}
.msg-screen .msg-list .bubble.theirs{background:rgba(69,35,77,.96)!important;color:#fff!important}
.msg-screen .msg-list .bubble.mine{background:rgba(115,30,103,.96)!important;color:#fff!important}
.msg-screen .msg-composer input{background:rgba(46,19,63,.91)!important;border-color:rgba(235,153,238,.40)!important}
.msg-screen .chat-tools button{background:rgba(92,35,91,.7)!important}
.msg-screen .msg-composer .btn[data-action="send-chat"]{background:#26a874!important;border-color:#49c49b!important}
.chat-row,.host-card,.setting-row{border-radius:19px!important}
.toast{background:rgba(40,10,56,.94)!important;border-color:rgba(255,165,247,.48)!important}
@media(max-width:395px){
  .app-shell{padding-left:12px;padding-right:12px}
  body.home-view .grid .menu-card{column-gap:8px;grid-template-columns:38px minmax(0,1fr);min-height:109px!important;padding:10px 8px!important}
  body.home-view .grid .menu-card .ico{width:38px;height:38px;font-size:20px}
  body.home-view .hero{padding:16px 13px!important}
  body.home-view .hero .home-balance-line{padding:9px}
  .brand-copy strong{font-size:13px!important}
}
@media(max-width:330px){
  body.home-view .grid{grid-template-columns:1fr!important}
  body.home-view .grid .menu-card{min-height:75px!important}
  body.home-view .hero .home-balance-line{flex-wrap:wrap}
  body.home-view .hero .home-balance-line .topup-home-btn{flex:1 1 100%}
}
@media(min-width:760px){body::before{background-position:center 20%}body.home-view .grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(prefers-reduced-motion:reduce){.btn,.menu-card,.nav-item{transition:none!important}}

/* fix4074: home screen aligned closer to the approved mockup. */
body.home-view .topbar{display:none!important}
body.home-view .app-shell{padding-top:calc(env(safe-area-inset-top) + 12px)!important}
body.home-view #app{padding-top:0!important}
body.home-view .home-masthead{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin:2px 2px 14px}
body.home-view .home-brand{display:flex;align-items:center;gap:14px;min-width:0;flex:1 1 auto}
body.home-view .home-brand-logo{width:44px;height:44px;object-fit:contain;filter:drop-shadow(0 0 16px rgba(255,84,220,.44));flex:0 0 44px}
body.home-view .home-brand-copy{display:flex;flex-direction:column;min-width:0}
body.home-view .home-brand-copy strong{font-size:clamp(34px,10vw,56px);line-height:.95;font-weight:900;letter-spacing:-1.6px;color:#fff;text-shadow:0 2px 20px rgba(0,0,0,.42)}
body.home-view .home-brand-copy small{margin-top:8px;font-size:clamp(15px,4.5vw,24px);line-height:1.1;color:#fff;opacity:.97}
body.home-view .home-online-pill{align-self:flex-start;flex:0 0 auto;padding:10px 16px!important;border-radius:999px!important;font-size:clamp(11px,3vw,14px)!important;letter-spacing:.55px!important;background:rgba(31,8,42,.54)!important;backdrop-filter:blur(14px)!important;-webkit-backdrop-filter:blur(14px)!important}
body.home-view .hero.home-hero{margin-top:0!important;padding:20px 18px 18px!important;border-radius:30px!important;background:linear-gradient(145deg,rgba(88,25,96,.42),rgba(18,7,31,.59))!important;border:1px solid rgba(255,174,244,.36)!important;box-shadow:0 14px 34px rgba(7,0,15,.34), inset 0 1px 0 rgba(255,232,250,.18)!important}
body.home-view .hero.home-hero .hero-heading{gap:12px;align-items:flex-start}
body.home-view .hero.home-hero .hero-crown{width:38px;height:38px;display:grid;place-items:center;flex:0 0 38px;border-radius:50%;font-size:26px;background:radial-gradient(circle at 35% 25%,rgba(255,113,238,.32),rgba(60,18,76,.05));border:1px solid rgba(255,168,241,.22)}
body.home-view .hero.home-hero .hero-heading-copy .eyebrow{font-size:clamp(12px,3.2vw,14px)!important;font-weight:800!important;opacity:.97}
body.home-view .hero.home-hero .hero-heading-copy h1{font-size:clamp(22px,6.3vw,33px)!important;line-height:1.08!important;margin:5px 0 6px!important;max-width:100%!important}
body.home-view .hero.home-hero .hero-heading-copy p{font-size:clamp(12px,3.4vw,15px)!important;opacity:.95}
body.home-view .hero.home-hero .home-balance-line{margin:18px 0 12px!important;padding:12px!important;border-radius:22px!important;background:rgba(54,11,66,.38)!important;border:1px solid rgba(255,177,245,.20)!important;gap:12px!important}
body.home-view .hero.home-hero .balance-wrap{flex:1 1 auto;min-width:0}
body.home-view .hero.home-hero .home-balance-line .balance{font-size:clamp(20px,6vw,34px)!important;font-weight:900;letter-spacing:-1px;line-height:1.08;text-shadow:0 2px 14px rgba(0,0,0,.55)!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.home-view .hero.home-hero .home-balance-line .topup-home-btn{flex:0 0 auto;min-width:132px;min-height:46px!important;padding:10px 16px!important;border-radius:20px!important;font-size:clamp(12px,3.4vw,15px)!important;font-weight:850!important}
body.home-view .hero.home-hero .hero-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px!important;margin-top:0!important}
body.home-view .hero.home-hero .hero-actions .btn{min-height:50px!important;border-radius:20px!important;font-weight:800!important}
body.home-view .section-head{margin:22px 2px 14px!important;align-items:center!important}
body.home-view .section-head h2{font-size:clamp(22px,6vw,30px)!important;font-weight:900!important;line-height:1}
body.home-view .section-head span{font-size:clamp(13px,3.7vw,18px)!important;color:#ffe16d!important;text-shadow:0 0 12px rgba(255,217,84,.24)}
body.home-view .home-menu-grid{gap:14px!important}
body.home-view .home-menu-grid .menu-card{min-height:138px!important;padding:16px 14px!important;grid-template-columns:52px minmax(0,1fr)!important;column-gap:12px!important;row-gap:6px!important;border-radius:24px!important;background:linear-gradient(145deg,rgba(107,34,109,.42),rgba(21,7,32,.56))!important;border:1px solid rgba(255,167,240,.46)!important;box-shadow:0 14px 30px rgba(9,0,16,.28), inset 0 1px 0 rgba(255,233,251,.14)!important}
body.home-view .home-menu-grid .menu-card .ico{width:52px!important;height:52px!important;font-size:25px!important;background:radial-gradient(circle at 35% 25%,rgba(246,143,234,.52),rgba(74,22,92,.58))!important;border:1px solid rgba(255,179,245,.35)!important;box-shadow:0 0 18px rgba(255,104,225,.2)}
body.home-view .home-menu-grid .menu-card strong{font-size:clamp(14px,4vw,18px)!important;line-height:1.14!important;font-weight:900!important}
body.home-view .home-menu-grid .menu-card small{font-size:clamp(11px,3vw,14px)!important;line-height:1.28!important;color:#f1dceb!important}
body.home-view .bottom-nav{padding:10px 9px calc(10px + env(safe-area-inset-bottom))!important;border-radius:30px!important}
body.home-view .bottom-nav .nav-item{min-height:62px!important;border-radius:23px!important}
body.home-view .bottom-nav .nav-item span{font-size:23px!important}
body.home-view .bottom-nav .nav-item small{font-size:clamp(10px,2.9vw,13px)!important;font-weight:800!important}
body.home-view .bottom-nav .nav-item.active{background:linear-gradient(145deg,rgba(241,81,203,.82),rgba(111,30,113,.74))!important;box-shadow:0 0 24px rgba(255,63,221,.28), inset 0 1px 0 rgba(255,235,251,.26)!important}
@media(max-width:480px){
  body.home-view .home-masthead{gap:10px}
  body.home-view .hero.home-hero{padding:18px 15px 16px!important}
  body.home-view .home-menu-grid{gap:12px!important}
  body.home-view .home-menu-grid .menu-card{min-height:128px!important;padding:14px 12px!important}
}
@media(max-width:380px){
  body.home-view .home-brand-copy strong{font-size:clamp(28px,9vw,38px)}
  body.home-view .home-online-pill{padding:9px 12px!important}
  body.home-view .hero.home-hero .home-balance-line{flex-wrap:wrap}
  body.home-view .hero.home-hero .home-balance-line .topup-home-btn{width:100%;min-width:0}
  body.home-view .home-menu-grid .menu-card{grid-template-columns:46px minmax(0,1fr)!important;min-height:120px!important}
  body.home-view .home-menu-grid .menu-card .ico{width:46px!important;height:46px!important;font-size:22px!important}
}

/* fix4075 — compact, readable, photo-first home layout for actual 320–430px WebViews. */
body.home-view .app-shell{padding-left:clamp(12px,3.7vw,19px)!important;padding-right:clamp(12px,3.7vw,19px)!important;padding-top:calc(env(safe-area-inset-top) + 10px)!important;padding-bottom:calc(94px + env(safe-area-inset-bottom))!important}
body.home-view .home-masthead{margin:0 1px 13px!important;align-items:center!important;gap:7px!important}
body.home-view .home-brand{gap:7px!important;min-width:0!important;flex:1 1 0!important}
body.home-view .home-brand-logo{width:39px!important;height:35px!important;flex:0 0 39px!important;object-fit:contain!important;filter:drop-shadow(0 0 5px #ff5de1) drop-shadow(0 0 11px rgba(243,49,219,.4))!important}
body.home-view .home-brand-copy strong{display:block;font-size:clamp(25px,6.8vw,35px)!important;line-height:1!important;letter-spacing:-1px!important;font-weight:900!important;white-space:nowrap}
body.home-view .home-brand-copy strong em{font-style:normal;background:linear-gradient(140deg,#ffb5f3,#f540dc);-webkit-background-clip:text;background-clip:text;color:transparent}
body.home-view .home-brand-copy small{margin-top:3px!important;font-size:clamp(11px,3.1vw,14px)!important;line-height:1.2!important;color:#fff!important;white-space:nowrap}
body.home-view .home-online-pill{padding:7px 9px!important;margin:0!important;min-height:34px;font-size:clamp(9px,2.5vw,11px)!important;letter-spacing:0!important;white-space:nowrap;display:flex!important;align-items:center!important;gap:3px;max-width:34%;border-color:rgba(255,163,246,.36)!important;background:rgba(29,7,41,.62)!important}
body.home-view .home-online-pill i{flex:0 0 7px;width:7px;height:7px;margin:0 3px 0 0!important}
body.home-view .hero.home-hero{padding:16px!important;border-radius:23px!important;background:linear-gradient(130deg,rgba(67,19,76,.27),rgba(16,5,28,.56))!important;border:1px solid rgba(255,177,241,.46)!important;backdrop-filter:blur(7px) saturate(123%)!important;-webkit-backdrop-filter:blur(7px) saturate(123%)!important}
body.home-view .hero.home-hero .hero-heading{gap:10px!important}
body.home-view .hero.home-hero .hero-crown{width:35px!important;height:35px!important;flex:0 0 35px!important;background:none!important;border:0!important;box-shadow:none!important}
body.home-view .hero.home-hero .hero-crown svg{width:32px;height:32px;fill:none;stroke:#ff89e6;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 6px #ef55d4)}
body.home-view .hero.home-hero .hero-heading-copy{min-width:0}
body.home-view .hero.home-hero .hero-heading-copy h1{font-size:clamp(19px,5.45vw,26px)!important;line-height:1.14!important;font-weight:850;margin:0 0 3px!important;max-width:none!important;text-wrap:balance}
body.home-view .hero.home-hero .hero-heading-copy h1 span{color:#fff}
body.home-view .hero.home-hero .hero-heading-copy p{font-size:clamp(11px,3.15vw,14px)!important;color:#eed6ec!important;line-height:1.25!important}
body.home-view .hero.home-hero .home-balance-line{padding:9px 10px!important;gap:9px!important;margin:14px 0 10px!important;border-radius:18px!important;background:rgba(38,8,50,.44)!important;flex-wrap:nowrap!important;align-items:center!important;border-color:rgba(255,181,249,.3)!important;min-height:60px}
body.home-view .hero.home-hero .balance-wrap{flex:1 1 auto;min-width:0!important}
body.home-view .hero.home-hero .home-balance-label{font-size:clamp(10px,2.8vw,12px)!important;color:#eecde8;display:block;margin-bottom:2px;line-height:1.1}
body.home-view .hero.home-hero .home-balance-value{display:flex;align-items:center;min-width:0;gap:4px;color:#fff;font-variant-numeric:tabular-nums}
body.home-view .hero.home-hero .home-balance-coin{width:21px;height:21px;flex:0 0 21px;color:#ff91e8;display:inline-flex;align-items:center;justify-content:center}
body.home-view .hero.home-hero .home-balance-coin svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body.home-view .hero.home-hero .home-balance-amount{font-size:clamp(17px,5vw,25px)!important;line-height:1;letter-spacing:-.55px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;max-width:100%}
body.home-view .hero.home-hero .home-balance-currency{font-size:clamp(10px,2.7vw,13px)!important;font-weight:800;flex:0 0 auto;color:#f4d7f2;margin-left:1px}
body.home-view .hero.home-hero .home-balance-line .topup-home-btn{min-width:0!important;width:auto!important;max-width:47%;min-height:42px!important;flex:0 0 auto!important;border-radius:16px!important;padding:9px 10px!important;font-size:clamp(11px,3.1vw,14px)!important;line-height:1.12!important;white-space:normal!important;display:flex;align-items:center;justify-content:center;gap:2px;text-align:center}
body.home-view .hero.home-hero .home-balance-line .topup-home-btn span{font-size:18px;line-height:.85}
body.home-view .hero.home-hero .hero-actions{gap:9px!important}
body.home-view .hero.home-hero .hero-actions .btn{min-height:43px!important;padding:8px 7px!important;border-radius:16px!important;font-size:clamp(10px,3vw,13px)!important;line-height:1.14!important;display:flex;align-items:center;justify-content:center;gap:6px;min-width:0;white-space:normal;text-align:center;background:linear-gradient(150deg,rgba(114,44,113,.33),rgba(32,7,44,.39))!important;box-shadow:inset 0 1px 0 rgba(255,230,252,.17)!important}
body.home-view .home-action-icon{width:19px;height:19px;flex:0 0 19px;color:#fba4ed}
body.home-view .home-action-icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
body.home-view .section-head{margin:18px 2px 10px!important;min-height:27px!important}
body.home-view .section-head::before{height:27px!important;width:4px!important}
body.home-view .section-head h2{font-size:clamp(20px,5.7vw,26px)!important;font-weight:900!important}
body.home-view .section-head span{font-size:clamp(11px,3.2vw,14px)!important}
body.home-view .home-menu-grid{gap:9px!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
body.home-view .home-menu-grid .menu-card{
 min-width:0!important;min-height:91px!important;padding:10px 9px!important;
 display:grid!important;grid-template-columns:36px minmax(0,1fr)!important;grid-template-rows:auto auto!important;
 align-content:center!important;align-items:center!important;column-gap:8px!important;row-gap:4px!important;
 border-radius:18px!important;background:linear-gradient(135deg,rgba(91,25,92,.28),rgba(19,5,32,.38))!important;
 border:1px solid rgba(255,177,242,.48)!important;backdrop-filter:blur(6px) saturate(125%)!important;-webkit-backdrop-filter:blur(6px) saturate(125%)!important;
 box-shadow:0 7px 18px rgba(7,0,12,.19),inset 0 1px 0 rgba(255,220,249,.14)!important;
}
body.home-view .home-menu-grid .menu-card .ico{
 width:36px!important;height:36px!important;border-radius:50%!important;grid-column:1;grid-row:1/3;
 background:radial-gradient(circle at 35% 25%,rgba(255,134,235,.31),rgba(48,12,69,.44))!important;
 border:1px solid rgba(255,193,244,.44)!important;box-shadow:0 0 10px rgba(250,93,214,.15)!important;
 color:#ffc4f5;display:grid;place-items:center;
}
body.home-view .home-menu-grid .menu-card .ico svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 4px rgba(244,111,228,.36))}
body.home-view .home-menu-grid .menu-card strong{grid-column:2;grid-row:1;font-size:clamp(11.5px,3.5vw,14px)!important;line-height:1.18!important;font-weight:850!important;letter-spacing:-.15px!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:auto!important;text-shadow:0 1px 6px rgba(0,0,0,.58)}
body.home-view .home-menu-grid .menu-card small{grid-column:2;grid-row:2;font-size:clamp(10px,2.85vw,11.5px)!important;line-height:1.24!important;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden;overflow-wrap:break-word!important;color:#f1dff1!important}
body.home-view .bottom-nav{padding:6px 7px calc(6px + env(safe-area-inset-bottom))!important;width:calc(100% - 24px)!important;border-radius:23px!important;background:linear-gradient(130deg,rgba(51,16,60,.72),rgba(21,5,33,.78))!important}
body.home-view .bottom-nav .nav-item{min-height:51px!important;padding:5px 2px!important;border-radius:17px!important;gap:2px!important}
.bottom-nav .nav-item .nav-icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linejoin:round;stroke-linecap:round}
.bottom-nav .nav-item .nav-icon{width:25px;height:25px;display:grid;place-items:center;line-height:1}
body.home-view .bottom-nav .nav-item small{font-size:clamp(10px,2.8vw,12px)!important;letter-spacing:0!important}
@media(max-width:360px){
 body.home-view .home-brand-logo{width:32px!important;flex-basis:32px!important}
 body.home-view .home-brand-copy strong{font-size:clamp(23px,7vw,28px)!important}
 body.home-view .home-online-pill{padding:6px 7px!important;font-size:9px!important}
 body.home-view .hero.home-hero{padding:13px!important}
 body.home-view .hero.home-hero .home-balance-line{gap:5px!important;padding:8px!important}
 body.home-view .hero.home-hero .home-balance-coin{width:18px;flex-basis:18px}
 body.home-view .hero.home-hero .home-balance-coin svg{width:17px;height:17px}
 body.home-view .hero.home-hero .home-balance-amount{font-size:clamp(15px,4.7vw,19px)!important}
 body.home-view .hero.home-hero .home-balance-currency{font-size:10px!important}
 body.home-view .hero.home-hero .home-balance-line .topup-home-btn{padding:8px!important;font-size:11px!important}
 body.home-view .home-menu-grid .menu-card{grid-template-columns:32px minmax(0,1fr)!important;column-gap:7px!important;min-height:90px!important;padding:9px 7px!important}
 body.home-view .home-menu-grid .menu-card .ico{width:32px!important;height:32px!important}
 body.home-view .home-menu-grid .menu-card .ico svg{width:19px;height:19px}
}
@media(max-width:330px){body.home-view .home-menu-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(min-width:650px){body.home-view .home-menu-grid .menu-card{min-height:102px!important;padding:14px!important;grid-template-columns:45px minmax(0,1fr)!important}body.home-view .home-menu-grid .menu-card .ico{width:45px!important;height:45px!important}}

/* fix4076 unified top brand, profile language shortcuts, compact text-fit controls. */
body:not(.registration-mode):not(.msg-mode) .nightclub-topbar,
body.home-view .nightclub-topbar{
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;
  height:66px!important;min-height:66px!important;position:relative!important;top:auto!important;
  padding:5px 0!important;margin:0 0 12px!important;
  border:0!important;background:transparent!important;box-shadow:none!important;
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
}
.nightclub-topbar .brand-unit{display:flex;align-items:center;min-width:0;gap:7px;flex:1 1 auto}
.nightclub-topbar .brand-lips{
  display:block;width:45px;height:43px;flex:0 0 45px;object-fit:contain;
  filter:drop-shadow(0 0 7px rgba(255,24,69,.80)) drop-shadow(0 0 14px rgba(255,24,69,.42));
}
.nightclub-topbar .brand-copy{min-width:0!important;display:flex!important;flex-direction:column!important;gap:2px!important;line-height:1.05!important}
.nightclub-topbar .brand-copy::before{display:none!important;content:none!important}
.nightclub-topbar .brand-copy strong{
  font-size:clamp(23px,6.7vw,35px)!important;white-space:nowrap!important;letter-spacing:-1px!important;
  line-height:1!important;font-weight:900!important;display:block!important;overflow:visible!important;
}
.nightclub-topbar .brand-copy strong span{font-size:inherit!important;color:#fff!important;letter-spacing:inherit!important;font-weight:inherit!important}
.nightclub-topbar .brand-copy strong em{font-style:normal;font-size:inherit;letter-spacing:inherit;color:#f15cdc;text-shadow:0 0 14px rgba(249,40,202,.22)}
.nightclub-topbar .brand-copy .brand-subtitle{display:block;font-size:clamp(10px,2.9vw,14px);letter-spacing:0!important;color:#f8ebfa!important;text-transform:none!important;margin:2px 0 0!important;white-space:nowrap}
.nightclub-topbar .online-pill{display:flex!important;align-items:center!important;justify-content:center!important;gap:4px;flex:0 0 auto!important;max-width:32%;min-height:33px!important;
  padding:7px 9px!important;font-size:clamp(9px,2.6vw,12px)!important;letter-spacing:0!important;white-space:nowrap!important;
  background:rgba(30,7,40,.56)!important;box-shadow:0 5px 16px rgba(0,0,0,.18)!important;
}
.nightclub-topbar .online-pill i{flex:0 0 6px;width:6px;height:6px;margin-right:2px!important}
body.home-view .app-shell{padding-top:calc(env(safe-area-inset-top) + 4px)!important}
body.home-view .hero.home-hero{margin-top:0!important}
body.registration-mode .nightclub-topbar,body.msg-mode .nightclub-topbar{display:none!important}
/* Compact main cards: borders wrap content more closely rather than tall empty tiles. */
body.home-view .home-menu-grid{gap:8px!important}
body.home-view .home-menu-grid .menu-card{
  min-height:80px!important;padding:9px 8px!important;column-gap:7px!important;row-gap:3px!important;
  grid-template-columns:33px minmax(0,1fr)!important;border-radius:16px!important;
}
body.home-view .home-menu-grid .menu-card .ico{width:33px!important;height:33px!important}
body.home-view .home-menu-grid .menu-card .ico svg{width:20px;height:20px}
body.home-view .home-menu-grid .menu-card strong{font-size:clamp(11px,3.4vw,14px)!important;line-height:1.14!important}
body.home-view .home-menu-grid .menu-card small{font-size:clamp(9.6px,2.75vw,11.5px)!important;line-height:1.17!important}
/* All translations occupy the SAME top-up button footprint: RU/AZ/TR. */
body.home-view .hero.home-hero .home-balance-line{gap:6px!important;padding:8px 9px!important}
body.home-view .hero.home-hero .home-balance-line .topup-home-btn{
  flex:0 0 43%!important;width:43%!important;max-width:none!important;min-width:0!important;
  height:53px!important;min-height:53px!important;max-height:53px!important;
  padding:7px 8px!important;display:flex!important;align-items:center!important;justify-content:center!important;
  white-space:normal!important;gap:4px!important;text-align:center!important;
  font-size:clamp(10.5px,2.9vw,13px)!important;line-height:1.1!important;
}
body.home-view .hero.home-hero .home-balance-line .topup-home-btn span:first-child{flex:0 0 auto;font-size:17px!important}
body.home-view .hero.home-hero .home-balance-line .topup-home-btn .topup-home-label{
  display:block;min-width:0;white-space:normal;overflow-wrap:normal;word-break:normal;
}
body.home-view .hero.home-hero .home-balance-amount{font-size:clamp(15px,4.8vw,23px)!important}
body.home-view .hero.home-hero .home-balance-currency{font-size:clamp(9px,2.65vw,12px)!important}
.profile-language-switch{margin:15px 0 9px;padding:12px 0 0;border-top:1px solid rgba(255,179,242,.20)}
.profile-language-switch h3{font-size:16px;margin:0 0 10px!important;color:#fff}
.profile-language-switch .account-lang-options{display:flex;flex-wrap:wrap;gap:7px}
.profile-language-switch .account-lang-options .chip{
  flex:0 0 auto!important;width:auto!important;max-width:100%;border-radius:999px!important;
  padding:8px 12px!important;min-height:36px!important;font-size:12px!important;
  color:#fff!important;background:rgba(64,20,75,.58)!important;border:1px solid rgba(252,171,240,.44)!important;
  box-shadow:none!important;
}
.profile-language-switch .account-lang-options .chip.selected{
  border-color:rgba(255,195,244,.88)!important;
  background:linear-gradient(145deg,rgba(215,62,176,.72),rgba(113,30,124,.68))!important;
  box-shadow:0 0 14px rgba(244,73,207,.20)!important;
}
@media(max-width:360px){
 .nightclub-topbar .brand-lips{width:37px;height:36px;flex-basis:37px}
 .nightclub-topbar .brand-unit{gap:5px}
 .nightclub-topbar .brand-copy strong{font-size:clamp(21px,6.5vw,25px)!important}
 .nightclub-topbar .online-pill{font-size:9px!important;padding:6px 7px!important}
 body.home-view .home-menu-grid .menu-card{grid-template-columns:29px minmax(0,1fr)!important;padding:8px 7px!important;min-height:78px!important}
 body.home-view .home-menu-grid .menu-card .ico{width:29px!important;height:29px!important}
 body.home-view .home-menu-grid .menu-card .ico svg{width:18px;height:18px}
 body.home-view .hero.home-hero .home-balance-line .topup-home-btn{height:53px!important;min-height:53px!important}
}
/* Old legacy theme hides all .brand-copy span nodes. The Night half of the
   two-color wordmark is nested in a span and must be explicitly restored. */
.nightclub-topbar .brand-copy strong span{display:inline!important;text-transform:none!important;margin:0!important}


/* fix4077: responsive one-row language selector and tighter photo-first home tiles. */
/* Three equal columns, never wrap. Keep a comfortable 40px touch target. */
.profile-language-switch{width:100%;min-width:0;margin:12px 0 13px!important;padding:10px 0 0!important}
.profile-language-switch h3{font-size:clamp(13px,3.7vw,15px)!important;margin:0 0 8px!important;line-height:1.2!important}
.profile-language-switch .account-lang-options,
.panel > .account-lang-options{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:6px!important;width:100%!important;flex-wrap:nowrap!important;align-items:stretch;
}
.profile-language-switch .account-lang-options .chip,
.panel > .account-lang-options .chip{
  box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:none!important;
  min-height:40px!important;height:40px!important;flex:initial!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  margin:0!important;padding:6px 3px!important;white-space:nowrap!important;
  font-size:clamp(10.5px,2.9vw,12px)!important;letter-spacing:-.1px!important;
  line-height:1!important;font-weight:750!important;
  border-radius:13px!important;overflow:hidden!important;
}
.profile-language-switch .account-lang-options .chip.selected,
.panel > .account-lang-options .chip.selected{
  border-color:rgba(255,182,240,.92)!important;
  background:linear-gradient(135deg,rgba(245,79,201,.70),rgba(126,37,135,.64))!important;
  box-shadow:0 0 14px rgba(237,59,208,.19),inset 0 1px 0 rgba(255,229,255,.2)!important;
}
/* Less empty space in the main grid, clearer image through dark glass. */
body.home-view .home-menu-grid{gap:8px!important}
body.home-view .home-menu-grid .menu-card{
  min-height:72px!important;padding:8px 9px!important;row-gap:2px!important;
  border-radius:16px!important;
  background:linear-gradient(135deg,rgba(83,24,86,.24),rgba(16,4,29,.35))!important;
  border:1px solid rgba(255,177,242,.45)!important;
  -webkit-backdrop-filter:blur(5px) saturate(115%)!important;
  backdrop-filter:blur(5px) saturate(115%)!important;
}
body.home-view .home-menu-grid .menu-card small{line-height:1.2!important}
@media(max-width:360px){
  .profile-language-switch .account-lang-options,
  .panel > .account-lang-options{gap:4px!important}
  .profile-language-switch .account-lang-options .chip,
  .panel > .account-lang-options .chip{font-size:10px!important;padding:5px 2px!important}
  body.home-view .home-menu-grid .menu-card{min-height:72px!important;padding:7px 7px!important}
}


/* fix4078: wallet-height one-line top-up on RU/AZ/TR; safe for narrow WebViews. */
body.home-view .hero.home-hero .home-balance-line .topup-home-btn{
  box-sizing:border-box!important;
  flex:0 0 45%!important;width:45%!important;max-width:45%!important;min-width:0!important;
  height:43px!important;min-height:43px!important;max-height:43px!important;
  padding:0 5px!important;gap:3px!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  white-space:nowrap!important;text-align:center!important;
  font-size:clamp(10px,2.8vw,12px)!important;line-height:1!important;letter-spacing:-.2px!important;
}
body.home-view .hero.home-hero .home-balance-line .topup-home-btn span:first-child{
  font-size:16px!important;line-height:1!important;flex:0 0 14px!important;
}
body.home-view .hero.home-hero .home-balance-line .topup-home-btn .topup-home-label{
  display:block!important;min-width:0!important;white-space:nowrap!important;
  font-size:inherit!important;line-height:1!important;
  overflow:visible!important;overflow-wrap:normal!important;word-break:keep-all!important;
}
@media(max-width:360px){
  body.home-view .hero.home-hero .home-balance-line .topup-home-btn{
    height:43px!important;min-height:43px!important;max-height:43px!important;
    flex-basis:45%!important;width:45%!important;max-width:45%!important;
    padding:0 4px!important;gap:2px!important;font-size:10px!important;
  }
  body.home-view .hero.home-hero .home-balance-line .topup-home-btn span:first-child{
    font-size:14px!important;flex-basis:12px!important;
  }
}


/* GPLAY party glass v1 — visual-only override. Keep all geometry, controls,
   chat bubbles, Full Private surfaces, and existing focus styles unchanged. */
body::before{
  background-image:linear-gradient(180deg,rgba(18,2,30,.28),rgba(17,2,31,.32) 48%,rgba(10,0,20,.43)),url('/club-background.jpg?v=gplay-party1');
  background-position:center center;
}
.registration-screen::before{
  background-image:linear-gradient(180deg,rgba(12,1,23,.28),rgba(14,1,27,.32) 50%,rgba(12,1,22,.43)),url('/club-background.jpg?v=gplay-party1')!important;
  background-position:center center!important;
}
.registration-screen::after{background:linear-gradient(180deg,rgba(12,1,25,.03),rgba(12,1,25,.12))!important}
/* Dark tinted glass, not element opacity: labels and controls stay opaque. */
.standalone-card,.reg-card{
  background:rgba(25,11,38,.68)!important;
  -webkit-backdrop-filter:blur(4px) saturate(115%)!important;
  backdrop-filter:blur(4px) saturate(115%)!important;
}
/* Inputs, text, buttons and language controls retain their original styles. */
body.home-view .hero.home-hero{
  background:linear-gradient(130deg,rgba(43,15,54,.43),rgba(16,5,28,.50))!important;
  -webkit-backdrop-filter:blur(4px) saturate(115%)!important;
  backdrop-filter:blur(4px) saturate(115%)!important;
}
body.home-view .home-menu-grid .menu-card{
  background:linear-gradient(135deg,rgba(49,17,61,.38),rgba(19,5,32,.46))!important;
  -webkit-backdrop-filter:blur(3px) saturate(115%)!important;
  backdrop-filter:blur(3px) saturate(115%)!important;
}
body.home-view .bottom-nav{
  background:linear-gradient(130deg,rgba(51,16,60,.68),rgba(21,5,33,.73))!important;
  -webkit-backdrop-filter:blur(6px) saturate(115%)!important;
  backdrop-filter:blur(6px) saturate(115%)!important;
}
@media (min-width:760px){body::before{background-position:center 25%}}
