/* Telegram-only coherent deep-green BALI palette, home refinements and balanced WORK.
   Public baliminsk.by, BALI CARD artwork, coin rotation, catalog and gameplay are untouched. */
body.bali-guest-theme{
 --club-deep:#071512;--club-panel:#142c22;--club-green:#317a50;
 --club-lime:#bbf1b6;--club-mint:#82cda0;--club-border:#91dca469;
}
body.bali-guest-theme .app:not(.tg-immersive-game){
 background:
 radial-gradient(ellipse 80% 42% at 50% -17%,#a3cb791a,transparent 90%),
 radial-gradient(ellipse 74% 52% at 0 65%,#29996915,transparent 90%),
 linear-gradient(165deg,#111f19,#0a1715 56%,#071011)!important;
}
body.bali-guest-theme .app:not(.tg-immersive-game)>.nav{
 background:linear-gradient(180deg,#172c22,#0c1b18)!important;
 border-top-color:#a3d9a650!important;
}
body.bali-guest-theme .app:not(.tg-immersive-game)>.nav button.current{
 color:#daffd0!important;background:linear-gradient(135deg,#2e6c42,#1a402c)!important;
 border-color:#a5e3a380!important;
}
/* Home: both launch tiles use ONE BALI-green treatment. */
body.bali-guest-theme .tg-home-hero-copy h1{
 color:#f2f5df!important;text-shadow:0 2px 11px #a5e39b30!important;
}
body.bali-guest-theme .tg-home-hero-copy h1 span{color:#b9e4c0!important}
body.bali-guest-theme .tg-home-hero-copy p:last-child{color:#c8dece!important}
body.bali-guest-theme .tg-home-action,
body.bali-guest-theme .tg-home-action-game,
body.bali-guest-theme .tg-home-action-card{
 border-color:#8ed9a67a!important;
 background:
 radial-gradient(ellipse at 50% 13%,#65d99a31,transparent 67%),
 linear-gradient(155deg,#204c36,#112c25 65%,#091a1c)!important;
 box-shadow:inset 0 1px #ffffff38,0 4px 0 #071512,0 10px 23px #0009!important;
}
body.bali-guest-theme .tg-home-action .tg-home-game-glow{
 background:radial-gradient(ellipse,#6bdc9a44,transparent 68%)!important;
}
body.bali-guest-theme .tg-home-dj-art{
 top:clamp(6px,1.4dvh,13px)!important;
 left:-13%!important;width:126%!important;height:72%!important;
 object-position:center bottom!important;object-fit:contain!important;
 filter:drop-shadow(0 7px 9px #00150dc7) drop-shadow(0 0 11px #8cf8b354)!important;
}
body.bali-guest-theme .tg-home-action .tg-home-action-copy{
 background:linear-gradient(180deg,transparent,#0c201bdb 30%,#0b211bf7)!important;
}
body.bali-guest-theme .tg-home-action-copy small,
body.bali-guest-theme .tg-home-action-card .tg-home-action-copy small{
 color:#c0edbf!important;
}
body.bali-guest-theme .tg-home-action-copy b{color:#f3f8e8!important}
body.bali-guest-theme .tg-home-action-copy em{color:#c8dfce!important}
body.bali-guest-theme .tg-home-action .tg-home-action-cta,
body.bali-guest-theme .tg-home-action-card .tg-home-action-cta{
 display:flex!important;align-items:center!important;justify-content:center!important;
 text-align:center!important;padding-inline:5px!important;
 background:linear-gradient(105deg,#d9f5c8,#8fdbac 57%,#4ca77c)!important;
 color:#103626!important;border:1px solid #d6f9db8a!important;
 box-shadow:inset 0 1px #fff9,0 2px 0 #226847!important;
}
body.bali-guest-theme .tg-home-contacts{
 border-color:#97dca66a!important;
 background:linear-gradient(150deg,#1d402e,#122820 74%)!important;
 padding:clamp(7px,1dvh,10px)!important;
 gap:clamp(4px,.65dvh,6px)!important;
}
body.bali-guest-theme .tg-home-contacts h2{color:#eef5e1!important}
body.bali-guest-theme .tg-home-contacts p{color:#b6d1bf!important}
body.bali-guest-theme .tg-home-contact-link,
body.bali-guest-theme .tg-home-contact-phone{
 background:linear-gradient(155deg,#295c3d,#183a2b)!important;
 border:1px solid #9ac9a968!important;
 color:#f4f9ed!important;height:clamp(39px,6dvh,51px)!important;
}
body.bali-guest-theme .tg-home-contact-link .tg-contact-mark{
 display:grid!important;place-items:center!important;
 width:clamp(18px,2.8dvh,24px)!important;
 height:clamp(18px,2.8dvh,24px)!important;
 color:#c8f2d2!important;
}
body.bali-guest-theme .tg-home-contact-link .tg-contact-mark svg{
 display:block!important;width:100%!important;height:100%!important;
}
body.bali-guest-theme .tg-home-map-link{
 display:flex!important;align-items:center!important;justify-content:center!important;
 gap:10px!important;margin-top:clamp(3px,.45dvh,5px)!important;
 width:100%!important;min-width:0!important;min-height:clamp(36px,5.2dvh,44px)!important;
 padding:5px 9px!important;border-radius:11px!important;
 background:linear-gradient(108deg,#357953,#235b3e 55%,#1c452f)!important;
 border:1px solid #b8e9bc7b!important;color:#f3ffe9!important;
 box-shadow:inset 0 1px #ffffff6a,0 3px 0 #103624,0 6px 13px #0006!important;
}
body.bali-guest-theme .tg-home-map-link:active{
 transform:translateY(2px)!important;filter:brightness(1.14)!important;
}
body.bali-guest-theme .tg-home-map-pin{
 display:block!important;flex:0 0 auto!important;width:20px!important;height:26px!important;
 color:#dbffc8!important;
}
body.bali-guest-theme .tg-home-map-pin svg{width:100%!important;height:100%!important}
body.bali-guest-theme .tg-home-map-label{
 display:flex!important;flex-direction:column!important;align-items:flex-start!important;
 gap:2px!important;text-align:left!important;min-width:0!important;
}
body.bali-guest-theme .tg-home-map-label b{
 font:900 clamp(10px,1.55dvh,13px)/1.15 Manrope,Inter,sans-serif!important;
}
body.bali-guest-theme .tg-home-map-label small{
 font:650 clamp(8px,1.2dvh,10px)/1.1 Manrope,Inter,sans-serif!important;
 color:#d1ebd6!important;
}
body.bali-guest-theme .tg-home-contact-link:focus-visible,
body.bali-guest-theme .tg-home-map-link:focus-visible,
body.bali-guest-theme .tg-home-action:focus-visible{
 outline:2px solid #c6f9b1!important;outline-offset:2px!important;
}
/* Inactive photo-wall is clearly explained; it never behaves as a broken link. */
body.bali-guest-theme .tg-page-home>.tg-home-photo-fab{
 background:linear-gradient(110deg,#bcebb6,#64ae83)!important;
 color:#0c2d1e!important;border-color:#c7efc5!important;
 box-shadow:inset 0 1px #fffa,0 3px 0 #277b4c,0 7px 14px #0006!important;
}
body.bali-guest-theme .tg-page-home>.tg-home-photo-fab[disabled]{
 background:linear-gradient(115deg,#1d342c,#192c27)!important;
 border-color:#57896f!important;color:#cee4d1!important;
 box-shadow:inset 0 1px #ffffff20!important;
}
body.bali-guest-theme .tg-page-home>.tg-home-photo-fab small{
 font-size:clamp(7px,1.13dvh,9px)!important;
 letter-spacing:0!important;line-height:1.14!important;
}
body.bali-guest-theme .tg-page-home .tg-home-intro{
 gap:clamp(5px,1.05dvh,10px)!important;
}
/* Equal vertical space ABOVE and BELOW WORK inside the remaining card viewport.
   The actual card and its three action icons retain their original positions. */
body.bali-guest-theme .tg-page-card{
 display:flex!important;flex-direction:column!important;
 justify-content:flex-start!important;min-height:0!important;
}
body.bali-guest-theme .tg-page-card .tg-work-launcher{
 position:relative!important;flex:0 0 auto!important;align-self:stretch!important;
 width:100%!important;height:clamp(70px,10.3dvh,88px)!important;min-height:70px!important;
 margin-top:auto!important;margin-bottom:auto!important;
 margin-left:0!important;margin-right:0!important;
 background:linear-gradient(112deg,#328054,#246044 57%,#17442f)!important;
 border:1px solid #b1eba7bd!important;
 border-radius:16px!important;
 box-shadow:inset 0 1px #ffffff70,0 4px 0 #103922,0 8px 15px #0008!important;
 color:#f5ffe8!important;
}
body.bali-guest-theme .tg-page-card .tg-work-launcher-icon{
 background:radial-gradient(circle at 32% 21%,#e5ffd9,#82d79a 42%,#2e8e5b 73%)!important;
 color:#0a3523!important;border:1px solid #d6ffd3!important;
 box-shadow:inset 0 1px #fff9,0 2px 0 #13552e,0 5px 10px #0008!important;
}
body.bali-guest-theme .tg-page-card .tg-work-launcher-text b{color:#f7ffe8!important}
body.bali-guest-theme .tg-page-card .tg-work-launcher-text small{color:#d6eed7!important}
body.bali-guest-theme .tg-page-card .tg-work-launcher-arrow{color:#e4ffda!important}
/* Darker game shell and coherent club-green rig and round controls. Keep
   the individual match-3 jewels colorful so that types remain distinguishable. */
body.bali-guest-theme .app.tg-immersive-game{background:#061310!important}
body.bali-guest-theme .tg-immersive-game>.main{
 background:radial-gradient(ellipse at 50% 20%,#204931,#071310 76%)!important;
}
body.bali-guest-theme .tg-immersive-game .dj-game-page{
 --dj-aqua:#a0f8cd;--dj-gold:#e6f4b5;--dj-blue:#76cea2;
 background:
 radial-gradient(ellipse at 50% 5%,#43875f2a,transparent 61%),
 linear-gradient(170deg,#101f1b,#061312 60%,#0e221e)!important;
}
body.bali-guest-theme .tg-immersive-game .dj-stage{
 border-color:#8fd6a6!important;
 background:radial-gradient(ellipse at 50% 68%,#3c855e55,transparent 70%),
 linear-gradient(140deg,#18372a,#0c241f 56%,#16362c)!important;
 box-shadow:inset 0 0 21px #7fdfad33,0 0 10px #6dd68e34,0 3px 0 #26583b!important;
}
body.bali-guest-theme .tg-immersive-game .dj-stage .dj-tabbar button,
body.bali-guest-theme .tg-immersive-game .dj-stage .dj-tabbar button:last-child{
 color:#c9ffd6!important;
 text-shadow:0 0 6px #438a5c9a!important;
}
body.bali-guest-theme .tg-immersive-game .dj-board-housing{
 border-color:#9bd6a8!important;
 background:linear-gradient(135deg,#6fbe88,#1c573a 28%,#123228 72%,#54a97d)!important;
 box-shadow:inset 0 2px #ecffe6a9,0 4px 0 #205038,0 8px 24px #000b,0 0 15px #65c99750!important;
}
body.bali-guest-theme .tg-immersive-game .dj-primary,
body.bali-guest-theme .tg-immersive-game .dj-shop-product .dj-primary{
 color:#0c3423!important;
 background:linear-gradient(115deg,#d5f8bb,#8ce4a8 50%,#4daf7c)!important;
 border-color:#d1ffd0!important;border-bottom-color:#2a7950!important;
 box-shadow:inset 0 1px #fff,0 0 13px #68e09b48!important;
}
body.bali-guest-theme .tg-immersive-game .dj-stats>span{
 background:linear-gradient(120deg,#18372c,#10281f)!important;
 border-color:#7acb9575!important;
}
body.bali-guest-theme .tg-immersive-game .dj-energy-track i{
 background:linear-gradient(90deg,#39845c,#8ddc93 56%,#daffb4)!important;
 box-shadow:0 0 11px #82d6a85c!important;
}
body.bali-guest-theme .tg-immersive-game .dj-rating-hero{
 background:radial-gradient(circle at 25% 15%,#65ad7448,transparent 68%),
 linear-gradient(145deg,#26523b,#142c24)!important;
}
body.bali-guest-theme .tg-immersive-game .dj-rank-row{
 background:linear-gradient(115deg,#20402f,#142c26)!important;
 border-color:#91cca36d!important;
}
body.bali-guest-theme .tg-immersive-game .dj-rank-row.is-me{
 background:linear-gradient(115deg,#286f48,#1d4c37)!important;
 border-color:#a5eec3!important;
}
body.bali-guest-theme .tg-immersive-game .dj-booster-card{
 background:linear-gradient(135deg,#234634,#193328)!important;
 border-color:#8abf9588!important;
}
body.bali-guest-theme .tg-immersive-game .dj-booster-card button:last-child{
 background:#2b705343!important;border-top-color:#a0dcb358!important;
}
body.bali-guest-theme .tg-immersive-game .dj-booster-overlay>div{
 border-color:#a5e4ac!important;background:linear-gradient(150deg,#27543d,#10261e)!important;
}
@media(max-height:680px){
 body.bali-guest-theme .tg-page-home .tg-home-launches{
  height:clamp(132px,24dvh,182px)!important;
 }
 body.bali-guest-theme .tg-home-contacts{padding:6px!important;gap:3px!important}
 body.bali-guest-theme .tg-home-contact-link{height:38px!important}
 body.bali-guest-theme .tg-home-map-link{min-height:34px!important;margin-top:1px!important}
 body.bali-guest-theme .tg-page-card .tg-work-launcher{
  height:clamp(60px,9.6dvh,70px)!important;min-height:60px!important;
 }
}
