/* 批量转链接页：在 app.css 基础上加宽、加表格化布局 */
body.builder{display:block;background:
  radial-gradient(1200px 520px at 50% -180px,#4aa3f5 0%,#3390ec 40%,rgba(51,144,236,0) 70%),
  linear-gradient(180deg,#dbeafe 0%,#eef4fb 24%,#f7fafd 100%);
}
.shell.wide{max-width:760px;margin:0 auto;padding:0 16px 30px}
.hero-compact{padding:24px 8px 16px}
.hero-compact h1{font-size:22px}
.hero-compact .sub{font-size:12.5px}

.field-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:8px;flex-wrap:wrap}
.field-head label{font-size:13px;font-weight:650;color:#33465b}
.hint{font-size:11.5px;color:#8fa3b8}
.hint code{background:#f0f5fb;border-radius:5px;padding:1px 5px;font-size:11px;color:#4a6a8c}

#src{
  width:100%;min-height:190px;resize:vertical;
  border-radius:14px;border:1px solid rgba(51,144,236,.22);
  background:#fbfdff;padding:12px 13px;
  font:12.5px/1.65 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  color:#243546;outline:none;transition:border-color .2s,box-shadow .2s;
}
#src:focus{border-color:var(--tg-blue);box-shadow:0 0 0 3px rgba(51,144,236,.12)}
#src::placeholder{color:#a9bacd}

.bar{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:12px;flex-wrap:wrap}
.bar-btns{display:flex;gap:8px;flex-wrap:wrap}
.seg{display:inline-flex;background:#eef4fb;border:1px solid rgba(51,144,236,.16);border-radius:11px;padding:3px}
.seg-btn{
  border:0;background:none;padding:6px 11px;border-radius:8px;
  font:600 12px/1 inherit;color:#5a7590;cursor:pointer;font-family:inherit;
}
.seg-btn.is-on{background:#fff;color:var(--tg-blue);box-shadow:0 2px 6px -2px rgba(20,80,150,.28)}

.btn.sm{height:36px;padding:0 13px;border-radius:10px;font-size:12.5px;flex:0 0 auto}
.stat{margin-top:12px;font-size:12.5px;color:var(--tg-sub)}
.stat b{color:#22384d}
.stat .bad{color:var(--bad)}
.stat .good{color:var(--ok)}

.tip{margin:9px 0 0;font-size:11.5px;line-height:1.65;color:#93a4b7}
.tip code{background:#f0f5fb;border-radius:5px;padding:1px 5px;font-size:11px;color:#4a6a8c}

.result-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px;flex-wrap:wrap}
.result-head strong{font-size:13.5px;color:#26384b}
.muted{font-size:12px;color:#93a4b7;margin-left:6px}

.rows{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px;
  max-height:420px;overflow:auto}
.rows li{
  border:1px solid rgba(15,23,32,.07);border-radius:13px;padding:10px 12px;
  background:linear-gradient(180deg,#fbfdff,#f5f9fd);
  display:grid;grid-template-columns:1fr auto;gap:4px 10px;align-items:center;
}
.rows li.err{background:#fff6f6;border-color:rgba(229,72,77,.24)}
.row-main{min-width:0}
.row-phone{font-size:13px;font-weight:650;letter-spacing:.3px;font-variant-numeric:tabular-nums;color:#1b2d3f}
.row-link{
  display:block;margin-top:2px;font-size:11.5px;color:var(--tg-blue);
  text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  font-family:ui-monospace,Menlo,Consolas,monospace;
}
.row-link:hover{text-decoration:underline}
.row-sub{font-size:10.5px;color:#9dafc2;margin-top:2px;font-family:ui-monospace,Menlo,Consolas,monospace}
.copy{
  border:1px solid rgba(51,144,236,.2);background:#fff;color:var(--tg-blue);
  border-radius:9px;padding:7px 10px;font:600 11.5px/1 inherit;cursor:pointer;font-family:inherit;
  white-space:nowrap;
}
.copy:active{transform:scale(.97)}
.copy.done{background:#e9f9f0;border-color:rgba(34,181,115,.3);color:#0d7a48}

.foot{display:flex;justify-content:center;gap:8px;align-items:center}
.foot a{color:var(--tg-blue);text-decoration:none;font-size:12px}
.foot a:hover{text-decoration:underline}
.foot .sep{color:#b9c8d8}

@media (max-width:420px){
  .bar{align-items:flex-start}
  .seg{width:100%}
  .seg-btn{flex:1}
  .bar-btns{width:100%}
  .bar-btns .btn.primary{flex:1}
}
