/* The hero phone: a small working copy of the app (phone.js). Sizes are the app's points scaled to a 308px screen. */
#phone{position:absolute;inset:0;overflow:hidden;background:#09090B;color:#fff;font-family:Inter,-apple-system,'SF Pro Text',system-ui,sans-serif;font-size:13px;line-height:1.3;-webkit-font-smoothing:antialiased;user-select:none;-webkit-user-select:none;text-align:left}
#phone *{box-sizing:border-box}
:where(#phone button){font:inherit;color:inherit;background:none;border:0;padding:0;margin:0;cursor:pointer;text-align:inherit;-webkit-tap-highlight-color:transparent}
#phone button:active{transform:scale(.97)}
:where(#phone img){display:block;max-width:none}
#phone svg{display:block;flex:none}
#phone .d{font-family:'Big Shoulders Display','BSD Local',sans-serif;font-weight:900;line-height:.95}
#phone .g{background:linear-gradient(135deg,#F5D99E,#DEB873 50%,#A37D42);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
#phone .sp{flex:1}
#phone .faint{color:rgba(255,255,255,.4)}
#phone .muted{color:rgba(255,255,255,.62)}
#phone .gold{color:#DEB873}
#phone .green{color:#45DB78}

@keyframes ph-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes ph-push{from{opacity:0;transform:translateX(30px)}to{opacity:1;transform:none}}
@keyframes ph-up{from{transform:translateY(100%)}to{transform:none}}
@keyframes ph-fade{from{opacity:0}to{opacity:1}}
@keyframes ph-pulse{0%{transform:scale(1);opacity:.7}100%{transform:scale(2.6);opacity:0}}
@keyframes ph-ripple{0%{transform:scale(.9);opacity:.7}100%{transform:scale(1.55);opacity:0}}
@keyframes ph-blink{0%,100%{opacity:1}50%{opacity:.35}}
@keyframes ph-kb{from{transform:scale(1)}to{transform:scale(1.08)}}
@keyframes ph-nudge{from{transform:translateY(0)}to{transform:translateY(-5px)}}
@keyframes ph-pop{0%{transform:scale(.4);opacity:0}70%{transform:scale(1.08)}100%{transform:scale(1);opacity:1}}
@keyframes ph-scan{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.55;transform:scale(.92)}}
@keyframes ph-tap{0%{box-shadow:0 0 0 0 rgba(69,219,120,.5)}100%{box-shadow:0 0 0 8px rgba(69,219,120,0)}}

.ph-status{position:absolute;top:0;left:0;right:0;height:46px;display:flex;justify-content:space-between;align-items:center;padding:6px 28px 0 30px;font-size:14px;font-weight:600;z-index:20;pointer-events:none;font-variant-numeric:tabular-nums;text-shadow:0 1px 4px rgba(0,0,0,.4)}
.ph-batt{width:24px;height:11.5px;border-radius:3.5px;border:1.5px solid rgba(255,255,255,.75);padding:1.5px;display:flex}
.ph-batt i{flex:1;background:#fff;border-radius:1.5px}
.ph-view{position:absolute;inset:0;animation:ph-in .35s cubic-bezier(.2,.7,.2,1) both}
.ph-view.push{animation-name:ph-push}
.ph-scroll{position:absolute;inset:0;overflow-y:auto;overflow-x:hidden;scrollbar-width:none;padding:50px 0 100px;overscroll-behavior:contain}
.ph-scroll::-webkit-scrollbar{display:none}
.ph-pad{padding:0 16px}
.ph-hs{display:flex;gap:9px;overflow-x:auto;scrollbar-width:none;padding:0 16px;scroll-snap-type:x mandatory;scroll-padding:0 16px;overscroll-behavior-x:contain}
.ph-hs::-webkit-scrollbar{display:none}
.ph-hs>*{scroll-snap-align:start;flex:none}

/* Home */
.ph-head{display:flex;align-items:center;gap:8px;padding-top:6px}
.ph-word{font-size:24px}
.ph-ib{width:34px;height:34px;border-radius:50%;background:#212121;display:flex;align-items:center;justify-content:center;position:relative}
.ph-ib.glass{background:rgba(0,0,0,.45);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.ph-ndot{position:absolute;top:7px;right:8px;width:7px;height:7px;border-radius:50%;background:#DEB873}
.ph-greet{font-size:24px;margin-top:14px}
.ph-label{display:flex;justify-content:space-between;align-items:center;margin:14px 0 9px;font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.36)}
.ph-label button{font-size:11px;font-weight:600;letter-spacing:0;text-transform:none;color:#DEB873}
.ph-chip{display:flex;align-items:center;gap:8px;height:50px;padding:7px 8px;border-radius:14px;background:#161616;border:1px solid rgba(255,255,255,.08)}
.ph-chip .nm{font-size:12px;font-weight:600}
.ph-chip .st{font-size:9.5px;margin-top:2px;white-space:nowrap}
.ph-callbtn{width:30px;height:30px;border-radius:50%;background:#45DB78;color:#052110;display:flex;align-items:center;justify-content:center;margin-left:4px;animation:ph-tap 1.8s ease-out infinite}
.ph-av{border-radius:50%;object-fit:cover;object-position:top;flex:none}
.ph-sec{display:flex;align-items:center;gap:8px;margin:24px 0 11px}
.ph-sec .d{font-size:19px;font-weight:800}
.ph-sec .faint{margin-left:auto;font-size:10px}
.ph-pulse{position:relative;width:8px;height:8px;border-radius:50%;background:#45DB78;flex:none}
.ph-pulse::after{content:"";position:absolute;inset:0;border-radius:50%;border:2px solid rgba(69,219,120,.6);animation:ph-pulse 1.6s ease-out infinite}
.ph-blink{display:inline-block;width:6px;height:6px;border-radius:50%;background:#45DB78;animation:ph-blink 1.2s ease-in-out infinite;flex:none}
.ph-live{position:relative;width:208px;height:268px;border-radius:20px;overflow:hidden;border:1px solid rgba(69,219,120,.25);display:block}
.ph-live>img,.ph-tile>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:top center}
.ph-live .fade{position:absolute;inset:0;background:linear-gradient(180deg,transparent 40%,rgba(0,0,0,.35) 62%,rgba(0,0,0,.94))}
.ph-pill{display:inline-flex;align-items:center;gap:5px;padding:4.5px 8px;border-radius:999px;background:rgba(0,0,0,.5);font-size:8.5px;font-weight:700;letter-spacing:.05em;white-space:nowrap;font-variant-numeric:tabular-nums}
.ph-pill.lv{border:1px solid rgba(69,219,120,.4)}
.ph-heart{width:22px;height:22px;border-radius:50%;background:linear-gradient(135deg,#F5D99E,#DEB873 50%,#A37D42);color:#000;display:flex;align-items:center;justify-content:center}
.ph-live .top{position:absolute;top:10px;left:10px;right:10px;display:flex;justify-content:space-between;align-items:flex-start}
.ph-live .info{position:absolute;left:12px;right:12px;bottom:12px;display:flex;flex-direction:column;gap:7px}
.ph-live .nm{display:flex;align-items:center;gap:5px;font-size:24px;white-space:nowrap;overflow:hidden}
.ph-live .hd{font-size:10px;color:rgba(255,255,255,.7);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ph-queue{display:flex;align-items:center;gap:8px;font-size:9.5px}
.ph-queue b{display:flex;align-items:center;gap:4px;font-weight:600}
.ph-badge{display:inline-flex;align-items:center;justify-content:center;width:13px;height:13px;border-radius:50%;background:linear-gradient(135deg,#F5D99E,#DEB873 50%,#A37D42);color:#000;font-family:Inter,sans-serif;font-size:8px;font-weight:900;flex:none;-webkit-text-fill-color:#000}
.ph-green{position:relative;width:100%;height:38px;border-radius:12px;background:linear-gradient(180deg,#5CE68C,#45DB78 50%,#1F9C4A);color:#052110 !important;font-weight:700;font-size:12.5px;display:flex;align-items:center;justify-content:center;gap:6px;box-shadow:0 5px 14px rgba(69,219,120,.3);white-space:nowrap}
.ph-green .pr,.ph-goldbtn .pr{opacity:.7;font-variant-numeric:tabular-nums}
.ph-goldbtn{width:100%;height:42px;border-radius:13px;background:linear-gradient(135deg,#F5D99E,#DEB873 50%,#A37D42);color:#0A0A0A !important;font-weight:700;font-size:13px;display:flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap}
.ph-greybtn{width:100%;height:42px;border-radius:13px;background:#2a2a2c;color:#fff;font-weight:600;font-size:12.5px;display:flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap}
.ph-ghost{width:100%;height:42px;border-radius:13px;background:#212121;border:1px solid rgba(255,255,255,.08);font-weight:600;font-size:13px;display:flex;align-items:center;justify-content:center;gap:7px}
.ph-h{margin:24px 0 3px;font-size:19px;font-weight:800}
.ph-sub{font-size:10.5px;color:rgba(255,255,255,.5)}
.ph-filters{display:flex;gap:6px;margin:11px 0 11px}
.ph-filter{display:flex;align-items:center;gap:5px;padding:7px 11px;border-radius:999px;background:#212121;font-size:11px;font-weight:600}
.ph-filter.on{background:linear-gradient(135deg,#F5D99E,#DEB873 50%,#A37D42);color:#000}
.ph-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.ph-tile{position:relative;aspect-ratio:.72;border-radius:16px;overflow:hidden;border:1px solid rgba(255,255,255,.08);display:block;animation:ph-in .4s both}
.ph-tile .fade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.25),transparent 30%,transparent 50%,rgba(0,0,0,.88))}
.ph-tile .top{position:absolute;top:8px;left:8px;right:8px;display:flex;justify-content:space-between;align-items:flex-start}
.ph-tile .info{position:absolute;left:9px;right:9px;bottom:9px}
.ph-tile .nm{font-size:16.5px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ph-tile .rl{font-size:9.5px;color:rgba(255,255,255,.7);margin-top:2px}
.ph-tile .fr{font-size:10px;font-weight:700;color:#DEB873;margin-top:3px}
.ph-tile .ph-pill{font-size:7.5px;padding:4px 7px}

/* Tab bar + line pill */
.ph-tabs{position:absolute;left:50%;bottom:14px;transform:translateX(-50%);display:flex;gap:2px;padding:4px;border-radius:999px;background:rgba(30,30,32,.72);backdrop-filter:blur(18px) saturate(1.6);-webkit-backdrop-filter:blur(18px) saturate(1.6);border:1px solid rgba(255,255,255,.08);box-shadow:0 10px 30px rgba(0,0,0,.5);z-index:8}
.ph-tab{position:relative;width:70px;height:44px;border-radius:999px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:8.5px;font-weight:600;color:rgba(255,255,255,.75)}
.ph-tab.on{background:rgba(255,255,255,.1);color:#F5D99E}
.ph-tab .bd{position:absolute;top:3px;right:16px;min-width:13px;height:13px;padding:0 3px;border-radius:7px;background:#F24545;color:#fff;font-size:8px;font-weight:700;display:flex;align-items:center;justify-content:center}
.ph-linepill{position:absolute;left:12px;right:12px;bottom:70px;display:flex;align-items:center;gap:8px;padding:6px 12px 6px 6px;border-radius:999px;background:rgba(24,24,26,.82);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border:1px solid rgba(69,219,120,.35);box-shadow:0 10px 26px rgba(0,0,0,.5);z-index:8;animation:ph-in .3s both}
.ph-linepill .t1{font-size:11.5px;font-weight:600}
.ph-linepill .t2{font-size:9.5px;font-weight:500;color:#45DB78}

/* Profile */
.ph-hero{position:relative;height:330px;margin-top:-50px;overflow:hidden}
.ph-hero img{width:100%;height:100%;object-fit:cover;object-position:top center}
.ph-hero .fade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.35),transparent 25%,transparent 45%,rgba(9,9,11,.75) 75%,#09090B)}
.ph-hero .info{position:absolute;left:16px;right:16px;bottom:6px}
.ph-pname{display:flex;align-items:center;gap:6px;font-size:31px;margin-top:8px}
.ph-prole{font-size:10.5px;color:rgba(255,255,255,.7);margin-top:5px}
.ph-topbar{position:absolute;top:44px;left:12px;right:12px;display:flex;gap:7px;z-index:9}
.ph-stats{display:grid;grid-template-columns:repeat(3,1fr);margin-top:12px;padding:10px 4px;border-radius:14px;background:#161616;border:1px solid rgba(255,255,255,.08);text-align:center}
.ph-stats>div+div{border-left:1px solid rgba(255,255,255,.08)}
.ph-stats b{display:flex;align-items:center;justify-content:center;gap:4px;font-size:13px}
.ph-stats span{display:block;font-size:8.5px;color:rgba(255,255,255,.45);margin-top:3px}
.ph-exp{display:flex;align-items:center;gap:10px;width:100%;margin-top:8px;padding:11px;border-radius:15px;background:#161616;border:1.5px solid rgba(255,255,255,.08);transition:border-color .25s,background .25s}
.ph-exp.on{border-color:#DEB873;background:#1a1712}
.ph-exp .ic{width:36px;height:36px;border-radius:10px;background:#2a2a2c;display:flex;align-items:center;justify-content:center;flex:none;color:#fff}
.ph-exp.on .ic{background:linear-gradient(135deg,#F5D99E,#DEB873 50%,#A37D42);color:#000}
.ph-exp .tt{font-size:12.5px;font-weight:600}
.ph-exp .ds{font-size:9.5px;color:rgba(255,255,255,.5);margin-top:2px}
.ph-exp .pr{margin-left:auto;font-size:19px;font-variant-numeric:tabular-nums;white-space:nowrap}
.ph-note{display:flex;align-items:center;gap:7px;margin-top:8px;padding:9px 11px;border-radius:12px;background:rgba(69,219,120,.08);font-size:10px;color:rgba(255,255,255,.8)}
.ph-charity{display:flex;align-items:center;gap:10px;margin-top:10px;padding:11px;border-radius:15px;background:linear-gradient(135deg,#1a1610,#0e0d0b);border:1px solid rgba(222,184,115,.3);font-size:10.5px}
.ph-cta{position:absolute;left:0;right:0;bottom:0;display:flex;gap:8px;padding:12px 14px 24px;background:linear-gradient(180deg,transparent,#09090B 30%);z-index:8}
.ph-cta .ph-green,.ph-cta .ph-goldbtn,.ph-cta .ph-greybtn{height:44px;flex:1}
.ph-sq{width:44px;height:44px;border-radius:13px;background:#212121;border:1px solid rgba(255,255,255,.08);display:flex;align-items:center;justify-content:center;flex:none;color:#DEB873}

/* Sheets */
.ph-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.55);z-index:12;animation:ph-fade .25s both}
.ph-sheet{position:absolute;left:0;right:0;bottom:0;max-height:88%;padding:8px 16px 22px;border-radius:26px 26px 0 0;background:#121213;border-top:1px solid rgba(255,255,255,.08);z-index:13;animation:ph-up .38s cubic-bezier(.2,.8,.2,1) both;display:flex;flex-direction:column;align-items:center;text-align:center;overflow-y:auto;scrollbar-width:none}
.ph-grab{width:34px;height:4px;border-radius:2px;background:rgba(255,255,255,.25);margin-bottom:16px;flex:none}
.ph-st{font-size:28px;margin-top:10px}
.ph-ss{font-size:11px;color:rgba(255,255,255,.6);margin-top:5px}
.ph-tips{width:100%;margin-top:14px;padding:11px 12px;border-radius:14px;background:#1a1a1b;border:1px solid rgba(255,255,255,.07);display:flex;flex-direction:column;gap:9px;text-align:left}
.ph-tip{display:flex;gap:9px;font-size:10.5px;color:rgba(255,255,255,.85);line-height:1.35}
.ph-fine{font-size:9px;color:rgba(255,255,255,.36);margin-top:9px;line-height:1.4}
.ph-sheet .ph-green,.ph-sheet .ph-goldbtn{height:44px;margin-top:16px;font-size:13.5px}
.ph-kicker{align-self:flex-start;font-size:9px;font-weight:700;letter-spacing:.08em;color:rgba(255,255,255,.4);margin:14px 0 7px}
.ph-opts{display:flex;flex-wrap:wrap;gap:6px;width:100%}
.ph-opt{padding:9px 11px;border-radius:11px;background:#1d1d1f;border:1.5px solid rgba(255,255,255,.08);font-size:11px;font-weight:600;font-variant-numeric:tabular-nums}
.ph-opt.on{border-color:#DEB873;color:#F5D99E;background:#1f1b14}
.ph-pay{position:absolute;inset:0;z-index:14;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:rgba(10,10,11,.9);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);border-radius:26px 26px 0 0;animation:ph-fade .2s both}
.ph-pay .scan{color:#DEB873;animation:ph-scan 1s ease-in-out infinite}
.ph-pay .ok{width:60px;height:60px;border-radius:50%;background:#45DB78;color:#052110;display:flex;align-items:center;justify-content:center;animation:ph-pop .45s both}
.ph-pay .lb{font-size:12px;font-weight:600}
.ph-list{width:100%;display:flex;flex-direction:column;gap:7px;text-align:left}
.ph-item{display:flex;align-items:center;gap:10px;text-align:left;padding:10px;border-radius:14px;background:#1a1a1b;border:1px solid rgba(255,255,255,.07);width:100%}
.ph-item .t1{font-size:11.5px;font-weight:600}
.ph-item .t2{font-size:9.5px;color:rgba(255,255,255,.5);margin-top:2px}

/* Line, ring, call */
.ph-full{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;text-align:center;padding:50px 18px 22px}
.ph-ring{position:relative;display:flex;align-items:center;justify-content:center}
.ph-ring i{position:absolute;inset:0;border-radius:50%;border:2px solid #45DB78;animation:ph-ripple 2.2s ease-out infinite}
.ph-ring i:nth-child(2){animation-delay:1.1s}
.ph-ring.gold i{border-color:rgba(222,184,115,.7)}
.ph-bar{width:170px;height:4px;border-radius:4px;background:rgba(255,255,255,.12);overflow:hidden;margin-top:18px}
.ph-bar i{display:block;height:100%;background:#45DB78;border-radius:4px;transition:width .8s ease}
.ph-link{font-size:12px;font-weight:600;color:#F5D99E;padding:9px}
.ph-blur{position:absolute;inset:-40px;width:calc(100% + 80px);height:calc(100% + 80px);object-fit:cover;filter:blur(30px);opacity:.55}
.ph-round{width:58px;height:58px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff}
.ph-callphoto{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:top center;animation:ph-kb 14s ease-in-out infinite alternate}
.ph-ctl{width:44px;height:44px;border-radius:50%;background:rgba(40,40,42,.7);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);display:flex;align-items:center;justify-content:center}
.ph-ctl.off{background:#fff;color:#000}
.ph-pip{position:absolute;right:12px;bottom:96px;width:74px;height:104px;border-radius:13px;border:1px solid rgba(255,255,255,.25);background:#1c1c1e;display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,.35);overflow:hidden}
.ph-keep{width:236px;padding:11px 11px 15px;border-radius:8px;background:#161616;border:1px solid rgba(222,184,115,.35);transform:rotate(-2.5deg);box-shadow:0 30px 60px rgba(0,0,0,.6);animation:ph-pop .6s .1s both;text-align:left}
.ph-stars{display:flex;gap:6px;justify-content:center}
.ph-stars button{color:rgba(255,255,255,.2);transition:color .2s,transform .2s}
.ph-stars button.on{color:#DEB873}
.ph-check{width:72px;height:72px;border-radius:50%;background:linear-gradient(135deg,#F5D99E,#DEB873 50%,#A37D42);color:#000;display:flex;align-items:center;justify-content:center;animation:ph-pop .5s both;box-shadow:0 0 50px rgba(222,184,115,.35)}
.ph-toast{position:absolute;top:50px;left:50%;transform:translate(-50%,-8px);max-width:270px;padding:8px 13px;border-radius:999px;background:rgba(36,36,38,.92);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,.1);font-size:11px;font-weight:600;text-align:center;opacity:0;pointer-events:none;transition:opacity .25s,transform .25s;z-index:30}
.ph-toast.on{opacity:1;transform:translate(-50%,0)}
@media (prefers-reduced-motion:reduce){#phone *{animation:none!important}}
.ph-view.still,.ph-sheet.still,.ph-backdrop.still{animation:none}
#phone.lock .ph-scroll{overflow-y:hidden}
#phone .ph-live .nm{font-size:22px}
#phone .ph-tile .nm{white-space:normal;line-height:.9;font-size:16px}
