/* ================================================
   直角扁平 · 浅蓝色
   底 #f1f2f3  ·  蓝 #4DB4F5 / #3AA0E0
   ================================================ */

:root {
    --bg: #f1f2f3;
    --paper: #ffffff;
    --blue: #4DB4F5;
    --blue-deep: #2AA3EC;
    --blue-soft: #E8F6FD;
    --link: #3AA0E0;
    --ink: #333333;
    --ink-soft: #666666;
    --ink-mute: #999999;
    --line: #e5e6e8;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-size: 14px;
    background-color: var(--bg);
    color: var(--ink);
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.5;
}

div { border: 0; margin: 0; padding: 0; }
table { border-collapse: collapse; }

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--link); }
a img { border: none; }

h1 {
    color: var(--link);
    font-size: 22px;
    font-weight: 600;
    margin: 0 auto;
}

ul, li, ol { list-style: none; border: 0; padding: 0; margin: 0; }
p { line-height: 25px; margin: 5px 0; }

.line5 { clear: both; height: 5px; }
.line6 { clear: both; height: 6px; }
.line7 { clear: both; height: 7px; }
.line10 { clear: both; height: 10px; }
.line11 { clear: both; height: 11px; }
.linesplit { clear: both; height: 10px; }
.linesplithidden { clear: both; height: 10px; }
.clr { clear: both; }

.center {
    clear: both;
    margin: 0 auto;
    width: 1200px;
}

/* Top */
.top { clear: both; border: 0; }

.top .top_left { float: left; position: relative; }
.top .top_left a { display: inline-block; }
.top .top_left a img { height: 36px; display: block; }

.top .top_left .btnnavigate {
    position: absolute;
    top: 6px;
    right: 0;
    width: 30px;
    display: none;
    cursor: pointer;
}
.top .top_left .btnnavigate b {
    display: block;
    width: 100%;
    height: 4px;
    margin-bottom: 5px;
    background-color: #666;
}

.top .top_right {
    float: right;
    width: 500px;
    display: grid;
    grid-template-columns: 1fr 60px 60px;
}

.input_txt {
    width: 100%;
    height: 36px;
    line-height: 36px;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid #d8d8d8;
    border-right: 0;
    border-radius: 0;
    margin: 0;
    padding: 0;
    text-indent: 10px;
    font-size: 14px;
    outline: none;
}
.input_txt::placeholder { color: var(--ink-mute); }
.input_txt:focus { border-color: var(--blue); }

.search_btn {
    width: 100%;
    text-align: center;
    height: 36px;
    line-height: 36px;
    cursor: pointer;
    background-color: var(--blue);
    border: 0;
    border-radius: 0;
    color: #fff;
    font-size: 13px;
}
.search_btn:hover { background-color: var(--blue-deep); }

.historybtn {
    position: relative;
    text-align: center;
    margin-left: 0;
    height: 36px;
    line-height: 36px;
    cursor: pointer;
    background-color: var(--blue);
    border: 0;
    border-left: 1px solid #0086d4;
}
.historybtn:hover { background-color: var(--blue-deep); }
.historybtn p {
    font-size: 13px;
    color: #fff;
    line-height: 36px;
    margin: 0;
}

