/* ===== iOS 畫面（HTML/CSS 重繪，單位 u = 螢幕寬度 / 300） ===== */
.dn_phone{width:min(100%,262px)}
.dn_phone_screen{container-type:inline-size}
.ios{--u:calc(100cqw / 300);position:relative;width:100%;height:100%;overflow:hidden;background:#f2f2f7;color:#000;
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Noto Sans TC","PingFang TC",sans-serif;font-size:calc(13 * var(--u));line-height:1.35;text-align:left;-webkit-font-smoothing:antialiased}
.ios *{box-sizing:border-box}

/* 狀態列 */
.ios_status{position:absolute;top:0;left:0;right:0;height:calc(46 * var(--u));display:flex;justify-content:space-between;align-items:center;padding:calc(6 * var(--u)) calc(24 * var(--u)) 0 calc(28 * var(--u));font-weight:600;font-size:calc(13.5 * var(--u));z-index:2}
.ios_status > span{display:flex;align-items:center;gap:calc(5 * var(--u))}
.ios_status svg{height:calc(10 * var(--u));width:auto;fill:#000}
.ios_bat{position:relative;display:block;width:calc(23 * var(--u));height:calc(11 * var(--u));border:1px solid rgba(0,0,0,.4);border-radius:calc(3.4 * var(--u));padding:1px}
.ios_bat::before{content:"";display:block;width:100%;height:100%;border-radius:calc(2 * var(--u));background:#000}
.ios_bat::after{content:"";position:absolute;right:calc(-3 * var(--u));top:50%;width:calc(1.6 * var(--u));height:calc(4 * var(--u));transform:translateY(-50%);border-radius:0 2px 2px 0;background:rgba(0,0,0,.4)}

/* 導覽列 */
.ios_nav{position:relative;margin-top:calc(46 * var(--u));height:calc(40 * var(--u));display:flex;align-items:center;justify-content:center;font-weight:600;font-size:calc(14 * var(--u))}
.ios_back{position:absolute;left:calc(14 * var(--u));top:50%;transform:translateY(-50%);display:grid;place-items:center;width:calc(30 * var(--u));aspect-ratio:1;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.08)}
.ios_back::before{content:"";width:calc(8 * var(--u));aspect-ratio:1;border-left:calc(2 * var(--u)) solid #000;border-bottom:calc(2 * var(--u)) solid #000;transform:translateX(12%) rotate(45deg)}

/* 群組列表 */
.ios_body{padding:calc(8 * var(--u)) calc(14 * var(--u)) 0}
.ios_group{margin-bottom:calc(14 * var(--u));border-radius:calc(16 * var(--u));background:#fff;overflow:hidden}
.ios_row{position:relative;display:flex;justify-content:space-between;align-items:center;gap:calc(8 * var(--u));min-height:calc(40 * var(--u));padding:calc(7 * var(--u)) calc(14 * var(--u))}
.ios_row + .ios_row::before{content:"";position:absolute;top:0;left:calc(14 * var(--u));right:0;height:1px;background:#e5e5ea}
.ios_row small{display:block;margin-top:calc(1 * var(--u));font-size:calc(10 * var(--u));color:#8a8a8e}
.ios_val{display:flex;align-items:center;gap:calc(5 * var(--u));color:#8a8a8e;white-space:nowrap}
.ios_chev{width:calc(6 * var(--u));aspect-ratio:1;border-right:calc(1.6 * var(--u)) solid #c4c4c7;border-top:calc(1.6 * var(--u)) solid #c4c4c7;transform:rotate(45deg)}
.ios_foot{margin:calc(-6 * var(--u)) calc(14 * var(--u)) calc(12 * var(--u));font-size:calc(9.5 * var(--u));line-height:1.45;color:#8a8a8e}
.ios_head{margin:calc(4 * var(--u)) calc(14 * var(--u)) calc(6 * var(--u));font-size:calc(10.5 * var(--u));font-weight:600;color:#6c6c70;letter-spacing:.02em}
.ios_tag{display:inline-block;margin-right:calc(6 * var(--u));padding:0 calc(5 * var(--u));border-radius:calc(3 * var(--u));background:#8e8e93;color:#fff;font-size:calc(8 * var(--u));font-weight:700;line-height:calc(13 * var(--u));vertical-align:calc(1 * var(--u))}
.ios_tag--red{background:#da2f1c}
.ios_link{color:#007aff}
.ios_tg{position:relative;flex:0 0 auto;width:calc(44 * var(--u));height:calc(27 * var(--u));border-radius:999px;background:#e9e9ea}
.ios_tg::after{content:"";position:absolute;top:calc(2 * var(--u));left:calc(2 * var(--u));width:calc(23 * var(--u));aspect-ratio:1;border-radius:50%;background:#fff;box-shadow:0 2px 4px rgba(0,0,0,.2)}

/* 重點標示（品牌紅圈，脈動） */
.ios_mark{position:relative}
.ios_mark::after{content:"";position:absolute;inset:calc(2 * var(--u)) calc(4 * var(--u));border:calc(2 * var(--u)) solid #da2f1c;border-radius:calc(12 * var(--u));pointer-events:none;animation:iosPulse 1.8s ease-in-out infinite}
@keyframes iosPulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.35;transform:scale(1.025)}}

/* 底部說明標籤 */
.ios_chip{position:absolute;left:50%;bottom:calc(34 * var(--u));transform:translateX(-50%);max-width:88%;padding:calc(7 * var(--u)) calc(14 * var(--u));border-radius:999px;background:#da2f1c;color:#fff;font-size:calc(11 * var(--u));font-weight:700;text-align:center;line-height:1.35;box-shadow:0 6px 16px rgba(218,47,28,.35);white-space:nowrap}

/* 提示視窗 */
.ios--dim .ios_body{filter:blur(1.5px)}
.ios--dim::before{content:"";position:absolute;inset:0;z-index:3;background:rgba(0,0,0,.28)}
.ios_alert{position:absolute;z-index:4;top:50%;left:50%;width:calc(250 * var(--u));transform:translate(-50%,-56%);padding:calc(22 * var(--u)) calc(18 * var(--u)) calc(16 * var(--u));border-radius:calc(30 * var(--u));background:rgba(246,246,248,.96);box-shadow:0 14px 40px rgba(0,0,0,.28)}
.ios_alert h4{margin:0 0 calc(6 * var(--u));font-size:calc(14.5 * var(--u));font-weight:700;line-height:1.3}
.ios_alert p{margin:0;font-size:calc(11.5 * var(--u));line-height:1.5;color:#3c3c43}
.ios_alert b{display:grid;place-items:center;margin-top:calc(16 * var(--u));height:calc(40 * var(--u));border-radius:999px;background:#007aff;color:#fff;font-size:calc(14 * var(--u));font-weight:600}

/* ===== 補充：開關、欄位列、Android ===== */
.ios_tg--on{background:#34c759}
.ios_tg--on::after{left:auto;right:calc(2 * var(--u))}
.ios_row--field{justify-content:flex-start;gap:calc(14 * var(--u))}
.ios_lab{flex:0 0 calc(62 * var(--u))}
.ios_inp{color:#000;white-space:nowrap}
.ios_row--field.ios_mark .ios_inp{color:#da2f1c;font-weight:700}
.ios_sec{margin:calc(2 * var(--u)) calc(14 * var(--u)) calc(5 * var(--u));font-size:calc(10 * var(--u));color:#6c6c70;font-weight:500}
.ios_clip{margin-top:calc(-4 * var(--u))}

.and{--u:calc(100cqw / 300);position:relative;width:100%;height:100%;overflow:hidden;background:#fff;color:#1c1b1f;
  font-family:Roboto,"Noto Sans TC","PingFang TC",sans-serif;font-size:calc(13 * var(--u));line-height:1.35;-webkit-font-smoothing:antialiased}
.and *{box-sizing:border-box}
.and .ios_status{padding:calc(8 * var(--u)) calc(22 * var(--u)) 0 calc(24 * var(--u));font-weight:500;font-size:calc(12.5 * var(--u))}
.and_bar{margin-top:calc(46 * var(--u));display:flex;align-items:center;gap:calc(14 * var(--u));height:calc(44 * var(--u));padding:0 calc(14 * var(--u))}
.and_bar b{flex:1;font-size:calc(15 * var(--u));font-weight:500}
.and_arrow{width:calc(14 * var(--u));height:calc(2 * var(--u));background:#1c1b1f;position:relative}
.and_arrow::before{content:"";position:absolute;left:0;top:calc(-4 * var(--u));width:calc(7 * var(--u));aspect-ratio:1;border-left:calc(2 * var(--u)) solid #1c1b1f;border-bottom:calc(2 * var(--u)) solid #1c1b1f;transform:translate(0,calc(3 * var(--u))) rotate(45deg);transform-origin:center}
.and_dots{display:grid;gap:calc(2.6 * var(--u))}
.and_dots i{width:calc(3 * var(--u));aspect-ratio:1;border-radius:50%;background:#1c1b1f}
.and_list{padding:calc(6 * var(--u)) 0}
.and_item{position:relative;padding:calc(9 * var(--u)) calc(18 * var(--u))}
.and_item span{display:block;font-size:calc(13 * var(--u));font-weight:500}
.and_item em{display:block;margin-top:calc(2 * var(--u));font-style:normal;font-size:calc(11 * var(--u));color:#79747e}
.and_item.is_filled em{color:#1c1b1f;font-weight:700}
.and_item.ios_mark::after{inset:calc(2 * var(--u)) calc(10 * var(--u));border-radius:calc(10 * var(--u))}
.dn_phone[data-android] .dn_phone_in::before{width:calc(14px);height:14px;top:15px;border-radius:50%}
