/* 반 쪽 줄래, 다 먹을래? — 디자인 (나갈래? 말할래? 남을래? 디자인을 바탕으로 함) */
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: "Pretendard", "Malgun Gothic", sans-serif; color: #1B1F1C; background: #FDF6EC; word-break: keep-all; -webkit-text-size-adjust: 100%; }
button, input { font: inherit; }
a { color: inherit; }

.hf-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 760px; margin: 0 auto; padding: 14px 20px; }
.hf-top .home { font-size: 14px; font-weight: 700; color: #8B5A2B; text-decoration: none; }
.hf-top .logo { font-size: 15px; font-weight: 900; text-decoration: none; }
.hf-top .logo span { color: #EA580C; }
.hf-main { max-width: 680px; margin: 0 auto 48px; padding: 0 16px; }
.hf-main > section { background: #fff; border-radius: 28px; padding: 34px 26px; box-shadow: 0 10px 30px rgba(139,90,43,.08); }
.hf-foot { text-align: center; padding: 0 16px 36px; font-size: 13px; color: #A8927A; }
.hf-foot b { color: #8B5A2B; }

.hf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 0 20px; border-radius: 999px; border: 1.5px solid #E2D3BF; background: #fff; color: #5B3A1E; font-weight: 700; font-size: 15px; cursor: pointer; text-decoration: none; transition: transform .12s, background .15s, border-color .15s; }
.hf-btn:hover { border-color: #C98A4B; }
.hf-btn:active { transform: scale(.98); }
.hf-btn:disabled { opacity: .6; cursor: default; }
.hf-btn.pri { background: #EA580C; border-color: #EA580C; color: #fff; }
.hf-btn.pri:hover { background: #C2410C; border-color: #C2410C; }
.hf-btn.big { min-height: 56px; padding: 0 30px; font-size: 17px; }
.hf-btn.sm { min-height: 36px; padding: 0 14px; font-size: 13px; }
.hf-btn:focus-visible, .hf-opt:focus-visible, .hf-input:focus-visible { outline: 3px solid #FDBA74; outline-offset: 2px; }
.hf-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }
.hf-muted { color: #8B7355; font-size: 14px; }
.hf-toast { min-height: 20px; margin: 10px 0 0; text-align: center; font-size: 14px; font-weight: 700; color: #166534; }
.hf-eye { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: .1em; color: #C98A4B; }

/* 시작 */
.hf-start { text-align: center; }
.hf-logo { margin: 10px 0 0; font-size: 42px; font-weight: 900; line-height: 1.15; letter-spacing: -.02em; }
.hf-logo small { display: block; margin-top: 10px; font-size: 13px; font-weight: 800; letter-spacing: .22em; color: #EA580C; }
.hf-ask { margin: 18px 0 0; font-size: 18px; line-height: 1.6; color: #5B3A1E; }
.hf-ask b { font-size: 22px; color: #1B1F1C; }
.hf-resp { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 20px 0 0; }
.hf-resp span { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 4px; border-radius: 16px; background: color-mix(in srgb, var(--c) 10%, #fff); border: 1.5px solid color-mix(in srgb, var(--c) 30%, #fff); font-weight: 800; font-size: 15px; color: var(--c); }
.hf-resp i { font-style: normal; font-size: 26px; }
.hf-resp small { font-size: 11px; font-weight: 700; opacity: .8; }
.hf-theory { margin: 18px 0 0; padding: 14px 16px; border-radius: 18px; background: linear-gradient(135deg, #FFF7ED, #FEF3C7); border: 1.5px solid #FDBA74; }
.hf-theory b { display: block; font-size: 15px; font-weight: 800; line-height: 1.55; color: #5B3A1E; }
.hf-theory b i { font-style: normal; margin-right: 4px; }
.hf-theory b span { color: #EA580C; }
.hf-theory small { display: block; margin-top: 6px; font-size: 13px; color: #8B7355; }
.hf-modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 22px; text-align: left; }
.hf-mode { display: flex; flex-direction: column; gap: 10px; padding: 20px 18px; border-radius: 20px; border: 1.5px solid #F0E6D8; background: #FFFCF7; }
.hf-mode.tog { background: #F0F9FF; border-color: #BAE6FD; }
.hf-mode .t { font-size: 18px; font-weight: 900; }
.hf-mode p { margin: 0; font-size: 14px; line-height: 1.6; color: #4A5249; }
.hf-mode .hf-btn { margin-top: auto; width: 100%; }
.hf-price { display: inline-block; margin: 0; padding: 6px 10px; border-radius: 10px; background: #FEF3C7; color: #92400E !important; font-size: 12px !important; font-weight: 700; line-height: 1.5; }
.hf-price.big { display: block; margin: 12px 0 0; font-size: 14px !important; text-align: center; }
.hf-gbanner { margin-top: 22px; padding: 20px; border-radius: 20px; background: #F0F9FF; border: 1.5px solid #BAE6FD; font-size: 16px; line-height: 1.6; }
.hf-gbanner span { display: block; font-size: 13px; font-weight: 800; color: #0369A1; margin-bottom: 4px; }
.hf-gbanner p { margin: 6px 0 14px; font-size: 14px; color: #4A5249; }
.hf-gbanner.closed { background: #F1F5F9; border-color: #CBD5E1; }
.hf-note { margin: 18px 0 0; font-size: 12px; line-height: 1.6; color: #9CA3AF; }

/* 소개 */
.hf-start-ab, .hf-about { margin-top: 20px; border-radius: 18px; border: 1.5px solid #F0E6D8; background: #FFFCF7; text-align: left; }
.hf-start-ab summary, .hf-about summary { list-style: none; position: relative; display: block; padding: 16px 48px 16px 18px; cursor: pointer; font-size: 16px; font-weight: 800; color: #5B3A1E; }
.hf-start-ab summary::-webkit-details-marker, .hf-about summary::-webkit-details-marker { display: none; }
.hf-start-ab summary span { display: block; margin-top: 4px; font-size: 13px; font-weight: 500; color: #8B7355; }
.hf-start-ab summary::after, .hf-about summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; border-right: 2.5px solid #C98A4B; border-bottom: 2.5px solid #C98A4B; transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.hf-start-ab[open] summary::after, .hf-about[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.hf-start-ab[open] summary, .hf-about[open] summary { border-bottom: 1px solid #F0E6D8; }
.hf-start-ab > :not(summary), .hf-about > :not(summary) { margin-left: 22px !important; margin-right: 22px !important; }
.hf-start-ab > :last-child, .hf-about > :last-child { margin-bottom: 18px; }
.hf-start-ab p, .hf-about p { font-size: 15px; line-height: 1.85; color: #374151; margin: 14px 0 0; word-break: keep-all; overflow-wrap: break-word; }
.hf-ab-lead { padding: 12px 14px; border-radius: 12px; background: #FFF7ED; font-weight: 800; color: #9A3412 !important; margin-top: 16px !important; }
.hf-start-ab h3, .hf-about h3 { margin: 26px 0 12px; font-size: 17px; font-weight: 800; word-break: keep-all; }
.hf-con { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.hf-con li { padding: 12px 14px; border-radius: 14px; border-left: 4px solid var(--c); background: #fff; }
.hf-con b { font-size: 15px; color: var(--c); }
.hf-con b i { font-style: normal; margin-right: 4px; }
.hf-con b small { color: #9CA3AF; font-weight: 600; }
.qq { display: flex; align-items: stretch; gap: 8px; margin-top: 8px; }
.qq span { flex: 1; padding: 8px 10px; border-radius: 10px; background: #FFFCF7; border: 1px solid #F0E6D8; font-size: 14px; font-weight: 700; line-height: 1.5; }
.qq span:last-child { background: #FFF7ED; border-color: #FED7AA; color: #9A3412; }
.qq em { display: block; font-style: normal; font-size: 11px; font-weight: 800; color: #9CA3AF; }
.qq > i { align-self: center; font-style: normal; color: #C98A4B; font-weight: 800; }
.hf-ab-sub { font-size: 14px !important; color: #6B7268 !important; }
.hf-uses { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hf-uses li { padding: 12px; border-radius: 12px; background: #F0FDF4; display: flex; flex-direction: column; gap: 4px; }
.hf-uses b { color: #166534; font-size: 15px; }
.hf-uses span { font-size: 14px; line-height: 1.6; }
.hf-caution { margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: #FEF3C7; border: 1px solid #FDE68A; }
.hf-caution b { color: #92400E; }
.hf-caution ul { margin: 6px 0 0; padding-left: 18px; font-size: 14px; line-height: 1.7; color: #78350F; }

/* 질문 */
.hf-gtag { display: inline-block; margin: 0 0 12px; padding: 4px 12px; border-radius: 999px; background: #E0F2FE; color: #0369A1; font-size: 13px; font-weight: 800; }
.hf-prog { height: 8px; border-radius: 4px; background: #F3E8D9; overflow: hidden; }
.hf-prog i { display: block; height: 100%; background: linear-gradient(90deg, #F59E0B, #EA580C); transition: width .3s; }
.hf-qn { margin: 22px 0 10px; font-size: 13px; font-weight: 800; color: #C98A4B; }
.hf-card { position: relative; padding: 26px 22px 22px; border-radius: 22px; background: linear-gradient(160deg, #FFF7ED, #FFEDD5); border: 1.5px solid #FED7AA; box-shadow: 0 8px 20px rgba(234,88,12,.08); animation: hfIn .35s ease; }
.hf-card-tag { position: absolute; top: -12px; left: 18px; padding: 4px 12px; border-radius: 999px; background: #EA580C; color: #fff; font-size: 12px; font-weight: 800; }
.hf-card h2 { margin: 0; font-size: 21px; line-height: 1.5; font-weight: 800; }
.hf-q { margin: 0; font-size: 22px; line-height: 1.45; font-weight: 800; }
.hf-hint { margin: 14px 0 0; font-size: 14px; color: #8B7355; }
.hf-opts { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.hf-opt { width: 100%; min-height: 56px; padding: 14px 18px; border-radius: 16px; border: 1.5px solid #EADFCF; background: #FFFCF7; text-align: left; font-size: 16px; font-weight: 600; color: #1B1F1C; cursor: pointer; transition: border-color .15s, background .15s; }
.hf-opt:hover { border-color: #F59E0B; background: #FFF7ED; }
.hf-opt.sel { border-color: #EA580C; background: #FFEDD5; }
.hf-opts.scale { flex-direction: row; gap: 6px; }
.hf-opts.scale li { flex: 1; }
.hf-opt.sc { min-height: 72px; padding: 10px 4px; text-align: center; font-size: 13px; line-height: 1.35; }
.hf-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; }
.hf-cnt { font-size: 14px; font-weight: 700; color: #C4B5A0; }

.hf-busy { text-align: center; padding: 70px 20px !important; }
.hf-walk { font-size: 64px; animation: hfWalk 1s ease-in-out infinite; }
.hf-busy p { margin: 16px 0 0; font-size: 18px; font-weight: 700; color: #5B3A1E; }

/* 결과 */
.hf-res { text-align: center; }
.hf-shared { display: inline-block; margin: 0 0 10px; padding: 4px 12px; border-radius: 999px; background: #FEF3C7; color: #92400E; font-size: 13px; font-weight: 700; }
.hf-type .e { display: block; font-size: 56px; line-height: 1.15; margin-top: 8px; }
.hf-type h1 { margin: 8px 0 0; font-size: 32px; font-weight: 900; color: var(--tc); }
.hf-type p { margin: 6px 0 0; font-size: 16px; font-weight: 700; color: #6B7268; }
.hf-mix { display: inline-block; margin: 12px 0 0; padding: 6px 12px; border-radius: 999px; background: #F1F5F9; font-size: 14px; font-weight: 700; color: #475569; }
.hf-desc { margin: 16px 0 0; font-size: 16px; line-height: 1.75; color: #374151; text-align: left; }
.hf-cardbox { margin-top: 20px; padding: 20px 18px; border-radius: 20px; border: 1px solid #F0E6D8; text-align: left; }
.hf-cardbox.center { text-align: center; }
.hf-cardbox h2 { margin: 0 0 10px; font-size: 17px; font-weight: 800; }
.hf-cardbox p { margin: 8px 0 0; font-size: 15px; line-height: 1.7; color: #374151; }
.hf-map { display: block; width: 100%; max-width: 320px; margin: 6px auto 0; }
.hf-map.small { max-width: 240px; margin-top: 14px; }
.hf-map .ic { font-size: 26px; }
.hf-map .nm { font-size: 13px; font-weight: 800; }
.hf-map .ax { stroke: #D6C8B4; stroke-width: 1.5; stroke-dasharray: 4 4; }
.hf-map .lb { font-size: 11px; font-weight: 700; fill: #A8927A; }
.hf-map .me { fill: var(--tc, #EA580C); stroke: #fff; stroke-width: 4; }
.hf-map .mt { font-size: 12px; font-weight: 900; fill: #1B1F1C; }
.hf-map .dot { fill: #1B1F1C; opacity: .28; }
.hf-bars, .hf-tdist { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.hf-bars li, .hf-tdist li { display: grid; grid-template-columns: 100px 1fr 46px; align-items: center; gap: 10px; font-size: 14px; }
.hf-tdist li { grid-template-columns: 170px 1fr 40px; }
.hf-bars .n, .hf-tdist .n { font-weight: 700; color: #4A5249; }
.hf-bars .b, .hf-tdist .b { height: 12px; border-radius: 6px; background: #F3EEE6; overflow: hidden; }
.hf-bars .b i, .hf-tdist .b i { display: block; height: 100%; border-radius: 6px; }
.hf-bars b, .hf-tdist b { text-align: right; font-weight: 800; }
.hf-conds { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.hf-conds li { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; border-radius: 10px; background: #FFFCF7; font-size: 14px; font-weight: 700; color: #4A5249; }
.hf-conds b { color: #EA580C; letter-spacing: 2px; }
.hf-conds b i { font-style: normal; color: #E7DCCB; }
.hf-conds b.num { letter-spacing: 0; color: #1B1F1C; }
.hf-org { margin-top: 12px; border-radius: 14px; background: #F0F9FF; padding: 2px 14px 12px; }
.hf-org summary { cursor: pointer; padding: 10px 0 4px; font-weight: 800; color: #0369A1; }
.hf-org p { font-size: 14px; }
.hf-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.hf-links span { font-size: 13px; font-weight: 800; color: #8B5A2B; margin-right: 4px; }
.hf-links a { padding: 8px 14px; border-radius: 999px; background: #FFF7ED; border: 1px solid #FED7AA; color: #9A3412; font-size: 14px; font-weight: 700; text-decoration: none; }
.hf-refnote { margin: 18px 0 0; padding: 10px 14px; border-radius: 12px; background: #FEF3C7; font-size: 14px; font-weight: 700; color: #92400E; }

/* 함께하기 · 모임 결과 */
.hf-title { margin: 6px 0 0; font-size: 26px; font-weight: 900; line-height: 1.35; }
.hf-howto { margin: 18px 0 0; padding: 0; list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 10px; }
.hf-howto li { counter-increment: s; position: relative; padding: 12px 14px 12px 48px; border-radius: 14px; background: #FFFCF7; font-size: 14px; line-height: 1.6; color: #4A5249; }
.hf-howto li::before { content: counter(s); position: absolute; left: 14px; top: 12px; width: 24px; height: 24px; border-radius: 50%; background: #EA580C; color: #fff; font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.hf-howto b { display: block; color: #1B1F1C; font-size: 15px; }
.hf-label { display: block; margin: 4px 0 6px; font-size: 14px; font-weight: 700; color: #4A5249; }
.hf-input { width: 100%; min-height: 50px; padding: 0 14px; border-radius: 14px; border: 1.5px solid #E2D3BF; background: #FFFCF7; font-size: 16px; }
.hf-glist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.hf-glist li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #FFFCF7; border: 1px solid #F0E6D8; }
.hf-glist b { display: block; font-size: 15px; }
.hf-glist small { font-size: 13px; color: #8B7355; }
.hf-glist em { font-style: normal; color: #B91C1C; }
.hf-glist .act { display: flex; gap: 6px; }
.hf-gmeta { margin: 8px 0 0; font-size: 15px; color: #6B7268; }
.hf-gmeta b { color: #EA580C; font-size: 18px; }
.hf-wait { font-size: 40px; margin: 0 !important; }
.hf-cards { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.hf-cards p { margin: 0 0 6px !important; font-size: 13px !important; font-weight: 700; color: #4A5249 !important; }
.hf-cards .st { display: flex; height: 22px; border-radius: 8px; overflow: hidden; background: #F3EEE6; }
.hf-cards .st i { display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 11px; font-weight: 800; color: #fff; white-space: nowrap; }
.hf-talk { margin: 6px 0 0; padding-left: 20px; font-size: 15px; line-height: 1.8; color: #374151; }

@keyframes hfIn { from { opacity: 0; transform: translateX(24px) rotate(1deg); } to { opacity: 1; transform: none; } }
@keyframes hfWalk { 0%,100% { transform: translateX(-12px); } 50% { transform: translateX(12px); } }
@media (prefers-reduced-motion: reduce) { .hf-card, .hf-walk { animation: none !important; } }

@media (max-width: 520px) {
	.hf-main { padding: 0 10px; }
	.hf-main > section { padding: 26px 16px; border-radius: 22px; }
	.hf-logo { font-size: 36px; }
	.hf-modes, .hf-uses { grid-template-columns: 1fr; }
	.hf-resp span { font-size: 13px; padding: 10px 2px; }
	.hf-card h2 { font-size: 18px; }
	.hf-opt.sc { font-size: 12px; min-height: 66px; }
	.hf-type h1 { font-size: 26px; }
	.hf-tdist li { grid-template-columns: 120px 1fr 36px; font-size: 13px; }
	.hf-bars li { grid-template-columns: 84px 1fr 42px; font-size: 13px; }
	.qq { flex-direction: column; }
	.qq > i { transform: rotate(90deg); }
	.hf-row .hf-btn { flex: 1 1 100%; }
}
.hf-btn.danger { color: #B91C1C; border-color: #FCA5A5; }
.hf-btn.danger:hover { background: #FEF2F2; border-color: #DC2626; }

/* 먼저 꼭 읽어 보기 (0.1.3) */
.hf-start-ab.hf-must { margin: 20px 0 0; border: 2px solid #EA580C; background: #FFF7ED; box-shadow: 0 6px 16px rgba(234,88,12,.12); }
.hf-must > summary { text-align: center; padding: 16px 44px; }
.hf-must > summary b { display: block; font-size: 19px; font-weight: 900; color: #C2410C; }
.hf-must:not([open]) > summary { animation: hfPulse 2.4s ease-in-out infinite; border-radius: 18px; }
.hf-mustnote { margin: 14px 0 0; padding: 10px 14px; border-radius: 12px; background: #FEF3C7; color: #92400E; font-size: 14px; font-weight: 700; line-height: 1.6; text-align: left; }
@keyframes hfPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(234,88,12,0); } 50% { box-shadow: 0 0 0 6px rgba(234,88,12,.15); } }
@media (prefers-reduced-motion: reduce) { .hf-must > summary { animation: none !important; } }
.hf-con b, .qq span, .hf-uses span, .hf-caution ul { word-break: keep-all; }
@media (max-width: 480px) { .hf-start-ab > :not(summary), .hf-about > :not(summary) { margin-left: 16px !important; margin-right: 16px !important; } }

/* 노벨상 홍보 배지 */
.hf-nobel { display: inline-flex; align-items: center; gap: 10px; margin: 14px auto 0; padding: 8px 18px 8px 10px; border-radius: 999px; background: linear-gradient(135deg, #FFFBEB, #FEF3C7); border: 2px solid #FCD34D; box-shadow: 0 6px 16px rgba(217,119,6,.18); text-align: left; }
.hf-nobel svg { width: 44px; height: 55px; flex: none; filter: drop-shadow(0 3px 4px rgba(146,64,14,.25)); }
.hf-nobel .tx b { display: block; font-size: 17px; font-weight: 900; color: #92400E; line-height: 1.25; }
.hf-nobel .tx small { display: block; font-size: 13px; font-weight: 700; color: #B45309; }
.hf-nobel.big { padding: 10px 22px 10px 12px; }
.hf-nobel.big svg { width: 60px; height: 75px; animation: hfShine 3s ease-in-out infinite; }
.hf-nobel.big .tx b { font-size: 20px; }
.hf-nobel.sm { margin: 0 auto 12px; padding: 6px 14px 6px 8px; }
.hf-nobel.sm svg { width: 30px; height: 38px; }
.hf-nobel.sm .tx b { font-size: 14px; } .hf-nobel.sm .tx small { font-size: 11px; }
@keyframes hfShine { 0%,100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg) scale(1.04); } }
.hf-claim { margin: 14px auto 0; max-width: 460px; padding: 10px 14px; border-radius: 14px; background: #FFFBEB; border: 1px dashed #F59E0B; font-size: 14px; font-weight: 700; line-height: 1.6; color: #92400E; word-break: keep-all; }
.hf-theory b span { color: #B45309 !important; }
@media (prefers-reduced-motion: reduce) { .hf-nobel.big svg { animation: none; } }

/* 반 쪽 줄래, 다 먹을래? 추가 */
.hf-logo span { color: #EA580C; }
.hf-logo small { letter-spacing: .08em; font-size: 11px; }
.hf-plate { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 18px auto 0; width: 260px; height: 92px; border-radius: 50%; background: radial-gradient(ellipse at center, #fff 55%, #F3E8D9 56%, #fff 70%); box-shadow: 0 10px 24px rgba(139,90,43,.15); font-size: 36px; }
.hf-plate .c { font-size: 46px; animation: hfWiggle 2s ease-in-out infinite; }
@keyframes hfWiggle { 0%,100% { transform: rotate(0); } 25% { transform: rotate(-12deg); } 75% { transform: rotate(12deg); } }
.hf-game { text-align: center; }
.hf-arena { display: grid; grid-template-columns: 1fr 1.2fr 1fr; align-items: center; gap: 10px; margin-top: 16px; }
.hf-side { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 6px; border-radius: 20px; background: #FFFCF7; border: 1.5px solid #F0E6D8; }
.hf-side .av { font-size: 44px; line-height: 1.1; }
.hf-side .mystery { display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 50%; background: #1B1F1C; color: #fff; font-size: 30px; }
.hf-side b { font-size: 15px; }
.hf-side em { font-style: normal; font-size: 18px; font-weight: 900; color: #8B5A2B; }
.hf-mid { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 130px; padding: 10px; border-radius: 22px; background: #FFF7ED; border: 2px dashed #F5C08A; }
.hf-mid .ck { font-size: 54px; animation: hfWiggle 2s ease-in-out infinite; }
.hf-mid small { font-size: 12px; color: #8B7355; font-weight: 700; }
.hf-mid.show { border-style: solid; border-color: #EA580C; animation: hfPop .35s ease; }
.hf-mid .dual { display: flex; align-items: center; gap: 8px; font-size: 38px; }
.hf-mid .dual i { font-style: normal; font-size: 13px; font-weight: 900; color: #9CA3AF; }
.hf-mid strong { font-size: 15px; font-weight: 900; color: #1B1F1C; word-break: keep-all; }
@keyframes hfPop { 0% { transform: scale(.9); } 60% { transform: scale(1.05); } 100% { transform: scale(1); } }
.hf-hint { margin: 14px 0 0; font-size: 15px; color: #6B7268; }
.hf-choose { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.hf-pick { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 18px 10px; border-radius: 22px; border: 2.5px solid transparent; font-family: inherit; cursor: pointer; transition: transform .12s; }
.hf-pick i { font-style: normal; font-size: 44px; line-height: 1.1; }
.hf-pick b { font-size: 19px; font-weight: 900; }
.hf-pick small { font-size: 12px; font-weight: 600; opacity: .8; }
.hf-pick.c { background: #DCFCE7; color: #166534; }
.hf-pick.d { background: #FEE2E2; color: #991B1B; }
.hf-pick:hover:not(:disabled) { transform: translateY(-3px); }
.hf-pick:focus-visible { outline: 3px solid #FDBA74; outline-offset: 3px; }
.hf-pick.sel { border-color: #1B1F1C; }
.hf-pick:disabled { cursor: default; opacity: .7; }
.hf-pick.sel:disabled { opacity: 1; }
.hf-hist { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 16px 0 0; padding: 0; }
.hf-hist li { display: flex; align-items: center; gap: 4px; padding: 6px 10px; border-radius: 999px; background: #F8F4EE; font-size: 13px; }
.hf-hist li b { font-size: 11px; color: #8B7355; }
.hf-hist li small { color: #6B7268; font-size: 11px; }
.hf-hist.big li { font-size: 16px; padding: 8px 12px; }
.hf-total { margin: 16px 0 0; font-size: 15px; color: #5B3A1E; }
.hf-reveal { text-align: center; }
.hf-botcard { margin-top: 10px; padding: 24px 18px; border-radius: 24px; background: color-mix(in srgb, var(--bc) 10%, #fff); border: 2px solid color-mix(in srgb, var(--bc) 40%, #fff); animation: hfPop .4s ease; }
.hf-botcard .e { display: block; font-size: 72px; line-height: 1.1; }
.hf-botcard h2 { margin: 10px 0 0; font-size: 22px; font-weight: 900; color: var(--bc); word-break: keep-all; }
.hf-botcard p { margin: 10px 0 0; font-size: 15px; line-height: 1.75; color: #374151; word-break: keep-all; }
.hf-score { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 18px; font-size: 17px; font-weight: 700; }
.hf-score b { font-size: 32px; font-weight: 900; color: #8B5A2B; }
.hf-score i { font-style: normal; font-size: 26px; color: #C98A4B; }
.hf-crumb { font-size: 64px; animation: hfWiggle .6s ease-in-out infinite; }
.hf-kpi { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.hf-kpi div { padding: 14px 10px; border-radius: 18px; background: #FFF7ED; text-align: center; }
.hf-kpi span { display: block; font-size: 13px; font-weight: 800; color: #8B5A2B; }
.hf-kpi b { display: block; font-size: 30px; font-weight: 900; color: #1B1F1C; }
.hf-kpi small { font-size: 12px; color: #8B7355; }
.hf-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.hf-rows li { display: grid; grid-template-columns: 1.4fr 1fr auto auto; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 12px; background: #FFFCF7; font-size: 14px; }
.hf-rows .n { font-weight: 800; word-break: keep-all; }
.hf-rows .m { letter-spacing: 1px; }
.hf-rows b { font-size: 15px; }
.hf-rows small { color: #8B7355; }
.hf-board { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.hf-board li { display: grid; grid-template-columns: 26px 1.6fr 2fr 40px; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; font-size: 14px; }
.hf-board li.me { background: #FFF7ED; border: 2px solid #EA580C; font-weight: 800; }
.hf-board .rk { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: #F3E8D9; font-size: 12px; font-weight: 900; }
.hf-board .b { height: 10px; border-radius: 5px; background: #F3E8D9; overflow: hidden; }
.hf-board .b i { display: block; height: 100%; background: linear-gradient(90deg, #F59E0B, #EA580C); }
.hf-board b { text-align: right; }
.hf-keys { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hf-keys li { padding: 10px 12px; border-radius: 12px; background: #F8FAFC; }
.hf-keys li.ok { background: #F0FDF4; }
.hf-keys b { display: block; font-size: 15px; }
.hf-keys span { font-size: 13px; color: #6B7268; }
.hf-cardbox.gift { background: #FFF7ED; border-color: #FED7AA; }
.hf-pay { width: 100%; border-collapse: separate; border-spacing: 6px; font-size: 14px; }
.hf-pay caption { font-size: 13px; color: #8B7355; padding-bottom: 4px; }
.hf-pay th { font-size: 13px; color: #5B3A1E; word-break: keep-all; }
.hf-pay td { padding: 10px 6px; border-radius: 12px; text-align: center; font-weight: 800; }
.hf-pay td small { display: block; font-weight: 600; font-size: 11px; opacity: .8; }
.hf-pay .cc { background: #DCFCE7; color: #166534; }
.hf-pay .dd { background: #FEE2E2; color: #991B1B; }
.hf-pay .cd, .hf-pay .dc { background: #FEF3C7; color: #92400E; }
.hf-big { font-size: 64px !important; font-weight: 900; color: #EA580C !important; margin: 4px 0 0 !important; line-height: 1.1 !important; }
.hf-big small { font-size: 26px; }
.hf-rbars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; align-items: end; height: 170px; margin-top: 10px; }
.hf-rbars div { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; gap: 4px; }
.hf-rbars span { width: 70%; border-radius: 10px 10px 4px 4px; background: linear-gradient(180deg, #34D399, #16A34A); }
.hf-rbars b { font-size: 14px; }
.hf-rbars small { font-size: 12px; color: #8B7355; }
@media (max-width: 480px) {
	.hf-arena { grid-template-columns: 1fr 1.3fr 1fr; gap: 6px; }
	.hf-side .av { font-size: 36px; }
	.hf-mid .ck { font-size: 44px; }
	.hf-mid .dual { font-size: 30px; }
	.hf-pick b { font-size: 17px; }
	.hf-rows li { grid-template-columns: 1fr auto; }
	.hf-rows .m, .hf-rows small { display: none; }
	.hf-board li { grid-template-columns: 24px 1.4fr 1fr 34px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .hf-plate .c, .hf-mid .ck, .hf-crumb, .hf-botcard, .hf-mid.show { animation: none !important; } }
.hf-pop { margin-top: 14px; padding: 14px 16px; border-radius: 16px; background: #F0FDF4; border: 1px solid #BBF7D0; }
.hf-pop > b { font-size: 15px; color: #166534; }
.hf-pop ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.hf-pop li { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; }
.hf-pop em { font-style: normal; font-weight: 800; }
.hf-pop em.g { color: #15803D; } .hf-pop em.r { color: #B91C1C; }
.hf-pop p { font-size: 14px !important; }

/* 함께하기 닉네임 · 참여자별 결과 · 90일 자동 삭제 안내 */
.hf-nick { margin: 4px 0 14px; text-align: left; }
.hf-nick .hf-label { margin-top: 0; }
.hf-nick .hf-nick-help { margin: 0 0 8px; font-size: 13px; color: #6B7268; line-height: 1.5; }
.hf-nick .hf-nick-err { margin: 6px 0 0; font-size: 13px; font-weight: 700; color: #B91C1C; }
.hf-nick .hf-input { max-width: 100%; }
.hf-gbanner .hf-keep, .hf-keep { margin: 10px 0 0; font-size: 12.5px; color: #8B7355; line-height: 1.5; }
.hf-nickfix p { margin: 0 0 10px; font-size: 14px; line-height: 1.55; }
.hf-expire { margin: 6px 0 0; font-size: 13.5px; color: #6B7268; line-height: 1.5; }
.hf-made { margin: 10px 0 0; padding: 10px 12px; border-radius: 12px; background: #F0FDF4; border: 1px solid #BBF7D0; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.hf-mnote { margin: 0 0 10px; font-size: 13px; color: #6B7268; }
.hf-members { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.hf-members li { display: grid; grid-template-columns: 2.2em minmax(0, 1fr) auto; column-gap: 8px; row-gap: 3px; align-items: baseline; padding: 8px 10px; border-radius: 12px; background: #FFFCF7; border: 1px solid #F0E6D8; font-size: 13px; line-height: 1.45; }
.hf-members .no { grid-row: span 2; font-size: 12px; font-weight: 800; color: #8B7355; }
.hf-members .nk { min-width: 0; font-size: 14px; overflow-wrap: anywhere; }
.hf-members .nk em { font-style: normal; font-weight: 600; color: #94A3B8; }
.hf-members time { font-size: 12px; color: #8B7355; white-space: nowrap; }
.hf-members .vs { grid-column: 2 / 4; min-width: 0; display: flex; flex-wrap: wrap; gap: 2px 10px; color: #4A5249; }
.hf-members .vs b { font-weight: 800; }
