/* 온보딩 · 슬라이드 툰 · 개인화 홈 (hub-onboard.js). 색·글꼴 변수는 hub.css 와 같다. */
#hub .ob{ display: grid; gap: 14px; padding-top: 6px; }
#hub .ob.rm *, #hub .ob.rm{ animation: none !important; transition: none !important; }
#hub .ob-kick{ font-family: var(--f-serif); color: var(--gold); letter-spacing: .22em; font-size: .72rem; }
#hub .ob-hook{ color: var(--ink-2); font-size: 1rem; }
#hub .ob-h{ font-size: clamp(1.4rem, 5.8vw, 1.85rem); line-height: 1.5; }
#hub .ob-h.big{ font-size: clamp(1.5rem, 6.4vw, 2rem); text-align: center; margin: 4px 0 10px; }
#hub .ob-body{ font-size: 1.04rem; color: var(--ink); line-height: 1.85; }
#hub .ob-sub{ color: var(--gold-l); font-size: .95rem; }
#hub .ob-pts{ list-style: none; display: grid; gap: 8px; }
#hub .ob-pts li{ position: relative; padding: 10px 12px 10px 34px; border-radius: 12px; background: rgba(19, 24, 39, .8); border: 1px solid var(--line-2); font-size: .96rem; }
#hub .ob-pts li::before{ content: ''; position: absolute; left: 14px; top: 17px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
#hub .ob-cav{ color: var(--ink-3); font-size: .8rem; line-height: 1.6; }
#hub .ob-src{ font-size: .84rem; color: var(--ink-3); }
#hub .ob-src summary{ cursor: pointer; padding: 6px 0; color: var(--gold); }
#hub .ob-src a{ color: var(--gold-l); word-break: break-all; }
#hub .ob-nav{ display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; margin-top: 6px; }
#hub .ob-nav.one{ grid-template-columns: 1fr; }
#hub .ob-dots{ display: flex; justify-content: center; gap: 7px; margin-top: 2px; }
#hub .ob-dots i{ width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); }
#hub .ob-dots i.on{ background: var(--gold); width: 20px; border-radius: 4px; }
#hub .ob-skip{ justify-self: center; background: none; border: 0; color: var(--ink-3); font-size: .82rem; min-height: 40px; cursor: pointer; }
/* 사례 시각 자료(CSS 도형): 막대 5개가 연구 내용을 상징한다 */
#hub .ob-vis{ height: 120px; border-radius: 16px; border: 1px solid var(--line-2); background: radial-gradient(80% 90% at 50% 100%, rgba(205, 178, 122, .18), rgba(8, 10, 17, .2)), #0d1120; display: flex; align-items: flex-end; justify-content: center; gap: 10px; padding: 14px 24px; }
#hub .ob-vis i{ flex: 1; max-width: 38px; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--gold-l), var(--gold-d)); opacity: .85; height: 50%; }
#hub .v-bell i:nth-child(1), #hub .v-bell i:nth-child(5){ height: 22%; }
#hub .v-bell i:nth-child(2), #hub .v-bell i:nth-child(4){ height: 55%; }
#hub .v-bell i:nth-child(3){ height: 92%; }
#hub .v-streak i{ height: 20%; }
#hub .v-streak i:nth-child(3){ height: 62%; }
#hub .v-streak i:nth-child(4){ height: 96%; }
#hub .v-streak i:nth-child(5){ height: 58%; }
#hub .v-worlds i:nth-child(1){ height: 90%; }
#hub .v-worlds i:nth-child(2){ height: 30%; }
#hub .v-worlds i:nth-child(3){ height: 60%; }
#hub .v-worlds i:nth-child(4){ height: 18%; }
#hub .v-worlds i:nth-child(5){ height: 75%; }
#hub .v-steps i:nth-child(1){ height: 18%; }
#hub .v-steps i:nth-child(2){ height: 38%; }
#hub .v-steps i:nth-child(3){ height: 58%; }
#hub .v-steps i:nth-child(4){ height: 78%; }
#hub .v-steps i:nth-child(5){ height: 98%; }
#hub .v-door i:nth-child(3){ height: 92%; }
#hub .v-mask i:nth-child(2), #hub .v-mask i:nth-child(4){ height: 85%; }
#hub .ob-cimg{ width: 100%; max-height: 220px; object-fit: cover; border-radius: 16px; border: 1px solid var(--line-2); }
/* 명리학 소개 상징 */
#hub .ob-intro-vis{ min-height: 150px; border-radius: 16px; border: 1px solid var(--line-2); display: grid; place-items: center; padding: 16px; background: linear-gradient(180deg, rgba(14, 17, 27, .5), rgba(14, 17, 27, .9)), radial-gradient(70% 80% at 50% 100%, rgba(142, 120, 73, .35), transparent); }
#hub .sky b{ font-family: var(--f-serif); font-size: 4.2rem; color: var(--gold-l); font-weight: 400; text-shadow: 0 0 30px rgba(205, 178, 122, .4); }
#hub .pil{ display: flex; gap: 12px; }
#hub .pil i{ width: 52px; height: 92px; border-radius: 8px 8px 4px 4px; border: 1px solid var(--gold); background: rgba(205, 178, 122, .08); display: grid; place-items: center; font-style: normal; }
#hub .pil b{ font-family: var(--f-serif); font-size: 1.5rem; color: var(--gold-l); font-weight: 400; }
#hub .pil-run{ display: flex; gap: 10px; margin-top: 12px; }
#hub .pil-run span{ font-size: .78rem; letter-spacing: .2em; color: var(--jade); border: 1px solid rgba(127, 181, 165, .4); border-radius: 999px; padding: 2px 12px; }
#hub .two{ display: flex; align-items: center; gap: 12px; }
#hub .two div{ display: grid; justify-items: center; gap: 2px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; background: rgba(19, 24, 39, .8); }
#hub .two b{ font-family: var(--f-serif); font-size: 1.5rem; color: var(--gold-l); font-weight: 400; }
#hub .two small{ color: var(--ink-3); }
#hub .two em{ color: var(--gold); font-size: 1.4rem; }
/* 슬라이드 툰 */
#hub .ob-prog{ position: relative; height: 26px; border-radius: 999px; background: rgba(19, 24, 39, .9); border: 1px solid var(--line-2); overflow: hidden; }
#hub .ob-prog i{ position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, rgba(142, 120, 73, .6), rgba(205, 178, 122, .5)); transition: width .35s ease; }
#hub .ob-prog span{ position: relative; display: block; text-align: center; font-size: .74rem; letter-spacing: .08em; color: var(--ink-2); line-height: 24px; }
#hub .ob-stage{ position: relative; min-height: 270px; border-radius: 18px; border: 1px solid var(--line); overflow: hidden; display: grid; grid-template-columns: 112px 1fr; align-items: end; gap: 6px; padding: 14px 12px 0; background: #0d1120 center/cover; }
#hub .ob-stage.bg-gate{ background-image: linear-gradient(180deg, #1c2733, #0b0f18 70%), radial-gradient(circle at 70% 20%, rgba(255, 255, 255, .12), transparent 50%); }
#hub .ob-stage.bg-scroll{ background-image: linear-gradient(180deg, #2b2418, #0e0c08); }
#hub .ob-stage.bg-stars{ background-image: radial-gradient(circle at 20% 25%, #fff 0 1px, transparent 2px), radial-gradient(circle at 70% 15%, #fff 0 1px, transparent 2px), radial-gradient(circle at 85% 45%, #cdb27a 0 1.5px, transparent 3px), linear-gradient(180deg, #0a1030, #05060b); }
#hub .ob-stage.bg-map{ background-image: linear-gradient(135deg, #223226, #14100a); }
#hub .ob-stage.bg-ledger{ background-image: linear-gradient(180deg, #2a1b16, #0d0908); }
#hub .ob-stage.bg-reveal{ background-image: radial-gradient(70% 70% at 50% 50%, rgba(205, 178, 122, .35), transparent), linear-gradient(180deg, #17120a, #080a11); }
#hub .ob-av{ width: 108px; height: auto; max-height: 250px; object-fit: contain; align-self: end; animation: obbob 3.6s ease-in-out infinite; }
#hub .ob-av .o, #hub .ob-av .f{ fill: #fff; }
@keyframes obbob{ 50%{ transform: translateY(-4px); } }
#hub .ob-bubble{ align-self: center; margin: 4px 0 18px; padding: 12px 14px; border-radius: 14px; background: rgba(239, 234, 224, .96); color: #1b1710; font-family: var(--f-serif); font-size: .98rem; line-height: 1.65; position: relative; display: grid; gap: 6px; }
#hub .ob-bubble::before{ content: ''; position: absolute; left: -8px; bottom: 26px; border: 8px solid transparent; border-right-color: rgba(239, 234, 224, .96); border-left: 0; }
#hub .ob-bubble p{ margin: 0; }
#hub .ob-form{ display: grid; gap: 14px; }
#hub .ob-form .f{ display: grid; gap: 6px; }
#hub .ob-form .f > span{ font-size: .8rem; letter-spacing: .08em; color: var(--ink-3); }
#hub .ob-form input[type=text], #hub .ob-form input[type=number], #hub .ob-form select{ font: inherit; font-size: 1rem; width: 100%; min-height: 52px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(14, 17, 27, .9); color: var(--ink); }
#hub .ob-form input:focus, #hub .ob-form select:focus{ border-color: var(--gold); outline: none; }
#hub .ob-form .row3{ grid-template-columns: 1fr 1fr 1fr; }
#hub .ob-form .row2{ grid-template-columns: 1fr 1fr; }
#hub .ob-form .row3 > span, #hub .ob-form .row2 > span{ grid-column: 1 / -1; }
#hub .ob-form .seg{ grid-template-columns: auto 1fr 1fr; align-items: center; }
#hub .ob-form .seg label{ display: flex; position: relative; cursor: pointer; }
#hub .ob-form .seg input{ position: absolute; opacity: 0; }
#hub .ob-form .seg i{ font-style: normal; flex: 1; text-align: center; padding: 12px 6px; border-radius: 12px; border: 1px solid var(--line); background: rgba(14, 17, 27, .9); color: var(--ink-2); min-height: 48px; display: grid; place-items: center; }
#hub .ob-form .seg input:checked + i{ border-color: var(--gold); color: var(--gold-l); background: rgba(205, 178, 122, .12); }
#hub .ob-form .seg input:focus-visible + i{ outline: 2px solid var(--gold); outline-offset: 2px; }
#hub .ob-form .chk{ display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; }
#hub .ob-form .chk i{ font-style: normal; color: var(--ink-2); }
#hub .ob-form .chk input{ width: 22px; height: 22px; accent-color: #CDB27A; }
#hub .ob-places{ display: flex; flex-wrap: wrap; gap: 8px; max-height: 190px; overflow: auto; }
#hub .ob-places button{ min-height: 44px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(14, 17, 27, .9); color: var(--ink-2); cursor: pointer; }
#hub .ob-places button.on{ border-color: var(--gold); background: rgba(205, 178, 122, .16); color: var(--gold-l); }
#hub .ob-places button small{ opacity: .65; font-size: .82em; margin-left: 2px; }
#hub .ob-place-note{ margin-top: 8px; }
#hub .ob-warn{ padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(216, 130, 111, .4); color: var(--ink-2); font-size: .88rem; }
#hub .ob-gender{ display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
#hub .ob-gender button{ min-height: 72px; font-family: var(--f-serif); font-size: 1.3rem; border-radius: 14px; border: 1px solid var(--line); background: rgba(14, 17, 27, .9); color: var(--ink-2); cursor: pointer; }
#hub .ob-gender button.on{ border-color: var(--gold); color: var(--gold-l); background: rgba(205, 178, 122, .14); }
#hub .ob-sum{ display: grid; gap: 8px; margin: 0; }
#hub .ob-sum div{ display: grid; grid-template-columns: 82px 1fr auto; gap: 8px; align-items: center; padding: 10px 12px; border-radius: 12px; background: rgba(19, 24, 39, .85); border: 1px solid var(--line-2); }
#hub .ob-sum dt{ font-size: .78rem; color: var(--ink-3); }
#hub .ob-sum dd{ margin: 0; color: var(--ink); }
#hub .lnk{ background: none; border: 0; color: var(--gold); text-decoration: underline; min-height: 40px; min-width: 44px; cursor: pointer; }
#hub .ob-hint{ margin-top: -4px; }
#hub .ob-priv{ text-align: center; }
/* 공개 화면 */
#hub .ob-card{ padding: 20px 18px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(24, 30, 49, .95), rgba(14, 17, 27, .95)); text-align: center; display: grid; gap: 10px; }
#hub .ob-card .who{ font-family: var(--f-serif); color: var(--gold); letter-spacing: .1em; }
#hub .ob-card .pair{ display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
#hub .ob-card .pair > div{ padding: 12px 6px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(8, 10, 17, .6); display: grid; gap: 2px; }
#hub .ob-card .pair small{ color: var(--ink-3); font-size: .74rem; }
#hub .ob-card .pair b{ font-family: var(--f-serif); font-size: 2rem; color: var(--gold-l); font-weight: 600; }
#hub .ob-card .pair span{ color: var(--ink-2); font-size: .88rem; }
#hub .ob-card .ln{ font-family: var(--f-serif); font-size: 1.05rem; }
#hub .ob-card .tr{ color: var(--ink-2); font-size: .94rem; }
/* 개인화 홈 */
#hub .hhome{ display: grid; gap: 14px; }
#hub .hh-top{ display: flex; justify-content: space-between; align-items: center; gap: 10px; }
#hub .hh-top .kick{ margin: 0; }
#hub .hh-me{ color: var(--gold-l); text-decoration: none; font-family: var(--f-serif); min-height: 44px; display: flex; align-items: center; }
#hub .hh-guide{ display: grid; grid-template-columns: 52px 1fr; gap: 10px; align-items: center; }
#hub .hh-guide .gav{ width: 52px; height: 52px; border-radius: 50%; overflow: hidden; background: #0d1120; border: 1px solid var(--line); }
#hub .hh-guide .gav .ob-av{ width: 70px; margin: 4px -9px 0; animation: none; }
#hub .hh-guide p{ margin: 0; padding: 10px 14px; border-radius: 14px; background: rgba(19, 24, 39, .9); border: 1px solid var(--line-2); font-family: var(--f-serif); font-size: .95rem; }
#hub .hh-sum{ padding: 16px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(24, 30, 49, .95), rgba(14, 17, 27, .95)); }
#hub .hh-sum h2{ font-size: .8rem; letter-spacing: .2em; color: var(--gold); margin-bottom: 10px; }
#hub .hh-sum .gr{ display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
#hub .hh-sum .gr > div{ display: grid; gap: 2px; }
#hub .hh-sum .gr small{ color: var(--ink-3); font-size: .74rem; }
#hub .hh-sum .gr b{ font-weight: 600; font-size: .98rem; }
#hub .hh-sum .gr b small{ font-weight: 400; }
#hub .hh-line{ margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-2); font-size: .95rem; }
#hub .hh-line span{ color: var(--ink-3); font-size: .86rem; }
#hub .hh-h{ font-size: .8rem; letter-spacing: .24em; color: var(--ink-3); margin-top: 6px; font-family: var(--f-sans); font-weight: 500; }
#hub .hh-cards{ display: grid; gap: 12px; }
#hub .hhome .cc{ display: grid; gap: 4px; padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: rgba(19, 24, 39, .9); color: inherit; text-decoration: none; min-height: 48px; }
#hub .hhome .cc small{ color: var(--gold); letter-spacing: .14em; font-size: .7rem; }
#hub .hhome .cc h3{ font-size: 1.15rem; }
#hub .hhome .cc p{ color: var(--ink-2); font-size: .92rem; margin: 0; }
#hub .hhome .cc .go{ color: var(--gold-l); font-size: .88rem; margin-top: 4px; }
#hub .hhome .cc.today{ grid-template-columns: 64px 1fr; align-items: center; gap: 14px; }
#hub .hhome .cc.premium{ border-color: rgba(205, 178, 122, .55); background: linear-gradient(135deg, rgba(60, 46, 22, .6), rgba(19, 24, 39, .95)); }
#hub .hh-more{ border-top: 1px solid var(--line-2); padding-top: 8px; }
#hub .hh-more summary{ cursor: pointer; min-height: 44px; display: flex; align-items: center; color: var(--ink-2); }
#hub .hh-acts{ display: grid; gap: 8px; margin: 8px 0; }
#hub .hh-acts a, #hub .hh-acts button{ display: flex; align-items: center; min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(19, 24, 39, .8); color: var(--ink); text-decoration: none; cursor: pointer; text-align: left; }
#hub .hh-acts button{ color: var(--red); }
@media (max-width: 360px){ #hub .ob-stage{ grid-template-columns: 88px 1fr; } #hub .ob-av{ width: 84px; } #hub .ob-sum div{ grid-template-columns: 70px 1fr auto; } }
@media (prefers-reduced-motion: reduce){ #hub .ob-av{ animation: none; } #hub .ob-prog i{ transition: none; } }
#hub .hhome .cc.today .ring{ width: 64px; height: 64px; }
#hub .hhome .cc.today .ring::before{ inset: 5px; }
#hub .hhome .cc.today .ring b{ font-size: 1.2rem; }
#hub .ob-nav:has(#obBack[hidden]){ grid-template-columns: 1fr; }
#hub .ob-nav [hidden]{ display: none; }

/* ═════ 스크롤식 온보딩(시네마틱) ═════ */
#hub #screen:has(.ob-cine){ max-width: 720px; }
#hub .ob-cine::before{ content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(50% 38% at 50% 0%, rgba(205, 178, 122, .16), transparent 70%), radial-gradient(40% 30% at 90% 70%, rgba(92, 82, 156, .16), transparent 70%); }
#hub .cn-prog{ position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 40; background: var(--gold); transform: scaleX(0); transform-origin: 0 50%; }
#hub .cn{ display: block; }
#hub .cn-sec{ min-height: 88svh; display: grid; align-content: center; gap: 16px; padding: 40px 0; opacity: .0; transform: translateY(26px); transition: opacity .9s ease, transform .9s ease; }
#hub .cn-sec.in{ opacity: 1; transform: none; }
#hub .cn-sec:not(.in) *{ animation-play-state: paused !important; }
#hub .cn-kick{ font-family: var(--f-serif); color: var(--gold); letter-spacing: .26em; font-size: .74rem; }
#hub .cn-art{ border-radius: 20px; overflow: hidden; border: 1px solid var(--line-2); background: radial-gradient(90% 100% at 50% 100%, rgba(205, 178, 122, .14), rgba(8, 10, 17, .0)), #0b0f1b; padding: 8px; }
#hub .cn-svg{ width: 100%; height: auto; display: block; }
#hub .cn-media{ width: 100%; max-height: 360px; object-fit: cover; border-radius: 14px; display: block; }
#hub .cn-hook{ color: var(--ink-2); font-size: 1.02rem; }
#hub .cn-title{ font-family: var(--f-serif); font-weight: 600; font-size: clamp(1.6rem, 6.6vw, 2.3rem); line-height: 1.42; letter-spacing: -.01em; }
#hub .cn-title.big{ text-align: center; font-size: clamp(1.7rem, 7vw, 2.4rem); }
#hub .cn-body{ font-size: 1.1rem; line-height: 1.9; color: var(--ink); }
#hub .cn-sub{ color: var(--gold-l); font-family: var(--f-serif); font-size: 1.02rem; }
#hub .cn-beats{ list-style: none; display: grid; gap: 0; margin-top: 4px; border-top: 1px solid var(--line-2); }
#hub .cn-beats li{ display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--line-2); opacity: 0; transform: translateY(10px); }
#hub .cn-sec.in .cn-beats li{ animation: cnb .8s ease both; animation-delay: calc(.5s + var(--i) * .7s); }
#hub .cn-beats span{ font-family: var(--f-serif); color: var(--gold); font-size: 1.15rem; }
#hub .cn-beats p{ margin: 0; font-size: 1.04rem; line-height: 1.75; }
@keyframes cnb{ to { opacity: 1; transform: none; } }
#hub .cn-cav{ color: var(--ink-3); font-size: .8rem; line-height: 1.7; }
#hub .cn-src{ font-size: .84rem; color: var(--ink-3); }
#hub .cn-src summary{ cursor: pointer; padding: 6px 0; color: var(--gold); }
#hub .cn-src a{ color: var(--gold-l); word-break: break-all; }
#hub .cn-links{ display: flex; gap: 18px; }
#hub .cn-links button{ background: none; border: 0; color: var(--gold-l); text-decoration: underline; text-underline-offset: 4px; min-height: 44px; cursor: pointer; font-size: .92rem; }
#hub .cn-go{ margin-top: 6px; }
#hub .cn-last{ min-height: 80svh; text-align: center; }
#hub .cn-skip{ position: fixed; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 35; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(8, 10, 17, .82); color: var(--ink-2); backdrop-filter: blur(6px); cursor: pointer; font-size: .86rem; }
/* SVG 연출: 선 그리기·떠오르기·솟아오르기. 장면이 들어오면(.in) 재생된다 */
#hub .cn-svg .dr{ animation: cndr 2.4s ease both; }
#hub .cn-svg .dr.d2{ animation-delay: .9s; }
@keyframes cndr{ from { stroke-dasharray: 900; stroke-dashoffset: 900; } to { stroke-dasharray: 900; stroke-dashoffset: 0; } }
#hub .cn-svg .pop{ transform-box: fill-box; transform-origin: center; animation: cnpop 1s cubic-bezier(.2, .9, .3, 1.3) both; animation-delay: calc(1s + var(--i, 0) * .25s); }
@keyframes cnpop{ from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: none; } }
#hub .cn-svg .wd{ transform-box: fill-box; transform-origin: bottom; animation: cnrise .9s ease both; animation-delay: calc(.2s + var(--i, 0) * .18s); }
#hub .cn-svg .rise{ transform-box: fill-box; transform-origin: bottom; animation: cnrise 1.1s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(.1s + var(--i, 0) * .2s); }
@keyframes cnrise{ from { opacity: 0; transform: scaleY(.1); } to { opacity: 1; transform: none; } }
#hub .ob.rm .cn-sec{ opacity: 1; transform: none; }
#hub .ob.rm .cn-beats li{ opacity: 1; transform: none; animation: none; }
@media (prefers-reduced-motion: reduce){ #hub .cn-sec{ opacity: 1; transform: none; transition: none; } #hub .cn-beats li{ opacity: 1; transform: none; animation: none !important; } #hub .cn-svg *{ animation: none !important; } }

#hub .cn-lnk{ color: var(--gold-l); text-decoration: underline; text-underline-offset: 4px; min-height: 44px; display: inline-flex; align-items: center; font-size: .92rem; }
#hub[data-embed] .cn-sec:first-child{ padding-top: 24px; }

/* 스토리텔링: 문단이 하나씩 떠오르고, 구간 사이를 잇는 문장이 흐름을 만든다 */
#hub .cn-rev{ opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .8s ease; }
#hub .cn-rev.in{ opacity: 1; transform: none; }
#hub .cn-story{ display: grid; gap: 18px; margin-top: 4px; }
#hub .cn-story p{ margin: 0; font-size: 1.08rem; line-height: 1.95; color: var(--ink); }
#hub .cn-take{ margin: 6px 0 0; padding: 18px 0 18px 18px; border-left: 2px solid var(--gold); font-family: var(--f-serif); font-size: 1.18rem; line-height: 1.7; color: var(--gold-l); }
#hub .cn-bridge{ min-height: 42svh; text-align: center; place-items: center; }
#hub .cn-bridge-t{ margin: 0; font-family: var(--f-serif); font-size: clamp(1.2rem, 4.8vw, 1.5rem); line-height: 1.85; color: var(--ink-2); max-width: 30em; }
#hub .ob.rm .cn-rev{ opacity: 1; transform: none; transition: none; }
@media (prefers-reduced-motion: reduce){ #hub .cn-rev{ opacity: 1; transform: none; transition: none; } }

/* ── 랜딩 개편: 섹션 연출 · 연구 카드 · 명리학 주제 · 서비스 소개 · 홈 용어 설명 ── */
/* 연출(effect): 글자 타이핑·스크롤 강제 이동은 없다. 섹션이 화면에 들어오면(.in) 한 번 나타날 뿐이다. */
#hub .cn-sec.fxe-none{ opacity: 1; transform: none; transition: none; }
#hub .cn-sec.fxe-fade{ transform: none; }
#hub .cn-sec.fxe-rise{ transform: translateY(48px); transition-duration: 1s; }
#hub .cn-sec.fxe-rise.in{ transform: none; }
#hub .cn-sec.has-bg{ position: relative; isolation: isolate; }
#hub .cn-sec.has-bg::before{ content: ""; position: absolute; inset: -6% -16px; z-index: -1; background: linear-gradient(rgba(8, 10, 17, .66), rgba(8, 10, 17, .78)), var(--sec-bg) center / cover no-repeat; opacity: .9; border-radius: 18px; transform: translateY(var(--py, 0px)); }
@media (max-width: 767px){ #hub .cn-sec.has-bg[style*="--sec-bg-m"]::before{ background-image: linear-gradient(rgba(8, 10, 17, .66), rgba(8, 10, 17, .78)), var(--sec-bg-m); } }
#hub .cn-xf{ position: relative; }
#hub .cn-xf .cn-media.xf{ position: absolute; inset: 0; height: 100%; max-height: none; opacity: 0; transition: opacity 1.8s ease .3s; }
#hub .cn-sec.in .cn-xf .cn-media.xf, #hub .tp[open] .cn-xf .cn-media.xf{ opacity: 1; }
#hub .cn-cta-row{ display: flex; justify-content: center; margin-top: 8px; }
#hub .cn-go.sm{ min-height: 48px; padding: 10px 26px; font-size: .98rem; }
#hub .cn-s-research, #hub .cn-s-myeongri, #hub .cn-s-service{ min-height: 0; padding: 56px 0; align-content: start; }

/* 연구 카드 */
#hub .rc-list{ display: grid; gap: 18px; margin-top: 8px; }
#hub .rc{ align-content: start; border: 1px solid var(--line-2); border-radius: 20px; background: linear-gradient(180deg, rgba(24, 30, 49, .8), rgba(11, 15, 27, .9)); padding: 18px; display: grid; gap: 12px; }
#hub .rc-gold{ border-color: var(--gold); box-shadow: 0 0 0 1px rgba(205, 178, 122, .18) inset, 0 10px 36px rgba(205, 178, 122, .08); }
#hub .rc-glass{ background: rgba(255, 255, 255, .04); backdrop-filter: blur(6px); }
#hub .rc-feat{ border-color: var(--gold-d); }
#hub .rc-tags{ display: flex; gap: 6px; flex-wrap: wrap; }
#hub .rc-kind, #hub .rc-rel{ font-size: .74rem; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--gold); }
#hub .rc-rel{ color: var(--jade); border-color: rgba(127, 181, 165, .4); }
#hub .rc-art{ border-radius: 14px; overflow: hidden; background: #0b0f1b; }
#hub .rc-art .cn-svg{ width: 100%; height: auto; max-height: 190px; }
#hub .rc-title{ font-family: var(--f-serif); font-size: 1.24rem; line-height: 1.5; font-weight: 600; }
#hub .rc-org{ color: var(--ink-2); font-size: .9rem; }
#hub .rc-sum{ margin: 0; padding-left: 1.1em; display: grid; gap: 6px; color: var(--ink); line-height: 1.75; }
#hub .rc-facts{ display: grid; gap: 8px; margin: 0; }
#hub .rc-facts > div{ display: grid; grid-template-columns: 6.2em 1fr; gap: 10px; font-size: .9rem; }
#hub .rc-facts dt{ color: var(--ink-3); } #hub .rc-facts dd{ margin: 0; color: var(--ink); }
#hub .rc-lim{ font-size: .86rem; color: var(--ink-2); padding: 10px 12px; border-left: 2px solid var(--gold-d); background: rgba(205, 178, 122, .06); border-radius: 0 10px 10px 0; margin: 0; }
#hub .rc-lim b{ color: var(--gold-l); margin-right: 4px; }
#hub .rc-act{ display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
#hub .rc-more, #hub .rc-src{ min-height: 44px; display: inline-flex; align-items: center; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: none; color: var(--gold-l); font-size: .88rem; text-decoration: none; cursor: pointer; }
#hub .rc-more:hover, #hub .rc-src:hover{ border-color: var(--gold); }
#hub .rc-detail{ border-top: 1px solid var(--line-2); padding-top: 12px; display: grid; gap: 10px; }
#hub .rc-notice{ margin: 10px 0 0; padding: 14px 16px; border: 1px dashed var(--line); border-radius: 14px; color: var(--ink-2); font-size: .92rem; line-height: 1.8; }
#hub .rc-compact .rc-art, #hub .rc-compact .rc-facts{ display: none; }
@media (min-width: 720px){ #hub .rc-list{ grid-template-columns: 1fr 1fr; } #hub .rc-feat{ grid-column: 1 / -1; } }

/* 명리학 주제 */
#hub .cn-sub-sec{ display: grid; gap: 12px; margin-top: 18px; }
#hub .cn-title.sm{ font-size: 1.2rem; }
#hub .tp-list{ margin-top: 22px; display: grid; gap: 8px; }
#hub .tp-h{ font-family: var(--f-serif); color: var(--gold); letter-spacing: .12em; font-size: .86rem; }
#hub .tp{ position: relative; border: 1px solid var(--line-2); border-radius: 14px; background: rgba(19, 24, 39, .6); }
#hub .tp summary{ list-style: none; cursor: pointer; padding: 14px 44px 14px 16px; display: grid; gap: 2px; min-height: 48px; }
#hub .tp summary::-webkit-details-marker{ display: none; }
#hub .tp summary::after{ content: "＋"; position: absolute; right: 16px; top: 14px; color: var(--gold); }
#hub .tp[open] summary::after{ content: "－"; }
#hub .tp-t{ font-weight: 600; } #hub .tp-s{ color: var(--ink-3); font-size: .84rem; }
#hub .tp-b{ padding: 0 16px 16px; display: grid; gap: 10px; }
#hub .tp[open] .tp-b{ animation: tpIn .5s ease both; }
@keyframes tpIn{ from{ opacity: 0; transform: translateY(8px); } to{ opacity: 1; transform: none; } }
#hub .tp-nat{ justify-self: start; font-size: .72rem; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--gold); }
#hub .tp-nat-science{ color: var(--jade); border-color: rgba(127, 181, 165, .45); } #hub .tp-nat-limit{ color: var(--red); border-color: rgba(216, 130, 111, .45); }
#hub .tp-sum{ color: var(--ink); line-height: 1.8; margin: 0; } #hub .tp-det{ color: var(--ink-2); font-size: .94rem; line-height: 1.85; margin: 0; }
#hub .tp-ana, #hub .tp-term{ margin: 0; font-size: .9rem; color: var(--ink-2); padding: 10px 12px; border-radius: 10px; background: rgba(205, 178, 122, .06); }
#hub .tp-ana b, #hub .tp-term b{ color: var(--gold-l); margin-right: 6px; }
#hub .tp-ref{ margin: 0; font-size: .76rem; color: var(--ink-3); }

/* 서비스 소개 */
#hub .sv-list{ list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 12px; }
#hub .sv{ display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: center; border: 1px solid var(--line-2); border-radius: 16px; padding: 12px; background: rgba(19, 24, 39, .6); }
#hub .sv-media{ width: 84px; height: 84px; border-radius: 12px; overflow: hidden; background: #0b0f1b; display: grid; place-items: center; border: 1px solid var(--line); }
#hub .sv-media .cn-media{ width: 100%; height: 100%; max-height: none; border-radius: 0; }
#hub .sv-glyph{ font-family: var(--f-serif); font-size: 2.1rem; color: var(--gold-l); text-shadow: 0 0 18px rgba(205, 178, 122, .5); }
#hub .sv h3{ font-size: 1rem; margin: 0 0 2px; } #hub .sv p{ margin: 0; font-size: .86rem; color: var(--ink-2); line-height: 1.6; }
#hub .sv-badge{ display: inline-block; margin-top: 6px; font-size: .7rem; padding: 1px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--jade); }
#hub .sv-soon{ opacity: .72; } #hub .sv-soon .sv-badge{ color: var(--ink-3); }
#hub .sv-link{ margin-left: 10px; font-size: .84rem; color: var(--gold-l); }
@media (min-width: 720px){ #hub .sv-list{ grid-template-columns: 1fr 1fr; } }

/* 홈: 기질·흐름 핵심 두 줄, 용어 설명 */
#hub .hh-core{ display: grid; gap: 10px; margin: 14px 0 6px; }
#hub .hhc{ border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; background: linear-gradient(180deg, rgba(24, 30, 49, .85), rgba(11, 15, 27, .9)); display: grid; gap: 6px; }
#hub .hhc small{ color: var(--gold); letter-spacing: .12em; font-size: .72rem; }
#hub .hhc p{ margin: 0; font-size: 1.04rem; line-height: 1.75; } #hub .hhc p b{ color: var(--gold-l); font-weight: 600; }
#hub .hhc-sub{ font-size: .8rem; color: var(--ink-3); }
#hub .tip{ position: relative; cursor: help; border-bottom: 1px dotted var(--gold-d); color: inherit; }
#hub .tip::after{ content: attr(data-tip); position: absolute; left: 0; top: calc(100% + 6px); z-index: 20; width: min(260px, 70vw); padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: #10141f; color: var(--ink); font-size: .8rem; line-height: 1.6; letter-spacing: 0; font-weight: 400; display: none; text-align: left; }
#hub .tip:hover::after, #hub .tip:focus::after, #hub .tip.open::after{ display: block; }
#hub .cc.feat{ border-color: var(--gold); }

@media (prefers-reduced-motion: reduce){ #hub .cn-sec.fxe-rise, #hub .cn-sec.fxe-fade{ opacity: 1; transform: none; transition: none; } #hub .tp[open] .tp-b{ animation: none; } #hub .cn-xf .cn-media.xf{ opacity: 1; transition: none; } #hub .cn-sec.has-bg::before{ transform: none; } }
#hub .ob.rm .cn-sec{ opacity: 1; transform: none; }
#hub .ob-bubble.bub-glass{ background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); border-color: var(--line); }
#hub .ob-bubble.bub-ink{ background: rgba(4, 6, 12, .92); border-color: var(--gold-d); }

/* ── 스크롤 컷(웹툰식) 정리: 라벨·버튼 없이 큰 글씨 한 줄씩 ── */
#hub .cn-kick{ font-family: var(--f-sans); font-weight: 700; font-size: .92rem; letter-spacing: .06em; color: #8FD3C0; }
#hub .cn-s-research, #hub .cn-s-myeongri, #hub .cn-s-service{ padding: 72px 0 40px; gap: 22px; }
#hub .rc{ border: 0; background: none; padding: 0; margin-top: 40px; gap: 18px; }
#hub .rc-list{ display: block; }
#hub .tx-q{ font-size: 1.05rem; color: var(--ink-2); margin: 0; }
#hub .tx-h{ font-family: var(--f-serif); font-weight: 600; font-size: clamp(1.35rem, 5.6vw, 1.7rem); line-height: 1.5; margin: 0; }
#hub .tx-p{ font-size: 1.14rem; line-height: 1.95; color: var(--ink); margin: 0; }
#hub .tx-soft{ font-size: .95rem; line-height: 1.8; color: var(--ink-3); margin: 0; }
#hub .tx-src{ font-size: .8rem; color: var(--ink-3); margin: 0; }
#hub .tx-turn{ font-family: var(--f-serif); font-size: 1.25rem; line-height: 1.8; color: var(--gold-l); margin: 28px 0 0; }
#hub .cn-sub-sec{ margin-top: 44px; gap: 16px; }
#hub .rc-art .cn-svg{ max-height: 210px; }

/* ── 생년월일시 입력: 화면 전체를 채우는 무빙툰 장면(배경이 천천히 움직이고, 캐릭터·대사가 차례로 등장, 입력은 아래 시트) ── */
#hub .ob-fs{ position: fixed; inset: 0; z-index: 20; display: flex; flex-direction: column; overflow: hidden; background: #06070d; }
#hub .ob-fs-bg{ position: absolute; inset: -6%; background: #0d1120 center/cover no-repeat; animation: obfsPan 26s ease-in-out infinite alternate; will-change: transform; }
#hub .ob-fs-bg.bg-gate{ background-image: linear-gradient(180deg, #1c2733, #0b0f18 70%), radial-gradient(circle at 70% 20%, rgba(255, 255, 255, .12), transparent 50%); }
#hub .ob-fs-bg.bg-scroll{ background-image: linear-gradient(180deg, #2b2418, #0e0c08); }
#hub .ob-fs-bg.bg-stars{ background-image: radial-gradient(circle at 20% 25%, #fff 0 1px, transparent 2px), radial-gradient(circle at 70% 15%, #fff 0 1px, transparent 2px), radial-gradient(circle at 85% 45%, #cdb27a 0 1.5px, transparent 3px), linear-gradient(180deg, #0a1030, #05060b); }
#hub .ob-fs-bg.bg-map{ background-image: linear-gradient(135deg, #223226, #14100a); }
#hub .ob-fs-bg.bg-ledger{ background-image: linear-gradient(180deg, #2a1b16, #0d0908); }
#hub .ob-fs-bg.bg-reveal{ background-image: radial-gradient(70% 70% at 50% 50%, rgba(205, 178, 122, .35), transparent), linear-gradient(180deg, #17120a, #080a11); }
#hub .ob-fs-shade{ position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(5, 6, 12, .6) 0%, rgba(5, 6, 12, .06) 30%, rgba(5, 6, 12, 0) 48%, rgba(5, 6, 12, .78) 100%); }
#hub .ob-fs-top{ position: relative; z-index: 2; width: 100%; max-width: 620px; margin: 0 auto; padding: calc(var(--top, 56px) + 6px) 18px 0; }
#hub .ob-fs-mid{ scrollbar-width: none; } #hub .ob-fs-mid::-webkit-scrollbar{ display: none; }
#hub .ob-fs-mid{ position: relative; z-index: 2; flex: 1; min-height: 0; overflow-y: auto; width: 100%; max-width: 620px; margin: 0 auto; padding: 8px 18px 0; display: flex; align-items: flex-end; gap: 10px; }
#hub .ob-fs .ob-av{ width: auto; height: min(30svh, 330px); max-width: 34vw; flex: 0 0 auto; margin-bottom: -6px; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .55)); }
#hub .ob-fs .ob-bubble{ flex: 1; align-self: flex-start; margin: 1svh 0 0; padding: 10px 12px; font-size: .95rem; line-height: 1.55; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); animation: obfsUp .6s ease both; }
#hub .ob-fs .ob-bubble p{ animation: obfsUp .6s ease both; }
#hub .ob-fs .ob-bubble p:nth-child(1){ animation-delay: .25s; } #hub .ob-fs .ob-bubble p:nth-child(2){ animation-delay: .8s; } #hub .ob-fs .ob-bubble p:nth-child(3){ animation-delay: 1.35s; } #hub .ob-fs .ob-bubble p:nth-child(4){ animation-delay: 1.9s; } #hub .ob-fs .ob-bubble p:nth-child(n+5){ animation-delay: 2.4s; }
#hub .ob-fs-sheet{ position: relative; z-index: 3; width: 100%; max-width: 620px; margin: 0 auto; padding: 16px 18px calc(16px + env(safe-area-inset-bottom, 0px)); border-radius: 22px 22px 0 0; background: rgba(10, 12, 20, .76); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--line); border-bottom: 0; max-height: 58svh; overflow: auto; display: grid; gap: 12px; animation: obfsSheet .55s ease both; }
#hub .ob-fs-sheet .ob-nav{ margin-top: 2px; }
@keyframes obfsPan{ 0%{ transform: scale(1.04) translate(0, 0); } 100%{ transform: scale(1.16) translate(-2.2%, -1.6%); } }
@keyframes obfsUp{ from{ opacity: 0; transform: translateY(14px); } to{ opacity: 1; transform: none; } }
@keyframes obfsSheet{ from{ opacity: 0; transform: translateY(28px); } to{ opacity: 1; transform: none; } }
#hub .ob-fs.rm .ob-fs-bg, #hub .ob-fs.rm .ob-bubble, #hub .ob-fs.rm .ob-bubble p, #hub .ob-fs.rm .ob-fs-sheet, #hub .ob-fs.rm .ob-av{ animation: none; } #hub .ob-fs.rm .ob-fs-bg{ inset: 0; }
@media (prefers-reduced-motion: reduce){ #hub .ob-fs-bg, #hub .ob-fs .ob-bubble, #hub .ob-fs .ob-bubble p, #hub .ob-fs-sheet, #hub .ob-fs .ob-av{ animation: none; } #hub .ob-fs-bg{ inset: 0; } }
@media (max-height: 560px){ #hub .ob-fs .ob-av{ height: 34svh; } #hub .ob-fs-sheet{ max-height: 66svh; } }
/* Compact birth entry: one form, native mobile pickers. */
.ob-compact{max-width:540px;margin:0 auto;padding:28px 20px 44px}.ob-compact h1{font-size:26px;margin:8px 0 12px}.ob-compact .ob-form{padding:0}.ob-compact .ob-gender{display:flex;gap:10px;margin:10px 0 20px}.ob-compact .ob-gender button{flex:1;min-height:48px}.ob-compact .f{margin:16px 0}.ob-compact select,.ob-compact input{min-height:46px;font-size:16px}.ob-compact .row3{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:8px}.ob-compact .row2{display:grid;grid-template-columns:1fr 1fr;gap:8px}.ob-compact .row3>span,.ob-compact .row2>span{grid-column:1/-1}.ob-compact details{margin:22px 0}.ob-compact summary{cursor:pointer;padding:10px 0}.ob-compact #obOk{width:100%;min-height:52px;font-size:17px}.ob-compact .ob-priv{font-size:12px;line-height:1.6}.ob-compact [hidden]{display:none!important}.ob-compact-page .ob-wrap{max-width:600px}.ob-compact-page{padding-top:12px}
#hub .ob-compact .ob-form{display:block}#hub .ob-compact .ob-form>.f{margin:14px 0}#hub .ob-compact .ob-gender{margin:8px 0 16px}#hub .ob-compact .ob-gender button{padding:12px;min-height:48px;font-size:17px}#hub .ob-compact .ob-form select,#hub .ob-compact .ob-form input[type=number],#hub .ob-compact .ob-form input[type=text]{min-height:46px;padding:9px 12px}#hub .ob-compact .ob-form>p{margin:12px 0 6px}#hub .ob-compact .ob-form>.seg{margin:12px 0}#hub .ob-compact .ob-form .seg i{padding:10px}#hub .ob-compact .chk{margin:10px 0}#hub .ob-compact .msg:empty{display:none}#hub .ob-compact .ob-form>.row3{grid-template-columns:1.3fr 1fr 1fr}
/* 한 장짜리 입력 폼 + 입력 공통 루프 영상(hub-onboard.js compactVideo). 모바일·태블릿: 위쪽 영상, 그 아래로 폼이 겹쳐 올라온다. PC: 왼쪽 영상(입력 구역 안에서 화면 높이로 따라옴) · 오른쪽 폼. */
#obcVid{position:absolute;top:0;left:0;right:0;height:min(58svh,560px);z-index:0;pointer-events:none;opacity:0;transition:opacity .9s ease;overflow:hidden}
#obcVid.on{opacity:1}
#obcVid[hidden]{display:none}
#obcVid .obc-st{position:relative;width:100%;height:100%}
#obcVid video{display:block;width:100%;height:100%;object-fit:cover;object-position:center 18%}
#obcVid i{position:absolute;inset:0;background:linear-gradient(to bottom,rgba(8,11,15,.55) 0,rgba(8,11,15,.08) 22%,rgba(8,11,15,.25) 58%,#080b0f 100%)}
body.obc-on #hub #screen{z-index:1}
body.obc-on #hub .ob-compact{padding-top:calc(min(58svh,560px) - 150px)}
body.obc-on #hub .ob-compact .ob-kick,body.obc-on #hub .ob-compact h1,body.obc-on #hub .ob-compact h1+.note{text-shadow:0 2px 14px rgba(0,0,0,.85)}
@media (min-width:1024px){
  body.obc-on{--obcF:max(520px,44vw)}
  #obcVid{bottom:0;right:auto;width:calc(100% - var(--obcF));height:auto;overflow:visible}
  #obcVid .obc-st{position:sticky;top:0;height:100vh;overflow:hidden}
  #obcVid video{object-position:center 30%}
  #obcVid i{background:linear-gradient(to right,rgba(8,11,15,0) 62%,#080b0f 100%),linear-gradient(to bottom,rgba(8,11,15,.6) 0,rgba(8,11,15,0) 18%,rgba(8,11,15,0) 80%,rgba(8,11,15,.6) 100%)}
  body.obc-on #hub #screen{max-width:none;width:var(--obcF);margin:0 0 0 auto;box-sizing:border-box;padding-left:clamp(20px,3vw,48px);padding-right:clamp(20px,4vw,64px)}
  body.obc-on #hub .ob-compact{padding-top:28px;margin:0}
}
@media (prefers-reduced-motion:reduce){#obcVid{transition:none}}
/* 저장된 정보로 바로 보기(출생정보 수정 화면) */
#hub .ob-compact .ob-saved-go{display:flex;align-items:center;justify-content:center;width:100%;min-height:52px;margin:14px 0 6px;font-size:17px;text-decoration:none}
/* 2026-11-16 안내자 선택(입력 폼 앞) — 퀘스트의 #qs .qs-guide 와 같은 모양 */
#hub .ob-guidepick{max-width:680px;margin:0 auto;padding:36px 20px 44px;text-align:center}
#hub .ob-guidepick h1{font-family:var(--f-serif,serif);font-size:clamp(22px,3vw,28px);font-weight:600;margin:10px 0 10px;line-height:1.5}
#hub .ob-guidepick .note{color:#cfc4b2;font-size:14px;margin:0 auto;max-width:30em}
#hub .ob-guides{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:26px auto 0}
#hub .ob-guidepick .ob-guide{position:relative;display:block;height:clamp(280px,46vh,460px);border:1px solid rgba(255,255,255,.3);background:#111;color:#fff;padding:0;overflow:hidden;text-align:left;border-radius:0;cursor:pointer;transition:border-color .3s}
#hub .ob-guidepick .ob-guide img{width:100%;height:100%;object-fit:cover;filter:brightness(.78);transition:filter .5s,transform .8s;display:block}
#hub .ob-guidepick .ob-guide.m img{object-position:50% 58%}#hub .ob-guidepick .ob-guide.f img{object-position:50% 42%}
#hub .ob-guidepick .ob-guide::after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,rgba(5,8,11,.95),transparent 65%)}
#hub .ob-guidepick .ob-guide strong,#hub .ob-guidepick .ob-guide small{position:absolute;left:16px;right:14px;z-index:1}
#hub .ob-guidepick .ob-guide strong{bottom:62px;font:600 21px/1.3 var(--f-serif,serif)}
#hub .ob-guidepick .ob-guide small{bottom:16px;font-size:12px;line-height:1.5;color:#e1d4c1;word-break:keep-all}
#hub .ob-guidepick .ob-guide:is(:hover,:focus-visible){background:#111;border-color:#db6560}
#hub .ob-guidepick .ob-guide:is(:hover,:focus-visible) img{filter:brightness(1);transform:scale(1.04)}
#hub .ob-guidepick .ob-guide:focus-visible{outline:2px solid #ef8a82;outline-offset:3px}
@media(max-width:480px){#hub .ob-guidepick{padding:26px 16px 36px}#hub .ob-guides{gap:10px}#hub .ob-guidepick .ob-guide{height:clamp(240px,52vh,380px)}#hub .ob-guidepick .ob-guide strong{font-size:17px;left:12px;bottom:70px}#hub .ob-guidepick .ob-guide small{left:12px;right:10px;font-size:11px}}
@media(prefers-reduced-motion:reduce){#hub .ob-guidepick .ob-guide img{transition:none;transform:none!important}}
#hub .ob-guidepick .ob-guide.on{border-color:#db6560;box-shadow:0 0 0 1px #db6560,0 0 28px rgba(173,41,39,.35)}
#hub .ob-guidepick .ob-guide-now{position:absolute;top:12px;left:12px;z-index:2;font-style:normal;font-size:11px;padding:4px 8px;border-radius:999px;background:#8f1d1d;color:#fff8f0;letter-spacing:.02em}
/* 2026-11-20 출생정보 입력 디자인 다듬기 + 로고 — 한 장 입력 폼(.ob-compact .obx)에만 적용 · 포인트 색은 붉은색(로고) */
#hub .ob-compact .obx{display:grid;gap:12px}
#hub .obx .obx-sec{position:relative;padding:16px 16px 14px;border-radius:20px;border:1px solid rgba(214,62,40,.16);background:linear-gradient(160deg,rgba(255,255,255,.055),rgba(255,255,255,.012) 60%);box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 10px 30px rgba(0,0,0,.25);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
#hub .obx .obx-h{display:flex;align-items:center;gap:10px;margin:0 0 12px;font-family:var(--f-sans);font-size:.92rem;font-weight:600;letter-spacing:.02em;color:#E9E4D8}
#hub .obx .obx-h b{display:inline-grid;place-items:center;min-width:30px;height:22px;padding:0 6px;border-radius:999px;font:700 .68rem/1 var(--f-sans);letter-spacing:.08em;color:#FFF4EE;background:linear-gradient(135deg,#E8553B,#B3261A)}
#hub .obx .f{margin:0 0 10px !important}#hub .obx .obx-sec>.f:last-child,#hub .obx .obx-sec>.chk:last-child{margin-bottom:0 !important}
#hub .obx .row3>span:first-child,#hub .obx .row2>span:first-child,#hub .obx .seg>span:first-child{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* 성별: 큰 카드 + 女·男 글자 */
#hub .obx .ob-gender{display:grid !important;grid-template-columns:1fr 1fr;gap:10px;margin:0 !important}
#hub .obx .ob-gender button{position:relative;overflow:hidden;min-height:64px !important;border-radius:16px;border:1px solid rgba(236,231,219,.12);background:rgba(8,10,17,.55);color:#B1ACA0;font:600 1.05rem var(--f-sans);letter-spacing:.06em;transition:border-color .25s,background .25s,color .25s,transform .15s}
#hub .obx .ob-gender button::before{content:'';position:absolute;right:10px;bottom:-14px;font:400 3.4rem/1 var(--f-serif);color:rgba(214,62,40,.12);transition:color .25s}
#hub .obx .ob-gender button[data-g=F]::before{content:'女'}#hub .obx .ob-gender button[data-g=M]::before{content:'男'}
#hub .obx .ob-gender button:active{transform:scale(.98)}
#hub .obx .ob-gender button.on{border-color:#D9452E;color:#FFE1D8;background:linear-gradient(150deg,rgba(214,62,40,.22),rgba(214,62,40,.06));box-shadow:0 0 0 3px rgba(214,62,40,.12),0 8px 24px rgba(214,62,40,.12)}
#hub .obx .ob-gender button.on::before{color:rgba(255,150,125,.32)}
/* 양력/음력: 하나로 붙은 알약 스위치 */
#hub .obx .seg{display:grid !important;grid-template-columns:1fr 1fr !important;gap:4px;padding:4px;border-radius:14px;background:rgba(8,10,17,.6);border:1px solid rgba(236,231,219,.08)}
#hub .obx .seg i{min-height:42px !important;padding:8px 6px !important;border:0 !important;border-radius:11px !important;background:transparent !important;color:#9F9A8E !important;font-weight:600;transition:background .25s,color .25s}
#hub .obx .seg input:checked+i{background:linear-gradient(135deg,#E8553B,#B3261A) !important;color:#FFF4EE !important;box-shadow:0 4px 14px rgba(214,62,40,.25)}
/* 날짜·시각 고르기 */
#hub .obx .row3{display:grid !important;grid-template-columns:1.25fr 1fr 1fr;gap:8px}
#hub .obx .row2{display:grid !important;grid-template-columns:1fr 1fr;gap:8px}
#hub .obx select,#hub .obx input[type=number]{appearance:none;-webkit-appearance:none;width:100%;min-height:54px !important;padding:10px 34px 10px 14px !important;border-radius:14px;border:1px solid rgba(236,231,219,.12);background:rgba(8,10,17,.6) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23E0533A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 13px center;color:#F1ECE0;font:600 1.05rem var(--f-sans);font-variant-numeric:tabular-nums;letter-spacing:.02em;transition:border-color .2s,box-shadow .2s}
#hub .obx input[type=number]{background-image:none;padding-right:38px !important;-moz-appearance:textfield}
#hub .obx input[type=number]::-webkit-inner-spin-button,#hub .obx input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
#hub .obx select:focus,#hub .obx input[type=number]:focus{border-color:#D9452E;box-shadow:0 0 0 3px rgba(214,62,40,.18);outline:none}
#hub .obx select:disabled,#hub .obx input:disabled{opacity:.38}
#hub .obx select option{background:#0E111B;color:#E9E4D8}
#hub .obx .ob-min{position:relative;display:block;grid-column:auto !important}#hub .obx .ob-min em{position:absolute;right:14px;top:50%;transform:translateY(-50%);font-style:normal;font-size:.86rem;color:#7C786C;pointer-events:none}
/* 시각을 몰라요·윤달: 토글 스위치 */
#hub .obx .chk{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;margin-top:6px;padding:4px 2px;flex-direction:row-reverse}
#hub .obx .chk i{font-style:normal;color:#B1ACA0;font-size:.92rem;margin-right:auto}
#hub .obx .chk input{appearance:none;-webkit-appearance:none;position:relative;flex:none;width:46px !important;height:26px !important;min-height:0 !important;padding:0 !important;margin:0;border-radius:999px;background:rgba(236,231,219,.14);border:1px solid rgba(236,231,219,.12);cursor:pointer;transition:background .25s}
#hub .obx .chk input::before{content:'';position:absolute;top:2px;left:2px;width:20px;height:20px;border-radius:50%;background:#E9E4D8;box-shadow:0 2px 6px rgba(0,0,0,.4);transition:transform .25s}
#hub .obx .chk input:checked{background:linear-gradient(135deg,#E8553B,#B3261A);border-color:transparent}
#hub .obx .chk input:checked::before{transform:translateX(20px);background:#FFFFFF}
#hub .obx .chk input:focus-visible{outline:2px solid #D9452E;outline-offset:2px}
/* 추가 설정 묶음 */
#hub .obx .obx-more{border-radius:20px;border:1px dashed rgba(214,62,40,.2);padding:4px 16px}
#hub .obx .ob-places button.on{border-color:#D9452E;background:rgba(214,62,40,.16);color:#FFE1D8}
#hub .obx .obx-more>summary{cursor:pointer;padding:12px 0;color:#D9452E;font-size:.9rem;font-weight:600}
/* 입력 요약 줄 + 제출 단추 */
#hub .ob-compact .obx-pv{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:16px 0 4px;padding:10px 14px;border-radius:14px;background:rgba(214,62,40,.08);border:1px solid rgba(214,62,40,.18);font-size:.88rem;color:#E9E4D8}
#hub .ob-compact .obx-pv[hidden]{display:none}
#hub .ob-compact .obx-pv span{font-size:.72rem;letter-spacing:.08em;color:#D9452E;margin-right:4px}
#hub .ob-compact .obx-pv i{font-style:normal;color:#7C786C}
#hub .ob-compact .obx-go{position:relative;display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:58px;margin-top:10px;border:0;border-radius:16px;background:linear-gradient(135deg,#EE6A4D 0%,#C9321F 55%,#8F1D12 100%);color:#FFF6F1;font:700 1.08rem var(--f-sans);letter-spacing:.04em;box-shadow:0 10px 30px rgba(214,62,40,.28),inset 0 1px 0 rgba(255,255,255,.28);cursor:pointer;transition:transform .15s,box-shadow .25s}
#hub .ob-compact .obx-go::after{content:'→';font-weight:400;transition:transform .25s}
#hub .ob-compact .obx-go:hover{box-shadow:0 14px 36px rgba(214,62,40,.38),inset 0 1px 0 rgba(255,255,255,.28)}#hub .ob-compact .obx-go:hover::after{transform:translateX(4px)}
#hub .ob-compact .obx-go:active{transform:scale(.985)}
#hub .ob-compact .obx-go.ghost{background:rgba(214,62,40,.1);color:#FFB4A2;border:1px solid rgba(214,62,40,.45);box-shadow:none}
@media (max-width:420px){#hub .obx .obx-sec{padding:14px 12px 12px;border-radius:18px}#hub .obx .row3{grid-template-columns:1.35fr 1fr 1fr;gap:6px}#hub .obx select,#hub .obx input[type=number]{font-size:16px;padding-left:11px !important;padding-right:24px !important;background-position:right 9px center}#hub .obx input[type=number]{padding-right:30px !important}#hub .obx .ob-gender button::before{font-size:2.4rem;right:6px;bottom:-8px}}
@media (prefers-reduced-motion:reduce){#hub .obx *,#hub .ob-compact .obx-go{transition:none}}
