/* ALBAM09 V9 single final override: mobile top menu + venue preview rail.
   Loaded after the old V5/V7 files to avoid competing !important declarations. */
@media (max-width:760px) {
  html body.ui-unified-page > .area-wrap,
  html body.ui-unified-page[data-current-page="index"] > .area-wrap{
    margin:0 auto 12px!important;
    padding:0!important;
    overflow:visible!important;
  }
  html body.ui-unified-page > .area-wrap nav.area-list,
  html body.ui-unified-page > .area-wrap nav.area-list > ul {
    overflow:visible!important;
  }
  html body.ui-unified-page > .area-wrap nav.area-list{
    padding:0!important;
    margin:0!important;
  }
  html body.ui-unified-page > .area-wrap nav.area-list > ul,
  html body.ui-unified-page[data-current-page="index"] > .area-wrap nav.area-list > ul {
    display:grid!important;
    grid-template-columns:repeat(6,minmax(0,1fr))!important;
    grid-auto-flow:row!important;
    grid-auto-rows:60px!important;
    gap:5px!important;
    padding:1px 1px 9px!important;
    margin:0!important;
    align-items:stretch!important;
    justify-items:stretch!important;
    box-sizing:border-box!important;
  }
  html body.ui-unified-page > .area-wrap nav.area-list > ul > li,
  html body.ui-unified-page[data-current-page="index"] > .area-wrap nav.area-list > ul > li{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:60px!important;
    min-height:60px!important;
    max-height:60px!important;
    display:block!important;
    padding:0!important;
    margin:0!important;
    box-sizing:border-box!important;
  }
  html body.ui-unified-page > .area-wrap nav.area-list > ul > li > a,
  html body.ui-unified-page > .area-wrap nav.area-list > ul > li[data-page="karaoke2"] > a,
  html body.ui-unified-page > .area-wrap nav.area-list > ul > li[data-page="room"] > a,
  html body.ui-unified-page[data-current-page="index"] > .area-wrap nav.area-list > ul > li > a {
    display:flex!important;
    flex-wrap:wrap!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    height:60px!important;
    min-height:60px!important;
    max-height:60px!important;
    box-sizing:border-box!important;
    padding:5px 2px!important;
    margin:0!important;
    font-size:clamp(11px,3.37vw,13px)!important;
    line-height:1.18!important;
    font-weight:800!important;
    letter-spacing:-.05em!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    word-break:keep-all!important;
    text-align:center!important;
    overflow:hidden!important;
    border-radius:11px!important;
  }
  html body.ui-unified-page > .area-wrap nav.area-list > ul > li[data-page="karaoke2"] > a::after,
  html body.ui-unified-page[data-current-page="index"] > .area-wrap nav.area-list > ul > li[data-page="karaoke2"] > a::after{
    content:none!important;
  }
}
@media (max-width:350px){
  html body.ui-unified-page > .area-wrap nav.area-list > ul,
  html body.ui-unified-page[data-current-page="index"] > .area-wrap nav.area-list > ul{
    column-gap:3px!important;row-gap:5px!important;
  }
}
/* An animated, tappable two-venue strip with the upcoming venue peeking in from the right. */
html body[data-current-page="index"] main section[list] > div[wrapper] > ul.rotating-list-container[data-region-preview] > li[data-preview-item]{
  display:block!important;
  overflow:hidden!important;
  text-align:left!important;
  padding:0!important;
  height:42px!important;
  min-height:42px!important;
  max-height:42px!important;
  bottom:13px!important;
  position:absolute!important;
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
  border-radius:12px!important;
}
html body[data-current-page="index"] .ab09-venue-rail{
  width:100%;height:100%;display:flex;gap:8px;align-items:stretch;
  transform:translate3d(0,0,0);transition:none;
  will-change:transform;
}
html body[data-current-page="index"] .ab09-venue-rail.is-sliding{
  transform:translate3d(calc(-67% - 8px),0,0);
  transition:transform 660ms cubic-bezier(.24,.8,.22,1);
}
html body[data-current-page="index"] main section[list] > div[wrapper] > ul[data-region-preview] > li[data-preview-item] .ab09-venue-rail > a{
  display:flex!important;flex:0 0 67%!important;min-width:0!important;
  width:67%!important;max-width:67%!important;height:100%!important;
  min-height:0!important;max-height:none!important;box-sizing:border-box!important;
  justify-content:center!important;align-items:center!important;
  padding:6px!important;margin:0!important;
  background:linear-gradient(145deg,#ffffff,#f7f0fa)!important;
  border:1px solid rgba(177,116,190,.2)!important;
  border-radius:11px!important;
  box-shadow:inset 0 1px 0 #fff,0 3px 6px rgba(79,38,95,.07)!important;
  color:#7434ac!important;text-decoration:none!important;
  font-size:clamp(12px,1.1vw,14px)!important;font-weight:800!important;
  white-space:nowrap!important;overflow:hidden!important;
  pointer-events:auto!important;touch-action:manipulation!important;
}
html body[data-current-page="index"] .ab09-venue-rail > a > span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body[data-current-page="index"] .ab09-venue-rail > a:focus-visible{outline:2px solid #7c3abb!important;outline-offset:-2px}
@media(max-width:640px){
 html body[data-current-page="index"] main section[list] > div[wrapper] > ul.rotating-list-container[data-region-preview] > li[data-preview-item]{
  bottom:10px!important;height:35px!important;min-height:35px!important;max-height:35px!important;
  left:7px!important;right:7px!important;
 }
 html body[data-current-page="index"] main section[list] > div[wrapper] > ul[data-region-preview] > li[data-preview-item] .ab09-venue-rail > a{font-size:12px!important;}
}
@media(prefers-reduced-motion:reduce){html body[data-current-page="index"] .ab09-venue-rail{transition:none!important;will-change:auto!important}}
/* Keep the long second label to two lines within the same 6-column cell. */
@media(max-width:760px){
 html body.ui-unified-page > .area-wrap nav.area-list > ul > li[data-page="karaoke2"] > a,
 html body.ui-unified-page[data-current-page="index"] > .area-wrap nav.area-list > ul > li[data-page="karaoke2"] > a{font-size:0!important;letter-spacing:0!important;}
 html body.ui-unified-page > .area-wrap nav.area-list > ul > li[data-page="karaoke2"] > a::after,
 html body.ui-unified-page[data-current-page="index"] > .area-wrap nav.area-list > ul > li[data-page="karaoke2"] > a::after{
  content:"광천동\A서구권"!important;
  display:block!important;white-space:pre-line!important;
  font-size:clamp(11px,3.37vw,13px)!important;
  font-weight:800!important;line-height:1.18!important;letter-spacing:-.05em!important;
 }
}

/* The upcoming venue label is partially readable before it slides into view. */
html body[data-current-page="index"] main section[list] > div[wrapper] > ul[data-region-preview] > li[data-preview-item] .ab09-venue-rail > a:nth-child(2){justify-content:flex-start!important;padding-left:8px!important}
