@charset "utf-8";
/* ==========================================================================
   线路列表页（PC）现代化样式
   仅供 plugins/line/views/default/line/list.php 使用
   不改动 lines.css，避免影响共用它的其它页面
   设计色板：主色 #ff6633 / 链接 #0088d0 / 出发地 #50b400
   注意：不使用 CSS 自定义属性与 flex gap，保证旧内核浏览器不整体塌陷
   ========================================================================== */

.st-list-page,
.st-list-page * {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.st-list-page {
    background: #f5f7fa;
    color: #1f2329;
    font: 14px/1.6 "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

.st-list-page a {
    color: inherit;
    text-decoration: none;
}

.st-list-page ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.st-list-page .wm-1200 {
    width: 1200px;
    margin: 0 auto;
}

.st-list-page .st-main-page {
    padding-bottom: 20px;
}

/* ---------- 面包屑 ---------- */
.st-crumbs {
    padding: 14px 0;
    color: #98a1ac;
    font-size: 13px;
}

.st-crumbs a:hover {
    color: #0088d0;
}

/* ---------- 栏目头 ---------- */
.st-list-hero {
    background: #fff;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 12px;
    box-shadow: 0 1px 2px rgba(31, 35, 41, .04);
}

.st-list-hero h1 {
    margin: 0;
    font-size: 22px;
    line-height: 32px;
    font-weight: 600;
    display: inline-block;
    vertical-align: middle;
}

.st-list-hero .cnt {
    color: #98a1ac;
    font-size: 13px;
    margin-left: 10px;
    vertical-align: middle;
}

.st-list-hero .cnt b {
    color: #ff6633;
    font-weight: 600;
}

.st-list-hero .intro {
    margin-top: 8px;
    color: #5c6672;
    line-height: 24px;
    max-height: 48px;
    overflow: hidden;
}

.st-list-hero .intro.open {
    max-height: none;
}

.st-list-hero .intro-more {
    color: #0088d0;
    font-size: 13px;
    cursor: pointer;
    display: inline-block;
    margin-top: 4px;
}

/* ---------- 筛选区 ---------- */
.st-filter {
    background: #fff;
    border-radius: 12px;
    padding: 4px 24px;
    margin-bottom: 12px;
    box-shadow: 0 1px 2px rgba(31, 35, 41, .04);
}

.st-filter .row {
    padding: 12px 0;
    border-bottom: 1px dashed #eceff3;
    overflow: hidden;
}

.st-filter .row:last-child {
    border-bottom: 0;
}

.st-filter .row .label {
    float: left;
    width: 84px;
    color: #98a1ac;
    line-height: 28px;
}

.st-filter .row .body {
    margin-left: 84px;
    position: relative;
    padding-right: 62px;
}

.st-filter .row .items {
    max-height: 30px;
    overflow: hidden;
}

.st-filter .row .items.open {
    max-height: none;
}

.st-filter .chip {
    display: inline-block;
    padding: 3px 12px;
    margin: 0 4px 6px 0;
    border-radius: 14px;
    color: #5c6672;
    line-height: 22px;
    cursor: pointer;
    -webkit-transition: .15s;
    transition: .15s;
}

.st-filter .chip:hover {
    background: #e9f5fd;
    color: #0088d0;
}

.st-filter .chip.on {
    background: #0088d0;
    color: #fff;
}

.st-filter .toggle {
    position: absolute;
    right: 0;
    top: 3px;
    color: #98a1ac;
    font-size: 13px;
    cursor: pointer;
}

.st-filter .toggle:hover {
    color: #0088d0;
}

.st-filter .row.chosen {
    background: #fcfdff;
}

.st-filter .tag {
    display: inline-block;
    padding: 3px 10px;
    margin: 0 6px 6px 0;
    border: 1px solid #0088d0;
    color: #0088d0;
    background: #e9f5fd;
    border-radius: 6px;
    line-height: 22px;
}

.st-filter .tag em {
    font-style: normal;
    cursor: pointer;
    color: #98a1ac;
    font-size: 14px;
    margin-left: 6px;
}

.st-filter .tag em:hover {
    color: #ff6633;
}

.st-filter .clear {
    display: inline-block;
    color: #98a1ac;
    line-height: 28px;
    cursor: pointer;
}

.st-filter .clear:hover {
    color: #ff6633;
}

.st-filter .more-filter {
    text-align: center;
    padding: 8px 0;
    border-top: 1px solid #eceff3;
    color: #98a1ac;
    cursor: pointer;
    font-size: 13px;
}

.st-filter .more-filter:hover {
    color: #0088d0;
}

/* ---------- 排序工具条（吸顶） ---------- */
.st-toolbar {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 20;
    background: #fff;
    border-radius: 12px;
    padding: 10px 16px;
    margin-bottom: 12px;
    box-shadow: 0 1px 2px rgba(31, 35, 41, .04);
    overflow: hidden;
}

.st-toolbar .sort {
    float: left;
}

.st-toolbar .sort a {
    float: left;
    padding: 5px 14px;
    margin-right: 2px;
    border-radius: 6px;
    color: #5c6672;
    cursor: pointer;
    line-height: 22px;
}

.st-toolbar .sort a:hover {
    background: #f5f7fa;
}

.st-toolbar .sort a.on {
    color: #0088d0;
    font-weight: 600;
    background: #e9f5fd;
}

.st-toolbar .sort .arw {
    display: inline-block;
    width: 8px;
    margin-left: 5px;
    vertical-align: middle;
}

.st-toolbar .sort .arw i {
    display: block;
    width: 0;
    height: 0;
    font-size: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
}

.st-toolbar .sort .arw i.up {
    border-bottom: 5px solid #c8ced6;
    margin-bottom: 2px;
}

.st-toolbar .sort .arw i.dn {
    border-top: 5px solid #c8ced6;
}

.st-toolbar .sort a.asc .arw i.up {
    border-bottom-color: #0088d0;
}

.st-toolbar .sort a.desc .arw i.dn {
    border-top-color: #0088d0;
}

.st-toolbar .view {
    float: right;
    border: 1px solid #eceff3;
    border-radius: 6px;
    overflow: hidden;
    margin-left: 12px;
}

.st-toolbar .view a {
    float: left;
    width: 34px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    cursor: pointer;
    color: #98a1ac;
}

.st-toolbar .view a.on {
    background: #0088d0;
    color: #fff;
}

.st-toolbar .view svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    vertical-align: -2px;
}

.st-toolbar .total {
    float: right;
    color: #98a1ac;
    font-size: 13px;
    line-height: 32px;
}

.st-toolbar .total b {
    color: #ff6633;
    font-weight: 600;
}

/* ---------- 结果区 ---------- */
.st-result {
    position: relative;
    min-height: 300px;
}

.st-result.loading .st-list {
    opacity: .4;
}

/* 列表卡片 */
.line-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(31, 35, 41, .04);
    padding: 16px;
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
    -webkit-transition: box-shadow .2s, -webkit-transform .2s;
    transition: box-shadow .2s, transform .2s;
}

