/* 나갈래? 말할래? 남을래? — 모바일 먼저, 쿠키 디자인 */
* { 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; }

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

.ev-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; }
.ev-btn:hover { border-color: #C98A4B; }
.ev-btn:active { transform: scale(.98); }
.ev-btn:disabled { opacity: .6; cursor: default; }
.ev-btn.pri { background: #EA580C; border-color: #EA580C; color: #fff; }
.ev-btn.pri:hover { background: #C2410C; border-color: #C2410C; }
.ev-btn.big { min-height: 56px; padding: 0 30px; font-size: 17px; }
.ev-btn.sm { min-height: 36px; padding: 0 14px; font-size: 13px; }
.ev-btn:focus-visible, .ev-opt:focus-visible, .ev-input:focus-visible { outline: 3px solid #FDBA74; outline-offset: 2px; }
.ev-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }
.ev-muted { color: #8B7355; font-size: 14px; }
.ev-toast { min-height: 20px; margin: 10px 0 0; text-align: center; font-size: 14px; font-weight: 700; color: #166534; }
.ev-eye { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: .1em; color: #C98A4B; }

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

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

/* 질문 */
.ev-gtag { display: inline-block; margin: 0 0 12px; padding: 4px 12px; border-radius: 999px; background: #E0F2FE; color: #0369A1; font-size: 13px; font-weight: 800; }
.ev-prog { height: 8px; border-radius: 4px; background: #F3E8D9; overflow: hidden; }
.ev-prog i { display: block; height: 100%; background: linear-gradient(90deg, #F59E0B, #EA580C); transition: width .3s; }
.ev-qn { margin: 22px 0 10px; font-size: 13px; font-weight: 800; color: #C98A4B; }
.ev-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: evIn .35s ease; }
.ev-card-tag { position: absolute; top: -12px; left: 18px; padding: 4px 12px; border-radius: 999px; background: #EA580C; color: #fff; font-size: 12px; font-weight: 800; }
.ev-card h2 { margin: 0; font-size: 21px; line-height: 1.5; font-weight: 800; }
.ev-q { margin: 0; font-size: 22px; line-height: 1.45; font-weight: 800; }
.ev-hint { margin: 14px 0 0; font-size: 14px; color: #8B7355; }
.ev-opts { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ev-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; }
.ev-opt:hover { border-color: #F59E0B; background: #FFF7ED; }
.ev-opt.sel { border-color: #EA580C; background: #FFEDD5; }
.ev-opts.scale { flex-direction: row; gap: 6px; }
.ev-opts.scale li { flex: 1; }
.ev-opt.sc { min-height: 72px; padding: 10px 4px; text-align: center; font-size: 13px; line-height: 1.35; }
.ev-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; }
.ev-cnt { font-size: 14px; font-weight: 700; color: #C4B5A0; }

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

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

/* 함께하기 · 모임 결과 */
.ev-title { margin: 6px 0 0; font-size: 26px; font-weight: 900; line-height: 1.35; }
.ev-howto { margin: 18px 0 0; padding: 0; list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 10px; }
.ev-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; }
.ev-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; }
.ev-howto b { display: block; color: #1B1F1C; font-size: 15px; }
.ev-label { display: block; margin: 4px 0 6px; font-size: 14px; font-weight: 700; color: #4A5249; }
.ev-input { width: 100%; min-height: 50px; padding: 0 14px; border-radius: 14px; border: 1.5px solid #E2D3BF; background: #FFFCF7; font-size: 16px; }
.ev-glist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ev-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; }
.ev-glist b { display: block; font-size: 15px; }
.ev-glist small { font-size: 13px; color: #8B7355; }
.ev-glist em { font-style: normal; color: #B91C1C; }
.ev-glist .act { display: flex; gap: 6px; }
.ev-gmeta { margin: 8px 0 0; font-size: 15px; color: #6B7268; }
.ev-gmeta b { color: #EA580C; font-size: 18px; }
.ev-wait { font-size: 40px; margin: 0 !important; }
.ev-cards { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ev-cards p { margin: 0 0 6px !important; font-size: 13px !important; font-weight: 700; color: #4A5249 !important; }
.ev-cards .st { display: flex; height: 22px; border-radius: 8px; overflow: hidden; background: #F3EEE6; }
.ev-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; }
.ev-talk { margin: 6px 0 0; padding-left: 20px; font-size: 15px; line-height: 1.8; color: #374151; }

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

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

/* 먼저 꼭 읽어 보기 (0.1.3) */
.ev-start-ab.ev-must { margin: 20px 0 0; border: 2px solid #EA580C; background: #FFF7ED; box-shadow: 0 6px 16px rgba(234,88,12,.12); }
.ev-must > summary { text-align: center; padding: 16px 44px; }
.ev-must > summary b { display: block; font-size: 19px; font-weight: 900; color: #C2410C; }
.ev-must:not([open]) > summary { animation: evPulse 2.4s ease-in-out infinite; border-radius: 18px; }
.ev-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 evPulse { 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) { .ev-must > summary { animation: none !important; } }
.ev-con b, .qq span, .ev-uses span, .ev-caution ul { word-break: keep-all; }
@media (max-width: 480px) { .ev-start-ab > :not(summary), .ev-about > :not(summary) { margin-left: 16px !important; margin-right: 16px !important; } }

/* 함께하기 닉네임 · 참여자별 결과 · 90일 자동 삭제 안내 */
.ev-nick { margin: 4px 0 14px; text-align: left; }
.ev-nick .ev-label { margin-top: 0; }
.ev-nick .ev-nick-help { margin: 0 0 8px; font-size: 13px; color: #6B7268; line-height: 1.5; }
.ev-nick .ev-nick-err { margin: 6px 0 0; font-size: 13px; font-weight: 700; color: #B91C1C; }
.ev-nick .ev-input { max-width: 100%; }
.ev-gbanner .ev-keep, .ev-keep { margin: 10px 0 0; font-size: 12.5px; color: #8B7355; line-height: 1.5; }
.ev-nickfix p { margin: 0 0 10px; font-size: 14px; line-height: 1.55; }
.ev-expire { margin: 6px 0 0; font-size: 13.5px; color: #6B7268; line-height: 1.5; }
.ev-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; }
.ev-mnote { margin: 0 0 10px; font-size: 13px; color: #6B7268; }
.ev-members { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.ev-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; }
.ev-members .no { grid-row: span 2; font-size: 12px; font-weight: 800; color: #8B7355; }
.ev-members .nk { min-width: 0; font-size: 14px; overflow-wrap: anywhere; }
.ev-members .nk em { font-style: normal; font-weight: 600; color: #94A3B8; }
.ev-members time { font-size: 12px; color: #8B7355; white-space: nowrap; }
.ev-members .vs { grid-column: 2 / 4; min-width: 0; display: flex; flex-wrap: wrap; gap: 2px 10px; color: #4A5249; }
.ev-members .vs b { font-weight: 800; }
