@import url('./lantern-r10-art.css?v=c6918698e5cd');
/* #30: keep the original title's complete 3:1 shape. */
html body #app .portrait-win__title,
html body #app .lantern-controls329__ls-title,
html body #app .h3-title img {
  object-fit: contain;
  object-position: center;
  aspect-ratio: 3 / 1;
  transform: none;
}

/* Keep the complete native title clear of the original Lobby target. */
@media (orientation:portrait) and (max-width:500px) {
 html body #app .portrait-win .portrait-win__header {
  grid-area:1/1/2/-1 !important; margin:0 !important;
  height:max(102px,calc((100vw - 60px) / 3 + 12px)) !important;
  min-height:max(102px,calc((100vw - 60px) / 3 + 12px)) !important;
  pointer-events:none;
  display:grid; place-items:center;
 }
 html body #app .portrait-win .portrait-win__title {
  width:calc(100% - 60px) !important; height:auto !important;
  max-height:none !important; justify-self:end; align-self:start;
  margin-top:6px; margin-right:6px;
 }
 html body #app .portrait-win .portrait-win__lobby {
  left:0 !important; top:0 !important; transform:none !important; pointer-events:auto;
 }
}
@media (orientation:portrait) {
 html body #app.lantern-feature-visible #featureBanner.kit-banner.kit-banner--compact {
  top:var(--r10-banner-top) !important;
 }
}
@media (orientation:portrait) and (max-width:500px) and (max-height:740px),
       (orientation:portrait) and (max-width:374px) {
 html body #app:not(.lantern-feature-visible) .portrait-win .portrait-win__shell {
  --r10-title-row:calc((100vw - 60px) / 3 + 60px);
  grid-template-columns:repeat(6,minmax(0,1fr));
  grid-template-rows:var(--r10-title-row) 54px minmax(20px,1fr) 64px 48px 52px !important;
 }
 html body #app:not(.lantern-feature-visible) .portrait-win .portrait-win__header { height:var(--r10-title-row) !important; min-height:var(--r10-title-row) !important; }
 html body #app:not(.lantern-feature-visible) .portrait-win [data-action=info] {
  grid-area:1/1/2/2 !important; justify-self:start; align-self:end;
 }
 html body #app:not(.lantern-feature-visible) .portrait-win [data-action=sound] {
  grid-area:1/6/2/7 !important; justify-self:end; align-self:end;
 }
 html body #app:not(.lantern-feature-visible) .portrait-win .portrait-speed-slot348 {
  grid-area:1/5/2/6 !important; justify-self:end; align-self:end;
 }
}
/* During free spins the original feature panel owns a second header row.
   Its empty paid-message row releases that allocation for the live reels. */
@media (orientation:portrait) and (max-width:500px) {
 html body #app.lantern-feature-visible .portrait-win .portrait-win__header {
  height:var(--r10-feature-head) !important; min-height:var(--r10-feature-head) !important;
 }
 html body #app.lantern-feature-visible .portrait-win .portrait-win__title {
  align-self:start; margin-top:6px;
 }
 html body #app.lantern-feature-visible .portrait-win .portrait-win__shell {
  --r10-feature-head:calc((100vw - 60px) / 3 + 186px);
  grid-template-rows:var(--r10-feature-head) auto minmax(20px,1fr) 72px 48px !important;
 }
 html body #app.lantern-feature-visible .portrait-win .portrait-win__paid[hidden] { display:none !important; }
}
@media (orientation:portrait) and (min-width:501px) {
 html body #app.lantern-feature-visible .portrait-win .portrait-win__header {
  height:190px !important; min-height:190px !important;
  justify-items:start;
 }
 html body #app.lantern-feature-visible .portrait-win .portrait-win__title {
  width:calc(100% - 368px) !important; height:auto !important;
  max-height:146px !important; margin-left:54px;
 }
 html body #app.lantern-feature-visible #featureBanner.kit-banner.kit-banner--compact {
  left:var(--r10-banner-left) !important;
 }
}

/* The live board ends before its sibling plate, including its painted frame.
   Reel overlays remain clipped to the board; the original plate stays intact. */
html body #app[data-main-mode=desktop] #board,
html body #app[data-main-mode=landscape] #board {
 top:0 !important; bottom:auto !important; transform:none !important;
 height:calc(100% - 60px) !important;
}
html body #app[data-main-mode=desktop] .h3-lines-label,
html body #app .h3-lines-label[data-z1993-landscape] {
 bottom:2px !important; transform:none !important;
}
/* Retain the bar's uniform art scale, text floors and six-pixel gaps, while
   leaving space for ordinary hit testing at the fractional 1440px boundary. */
