/* 首页与网站测速的请求方式；协议选项沿用当前主题的控件样式。 */
.http-method-options {
    height: auto;
    min-height: 30px;
    align-items: baseline;
    gap: 10px;
    flex-wrap: nowrap;
}
.http-method-options > p {
    flex: 0 0 80px;
    margin-right: 0;
}
.http-method-values {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
}
.http-method-options label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    cursor: pointer;
}
.http-method-options input {
    width: auto;
    height: auto;
    margin: 0;
    flex: none;
}
.http-result-error {
    color: #d93025;
}
@media (max-width: 640px) {
    .http-method-options { width: 100%; }
}
/* 缓慢检测按钮悬停或键盘聚焦时显示本次的每批节点数。 */
.http-slow-control {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
}
.http-slow-popover {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 40;
    width: max-content;
    padding-top: 8px;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}
.http-slow-control:hover .http-slow-popover,
.http-slow-control:focus-within .http-slow-popover {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}
.http-slow-popover-content {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0;
    padding: 8px;
    color: #606266;
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    white-space: nowrap;
    cursor: default;
    background: #fff;
    border: 1px solid #dcdfe6;
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}
.http-slow-popover .http-slow-count {
    width: 40px;
    flex: 0 0 40px;
    height: 26px;
    min-width: 0;
    margin: 0;
    padding: 0 4px;
    color: inherit;
    font: inherit;
    text-align: center;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 3px;
    box-sizing: border-box;
    appearance: textfield;
}
.http-slow-count::-webkit-inner-spin-button,
.http-slow-count::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