.filmhistory {
    clear: both;
    float: right;
    width: 420px;
    background-color: var(--paper);
    border: 1px solid #ddd;
    overflow: hidden;
    z-index: 11;
    position: absolute;
    right: 0;
    display: none;
}
.filmhistory ul {
    max-height: 240px;
    overflow-y: auto;
    margin: 0;
    background-color: var(--paper);
}
.filmhistory ul li {
    line-height: 38px;
    padding: 0 0 0 12px;
    margin: 0;
    overflow: hidden;
}
.filmhistory ul li:nth-child(odd) { background-color: #fff; }
.filmhistory ul li:nth-child(even) { background-color: #f4f4f4; }
.filmhistory ul li:hover { background-color: #ececec; }
.filmhistory ul li a {
    display: block;
    margin-right: 56px;
    color: var(--ink);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.filmhistory ul li a:hover { color: var(--ink); }
.filmhistory ul li a em {
    font-style: normal;
    color: inherit;
    font-weight: inherit;
}
.filmhistory ul li span {
    float: right;
    display: inline-block;
    width: 56px;
    height: 38px;
    line-height: 38px;
    text-align: center;
    cursor: pointer;
    color: var(--ink-mute);
    font-size: 12px;
}
.filmhistory ul li span:hover { color: var(--ink); }
.filmhistory p {
    line-height: 38px;
    background-color: #f4f4f4;
    text-align: right;
    margin: 0;
    padding: 0 8px;
    color: var(--ink-mute);
    font-size: 12px;
}
.filmhistory p span {
    display: inline-block;
    min-width: 52px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    cursor: pointer;
    color: var(--ink-soft);
    vertical-align: middle;
}
.filmhistory p span:hover { color: var(--ink); }

/* Navigate */
.navigate {
    clear: both;
    background-color: var(--paper);
    border-bottom: 2px solid var(--blue);
}
.navigate ul { margin: 0 auto; }
.navigate ul li { display: inline-block; }
.navigate ul li a {
    display: block;
    text-align: center;
    color: var(--ink);
    line-height: 40px;
    height: 40px;
    padding: 0 14px;
}
.navigate ul li a:hover { color: var(--blue); }
.navigate ul li a.cur {
    color: #fff;
    background: var(--blue);
}

.borderwrap {}
.whitebkg { background-color: var(--paper); }

.center_box {
    clear: both;
    display: grid;
    grid-template-columns: 1fr 300px;
    justify-content: space-between;
    grid-column-gap: 10px;
}
.center_left { overflow: hidden; }
.center_right {}

.title {
    height: 42px;
    line-height: 42px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 8px;
}
.title_name {
    float: left;
    color: var(--ink);
    font-weight: 700;
    border-left: 3px solid var(--blue);
    padding-left: 8px;
    height: 18px;
    line-height: 18px;
    margin-top: 12px;
}

.title_more { float: right; }
.title_more a {
    color: var(--ink-soft);
    margin: 0 2px;
    display: inline-block;
    padding: 0 8px;
    height: 28px;
    line-height: 28px;
}
.title_more a:hover,
.title_more a.cur {
    color: #fff;
    background: var(--blue);
}

.rightitem { display: grid; grid-template-columns: 1fr; }
.rightitem li {
    clear: both;
    overflow: hidden;
    margin-bottom: 10px;
    height: 120px;
    padding: 6px;
    background-color: var(--paper);
}
.rightitem li .imgwrap {
    float: left;
    width: 90px;
    height: 120px;
    overflow: hidden;
}
.rightitem li .imgwrap img {
    width: 90px;
    height: 120px;
    object-fit: cover;
    display: block;
}
.rightitem li .tbody {
    margin-left: 96px;
    height: 120px;
    overflow: hidden;
}
.rightitem li .tbody div {
    line-height: 28px;
    word-break: break-all;
    color: var(--ink-soft);
    font-size: 13px;
}
.rightitem li .tbody div a { color: var(--link); }

.link_title {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 6px;
    background: var(--paper);
    padding: 8px 8px 0;
}
.link_title a {
    display: block;
    float: none;
    background: var(--bg);
    padding: 0 16px;
    line-height: 36px;
    height: 36px;
    overflow: hidden;
    text-align: center;
    margin: 0;
    color: var(--ink-soft);
    font-weight: 600;
}
.link_title a:hover {
    color: var(--ink);
    background: #e2e4e6;
}
.link_title a.cur {
    color: #fff;
    background: var(--blue);
}
.link_title a.cur:hover {
    color: #fff;
    background: var(--blue-deep);
}

.link_body {
    clear: both;
    margin: 0 auto;
    max-height: 320px;
    overflow: auto;
    background-color: var(--paper);
    padding: 10px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
    gap: 6px;
}
.link_body .clr { display: none; }
.link_a {
    display: block;
    float: none;
    text-align: center;
    overflow: hidden;
    margin: 0;
}
.link_a a {
    display: block;
    word-break: break-all;
    line-height: 34px;
    height: 34px;
    padding: 0 8px;
    background-color: var(--bg);
    color: var(--ink);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.link_a a:hover {
    background-color: var(--blue-soft);
    color: var(--link);
}
.link_a a.cur {
    background-color: var(--blue);
    color: #fff;
}

.items {
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    column-gap: 10px;
    row-gap: 10px;
}

.item {
    break-inside: avoid;
    background-color: var(--paper);
    overflow: hidden;
}
.item a {
    display: block;
    margin: 8px 8px 0;
    position: relative;
}

.item_img {
    position: relative;
    width: 100%;
    height: 0;
    padding: 0;
    padding-bottom: 136%;
    overflow: hidden;
    background: var(--bg);
}
.item_img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    margin: 0 auto;
    object-fit: cover;
}

.item_text {
    text-align: center;
    color: var(--ink);
    height: 30px;
    line-height: 30px;
    word-break: break-word;
    overflow: hidden;
}
.item_zhuangtai {
    text-align: center;
    color: var(--ink-mute);
    height: 24px;
    line-height: 24px;
    word-break: break-word;
    overflow: hidden;
    font-size: 12px;
    padding-bottom: 4px;
}
.item_score {
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--blue);
    padding: 2px 6px;
    color: #fff;
    font-size: 12px;
}

.info {
    padding: 12px;
    background-color: var(--paper);
}
.infoleft {
    float: left;
    width: 140px;
    overflow: hidden;
}
.infoleft img {
    width: 100%;
    display: block;
}
.infoleft div {
    text-align: center;
    line-height: 32px;
    color: var(--ink-soft);
}

.inforight { width: auto; overflow: auto; }
.inforight ul { margin-left: 12px; }
.inforight ul li {
    line-height: 26px;
    word-break: break-all;
    color: var(--ink-soft);
}
.inforight ul li .rt {
    color: var(--ink);
    font-size: 14px;
}
.inforight ul li a {
    color: var(--link);
    margin: 0 3px;
}

.remark {
    line-height: 25px;
    color: var(--ink-soft);
    font-size: 14px;
    max-height: 250px;
    overflow: auto;
    word-break: break-word;
    margin-top: 8px;
}

#footer {
    clear: both;
    width: 100%;
    background-color: var(--paper);
    color: var(--ink-mute);
    margin-top: 16px;
}
#footer p {
    margin: 0 6px;
    padding: 8px 0 0;
    text-align: center;
    line-height: 22px;
    font-size: 12px;
}
#footer p:last-child { padding-bottom: 12px; }

.friend_link {
    line-height: 30px;
    background-color: #F1F1F1;
    padding: 4px 8px;
    text-align: center;
}
.friend_link a {
    margin: 0 5px;
    color: var(--ink-mute);
}
.friend_link a:hover {
    text-decoration: underline;
    color: var(--link);
}

.page {
    clear: both;
    text-align: center;
    margin: 12px 0 6px;
}
.page span,
.page a {
    display: inline-block;
    line-height: 34px;
    height: 34px;
    padding: 0 12px;
    margin-right: 3px;
    margin-bottom: 3px;
    text-align: center;
    background-color: var(--paper);
    color: var(--ink);
}
.page a:hover,
.page a.cur {
    background-color: var(--blue);
    color: #fff;
}

.searchoption {
    line-height: 40px;
    background-color: var(--paper);
    padding: 4px 0;
}
.searchoption h1 {
    display: inline-block;
    vertical-align: middle;
    text-indent: 9px;
    font-size: 20px;
}
.searchoption .searchopts {
    display: inline-block;
    margin-left: 24px;
    vertical-align: middle;
}
.searchoption .searchopts input {
    display: inline-block;
    vertical-align: middle;
}
.searchoption .searchopts label {
    display: inline-block;
    vertical-align: middle;
    color: var(--ink-soft);
    margin-right: 10px;
}
.searchoption .searchopts a#btnoptsearch {
    display: inline-block;
    vertical-align: middle;
    background-color: var(--blue);
    color: #fff;
    padding: 0 12px;
    margin-left: 6px;
    line-height: 30px;
    height: 30px;
}

