html:not(.pcs-on) .ev-page #ev-root { box-sizing: border-box; width: 100%; max-width: 100%; padding: 8px 16px 40px; }
html:not(.pcs-on) .ev-page #ev-root .m-page-head { padding: 12px 0 14px; }
html:not(.pcs-on) .ev-page #ev-root .m-page-head h1 { margin: 0 0 8px; font-size: 25px; line-height: 1.3; letter-spacing: -.7px; font-weight: 650; }
html:not(.pcs-on) .ev-page #ev-root .m-page-head p { margin: 0; color: var(--mp-muted); font-size: 13px; line-height: 1.65; word-break: keep-all; }

#ev-root .ev { box-sizing: border-box; width: 100%; margin: 0 auto; font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif; color: var(--mp-ink); word-break: keep-all; -webkit-tap-highlight-color: transparent; }
#ev-root .ev *, #ev-root .ev *::before, #ev-root .ev *::after { box-sizing: border-box; }
#ev-root .ev ul, #ev-root .ev ol { list-style: none; margin: 0; padding: 0; }
#ev-root .ev p { margin: 0 !important; }
#ev-root .ev button { font-family: inherit; cursor: pointer; }
#ev-root .ev a { color: inherit; text-decoration: none !important; }
#ev-root .ev .ev-ico { width: 16px; height: 16px; flex: none; display: inline-block; }

#ev-root .ev-tabs { display: flex; border-bottom: 1px solid var(--mp-line); margin: 0 0 14px; }
#ev-root .ev-tab { flex: 1; appearance: none; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 12px 0 11px; font-size: 15.5px; font-weight: 600; color: var(--mp-muted); letter-spacing: -.3px; }
#ev-root .ev-tab b { font-weight: 700; margin-left: 2px; }
#ev-root .ev-tab.is-on { color: var(--mp-ink); border-bottom-color: var(--mp-ink); }
#ev-root .ev-tab.is-on b { color: var(--mp-accent); }

#ev-root .ev-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 14px; font-size: 13px; color: var(--mp-muted); }
#ev-root .ev-count b { color: var(--mp-ink); font-weight: 700; }
#ev-root .ev-sort { display: flex; align-items: center; gap: 2px; }
#ev-root .ev-sort button { appearance: none; background: none; border: 0; padding: 4px 6px; font-size: 13px; color: var(--mp-muted); }
#ev-root .ev-sort button + button::before { content: ""; display: inline-block; width: 1px; height: 10px; background: var(--mp-line); margin: 0 10px 0 -2px; vertical-align: -1px; }
#ev-root .ev-sort button.is-on { color: var(--mp-ink); font-weight: 700; }

#ev-root .ev-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 560px) { html:not(.pcs-on) #ev-root .ev-grid { grid-template-columns: 1fr 1fr; } }
#ev-root .ev a.ev-card { display: flex; flex-direction: column; height: 100%; color: var(--mp-ink) !important; background: var(--mp-paper); border: 1px solid var(--mp-line); border-radius: 16px; overflow: hidden; transition: transform .15s ease, box-shadow .15s ease; }
#ev-root .ev-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(37, 37, 31, .08); }
#ev-root .ev-card-media { position: relative; }
#ev-root .ev-thumb, #ev-root .ev-d-media { position: relative; width: 100%; aspect-ratio: 40 / 21; overflow: hidden; background: var(--mp-hero); }
#ev-root .ev-d-media.is-full { aspect-ratio: auto; background: none; }
#ev-root .ev .ev-d-media.is-full img { height: auto; object-fit: contain; }
#ev-root .ev-thumb img, #ev-root .ev-d-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
#ev-root .ev-ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: var(--mp-soft); color: var(--mp-accent); font-size: 12.5px; font-weight: 600; }
#ev-root .ev-ph .ev-ph-ico { width: 34px; height: 34px; }
#ev-root .ev-card.is-end .ev-thumb img, #ev-root .ev-card.is-end .ev-ph, #ev-root .ev-detail.is-end .ev-d-media > * { filter: grayscale(.85); opacity: .6; }

