@charset "UTF-8";
/*
 * SSE 客户端（/devtools/sse-client.htm）专用样式
 * 布局说明：与 WebSocket 客户端页面保持一致的独立应用布局：
 *           顶部工具条（图标 / 标题 / 副标题 / 返回更多工具）
 *           + [ 历史连接侧栏 | 连接设置与消息注入区 / 消息历史区（可拖拽分隔） ]
 *           + 底部版权备案行。
 */

/*=============================== 全局与骨架 ===============================*/
html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #f5f7fa;
}

/* 兜底：显示 / 隐藏切换不依赖任何外部框架 */
.hidden {
    display: none !important;
}

.oss_app,
.oss_app * {
    box-sizing: border-box;
}

.oss_app {
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100dvh;
    font-family: "Inter", "Microsoft YaHei", system-ui, sans-serif;
    font-size: 13px;
    color: #1d2129;
    background: #eaeff4;
}

/*=============================== 顶部工具条 ===============================*/
.oss_toolbar {
    flex: 0 0 auto;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 52px;
    padding: 0 16px;
    color: #1d2129;
    background: #fff;
    border-bottom: 1px solid #e3e8ef;
    box-shadow: 0 1px 4px rgba(31, 56, 88, .08);
}

.oss_toolbar__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.oss_logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    font-size: 15px;
    border-radius: 8px;
    background: #0989E2;
    color: #fff;
}

.oss_brand__text {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    line-height: 1.25;
}

.oss_brand__text strong {
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
}

.oss_brand__text span {
    font-size: 11px;
    color: #86909c;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 返回“更多工具”快捷入口 */
.oss_back {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex: 0 0 auto;
    height: 26px;
    padding: 0 10px;
    margin-left: 4px;
    font-size: 12px;
    white-space: nowrap;
    text-decoration: none;
    color: #4e5969;
    border: 1px solid #d3dce6;
    border-radius: 13px;
    background: #f5f7fa;
    transition: background .2s ease-in-out, border-color .2s ease-in-out, color .2s ease-in-out;
}

.oss_back:hover {
    color: #0989E2;
    border-color: #9dd3ea;
    background: #eef8fd;
}

.oss_back .fa {
    font-size: 12px;
}

.oss_divider {
    flex: 0 0 auto;
    width: 1px;
    height: 20px;
    margin: 0 2px;
    background: #e3e8ef;
}

.oss_toolbar__actions {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
}

.oss_btn,
.oss_icon_btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 12px;
    border: none;
    font-family: inherit;
    font-size: 13px;
    white-space: nowrap;
    cursor: pointer;
    color: #4e5969;
    border: 1px solid #dfe4ea;
    border-radius: 6px;
    background: #f5f7fa;
    transition: background .2s ease-in-out, transform .1s ease-in-out, color .2s ease-in-out, border-color .2s ease-in-out;
}

.oss_icon_btn {
    width: 32px;
    padding: 0;
    justify-content: center;
}

.oss_btn:hover,
.oss_icon_btn:hover {
    color: #0989E2;
    border-color: #9dd3ea;
    background: #eef8fd;
}

.oss_btn:active,
.oss_icon_btn:active {
    transform: scale(.94);
}

.oss_btn--primary {
    font-weight: 600;
    color: #fff;
    border-color: #0989E2;
    background: #0989E2;
}

.oss_btn--primary:hover {
    color: #fff;
    border-color: #0877c6;
    background: #0877c6;
}

.oss_btn:disabled,
.oss_btn--primary:disabled {
    cursor: not-allowed;
    opacity: .45;
    transform: none;
    background: #f5f7fa;
}

.oss_btn--primary:disabled {
    color: #fff;
    border-color: #0989E2;
    background: #0989E2;
}

.oss_btn .fa,
.oss_icon_btn .fa {
    font-size: 13px;
}

/*=============================== 主体容器 ===============================*/
.oss_main {
    position: relative;
    flex: 1 1 0;
    min-height: 0;
    display: flex;
    align-items: stretch;
    overflow: hidden;
}

/*=============================== 左侧历史连接 ===============================*/
.oss_sidebar {
    position: relative;
    flex: 0 0 260px;
    width: 260px;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-right: 1px solid #e3e8ef;
    overflow: hidden;
    transition: margin-left .22s ease-in-out, transform .22s ease-in-out;
}

.oss_app.oss-sidebar-off .oss_sidebar {
    margin-left: -261px;
}

