/* BALI Telegram-only photo spotlight. Club photo wall remains separate at baliminsk.online.
   Main page stays static. Competition details use an independently scrollable modal. */
body.bali-guest-theme .tg-page-home .tg-home-intro{
 padding-bottom:clamp(4px,.6dvh,8px)!important;
 gap:clamp(4px,.9dvh,8px)!important;
}
body.bali-guest-theme .tg-home-photo-hub{
 flex:0 0 auto!important;display:flex!important;flex-direction:column!important;
 gap:clamp(4px,.62dvh,6px)!important;
 padding:clamp(8px,1.1dvh,11px)!important;
 width:100%;min-width:0;border-radius:16px!important;
 border:1px solid rgba(255,255,255,.18)!important;
 background:#16181d!important;
 box-shadow:0 7px 16px #0003!important;
}
body.bali-guest-theme .tg-photo-hub-top{
 display:flex;align-items:center;min-width:0;gap:9px;
}
body.bali-guest-theme .tg-photo-hub-camera{
 width:clamp(28px,4.7dvh,35px);height:clamp(28px,4.7dvh,35px);flex:none;
 display:grid;place-items:center;
 border:1px solid #b2ef5f70;border-radius:11px;
 background:linear-gradient(145deg,#30333a,#191b20);
 color:#b9ff51;
}
body.bali-guest-theme .tg-photo-hub-camera svg{width:19px;height:19px}
body.bali-guest-theme .tg-photo-hub-copy{display:flex;min-width:0;flex-direction:column;gap:1px}
body.bali-guest-theme .tg-photo-hub-copy small{
 color:#d8ff9f;font:800 clamp(8px,1.12dvh,9px)/1.1 Manrope,Inter,sans-serif;
 letter-spacing:.12em;
}
body.bali-guest-theme .tg-photo-hub-copy b{
 color:#f5f5f5;font:900 clamp(12px,2.04dvh,15px)/1.2 Manrope,Inter,sans-serif;
 letter-spacing:-.02em;
}
body.bali-guest-theme .tg-photo-hub-description{
 color:#c3c4c8!important;margin:0!important;
 font:550 clamp(9px,1.4dvh,11px)/1.3 Manrope,Inter,sans-serif!important;
 display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;
 overflow:hidden;
}
body.bali-guest-theme .tg-photo-hub-actions{
 display:grid;grid-template-columns:1fr;gap:5px;
}
body.bali-guest-theme .tg-photo-hub-actions button{
 display:grid!important;grid-template-columns:25px minmax(0,1fr) 10px!important;
 align-items:center!important;gap:8px!important;min-width:0!important;
 width:100%!important;min-height:clamp(33px,5.3dvh,40px)!important;
 padding:4px 9px!important;border-radius:10px!important;
 border:1px solid rgba(255,255,255,.16)!important;
 background:#24272d!important;
 color:#f5f5f5!important;box-shadow:none!important;
 text-align:left!important;transition:transform .14s ease,filter .14s ease!important;
}
body.bali-guest-theme .tg-photo-hub-actions button:active:not(:disabled){
 transform:scale(.988)!important;filter:brightness(1.1)!important;
}
body.bali-guest-theme .tg-photo-hub-actions button.tg-photo-contest-btn{
 border-color:#b2ef5f99!important;
}
body.bali-guest-theme .tg-photo-hub-actions button.tg-photo-show-btn[data-connected="true"]{
 background:#b9ff51!important;color:#10131a!important;border-color:#b9ff51!important;
}
body.bali-guest-theme .tg-photo-hub-actions button.tg-photo-show-btn[disabled]{
 opacity:.74!important;cursor:not-allowed!important;
}
body.bali-guest-theme .tg-photo-action-icon{
 width:25px;height:25px;display:grid;place-items:center;
 color:#d8ff9f!important;background:#30333a;border-radius:7px;
 font:900 19px/1 Manrope,Inter,sans-serif;
}
body.bali-guest-theme .tg-photo-hub-actions .tg-photo-show-btn[data-connected="true"] .tg-photo-action-icon{
 background:#10131a;color:#b9ff51!important;
}
body.bali-guest-theme .tg-photo-hub-actions button>span:nth-child(2){
 min-width:0;display:flex;flex-direction:column;gap:1px;
 font:850 clamp(9px,1.35dvh,11px)/1.14 Manrope,Inter,sans-serif!important;
 letter-spacing:-.01em;
}
body.bali-guest-theme .tg-photo-hub-actions button>span:nth-child(2)>small{
 font:700 clamp(7px,1.06dvh,9px)/1.1 Manrope,Inter,sans-serif;
 opacity:.77;
}
body.bali-guest-theme .tg-photo-action-arrow{
 font-size:19px;line-height:1;text-align:center;color:inherit;
}
body.bali-guest-theme .tg-photo-hub-bottom{display:flex;flex-direction:column;gap:2px}
body.bali-guest-theme .tg-photo-hub-status{
 color:#b7bac1;font:750 clamp(7px,1.1dvh,9px)/1.15 Manrope,Inter,sans-serif;
 letter-spacing:.025em;
}
body.bali-guest-theme .tg-photo-hub-status[data-live="true"]{color:#b9ff51}
body.bali-guest-theme .tg-photo-hub-hint{
 color:#aeb3b7;font:500 clamp(7px,1.1dvh,9px)/1.25 Manrope,Inter,sans-serif;
}
body.bali-guest-theme .tg-home-contacts{
 order:10!important;margin-top:auto!important;
 padding:clamp(7px,1dvh,9px)!important;
 gap:clamp(3px,.5dvh,5px)!important;
 flex-shrink:0!important;
}
body.bali-guest-theme .tg-home-contacts h2{margin:0!important}
body.bali-guest-theme .tg-home-contacts p{margin:0!important}
body.bali-guest-theme .tg-home-contact-link{
 height:clamp(35px,5.9dvh,44px)!important;
}
body.bali-guest-theme .tg-home-map-link{
 min-height:clamp(29px,4.7dvh,36px)!important;
}
/* An app-modal with enough space for the FULL rules, without page scroll. */
body.bali-guest-theme .tg-photo-contest-dialog{
 box-sizing:border-box;position:fixed;inset:0;margin:auto;
 padding:0;border:1px solid rgba(178,239,95,.50);
 border-radius:20px;width:min(95vw,500px);max-width:500px;
 max-height:min(89dvh,760px);color:#f5f5f5;background:#191b20;
 overflow:hidden;box-shadow:0 14px 46px #000b;
}
body.bali-guest-theme .tg-photo-contest-dialog::backdrop{
 background:rgba(2,4,7,.78);backdrop-filter:blur(5px);
}
body.bali-guest-theme .tg-photo-contest-shell{
 max-height:min(89dvh,760px);display:flex;flex-direction:column;min-height:0;
}
body.bali-guest-theme .tg-photo-contest-head{
 display:grid;grid-template-columns:36px minmax(0,1fr) 32px;gap:11px;
 padding:17px 14px;border-bottom:1px solid rgba(255,255,255,.13);
 align-items:center;background:#17191d;
}
body.bali-guest-theme .tg-photo-contest-crown{
 display:grid;place-items:center;font-size:30px;color:#b9ff51;
}
body.bali-guest-theme .tg-photo-contest-head small{
 color:#d8ff9f;font:800 9px/1.1 Manrope,Inter,sans-serif;letter-spacing:.12em;
}
body.bali-guest-theme .tg-photo-contest-head h2{
 margin:4px 0 0;font:900 clamp(15px,4vw,19px)/1.2 Manrope,Inter,sans-serif;color:#f5f5f5;
}
body.bali-guest-theme .tg-photo-contest-close{
 border:1px solid rgba(255,255,255,.19);background:#24272d;
 color:#f5f5f5;font-size:27px;line-height:1;min-width:34px;min-height:34px;
 border-radius:9px;
}
body.bali-guest-theme .tg-photo-contest-body{
 padding:16px;overflow-y:auto;overscroll-behavior:contain;
 display:flex;flex-direction:column;gap:15px;min-height:0;
 scrollbar-color:#64784e #17191d;
}
body.bali-guest-theme .tg-photo-contest-lead{
 margin:0;color:#e4e6e5;font:650 13px/1.5 Manrope,Inter,sans-serif;
}
body.bali-guest-theme .tg-photo-contest-steps{
 display:grid;gap:9px;
}
body.bali-guest-theme .tg-photo-contest-steps>div{
 display:grid;grid-template-columns:27px 1fr;gap:10px;padding:9px;
 border-radius:11px;border:1px solid rgba(255,255,255,.13);
 background:#22252b;
}
body.bali-guest-theme .tg-photo-contest-steps>div>b{
 color:#b9ff51;font:900 13px/1.3 Manrope,Inter,sans-serif;
}
body.bali-guest-theme .tg-photo-contest-steps>div>span{display:grid;gap:3px}
body.bali-guest-theme .tg-photo-contest-steps strong{
 color:#f5f5f5;font:800 11px/1.25 Manrope,Inter,sans-serif;
}
body.bali-guest-theme .tg-photo-contest-steps small{
 color:#bbc0c5;font:500 11px/1.4 Manrope,Inter,sans-serif;
}
body.bali-guest-theme .tg-photo-contest-register{
 padding:12px;display:grid;gap:8px;border-radius:12px;
 background:#17191d;border:1px solid rgba(178,239,95,.4);
}
body.bali-guest-theme .tg-photo-contest-register h3{
 margin:0;color:#d8ff9f;font:900 13px/1.3 Manrope,Inter,sans-serif;
}
body.bali-guest-theme .tg-photo-contest-register>p,
body.bali-guest-theme .tg-photo-contest-live>small{
 margin:0;color:#bbc0c5;font:500 11px/1.4 Manrope,Inter,sans-serif;
}
body.bali-guest-theme .tg-photo-contest-register label{
 display:grid;gap:5px;color:#d8ff9f;font:800 10px/1.3 Manrope,Inter,sans-serif;
}
body.bali-guest-theme .tg-photo-contest-register select{
 width:100%;max-width:100%;min-width:0;min-height:40px;
 padding:8px;border-radius:8px;
 color:#f5f5f5;background:#26292f;border:1px solid rgba(255,255,255,.19);
 font:650 12px/1.3 Manrope,Inter,sans-serif;
}
body.bali-guest-theme .tg-photo-contest-submit,
body.bali-guest-theme .tg-photo-contest-enter{
 min-height:43px;width:100%;padding:10px 13px;border:1px solid #b9ff51;
 border-radius:10px;background:#b9ff51;color:#10131a;
 font:900 12px/1.2 Manrope,Inter,sans-serif;box-shadow:none;
}
body.bali-guest-theme .tg-photo-contest-submit:disabled,
body.bali-guest-theme .tg-photo-contest-enter:disabled{
 opacity:.55;background:#24272d;color:#c3c4c8;
 border-color:rgba(255,255,255,.15);cursor:default;
}
body.bali-guest-theme .tg-photo-contest-result{
 min-height:14px;margin:0;color:#d8ff9f;
 font:650 11px/1.4 Manrope,Inter,sans-serif;
}
body.bali-guest-theme .tg-photo-contest-live{
 display:grid;gap:8px;padding:12px;
 border:1px solid rgba(255,255,255,.13);border-radius:12px;background:#22252b;
}
body.bali-guest-theme .tg-photo-contest-live-label{
 color:#d8ff9f;font:800 10px/1.3 Manrope,Inter,sans-serif;
}
@media(max-height:660px){
 body.bali-guest-theme .tg-home-launches{height:clamp(114px,21dvh,145px)!important}
 body.bali-guest-theme .tg-home-hero-copy p:last-child{-webkit-line-clamp:2;display:-webkit-box!important;-webkit-box-orient:vertical;overflow:hidden}
 body.bali-guest-theme .tg-home-photo-hub{gap:3px!important;padding:7px!important}
 body.bali-guest-theme .tg-photo-hub-top{gap:6px}
 body.bali-guest-theme .tg-photo-hub-description{-webkit-line-clamp:2;font-size:9px!important;line-height:1.22!important}
 body.bali-guest-theme .tg-photo-hub-actions{gap:4px!important}
 body.bali-guest-theme .tg-photo-hub-actions button{min-height:32px!important;padding:3px 7px!important}
 body.bali-guest-theme .tg-home-contacts{gap:3px!important;padding:6px!important}
 body.bali-guest-theme .tg-home-contacts .tg-home-contact-link{height:34px!important}
 body.bali-guest-theme .tg-home-contacts .tg-home-map-link{min-height:29px!important}
}
@media(max-height:575px){
 body.bali-guest-theme .tg-photo-hub-hint{display:none!important}
 body.bali-guest-theme .tg-home-contacts p{display:none!important}
 body.bali-guest-theme .tg-photo-hub-copy small{display:none!important}
 body.bali-guest-theme .tg-home-hero-copy p:last-child{display:none!important}
}
