/* =========================================================
   nav-30-png-skin-responsive.css

   Extracted top-contiguous section from frontend/poker-nav.css.

   Ownership:
   - PNG navbar skin
   - PNG responsive flow fixes
   - split wallet/email backgrounds
   - Photoroom wallet/email row setup
   - wallet/email row height/gap setup before debug ownership

   Production rule:
   This file must load AFTER nav-20-shop-inventory-bubbles.css
   and immediately BEFORE poker-nav.css.
   It preserves original cascade order by owning the former next top section.
========================================================= */

/* =========================
   PNG NAVBAR SKIN v1
   Keeps existing IDs/actions intact.
========================= */

.png-nav-inner{
  min-height:144px;
  padding:12px 18px;
  gap:14px;
}

.png-homeBtn{
  width:58px;
  height:58px;
  padding:0;
  margin:0 8px 0 44px;
  border-radius:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.png-homeIcon{
  width:58px;
  height:58px;
  object-fit:contain;
  display:block;
  filter:drop-shadow(0 0 10px rgba(75,255,220,.28));
}

.png-shop-frame{
  min-height:58px;
  padding:7px 10px;
  gap:8px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:url("/assets/NavBar/ShopInventoryBuyKASBackground.png") center / 100% 100% no-repeat;
  border-radius:18px;
}

.png-nav-img-btn{
  position:relative;
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  padding:0 !important;
  margin:0;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  overflow:visible;
  transition:transform .14s ease, filter .14s ease;
}

.png-nav-img-btn:hover{
  transform:scale(1.07);
  filter:
    drop-shadow(0 0 10px rgba(78,255,220,.55))
    drop-shadow(0 0 18px rgba(45,160,255,.28))
    brightness(1.08);
}

.png-nav-img-btn:active{
  transform:scale(.98);
}

.nav-btn-img{
  display:block;
  width:auto;
  height:46px;
  object-fit:contain;
  pointer-events:none;
  user-select:none;
}

#shopNavBtn .nav-btn-img,
#inventoryNavBtn .nav-btn-img,
#buyKasNavBtn .nav-btn-img{
  height:42px;
}

#receiveNavBtn .nav-btn-img,
#sendNavBtn .nav-btn-img,
#exitFsBtn .nav-btn-img,
#logoutBtn .nav-btn-img{
  height:83px;
}

.png-balance{
  width:220px;
  min-width:220px;
  height:70px;
  padding:0;
  border:0;
  border-radius:0;
  background:url("/assets/NavBar/Balance1.png") center / contain no-repeat !important;
  box-shadow:none;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  color:#f8fbff;
  text-shadow:0 2px 6px rgba(0,0,0,.75);
  overflow:visible;
}

.png-balance:hover{
  filter:
    drop-shadow(0 0 10px rgba(78,255,220,.35))
    brightness(1.05);
}

.png-balance #balanceValue{
  font-size:16px;
  line-height:1;
  font-weight:1000;
  margin-top:-2px;
}

.png-balance #balanceHint{
  margin-top:5px;
  font-size:11px;
  line-height:1;
  color:rgba(235,245,255,.86);
}

.png-nav-right{
  gap:10px;
  margin-left:auto;
}

.png-wallet-card{
  width:360px;
  max-width:360px;
  min-height:64px;
  padding:8px 14px;
  gap:5px;
  justify-content:center;
  background:url("/assets/NavBar/walletemailbackground.png") center / 100% 100% no-repeat;
  border:0;
  border-radius:12px;
  overflow:hidden;
}

.wallet-line{
  width:100%;
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
}

.wallet-line-icon{
  width:24px;
  height:24px;
  object-fit:contain;
  flex:0 0 auto;
  filter:drop-shadow(0 0 8px rgba(75,255,220,.22));
}

.wallet-line .address,
.wallet-line .email{
  flex:1 1 auto;
  min-width:0;
  padding:0;
  border:0;
  background:transparent;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:rgba(235,243,255,.92);
  text-shadow:0 2px 5px rgba(0,0,0,.75);
}