#ev-root .ev span.ev-badge { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .1px; background: var(--mp-paper); color: var(--mp-ink) !important; border: 1px solid var(--mp-line); }
#ev-root .ev .ev-card-media span.ev-badge { position: absolute; left: 10px; top: 10px; border: 0; box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
#ev-root .ev span.ev-badge-soon { background: var(--mp-accent); color: var(--mp-on-accent) !important; border-color: transparent; }
#ev-root .ev span.ev-badge-always { background: var(--mp-dark); color: #fff !important; border-color: transparent; }
#ev-root .ev span.ev-badge-end { background: #8b8b85; color: #fff !important; border-color: transparent; }

#ev-root .ev-card-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
#ev-root .ev-tag { align-self: flex-start; display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; background: var(--mp-hero); color: var(--mp-muted) !important; font-size: 11.5px; font-weight: 600; }
#ev-root .ev-card-title { font-size: 16px; line-height: 1.45; font-weight: 700; letter-spacing: -.4px; color: var(--mp-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
#ev-root .ev-period { display: flex; align-items: center; gap: 5px; margin-top: auto !important; padding-top: 2px; font-size: 12.5px; color: var(--mp-muted) !important; font-variant-numeric: tabular-nums; }
#ev-root .ev-card.is-end .ev-card-title { color: var(--mp-muted); }

#ev-root .ev-empty { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 48px 16px; text-align: center; color: var(--mp-muted); font-size: 14px; border: 1px dashed var(--mp-line); border-radius: 16px; }
#ev-root .ev-empty .ev-empty-ico { width: 36px; height: 36px; color: var(--mp-line); }

