:root {
  --bg-page: #fff;
  --bg-surface: #fff;
  --bg-soft: #f7fbff;
  --text-main: #0b1220;
  --text-muted: #475569;
  --text-light: #64748b;
  --border-light: #dbe8f4;
  --brand-blue: #00a8f0;
  --brand-blue-deep: #0a7bc8;
  --brand-yellow: #ffd800;
  --brand-red: #f03018;
  --shadow-soft: 0 8px 22px rgba(15, 23, 42, 0.045);
  --shadow-card: 0 10px 26px rgba(15, 23, 42, 0.055);
  --font-sans: 'Pretendard', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg-page); text-size-adjust: 100%; }
body {
  min-width: 320px;
  background: var(--bg-page);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input { border: 0; background: transparent; color: inherit; font: inherit; }
button { cursor: pointer; }
img, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.hp-i { display: inline-block; width: 1.05em; height: 1.05em; flex: 0 0 auto; vertical-align: -0.18em; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, #fff 0%, #fafdff 100%);
  border-bottom: 1px solid rgba(214, 229, 241, 0.9);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.96) inset, 0 8px 22px rgba(15, 23, 42, 0.035);
}
.hp-topbar { min-height: 26px; }
.header-layout {
  display: grid;
  grid-template-columns: 214px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  min-height: 128px;
  padding: 8px 18px 12px;
}
.logo { width: 214px; min-height: 112px; display: flex; align-items: center; justify-content: flex-start; }
.logo img { width: auto; height: 112px; max-width: 204px; filter: drop-shadow(0 6px 12px rgba(0, 72, 144, 0.15)); }
.hp-burger { display: none; }
.header-right { min-width: 0; display: grid; grid-template-rows: 46px 42px; gap: 8px; }
.header-top-row { display: grid; grid-template-columns: minmax(360px, 760px) max-content; align-items: center; justify-content: space-between; gap: 18px; height: 46px; }
.header-search {
  display: flex;
  width: 100%;
  max-width: 760px;
  height: 40px;
  overflow: hidden;
  border: 1px solid rgba(132, 188, 224, 0.66);
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: 0 3px 10px rgba(0, 72, 144, 0.055);
}
.header-search input { min-width: 0; flex: 1 1 auto; height: 100%; padding: 0 18px; color: #1e293b; font-size: 13.5px; font-weight: 750; outline: 0; }
.header-search button {
  min-width: 74px;
  padding: 0 18px;
  border-radius: 0;
  background: #00A8F0;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}
.hp-auth { display: flex; align-items: center; justify-content: flex-end; gap: 8px; height: 40px; min-width: 166px; }
.hp-auth a, .hp-auth button, .hp-auth .hp-auth-user, .hp-auth-notify {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border-radius: var(--radius-sm);
  color: #334155;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}
.hp-auth .hp-auth-cta {
  border: 1px solid rgba(0, 150, 220, 0.6);
  background: #00A8F0;
  color: #fff;
  box-shadow: 0 5px 12px rgba(0, 168, 240, 0.22);
}
.main-nav-inline { align-self: stretch; border-top: 1px solid rgba(220, 235, 245, 0.86); overflow: visible; }
.main-nav-inline .nav-inner { min-height: 42px; display: flex; align-items: center; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.main-nav-inline .nav-inner::-webkit-scrollbar { height: 0; }
.main-nav-inline .nav-item { position: relative; flex: 0 0 auto; }
.main-nav-inline .nav-item > a,
.main-nav-inline .nav-inner > a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 13px 13px 10px;
  border-bottom: 2px solid transparent;
  color: var(--brand-blue-deep);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.1;
  white-space: nowrap;
}
.main-nav-inline a.active { color: var(--brand-blue); border-bottom-color: #30c0f0; }
.nav-sub { display: none; }

.main-content { padding: 44px 0 0; background: linear-gradient(180deg, #fff 0%, #fafdff 100%); }
.page-shell { display: flex; align-items: flex-start; gap: 16px; }
.page-center { flex: 1 1 0%; min-width: 0; display: grid; grid-template-columns: minmax(0, 2.1fr) 300px; gap: 16px; }
.col-main, .col-side { min-width: 0; display: grid; gap: 16px; align-self: start; }
.partner-rail { flex: 0 0 120px; min-width: 0; }
.sticky-rail { position: sticky; top: 148px; display: grid; gap: 10px; }
.rail-partner { display: block; overflow: hidden; border-radius: 8px; box-shadow: var(--shadow-soft); }
.rail-partner img { width: 100%; height: auto; }

.landing-promo-strip {
  position: relative;
  min-height: 172px;
  overflow: hidden;
  border: 1px solid rgba(101, 174, 220, 0.5);
  border-radius: 14px;
  background: #082032;
  box-shadow: 0 10px 24px rgba(0, 72, 144, 0.08);
}
.lps-slide { position: absolute; inset: 0; display: block; opacity: 0; pointer-events: none; transition: opacity .28s ease; }
.lps-slide.is-active { opacity: 1; pointer-events: auto; }
.lps-slide img { width: 100%; height: 100%; object-fit: cover; }
.lps-slide-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3, 15, 28, .86) 0%, rgba(3, 15, 28, .52) 42%, rgba(3, 15, 28, .12) 100%); }
.lps-slide-copy { position: absolute; left: 28px; bottom: 26px; display: grid; gap: 5px; color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .35); }
.lps-slide-copy em { color: var(--brand-yellow); font-size: 13px; font-style: normal; font-weight: 900; letter-spacing: .08em; }
.lps-slide-copy strong { font-size: 30px; font-weight: 900; line-height: 1.08; }
.lps-slide-copy small { color: rgba(255, 255, 255, .9); font-size: 14px; font-weight: 750; }
.lps-banner-actions { position: absolute; left: 28px; bottom: 17px; z-index: 4; display: flex; gap: 7px; align-items: center; }
.lps-banner-actions a { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 12px; border: 1px solid rgba(255,255,255,.42); border-radius: var(--radius-sm); color: #fff; background: rgba(15,23,42,.35); font-weight: 850; font-size: 12px; text-decoration: none; }
.lps-dots { position: absolute; right: 14px; bottom: 13px; z-index: 3; display: flex; gap: 5px; }
.lps-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.5); }
.lps-car-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 999px; background: rgba(15,23,42,.58); color: #fff; font-size: 18px; cursor: pointer; }
.lps-prev { right: 52px; }
.lps-next { right: 14px; }

.ui-block {
  overflow: hidden;
  border: 1px solid rgba(205, 224, 238, 0.92);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.block-head {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(221, 233, 244, 0.86);
  background: linear-gradient(180deg, #f8fcff 0%, #fff 100%);
}
.block-head h3 { display: flex; align-items: center; gap: 7px; color: #07111f; font-size: 15px; font-weight: 900; line-height: 1.1; }
.block-head h3::before, .dir-section .block-head h3::before { display: none !important; content: none !important; }
.block-head::before, .bd-head::before, .bd-page .bd-head::before, .msg-head::before, .nt-head::before, .shop-head::before, .dir-section .block-head::before { display: none !important; content: none !important; }
.block-head .more { margin-left: auto; color: #0b5f92; font-size: 12px; font-weight: 900; }
.top-popular .hp-best-more { display: inline-flex; align-items: center; gap: 3px; min-height: 28px; color: #0A7BC8; font-size: 11px; font-weight: 850; line-height: 1; white-space: nowrap; }
.top-popular .hp-best-more::after { content: "\203A"; font-size: 17px; line-height: 1; }
.block-head.tabs { padding: 0; }
.block-head.tabs button { flex: 1; min-height: 42px; border-bottom: 3px solid transparent; color: #334155; font-size: 14px; font-weight: 900; }
.block-head.tabs button.active { color: #0b5f92; border-bottom-color: #67b6ea; background: #f4fbff; }

.top-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: 16px; }
.top-popular, .top-notice { min-height: 462px; }
.top-popular .ranking-dense, .top-notice .notice-list { min-height: 408px; }
.ranking-dense .ranked, .notice-list li {
  min-height: 46px;
  display: grid;
  grid-template-columns: 34px 58px minmax(0, 1fr) 50px;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border-top: 1px solid rgba(221, 233, 244, .86);
  font-weight: 850;
}
.notice-list li { grid-template-columns: 58px minmax(0, 1fr) 48px; }
.rk-cat, .event-label, .category-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  max-width: 58px;
  height: 24px;
  padding: 0 8px;
  border: 1px solid #8fd0f3;
  border-radius: var(--radius-sm);
  color: #0b73bc;
  background: #effaff;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}
.rk-title, .notice-list strong { min-width: 0; overflow: hidden; color: #07111f; text-overflow: ellipsis; white-space: nowrap; }
.rk-stat, .event-dday { color: #296fd0; font-size: 12px; font-weight: 900; text-align: right; }
.hp-empty-row, .hp-empty-table, .hp-empty-card {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-weight: 850;
  text-align: center;
}
.top-popular .ranking-dense > .hp-empty-row:only-child,
.top-notice .notice-list > .hp-empty-row:only-child { min-height: 408px; }
.operator-pick { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-top: 1px solid rgba(221,233,244,.86); }

.review-card-grid { min-height: 186px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 14px; }
.guide-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dense-list.compact { min-height: 125px; }
.dir-section { min-height: 353px; }
.directory-table { width: 100%; min-height: 310px; border-collapse: collapse; }
.directory-table td { vertical-align: top; }
.bottom-partner-row { height: 146px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.partner-half, .side-partner-card { position: relative; display: block; overflow: hidden; height: 146px; border: 1px solid rgba(205,224,238,.92); border-radius: 11px; background: #06111d; box-shadow: var(--shadow-card); }
.partner-half img, .side-partner-card img { width: 100%; height: 100%; object-fit: cover; }
.partner-tag-mini { position: absolute; right: 10px; top: 9px; display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 24px; padding: 0 7px; border-radius: var(--radius-sm); background: #111827; color: #fff; font-size: 10px; font-weight: 900; }

.col-side .ui-block { width: 100%; }
.info-quick { min-height: 107px; }
.widget-block { min-height: 109px; }
.trending-block { min-height: 156px; }
.attendance-block { min-height: 234px; display: flex; flex-direction: column; }
.hp-card-banner { display: block; overflow: hidden; min-height: 144px; border: 1px solid rgba(205,224,238,.92); border-radius: 12px; background: #fff; box-shadow: var(--shadow-soft); }
.hpcb-card { min-height: 54px; padding: 16px; background: linear-gradient(135deg, #0b5f92 0%, #123b5b 100%); color: #fff; }
.hpcb-body { padding: 13px 15px 15px; }
.side-tools-widget { min-height: 164px; }
.quick-tool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 11px 12px 12px; }
.quick-tool-grid a { min-height: 44px; display: grid; grid-template-columns: 24px minmax(0,1fr); grid-template-rows: auto auto; column-gap: 8px; align-items: center; padding: 8px 9px; border: 1px solid rgba(221,233,244,.88); border-radius: 9px; background: linear-gradient(180deg,#fff 0%,#f8fcff 100%); }
.sticky-sidebar-bottom { height: 146px; margin-top: 0; }
.mobile-ktv-slot { display: none; }

.partner-rail-right .sticky-rail { align-items: start; }
.right-rail-card { display: block; overflow: hidden; border-radius: 8px; box-shadow: var(--shadow-soft); }
.right-rail-card img { width: 100%; height: auto; }
.site-counter-wrap { display: flex; align-items: center; justify-content: center; min-height: 58px; padding: 10px 16px 12px; }
.site-counter-strip { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 7px 16px; width: min(720px,100%); min-height: 34px; padding: 4px 16px; font-size: 13px; color: var(--text-muted); }

.site-footer { margin-top: 42px; border-top: 1px solid rgba(221,233,244,.9); background: #fff; }
.footer-compact { display: grid; grid-template-columns: 300px 1fr; gap: 40px; padding: 16px 16px 14px; }
.footer-logo { width: 150px; height: auto; }
.fc-links { display: contents; }
.fc-col h5 { font-size: 12px; font-weight: 900; color: var(--text-main, #0B1220); margin-bottom: 12px; letter-spacing: .06em; text-transform: uppercase; }
.fc-col a { display: block; margin-top: 8px; color: #475569; font-weight: 750; }
.footer-partner-bar { border-top: 1px solid rgba(221,233,244,.9); padding: 18px 16px; }

@media (max-width: 1280px) {
  .partner-rail { flex-basis: 96px; }
  .page-center { grid-template-columns: minmax(0, 1fr) 280px; }
}

@media (max-width: 980px) {
  .header-layout { grid-template-columns: 170px minmax(0, 1fr); gap: 18px; min-height: 112px; }
  .logo { width: 170px; min-height: 96px; }
  .logo img { height: 94px; max-width: 166px; }
  .header-top-row { grid-template-columns: minmax(0, 1fr); }
  .hp-auth { justify-content: flex-start; min-width: 0; }
  .page-center { grid-template-columns: 1fr; }
  .col-side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .col-side > * { min-width: 0; }
}

@media (max-width: 1180px) {
  .partner-rail { display: none; }
}

.ranking-dense .ranked.hp-empty-row { display: flex; align-items: center; justify-content: center; }

@media (max-width: 760px) {
  .hp-topbar { min-height: 31px; }
  body { font-size: 14.5px; }
  .container { padding: 0 10px; }
  .site-header { position: relative; top: auto; overflow: visible; }
  .header-layout {
    display: grid;
    grid-template-columns: minmax(104px, auto) minmax(0, 1fr) 152px 42px;
    grid-template-areas:
      "logo spacer auth burger"
      "search search search search"
      "nav nav nav nav";
    grid-template-rows: auto auto auto;
    align-items: center;
    gap: 7px 6px;
    min-height: 0;
    padding: 7px 14px 10px;
    overflow: visible;
  }
  .logo { grid-area: logo; justify-self: start; width: auto; min-width: 0; min-height: 0; margin: 0; }
  .logo img { width: auto; height: 70px; max-width: 138px; object-fit: contain; }
  .header-right, .header-top-row { display: contents; width: auto; height: auto; min-width: 0; }
  .header-search {
    grid-area: search;
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    max-width: none;
    min-width: 0;
    height: 38px;
    border-color: rgba(49, 191, 240, 0.86);
    border-radius: var(--radius-sm);
  }
  .header-search input { height: 36px; padding: 0 13px; font-size: 12.5px; line-height: 36px; }
  .header-search button { min-width: 64px; height: 36px; padding: 0 14px; border-radius: 0; font-size: 12px; line-height: 36px; }
  .hp-auth {
    grid-area: auth;
    grid-column: 3;
    grid-row: 1;
    max-width: 152px;
    min-width: 0;
    height: 42px;
    justify-self: end;
    justify-content: flex-end;
    overflow: visible;
  }
  .hp-auth a, .hp-auth button, .hp-auth .hp-auth-user, .hp-auth-notify, .hp-auth-msg {
    min-height: 32px;
    height: 32px;
    padding: 0 8px;
    font-size: 11px;
    line-height: 32px;
  }
  .hp-burger {
    grid-area: burger;
    grid-column: 4;
    grid-row: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
    width: 42px;
    height: 42px;
    margin: 0;
    border: 1px solid rgba(199, 219, 234, 0.96);
    border-radius: 13px;
    color: #0f172a;
    background: #fff;
    box-shadow: var(--shadow-soft);
  }
  .hp-burger svg { width: 22px; height: 22px; }
  .main-nav-inline { grid-area: nav; grid-column: 1 / -1; grid-row: 3; width: 100%; border-top: 0; overflow: hidden; transition: max-height .2s ease; }
  .main-nav-inline:not(.hp-open) { display: block; height: 0; max-height: 0; margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
  .main-nav-inline:not(.hp-open) .nav-inner { display: none; }
  .top-popular { min-height: 240px; height: auto; }
  .top-popular .ranking-dense { min-height: 192px; flex: 0 0 192px; }
  .top-popular .ranking-dense .ranked { min-height: 38px; }
  .top-popular .ranking-dense > .hp-empty-row:only-child { min-height: 192px; }
  .top-notice.top-notice-split,
  .top-notice-split .tn-news,
  .top-notice-split .tn-event,
  .top-notice .notice-list {
    min-height: 0 !important;
    overflow: visible !important;
    overscroll-behavior: auto !important;
    touch-action: pan-y !important;
  }

  .top-notice .news-list,
  .top-notice .event-list {
    overflow: visible !important;
    overscroll-behavior: auto !important;
    touch-action: pan-y !important;
  }

  .top-notice .news-list > .hp-empty-row:only-child {
    min-height: 150px !important;
  }

  .top-notice .event-list > .hp-empty-row:only-child {
    min-height: 76px !important;
  }

  .top-notice .event-list .nl-item {
    min-height: 58px !important;
    padding: 10px 13px !important;
    background: linear-gradient(180deg, #FFFFFF 0%, #FBFDFF 100%) !important;
    border-left: 0 !important;
  }

  .top-notice .event-list .nl-tag.tag-event {
    background: #FFF8DB !important;
    border-color: #F2D46F !important;
    color: #7A4A00 !important;
  }
}

@media (max-width: 390px) {
  .header-layout {
    grid-template-columns: minmax(88px, auto) minmax(0, 1fr) 108px 40px;
    padding-inline: 10px;
  }
  .logo img { height: 62px; max-width: 122px; }
  .hp-auth { max-width: 108px; }
  .hp-burger { width: 40px; height: 40px; }
}

@media (max-width: 820px) {
  html,
  body {
    overflow-x: hidden !important;
  }

  body.hp-nav-open {
    overflow-y: auto !important;
    touch-action: auto !important;
  }

  .top-notice.top-notice-split,
  .top-notice-split .tn-news,
  .top-notice-split .tn-event,
  .top-notice .notice-list,
  .top-notice .news-list,
  .top-notice .event-list {
    overflow: visible !important;
    overscroll-behavior: auto !important;
    touch-action: pan-y !important;
  }

  .top-notice .news-list > .hp-empty-row:only-child,
  .top-notice .event-list > .hp-empty-row:only-child {
    min-height: 84px !important;
  }

  #reviews .review-card-grid,
  #reviews .hp-empty-card,
  .review-card-grid .hp-empty-card {
    min-height: 136px !important;
  }

  #directory.dir-section,
  #directory.dir-section .directory-table {
    min-height: 0 !important;
  }

  #directory.dir-section .hp-empty-table {
    display: flex !important;
    min-height: 118px !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 18px 14px !important;
    text-align: center !important;
    white-space: normal !important;
  }
}

@media (max-width: 820px) {
  html.hp-ui-booting,
  body.hp-ui-booting {
    height: auto !important;
    min-height: 100% !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    touch-action: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  html.hp-ui-ready,
  body.hp-ui-ready {
    height: auto !important;
    min-height: 100% !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    touch-action: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  .hp-boot-overlay {
    position: fixed;
    left: 50%;
    right: auto;
    bottom: max(18px, env(safe-area-inset-bottom));
    z-index: 12000;
    display: block;
    width: auto;
    height: auto;
    padding: 0;
    background: transparent;
    opacity: 1;
    pointer-events: none !important;
    transform: translateX(-50%);
    transition: opacity .24s ease, visibility .24s ease, transform .24s ease;
  }

  html.hp-ui-ready .hp-boot-overlay,
  body.hp-ui-ready .hp-boot-overlay,
  .hp-boot-overlay.is-done {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .hp-boot-card {
    display: grid;
    justify-items: center;
    gap: 8px;
    min-width: 154px;
    padding: 12px 16px 13px;
    border: 0;
    border-radius: 20px;
    background: rgba(255,255,255,0.90);
    box-shadow: 0 14px 34px rgba(15,23,42,0.12);
    color: #0F2740;
    text-align: center;
    backdrop-filter: blur(10px);
  }

  .hp-boot-spinner,
  .hp-boot-palm {
    width: 92px;
    height: 66px;
    border: 0 !important;
    border-radius: 0;
    background: url("palm-loader.svg?v=4") center / contain no-repeat;
    animation: hpBootBob 1.45s ease-in-out infinite;
  }

  .hp-boot-card strong { color: #0F2740; font-size: 14px; font-weight: 950; line-height: 1.1; }
  .hp-boot-card em { color: #60768C; font-size: 11px; font-style: normal; font-weight: 800; line-height: 1.2; }
  @keyframes hpBootBob {
    0%, 100% { transform: translateY(0) scale(0.98); }
    50% { transform: translateY(-4px) scale(1.03); }
  }

  .ui-block .block-head,
  .block-head,
  .dir-section .block-head {
    min-height: 48px !important;
    align-items: center !important;
    padding: 11px 12px 11px 18px !important;
  }

  .block-head::before,
  .dir-section .block-head::before {
    left: 8px !important;
    top: 14px !important;
    transform: none !important;
    width: 4px !important;
    height: 20px !important;
  }

  .block-head h3,
  .dir-section .block-head h3 {
    display: flex !important;
    min-width: 0 !important;
    align-items: center !important;
    gap: 7px !important;
    margin: 0 !important;
    padding-left: 6px !important;
    color: #0F172A !important;
    font-size: 16px !important;
    font-weight: 950 !important;
    line-height: 1.15 !important;
  }

  .block-head h3::before,
  .dir-section .block-head h3::before {
    display: none !important;
    content: none !important;
  }

  .block-head h3 .hp-i,
  .dir-section .block-head h3 .hp-i {
    position: static !important;
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    margin: 0 !important;
    transform: none !important;
    vertical-align: -0.12em !important;
  }

  .block-head.with-tabs h3 {
    grid-column: 1 / -1 !important;
  }

  .block-head.with-tabs .mini-tabs {
    grid-column: 1 / -1 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    padding-left: 6px !important;
  }
}

@media (max-width: 820px) {
  body > .main-nav-inline.hp-mobile-drawer {
    position: fixed !important;
    top: var(--hp-mobile-drawer-top, 132px) !important;
    right: 0 !important;
    left: auto !important;
    width: min(318px, calc(100vw - 54px)) !important;
    max-width: calc(100vw - 54px) !important;
    height: calc(100vh - var(--hp-mobile-drawer-top, 132px) - 12px) !important;
    height: calc(100dvh - var(--hp-mobile-drawer-top, 132px) - max(12px, env(safe-area-inset-bottom))) !important;
    min-height: 0 !important;
    max-height: none !important;
    bottom: auto !important;
    z-index: 9999 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    padding: 18px 18px calc(18px + env(safe-area-inset-bottom)) !important;
    border-left: 1px solid rgba(0, 168, 240, 0.15) !important;
    border-radius: 16px 0 0 16px !important;
    background: #F8FDFF !important;
    box-shadow: -10px 0 30px rgba(15, 23, 42, 0.08) !important;
    transform: translateX(100%) !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  body > .main-nav-inline.hp-mobile-drawer.hp-open {
    display: flex !important;
    transform: translateX(0) !important;
  }

  .drawer-mobile-header {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    margin-bottom: 8px !important;
  }

  .drawer-logo-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .drawer-logo-text {
    color: var(--brand-blue, #00A8F0) !important;
    font-size: 18px !important;
    font-weight: 900 !important;
  }

  .drawer-close-btn {
    display: inline-flex !important;
    width: 44px !important;
    height: 44px !important;
    margin: -8px -12px -8px 0 !important;
    align-items: center !important;
    justify-content: center !important;
    border: 0 !important;
    background: transparent !important;
    color: #5B7488 !important;
    font-size: 26px !important;
    line-height: 1 !important;
  }

  .drawer-user-card {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    padding: 12px !important;
    border: 1px solid rgba(0, 168, 240, 0.1) !important;
    border-radius: 14px !important;
    background: rgba(0, 168, 240, 0.04) !important;
  }

  .drawer-user-info strong {
    display: block !important;
    margin-bottom: 2px !important;
    color: #0F2740 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
  }

  .drawer-user-info p {
    margin: 0 !important;
    color: #5B7488 !important;
    font-size: 10px !important;
    line-height: 1.4 !important;
  }

  .drawer-acct-me {
    display: grid !important;
    grid-template-columns: 36px 1fr !important;
    align-items: center !important;
    gap: 10px !important;
  }

  .drawer-acct-avatar {
    width: 36px !important;
    height: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #64B5F6, #1FA9E8) !important;
    color: #FFFFFF !important;
    font-size: 15px !important;
    font-weight: 900 !important;
  }

  .drawer-acct-avatar img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  .drawer-acct-txt { min-width: 0 !important; }

  .drawer-acct-lvl {
    display: inline-flex !important;
    margin-left: 4px !important;
    padding: 1px 6px !important;
    border-radius: 999px !important;
    background: #EAF3DE !important;
    color: #3B6D11 !important;
    font-size: 9px !important;
    font-weight: 900 !important;
    vertical-align: 1px !important;
  }

  .drawer-acct-gauge span {
    display: block !important;
    height: 5px !important;
    overflow: hidden !important;
    border-radius: 999px !important;
    background: rgba(15, 39, 64, 0.08) !important;
  }

  .drawer-acct-gauge i {
    display: block !important;
    height: 100% !important;
    border-radius: inherit !important;
    background: linear-gradient(90deg, #00A8F0, #6EC6A4) !important;
  }

  .drawer-user-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }

  .drawer-btn {
    display: inline-flex !important;
    height: 32px !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    font-size: 11px !important;
    font-weight: 800 !important;
  }

  .drawer-btn.btn-login {
    background: #00A8F0 !important;
    color: #FFFFFF !important;
  }

  .drawer-btn.btn-signup {
    border: 1px solid rgba(0, 168, 240, 0.15) !important;
    background: #FFFFFF !important;
    color: #5B7488 !important;
  }

  body > .main-nav-inline.hp-mobile-drawer.hp-open .nav-inner {
    display: flex !important;
    flex-direction: column !important;
    gap: 5px !important;
    width: 100% !important;
    min-height: 0 !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  body > .main-nav-inline.hp-mobile-drawer.hp-open .nav-inner::before {
    display: none !important;
    content: none !important;
  }

  body > .main-nav-inline.hp-mobile-drawer.hp-open .nav-item {
    width: 100% !important;
  }

  body > .main-nav-inline.hp-mobile-drawer.hp-open .nav-item.has-sub {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    padding: 10px 12px !important;
    border: 1px solid rgba(0, 168, 240, 0.08) !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.5) !important;
    box-shadow: none !important;
  }

  body > .main-nav-inline.hp-mobile-drawer.hp-open .nav-item.has-sub > a {
    min-height: 0 !important;
    justify-content: flex-start !important;
    padding: 0 4px !important;
    border: 0 !important;
    background: transparent !important;
    color: #0F2740 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
  }

  body > .main-nav-inline.hp-mobile-drawer.hp-open .nav-sub {
    position: static !important;
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  body > .main-nav-inline.hp-mobile-drawer.hp-open .nav-item:not(.has-sub) > a,
  body > .main-nav-inline.hp-mobile-drawer.hp-open .nav-sub a {
    display: flex !important;
    min-height: 34px !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 0 12px !important;
    border: 1px solid rgba(0, 168, 240, 0.06) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.6) !important;
    color: #26364D !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-align: left !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  body > .main-nav-inline.hp-mobile-drawer.hp-open .nav-item:not(.has-sub) > a.active,
  body > .main-nav-inline.hp-mobile-drawer.hp-open .nav-sub .nav-sub-mark {
    border-left: 3px solid #00A8F0 !important;
    border-radius: 0 8px 8px 0 !important;
    background: rgba(0, 168, 240, 0.08) !important;
    color: #00A8F0 !important;
    padding-left: 9px !important;
  }

  .drawer-mobile-footer {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    flex: 0 0 auto !important;
    margin-top: 8px !important;
    padding-top: 18px !important;
    border-top: 1px solid rgba(0, 168, 240, 0.1) !important;
  }

  .drawer-quick-banner a {
    display: block !important;
    padding: 10px 12px !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    border-radius: 12px !important;
    background: #FFFBEB !important;
  }

  .drawer-quick-banner strong {
    display: block !important;
    margin-bottom: 2px !important;
    color: #B38F24 !important;
    font-size: 12.5px !important;
    font-weight: 800 !important;
  }

  .drawer-quick-banner span {
    display: block !important;
    color: #5B7488 !important;
    font-size: 10.5px !important;
  }

  .drawer-sns-row a {
    display: flex !important;
    height: 36px !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 10px !important;
    background: #229ED9 !important;
    color: #FFFFFF !important;
    font-size: 12px !important;
    font-weight: 800 !important;
  }
}
/* Accessible text that remains available to assistive technology. */
.hp-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Mobile density rule: filterable home cards use at most two header rows. */
@media (max-width: 820px) {
  .block-head.with-tabs.hp-compact-filter-head {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-rows: auto auto !important;
    column-gap: 10px !important;
    row-gap: 6px !important;
    min-height: 0 !important;
    padding: 8px 10px 9px 14px !important;
  }

  .block-head.with-tabs.hp-compact-filter-head h3 {
    grid-column: 1 !important;
    grid-row: 1 !important;
    padding-left: 3px !important;
    font-size: 15px !important;
    white-space: nowrap !important;
  }

  .block-head.with-tabs.hp-compact-filter-head > .more {
    grid-column: 2 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 4px 0 !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
  }

  .block-head.with-tabs.hp-compact-filter-head > .mini-tabs {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    display: flex !important;
    width: 100% !important;
    min-width: 0 !important;
    gap: 5px !important;
    padding: 0 2px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    flex-wrap: nowrap !important;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .block-head.with-tabs.hp-compact-filter-head > .mini-tabs::-webkit-scrollbar {
    display: none;
  }

  .block-head.with-tabs.hp-compact-filter-head > .mini-tabs button {
    flex: 0 0 auto !important;
    min-height: 30px !important;
    padding: 0 10px !important;
    border-radius: 8px !important;
    font-size: 11.5px !important;
    white-space: nowrap !important;
  }
}
/* Keep incomplete layouts out of view until the public app has settled. */
html.hp-ui-booting {
  min-height: 100%;
  height: 100%;
  overflow: hidden !important;
  background: #fff;
}

html.hp-ui-booting[data-hp-boot="loading"] {
  height: 100% !important;
  overflow-x: hidden !important;
  overflow-y: hidden !important;
}

html.hp-ui-booting:not(.hp-ui-revealing) body {
  height: 100%;
  overflow: hidden !important;
}

html.hp-ui-booting body::before,
html.hp-ui-booting body::after {
  content: "";
  position: fixed;
  z-index: 2147483000;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.22s ease;
}

html.hp-ui-booting body::before {
  inset: 0;
  background: #fff;
}

html.hp-ui-booting body::after {
  top: 50%;
  left: 50%;
  width: 108px;
  height: 78px;
  background: url("palm-loader.svg?v=4") center / contain no-repeat;
  transform: translate(-50%, -50%);
  animation: hp-first-paint-bob 1.35s ease-in-out infinite;
}

html.hp-ui-booting.hp-ui-revealing body::before,
html.hp-ui-booting.hp-ui-revealing body::after {
  opacity: 0;
  pointer-events: none;
}

html.hp-ui-booting.hp-ui-revealing body,
html.hp-ui-ready body {
  opacity: 1 !important;
  transition: opacity 0.2s ease;
}

@keyframes hp-first-paint-bob {
  0%, 100% { transform: translate(-50%, -50%) translateY(0) rotate(-1deg); }
  50% { transform: translate(-50%, -50%) translateY(-7px) rotate(1deg); }
}

@media (max-width: 820px) {
  html.hp-ui-booting body::after {
    width: 94px;
    height: 68px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.hp-ui-booting body::after {
    animation: none;
  }

  html.hp-ui-booting body::before,
  html.hp-ui-booting body::after,
  html.hp-ui-booting.hp-ui-revealing body,
  html.hp-ui-ready body {
    transition: none;
  }
}