.oss_sidebar__head {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    height: 34px;
    padding: 0 8px 0 12px;
    background: #f7f9fb;
    border-bottom: 1px solid #e3e8ef;
}

.oss_sidebar__title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #4e5969;
    white-space: nowrap;
}

.oss_sidebar__title .fa {
    color: #0989E2;
}

.oss_sidebar__ops {
    display: flex;
    align-items: center;
    gap: 4px;
}

.oss_sidebar__op {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 22px;
    padding: 0 6px;
    border: none;
    font-family: inherit;
    font-size: 12px;
    cursor: pointer;
    color: #4e5969;
    border-radius: 4px;
    background: transparent;
    transition: background .2s ease-in-out, color .2s ease-in-out;
}

.oss_sidebar__op:hover {
    color: #0989E2;
    background: #e6f4fb;
}

.oss_sidebar__op--icon {
    width: 22px;
    padding: 0;
    justify-content: center;
}

.oss_sidebar__list {
    flex: 1 1 0;
    min-height: 0;
    overflow-y: auto;
    padding: 6px;
}

.oss_sidebar__empty {
    padding: 24px 12px;
    font-size: 12px;
    line-height: 1.8;
    color: #86909c;
    text-align: center;
}

.oss_history__item {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    padding: 7px 8px;
    margin-bottom: 6px;
    cursor: pointer;
    border: 1px solid #eef1f5;
    border-radius: 6px;
    background: #fff;
    transition: border-color .2s ease-in-out, background .2s ease-in-out;
}

.oss_history__item:hover {
    border-color: #9dd3ea;
    background: #f5fbfe;
}

.oss_history__item.is-active {
    border-color: #0989E2;
    background: #eef8fd;
}

.oss_history__main {
    flex: 1 1 0;
    min-width: 0;
}

.oss_history__title {
    font-size: 13px;
    font-weight: 600;
    color: #1d2129;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.oss_history__meta {
    margin-top: 3px;
    font-size: 11px;
    color: #86909c;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.oss_history__ops {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 2px;
}

.oss_history__op {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    font-size: 12px;
    color: #86909c;
    border-radius: 4px;
    background: transparent;
    transition: background .2s ease-in-out, color .2s ease-in-out;
}

.oss_history__op:hover {
    color: #0989E2;
    background: #e6f4fb;
}

.oss_history__op--del:hover {
    color: #f53f3f;
    background: #ffece8;
}

.oss_sidebar__foot {
    flex: 0 0 auto;
    height: 26px;
    line-height: 26px;
    padding: 0 12px;
    font-size: 11px;
    color: #86909c;
    overflow: hidden;
    white-space: nowrap;
    background: #f7f9fb;
    border-top: 1px solid #e3e8ef;
}

.oss_sidebar__foot b {
    color: #4e5969;
}

/*=============================== 工作区 ===============================*/
.oss_workspace {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: #eaeff4;
}

.oss_pane {
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: #fff;
}

#connectPane {
    flex: 0 0 48%;
    overflow: hidden;
}

#messagePane {
    flex: 1 1 0;
    overflow: hidden;
}

.oss_pane__head {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 34px;
    padding: 0 12px;
    font-size: 13px;
    font-weight: 600;
    color: #4e5969;
    background: #f7f9fb;
    border-bottom: 1px solid #e3e8ef;
}

.oss_pane__head > .fa {
    color: #0989E2;
}

.oss_pane__ops {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

.oss_pane__op {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 22px;
    padding: 0 8px;
    border: 1px solid #dfe4ea;
    font-family: inherit;
    font-size: 12px;
    font-weight: 400;
    cursor: pointer;
    color: #4e5969;
    border-radius: 4px;
    background: #fff;
    transition: background .2s ease-in-out, color .2s ease-in-out, border-color .2s ease-in-out;
}

.oss_pane__op:hover {
    color: #0989E2;
    border-color: #9dd3ea;
    background: #eef8fd;
}

.oss_pane__body {
    flex: 1 1 0;
    min-height: 0;
    overflow: auto;
    padding: 10px 12px 12px;
}

/* 消息历史区：内部绝对定位，保证滚动条只在消息列表内 */
.oss_pane__body--fixed {
    position: relative;
    overflow: hidden;
    padding: 0;
}

/* 连接状态徽标 */
.oss_pill {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 1px 8px;
    font-size: 11px;
    font-weight: 400;
    border-radius: 10px;
    color: #86909c;
    background: #f2f4f7;
    white-space: nowrap;
}

.oss_pill__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #c9cdd4;
}