@media (min-width:1200px) and (max-width:1599px) and (min-height:501px) {
 html body #app[data-main-mode=desktop] #mainControlsMount .lantern-controls329__desktop {
  --u:min(0.049vw,0.09vh,1.15px);
 }
}
/* Original short-feature placement assigned Lobby and Menu the same box.
   Keep each existing 48px target in its own slot, with six pixels between. */
@media (orientation:landscape) and (max-height:440px) and (min-width:501px) {
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__landscape .kit-rail-icons > :nth-child(1) { left:calc(308px - 100vw + 92px) !important; }
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__landscape .kit-rail-icons > :nth-child(2) { left:calc(308px - 100vw + 146px) !important; }
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__landscape .kit-rail-icons > :nth-child(3) { left:calc(308px - 100vw + 200px) !important; }
 html body #app.lantern-feature-visible #mainControlsMount .lantern-controls329__landscape .kit-rail-icons > :nth-child(4) { left:calc(308px - 100vw + 254px) !important; }
}
@media (orientation: portrait) and (max-width: 500px) {
  html body #app .portrait-win .portrait-win__title {
    width: 100%;
    height: auto;
    max-height: 100%;
    min-height: 0;
  }
}
@media (orientation: portrait) and (max-width: 500px) and (max-height: 740px),
       (orientation: portrait) and (max-width: 374px) {
  /* Only the base-game title's row grows. Existing M3 feature/frame rules win
     unchanged in the bonus; the remaining viewport still belongs to the reels. */
  html body #app:not(.lantern-feature-visible) .portrait-win .portrait-win__shell {
    grid-template-rows: 64px 54px minmax(20px, 1fr) auto auto 70px;
  }
  html body #app:not(.lantern-feature-visible) .portrait-win .portrait-win__header {
    height: 64px;
    min-height: 64px;
  }
}
html body #app .lantern-controls329 .lantern-controls329__ls-title {
  margin: 0;
  height: auto;
  max-height: 100%;
}

/* #30: reserve six pixels below the title without moving the reel frame. */
html body #app[data-main-mode=desktop]:not(.lantern-feature-visible) .h3-title img {
  position: relative;
  top: -6px;
}

/* #30: display the complete title beside the existing lines plate. */
@media (orientation:landscape) and (min-height:320px) and (max-height:500px) and (min-width:568px) and (max-width:1199px) {
 html body #app:not(.lantern-feature-visible) #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-brand {
  aspect-ratio:3 / 1;
 }
 html body #app:not(.lantern-feature-visible) #mainControlsMount .lantern-controls329__landscape .lantern-controls329__ls-title {
  display:block !important;
  visibility:visible !important;
  position:fixed;
  left:182px;
  top:calc(100dvh - 138px);
  width:120px !important;
  height:40px !important;
  max-height:none !important;
  z-index:5;
 }
}
/* #30: keep the tablet title six pixels clear of the following row. */
@media (orientation:portrait) and (min-width:501px) and (max-width:1199px) {
 html body #app:not(.lantern-feature-visible) .portrait-win .portrait-win__title {
  position:relative;
  top:-1px;
 }
}
/* #31: use the existing plate and keep it inside its frame's lower edge.
   The reel overlay owns #board, while this sibling stays above that overlay. */
html body #app[data-main-mode=desktop] .h3-lines-label {
  transform: none;
  bottom: 2px;
  z-index: 4;
  width: max-content;
  max-width: calc(100% - 32px);
  overflow: visible;
  white-space: nowrap;
  line-height: 1.35;
  /* Preserve the current stronger 20px floor and desktop scale. */
  font-size: max(20px, min(1.142858vw, 2.04082vh, 30px)) !important;
  pointer-events: none;
}
@media (orientation: landscape) and (max-width: 1199px) {
  /* Ordered app integration reparents the existing label beside the live board
     and marks it. Its original parent is hidden on these layouts. */
  html body #app .h3-lines-label[data-z1993-landscape] {
    display: block;
    transform: none;
    bottom: 2px;
    left: 8px;
    z-index: 4;
    white-space: nowrap;
    font-size: 20px !important;
    line-height: 1.35;
    pointer-events: none;
    background: var(--plaque-art) center / 100% 100% no-repeat;
    padding: 4px 12px;
  }
}
