/* 파파플레이 공통 팝업(주소 이전 안내, 업데이트 배너). 축구아빠와 야구아빠가 같이 읽는다(js/pp/pop.js와 짝). 2026-11-28. 팝업 모양은 이 파일만 고친다. */
/* 2026-11-28: 주소 이전, 업데이트 배너 팝업. 공유 이미지(og4)와 같은 느낌으로 위에 그 그림, 아래 남색 바탕 글. 폰에서는 화면 안에 들어오게 줄인다. */
#modal .dnp{width:min(560px,100%);max-height:calc(100vh - 24px);display:flex;flex-direction:column;animation:dnpIn .25s ease-out}
@keyframes dnpIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
#modal .dnp-top{display:flex;justify-content:flex-end;gap:20px;padding:0 2px 10px}
#modal .dnp-top button{background:transparent;border:0;color:#f4f6fa;font-size:14px;cursor:pointer;padding:2px 0;font-family:inherit}
#modal .dnp-top button:hover{text-decoration:underline}
#modal .dnp-card{display:flex;flex-direction:column;overflow:auto;border-radius:14px;background:#0f1430;box-shadow:0 24px 60px rgba(0,0,0,.45)}
#modal .dnp-art{position:relative;flex:none;line-height:0}
#modal .dnp-art img{display:block;width:100%;aspect-ratio:1200/630;object-fit:cover}
#modal .dnp-tag{position:absolute;right:14px;bottom:14px;line-height:1;background:#c6ff3d;color:#0b0f14;font-size:13px;font-weight:900;padding:7px 12px;border-radius:999px;letter-spacing:-.01em}
#modal .dnp-txt{padding:24px 28px 26px;display:flex;flex-direction:column;color:#fff;background:linear-gradient(180deg,#0f1430,#141c3e)}
#modal .dnp-q{font-size:14.5px;font-weight:700;color:#aab4cc;margin-bottom:8px}
#modal .dnp h3{font-family:inherit;font-size:26px;line-height:1.35;font-weight:900;color:#fff;margin:0;word-break:keep-all;letter-spacing:-.035em}
#modal .dnp h3 b{display:inline-block;background:#c6ff3d;color:#0b0f14;padding:0 7px;margin-top:5px;border-radius:4px;font-weight:900}
#modal .dnp p{color:#cdd3e1;font-size:15px;line-height:1.65;margin:14px 0 8px;word-break:keep-all}
#modal .dnu p{font-weight:700;color:#e8ecf6}
#modal .dnp-note{color:#8d97b3;font-size:12.5px;line-height:1.55;word-break:keep-all}
#modal .dnp-go{align-self:stretch;margin-top:20px;background:#c6ff3d;color:#0b0f14;border:0;border-radius:999px;padding:14px 20px;font-size:16px;font-weight:900;cursor:pointer;font-family:inherit}
#modal .dnp-go span{font-size:19px;margin-left:6px}
#modal .dnp-go:hover{filter:brightness(1.06)}
#modal .dnu .dnp-card{cursor:pointer}
@media (max-width:760px){
#modal .dnp{width:min(380px,100%);max-height:calc(100vh - 40px)}
#modal .dnp-top{gap:14px;padding-bottom:8px}
#modal .dnp-top button{font-size:13px}
#modal .dnp-card{border-radius:12px}
#modal .dnp-tag{right:10px;bottom:10px;font-size:11.5px;padding:6px 10px}
#modal .dnp-txt{padding:16px 18px 18px}
#modal .dnp-q{font-size:12.5px;margin-bottom:6px}
#modal .dnp h3{font-size:19px}
#modal .dnp h3 b{padding:0 5px;margin-top:3px}
#modal .dnp p{font-size:13px;line-height:1.6;margin:10px 0 6px}
#modal .dnp-note{font-size:11.5px}
#modal .dnp-go{margin-top:14px;padding:12px;font-size:14.5px}
}
/* 2026-11-28: 의견 보내기 창(js/pp/pop.js FD.PP.fbBox). 마이페이지와 로그인 화면처럼 흰 카드, 둥근 칸, 남색 단추. 게임마다 다르던 모양을 하나로 맞췄다. */
#modal .box.ppfb{width:min(560px,100%);max-width:560px;max-height:calc(100vh - 32px);overflow:auto;box-sizing:border-box;padding:24px 28px 22px;border-radius:16px;background:#fff;color:#1b222b;box-shadow:0 24px 60px rgba(10,16,40,.35);animation:dnpIn .25s ease-out}
.ppfb .ppfb-h{display:flex;justify-content:space-between;align-items:center;margin:0 0 12px}
.ppfb .ppfb-tag{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:800;color:#1d2440}
.ppfb .ppfb-tag:before{content:"";width:8px;height:8px;border-radius:50%;background:#7cc520}
.ppfb .ppfb-x{width:34px;height:34px;border-radius:50%;border:0;background:#f1f3f6;color:#5d6672;font-size:15px;cursor:pointer;font-family:inherit}
.ppfb .ppfb-x:hover{background:#e4e8ee;color:#1b222b}
.ppfb h3{margin:0;font-size:24px;line-height:1.35;font-weight:900;letter-spacing:-.03em;color:#0b0f14}
.ppfb .ppfb-sub{margin:8px 0 18px;font-size:14.5px;line-height:1.65;color:#5d6672;word-break:keep-all}
.ppfb .ppfb-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px}
.ppfb .ppfb-chips .chip{border:1.5px solid #d8dee6;border-radius:999px;padding:8px 14px;font-size:13.5px;font-weight:700;background:#fff;color:#1b222b;cursor:pointer;font-family:inherit;transition:border-color .12s,background .12s}
.ppfb .ppfb-chips .chip:hover{border-color:#1d2440}
.ppfb .ppfb-chips .chip.on{background:#1d2440;border-color:#1d2440;color:#fff}
.ppfb .ppfb-l{display:block;font-size:13.5px;font-weight:800;color:#1b222b;margin:0 0 6px}
.ppfb .ppfb-l small{font-size:12px;font-weight:600;color:#8a94a0;margin-left:2px}
.ppfb textarea,.ppfb input{width:100%;box-sizing:border-box;border:1.5px solid #d8dee6;border-radius:10px;padding:12px 14px;font:inherit;font-size:15px;background:#fff;color:#1b222b;outline:0;transition:border-color .12s,box-shadow .12s}
.ppfb textarea:focus,.ppfb input:focus{border-color:#1d2440;box-shadow:0 0 0 3px rgba(29,36,64,.12)}
.ppfb textarea{min-height:130px;resize:vertical;line-height:1.6}
.ppfb .ppfb-cnt{text-align:right;font-size:12px;color:#8a94a0;margin:5px 0 12px;font-variant-numeric:tabular-nums}
.ppfb .ppfb-two{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:14px}
.ppfb .ppfb-ctx{background:#f4f6f9;border-radius:10px;padding:10px 14px;font-size:12.5px;line-height:1.55;color:#5d6672;word-break:break-all;margin:0 0 16px}
.ppfb .ppfb-ctx small{display:block;font-size:11.5px;font-weight:800;color:#8a94a0;margin-bottom:2px}
.ppfb .ppfb-go{display:block;width:100%;height:54px;border:0;border-radius:12px;background:#1d2440;color:#fff;font-size:16px;font-weight:900;cursor:pointer;font-family:inherit;transition:filter .12s}
.ppfb .ppfb-go:hover{filter:brightness(1.15)}
.ppfb .ppfb-note{margin-top:12px;font-size:12.5px;line-height:1.6;color:#8a94a0;word-break:keep-all}
.ppfb .ppfb-note a{color:#5d6672}
/* 2026-11-29: 위키 인증 양식(PP.evForm). 참여 방법은 회색 상자, 입력 칸은 묶음마다 띄운다. */
.ppfb .ppev-how{background:#f4f6f9;border-radius:12px;padding:16px 18px;margin:0 0 22px}
.ppfb .ppev-ht{font-size:13px;font-weight:900;color:#1d2440;margin:0 0 10px}
.ppfb .ppev-how ol{list-style:none;margin:0;padding:0}
.ppfb .ppev-how li{display:flex;gap:10px;font-size:14px;line-height:1.6;color:#3b4450;word-break:keep-all;margin-top:8px}
.ppfb .ppev-how li:first-child{margin-top:0}
.ppfb .ppev-how li em{flex:0 0 22px;height:22px;margin-top:1px;border-radius:50%;background:#1d2440;color:#fff;font-style:normal;font-size:12px;font-weight:800;display:flex;align-items:center;justify-content:center}
.ppfb .ppev-how li b{color:#1b222b;font-weight:800}
.ppfb .ppev-x{margin-top:12px;padding-top:10px;border-top:1px solid #e3e7ec;font-size:12.5px;color:#8a94a0}
.ppfb .ppev-form{border-top:1px solid #e9edf2;padding-top:20px}
.ppfb .ppev-f{margin-bottom:18px}
.ppfb .ppev-f .ppfb-chips{margin:0}
.ppfb .ppev-f input[type=file]{padding:10px 12px;font-size:14px;color:#5d6672}
.ppfb .ppev-st{background:#eef8dc;border-radius:10px;padding:10px 14px;font-size:13.5px;font-weight:700;color:#2f4a0a;margin:0 0 16px}
.ppfb .ppev-st .lnk{font-weight:800}
.ppfb .ppev-done{background:#f4f6f9;border-radius:12px;padding:16px 18px;font-size:15px;font-weight:700;line-height:1.6;color:#1b222b;margin:0 0 16px}
html[data-theme="dark"] .ppfb .ppev-how,html[data-theme="dark"] .ppfb .ppev-done{background:#11161c;color:#cfd5dc}
html[data-theme="dark"] .ppfb .ppev-how li{color:#b5bbc0}
html[data-theme="dark"] .ppfb .ppev-how li b,html[data-theme="dark"] .ppfb .ppev-ht{color:#e8ebef}
html[data-theme="dark"] .ppfb .ppev-how li em{background:#c6ff3d;color:#0b0f14}
html[data-theme="dark"] .ppfb .ppev-x{border-top-color:#2a323d}
html[data-theme="dark"] .ppfb .ppev-form{border-top-color:#2a323d}
html[data-theme="dark"] .ppfb .ppev-st{background:#1f2a12;color:#c6ff3d}
@media (max-width:760px){#modal .box.ppfb{padding:18px 18px 16px;border-radius:14px;max-height:calc(100vh - 20px)}.ppfb h3{font-size:20px}.ppfb .ppfb-sub{font-size:13.5px;margin-bottom:14px}.ppfb .ppfb-two{grid-template-columns:1fr;gap:10px}.ppfb .ppfb-chips{gap:6px}.ppfb .ppfb-chips .chip{padding:7px 12px;font-size:13px}.ppfb textarea{min-height:110px}}
html[data-theme="dark"] #modal .box.ppfb{background:#1a2029;color:#e8ebef}
html[data-theme="dark"] .ppfb h3,html[data-theme="dark"] .ppfb .ppfb-l{color:#e8ebef}
html[data-theme="dark"] .ppfb .ppfb-tag{color:#c6ff3d}
html[data-theme="dark"] .ppfb .ppfb-x{background:#262e3a;color:#b5bbc0}
html[data-theme="dark"] .ppfb .ppfb-chips .chip,html[data-theme="dark"] .ppfb textarea,html[data-theme="dark"] .ppfb input{background:#11161c;border-color:#38414e;color:#e8ebef}
html[data-theme="dark"] .ppfb .ppfb-chips .chip.on{background:#c6ff3d;border-color:#c6ff3d;color:#0b0f14}
html[data-theme="dark"] .ppfb .ppfb-ctx{background:#11161c;color:#9ba6b2}
html[data-theme="dark"] .ppfb .ppfb-go{background:#c6ff3d;color:#0b0f14}
#modal .dnp a.dnp-card{text-decoration:none;color:inherit}
#modal .dnp span.dnp-go{display:block;text-align:center}
#modal .dnu .dnp-card{cursor:pointer}
/* 2026-12-04: 팝업 묶음(PP.pop). 둘이면 둘, 셋이면 셋을 가로로. 카드 크기는 모두 같다. 위 단추 줄 하나가 오늘 하루 보지 않기와 모두 닫기를 맡는다. */
#modal .dnps{display:flex;flex-direction:column;max-width:calc(100vw - 32px);max-height:calc(100vh - 24px);animation:dnpIn .25s ease-out}
#modal .dnps-top{display:flex;justify-content:flex-end;gap:20px;padding:0 2px 10px}
#modal .dnps-top button{background:transparent;border:0;color:#f4f6fa;font-size:14px;cursor:pointer;padding:2px 0;font-family:inherit}
#modal .dnps-top button:hover{text-decoration:underline}
#modal .dnps-row{display:flex;gap:16px;align-items:stretch;min-height:0}
#modal .dnps-it{position:relative;flex:0 0 auto;display:flex;min-height:0}
#modal .dnps-it .dnp{width:100%;max-height:none;animation:none}
#modal .dnps-it .dnp-top{display:none}
#modal .dnps-it .dnp-card{flex:1;height:100%}
#modal .dnps-it .dnp-txt{flex:1}
#modal .dnps-it .dnp-go{margin-top:auto}
#modal .dnps-it .dnp p,#modal .dnps-it .dnp-note{margin-bottom:16px}
#modal .dnps-x{position:absolute;top:8px;right:8px;z-index:2;width:30px;height:30px;border-radius:50%;border:0;background:rgba(11,15,20,.6);color:#fff;font-size:14px;cursor:pointer;font-family:inherit}
#modal .dnps-x:hover{background:rgba(11,15,20,.85)}
#modal .dnps.n1 .dnps-it{width:min(560px,calc(100vw - 32px))}
#modal .dnps.n2 .dnps-it{width:min(440px,calc((100vw - 64px) / 2))}
#modal .dnps.n3 .dnps-it{width:min(380px,calc((100vw - 80px) / 3))}
#modal .dnps.n2 .dnp h3,#modal .dnps.n3 .dnp h3{font-size:21px}
#modal .dnps.n2 .dnp-txt,#modal .dnps.n3 .dnp-txt{padding:18px 20px 20px}
#modal .dnps.n3 .dnp p,#modal .dnps.n2 .dnp p{font-size:13.5px;margin:10px 0 6px}
#modal .dnps.n3 .dnp-q,#modal .dnps.n2 .dnp-q{font-size:13px}
#modal .dnps.n3 .dnp-go,#modal .dnps.n2 .dnp-go{padding:12px;font-size:15px}
@media (max-width:760px){
#modal .dnps{max-width:100vw;width:100vw;max-height:calc(100vh - 32px)}
#modal .dnps-top{gap:14px;padding:0 16px 8px}
#modal .dnps-top button{font-size:13px}
#modal .dnps-row{overflow-x:auto;scroll-snap-type:x mandatory;padding:0 16px 4px;gap:10px;-webkit-overflow-scrolling:touch}
#modal .dnps.n1 .dnps-row{justify-content:center}
#modal .dnps .dnps-it,#modal .dnps.n1 .dnps-it,#modal .dnps.n2 .dnps-it,#modal .dnps.n3 .dnps-it{width:min(340px,calc(100vw - 56px));scroll-snap-align:center}
#modal .dnps.n1 .dnps-it{width:min(380px,calc(100vw - 32px))}
#modal .dnps .dnp h3{font-size:19px}
}
