/* ============================================================
   GAMINGPAPPSEN'S VALVAKA — V4.9B RIKSDAGEN POLISH
   Bygger ovanpå V4.9 utan att röra live-seat-datan.
   ============================================================ */

.seatsBox{
  overflow:hidden !important;
  isolation:isolate !important;
}

/* Lägg ett rent "golv" ovanpå gamla bakgrundsartefakter men under vår kammare */
.seatsBox::before{
  content:"" !important;
  position:absolute !important;
  left:14px !important;
  right:14px !important;
  top:42px !important;
  bottom:14px !important;
  z-index:6 !important;
  pointer-events:none !important;

  background:
    radial-gradient(circle at 50% 24%, rgba(25,233,255,.05), transparent 0 34%),
    radial-gradient(circle at 50% 92%, rgba(255,225,61,.06), transparent 0 22%),
    linear-gradient(180deg, rgba(4,18,34,.88), rgba(2,8,20,.96)) !important;

  border:1px solid rgba(25,233,255,.08) !important;
  opacity:1 !important;

  clip-path:polygon(
    8px 0,
    calc(100% - 8px) 0,
    100% 8px,
    100% calc(100% - 8px),
    calc(100% - 8px) 100%,
    8px 100%,
    0 calc(100% - 8px),
    0 8px
  ) !important;
}

/* Luftigare legend */
.v49Legend{
  left:22px !important;
  right:22px !important;
  top:46px !important;
  gap:12px !important;
  height:38px !important;
  padding:4px 10px !important;
  background:#03111f !important;
  border-color:rgba(25,233,255,.55) !important;
  box-shadow:
    3px 3px 0 rgba(0,0,0,.60),
    inset 0 0 0 1px rgba(255,255,255,.035) !important;
}

.v49LegendItem{
  gap:5px !important;
}

.v49LegendItem img{
  width:26px !important;
  height:26px !important;
}

.v49LegendItem b{
  font-size:10px !important;
}

/* Metadata ett snäpp upp */
.v49Meta{
  left:26px !important;
  right:26px !important;
  top:90px !important;
  color:#c8dbee !important;
}

/* Dra upp kammaren och låt den fylla panelen bättre */
.seatsBox .seatmap.v49Chamber{
  left:18px !important;
  right:18px !important;
  top:114px !important;
  bottom:14px !important;
}

/* Lite tydligare mittaxel */
.seatsBox .seatmap.v49Chamber::before{
  top:13% !important;
  bottom:11% !important;
  opacity:.72 !important;
}

/* 175-rutan smälter in bättre */
.seatsBox .seatmap.v49Chamber::after{
  bottom:2.8% !important;
  width:86px !important;
  height:24px !important;
  border-width:2px !important;
  box-shadow:
    4px 4px 0 #000,
    inset 0 -4px 0 rgba(255,45,157,.10) !important;
}

/* Frontrail mer integrerad */
.v49FrontRail{
  left:16% !important;
  right:16% !important;
  bottom:9.5% !important;
  height:9px !important;
  border-top-color:rgba(25,233,255,.52) !important;
}

/* Stolarna något större och tydligare glöd, men behåller livefärgerna */
.seatsBox .seatmap.v49Chamber .seat{
  width:11px !important;
  height:11px !important;
  min-width:11px !important;
  min-height:11px !important;
  border:1px solid rgba(0,0,0,.92) !important;
  box-shadow:
    inset 0 -2px 0 rgba(0,0,0,.34),
    1px 1px 0 rgba(0,0,0,.78),
    0 0 6px color-mix(in srgb,currentColor 34%,transparent) !important;
}

/* 9:16 polish */
body[data-pixel-layout="9"] .v49Legend{
  left:20px !important;
  right:20px !important;
  top:58px !important;
  height:48px !important;
  gap:10px !important;
  padding:6px 10px !important;
}

body[data-pixel-layout="9"] .v49LegendItem img{
  width:28px !important;
  height:28px !important;
}

body[data-pixel-layout="9"] .v49LegendItem b{
  font-size:10px !important;
}

body[data-pixel-layout="9"] .v49Meta{
  top:116px !important;
  font-size:10px !important;
}

body[data-pixel-layout="9"] .seatsBox .seatmap.v49Chamber{
  left:20px !important;
  right:20px !important;
  top:140px !important;
  bottom:18px !important;
}

body[data-pixel-layout="9"] .seatsBox .seatmap.v49Chamber .seat{
  width:12px !important;
  height:12px !important;
  min-width:12px !important;
  min-height:12px !important;
}
