/* 게임 속 휴대폰(겹쳐 뜸) */
#phone { position:absolute; inset:0; z-index:55; background:#000a; }
#phone .shell { position:absolute; right:5cqw; top:4cqh; bottom:4cqh; aspect-ratio:9/18.5; border-radius:4cqh; border:1cqh solid #121016; outline:1px solid #ffffff22; overflow:hidden; background:linear-gradient(170deg,#3b2950,#14111c); box-shadow:0 3cqh 8cqh #000c; animation:pup .3s cubic-bezier(.2,.9,.3,1.1); font-size:max(1.7cqh, 11px); }
@keyframes pup { from { transform:translateY(30%); opacity:0; } }
#pscr { position:absolute; inset:0; display:flex; flex-direction:column; }
.pst { display:flex; justify-content:space-between; padding:1.2cqh 1.6cqw; font-size:max(1.4cqh, 11px); color:#ddd; }
.pclock { text-align:center; margin:4cqh 0 3cqh; } .pclock b { font-size:6cqh; font-weight:300; } .pclock div { color:#ccc; font-size:max(1.6cqh, 11px); }
.papps { display:grid; grid-template-columns:repeat(4,1fr); gap:2.6cqh .6cqw; padding:0 1.6cqw; }
.papp { display:flex; flex-direction:column; align-items:center; gap:.6cqh; font-size:max(1.4cqh, 11px); cursor:pointer; position:relative; }
.papp i { width:6.4cqh; height:6.4cqh; border-radius:1.8cqh; display:flex; align-items:center; justify-content:center; font-size:3.2cqh; font-style:normal; box-shadow:0 .6cqh 1.4cqh #0006; }
.pb { position:absolute; top:-.6cqh; right:.4cqw; background:var(--pink); border-radius:1.4cqh; font-size:max(1.2cqh, 10px); padding:.1cqh .6cqh; }
.pnote { color:#bbb; text-align:center; padding:3cqh 1.4cqw; line-height:1.6; font-size:max(1.55cqh, 11px); }
.pbar { display:flex; align-items:center; gap:.8cqw; padding:1.2cqh 1.2cqw; border-bottom:1px solid #ffffff1a; font-weight:700; background:#0004; }
.pbar span { cursor:pointer; font-size:2.6cqh; padding:0 .6cqw; } .pbar b { margin-left:auto; color:var(--pink2); }
.pbody { flex:1; overflow:auto; padding:1cqh 1.2cqw; background:#14121bcc; }
.prow { display:flex; align-items:center; gap:.8cqw; padding:1cqh 0; border-bottom:1px solid #ffffff12; cursor:pointer; }
.pf { width:5cqh; height:5cqh; border-radius:1.6cqh; object-fit:cover; } .pt { flex:1; min-width:0; } .pt b { font-size:max(1.6cqh, 11px); }
.pt div { font-size:max(1.35cqh, 10px); color:#aaa; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.pn { background:var(--pink); border-radius:1.4cqh; font-size:max(1.2cqh, 10px); padding:.1cqh .7cqh; }
.pmsgs { display:flex; flex-direction:column; gap:.9cqh; padding-bottom:16cqh; }
.pm { max-width:78%; padding:.9cqh .9cqw; border-radius:1.6cqh; font-size:max(1.55cqh, 11px); line-height:1.45; animation:pmi .2s; }
@keyframes pmi { from { opacity:0; transform:translateY(.6cqh); } }
.pm.her { background:#2c2938; align-self:flex-start; border-top-left-radius:.4cqh; } .pm.me { background:var(--pink); align-self:flex-end; border-top-right-radius:.4cqh; }
.pm.sys { align-self:center; background:none; color:#aaa; font-size:max(1.3cqh, 10px); } .pm.typing { background:none; color:#aaa; align-self:flex-start; font-size:max(1.3cqh, 10px); }
.pm img { width:16cqh; border-radius:1.2cqh; display:block; }
.popts { position:absolute; left:0; right:0; bottom:0; padding:1cqh 1cqw 1.6cqh; background:#121019f2; border-top:1px solid #ffffff22; display:flex; flex-direction:column; gap:.7cqh; }
.popts button { font-size:max(1.5cqh, 11px); text-align:left; background:#22202c; border:1px solid #ffffff33; border-radius:1.2cqh; padding:1cqh .8cqw; cursor:pointer; } .popts button:hover { border-color:var(--pink); }
.ppost { background:#1d1b26; border-radius:1.4cqh; overflow:hidden; margin-bottom:1.4cqh; cursor:pointer; }
.ppost .ph { display:flex; align-items:center; gap:.6cqw; padding:.8cqh; font-size:max(1.45cqh, 11px); } .ppost .ph .pf { width:3.2cqh; height:3.2cqh; border-radius:50%; }
.ppost > img { width:100%; aspect-ratio:3/2; object-fit:cover; display:block; } .ppost .pc { padding:.9cqh 1cqw; font-size:max(1.45cqh, 11px); line-height:1.5; }
.pgot { padding:0 1cqw 1cqh; font-size:max(1.3cqh, 10px); color:var(--pink2); } .pgot.dim, .dim { color:#888; }
.pclue { padding:1cqh 0; border-bottom:1px solid #ffffff12; font-size:max(1.45cqh, 11px); line-height:1.6; } .pclue b { color:var(--pink2); }
.palb { display:grid; grid-template-columns:1fr 1fr; gap:.6cqw; } .palb img { width:100%; aspect-ratio:3/2; object-fit:cover; border-radius:.8cqh; }
.pseg { display:flex; flex-wrap:wrap; gap:.5cqw; margin:.6cqh 0 1cqh; } .pseg span { font-size:max(1.35cqh, 10px); padding:.5cqh .8cqw; border:1px solid #ffffff33; border-radius:2cqh; cursor:pointer; } .pseg span.on { background:var(--pink); border-color:var(--pink); }
.phint { font-size:max(1.3cqh, 10px); color:var(--pink2); background:#ff4f8614; border-radius:1cqh; padding:.7cqh .8cqw; margin-bottom:.8cqh; line-height:1.5; }
.pslot { font-size:max(1.45cqh, 11px); font-weight:700; margin:1cqh 0 .5cqh; }
.pplaces { display:grid; grid-template-columns:1fr 1fr; gap:.5cqw; }
.pplaces span { font-size:max(1.3cqh, 10px); padding:.7cqh .6cqw; border:1px solid #ffffff26; border-radius:1cqh; cursor:pointer; background:#1d1b26; } .pplaces span small { display:block; color:#999; font-size:max(1.15cqh, 10px); }
.pplaces span.on { border-color:var(--pink); background:#3a1c2e; }
.psend { width:100%; margin:1.6cqh 0 .6cqh; padding:1.2cqh; background:var(--pink); border:0; border-radius:1.2cqh; font-weight:700; font-size:max(1.6cqh, 11px); cursor:pointer; } .psend:disabled { opacity:.35; cursor:default; }

#pscr:has(.popts) .giftbar { display:none; }
.giftbar { position:absolute; left:0; right:0; bottom:0; padding:.8cqh .8cqw 1.2cqh; background:#121019f2; border-top:1px solid #ffffff22; font-size:max(1.3cqh, 10px); color:#ccc; display:flex; flex-wrap:wrap; gap:.4cqh .4cqw; align-items:center; }
.giftbar span { display:inline-flex; align-items:center; gap:.3cqw; background:#22202c; border:1px solid #ffffff33; border-radius:1cqh; padding:.3cqh .5cqw; cursor:pointer; } .giftbar img { width:2.6cqh; height:2.6cqh; border-radius:.5cqh; object-fit:cover; }
.mkt { display:grid; grid-template-columns:1fr 1fr; gap:.6cqh .5cqw; } .mi { background:#1d1b26; border-radius:1cqh; padding:.6cqh; text-align:center; cursor:pointer; border:1px solid transparent; } .mi:hover { border-color:var(--pink); }
.mi img { width:100%; aspect-ratio:1; object-fit:cover; border-radius:.8cqh; background:#f4efe8; } .mi b { display:block; font-size:max(1.35cqh, 10px); margin-top:.4cqh; } .mi small { color:var(--gold); font-size:max(1.2cqh, 10px); }
.cal { display:grid; grid-template-columns:repeat(7,1fr); gap:.3cqh .2cqw; text-align:center; } .cal i { font-style:normal; color:#999; font-size:max(1.2cqh, 9px); }
.cal div { background:#1d1b26; border-radius:.6cqh; padding:.3cqh 0; min-height:4.6cqh; } .cal div b { display:block; font-size:max(1.3cqh, 10px); } .cal div span { font-size:max(1.2cqh, 9px); }
.cal .today { background:var(--pink); } .cal .past { opacity:.45; }

/* 데이트 코스(시간제) */
.pcourse { margin:.8cqh 0; } .pcourse .leg { display:flex; align-items:center; gap:.6cqw; background:#1d1b26; border-radius:1cqh; padding:.7cqh .8cqw; margin-bottom:.5cqh; font-size:max(1.45cqh, 11px); }
.pcourse .leg b { color:var(--gold); } .pcourse .leg small { color:#999; margin-left:auto; } .pcourse .leg span { cursor:pointer; color:#ff9e9e; padding:0 .4cqw; }
.pcourse .leg.end { background:none; color:#ccc; }

.pm.me.unread { position:relative; } .pm.me.unread::before { content:'1'; position:absolute; left:-1.4cqh; bottom:.2cqh; color:var(--gold); font-size:max(1.2cqh, 9px); font-weight:700; }
.pm.sys { font-style:italic; }
