/* 홀인원 스페셜 이벤트 (event/event_n.php) 2026-11-26 리뉴얼 — 메인(26_main) 초록 팔레트 */
.ev{width:740px;margin:4px 0 40px;font-family:'Pretendard','Noto Sans KR','Malgun Gothic',sans-serif;color:#1c3d27;letter-spacing:-.2px;text-align:left}
.ev *{box-sizing:border-box}
.ev h2,.ev h3,.ev h4{background:none!important;padding:0!important}
.ev em{font-style:normal;font-weight:700;color:#2f8f4e}

/* 머리 */
.ev-hero{position:relative;overflow:hidden;display:flex;align-items:center;gap:18px;padding:24px 26px;border-radius:18px;background:linear-gradient(120deg,#1c3d27,#2f8f4e 70%,#57b46a);color:#fff}
.ev-hero:after{content:"";position:absolute;right:-40px;bottom:-70px;width:260px;height:180px;border-radius:50%;background:radial-gradient(closest-side,rgba(255,255,255,.18),rgba(255,255,255,0))}
.ev-hero .flag{flex:none;width:58px;height:58px;border-radius:18px;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.3);display:flex;align-items:center;justify-content:center}
.ev-hero .flag svg{width:30px;height:30px;fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ev-hero .tx{flex:1;min-width:0;position:relative;z-index:1}
.ev-hero small{display:block;font-size:12px;font-weight:700;opacity:.85;margin-bottom:4px}
.ev-hero h2{margin:0 0 6px!important;font-size:22px!important;font-weight:800!important;color:#fff!important;letter-spacing:-.5px}
.ev-hero p{margin:0;font-size:13px;opacity:.92;word-break:keep-all;color:#fff}
.ev-hero .only{position:relative;z-index:1;flex:none;padding:7px 13px;border-radius:999px;background:#fff;color:#2f8f4e;font-size:12.5px;font-weight:800;white-space:nowrap}

/* 누적 포인트 */
.ev-pot{display:flex;gap:18px;margin-top:14px;padding:20px 22px;background:#fff;border:1px solid #e3ece4;border-radius:16px}
.ev-pot .jack{flex:none;width:300px;padding:16px 16px 12px;border-radius:14px;background:#f3f9f4;border:1px solid #dcebdf;text-align:right}
.ev-pot .jack h3{margin:0 0 10px!important;font-size:12.5px!important;font-weight:700!important;color:#4f7a5b!important;text-align:left}
.ev-pot .dg{display:flex;justify-content:flex-end;align-items:flex-end;gap:4px}
.ev-pot .dg b{width:34px;height:48px;border-radius:9px;background:linear-gradient(#264a31 50%,#1c3d27 50%);color:#fff;font:800 30px/48px 'Pretendard','Noto Sans KR',sans-serif;text-align:center;box-shadow:inset 0 -2px 0 rgba(0,0,0,.25),0 3px 8px rgba(28,61,39,.18);font-variant-numeric:tabular-nums}
.ev-pot .dg i{font-style:normal;font:800 26px/1 sans-serif;color:#1c3d27;padding:0 1px 4px}
.ev-pot .dg u{text-decoration:none;font-size:15px;font-weight:800;color:#2f8f4e;margin-left:4px;padding-bottom:3px}
.ev-pot .jack .sub{margin-top:9px;font-size:11.5px;color:#7d9584}
.ev-pot .info{flex:1;min-width:0}
.ev-pot .round{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:8px}
.ev-pot .round h3{margin:0!important;font-size:18px!important;font-weight:800!important;color:#1c3d27!important}
.ev-pot .live{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;background:#eaf6ec;color:#2f8f4e;font-size:11.5px;font-weight:800}
.ev-pot .live:before{content:"";width:7px;height:7px;border-radius:50%;background:#2f8f4e;animation:evp 1.4s ease-in-out infinite}
@keyframes evp{50%{opacity:.25}}
.ev-pot .meta{display:flex;gap:6px;margin-bottom:10px}
.ev-pot .meta span{padding:4px 9px;border-radius:8px;background:#f5f8f6;border:1px solid #e3ece4;font-size:11.5px;color:#4f7a5b}
.ev-pot .meta b{color:#1c3d27;margin-left:3px}
.ev-pot .info p{margin:0 0 6px;font-size:12.5px;line-height:1.6;color:#4a5f50;word-break:keep-all}

/* 공통 카드 */
.ev-card{margin-top:14px;background:#fff;border:1px solid #e3ece4;border-radius:16px;padding:18px 20px}
.ev-card>h3{display:flex;align-items:center;gap:8px;margin:0 0 14px!important;font-size:15px!important;font-weight:800!important;color:#1c3d27!important}
.ev-card>h3:before{content:"";width:4px;height:15px;border-radius:2px;background:#2f8f4e}
.ev-whead{display:flex;align-items:center;gap:10px;margin:0 0 14px}
.ev-whead h3{display:flex;align-items:center;gap:8px;margin:0!important;font-size:15px!important;font-weight:800!important;color:#1c3d27!important}
.ev-whead h3:before{content:"";width:4px;height:15px;border-radius:2px;background:#2f8f4e}
.ev-whead .ev-search{margin-left:auto}
.ev-shot{padding:10px}
.ev-shot img{display:block;width:100%;height:auto;border-radius:10px}

/* 참가 방법 */
.ev-steps{display:flex;align-items:stretch;gap:0;list-style:none;margin:0;padding:0;counter-reset:s}
.ev-steps li{position:relative;flex:1;padding:14px 12px 12px;border-radius:12px;background:#f5f8f6;border:1px solid #e3ece4;text-align:center}
.ev-steps li.wide{flex:2.2}
.ev-steps li+li{margin-left:28px}
.ev-steps li+li:before{content:"";position:absolute;left:-21px;top:50%;width:12px;height:12px;margin-top:-6px;border-top:2.5px solid #57b46a;border-right:2.5px solid #57b46a;transform:rotate(45deg)}
.ev-steps li b{display:flex;align-items:center;justify-content:center;gap:6px;font-size:14px;font-weight:800;color:#1c3d27}
.ev-steps li b:before{counter-increment:s;content:counter(s);width:20px;height:20px;border-radius:50%;background:#2f8f4e;color:#fff;font-size:11px;line-height:20px}
.ev-steps li span{display:block;margin-top:6px;font-size:11.5px;color:#6b8573;word-break:keep-all}
.ev-steps li.goal{background:#eaf6ec;border-color:#bfe0c6}

/* 유의사항 */
.ev-rules{list-style:none;margin:0;padding:0;counter-reset:r}
.ev-rules li{position:relative;padding:8px 0 8px 32px;border-top:1px dashed #e3ece4;font-size:12.8px;line-height:1.6;color:#3f5546;word-break:keep-all}
.ev-rules li:first-child{border-top:0}
.ev-rules li:before{counter-increment:r;content:counter(r);position:absolute;left:0;top:9px;width:21px;height:21px;border-radius:7px;background:#eaf6ec;color:#2f8f4e;font-size:11px;font-weight:800;line-height:21px;text-align:center}
.ev-rules li small{color:#7d9584}
.ev-rules .new{display:inline-block;margin-left:5px;padding:0 6px;border-radius:5px;background:#e8493f;color:#fff;font-size:10px;font-weight:800;line-height:17px;vertical-align:1px}
.ev-rules .cc{display:inline-block;margin:2px 3px 0 0;padding:0 7px;border-radius:6px;background:#f5f8f6;border:1px solid #e3ece4;font-size:11.5px;color:#1c3d27;line-height:20px}

/* 수상자 명단 */
.ev-search{display:flex;gap:6px}
.ev-search select,.ev-search input{height:34px;border:1px solid #d5e3d8;border-radius:9px;background:#fff;padding:0 10px;font:13px 'Pretendard','Noto Sans KR',sans-serif;color:#1c3d27;outline:0}
.ev-search input{width:170px}
.ev-search select:focus,.ev-search input:focus{border-color:#2f8f4e;box-shadow:0 0 0 3px rgba(47,143,78,.12)}
.ev-search button{height:34px;padding:0 14px;border:0;border-radius:9px;background:#2f8f4e;color:#fff;font:800 13px 'Pretendard','Noto Sans KR',sans-serif;cursor:pointer}
.ev-search button:hover{background:#277a42}
.ev-search a{display:inline-flex;align-items:center;height:34px;padding:0 10px;font-size:12px;color:#7d9584!important}
.ev-found{margin:-6px 0 10px;font-size:12px;color:#6b8573}
.ev-tbl{width:100%;border-collapse:separate;border-spacing:0;font-size:12.5px;table-layout:fixed}
.ev-tbl th{padding:8px 4px;background:#f3f9f4;border-top:1px solid #dcebdf;border-bottom:1px solid #dcebdf;color:#4f7a5b;font-weight:700;text-align:center;white-space:normal;line-height:1.25;word-break:keep-all;font-size:12px}
.ev-tbl th:first-child{border-left:1px solid #dcebdf;border-radius:10px 0 0 10px}
.ev-tbl th:last-child{border-right:1px solid #dcebdf;border-radius:0 10px 10px 0}
.ev-tbl td{padding:9px 6px;border-bottom:1px solid #eef3ef;text-align:center;color:#3f5546;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ev-tbl tr:hover td{background:#fafdfb}
.ev-tbl td.l{text-align:left}
.ev-tbl td.pt{font-weight:800;color:#1c3d27;text-align:right;padding-right:12px;font-variant-numeric:tabular-nums}
.ev-tbl td.no,.ev-tbl td.dt{color:#8aa192;font-variant-numeric:tabular-nums}
.ev-tbl a{color:#2f8f4e!important;font-weight:700;text-decoration:none}
.ev-tbl a:hover{text-decoration:underline}
.ev-tbl .hole{display:inline-block;min-width:26px;padding:0 6px;border-radius:7px;background:#eaf6ec;line-height:22px}
.ev-tbl .tp{display:inline-block;width:22px;height:22px;border-radius:7px;background:#2f8f4e;color:#fff;font-size:11px;font-weight:800;line-height:22px}
.ev-tbl .tp.a{background:#d48a1c}
.ev-tbl .empty td{padding:40px 0;color:#8aa192;white-space:normal}
.ev .udr-pg b{background:#2f8f4e!important;border-color:#2f8f4e!important}
.ev .udr-pg a,.ev .udr-pg b,.ev .udr-pg .udr-pg-off{border-radius:8px}
.ev .udr-pg a:hover{border-color:#2f8f4e!important;color:#2f8f4e!important}
@media (prefers-reduced-motion:reduce){.ev-pot .live:before{animation:none}}