.oss_pill--ok {
    color: #0f7b3f;
    background: #e3f9ec;
}

.oss_pill--ok .oss_pill__dot {
    background: #23a55a;
    box-shadow: 0 0 0 3px rgba(35, 165, 90, .18);
}

.oss_pill--error {
    color: #cb2634;
    background: #ffece8;
}

.oss_pill--error .oss_pill__dot {
    background: #f53f3f;
}

.oss_pill--warning {
    color: #b25e09;
    background: #fff3e3;
}

.oss_pill--warning .oss_pill__dot {
    background: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, .18);
}

.oss_metric {
    font-size: 11px;
    font-weight: 400;
    color: #86909c;
    white-space: nowrap;
}

.oss_metric b {
    color: #4e5969;
    font-weight: 600;
}

/*=============================== 连接设置 ===============================*/
.oss_urlbar {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.oss_input {
    flex: 1 1 0;
    min-width: 0;
    height: 34px;
    padding: 0 10px;
    font-family: Consolas, "Courier New", monospace;
    font-size: 13px;
    color: #1d2129;
    border: 1px solid #dfe4ea;
    border-radius: 6px;
    outline: none;
    background: #fff;
}

.oss_input:focus {
    border-color: #0989E2;
    box-shadow: 0 0 0 2px rgba(9,137,226, .15);
}

.oss_input::placeholder {
    font-family: "Inter", "Microsoft YaHei", system-ui, sans-serif;
    color: #b7bfcb;
}

.oss_input:disabled {
    color: #86909c;
    background: #f7f9fb;
}

/* 小尺寸输入框：重连间隔 / 事件类型 / 事件ID */
.oss_input--sm {
    flex: 0 0 auto;
    width: 150px;
    height: 26px;
    padding: 0 8px;
    font-size: 12px;
    border-radius: 4px;
}

#retryTime {
    width: 92px;
}

#messageId {
    width: 230px;
}

.oss_connect,
.oss_disconnect {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 16px;
    border: none;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    color: #fff;
    border-radius: 6px;
    background: #0989E2;
    transition: background .2s ease-in-out, transform .1s ease-in-out;
}

.oss_connect:hover {
    background: #1179a6;
}

.oss_disconnect {
    color: #4e5969;
    font-weight: 400;
    background: #eef1f5;
    border: 1px solid #dfe4ea;
}

.oss_disconnect:hover {
    color: #cb2634;
    border-color: #f9cdc9;
    background: #ffece8;
}

.oss_connect:active,
.oss_disconnect:active {
    transform: scale(.96);
}

.oss_connect:disabled,
.oss_disconnect:disabled {
    cursor: not-allowed;
    opacity: .5;
    transform: none;
    color: #86909c;
    border-color: #dfe4ea;
    background: #f2f4f7;
}

.oss_meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin-top: 8px;
    font-size: 11px;
    color: #86909c;
}

.oss_meta b {
    color: #4e5969;
    font-weight: 600;
}

.oss_meta code {
    padding: 1px 5px;
    font-family: Consolas, "Courier New", monospace;
    color: #0989E2;
    border-radius: 4px;
    background: #eef4f8;
}