.sopts { margin-left: 3px; }
.sopts li { display: inline-block; }
.sopts li.t {
    font-weight: 600;
    color: var(--ink);
    line-height: 30px;
}
.sopts li a {
    display: block;
    padding: 0 9px;
    line-height: 30px;
    margin-bottom: 3px;
    color: var(--ink-soft);
}
.sopts li a:hover { color: var(--blue); }
.sopts li a.cur {
    background-color: var(--blue);
    color: #fff;
}

.searchlist {}
.searchlistrow {
    clear: both;
    padding: 10px;
    background-color: var(--paper);
    margin-bottom: 8px;
    overflow: hidden;
}
.searchlistleft {
    float: left;
    width: 90px;
    height: 120px;
    text-align: center;
    overflow: hidden;
    margin-right: 10px;
}
.searchlistleft a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0 auto;
    display: block;
}

.searchlistright {}
.searchlistright .stitle {
    line-height: 28px;
    font-size: 16px;
}
.searchlistright .stitle a { color: var(--link); }
.searchlistright .sperformer {
    line-height: 26px;
    font-size: 13.6px;
    color: var(--ink-soft);
}
.searchlistright .sperformer a {
    word-break: break-all;
    color: var(--link);
}
.searchlistright .sperformer span {
    margin: 0 3px;
    color: var(--ink);
}
.searchlistright .ssummary {
    line-height: 24px;
    font-size: 13px;
    color: var(--ink-mute);
}

