.phone{position:relative;background:#90acd5;color:#101010}
.phone .nav{position:absolute;inset:0 0 auto;height:94px;aspect-ratio:auto;display:block;z-index:2;background:rgba(144,172,213,.86);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
.nav .systemline,.nav .contactline{display:flex;align-items:center}.systemline{height:47px;justify-content:space-between;padding:0 8% 0 11%;font-size:19px;font-weight:600}.radio{display:flex;align-items:center;gap:5px;font-size:16px}.bars{display:flex;align-items:end;gap:2px}.bars i{width:4px;background:#090909;border-radius:2px}.battery{position:relative;border-radius:5px;background:linear-gradient(to right,#111 70%,#647c9e 70%);color:white;padding:0 4px;font-size:14px}.battery:after{content:'';position:absolute;right:-3px;top:5px;width:2px;height:5px;background:#637794;border-radius:2px}
.contactline{height:47px;gap:5px;padding:0 10px}.contactline strong{opacity:1;flex:1;font-size:17px}.nav .contactline button{position:static;width:34px;height:38px;display:grid;place-items:center}.nav .contactline svg{opacity:1}.badge{font-size:11px;background:#506a8a;color:white;border-radius:9px;padding:3px 6px}.icoBtn svg{display:block;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.chat{background:#90acd5;padding:102px 8px 10px;scroll-padding-top:102px}.row{gap:5px;margin-bottom:7px}.avatar{width:31px;height:31px}.bubble{--fill:#fff;background:var(--fill);border-radius:21px;padding:7px 14px;line-height:1.4}.mine .bubble{--fill:#70e475;background:var(--fill)}.row .bubble:not(.photo):before{border:0;width:11px;height:12px;top:0;left:-4px;background:var(--fill);clip-path:path('M0 0 Q5 4 11 2 L9 12 Q2 10 0 0')}.row.mine .bubble:not(.photo):before{left:auto;right:-4px;transform:scaleX(-1)}.meta{font-size:11px;color:#485d78}.bubble.photo{border-radius:11px}.photo img{width:clamp(130px,59cqw,260px);max-width:100%;min-width:0;height:auto;max-height:380px}.sharepic{align-self:center;border-radius:50%;width:33px;height:33px;background:#7893b7;color:white;display:grid;place-items:center;padding:6px}.sharepic svg{width:21px;height:21px}
.compose{height:55px;padding:7px 13px;gap:13px}.compose .field{display:flex;align-items:center;flex:1;min-width:0;background:#f5f5f5;border:1px solid #e8e8e8;border-radius:23px;padding-right:7px}.compose input{height:35px;border:0;background:none;padding:6px 12px}.field button{color:#777}.field .icoBtn svg{width:21px}.bottom{padding-bottom:env(safe-area-inset-bottom,0px)}.home{background:transparent}
.nav .contactline .toolbar-action{position:relative;inset:auto;flex:0 0 clamp(32px,8.5cqw,38px);color:#080a0d}
.contactline .toolbar-action svg{width:21px;height:21px;stroke-width:1.9}
.toolbar-action[aria-label="日期"]::after,.toolbar-action[aria-label="設定"]::after{content:"";position:absolute;background:#06cf58;border-radius:50%;pointer-events:none}
.toolbar-action[aria-label="日期"]::after{content:"N";top:1px;right:-2px;width:16px;height:16px;line-height:16px;font:bold 11px/16px Arial;color:white;text-align:center}
.toolbar-action[aria-label="設定"]::after{top:2px;right:1px;width:6px;height:6px}
.phone .row .bubble.photo::before,.phone .row .bubble.photo::after{display:none;content:none}
.phone .row .bubble:not(.photo)::before{content:"";position:absolute;border:0;top:1px;left:-4px;right:auto;width:19px;height:13px;clip-path:none;background-color:var(--fill);mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 19 13'%3E%3Cpath d='M0 0Q6 4 10 3Q14 2 19 2V13H9Q2 8 0 0Z'/%3E%3C/svg%3E") center/100% 100% no-repeat;transform:none}
.phone .row.mine .bubble:not(.photo)::before{right:-4px;left:auto;transform:scaleX(-1)}
.systemline .battery{box-sizing:border-box;display:inline-grid;place-items:center;flex:0 0 29px;width:29px;height:15px;padding:0;border-radius:5px;font:650 13px/15px -apple-system,BlinkMacSystemFont,Arial,sans-serif;font-variant-numeric:tabular-nums}
.systemline .battery::after{top:50%;transform:translateY(-50%);right:-3px;width:2px;height:5px}
.phone .row .avatar{font-size:0;color:transparent;background:#e4dff8 url('default-avatar.jpg') 92% 41% / 138% auto no-repeat}
.phone.custom-avatar .row .avatar{background-image:var(--contact-photo);background-size:cover;background-position:center}
.phone .nav .contactline strong,
.phone .row .bubble:not(.photo) {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang TC", "Noto Sans TC", sans-serif;
  font-weight: 650;
}
.phone .row .bubble:not(.photo) {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: normal;
}
