/* =========================
       悬浮按钮（水平居中）
    ========================== */
.es08-app-float {
    display: none;
    position: fixed;
    left: 50%;
    bottom: 115px;
    transform: translateX(-50%);
    z-index: 9998;
    /*display: flex;*/
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #20c057;
    color: #fff;
    border-radius: 999px;
    padding: 10px 25px 10px 25px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: opacity .2s ease;
}
.es08-app-float:active {
    opacity: .92;
}
.es08-app-float img {
    width: 27px;
    height: 27px;
    object-fit: cover;
    flex-shrink: 0;
}
.es08-app-text {
    font-size: 17px;
    line-height: 1;
    white-space: nowrap;
}
/* =========================
       遮罩
    ========================== */
.es08-app-mask {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 9999;
    display: none;
}
/* =========================
       底部弹窗
    ========================== */
.es08-app-sheet{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  z-index:10000;

  background:#fff;
  border-radius:8px 8px 0 0;

  /* 关键：多隐藏一点，防止底部漏白边 */
  transform:translateY(calc(100% + 20px));

  transition:transform .28s cubic-bezier(.4,0,.2,1);

  box-shadow:0 -8px 30px rgba(0,0,0,.2);
  overflow:hidden;
}

.es08-app-sheet.show{
  transform:translateY(0);
}
.es08-app-sheet.show {
    transform: translateY(0);
}
.es08-app-header {
    position: relative;
    padding: 20px 16px 15px;
    display: flex;
    align-items: flex-start;
    align-items: center;
    gap: 16px;
}
.es08-app-logo {
    width: 89px;
    height: 89px;
    object-fit: cover;
    flex-shrink: 0;
}
.es08-app-info {
    flex: 1;
    min-width: 0;
}
.es08-app-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}
.es08-app-title .es08-app-bt {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #222;
}
.es08-app-badge {
    background: #20c057;
    color: #fff;
    font-size: 14px;
    padding: 2px 7px;
    border-radius: 999px;
    line-height: 1.4;
}
.es08-app-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 16px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}
.es08-app-stars {
    color: #ffb400;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 1px;
}
.es08-app-desc {
    color: #666;
    font-size: 16px;
    line-height: 1.5;
    margin-top: 2px;
}
.es08-app-close {
    position: absolute;
    right: 14px;
    top: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}
.es08-app-close:hover {
    background: #f3f3f3;
    color: #666;
}
.es08-app-body {
    padding: 0 16px 20px;
}
.es08-app-install {
    width: 100%;
    height: 46px;
    border: none;
    border-radius: 6px;
    background: #20c057;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(32,192,87,.25);
    transition: opacity .2s ease;
}
.es08-app-install:active {
    opacity: .9;
}