.videowrap {
    width: 100%;
    position: relative;
    background-color: #000;
    aspect-ratio: 16/9;
    overflow: hidden;
}
.videowrap .video-js {
    width: 100% !important;
    height: 100% !important;
    padding-top: 0 !important;
}

@media (max-width: 1200px) {
    .center { width: 960px; }
    .items { grid-template-columns: 1fr 1fr 1fr 1fr 1fr; }
}

@media (max-width: 960px) {
    .center { width: 720px; }
    .center_box { grid-template-columns: 1fr 210px; }
    .items { grid-template-columns: 1fr 1fr 1fr 1fr; }
}

@media (max-width: 720px) {
    .center { width: auto; }
    .center_box { grid-template-columns: 1fr; }

    .navigate {
        background-color: var(--bg);
        border-bottom: 0;
    }
    .navigate ul li a {
        display: inline-block;
        height: 32px;
        line-height: 32px;
        background-color: var(--paper);
        margin-bottom: 3px;
        margin-right: 3px;
        padding: 0 10px;
    }
    .navigate ul li a.cur {
        background: var(--blue);
        color: #fff;
    }

    .title { display: none; }
    .linesplit { height: 3px; }
    .linesplithidden { display: none; }

    .items {
        grid-template-columns: 1fr 1fr 1fr;
        column-gap: 3px;
        row-gap: 3px;
    }

    .top .top_left { float: none; width: auto; text-align: center; }
    .top .top_right {
        clear: both;
        float: none;
        width: auto;
        margin: 0;
        margin-top: 6px;
    }

    .rightitem {
        grid-template-columns: 1fr 1fr;
        column-gap: 3px;
    }
    .rightitem li { margin-bottom: 3px; padding: 3px; }

    .info { padding: 6px; }
    .page { margin-bottom: 0; }
    .page span, .page a { float: left; }
}

@media (max-width: 420px) {
    .item a { margin: 4px 4px 0; }
    .filmhistory { position: static; width: 100%; }
    .filmhistory ul { margin: 3px; }
    .filmhistory p { margin: 0; }

    .searchoption h1 { display: block; }
    .searchoption .searchopts { display: block; margin-left: 3px; }
    .searchoption .searchopts a#btnoptsearch { margin-left: 3px; }

    .infoleft {
        float: none;
        width: 140px;
        margin: 0 auto 8px;
    }
    .inforight ul { margin-left: 0; }
}
