/* 真机外框（香槟金金属边 + 细黑边 + 挖孔三摄），取自开灵 2027 宣传册真机图。
   用法：<div class="kphone" style="--pw:340px"> … </div>，结构见 SKILL.md。
   素材和本 css 放同一个文件夹（如 kphone/），css 里的 url() 相对本文件。 */
.kphone{--pw:340px;position:relative;width:var(--pw);aspect-ratio:1316/2832;flex:none;filter:drop-shadow(0 calc(var(--pw)*.06) calc(var(--pw)*.07) rgba(10,30,71,.22))}
.kphone>.kp-frm{position:absolute;inset:0;width:100%;height:100%;z-index:3;pointer-events:none;user-select:none}
.kphone>.kp-cam{position:absolute;left:37.99%;top:5.65%;width:24.32%;z-index:4;pointer-events:none}
.kphone>.kp-scr{position:absolute;left:4.833%;top:4.682%;width:90.25%;height:90.6%;border-radius:12.63%/5.846%;overflow:hidden;background:#fff;display:flex;flex-direction:column;z-index:1}
/* 状态栏：高度、时间、右侧图标都按真机比例；底色跟页头一致，文字颜色用 --kp-fg */
.kp-sbar{flex:none;position:relative;height:calc(var(--pw)*.1143);color:var(--kp-fg,#2D3037);background:var(--kp-sbg,transparent)}
.kp-sbar .t{position:absolute;left:6.4%;top:32%;font-size:calc(var(--pw)*.0357);font-weight:600;letter-spacing:.01em;font-family:-apple-system,"PingFang SC",sans-serif;line-height:1}
.kp-sbar .ic{position:absolute;right:3.5%;top:25%;width:32.8%;aspect-ratio:390/58;background:currentColor;-webkit-mask:url(status-icons.png) center/contain no-repeat;mask:url(status-icons.png) center/contain no-repeat}
.kp-body{flex:1;min-height:0;overflow:auto;scrollbar-width:none}
.kp-body::-webkit-scrollbar{display:none}
/* 底部留出圆角安全区，tab 栏放在 .kp-tab 里 */
.kp-tab{flex:none;padding-bottom:calc(var(--pw)*.035)}
