/* ===== 安卓合并面板（应用详情页）===== */
.android-merge-panel .panel-heading>div{display:grid;gap:3px}
.android-merge-panel .panel-heading h2{margin:0}
.am-badge{flex:0 0 auto;padding:3px 10px;border-radius:999px;background:#f0f1ec;color:#7a8a6d;font-size:10px;font-weight:650;letter-spacing:.02em}
.am-badge-ok{background:#e8f2e3;color:#4a7a3a}

.android-apk-panel{display:grid;gap:18px}

/* 说明块 */
.am-explain{display:flex;gap:12px;padding:14px 16px;border:1px solid #e3e7d9;border-radius:11px;background:#f8faf4}
.am-explain-icon{flex:0 0 auto;display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:#e8eddd;color:#5d7448}
.am-explain strong{display:block;margin-bottom:4px;font-size:12px;color:#3d5233}
.am-explain p{margin:0;font-size:11.5px;line-height:1.65;color:#6a795f}

/* 当前 APK */
.am-current{display:flex;align-items:center;gap:14px;padding:14px 16px;border:1px solid #dfe4d4;border-radius:11px;background:#fff}
.am-current-main{flex:1;min-width:0;display:grid;gap:4px}
.am-current-label{font-size:10px;font-weight:650;color:#7a8a6d;letter-spacing:.02em}
.am-current-name{display:block;font-size:13px;color:#2f4530;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.am-current-meta{display:flex;align-items:center;gap:8px;font-size:10.5px;color:#8a9781}
.am-dot{width:3px;height:3px;border-radius:50%;background:#c3ccb8}
.am-download{flex:0 0 auto;display:inline-flex;align-items:center;gap:6px}

/* 空状态 */
.am-empty{display:grid;justify-items:center;gap:7px;padding:26px 16px;border:1px dashed #dde3d2;border-radius:11px;background:#fbfcf8;text-align:center}
.am-empty-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:13px;background:#f0f2ea;color:#93a186}
.am-empty strong{font-size:12.5px;color:#4d6344}
.am-empty p{margin:0;font-size:11px;color:#8a9781}

/* 拖拽上传 */
.am-drop{position:relative;display:grid;justify-items:center;gap:8px;padding:26px 20px;border:1.5px dashed #d6ddc8;border-radius:12px;background:#fbfcf8;cursor:pointer;transition:border-color .16s,background .16s}
.am-drop:hover{border-color:#b6c4a3;background:#f7f9f1}
.am-drop.is-dragover{border-color:#7d9463;background:#f2f6ea}
.am-drop-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:13px;background:#f0f2ea;color:#8b9b7d;transition:background .16s,color .16s}
.am-drop:hover .am-drop-icon{background:#e7ecdc;color:#6d8159}
.am-drop-title{font-size:12.5px;font-weight:600;color:#3d5233}
.am-drop-hint{font-size:10.5px;color:#8a9781}
.am-drop input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.am-drop-file{margin-top:2px;padding:4px 12px;border-radius:999px;background:#eef1e7;color:#6d8159;font-size:10.5px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.am-drop-file.is-selected{background:#e5efdb;color:#48703a;font-weight:600}

/* 进度条 */
.am-progress{display:grid;gap:8px;padding:13px 15px;border:1px solid #e3e7d9;border-radius:11px;background:#fbfcf8}
.am-progress-head{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#6a795f}
.am-progress-head strong{font-size:12px;color:#3d5233}
.am-progress-track{height:6px;border-radius:999px;background:#e9ede1;overflow:hidden}
.am-progress-bar{height:100%;border-radius:999px;background:#7d9463;transition:width .2s ease}

/* 底部 */
.am-error{margin:0}
.am-foot{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.am-foot-hint{display:flex;align-items:center;gap:6px;margin:0;font-size:10.5px;line-height:1.5;color:#8a9781}
.am-foot-hint svg{flex:0 0 auto;opacity:.75}
.am-submit{flex:0 0 auto}

@media(max-width:680px){
  .am-current{flex-wrap:wrap}
  .am-download{width:100%;justify-content:center}
  .am-foot{flex-direction:column;align-items:stretch;gap:12px}
  .am-submit{width:100%}
  .am-drop{padding:22px 16px}
}

/* 当前 APK 的两个操作按钮 */
.am-current-actions{flex:0 0 auto;display:flex;align-items:center;gap:8px}
.am-delete-form{margin:0;display:inline-flex}
.am-delete{display:inline-flex;align-items:center;gap:6px;background:#fff;color:#b3483e;border:1px solid #e8cfcc;border-radius:8px;padding:8px 14px;font-size:12px;font-weight:600;cursor:pointer;transition:background .15s,border-color .15s}
.am-delete:hover{background:#fdf3f2;border-color:#d9a9a3}
.am-delete:active{background:#fbe9e7}

@media(max-width:680px){
  .am-current-actions{width:100%;justify-content:stretch}
  .am-current-actions>.button,.am-current-actions .am-delete-form{flex:1}
  .am-delete{width:100%;justify-content:center}
}
