/* BujaSaju v7. Replace the previous home-mobile.css; load after shared themes.
   The shared shell already supplies its 52px spacer. Do not add another.
   One intentional cross-component rule moves #supportFloat on this home only. */
.hv5, .hv5-sticky {
  --hv5-ink: #16244a;
  --hv5-muted: #586279;
  --hv5-purple: #7c5cf0;
  --hv5-line: #e5e7ee;
  box-sizing: border-box;
  font-family: "Noto Sans KR", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--hv5-ink);
  font-size: 16px;
  line-height: 1.6;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: auto;
  text-align: start;
  -webkit-text-size-adjust: 100%;
}
.hv5 { display: block; width: 100%; min-width: 0; max-width: none; margin: 0; padding: 0; background: #fcfbf8; isolation: isolate; }
.hv5 *, .hv5 *::before, .hv5 *::after, .hv5-sticky *, .hv5-sticky *::before, .hv5-sticky *::after { box-sizing: border-box; }
.hv5 :where(h1,h2,h3,p,ul,ol) { margin: 0; padding: 0; }
.hv5 :where(ul,ol) { list-style: none; }
.hv5 :where(h1,h2,h3) { font-family: inherit; color: inherit; font-weight: 700; }
.hv5 :where(a), .hv5-sticky a { color: inherit; text-decoration: none; touch-action: manipulation; -webkit-tap-highlight-color: #7c5cf022; }
.hv5 img { display: block; max-width: 100%; }
.hv5 :where(a:focus-visible), .hv5-sticky a:focus-visible { outline: 3px solid #2f6bff; outline-offset: 4px; }
.hv5:lang(ko), .hv5:lang(ja), .hv5:lang(zh), .hv5-sticky:lang(ko), .hv5-sticky:lang(ja), .hv5-sticky:lang(zh) { word-break: keep-all; hyphens: none; }
.hv5 .hv5-container { width: 100%; max-width: 1240px; margin-inline: auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.hv5 .hv5-section { padding-block: 30px; scroll-margin-top: 68px; }
.hv5 .hv5-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.hv5 h2 { font-size: 23px; line-height: 1.35; letter-spacing: -.045em; }
.hv5 h3 { font-size: 16px; line-height: 1.45; letter-spacing: -.025em; }
.hv5 .hv5-section-symbol { color: #7c5cf0; font-size: 26px; }
/* Hero: a compact welcome panel, without a second navigation spacer. */
.hv5 .hv5-hero { margin: 0; padding: 14px 0 0; background: none; min-height: 0; }
.hv5 .hv5-hero-panel { display: grid; grid-template-columns: minmax(0,1fr) 90px; gap: 16px 8px; position: relative; padding: 24px 20px 20px; border: 1px solid #e0e7ef; border-radius: 28px; background: radial-gradient(ellipse at 100% 0%, #d4eaff, transparent 65%), linear-gradient(145deg,#f3eeff,#edf7ff 78%,#f9fcff); }
.hv5 .hv5-hero-heading { min-width: 0; position: relative; z-index: 1; }
.hv5 .hv5-badge { margin-bottom: 12px; color: #57627c; font-size: 11px; font-weight: 700; letter-spacing: .025em; }
.hv5 h1 { font-size: clamp(27px,7.2vw,32px); font-weight: 700; line-height: 1.3; letter-spacing: -.055em; text-wrap: pretty; }
.hv5 h1 em { color: #6948cf; font-style: normal; }
.hv5 .hv5-hero-art { position: relative; align-self: center; display: grid; place-items: center; min-width: 0; }
.hv5 .hv5-hero-art > img { position: relative; z-index: 1; width: 100%; height: auto; aspect-ratio: 682 / 912; object-fit: contain; transform: rotate(6deg); }
.hv5 .hv5-orbit { position: absolute; width: 110%; aspect-ratio: 1; border: 1px solid #fff; border-radius: 50%; background: #ffffff88; box-shadow: 0 12px 28px #6179b21a; }
.hv5 .hv5-hero-body { grid-column: 1 / -1; min-width: 0; }
.hv5 .hv5-lead { color: #526078; font-size: 13px; line-height: 1.8; }
.hv5 .hv5-actions { display: grid; gap: 10px; margin-top: 20px; }
.hv5 .hv5-button, .hv5-sticky .hv5-button { display: flex; justify-content: center; align-items: center; gap: 10px; min-width: 0; min-height: 52px; padding: 13px 16px; border: 1px solid transparent; border-radius: 15px; font-size: 15px; line-height: 1.5; font-weight: 700; text-align: center; transition: transform .18s ease, box-shadow .18s ease; }
.hv5 .hv5-button > span { flex: 0 0 auto; font-size: 20px; }
.hv5 .hv5-button-primary, .hv5-sticky .hv5-button-primary { color: #16244a; background: linear-gradient(115deg,#ffd84d,#f6b414); border-color: #eeb829; box-shadow: 0 3px 0 #d99300; }
.hv5 .hv5-button-secondary, .hv5-sticky .hv5-button-secondary { color: #16244a; background: #fff; border-color: #dce2ec; }
.hv5 .hv5-button:active, .hv5-sticky .hv5-button:active { transform: translateY(2px); }
.hv5 .hv5-proof { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; padding: 16px 0 0; color: #5b657c; font-size: 11px; line-height: 1.7; }
.hv5 .hv5-proof li::before { content: "✓"; color: #6d57b1; margin-right: 4px; }
/* Free fortunes: one clear starting point, followed by compact choices. */
.hv5 .hv5-free-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.hv5 .hv5-free-item { min-width: 0; }
.hv5 .hv5-free-card { position: relative; display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 18px 16px; border: 1px solid #e6e7ed; border-radius: 22px; background: #fff; }
.hv5 .hv5-icon { flex: 0 0 44px; width: 44px; height: 44px; object-fit: contain; }
.hv5 .hv5-card-copy { min-width: 0; }
.hv5 .hv5-card-copy p { margin-top: 5px; color: #657087; font-size: 12px; line-height: 1.65; }
.hv5 .hv5-card-arrow { position: absolute; top: 17px; right: 16px; color: #7a8194; font-size: 18px; }
.hv5 .hv5-feature { grid-column: 1 / -1; }
.hv5 .hv5-feature .hv5-free-card { display: grid; grid-template-columns: 44px minmax(0,1fr) 80px; align-items: center; gap: 12px; min-height: 142px; color: #fff; background: #202c52; border-color: #202c52; }
.hv5 .hv5-feature h3 { font-size: 20px; }
.hv5 .hv5-feature p { color: #d0d8ef; font-size: 13px; }
.hv5 .hv5-feature .hv5-card-arrow { color: #dad2ff; top: 12px; right: 14px; }
.hv5 .hv5-tarot-pig { width: 80px; height: 100px; object-fit: contain; }
.hv5 .hv5-free-item:last-child { grid-column: 1 / -1; }
.hv5 .hv5-free-item:last-child .hv5-free-card { flex-direction: row; align-items: center; padding-right: 40px; background: #f1edfa; border-color: #e4ddef; }
/* Deep services: illustrated pair, then a tidy list. */
.hv5 .hv5-deep { background: #f3f2ef; }
.hv5 .hv5-service-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.hv5 .hv5-service-item { grid-column: 1 / -1; min-width: 0; }
.hv5 .hv5-service { position: relative; display: flex; align-items: center; gap: 14px; height: 100%; min-height: 90px; padding: 17px; border: 1px solid #e7e7e9; border-radius: 20px; background: #fff; }
.hv5 .hv5-service-copy { flex: 1; min-width: 0; }
.hv5 .hv5-service-copy p { margin-top: 4px; color: #626c81; font-size: 13px; line-height: 1.65; }
.hv5 .hv5-service-arrow { flex: 0 0 auto; color: #707d98; font-size: 18px; }
.hv5 .hv5-line-icon { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 10px; border-radius: 14px; background: #ece7fa; color: #7154b7; }
.hv5 .hv5-line-icon svg { width: 24px; height: 24px; }
.hv5 .hv5-service-feature { grid-column: auto; }
.hv5 .hv5-service-feature .hv5-service { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 17px 15px 10px; background: #e7eefb; border-color: #dae3f4; }
.hv5 .hv5-service-feature:nth-child(2) .hv5-service { background: #f7e9ee; border-color: #efdce4; }
.hv5 .hv5-service-feature .hv5-icon { width: 36px; height: 36px; flex-basis: 36px; }
.hv5 .hv5-service-feature .hv5-service-arrow { position: absolute; right: 14px; top: 18px; }
.hv5 .hv5-service-pig { align-self: flex-end; width: 90px; height: 90px; object-fit: contain; margin-top: auto; }
/* Trust is a distinct reading surface, with no hidden accordion content. */
.hv5 .hv5-trust-panel { padding: 28px 22px; border-radius: 26px; background: #202b49; color: #fff; }
.hv5 .hv5-trust-panel h2 { color: #fff; font-size: 27px; line-height: 1.4; margin-bottom: 26px; }
.hv5 .hv5-trust-grid { display: grid; gap: 22px; }
.hv5 .hv5-trust-grid li { display: grid; grid-template-columns: 24px minmax(0,1fr); gap: 12px; border-top: 1px solid #ffffff24; padding-top: 22px; }
.hv5 .hv5-trust-number { color: #c2b2f3; font-size: 12px; line-height: 24px; }
.hv5 .hv5-trust-grid h3 { color: #fff; }
.hv5 .hv5-trust-grid p { color: #cbd3e3; font-size: 13px; line-height: 1.85; margin-top: 8px; }
/* Exact server blog contract, including icon images inside span covers. */
.hv5 .hv5-blog-heading { flex-wrap: wrap; align-items: flex-start; }
.hv5 .hv5-blog-heading > div { flex: 1 1 240px; min-width: 0; }
.hv5 .hv5-blog-heading p { margin-top: 10px; color: #626c81; font-size: 14px; line-height: 1.7; }
.hv5 .hv5-text-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding-block: 10px; font-size: 13px; font-weight: 700; color: #6549af; }
.hv5 .hv5-blog-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 0; }
.hv5 .hv5-post { display: grid; grid-template-columns: 96px minmax(0,1fr); gap: 16px; padding-block: 20px; min-width: 0; border-top: 1px solid #e1e3e9; }
.hv5 .hv5-post > img, .hv5 .hv5-post > .hv5-post-cover { display: block; width: 96px; height: 112px; object-fit: cover; border-radius: 16px; background: #ece9f5; }
.hv5 .hv5-post > .hv5-post-cover { display: grid; place-items: center; }
.hv5 .hv5-post-cover img { width: 56px; height: 56px; object-fit: contain; }
.hv5 .hv5-post .hv5-c1 { background: #e8e1f7; }
.hv5 .hv5-post .hv5-c2 { background: #e0edf8; }
.hv5 .hv5-post .hv5-c3 { background: #f8e7da; }
.hv5 .hv5-post .hv5-c4 { background: #e1ece5; }
.hv5 .hv5-post .hv5-c5 { background: #f1e1eb; }
.hv5 .hv5-post .hv5-c6 { background: #f3edcf; }
.hv5 .hv5-post-b { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.hv5 .hv5-post-cat { font-size: 11px; font-weight: 700; color: #7255aa; }
.hv5 .hv5-post-t { font-size: 16px; font-weight: 700; line-height: 1.5; }
.hv5 .hv5-post-d { color: #626c81; font-size: 13px; line-height: 1.65; }
.hv5 .hv5-post-m { color: #697287; font-size: 11px; margin-top: auto; }
.hv5 .hv5-more { display: inline-flex; align-items: center; min-height: 44px; padding-block: 10px; color: #6549af; }
.hv5 .hv5-blog-empty { padding: 20px 0; color: #626c81; font-size: 13px; }
.hv5 .hv5-finish { padding-top: 8px; padding-bottom: calc(144px + env(safe-area-inset-bottom,0px)); }
.hv5 .hv5-finish-panel { padding: 8px 20px 28px; border: 1px solid #eee2c6; border-radius: 28px; background: #fbf2df; text-align: center; }
.hv5 .hv5-village { width: 100%; max-width: 560px; height: auto; aspect-ratio: 1774 / 887; object-fit: contain; margin-inline: auto; }
.hv5 .hv5-finish-copy { min-width: 0; }
.hv5 .hv5-finish-copy h2 { font-size: 24px; text-wrap: pretty; }
.hv5 .hv5-finish-copy p { margin-top: 10px; font-size: 14px; color: #616378; }
.hv5 .hv5-finish-copy .hv5-button { max-width: 360px; margin: 24px auto 0; }
.hv5 .hv5-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
/* No invisible focusable dock links. Server JS owns the .on state. */
.hv5-sticky { display: none; position: fixed; z-index: 9980; inset: auto 0 0; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); gap: 10px; padding: 12px max(16px,env(safe-area-inset-right,0px)) calc(14px + env(safe-area-inset-bottom,0px)) max(16px,env(safe-area-inset-left,0px)); background: #fffffff5; border-top: 1px solid #e4e6ed; box-shadow: 0 -8px 28px #16244a0a; }
.hv5-sticky.on { display: grid; animation: hv5-dock-in .22s ease-out both; }
.hv5-sticky .hv5-button { font-size: 13px; min-height: 48px; padding: 12px; border-radius: 13px; }
/* Authorized exception: support is a later sibling of main/nav in the live DOM.
   --hv5-dock-height may be supplied by the existing shell for expanded type sizes.
   140px fallback reserves room for three-line translated dock buttons. */
.hv5-sticky.on ~ #supportFloat { bottom: calc(var(--hv5-dock-height,140px) + env(safe-area-inset-bottom,0px) + 12px) !important; right: max(16px,env(safe-area-inset-right,0px)) !important; }
@keyframes hv5-dock-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 600px) {
  .hv5 .hv5-hero-panel { grid-template-columns: minmax(0,1fr) 190px; padding: 32px; gap: 24px; }
  .hv5 h1 { font-size: 40px; }
  .hv5 .hv5-actions { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hv5 .hv5-free-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
  .hv5 .hv5-feature, .hv5 .hv5-free-item:last-child { grid-column: auto; }
  .hv5 .hv5-feature .hv5-free-card { grid-template-columns: 1fr; align-content: start; gap: 12px; }
  .hv5 .hv5-tarot-pig { display: none; }
  .hv5 .hv5-feature h3 { font-size: 16px; }
  .hv5 .hv5-free-item:last-child .hv5-free-card { flex-direction: column; align-items: flex-start; padding-right: 16px; }
  .hv5 .hv5-service-item { grid-column: auto; }
  .hv5 .hv5-service-feature .hv5-service { display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 12px; padding: 22px; }
  .hv5 .hv5-service-feature .hv5-icon { width: 44px; height: 44px; }
  .hv5 .hv5-service-pig { grid-column: 2; justify-self: end; width: 120px; height: 120px; }
  .hv5 .hv5-blog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
  .hv5 .hv5-post { grid-template-columns: minmax(0,1fr); gap: 16px; border-top: 0; padding-top: 0; }
  .hv5 .hv5-post > img, .hv5 .hv5-post > .hv5-post-cover { width: 100%; height: auto; aspect-ratio: 16 / 10; }
}
@media (min-width: 1024px) {
  .hv5 .hv5-section { padding-block: 52px; }
  .hv5 h2 { font-size: 30px; }
  .hv5 .hv5-section-heading { margin-bottom: 26px; }
  .hv5 .hv5-hero { padding-top: 28px; }
  .hv5 .hv5-hero-panel { grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); column-gap: 64px; row-gap: 22px; padding: 52px 56px; border-radius: 36px; }
  .hv5 .hv5-hero-heading { grid-column: 1; grid-row: 1; }
  .hv5 .hv5-hero-body { grid-column: 1; grid-row: 2; }
  .hv5 .hv5-hero-art { grid-column: 2; grid-row: 1 / 3; width: 100%; max-width: 320px; justify-self: center; }
  .hv5 .hv5-hero-art > img { width: 250px; }
  .hv5 .hv5-orbit { width: 100%; }
  .hv5 h1 { font-size: 48px; line-height: 1.24; }
  .hv5 .hv5-badge { font-size: 12px; margin-bottom: 18px; }
  .hv5 .hv5-lead { font-size: 14px; }
  .hv5 .hv5-proof { padding-top: 22px; gap: 32px; font-size: 12px; }
  .hv5 .hv5-free-card { padding: 24px; }
  .hv5 .hv5-feature .hv5-free-card { grid-template-columns: 44px minmax(0,1fr); }
  .hv5 .hv5-feature .hv5-card-copy { grid-column: 1 / -1; }
  .hv5 .hv5-service-grid { gap: 16px 24px; }
  .hv5 .hv5-service-feature .hv5-service { grid-template-columns: 44px minmax(0,1fr) 144px; min-height: 180px; }
  .hv5 .hv5-service-pig { grid-column: 3; grid-row: 1; width: 144px; height: 144px; }
  .hv5 .hv5-service-feature h3 { font-size: 22px; }
  .hv5 .hv5-trust-panel { display: grid; grid-template-columns: 260px minmax(0,1fr); gap: 48px; padding: 44px; border-radius: 32px; }
  .hv5 .hv5-trust-panel h2 { font-size: 30px; margin: 0; }
  .hv5 .hv5-trust-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
  .hv5 .hv5-trust-grid li { grid-template-columns: 1fr; gap: 10px; padding-top: 12px; }
  .hv5 .hv5-blog-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px; }
  .hv5 .hv5-post-t { font-size: 19px; }
  .hv5 .hv5-finish { padding-top: 16px; padding-bottom: 56px; }
  .hv5 .hv5-finish-panel { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: 40px; padding: 32px 40px; text-align: start; }
  .hv5 .hv5-finish-copy h2 { font-size: 30px; }
  .hv5 .hv5-finish-copy .hv5-button { margin-inline: 0; }
  .hv5-sticky, .hv5-sticky.on { display: none; }
  .hv5-sticky.on ~ #supportFloat { bottom: 24px !important; right: 24px !important; }
}
@media (hover:hover) and (pointer:fine) {
  .hv5 .hv5-free-card:hover, .hv5 .hv5-service:hover { box-shadow: 0 8px 20px #16244a0c; border-color: #a7a2c6; }
  .hv5 .hv5-text-link:hover, .hv5 .hv5-post:hover .hv5-post-t { text-decoration: underline; text-underline-offset: 4px; }
  .hv5 .hv5-button:hover { transform: translateY(-1px); }
}
@media (prefers-reduced-motion:reduce) {
  .hv5 .hv5-button, .hv5-sticky .hv5-button { transition: none; }
  .hv5 .hv5-button:hover, .hv5 .hv5-button:active, .hv5-sticky .hv5-button:active { transform: none; }
  .hv5-sticky.on { animation: none; }
}
@media (forced-colors:active) {
  .hv5 .hv5-button, .hv5 .hv5-free-card, .hv5 .hv5-service, .hv5 .hv5-trust-panel, .hv5-sticky .hv5-button { border: 1px solid ButtonText; }
  .hv5 .hv5-trust-panel, .hv5 .hv5-feature .hv5-free-card { background: Canvas; color: CanvasText; }
  .hv5 .hv5-trust-panel :where(h2,h3,p), .hv5 .hv5-feature p { color: CanvasText; }
}

/* 2026-09-28 기술 보정(Claude): theme-playful.css의 body:has(.bs-town) #supportFloat !important 규칙이
   위 dock 규칙보다 특이성이 높아 겹침 발생 → 같은 구조로 특이성을 올려 ChatGPT v7 오프셋을 유지 */
body:has(.bs-town) .hv5-sticky.on ~ #supportFloat { bottom: calc(var(--hv5-dock-height,140px) + env(safe-area-inset-bottom,0px) + 12px) !important; right: max(16px,env(safe-area-inset-right,0px)) !important; }
@media (min-width: 1024px) {
  body:has(.bs-town) .hv5-sticky.on ~ #supportFloat { bottom: 24px !important; right: 24px !important; }
}
