/* White + sky blue. Load after mc-refresh.css. Requires the new markup.
   Old marquee CSS may be removed; these scoped rules override its ID/mobile hiding. */
body #theme_marquee_wrap.mc-theme-section {
  display:block!important;position:relative;overflow:visible;
  width:min(calc(100% - 40px),1200px);max-width:1200px;margin:38px auto 0;
  padding:0!important;border:0!important;border-radius:0!important;
  background:#fff!important;box-shadow:none!important;color:#2f3438;
}
body .mc-theme-heading {display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px;}
body .mc-theme-heading h2 {margin:0;color:#2f3438;font-size:26px;font-weight:800;line-height:1.4;letter-spacing:-.04em;}
body .mc-theme-heading p {margin:7px 0 0;color:#828c94;font-size:15px;line-height:1.5;letter-spacing:-.02em;}
body .mc-theme-controls {display:flex;flex:none;align-items:center;gap:8px;}
body .mc-theme-controls button {display:inline-flex;align-items:center;justify-content:center;height:44px;margin:0;padding:0;border:1px solid #eaedef;border-radius:8px;background:#fff;color:#2f3438;cursor:pointer;}
body .mc-theme-controls .mc-theme-all {padding:0 12px;margin-right:4px;font-size:14px;font-weight:700;}
body .mc-theme-controls .mc-theme-prev,body .mc-theme-controls .mc-theme-next {width:44px;font-size:27px;font-weight:400;line-height:1;}
body .mc-theme-controls button:hover {border-color:#35c5f0;background:#f2fbfe;color:#35c5f0;}
body .mc-theme-controls button:disabled {border-color:#eaedef;background:#fff;color:#dadfe2;cursor:default;opacity:1;}
body .mc-theme-controls .swiper-button-lock {display:none;}
body .mc-theme-viewport {width:100%;overflow:hidden;padding:4px 0 8px;touch-action:pan-y;}
body .mc-theme-viewport .swiper-wrapper {align-items:stretch;animation:none;}
body .mc-theme-viewport .swiper-slide {flex-shrink:0;width:110px;height:auto;}
body .mc-theme-viewport {scrollbar-width:none;-ms-overflow-style:none;}
body .mc-theme-viewport::-webkit-scrollbar {display:none;}
body .mc-theme-viewport:not(.swiper-initialized) {overflow-x:auto;}
body .mc-theme-viewport:not(.swiper-initialized) .swiper-wrapper {gap:24px;}
body .mc-theme-card {display:flex;align-items:center;flex-direction:column;gap:12px;min-height:112px;padding:3px 0 4px;color:#2f3438;text-decoration:none;box-sizing:border-box;-webkit-user-drag:none;user-select:none;}
body .mc-theme-card__icon {display:flex;align-items:center;justify-content:center;width:64px;height:64px;border:1px solid #f0f2f4;border-radius:12px;background:#f7f9fa;font-size:31px;line-height:1;transition:background-color .18s,border-color .18s,transform .18s;}
body .mc-theme-card__label {display:block;max-width:100%;color:#2f3438;font-size:14px;font-weight:600;line-height:1.5;letter-spacing:-.04em;text-align:center;white-space:nowrap;}
body .mc-theme-card:hover .mc-theme-card__icon,body .mc-theme-card:focus-visible .mc-theme-card__icon {border-color:#bceaf8;background:#edfaff;transform:translateY(-2px);}
body .mc-theme-card:hover .mc-theme-card__label {color:#22b8e5;}
body .mc-theme-viewport:focus-visible,body .mc-theme-card:focus-visible,body .mc-theme-controls button:focus-visible {outline:2px solid #35c5f0;outline-offset:3px;}
@media(max-width:767px) {
  body #theme_marquee_wrap.mc-theme-section {width:calc(100% - 32px);margin:28px auto 0;}
  body .mc-theme-heading {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;margin-bottom:14px;}
  body .mc-theme-heading>div:first-child {display:contents;}
  body .mc-theme-heading h2 {font-size:22px;}
  body .mc-theme-heading p {grid-column:1/-1;grid-row:2;font-size:13px;max-width:none;margin-top:0;}
  body .mc-theme-controls {grid-column:2;grid-row:1;gap:6px;}
  body .mc-theme-controls button {height:32px;}
  body .mc-theme-controls .mc-theme-all {padding:0 4px;margin-right:0;border:0;border-radius:0;background:transparent;color:#828c94;font-size:13px;font-weight:600;}
  body .mc-theme-controls .mc-theme-prev,body .mc-theme-controls .mc-theme-next {display:none!important;}
  body .mc-theme-viewport .swiper-slide {width:72px;}
  body .mc-theme-viewport:not(.swiper-initialized) .swiper-wrapper {gap:8px;}
  body .mc-theme-card {gap:8px;min-height:86px;}
  body .mc-theme-card__icon {width:52px;height:52px;border-radius:12px;font-size:26px;}
  body .mc-theme-card__label {font-size:12px;}
}
@media(prefers-reduced-motion:reduce) {
  body .mc-theme-card__icon {transition:none;}
}

/* Home advertising tiers: fixed columns preserve each tier's visual weight.
   A lone real record keeps its slot; records, filters and display states stay intact. */
body .mc-home-tier {
  margin:56px 0 0!important;padding:0!important;
}
body .mc-home-tier>.main_lat_hd {
  width:min(calc(100% - 64px),1200px)!important;
  margin:0 auto 24px!important;padding:0!important;
}
body .mc-home-tier .premium_pc_wrapper,
body .mc-home-tier .gold_pc_wrapper {
  width:min(calc(100% - 64px),1200px)!important;
  margin:0 auto!important;padding:0!important;
}
body .mc-home-tier .p_list,
body .mc-home-tier .g_list {
  display:grid!important;align-items:stretch;
  margin:0!important;padding:0!important;list-style:none;
  gap:28px!important;
}
body .mc-home-tier .p_list {grid-template-columns:repeat(2,minmax(0,1fr))!important;}
body .mc-home-tier .g_list {grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:20px!important;}
body .mc-home-tier .p_list>li,
body .mc-home-tier .g_list>li {
  width:auto!important;min-width:0;height:auto!important;padding:0!important;
  /* No display override: existing more/less and hidden records keep working. */
}
body .mc-home-tier .p_item_box,
body .mc-home-tier .g_item_box {
  display:flex;flex-direction:column;width:100%;height:100%;overflow:hidden;
  margin:0;padding:0;border:1px solid #eaedef!important;border-radius:12px!important;
  background:#fff!important;box-shadow:none!important;
}
body .mc-home-tier .p_inner_content,
body .mc-home-tier .g_inner_content {
  display:flex!important;flex-direction:column;flex:1 1 auto;
  width:100%;height:auto!important;min-height:0!important;border-radius:11px!important;
  background:#fff!important;
}
body .mc-home-tier .p_card_link,
body .mc-home-tier .p_card_inner,
body .mc-home-tier .g_inner_content>a {
  display:flex!important;flex-direction:column;flex:1 1 auto;
  width:100%;height:auto!important;min-height:0!important;min-width:0;
}
body .mc-home-tier .p_img_area,
body .mc-home-tier .g_img_area {
  position:relative;flex:0 0 auto!important;grid-area:auto;
  width:100%;height:auto!important;min-height:0!important;max-height:none;
  overflow:hidden;background:#f2f4f5;
}
body .mc-home-tier .p_img_area {aspect-ratio:16/10;}
body .mc-home-tier .g_img_area {aspect-ratio:4/3;}
body .mc-home-tier .p_slide_mask {position:absolute;inset:0;width:100%;height:100%;}
body .mc-home-tier .p_img_area img,
body .mc-home-tier .p_slide img,
body .mc-home-tier .g_img_area>img {
  display:block;width:100%;height:100%!important;min-height:0!important;
  object-fit:cover;object-position:center;
}
body .mc-home-tier .p_text_area,
body .mc-home-tier .g_text_area {
  display:flex;flex-direction:column;flex:1 1 auto;grid-area:auto;
  min-width:0;min-height:0!important;background:#fff!important;color:#2f3438!important;
}
body .mc-home-tier .p_text_area {padding:22px 24px 24px!important;}
body .mc-home-tier .g_text_area {padding:16px 16px 18px!important;}
body .mc-home-tier .p_text_top {flex:1 1 auto;}
body .mc-home-tier .p_label_wrap {gap:10px;margin:0 0 12px;}
body .mc-home-tier .p_label_tag {font-size:13px!important;line-height:1.5;}
body .mc-home-tier .p_wish {font-size:13px!important;color:#828c94!important;}
body .mc-home-tier .shop-choice-badge-row--premium {min-height:0;margin:0 0 10px;}
body .mc-home-tier .shop-choice-badge-row--premium:empty {margin:0;}
body .mc-home-tier .p_title {
  margin:0 0 8px;font-size:23px!important;font-weight:800!important;
  line-height:1.4!important;white-space:normal;overflow-wrap:anywhere;
}
body .mc-home-tier .p_location {
  margin:0 0 14px;font-size:15px!important;line-height:1.6!important;
  color:#828c94!important;
}
body .mc-home-tier .p_tag_list {flex-wrap:wrap;gap:7px;margin:0;overflow:visible;}
body .mc-home-tier .p_tag_item {
  padding:4px 8px;font-size:13px!important;line-height:1.5;
  color:#58636b!important;background:#f7f9fa!important;border-color:#eaedef!important;
}
body .mc-home-tier .p_footer_row {
  margin-top:18px;padding-top:16px;border-color:#eaedef!important;
}
body .mc-home-tier .p_price_box {
  display:flex;align-items:flex-end;justify-content:space-between;gap:12px;
  width:100%;max-width:none;padding:0;border:0;background:transparent!important;
}
body .mc-home-tier .p_price_info {display:flex;flex-wrap:wrap;align-items:center;gap:8px;}
body .mc-home-tier .p_amount_original {font-size:13px;line-height:1.4;}
body .mc-home-tier .p_per {font-size:15px!important;line-height:1.4;color:#35c5f0!important;}
body .mc-home-tier .p_amt {font-size:25px!important;line-height:1.2!important;color:#2f3438!important;white-space:nowrap;}
body .mc-home-tier .p_tag {top:16px;left:16px;font-size:12px;line-height:1.4;}
body .mc-home-tier .g_tag {top:12px;left:12px;font-size:11px;line-height:1.4;}
body .mc-home-tier .g_info_top {
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  margin:0 0 10px;font-size:13px!important;line-height:1.5;color:#828c94;
}
body .mc-home-tier .g_cate {min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
body .mc-home-tier .g_wish {flex:0 0 auto;font-size:12px!important;}
body .mc-home-tier .g_title {
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;
  min-height:2.9em;margin:0 0 8px;overflow:hidden;white-space:normal;
  font-size:18px!important;font-weight:700!important;line-height:1.45!important;overflow-wrap:anywhere;
}
body .mc-home-tier .g_location {
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;
  min-height:3.1em;margin:0 0 16px;overflow:hidden;white-space:normal;
  font-size:14px!important;line-height:1.55!important;color:#828c94!important;
}
body .mc-home-tier .g_price_box {
  display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:6px 8px;
  margin-top:auto;padding-top:12px;border-color:#eaedef!important;
}
body .mc-home-tier .g_per {font-size:14px!important;line-height:1.4;color:#35c5f0!important;}
body .mc-home-tier .g_amt {margin-left:auto;font-size:21px!important;line-height:1.25!important;color:#2f3438!important;white-space:nowrap;}
body .mc-home-tier>.item_more {margin:24px auto 0!important;padding:0!important;}
body .mc-home-tier>.item_more .main_more_btn {height:44px;min-width:140px;border-radius:8px!important;font-size:14px!important;}
@media(max-width:1023px) {
  body .mc-home-tier .p_list,
  body .mc-home-tier .g_list {grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:22px!important;}
}
@media(max-width:767px) {
  body .mc-home-tier {margin-top:36px!important;}
  body .mc-home-tier>.main_lat_hd {
    width:calc(100% - 32px)!important;margin:0 auto 20px!important;
  }
  body .mc-home-tier .premium_pc_wrapper,
  body .mc-home-tier .gold_pc_wrapper {width:calc(100% - 32px)!important;}
  body .mc-home-tier .p_list {grid-template-columns:minmax(0,1fr)!important;gap:20px!important;}
  body .mc-home-tier .g_list {grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px 14px!important;}
  body .mc-home-tier .p_text_area {padding:18px 18px 20px!important;}
  body .mc-home-tier .p_title {font-size:21px!important;}
  body .mc-home-tier .p_location {font-size:14px!important;}
  body .mc-home-tier .p_tag_item {font-size:12px!important;}
  body .mc-home-tier .p_amt {font-size:23px!important;}
  body .mc-home-tier .p_price_info {gap:5px;}
  body .mc-home-tier .p_per {font-size:14px!important;}
  body .mc-home-tier .p_amount_original {font-size:12px;}
  body .mc-home-tier .g_text_area {padding:12px 12px 14px!important;}
  body .mc-home-tier .g_info_top {gap:4px;margin-bottom:8px;font-size:12px!important;}
  body .mc-home-tier .g_wish {font-size:11px!important;}
  body .mc-home-tier .g_title {font-size:16px!important;margin-bottom:7px;}
  body .mc-home-tier .g_location {font-size:13px!important;margin-bottom:12px;}
  body .mc-home-tier .g_price_box {gap:5px;padding-top:10px;}
  body .mc-home-tier .g_per {font-size:13px!important;}
  body .mc-home-tier .g_amt {font-size:18px!important;}
  body .mc-home-tier .g_tag {top:9px;left:9px;font-size:10px;padding:4px 6px;}
  body .mc-home-tier .mc_mobile_contact_actions {gap:6px;padding:0 12px 12px;}
  body .mc-home-tier .mc_mobile_contact_actions a {height:42px;line-height:40px;font-size:13px!important;}
  body .mc-home-tier>.item_more {margin-top:20px!important;}
}
@media(max-width:379px) {
  /* At 326/360px, a two-column gold card cannot fit price and contact labels comfortably. */
  body .mc-home-tier .g_list {grid-template-columns:minmax(0,1fr)!important;}
  body .mc-home-tier .g_text_area {padding:16px!important;}
  body .mc-home-tier .g_title {min-height:0;font-size:18px!important;}
  body .mc-home-tier .g_location {min-height:0;font-size:14px!important;}
  body .mc-home-tier .g_amt {font-size:21px!important;}
  body .mc-home-tier .g_info_top {font-size:13px!important;}
}

/* Keep the silver thumbnail row compact while giving its text room to breathe. */
@media(max-width:767px) {
  body .silver_pc_wrapper .s_list>li {padding-bottom:16px!important;}
  body .silver_pc_wrapper .s_line_right {
    display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;
    min-width:0;gap:7px;
  }
  body .silver_pc_wrapper .s_info_top {align-items:center;gap:8px;min-height:22px;}
  body .silver_pc_wrapper .s_meta_group {flex:1 1 auto;min-width:0;}
  body .silver_pc_wrapper .s_cate {
    display:block;max-width:100%;overflow:hidden;padding:3px 6px;
    font-size:12px;line-height:1.4;white-space:nowrap;text-overflow:ellipsis;
  }
  body .silver_pc_wrapper .s_wish {flex:0 0 auto;font-size:12px;white-space:nowrap;}
  body .silver_pc_wrapper .s_main_info {display:flex;flex-direction:column;min-width:0;gap:5px;}
  body .silver_pc_wrapper .s_title {margin:0;line-height:1.4!important;}
  body .silver_pc_wrapper .s_location {min-height:0;margin:0;line-height:1.5!important;}
  body .silver_pc_wrapper .s_price_box {
    flex-direction:row;flex-wrap:wrap;align-items:baseline;justify-content:flex-start;
    width:100%;min-width:0;gap:4px 10px;margin:1px 0 0;padding:8px 0 0;
    border-top:1px solid #eaedef;border-left:0;
  }
  body .silver_pc_wrapper .s_per {flex:0 0 auto;font-size:13px!important;line-height:1.4;white-space:nowrap;}
  body .silver_pc_wrapper .s_amt {
    flex:0 0 auto;max-width:100%;margin-left:auto;
    font-size:21px!important;line-height:1.25!important;white-space:nowrap;
  }
}
@media(max-width:379px) {
  body .silver_pc_wrapper .s_amt {font-size:20px!important;}
}

/* Map result cards: one fixed photo ratio and an inset for both columns. */
@media(max-width:767px) {
  body #gps_map #bo_attend tr:not(.map_empty_row) {
    grid-template-columns:104px minmax(0,1fr);align-items:center;
    gap:12px;padding:14px;margin:0 0 12px;
  }
  body #gps_map #bo_attend .shop_img {align-self:center;min-width:0;}
  body #gps_map #bo_attend .shop_img a {
    width:104px;height:104px;min-height:0;aspect-ratio:1;
    overflow:hidden;border-radius:10px;
  }
  body #gps_map #bo_attend .shop_img img {
    width:100%;height:100%!important;object-fit:cover;object-position:center;
  }
  body #gps_map #bo_attend .shop_attend {
    display:flex;flex-direction:column;min-width:0;align-self:stretch;
  }
  body #gps_map .shop_attend .shop_data1 {
    display:flex;align-items:flex-start;gap:8px;min-height:28px;
    padding-right:0;line-height:1.4;white-space:normal;
  }
  body #gps_map .shop_attend .shop_data1>a {
    flex:1 1 auto;min-width:0;white-space:normal;overflow-wrap:anywhere;
    display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
  }
  body #gps_map .shop_attend .shop_data1 .map_local_btn {
    position:static;flex:0 0 auto;margin:0;min-height:28px;
  }
  body #gps_map .mt_price {gap:4px 8px;}
}