/* meta 行内的带标签小输入框（重连间隔 / 事件类型） */
.oss_field {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

/*=============================== 消息注入（SSE 单向推送） ===============================*/
.oss_block {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #eef1f5;
}

.oss_block__head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.oss_block__title {
    font-size: 13px;
    font-weight: 600;
    color: #4e5969;
}

.oss_block__ops {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 6px;
}

.oss_textarea {
    display: block;
    width: 100%;
    min-height: 96px;
    padding: 10px 12px;
    font-family: Consolas, "Courier New", monospace;
    font-size: 12.5px;
    line-height: 1.7;
    color: #1d2129;
    border: 1px solid #dfe4ea;
    border-radius: 6px;
    outline: none;
    resize: vertical;
    background: #fff;
    tab-size: 4;
}

.oss_textarea:focus {
    border-color: #0989E2;
    box-shadow: 0 0 0 2px rgba(9,137,226, .15);
}

.oss_block__foot {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.oss_tip {
    flex: 1 1 0;
    min-width: 0;
    font-size: 11px;
    color: #a9aeb8;
}

.oss_send {
    margin-left: auto;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 18px;
    border: none;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    color: #fff;
    border-radius: 6px;
    background: #0989E2;
    transition: background .2s ease-in-out, transform .1s ease-in-out;
}

.oss_send:hover {
    background: #1179a6;
}

.oss_send:active {
    transform: scale(.96);
}

.oss_send:disabled {
    cursor: not-allowed;
    opacity: .5;
    transform: none;
    background: #a9c9db;
}

/*=============================== 消息历史 ===============================*/
.oss_check {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 400;
    color: #4e5969;
    cursor: pointer;
    white-space: nowrap;
}

.oss_check input {
    width: 14px;
    height: 14px;
    margin: 0;
    cursor: pointer;
}

.oss_msgs {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow-y: auto;
    padding: 12px 14px;
    background: #f7f9fb;
}

.oss_placeholder {
    padding: 40px 12px;
    font-size: 12px;
    line-height: 1.9;
    color: #a9aeb8;
    text-align: center;
}

.oss_placeholder .fa {
    display: block;
    margin-bottom: 6px;
    font-size: 24px;
    opacity: .35;
}

.oss_msg {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}

.oss_msg__time {
    margin-bottom: 3px;
    font-size: 11px;
    color: #a9aeb8;
}

.oss_msg__body {
    max-width: 82%;
    padding: 7px 10px;
    font-family: Consolas, "Courier New", monospace;
    font-size: 12.5px;
    line-height: 1.7;
    border-radius: 8px;
    white-space: pre-wrap;
    word-break: break-all;
}

/* 消息元信息：事件类型 / 事件ID */
.oss_msg__meta {
    margin-bottom: 4px;
    padding-bottom: 3px;
    font-family: "Inter", "Microsoft YaHei", system-ui, sans-serif;
    font-size: 11px;
    color: #86909c;
    border-bottom: 1px dashed #e3e8ef;
}

/* 接收：左侧 */
.oss_msg--received {
    align-items: flex-start;
}

.oss_msg--received .oss_msg__body {
    color: #1d2129;
    border: 1px solid #e3e8ef;
    background: #fff;
}

/* 系统提示：居中 */
.oss_msg--system {
    align-items: center;
}

.oss_msg--system .oss_msg__body {
    max-width: 88%;
    font-family: "Inter", "Microsoft YaHei", system-ui, sans-serif;
    font-size: 12px;
    color: #0989E2;
    border: 1px solid #bfe0f0;
    background: #eef8fd;
}

/* 错误：居中 */
.oss_msg--error {
    align-items: center;
}

.oss_msg--error .oss_msg__body {
    max-width: 88%;
    font-family: "Inter", "Microsoft YaHei", system-ui, sans-serif;
    font-size: 12px;
    color: #cb2634;
    border: 1px solid #f9cdc9;
    background: #ffece8;
}

/*=============================== 上下分隔条 ===============================*/
.oss_splitter {
    flex: 0 0 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: row-resize;
    background: #dfe4ea;
    transition: background .2s ease-in-out;
}

.oss_splitter:hover,
body.oss_dragging .oss_splitter {
    background: #0989E2;
}

.oss_splitter span {
    width: 26px;
    height: 2px;
    border-radius: 2px;
    background: #b7bfcb;
}

body.oss_dragging {
    user-select: none;
    cursor: row-resize;
}

body.oss_dragging * {
    cursor: row-resize !important;
}

/*=============================== 版权 / 备案行 ===============================*/
.oss_copyright {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    min-height: 32px;
    padding: 6px 16px;
    font-size: 12px;
    line-height: 1.6;
    text-align: center;
    color: #86909c !important;
    background: #fff;
    border-top: 1px solid #e3e8ef;
}

.oss_copyright a {
    color: #86909c !important;
    text-decoration: none;
}

.oss_copyright a:hover {
    color: #0989E2 !important;
}

/*=============================== 轻提示 ===============================*/
.oss_toast {
    position: fixed;
    top: 64px;
    left: 50%;
    z-index: 999;
    max-width: 80%;
    padding: 8px 16px;
    font-size: 13px;
    color: #fff;
    border-radius: 6px;
    background: rgba(29, 33, 41, .9);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -8px);
    transition: opacity .22s ease-in-out, transform .22s ease-in-out;
}

.oss_toast--show {
    opacity: 1;
    transform: translate(-50%, 0);
}

/*=============================== 弹窗 ===============================*/
.oss_modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(29, 33, 41, .55);
}