.line-card:after {
    content: "";
    display: block;
    clear: both;
}

.line-card:hover {
    box-shadow: 0 8px 24px rgba(31, 35, 41, .1);
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
}

.line-card .pic {
    float: left;
    width: 260px;
    height: 172px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background: #eef1f5;
    display: block;
}

.line-card .pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: 0;
    -webkit-transition: .4s;
    transition: .4s;
}

.line-card:hover .pic img {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
}

.line-card .pic .corner {
    position: absolute;
    left: 0;
    top: 0;
    background: #ff5a3d;
    background: -webkit-linear-gradient(left, #ff4d4f, #ff7a45);
    background: linear-gradient(90deg, #ff4d4f, #ff7a45);
    color: #fff;
    font-size: 12px;
    line-height: 20px;
    padding: 0 10px;
    border-radius: 8px 0 8px 0;
}

/* 价格区在 DOM 中排在 .main 之后，不能用 float:right（会被 BFC 的 .main 挤到下一行），改用绝对定位 */
.line-card .side {
    position: absolute;
    right: 16px;
    top: 16px;
    bottom: 16px;
    width: 200px;
    border-left: 1px solid #eceff3;
    padding-left: 20px;
    text-align: right;
}

.line-card .main {
    overflow: hidden;
    padding: 2px 0 0 20px;
    margin-right: 200px;
    min-height: 172px;
    position: relative;
}

.line-card .tit {
    display: block;
    font-size: 17px;
    line-height: 26px;
    font-weight: 600;
    max-height: 52px;
    overflow: hidden;
}

.line-card:hover .tit {
    color: #0088d0;
}

.line-card .tags {
    margin: 8px 0 0;
    line-height: 0;
}

.line-card .tags span {
    display: inline-block;
    font-size: 12px;
    line-height: 20px;
    padding: 0 7px;
    margin: 0 6px 4px 0;
    border-radius: 4px;
    color: #ff8800;
    background: #fff7e8;
    border: 1px solid #ffe0a6;
}

.line-card .tags span.solid {
    color: #fff;
    background: #ff8536;
    background: -webkit-linear-gradient(left, #ff9a3d, #ff7a2f);
    background: linear-gradient(90deg, #ff9a3d, #ff7a2f);
    border-color: transparent;
}

.line-card .tags span.ico {
    padding: 0;
    border: 0;
    background: none;
}

.line-card .tags span.ico img {
    height: 20px;
    border: 0;
    vertical-align: top;
}

.line-card .sell {
    margin: 8px 0 0;
    color: #5c6672;
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.line-card .sell .pos {
    color: #50b400;
    margin-right: 12px;
}

.line-card .dates {
    margin-top: 10px;
    line-height: 0;
}

.line-card .dates .lb {
    display: inline-block;
    color: #98a1ac;
    font-size: 13px;
    line-height: 22px;
    margin-right: 6px;
}

.line-card .dates b {
    display: inline-block;
    font-weight: 400;
    font-size: 12px;
    line-height: 22px;
    padding: 0 8px;
    margin: 0 6px 4px 0;
    border-radius: 4px;
    background: #f5f7fa;
    color: #5c6672;
}

.line-card .dates .more {
    display: inline-block;
    font-size: 12px;
    line-height: 22px;
    color: #0088d0;
}

.line-card .meta {
    margin: 6px 0 0;
    color: #98a1ac;
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.line-card .meta span {
    margin-right: 18px;
}

/* 右侧价格区（绝对定位，总高度需控制在图片 172px 内，否则会被卡片 overflow 裁掉） */
.line-card .score {
    margin: 10px 0 0;
    color: #98a1ac;
    font-size: 12px;
}

.line-card .score b {
    color: #ff9500;
    font-size: 16px;
    font-weight: 600;
    margin-right: 4px;
}

.line-card .price {
    margin: 4px 0 0;
    color: #ff6633;
    line-height: 1.1;
}

.line-card .price i {
    font-style: normal;
    font-size: 15px;
}

.line-card .price em {
    font-style: normal;
    font-size: 30px;
    font-weight: 600;
    font-family: Arial, sans-serif;
}

.line-card .price s {
    text-decoration: none;
    color: #98a1ac;
    font-size: 12px;
    margin-left: 2px;
}

.line-card .price.ask em {
    font-size: 22px;
}

.line-card .jf {
    display: inline-block;
    margin-top: 6px;
    font-size: 12px;
    line-height: 18px;
    color: #ff5603;
    border: 1px solid #ffd9c7;
    background: #fff5f0;
    border-radius: 4px;
    padding: 0 8px;
}

.line-card .sold {
    margin: 6px 0 0;
    color: #98a1ac;
    font-size: 12px;
}

.line-card .btn {
    display: inline-block;
    margin-top: 12px;
    padding: 6px 22px;
    border-radius: 20px;
    color: #fff;
    background: #ff7a35;
    background: -webkit-linear-gradient(left, #ff8a3d, #ff6633);
    background: linear-gradient(90deg, #ff8a3d, #ff6633);
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(255, 102, 51, .25);
}

.line-card .btn:hover {
    opacity: .9;
}

/* ---------- 大图网格视图 ---------- */
.st-list.grid {
    overflow: hidden;
    margin-right: -14px;
}

.st-list.grid .line-card {
    float: left;
    width: 289px;
    margin: 0 14px 14px 0;
    padding: 0;
}

.st-list.grid .line-card .pic {
    float: none;
    width: 100%;
    height: 180px;
    border-radius: 0;
}

/* 网格模式固定内容区高度，确保 float 卡片逐行对齐 */
.st-list.grid .line-card .main {
    padding: 12px 14px 0;
    margin-right: 0;
    height: 112px;
    min-height: 112px;
    overflow: hidden;
}

.st-list.grid .line-card .tit {
    font-size: 15px;
    line-height: 22px;
    max-height: 44px;
}

.st-list.grid .line-card .tags {
    max-height: 48px;
    overflow: hidden;
}

.st-list.grid .line-card .tags {
    max-height: 48px;
    overflow: hidden;
}

.st-list.grid .line-card .dates,
.st-list.grid .line-card .sell,
.st-list.grid .line-card .meta,
.st-list.grid .line-card .btn,
.st-list.grid .line-card .jf,
.st-list.grid .line-card .score {
    display: none;
}

.st-list.grid .line-card .side {
    position: static;
    right: auto;
    top: auto;
    bottom: auto;
    width: auto;
    border-left: 0;
    border-top: 1px solid #eceff3;
    margin-top: 10px;
    padding: 8px 14px;
    text-align: left;
    overflow: hidden;
}

.st-list.grid .line-card .price {
    float: left;
    margin: 0;
}

.st-list.grid .line-card .price em {
    font-size: 22px;
}

.st-list.grid .line-card .sold {
    float: right;
    margin: 8px 0 0;
}

/* ---------- 骨架屏 ---------- */
.st-sk {
    display: none;
}

.st-result.first-loading .st-sk {
    display: block;
}

.st-result.first-loading .st-list,
.st-result.first-loading .st-page-wrap,
.st-result.first-loading .st-empty {
    display: none;
}

.st-sk .sk-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(31, 35, 41, .04);
}

.st-sk .b {
    background: #eef1f5;
    background: -webkit-linear-gradient(left, #eef1f5 25%, #f6f8fa 37%, #eef1f5 63%);
    background: linear-gradient(90deg, #eef1f5 25%, #f6f8fa 37%, #eef1f5 63%);
    background-size: 400% 100%;
    -webkit-animation: st-sk 1.2s ease infinite;
    animation: st-sk 1.2s ease infinite;
    border-radius: 6px;
}

.st-sk .sk-pic {
    float: left;
    width: 260px;
    height: 172px;
}

.st-sk .sk-txt {
    margin: 0 200px 0 280px;
}

.st-sk .sk-txt .b {
    margin-bottom: 14px;
}

.st-sk .sk-txt .b1 {
    height: 22px;
    width: 70%;
}

.st-sk .sk-txt .b2 {
    height: 16px;
    width: 40%;
}

.st-sk .sk-txt .b3 {
    height: 16px;
    width: 88%;
}

.st-sk .sk-txt .b4 {
    height: 16px;
    width: 55%;
}

.st-sk .sk-side {
    float: right;
    width: 160px;
    text-align: right;
}

.st-sk .sk-side .b1 {
    height: 30px;
    width: 100px;
    margin: 30px 0 12px auto;
}

.st-sk .sk-side .b2 {
    height: 16px;
    width: 70px;
    margin-left: auto;
}

@-webkit-keyframes st-sk {
    0% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0 50%;
    }
}

@keyframes st-sk {
    0% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0 50%;
    }
}

/* ---------- 局部刷新遮罩 ---------- */
.st-mask {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    text-align: center;
}

.st-result.loading .st-mask {
    display: block;
}

.st-mask .sp {
    display: inline-block;
    margin-top: 120px;
    width: 34px;
    height: 34px;
    border: 3px solid #e6eaef;
    border-top-color: #0088d0;
    border-radius: 50%;
    -webkit-animation: st-sp .8s linear infinite;
    animation: st-sp .8s linear infinite;
}

@-webkit-keyframes st-sp {
    to {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes st-sp {
    to {
        transform: rotate(360deg);
    }
}

/* ---------- 空状态 ---------- */
.st-empty {
    display: none;
    background: #fff;
    border-radius: 12px;
    padding: 70px 0;
    text-align: center;
    box-shadow: 0 1px 2px rgba(31, 35, 41, .04);
}

.st-result.is-empty .st-empty {
    display: block;
}

.st-result.is-empty .st-list,
.st-result.is-empty .st-page-wrap {
    display: none;
}

.st-empty .ico {
    display: block;
    font-size: 52px;
    line-height: 1;
}

.st-empty p {
    color: #98a1ac;
    margin: 14px 0 18px;
}

.st-empty .st-empty-btn {
    display: inline-block;
    padding: 8px 24px;
    border-radius: 20px;
    background: #0088d0;
    color: #fff;
    cursor: pointer;
}

/* ---------- 分页 ---------- */
.st-page-wrap {
    margin: 20px 0 40px;
}

.st-page {
    text-align: center;
    font-size: 0;
}

.st-page a {
    display: inline-block;
    min-width: 34px;
    height: 34px;
    line-height: 32px;
    padding: 0 10px;
    margin: 0 3px;
    font-size: 14px;
    border-radius: 6px;
    background: #fff;
    border: 1px solid #eceff3;
    color: #5c6672;
    cursor: pointer;
    vertical-align: middle;
}

.st-page a:hover {
    border-color: #0088d0;
    color: #0088d0;
}

.st-page a.on {
    background: #0088d0;
    border-color: #0088d0;
    color: #fff;
}

.st-page a.dis {
    color: #c8ced6;
    cursor: default;
    border-color: #eceff3;
}

.st-page a.dis:hover {
    border-color: #eceff3;
    color: #c8ced6;
}

.st-page .gap {
    display: inline-block;
    font-size: 14px;
    color: #98a1ac;
    padding: 0 4px;
    vertical-align: middle;
}

.st-page .jump {
    display: inline-block;
    font-size: 13px;
    color: #98a1ac;
    margin-left: 10px;
    vertical-align: middle;
}

.st-page .jump input {
    width: 46px;
    height: 34px;
    line-height: 32px;
    text-align: center;
    border: 1px solid #eceff3;
    border-radius: 6px;
    outline: none;
    font-size: 13px;
    vertical-align: middle;
    margin: 0 4px;
}