.wallet-line .address{
  font-size:12px;
  font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.wallet-line .email{
  font-size:12px;
  font-weight:900;
}

.nav-sr{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

@media (max-width:1200px){
  .png-wallet-card{
    width:290px;
    max-width:290px;
  }

  .nav-btn-img{
    height:40px;
  }

  .png-balance{
    width:200px;
    min-width:200px;
  }
}

@media (max-width:980px){
  .png-wallet-card{
    display:none;
  }

  .png-homeBtn{
    margin-left:10px;
  }

  .png-shop-frame{
    padding:5px 7px;
  }

  .nav-btn-img{
    height:36px;
  }

  .png-balance{
    width:178px;
    min-width:178px;
  }
}

/* =========================
   PNG NAVBAR RESPONSIVE FLOW FIX
   Keeps logout inside screen; reduces Buy KAS -> Balance distance.
========================= */

.png-nav-inner{
  box-sizing:border-box;
  display:flex;
  flex-wrap:nowrap;
  align-items:center;
  width:100%;
  max-width:100%;
  overflow:visible;
  gap:10px;
}

/* stop the giant empty center gap */
.png-nav-inner .spacer{
  flex:1 1 18px;
  min-width:18px;
  max-width:110px;
}

/* balance participates in the row instead of floating absolute center */
.png-balance{
  position:static !important;
  left:auto !important;
  top:auto !important;
  transform:none !important;
  flex:0 0 220px;
  margin-left:0;
  margin-right:10px;
}

/* right side should stay together and not get pushed off-screen */
.png-nav-right{
  flex:0 0 auto;
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
}

/* wallet can shrink before buttons disappear */
.png-wallet-card{
  flex:0 1 360px;
  min-width:250px;
}

/* buttons should never shrink weirdly */
#receiveNavBtn,
#sendNavBtn,
#exitFsBtn,
#logoutBtn{
  flex:0 0 auto;
}

/* large-but-not-fullscreen windows */
@media (max-width:1700px){
  .png-nav-inner{
    gap:8px;
    padding-left:12px;
    padding-right:12px;
  }

  .png-homeBtn{
    margin-left:18px;
    margin-right:4px;
  }

  .png-nav-inner .spacer{
    flex:0 1 28px;
    min-width:8px;
    max-width:40px;
  }

  .png-wallet-card{
    flex-basis:300px;
    width:300px;
    max-width:300px;
    min-width:230px;
  }

  .png-balance{
    flex-basis:200px;
    width:200px;
    min-width:200px;
    margin-right:6px;
  }

  .png-nav-right{
    gap:6px;
  }
}

/* hide wallet earlier so logout stays visible */
@media (max-width:1450px){
  .png-wallet-card{
    display:none !important;
  }

  .png-nav-inner .spacer{
    flex:1 1 14px;
    min-width:8px;
    max-width:70px;
  }
}

/* if very tight, slightly reduce only spacing, not functionality */
@media (max-width:1180px){
  .png-shop-frame{
    gap:4px;
    padding-left:6px;
    padding-right:6px;
  }

  .png-nav-inner{
    gap:6px;
  }

  .png-balance{
    flex-basis:178px;
    width:178px;
    min-width:178px;
    margin-right:2px;
  }

  #receiveNavBtn .nav-btn-img,
  #sendNavBtn .nav-btn-img,
  #exitFsBtn .nav-btn-img,
  #logoutBtn .nav-btn-img{
    height:72px;
  }
}

/* =========================
   SPLIT WALLET / EMAIL BACKGROUNDS
   One bg PNG for address, one bg PNG for email
========================= */

