/* 사이트 입장 팝업(시안 B): 1장 창립 작가(입장권), 2장 공모전(남색). 사이트 색 규칙(body.editorial)을 이기려고 같은 앞머리를 붙인다. */
body.ep-lock{overflow:hidden}
.ep-layer{position:fixed;inset:0;z-index:1200;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(10,12,20,.55)}
.ep-box{width:310px;max-width:100%;display:flex;flex-direction:column;border-radius:12px;overflow:hidden;box-shadow:0 24px 60px rgba(0,0,0,.3);position:relative}
.ep-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;outline:0}
.ep-track::-webkit-scrollbar{display:none}
.ep-card{flex:0 0 100%;height:360px;display:flex;flex-direction:column;justify-content:space-between;padding:24px 22px 34px;scroll-snap-align:center;position:relative;overflow:hidden}
.ep-body,.ep-go{position:relative;z-index:1}
body.editorial .ep-k{margin:0;font-size:12.5px!important;font-weight:800!important;letter-spacing:.02em}
body.editorial .ep-t{margin:10px 0 0;font-size:27px!important;font-weight:800!important;line-height:1.25;letter-spacing:-.03em}
body.editorial .ep-s{margin:12px 0 0;font-size:14px!important;line-height:1.55}
body.editorial .ep-go{display:flex;align-items:center;justify-content:center;height:46px;border-radius:8px;font-size:15px;font-weight:800;text-decoration:none}
/* 창립 작가: 책상 위 입장권(시안 A, 창립 작가 페이지의 입장권과 같은 모양). 사이트 규칙이 small·strong·span 등의 색·크기를 덮어써서 !important */
.ep-fd{background:#efefed}
body.editorial .ep-fd,body.editorial .ep-fd :is(.ep-k,.ep-t){color:#16181d!important}
body.editorial .ep-fd .ep-t{font-size:25px!important}
.ep-tk{position:relative;display:flex;width:262px;max-width:100%;height:112px;margin:22px 0 0 2px;border-radius:8px;background:#1e2a4a;transform:rotate(-4deg);box-shadow:0 14px 24px -10px rgba(20,28,52,.55)}
.ep-tk::before,.ep-tk::after{content:"";position:absolute;right:76px;width:18px;height:18px;border-radius:50%;background:#efefed}
.ep-tk::before{top:-9px}.ep-tk::after{bottom:-9px}
.ep-tk-l{flex:1;min-width:0;padding:14px 16px;border-right:2px dashed rgba(255,255,255,.35)}
.ep-tk-r{width:84px;display:flex;flex-direction:column;align-items:center;justify-content:center}
body.editorial .ep-tk :is(small,strong,span,em,b,i){color:#fff!important;font-style:normal}
body.editorial .ep-tk-l small{display:block;font-size:9.5px!important;font-weight:700!important;letter-spacing:.08em;opacity:.7}
body.editorial .ep-tk-l strong{display:block;margin-top:6px;font-size:19px!important;font-weight:800!important;line-height:1.2!important;letter-spacing:-.03em}
body.editorial .ep-tk-l span{display:block;margin-top:7px;font-size:11px!important;opacity:.75}
body.editorial .ep-tk-r :is(em,i){font-size:10.5px!important;font-weight:700!important;opacity:.75}
body.editorial .ep-tk-r b{margin-top:2px;font-size:34px!important;font-weight:900!important;line-height:1!important;letter-spacing:-.04em}
body.editorial .ep-fd .ep-go{background:#1e2a4a;color:#fff!important}
/* 공모전: 남색 + 기본 표지의 a 표시 */
.ep-ct{background:#1e2a4a url('/assets/alona-default-cover-20261106.jpg') right -120px top -20px/300px auto no-repeat}
.ep-ct::after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,#1e2a4a 48%,rgba(30,42,74,.25))}
body.editorial .ep-ct,body.editorial .ep-ct :is(.ep-t,.ep-facts b){color:#fff!important}
body.editorial .ep-ct :is(.ep-k,.ep-s){color:rgba(255,255,255,.85)!important}
.ep-facts{display:flex;gap:18px;margin-top:18px}.ep-facts div{display:grid;gap:2px}
body.editorial .ep-facts b{font-size:19px;font-weight:800}
body.editorial .ep-facts span{font-size:12px!important;color:rgba(255,255,255,.75)!important}
body.editorial .ep-ct .ep-go{background:#fff;color:#1e2a4a!important}
/* 넘김 점(휴대폰) */
.ep-dots{position:absolute;left:0;right:0;top:340px;z-index:2;display:flex;justify-content:center;gap:6px;pointer-events:none}
.ep-dots i{width:6px;height:6px;border-radius:50%;background:rgba(127,127,127,.45);transition:width .15s}
.ep-dots i.on{width:16px;border-radius:3px;background:#9aa3b8}
/* 아래 버튼 줄 */
.ep-foot{display:flex;background:#fff}
body.editorial .ep-foot button{flex:1;height:48px;min-height:0!important;margin:0;padding:0;border:0;border-radius:0;background:#fff;box-shadow:none;font:inherit;font-size:14px!important;font-weight:500!important;color:#525252!important;cursor:pointer}
body.editorial .ep-foot button+button{border-left:1px solid #eee;font-weight:700!important;color:#0a0a0a!important}
/* 초점 테두리: 사이트 공통 규칙(body.alona-bright :focus-visible, 빨강·바깥 2px)이 잘려 빨간 세로줄로 보였다(2026-11-11).
   상자·넘김 줄은 테두리 없이, 키보드로 고른 버튼·링크는 남색(남색 버튼 위에서는 흰색)으로 버튼 안쪽에 그린다. */
body.alona-bright .ep-layer :is(.ep-box,.ep-track):is(:focus,:focus-visible),body.editorial .ep-layer :is(.ep-box,.ep-track):focus{outline:none!important}
body.alona-bright .ep-layer :is(button,a):focus-visible,body.editorial .ep-layer :is(button,a):focus-visible{outline:2px solid #1e2a4a!important;outline-offset:-4px!important}
body.alona-bright .ep-layer .ep-fd .ep-go:focus-visible,body.editorial .ep-layer .ep-fd .ep-go:focus-visible{outline-color:#fff!important}
/* PC: 두 장을 나란히 */
.ep-box.ep-pc{width:auto;border-radius:0;overflow:visible;box-shadow:none}
.ep-pc .ep-track{gap:14px;overflow:visible}
.ep-pc .ep-card{flex:0 0 300px;border-radius:12px;box-shadow:0 24px 60px rgba(0,0,0,.3)}
.ep-pc .ep-foot{margin-top:12px;border-radius:10px;overflow:hidden}
.ep-pc.ep-one .ep-card{flex-basis:310px}