.oss_modal[hidden] {
    display: none !important;
}

.oss_modal__panel {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 520px;
    max-height: 88vh;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(0, 0, 0, .24);
}

.oss_modal__panel--wide {
    max-width: 860px;
}

.oss_modal__head {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 48px;
    padding: 0 16px;
    font-size: 15px;
    font-weight: 600;
    color: #1d2129;
    border-bottom: 1px solid #e3e8ef;
}

.oss_modal__head .fa {
    color: #0989E2;
}

.oss_modal__close {
    margin-left: auto;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    font-size: 15px;
    color: #86909c;
    border-radius: 6px;
    background: transparent;
    transition: background .2s ease-in-out, color .2s ease-in-out;
}

.oss_modal__close:hover {
    color: #1d2129;
    background: #f2f4f7;
}

.oss_modal__body {
    flex: 1 1 auto;
    min-height: 0;
    max-height: calc(88vh - 110px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 16px;
}

.oss_modal__foot {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid #e3e8ef;
    background: #f7f9fb;
}

.oss_modal__foot .oss_btn {
    color: #4e5969;
    background: #fff;
    border: 1px solid #dfe4ea;
}

.oss_modal__foot .oss_btn:hover {
    color: #0989E2;
    border-color: #9dd3ea;
    background: #eef8fd;
}

.oss_modal__foot .oss_btn--primary {
    color: #0989E2;
    background: #fff;
    border: 1px solid #0989E2;
}

.oss_modal__foot .oss_btn--primary:hover {
    color: #fff;
    background: #0989E2;
}

.oss_modal__foot__tip {
    margin-right: auto;
    font-size: 12px;
    color: #86909c;
}

.oss_form__row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.oss_form__label {
    flex: 0 0 76px;
    font-size: 13px;
    color: #4e5969;
}

.oss_form__row .oss_input {
    height: 32px;
}

.oss_hint {
    margin: 0;
    font-size: 12px;
    line-height: 1.7;
    color: #86909c;
}

/* 帮助文档排版 */
.oss_doc h4 {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 600;
    color: #1d2129;
}

.oss_doc h4:not(:first-child) {
    margin-top: 18px;
}

.oss_doc p {
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.85;
    color: #4e5969;
}

.oss_doc ul {
    margin: 0;
    padding-left: 18px;
}

.oss_doc li {
    font-size: 13px;
    line-height: 1.9;
    color: #4e5969;
}

.oss_doc code {
    padding: 1px 5px;
    font-family: Consolas, "Courier New", monospace;
    font-size: 12px;
    color: #0989E2;
    border-radius: 4px;
    background: #eef4f8;
}

.oss_doc__cols {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.oss_doc__col {
    flex: 1 1 300px;
    min-width: 0;
}

/*=============================== 小屏适配 ===============================*/
@media screen and (max-width: 1366px) {
    .oss_brand__text span {
        display: none;
    }
}

@media screen and (max-width: 1200px) {
    .oss_btn {
        padding: 0 9px;
    }
    .oss_btn span {
        display: none;
    }
}

@media screen and (max-width: 1023px) {
    html,
    body {
        height: auto;
        overflow: auto;
    }
    .oss_app {
        height: auto;
        min-height: 100vh;
    }
    .oss_toolbar {
        height: auto;
        padding: 8px 12px;
        flex-wrap: wrap;
    }
    .oss_toolbar__actions {
        flex-wrap: wrap;
    }
    .oss_main {
        display: block;
        overflow: visible;
        min-height: 0;
    }
    /* 侧栏在小屏改为浮层，收起时移出屏幕 */
    .oss_sidebar {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        z-index: 35;
        box-shadow: 2px 0 10px rgba(0, 0, 0, .18);
    }
    .oss_app.oss-sidebar-off .oss_sidebar {
        margin-left: 0;
        transform: translateX(-100%);
    }
    .oss_pane,
    #connectPane,
    #messagePane {
        flex: 1 1 auto;
        overflow: visible;
    }
    .oss_pane__body {
        overflow: visible;
    }
    .oss_pane__body--fixed {
        position: relative;
        overflow: visible;
    }
    .oss_msgs {
        position: relative;
        height: 380px;
    }
    .oss_splitter {
        display: none;
    }
    .oss_modal {
        padding: 12px;
    }
    .oss_modal__panel {
        max-height: 92vh;
    }
    .oss_modal__body {
        max-height: calc(92vh - 110px);
    }
}
