/* =========================================================
   🚀 ROBOT UI STABLE SYSTEM (FINAL FIX)
========================================================= */

/* =========================
   GLOBAL RESET (ONLY ROBOT PAGE)
========================= */
body.robot-v5 .robot-v5-wrap {
    width: 100%;
    background: ##111827;
}

/* =========================
   FILTER BAR
========================= */
body.robot-v5 #filters {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

body.robot-v5 #filters select,
body.robot-v5 #filters input {
    width:100%;
    height:52px;

    padding:0 18px;

    background:#111827;
    border:1px solid #1F2937;
    border-radius:14px;

    color:#E5E7EB;
    font-size:15px;

    outline:none;
    transition:0.2s;
    
}

/* =========================
   SEARCH
========================= */
body.robot-v5 #search {
    width:100%;
    height:52px;

    padding:0 18px;

    background:#111827;
    border:1px solid #1F2937;
    border-radius:14px;

    color:#E5E7EB;
    font-size:15px;
    margin-bottom: 20px;
    outline:none;
    transition:0.2s;
}

/* =========================
   RESULTS GRID
========================= */
body.robot-v5 #results {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* =========================
   CARD BASE (DARK MODE)
========================= */
body.robot-v5 .v5-card {
    display: flex;
    flex-direction: column;

    background: #0B0F19;
    border: 1px solid #1F2937;
    border-radius: 10px;

    overflow: hidden;
    text-decoration: none;

    transition: 0.2s;
}

body.robot-v5 .v5-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

/* =========================
   IMAGE AREA
========================= */
body.robot-v5 .v5-right {
    width: 100%;
    height: 220px;
    background: #111827;
    order:-1;
    
}
body.robot-v5 .v5-right img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
/* =========================
   CONTENT
========================= */
body.robot-v5 .v5-left {
    padding: 16px;
    background: #111827;
}

/* TITLE */
body.robot-v5 .v5-title {
    font-size: 16px;
    font-weight: 600;
    color: #E5E7EB;
    margin-bottom: 8px;
}

/* DESC */
body.robot-v5 .v5-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
    margin-top:8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;   /* 👈 关键：3行 */
    -webkit-box-orient: vertical;

    overflow: hidden;
}

/* TAGS */
body.robot-v5 .v5-tags span {
    display: inline-block;
    background: rgba(255,255,255,0.05);
    color: #E5E7EB;
    padding: 3px 8px;
    margin-right: 5px;
    border-radius: 4px;
    font-size: 12px;
    border: 1px solid rgba(255,255,255,0.08);
}

/* =========================
   RIGHT IMAGE
========================= */


/* =========================
   EMPTY STATE
========================= */
body.robot-v5 .v5-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: #999;
}
body.robot-v5 .v5-meta{
    display: flex;
    flex-wrap: nowrap;        /* 🚫 不换行 */
    gap: 8px;
    margin-top: 10px;
}
body.robot-v5 .v5-meta div{
    flex: 1;                  /* 三个平均分 */
    text-align: center;

    padding: 6px 8px;

    border: 1px solid #1F2937;   /* 工业风边框 */
    border-radius: 6px;

    background: rgba(255,255,255,0.03);

    color: #E5E7EB;
    font-size: 11px;

    white-space: nowrap;     /* 🚫 不换行 */
    overflow: hidden;
    text-overflow: ellipsis;
}
body.robot-v5 .v5-meta div span{
    color: #60A5FA;
    font-weight: 600;
}

