/* 앱 화면을 코드로 그린 폰. 단위는 앱과 같은 pt(402×874), 크기는 --s로만 바꾼다 */
.ph{position:relative;flex:none;height:var(--h);width:calc(var(--h)*422/894);--spring:cubic-bezier(.22,1,.36,1);font-family:-apple-system,"Pretendard Variable",Pretendard,sans-serif;color:#fff;text-align:left;line-height:1.2;letter-spacing:0;-webkit-user-select:none;user-select:none}
.ph>img{width:100%;height:100%;border-radius:15.4%/7.3%;display:block}
.ph *{box-sizing:border-box}
.dev{position:absolute;left:0;top:0;width:422px;height:894px;padding:10px;border-radius:65px;background:#0b0c09;transform-origin:0 0}
.scr{position:relative;width:402px;height:874px;border-radius:55px;overflow:hidden;background:#000;isolation:isolate}
.scr .a{position:absolute}
.isl{left:138px;top:11px;width:126px;height:37px;border-radius:19px;background:#000;box-shadow:0 0 0 1px #161616;z-index:300}
.stat{left:0;right:0;top:20px;height:24px;display:flex;justify-content:space-between;align-items:center;padding:0 34px 0 54px;font-size:17px;font-weight:600;z-index:300}
.stat svg{height:13px;width:auto}
.ttl{left:16px;top:72px;font-size:22px;font-weight:800;letter-spacing:-.5px}
.ttl img{display:block;width:170px;height:25px}
.flt{left:16px;top:114px;width:48px;height:48px;border-radius:24px;background:#141415;box-shadow:inset 0 0 0 1px #2b2b2d;display:grid;place-items:center}
.seg{left:70px;top:114px;width:316px;height:48px;padding:2px;border-radius:24px;background:#1c1c1e;display:grid;grid-template-columns:repeat(3,1fr);font-size:13px;font-weight:500;text-align:center;line-height:44px}
.seg :first-child{border-radius:22px;background:#5a5a5f}
.sort{right:16px;top:164px;height:44px;display:flex;gap:4px;align-items:center;color:#9a9aa2;font-size:14px;font-weight:600}
.drum{left:0;right:0;top:208px;bottom:0;overflow:hidden}
.drum::before,.drum::after{content:"";position:absolute;z-index:200;left:0;right:0;height:70px;pointer-events:none;background:linear-gradient(#000,transparent)}
.drum::before{top:0}.drum::after{bottom:0;transform:scaleY(-1)}
.slot{position:absolute;left:16px;right:16px;top:229px;height:150px;border-radius:28px;cursor:pointer;touch-action:pan-y}
.c{position:absolute;inset:0;padding:18px;border-radius:28px;overflow:hidden;box-shadow:0 10px 30px rgba(0,0,0,.5);display:flex;flex-direction:column;justify-content:space-between;transition:transform .26s var(--ease),color .3s linear}
.c .old{position:absolute;inset:0;pointer-events:none;border-radius:inherit}
[data-story] .sheet{transition:transform .5s cubic-bezier(.45,0,.55,1)}[data-story] .up .sheet{transition:transform .65s cubic-bezier(.22,1,.36,1)}
.slot.dn .c{transform:scale(.975);transition-duration:.11s}
.c .rim{position:absolute;inset:0;border-radius:28px;pointer-events:none}
.c .dim{position:absolute;inset:0;background:#000;pointer-events:none;opacity:0;z-index:3}
.c .wm{position:absolute;top:50%;background:currentColor;-webkit-mask:var(--m) center/100% 100% no-repeat;mask:var(--m) center/100% 100% no-repeat}
.c .hd,.c .ft{position:relative;z-index:1;display:flex;justify-content:space-between;align-items:flex-start}
.c .ft{align-items:center;height:24px}
.maj{display:flex;gap:3px;align-items:center;margin-bottom:4px;font-size:9px;font-weight:800;letter-spacing:.3px;opacity:.7}
.c b{display:block;font-size:20px;line-height:24px;font-weight:700;letter-spacing:-.3px}
.c .d1{font-size:13px;line-height:16px;margin-top:4px;opacity:.85}.c .d2{font-size:12px;line-height:15px;margin-top:2px;opacity:0}
.chips{display:flex;gap:4px;align-items:center}
.chip{display:flex;gap:4px;align-items:center;height:24px;padding:0 9px;border-radius:12px;background:rgba(0,0,0,.18);font-size:11px;font-weight:600;white-space:nowrap}
.chip svg{width:12px;height:12px}
.chip.live{background:#fff;color:#000}
.front .live svg,.sheet .live svg{animation:ecg 1.25s infinite}
@keyframes ecg{0%,20%,44%,100%{transform:none}8.8%{transform:scale(1.3)}28%{transform:scale(1.2)}}
.dd{display:flex;gap:6px;align-items:center;font-size:13px;font-weight:600;white-space:nowrap}
.dd span{opacity:.85}.dd em{font:800 30px/31px Orbitron,sans-serif}
.bell{position:relative;flex:none;width:64px;height:40px;border-radius:20px;background:rgba(0,0,0,.22);transition:background-color .2s;cursor:pointer}
.bell i{position:absolute;left:4px;top:4px;width:32px;height:32px;border-radius:16px;background:rgba(255,255,255,.22);display:grid;place-items:center;transition:transform var(--bd,.2s) var(--bell,var(--spring)),background-color .2s;color:#fff}
.bell svg{width:16px;height:16px}.bell .f{display:none}
.bell.on{background:#fff}.bell.on i{transform:translateX(24px);background:#000}.bell.on .f{display:block}.bell.on .o{display:none}
.bell.ring svg{animation:shake .43s linear}
@keyframes shake{0%,100%{transform:none}16%{transform:rotate(18deg)}37%{transform:rotate(-14deg)}58%{transform:rotate(9deg)}79%{transform:rotate(-4deg)}}
.tab{left:21px;bottom:20px;width:360px;height:62px;padding:4px;border-radius:31px;background:rgba(22,22,23,.92);box-shadow:inset 0 0 0 1px #2c2c2e;display:grid;grid-template-columns:98px 98px 1fr 1fr;z-index:250;font-size:10px;font-weight:500;text-align:center}
.tab div{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border-radius:27px}
.tab .sel{background:#3a3a3c}.tab svg{width:25px;height:25px}
.dot{right:16px;bottom:104px;width:40px;height:40px;border-radius:20px;background:#141415;box-shadow:inset 0 0 0 1px #2b2b2d;display:grid;place-items:center;z-index:240;cursor:pointer}
.dot i{width:24px;height:24px;border-radius:12px;transition:transform .26s var(--ease)}.dot:active i{transform:scale(.8)}
.veil{inset:0;background:#000;opacity:0;pointer-events:none;z-index:259;transition:opacity .32s cubic-bezier(.22,1,.36,1)}
.sheet{inset:0;z-index:260;background:#000;border-radius:44px 44px 0 0;transform:translateY(101%);transition:transform .24s cubic-bezier(.32,0,.67,0)}
.up .sheet{transform:none;transition:transform .32s cubic-bezier(.22,1,.36,1)}.up .veil{opacity:.85}
.grab{left:181px;top:68px;width:40px;height:5px;border-radius:3px;background:#3a3a42}
.x{left:16px;top:81px;width:44px;height:44px;border-radius:22px;background:#141415;box-shadow:inset 0 0 0 1px #2b2b2d;display:grid;place-items:center;cursor:pointer}
.nm{left:16px;top:143px;font-size:28px;line-height:34px;font-weight:700;letter-spacing:-.5px;white-space:nowrap}
.sheet>.chips{left:16px;top:185px}.sheet>.chips .chip:not(.live){background:#1d1d22;color:#d6d6dc}
.sheet>.bell{right:16px;top:154px}.sheet .bell:not(.on){background:#2a2a2e}
.hero{left:16px;top:223px;width:370px;height:173px;border-radius:32px;display:flex;flex-direction:column;align-items:center;justify-content:center}
.hero small{font-size:13px;opacity:.75;margin-bottom:8px}
.cd{display:flex;gap:14px}.cd div{text-align:center;font-size:11px;min-width:58px}.cd em{display:block;font:800 38px/42px Orbitron,sans-serif}.cd span{opacity:.7}
.hero strong{font-size:14px;font-weight:600;opacity:.85;margin-top:10px}
.rows{left:16px;right:16px;top:414px;font-size:15px}
.rows div{display:flex;justify-content:space-between;align-items:center;height:48.5px;border-top:1px solid #222226;font-weight:500}
.rows span{color:#9a9aa2;font-weight:400;display:flex;gap:7px;align-items:center}.rows svg{width:16px;height:16px}
.bt{left:16px;right:16px;height:52px;border-radius:26px;display:flex;gap:10px;align-items:center;justify-content:center;font-size:17px;font-weight:600;background:#141415;box-shadow:inset 0 0 0 1px #2b2b2d}
.bt.m{background:#fff;color:#000}.bt svg{width:18px;height:18px}
.fine{left:0;right:0;top:838px;text-align:center;font-size:12px;color:#8e8e93}
@media(prefers-reduced-motion:reduce){.ph *{animation:none!important;transition:none!important}}

/* 잠금 화면 */
.lock{background:radial-gradient(130% 62% at 50% 112%,#C8FA3C,#5fae3c 30%,#17401f 62%,#06100a)}
.ldate{left:0;right:0;top:82px;text-align:center;font-size:21px;font-weight:600;opacity:.9}
.lclk{left:0;right:0;top:104px;text-align:center;font-size:104px;line-height:1.1;font-weight:600;letter-spacing:-3px;font-variant-numeric:tabular-nums}
.pile{position:absolute;left:22px;right:22px;bottom:156px;transform-origin:50% 100%;height:84px;cursor:pointer}
.nt{position:absolute;inset:0;display:flex;gap:11px;align-items:center;padding:0 14px;border-radius:26px;background:#f3f6ec;color:#0b0c09;transform-origin:50% 100%;box-shadow:0 6px 22px rgba(0,0,0,.2);transition:transform .45s cubic-bezier(.22,1,.36,1),opacity .1s,background-color .2s}
.nt>*{transition:opacity .1s}
.nt.back{background:#cfdbbd}.nt.back>*{opacity:0}
.nt img{width:40px;height:40px;border-radius:9.500px;flex:none}
.nt>div{flex:1;min-width:0}.nt b{display:block;font-size:15px;line-height:20px;font-weight:600}
.ph .nt p{margin:0;max-width:none;font-size:15px;line-height:19px;font-weight:400;letter-spacing:-.2px;color:inherit}
.nt time{position:absolute;right:15px;top:13px;font-size:13px;color:#5c6452}
.lb{bottom:46px;width:50px;height:50px;border-radius:25px;background:rgba(6,16,10,.38);display:grid;place-items:center}.lb svg{width:23px;height:23px}
.bar0{left:131px;bottom:8px;width:140px;height:5px;border-radius:3px;background:#fff}

/* 모바일: 테두리 없이 화면 폭 가득 */
.bare .dev{width:402px;padding:0;border-radius:0;background:none;box-shadow:none}
.bare .scr{border-radius:0}
.bare .isl,.bare .stat,.bare .ttl,.bare .flt,.bare .seg,.bare .sort,.bare .tab,.bare .grab,.bare .x,.bare .fine,.bare .lb,.bare .bar0{display:none}
.bare .drum{top:var(--wt,208px);bottom:auto;height:calc(var(--wb) - var(--wt))}
.bare .slot{top:calc(437px - var(--wt))}
/* 모바일: 검은 판을 빼서 페이지 배경이 바뀔 때 네모난 경계가 안 생긴다. 위아래 흐림은 마스크로 */
.bare .scr:not(.lock){background:none}.bare .drum::before,.bare .drum::after{display:none}
.bare .drum{-webkit-mask-image:linear-gradient(transparent,#000 48px,#000 calc(100% - 48px),transparent);mask-image:linear-gradient(transparent,#000 48px,#000 calc(100% - 48px),transparent)}
.bare .dot{bottom:auto;top:calc(var(--wb) - 68px);width:52px;height:52px;border-radius:26px}.bare .dot i{width:32px;height:32px;border-radius:16px}
.bare .sheet{top:calc(var(--wt) - 121px);bottom:auto;height:874px;border-radius:0}
.bare .bt:not(.m){display:none}
@media(max-height:759px){.bare .bt,.bare .dot{display:none}}
.bare .scr.lock{height:100%}.bare .ldate{top:30px}.bare .lclk{top:50px}.bare .pile{left:12px;right:12px;bottom:36px}
@media(max-height:620px){.bare .lclk{font-size:76px}}
