/* 弹窗气泡样式 - 顶部居中显示 */
.popup-bubble {
    position: fixed;
    padding: 8px 14px;
    border-radius: 6px;
    background-color: #333;
    color: white;
    font-family: Arial, sans-serif;
    font-size: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: auto;
    /* 顶部居中显示 */
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
}

/* 气泡出现的动画 */
.popup-bubble.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* 不同类型的气泡样式 */
.popup-bubble.success {
    background-color: #4CAF50;
}

.popup-bubble.error {
    background-color: #f44336;
}

.popup-bubble.warning {
    background-color: #ff9800;
}

.popup-bubble.info {
    background-color: #2196F3;
}

/* 关闭按钮样式 */
.popup-bubble .close-btn {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin-left: 8px;
    color: rgba(255, 255, 255, 0.8);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    width: 16px;
    height: 16px;
    padding: 0;
    line-height: 1;
    transition: background-color 0.2s;
    border-radius: 50%;
}

.popup-bubble .close-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* 测试按钮样式 */
.test-buttons {
    margin: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.test-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: opacity 0.2s;
}

.test-btn:hover {
    opacity: 0.9;
}


.ty-yc {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.ty-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ty-hh {
  word-wrap: break-word;
  word-break: break-all;
  position: relative;
}


/*分页*/

ol.page-navigatora {
list-style: none;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: space-around;
  padding: 5px 0;
  align-items: center;
}
ol.page-navigatora li {
  display: inline-block;
  margin: 0 5px;
border-top: 2px solid #f78724;
  border-right: 2px solid #c84c31;
  border-bottom: 2px solid #31a6df;
  border-left: 2px solid #3dae26;
  box-shadow: 3px 3px #000, 3px 3px #000;
  border-top-left-radius: 250px 10px;
  border-top-right-radius: 15px 204px;
  border-bottom-left-radius: 15px 257px;
  border-bottom-right-radius: 230px 15px;
}
ol.page-navigatora li a {
display: block;
  text-align: center;
  background: var(--bj-qingx);
  color: var(--zt-bais);
  line-height: 30px;
  height: 30px;
  overflow: hidden;
  padding: 0 10px;
  box-sizing: border-box;
    border-top-left-radius: 250px 10px;
  border-top-right-radius: 15px 204px;
  border-bottom-left-radius: 15px 257px;
  border-bottom-right-radius: 230px 15px;
}

ol.page-navigatora li.current a {
background: var(--bj-shens);
  color: var(--zt-bais);
  padding: 0 10px;
}

ol.page-navigatora li a:hover {
  background: var(--bj-hongs);
}

ol.page-navigatora li.xmpage a {
  color: var(--zt-shens);
  background: var(--bj-bais);
}

/* end 分页 */