/* CedCouplet 站点级小改动（独立于 theme.css，升级主题不受影响）
 * 订单查询：标题行复制胶囊 + 商家留言白卡深字，与 xuanmenu.store 保持一致。
 */

/* ---------- 1. 标题行右侧的蓝色「复制」胶囊 ---------- */
body.ys .order-item .theme-copy-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    margin-left: auto;
    padding: 0.22rem 0.85rem;
    border: 0;
    border-radius: 999px;
    background: #2563eb !important;
    color: #ffffff !important;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.6;
    white-space: nowrap;
    text-shadow: none;
    opacity: 1;
    cursor: pointer;
    user-select: none;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
    transition: background-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
    -webkit-tap-highlight-color: transparent;
}

body.ys .order-item .theme-copy-pill i {
    font-size: 0.82rem;
    line-height: 1;
    color: #ffffff !important;
}

body.ys .order-item .theme-copy-pill:hover {
    background: #1d4ed8 !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.45);
}

body.ys .order-item .theme-copy-pill:active {
    transform: translateY(1px);
}

body.ys .order-item .theme-copy-pill:focus-visible {
    outline: 2px solid #93c5fd;
    outline-offset: 2px;
}

/* ---------- 2. 商家留言：白色圆角卡片 + 深色字 ---------- */
body.ys .order-item .theme-leave-message {
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    border-radius: 12px !important;
    padding: 1rem 1.1rem !important;
    margin-top: 0.75rem !important;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.18);
}

body.ys .order-item .theme-leave-message,
body.ys .order-item .theme-leave-message * {
    color: #1f2937 !important;
    font-weight: 500;
    line-height: 1.75;
    white-space: pre-line;
    word-break: break-word;
    overflow-wrap: anywhere;
}

body.ys .order-item .theme-leave-message a,
body.ys .order-item .theme-leave-message a:hover {
    color: #1d4ed8 !important;
    text-decoration: underline;
    text-underline-offset: 2px;
    word-break: break-all;
}