#ev-root .ev a.ev-back { display: inline-flex; align-items: center; gap: 4px; margin: 4px 0 14px; font-size: 13.5px; color: var(--mp-muted) !important; font-weight: 600; }
#ev-root .ev-detail { position: relative; }
#ev-root .ev button.ev-share { position: absolute; top: -8px; right: 0; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border: 1px solid var(--mp-line); border-radius: 999px; background: var(--mp-paper); color: var(--mp-ink) !important; font-family: inherit; font-size: 15px; font-weight: 700; letter-spacing: -.2px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
#ev-root .ev-share .ev-ico { width: 19px; height: 19px; }
#ev-root .ev button.ev-share:active { background: var(--mp-hero); }
#ev-root .ev-d-head { margin: 0 0 16px; }
#ev-root .ev-d-chips { display: flex; align-items: center; gap: 6px; margin: 0 0 10px; }
#ev-root .ev-d-chips .ev-tag { align-self: center; }
#ev-root .ev .ev-chips { display: flex; flex-wrap: wrap; gap: 5px; }
#ev-root .ev span.ev-tag.ev-ad { background: none; border: 1px solid var(--mp-accent); color: var(--mp-accent) !important; height: 20px; }
#ev-root .ev details.ev-notes { margin: 28px 0 0; border-top: 1px solid var(--mp-line); border-bottom: 1px solid var(--mp-line); }
#ev-root .ev details.ev-notes summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 2px; cursor: pointer; font-size: 15px; font-weight: 700; color: var(--mp-ink); -webkit-tap-highlight-color: transparent; }
#ev-root .ev details.ev-notes summary::-webkit-details-marker { display: none; }
#ev-root .ev details.ev-notes summary span { color: var(--mp-ink) !important; }
#ev-root .ev details.ev-notes .ev-notes-ico { width: 18px; height: 18px; color: var(--mp-muted); transition: transform .18s ease; }
#ev-root .ev details.ev-notes[open] .ev-notes-ico { transform: rotate(180deg); }
#ev-root .ev details.ev-notes ul { margin: 0 !important; padding: 0 2px 18px !important; list-style: none !important; }
#ev-root .ev details.ev-notes li { position: relative; padding-left: 12px; font-size: 13px; line-height: 1.65; color: var(--mp-muted) !important; }
#ev-root .ev details.ev-notes li + li { margin-top: 6px; }
#ev-root .ev details.ev-notes li::before { content: ""; position: absolute; left: 1px; top: .72em; width: 3px; height: 3px; border-radius: 50%; background: var(--mp-muted); }
html.pcs-on #ev-root .ev details.ev-notes summary { font-size: 16px; }
html.pcs-on #ev-root .ev details.ev-notes li { font-size: 14px; }
.ev-toast { position: fixed; left: 50%; bottom: calc(90px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 10px); z-index: 9999; max-width: calc(100% - 40px); padding: 11px 18px; border-radius: 12px; background: rgba(37, 37, 31, .92); color: #fff; font-size: 14px; font-weight: 600; letter-spacing: -.2px; opacity: 0; pointer-events: none; transition: opacity .18s ease, transform .18s ease; }
.ev-toast.on { opacity: 1; transform: translate(-50%, 0); }
html.pcs-on .ev-toast { bottom: 48px; }
#ev-root .ev h2.ev-d-title { margin: 0 0 10px !important; font-size: 22px !important; line-height: 1.38; font-weight: 700 !important; letter-spacing: -.7px; color: var(--mp-ink) !important; }
#ev-root .ev-d-head .ev-period { margin: 0 !important; font-size: 13.5px; }
#ev-root .ev-d-media { border-radius: 16px; border: 1px solid var(--mp-line); margin: 0 0 18px; }
#ev-root .ev p.ev-d-lead { font-size: 15px; line-height: 1.7; color: var(--mp-ink); margin: 0 0 22px !important; white-space: pre-line; }
#ev-root .ev .ev-d-body { margin: 0 0 8px; font-size: 14.5px; line-height: 1.7; color: var(--mp-ink); overflow-wrap: anywhere; }
#ev-root .ev .ev-d-body h2, #ev-root .ev .ev-d-body h3 { margin: 18px 0 12px !important; padding-top: 18px; border-top: 1px solid var(--mp-line); font-size: 15.5px !important; line-height: 1.45; font-weight: 700 !important; letter-spacing: -.3px; color: var(--mp-ink) !important; }
#ev-root .ev .ev-d-body p { margin: 0 0 8px !important; color: var(--mp-ink); }
#ev-root .ev .ev-d-body strong { font-weight: 700; }
#ev-root .ev .ev-d-body a { color: var(--mp-accent) !important; text-decoration: underline !important; text-underline-offset: 2px; }
#ev-root .ev .ev-d-body img { display: block; max-width: 100%; height: auto; margin: 10px 0; border-radius: 12px; }
#ev-root .ev .ev-d-body ul, #ev-root .ev .ev-d-body ol { margin: 0 0 12px !important; padding: 0 !important; list-style: none !important; }
#ev-root .ev .ev-d-body li { position: relative; font-size: 14px; line-height: 1.65; color: var(--mp-ink); }
#ev-root .ev .ev-d-body li + li { margin-top: 8px; }
#ev-root .ev .ev-d-body ul li { padding-left: 14px; }
#ev-root .ev .ev-d-body ul li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 4px; height: 4px; border-radius: 50%; background: var(--mp-muted); }
#ev-root .ev .ev-d-body ol { counter-reset: ev; }
#ev-root .ev .ev-d-body ol li { padding-left: 32px; min-height: 22px; counter-increment: ev; }
#ev-root .ev .ev-d-body ol li::before { content: counter(ev); position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--mp-soft); color: var(--mp-accent); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
#ev-root .ev .ev-d-body .ql-align-center { text-align: center; } #ev-root .ev .ev-d-body .ql-align-right { text-align: right; }
#ev-root .ev-loading { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 56px 16px; color: var(--mp-muted); font-size: 14px; }
#ev-root .ev-spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--mp-line); border-top-color: var(--mp-accent); animation: evspin .8s linear infinite; }
@keyframes evspin { to { transform: rotate(360deg); } }
#ev-root .ev-d-cta { padding: 8px 0 4px; }
#ev-root .ev .ev-btn { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; height: 52px; border-radius: 14px; background: var(--mp-accent); color: var(--mp-on-accent) !important; font-size: 16px; font-weight: 700; letter-spacing: -.3px; }
#ev-root .ev a.ev-btn { color: var(--mp-on-accent) !important; }
#ev-root .ev-btn .ev-ico { width: 18px; height: 18px; }
#ev-root .ev .ev-btn.is-off { background: var(--mp-hero); color: var(--mp-muted) !important; cursor: pointer; }
#ev-root .ev button.ev-btn { border: 0; font-family: inherit; }
#ev-root .ev p.ev-d-note { margin: 8px 0 0 !important; text-align: center; font-size: 12.5px; color: var(--mp-muted) !important; }
#ev-root .ev .ev-d-body a[data-ended] { color: var(--mp-muted) !important; text-decoration: line-through !important; cursor: pointer; }
#ev-root .ev a.ev-btn-line { width: auto; height: 44px; padding: 0 18px; background: none; border: 1px solid var(--mp-line); color: var(--mp-ink) !important; font-size: 14px; }
#ev-root .ev-more { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--mp-line); }
#ev-root .ev .ev-more h3 { margin: 0 0 14px !important; font-size: 16px !important; font-weight: 700 !important; letter-spacing: -.3px; color: var(--mp-ink) !important; }

html.pcs-on #ev-root .ev { max-width: 1240px; padding: 8px 0 40px; }
html.pcs-on #ev-root .ev-tabs { margin: 0 0 20px; }
html.pcs-on #ev-root .ev-tab { flex: none; min-width: 160px; padding: 14px 24px 13px; font-size: 17px; }
html.pcs-on #ev-root .ev-bar { font-size: 14px; margin: 0 0 20px; }
html.pcs-on #ev-root .ev-sort button { font-size: 14px; }
html.pcs-on #ev-root .ev-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
html.pcs-on #ev-root .ev-card-body { padding: 18px 20px 20px; gap: 8px; }
html.pcs-on #ev-root .ev-card-title { font-size: 17.5px; }
html.pcs-on #ev-root .ev-period { font-size: 13.5px; }
html.pcs-on #ev-root .ev-detail { max-width: 880px; margin: 0 auto; }
html.pcs-on #ev-root .ev button.ev-share { height: 44px; padding: 0 20px; font-size: 15.5px; }
html.pcs-on #ev-root .ev button.ev-share:hover { border-color: var(--mp-muted); }
html.pcs-on #ev-root .ev h2.ev-d-title { font-size: 30px !important; }
html.pcs-on #ev-root .ev-d-lead { font-size: 16.5px; }
html.pcs-on #ev-root .ev .ev-d-body { font-size: 15.5px; }
html.pcs-on #ev-root .ev .ev-d-body li { font-size: 15px; }
html.pcs-on #ev-root .ev .ev-d-body h2, html.pcs-on #ev-root .ev .ev-d-body h3 { font-size: 17px !important; }
html.pcs-on #ev-root .ev-d-cta { display: flex; justify-content: center; padding-top: 16px; }
html.pcs-on #ev-root .ev .ev-btn { width: auto; min-width: 320px; padding: 0 28px; height: 56px; font-size: 17px; }
html.pcs-on #ev-root .ev-more { max-width: 1240px; margin: 48px auto 0; }
html.pcs-on #ev-root .ev .ev-more h3 { font-size: 19px !important; margin-bottom: 18px !important; }
@media (prefers-reduced-motion: reduce) { #ev-root .ev-card { transition: none; } #ev-root .ev-card:hover { transform: none; } }