.png-wallet-card{
  background:none !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  padding:0 !important;
  gap:8px !important;
  width:360px;
  max-width:360px;
  min-width:250px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.png-wallet-card .wallet-line{
  width:100%;
  min-width:0;
  min-height:28px;
  padding:5px 12px;
  display:flex;
  align-items:center;
  gap:8px;
  background:url("/assets/NavBar/walletemailbackground.png") center / 100% 100% no-repeat !important;
  border:0 !important;
  border-radius:0 !important;
  box-sizing:border-box;
  overflow:hidden;
}

.png-wallet-card .wallet-line-icon{
  width:18px;
  height:18px;
  flex:0 0 auto;
}

.png-wallet-card .wallet-line .address,
.png-wallet-card .wallet-line .email{
  flex:1 1 auto;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  background:transparent !important;
  border:0 !important;
  padding:0 !important;
}

.png-wallet-card .wallet-line .address{
  font-size:11px;
}

.png-wallet-card .wallet-line .email{
  font-size:11px;
  font-weight:900;
}

/* keep responsive behavior */
@media (max-width:1700px){
  .png-wallet-card{
    width:300px;
    max-width:300px;
    min-width:230px;
  }
}

@media (max-width:1450px){
  .png-wallet-card{
    display:none !important;
  }
}

/* FORCE PHOTOROOM WALLET/EMAIL BACKGROUND */
.png-wallet-card .wallet-line{
  background:url("/assets/NavBar/walletemailbackground-Photoroom.png") center / 100% 100% no-repeat !important;
}

/* =========================
   CLEAN PHOTOROOM WALLET / EMAIL ROWS
   Hide extra HTML icons because the PNG already carries the design.
========================= */

.png-wallet-card{
  width:390px !important;
  max-width:390px !important;
  min-width:390px !important;
  gap:6px !important;
  padding:0 !important;
  background:none !important;
  justify-content:center !important;
}

.png-wallet-card .wallet-line{
  height:30px !important;
  min-height:30px !important;
  width:390px !important;
  padding:0 42px 0 39px !important;
  box-sizing:border-box !important;
  background-image:url("/assets/NavBar/walletemailbackground-Photoroom.png?v=clean-wallet-1") !important;
  background-size:100% 100% !important;
  background-position:center !important;
  background-repeat:no-repeat !important;
  border:0 !important;
  border-radius:0 !important;
  overflow:hidden !important;
}

/* the Photoroom PNG already has the visual icon area */
.png-wallet-card .wallet-line-icon{
  display:none !important;
}

.png-wallet-card .wallet-line .address,
.png-wallet-card .wallet-line .email{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
  padding:0 !important;
  margin:0 !important;
  background:transparent !important;
  border:0 !important;
  line-height:30px !important;
  color:#f4fbff !important;
  text-shadow:0 1px 4px rgba(0,0,0,.9), 0 0 5px rgba(0,255,255,.35) !important;
}

.png-wallet-card .wallet-line .address{
  font-size:11px !important;
  font-weight:800 !important;
}

.png-wallet-card .wallet-line .email{
  font-size:12px !important;
  font-weight:1000 !important;
}

/* keep it responsive */
@media (max-width:1700px){
  .png-wallet-card{
    width:360px !important;
    max-width:360px !important;
    min-width:360px !important;
  }

  .png-wallet-card .wallet-line{
    width:360px !important;
    padding-left:37px !important;
    padding-right:38px !important;
  }
}

@media (max-width:1450px){
  .png-wallet-card{
    display:none !important;
  }
}

/* =========================
   DOUBLE HEIGHT FOR WALLET / EMAIL PNG ROWS
========================= */

.png-wallet-card{
  gap:10px !important;
}

.png-wallet-card .wallet-line{
  height:60px !important;
  min-height:60px !important;
  line-height:60px !important;
  padding:0 42px 0 39px !important;
  background-image:url("/assets/NavBar/walletemailbackground-Photoroom.png?v=walletdoubleheight1") !important;
  background-size:100% 100% !important;
  background-position:center !important;
  background-repeat:no-repeat !important;
}

.png-wallet-card .wallet-line .address,
.png-wallet-card .wallet-line .email{
  line-height:60px !important;
}

.png-wallet-card .wallet-line .address{
  font-size:13px !important;
}

.png-wallet-card .wallet-line .email{
  font-size:14px !important;
}

/* keep same width behavior, just taller */
@media (max-width:1700px){
  .png-wallet-card .wallet-line{
    height:60px !important;
    min-height:60px !important;
    line-height:60px !important;
  }

  .png-wallet-card .wallet-line .address,
  .png-wallet-card .wallet-line .email{
    line-height:60px !important;
  }
}

/* =========================
   WALLET / EMAIL ROWS 80PX HEIGHT
========================= */

.png-wallet-card{
  gap:12px !important;
}

.png-wallet-card .wallet-line{
  height:80px !important;
  min-height:80px !important;
  line-height:80px !important;
  padding:0 52px 0 48px !important;
  background-image:url("/assets/NavBar/walletemailbackground-Photoroom.png?v=wallet80px1") !important;
  background-size:100% 100% !important;
  background-position:center !important;
  background-repeat:no-repeat !important;
}

.png-wallet-card .wallet-line .address,
.png-wallet-card .wallet-line .email{
  line-height:80px !important;
}

.png-wallet-card .wallet-line .address{
  font-size:14px !important;
}

.png-wallet-card .wallet-line .email{
  font-size:15px !important;
}

@media (max-width:1700px){
  .png-wallet-card .wallet-line{
    height:80px !important;
    min-height:80px !important;
    line-height:80px !important;
    padding-left:46px !important;
    padding-right:46px !important;
  }

  .png-wallet-card .wallet-line .address,
  .png-wallet-card .wallet-line .email{
    line-height:80px !important;
  }
}

/* =========================
   WALLET / EMAIL ROW GAP HALF
========================= */

.png-wallet-card{
  gap:6px !important;
}

/* =========================
   WALLET / EMAIL CLOSER WITHOUT SHRINKING
   Keep 80px row PNGs, reduce stack height.
========================= */

.png-nav-inner{
  min-height:124px !important;
  padding-top:8px !important;
  padding-bottom:8px !important;
}

.png-wallet-card{
  gap:0 !important;
  justify-content:center !important;
}

/* Pull email row upward while keeping both PNGs 80px */
.png-wallet-card .email-line{
  margin-top:-48px !important;
}

/* Optional: keep wallet stack from forcing navbar too tall */
.png-wallet-card .wallet-line{
  height:80px !important;
  min-height:80px !important;
  line-height:80px !important;
}

.png-wallet-card .wallet-line .address,
.png-wallet-card .wallet-line .email{
  line-height:80px !important;
}
