/* Pokerando iPhone Fix V18
   Obiettivo: migliorare leggibilità su iPhone di carte avversari, piatto e carte personali. */
@media screen and (max-width:760px){
  /* Carte avversari: più grandi e leggibili */
  #game .table-shell #seats .seat:not(.me) .seat-mini,
  body.pkr-red-v10 #game .table-shell #seats .seat:not(.me) .seat-mini{
    gap:3px!important;
    bottom:calc(100% + 4px)!important;
    z-index:22!important;
    filter:drop-shadow(0 4px 8px rgba(0,0,0,.55))!important;
  }
  #game .table-shell #seats .seat:not(.me) .seat-mini > .poker-card.back,
  body.pkr-red-v10 #game .table-shell #seats .seat:not(.me) .seat-mini > .poker-card.back{
    width:24px!important;
    height:34px!important;
    border-radius:5px!important;
    border-width:1px!important;
  }
  #game .table-shell #seats .seat.showdown-seat:not(.me) .seat-mini > .poker-card:not(.back):not(.empty),
  body.pkr-red-v10 #game .table-shell #seats .seat.showdown-seat:not(.me) .seat-mini > .poker-card:not(.back):not(.empty){
    width:32px!important;
    height:46px!important;
    border-radius:5px!important;
  }
  #game .table-shell #seats .seat.win-seat.showdown-seat:not(.me) .seat-mini > .poker-card:not(.back):not(.empty),
  body.pkr-red-v10 #game .table-shell #seats .seat.win-seat.showdown-seat:not(.me) .seat-mini > .poker-card:not(.back):not(.empty){
    width:35px!important;
    height:50px!important;
  }
  #game .table-shell #seats .seat:not(.me) .seat-mini .readable-corner,
  body.pkr-red-v10 #game .table-shell #seats .seat:not(.me) .seat-mini .readable-corner{
    font-size:8px!important;
  }

  /* Piatto: più evidente e leggibile */
  #game .table-shell .pot-panel,
  body.pkr-red-v10 #game .table-shell .pot-panel{
    top:56%!important;
    left:50%!important;
    transform:translate(-50%,-50%)!important;
    min-width:120px!important;
    max-width:none!important;
    padding:7px 14px!important;
    border-radius:18px!important;
    border:1px solid rgba(255,219,145,.95)!important;
    background:linear-gradient(180deg,#40341f 0%,#1a1a12 48%,#090906 100%)!important;
    box-shadow:0 4px 0 #7e5328,0 10px 22px rgba(0,0,0,.58),0 0 20px rgba(255,197,82,.22)!important;
    z-index:16!important;
  }
  #game .table-shell .pot-panel .pot-label,
  body.pkr-red-v10 #game .table-shell .pot-panel .pot-label{
    display:block!important;
    font-size:12px!important;
    letter-spacing:2px!important;
    line-height:1.1!important;
    margin-bottom:2px!important;
  }
  #game .table-shell .pot-panel strong,
  body.pkr-red-v10 #game .table-shell .pot-panel strong{
    display:block!important;
    font-size:28px!important;
    line-height:1!important;
    letter-spacing:.4px!important;
    color:#fff4dc!important;
    text-shadow:0 2px 4px rgba(0,0,0,.65)!important;
  }
  #game .table-shell .pot-panel strong small,
  body.pkr-red-v10 #game .table-shell .pot-panel strong small{
    font-size:10px!important;
    margin-left:3px!important;
    letter-spacing:1px!important;
    color:#ffe1a3!important;
  }
  #game .table-shell .pot-chips,
  body.pkr-red-v10 #game .table-shell .pot-chips{
    top:48%!important;
    left:50%!important;
    transform:translateX(-50%) scale(.82)!important;
    transform-origin:top center!important;
    z-index:15!important;
    filter:drop-shadow(0 3px 8px rgba(0,0,0,.42))!important;
  }

  /* Le tue carte: più grandi */
  #game #myHand,
  body.pkr-red-v10 #game #myHand{
    min-height:88px!important;
    height:auto!important;
    padding:6px 10px!important;
    gap:10px!important;
    border-radius:12px!important;
  }
  #game #myHand .hand-title,
  body.pkr-red-v10 #game #myHand .hand-title{
    font-size:12px!important;
    line-height:1.15!important;
    max-width:104px!important;
  }
  #game #myHand .hand-title .muted,
  body.pkr-red-v10 #game #myHand .hand-title .muted{
    font-size:9px!important;
    line-height:1.15!important;
  }
  #game #myHand .hero-cards,
  body.pkr-red-v10 #game #myHand .hero-cards{
    gap:6px!important;
  }
  #game #myHand .hero-cards .poker-card,
  #game #myHand .poker-card,
  body.pkr-red-v10 #game #myHand .hero-cards .poker-card,
  body.pkr-red-v10 #game #myHand .poker-card{
    width:54px!important;
    height:78px!important;
    border-radius:7px!important;
    box-shadow:0 4px 10px rgba(0,0,0,.35)!important;
  }
  #game #myHand .hand-info,
  body.pkr-red-v10 #game #myHand .hand-info{
    font-size:12px!important;
    line-height:1.2!important;
    max-width:120px!important;
  }
}

/* iPhone stretti: manteniamo il miglioramento senza rompere il layout */
@media screen and (max-width:390px){
  #game .table-shell #seats .seat:not(.me) .seat-mini > .poker-card.back,
  body.pkr-red-v10 #game .table-shell #seats .seat:not(.me) .seat-mini > .poker-card.back{
    width:22px!important;
    height:31px!important;
  }
  #game .table-shell #seats .seat.showdown-seat:not(.me) .seat-mini > .poker-card:not(.back):not(.empty),
  body.pkr-red-v10 #game .table-shell #seats .seat.showdown-seat:not(.me) .seat-mini > .poker-card:not(.back):not(.empty){
    width:30px!important;
    height:43px!important;
  }
  #game .table-shell #seats .seat.win-seat.showdown-seat:not(.me) .seat-mini > .poker-card:not(.back):not(.empty),
  body.pkr-red-v10 #game .table-shell #seats .seat.win-seat.showdown-seat:not(.me) .seat-mini > .poker-card:not(.back):not(.empty){
    width:32px!important;
    height:46px!important;
  }
  #game .table-shell .pot-panel,
  body.pkr-red-v10 #game .table-shell .pot-panel{
    min-width:110px!important;
    padding:6px 12px!important;
  }
  #game .table-shell .pot-panel strong,
  body.pkr-red-v10 #game .table-shell .pot-panel strong{
    font-size:24px!important;
  }
  #game #myHand .hero-cards .poker-card,
  #game #myHand .poker-card,
  body.pkr-red-v10 #game #myHand .hero-cards .poker-card,
  body.pkr-red-v10 #game #myHand .poker-card{
    width:50px!important;
    height:72px!important;
  }
}
