/* Main site's responsive theme. Rules follow the original EmpireCMS styles. */
:root {
    color-scheme: light;
    --ink: #182923;
    --muted: #52685e;
    --field: #f2f6f2;
    --card: #fff;
    --line: #dce8df;
    --accent: #146347;
    --accent-strong: #0d4936;
    --accent-soft: #e5f1e8;
    --header: #102d25;
    --gold: #e6bb67;
    --radius: 14px;
}
*, *::before, *::after { box-sizing: border-box; }
html { min-width: 0; }
body {
    margin: 0;
    min-width: 0;
    background: var(--field);
    color: var(--ink);
    font-family: system-ui, "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.55;
}
a { color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 3px solid #b17a23; outline-offset: 3px; }
img, iframe, video { max-width: 100%; }
.inner { width: min(1240px, calc(100% - 40px)); margin-inline: auto; }
.lph-header, .lph-header .top { background: var(--header); color: white; }
.lph-header { position: sticky; top: 0; height: auto; z-index: 30; }
.lph-header .top { height: auto; min-height: 70px; width: 100% !important; padding: 0 !important; }
.lph-header .top .inner { display: flex; align-items: center; gap: 26px; min-height: 70px; }
.lph-header .top .inner::before, .lph-header .top .inner::after { display: none; }
.lph-header .top .logo {
    position: static;
    display: block;
    flex: none;
    float: none;
    width: auto;
    height: auto;
    color: white;
    font-size: clamp(21px, 3vw, 30px);
    font-weight: 800;
    line-height: 1.15;
    white-space: nowrap;
}
.lph-header .top .nav {
    position: static;
    display: flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
    gap: 3px;
    float: none;
    width: auto;
    height: auto;
    min-width: 0;
    margin: 0;
    padding: 8px 0;
    background: none;
    line-height: 1.35;
    list-style: none;
}
.lph-header .top .nav::before, .lph-header .top .nav::after { display: none; }
.lph-header .top .nav > li.navbar-item { display: block; float: none; margin: 0; background: none; border: 0; opacity: 1; }
.lph-header .top .nav > li.navbar-item > a {
    display: block;
    height: auto;
    padding: 9px 10px;
    border-radius: 7px;
    color: #dce9e2;
    font-size: 14px;
    line-height: 1.35;
    white-space: nowrap;
}
.lph-header .top .nav > li.navbar-item:hover > a,
.lph-header .top .nav > li.navbar-item.cu > a,
.lph-header .top .nav > li.navbar-item.active > a { background: #285348; color: white; opacity: 1; }
.lph-header .top .nav > li.navbar-item > a[aria-current="page"] { color: var(--gold); background: #285348; }
.lph-main { width: 100%; margin: 0; padding-block: 24px 38px; }
.lph-main > .inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(230px, 290px);
    gap: 24px;
    align-items: start;
}
.lph-main > .inner::before, .lph-main > .inner::after { display: none; }
.lph-main > .inner:not(:has(.lph-right)) { grid-template-columns: minmax(0, 1fr); }
.lph-main > .inner > .lph-left,
.lph-main > .inner > .lph-right { float: none; display: block; width: 100% !important; min-width: 0; padding: 0 !important; }
.lph-main .lph-pageList, .lph-main .article-left,
.lph-main .artSortList-left, .lph-main .lph-right > .right-box, .lph-main .lph-right > .function {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.lph-main .lph-pageList, .lph-main .article-left, .lph-main .artSortList-left { padding: clamp(13px, 2.2vw, 26px) !important; }
.lph-main > .inner > .article-left, .lph-main > .inner > .artSortList-left { padding: clamp(13px, 2.2vw, 26px) !important; }
.lph-main .artSortList-left .lph-pageList { border: 0; padding: 0 !important; }
.lph-main .lph-right > .right-box, .lph-main .lph-right > .function { padding: 16px; margin: 0 0 16px; }
.lph-main .lph-right .right-box-title, .lph-main .lph-right .function_t { height: auto; min-height: 30px; border-color: var(--line); color: var(--ink); }
.lph-main .lph-right .right-box-title h3 { float: none; font-size: 17px; }
.lph-main .lph-right .kuaixun .kx-ul li { border-color: var(--line); }
.lph-main .lph-right .kuaixun .kx-ul li .time { background: var(--accent-soft); color: var(--accent-strong); border-radius: 7px; width: 49px; font-size: 13px; }
.lph-main .lph-right .kuaixun .kx-ul li.hov .time { background: var(--accent); color: #fff; }
.lph-main .lph-right .kuaixun .kx-ul li .title { color: var(--ink); font-size: 14px; line-height: 1.4; height: auto; min-height: 36px; }
.lph-main .function_c li { border-color: var(--line); }
.lph-main h1, .lph-main .article-left .pageTop h1,
.lph-main .artSortList-left .asl-title h3 { color: var(--ink); font-size: clamp(22px, 3.3vw, 36px) !important; font-weight: 790; line-height: 1.19; overflow-wrap: anywhere; }
.lph-main .tip, .lph-main .tiyu-page-heading { color: var(--ink); border: 0; height: auto; padding-bottom: 9px; }
.lph-main .tip p, .lph-main .tiyu-page-heading p { color: var(--muted); margin-top: 7px; }
.lph-main .match_filter_roll { width: 100%; overflow-x: auto; }
.lph-main .match_filter { display: flex; align-items: stretch; gap: 6px; width: max-content; min-width: 100%; padding: 4px 0 9px; }
.lph-main .match_filter_item { flex: none; float: none; padding: 0; max-width: none; }
.lph-main .match_filter_item a { display: block; padding: 5px 9px; border-radius: 6px; color: var(--accent-strong); background: var(--accent-soft); white-space: nowrap; }
.lph-main .match_filter_item.active a, .lph-main .match_filter_item a:hover { color: white; background: var(--accent); }
.lph-main .play_box, .lph-main .play_list, .lph-main .play_block { min-width: 0; width: 100%; }
.lph-main .play_time { margin: 12px 0 4px; padding: 9px 11px; border-radius: 8px; color: var(--accent-strong); background: var(--accent-soft); font-size: 14px; font-weight: 700; }
.lph-main .play_list-items_item {
    display: grid;
    grid-template-columns: minmax(87px, 125px) minmax(0, 1fr) minmax(64px, auto);
    align-items: center;
    gap: 10px;
    min-height: 63px;
    height: auto;
    border-bottom: 1px solid var(--line);
    padding: 8px 4px;
    line-height: 1.4;
}
.lph-main .play_item-flexible { display: flex; flex-wrap: wrap; gap: 2px 8px; width: auto; min-width: 0; }
.lph-main .play_item-date, .lph-main .play_item-league { width: auto; min-width: 0; padding: 0; color: var(--muted); font-size: 13px; }
.lph-main .play_item-league strong { font-size: inherit; }
.lph-main .play_list-items_item .play_item-league::before { display: none !important; }
.lph-main .play_center-flexible { display: grid; grid-template-columns: minmax(0, 1fr) 27px minmax(0, 1fr); align-items: center; gap: 5px; width: auto; min-width: 0; }
.lph-main .play_center-flexible .play_item-vs { display: block; width: auto; color: var(--muted); font-size: 12px; font-weight: 650; text-align: center; }
.lph-main .play_item-team { display: block; width: auto; min-width: 0; }
.lph-main .play_item-team_left, .lph-main .play_item-team_right { display: flex; align-items: center; gap: 6px; width: auto; min-width: 0; flex-direction: row; }
.lph-main .play_item-team_left { justify-content: flex-end; text-align: right; }
.lph-main .play_item-team_right { justify-content: flex-start; text-align: left; }
.lph-main .play_item-team strong { display: inline; min-width: 0; height: auto; color: var(--ink); font-size: 14px; white-space: normal; overflow-wrap: anywhere; }
.lph-main .play_item-team img { width: 24px; height: 24px; flex: 0 0 24px; object-fit: contain; margin: 0; }
.lph-main .play_item-play { width: auto; min-width: 0; text-align: right; }
.lph-main .play_item-play a { display: inline-block; height: auto; padding: 6px 9px; border-radius: 7px; line-height: 1.35; white-space: nowrap; font-size: 13px; background: var(--accent-soft); color: var(--accent-strong); }
.lph-main .play_item-play a.start { background: var(--accent); color: white; }
.lph-main .play_item-play a.end { background: #edf1ee; color: #4b6056; }
.lph-main .lph-pageList li.pbox { display: grid; grid-template-columns: minmax(84px, 24%) minmax(0, 1fr); gap: 13px; padding-block: 14px; border-color: var(--line); }
.lph-main .lph-pageList li.pbox::after, .lph-main .lph-pageList li.pbox::before { display: none; }
.lph-main .lph-pageList .wrap li.pbox .img { position: relative; inset: auto; float: none; min-width: 0; }
.lph-main .lph-pageList .wrap li.pbox .img img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; background: var(--accent-soft); }
.lph-main .lph-pageList .wrap li.pbox .word { padding: 0; width: auto; min-width: 0; float: none; }
.lph-main .lph-pageList .wrap li.pbox .word h2 { color: var(--ink); font-size: clamp(15px, 1.9vw, 19px); line-height: 1.35; white-space: normal; }
.lph-main .lph-pageList .wrap li.pbox .word .des { padding: 5px 0 0; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lph-main .article-left .pageTop { padding: 6px 0 14px !important; border: 0; }
.lph-main .article-left .pageInfo, .lph-main .article-left .pageActive { height: auto; min-height: 0; border-color: var(--line); }
.lph-main .article-left .pageCont { color: var(--ink); line-height: 1.85; overflow-wrap: anywhere; }
.lph-main .article-left .pageCont p { margin: 0 0 1em; }
.lph-main .article-left .pageCont img { height: auto; }
.lph-main .article-left .logad, .lph-main .article-left .pageCont > * { max-width: 100%; }
.popup-content { max-width: calc(100vw - 32px); }
.lph-main .article-left .pageActive, .lph-main .article-left .pageInfo { display: flex; flex-wrap: wrap; gap: 9px; justify-content: space-between; }
.lph-main .article-left .pageActive::after, .lph-main .article-left .pageActive::before { display: none; }
.lph-main .article-left .pageActive > *, .lph-main .article-left .pageInfo > * { float: none; max-width: 100%; }
.lph-footer { background: var(--header); padding: 23px 0; width: 100%; }
.lph-footer .gotoBar { right: 16px; left: auto; margin: 0; bottom: 18px; }
@media (max-width: 940px) {
    .lph-main > .inner { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .lph-main > .inner > .lph-right { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 14px; }
    .lph-main .article-left .lph-right { float: none; display: block; width: 100%; max-width: 100%; }
    .lph-main .lph-right > .right-box, .lph-main .lph-right > .function { margin: 0; }
}
@media (max-width: 720px) {
    .inner { width: calc(100% - 22px); }
    .lph-header .top .inner { flex-direction: column; align-items: stretch; justify-content: center; gap: 4px; min-height: 0; padding-top: 10px; }
    .lph-header .top .nav { flex-wrap: nowrap; overflow-x: auto; padding: 4px 0 9px; }
    .lph-header .top .logo { align-self: start; }
    .lph-main { padding-block: 12px 24px; }
    .lph-main .play_list-items_item { grid-template-columns: minmax(0, 1fr) auto; row-gap: 7px; padding: 9px 3px; }
    .lph-main .play_item-flexible { grid-column: 1; grid-row: 1; }
    .lph-main .play_item-play { grid-column: 2; grid-row: 1; }
    .lph-main .play_center-flexible { grid-column: 1 / -1; grid-row: 2; }
    .lph-main .play_item-team strong { font-size: 13px; }
    .lph-main .play_item-team img { width: 20px; height: 20px; flex-basis: 20px; }
    .lph-main .article-left .pageInfo { font-size: 13px; }
    .lph-main .lph-pageList li.pbox { gap: 9px; }
    .lph-footer .gotoBar { right: 7px; }
}
