@charset "utf-8";

html { overflow-x: hidden; }

:root {

    --rl-shell: 1200px;

    --rl-red: #a73528;
    --rl-red-d: #8c2a20;
    --rl-red-l: #fbf0ec;
    --rl-red-b: #eacfc6;

    --rl-red-rgb: 167, 53, 40;
    --rl-green: #687b42;
    --rl-green-rgb: 104, 123, 66;
    --rl-orange: #e6a23c;

    --rl-orange-rgb: 230, 162, 60;
    --rl-text: #4b2b25;
    --rl-text-2: #7d615a;
    --rl-text-3: #a98d85;
    --rl-line: #ecdcd4;
    --rl-bg: #faf4ef;
    --rl-card: #fffdfb;
    --rl-r: 14px;
    --rl-r-s: 10px;
    --rl-r-xs: 8px;
    --rl-sh: 0 1px 2px rgba(16, 24, 40, .04), 0 10px 28px -14px rgba(16, 24, 40, .16);
    --rl-sh-hover: 0 2px 6px rgba(16, 24, 40, .06), 0 16px 34px -14px rgba(var(--rl-red-rgb), .26);
    --rl-primary-shadow: rgba(var(--rl-red-rgb), .5);
    --rl-gap: 16px;
    --rl-pad: clamp(14px, 2.2vw, 24px);
}

body {
    background: var(--rl-bg);
    color: var(--rl-text);
    letter-spacing: 0;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.max-width,
.max-width.max-width {
    max-width: var(--rl-shell, 1200px);
    padding-left: 12px;
    padding-right: 12px;
    margin-left: auto;
    margin-right: auto;
}

.rl-card {
    background: var(--rl-card);
    border-radius: var(--rl-r);
    box-shadow: var(--rl-sh);
    overflow: hidden;
}

.rl-hd {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    color: var(--rl-text);
    padding: 0 0 12px;
    margin: 0;
    border: 0;
}

.rl-hd::before {
    content: "";
    width: 4px;
    height: 16px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--rl-red), #ee8b86);
    flex: none;
}

.header {
    background: var(--rl-card);
    box-shadow: 0 1px 0 var(--rl-line);
    width: 100%;
}

.header .top {
    display: flex;
    align-items: center;
    gap: 14px;

    padding: 14px 12px;
    overflow: visible;
    height: auto;

    margin-left: auto;
    margin-right: auto;
}

.header .top > a { flex: none; display: block; height: auto; }

.header .top img {
    height: 44px;
    width: auto;
    float: none;
    margin: 0;
    border-radius: 10px;
    display: block;
}

.header .top h1 {
    float: none;
    padding: 0;
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--rl-red);
    letter-spacing: .05em;
    line-height: 1.3;
    position: relative;
    padding-left: 14px;
}

.header .top h1::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 20px;
    background: var(--rl-line);
}

.header .top h1.rl-name-links {
    display: flex;

    flex-wrap: nowrap;
    align-items: baseline;
}

.header .top h1.rl-name-links .rl-name-link {
    float: none;
    display: inline;
    flex: none;
    height: auto;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font: inherit;
    letter-spacing: inherit;
    color: var(--rl-red);
    cursor: pointer;
    white-space: nowrap;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    text-decoration-color: var(--rl-red-b);
    transition: color .18s, text-decoration-color .18s;
}

.header .top h1.rl-name-links .rl-name-link:nth-child(1) {
    color: var(--rl-red);
    text-decoration-color: var(--rl-red-b);
}

.header .top h1.rl-name-links .rl-name-link:nth-child(2) {
    color: var(--rl-orange);
    text-decoration-color: #f0d3a4;
}

.header .top h1.rl-name-links .rl-name-link:nth-child(3) {
    color: var(--rl-green);
    text-decoration-color: #c8d3b0;
}

.header .top h1.rl-name-links .rl-name-link:hover {
    color: var(--rl-red-d);
    text-decoration-color: currentColor;
}

.header .top h1.rl-name-links .rl-name-link:nth-child(2):hover { color: #c9821f; }
.header .top h1.rl-name-links .rl-name-link:nth-child(3):hover { color: #52632f; }

.dh-box {
    height: auto;
    background: transparent;
    margin: 0 0 12px;
    border-top: 1px solid var(--rl-line);
    width: 100%;
}

.dh {
    display: flex;
    gap: 6px;
    align-items: center;
    justify-content: flex-start;
    height: auto;
    padding: 10px 12px;
    font-size: 15px;
    font-weight: 500;
    flex-wrap: wrap;

    margin-left: auto;
    margin-right: auto;
}

.dh a {
    color: var(--rl-text);
    padding: 7px 14px;
    border-radius: 999px;
    white-space: nowrap;
    transition: background .18s, color .18s;
    border: 1px solid transparent;
}

.dh a:hover { background: var(--rl-red-l); color: var(--rl-red); border-color: var(--rl-red-b); }

.dh .av,
.dh .av:hover {
    background: var(--rl-red);
    color: #fff;
    border-radius: 999px;
    border-color: var(--rl-red);
    box-shadow: 0 6px 14px -6px rgba(var(--rl-red-rgb), .7);
}

.footer {
    margin: 28px 0 0;
    padding: 22px 0 26px;
    color: var(--rl-text-3);
    text-align: center;
    font-size: 13px;
    line-height: 1.9;
    background: var(--rl-card);
    border-top: 1px solid var(--rl-line);
    width: 100%;
}

.footer-inner {
    max-width: var(--rl-shell);
    margin: 0 auto;
    padding: 0 12px;
}

.footer p { padding: 0; }
.footer p a { color: var(--rl-text-2); text-decoration: none; transition: color .18s; }
.footer p a:hover { color: var(--rl-red); }

.flink {
    padding: 0 0 10px;
    font-size: 13px;
    line-height: 2;
}

.flink-t { color: var(--rl-text-2); font-weight: 600; }

.flink a {
    display: inline-block;
    margin: 0 2px;
    padding: 0 8px;
    color: var(--rl-text-3);
    text-decoration: none;
    border-left: 1px solid var(--rl-line);
    transition: color .18s;
}

.flink a:hover { color: var(--rl-red); }
.flink a.last { border-right: 1px solid var(--rl-line); }

.main { margin: 20px auto 0; }

.main:has(> .main-box) { display: flex; align-items: stretch; }

.main-box { float: none; flex: 0 0 63%; display: flex; flex-direction: column; width: auto; min-width: 0; padding-right: 16px; }

.main-box1 {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    border: 0;
    background: #fff;
    border-radius: var(--rl-r);
    box-shadow: var(--rl-sh);
    overflow: hidden;
}

.main-box1 > .clear { display: none; }

.main-box1 > #calendar { flex: 1 1 auto; grid-auto-rows: 1fr; }

.calendar-navigation-large { background: #fff; padding: 10px 14px; }

.calendar-navigation {
    line-height: 34px;
    display: flex;
    align-items: center;
    gap: 10px;
    float: none;
    width: 100%;
}

.calendar-navigation .xialacd {
    width: auto;
    min-width: 128px;
    height: 34px;
    border: 1px solid var(--rl-red-b);
    border-radius: var(--rl-r-xs);
    background: var(--rl-red-l);
    padding: 0 10px;
}

.calendar-navigation .xialacd:hover { border-color: var(--rl-red); }

.calendar-navigation .sxny_select { font-weight: 600; color: var(--rl-red); line-height: 32px; }
.calendar-navigation .sxny a { color: var(--rl-text-2); }

.calendar-navigation-right {
    width: auto;
    height: 34px;
    border: 1px solid var(--rl-red-b);
    border-radius: var(--rl-r-xs);
    background: var(--rl-red-l);
    line-height: 32px;
    padding: 0 14px;
}

.calendar-navigation-right a { color: var(--rl-red); font-weight: 600; }

.rl-ym {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    vertical-align: middle;
    margin-left: auto;
}

.rl-ym-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    font-size: 22px;
    line-height: 1;
    color: var(--rl-text-2);
    text-decoration: none;
    background: var(--rl-card);
    border: 1px solid var(--rl-line);
    border-radius: var(--rl-r-xs);
    padding-bottom: 3px;
    transition: color .18s, border-color .18s;
}

.rl-ym-arrow:hover {
    color: var(--rl-red);
    border-color: var(--rl-red-b);
    background: var(--rl-red-l);
}

.rl-ym-sel {
    font: inherit;
    font-size: 14px;
    line-height: 32px;
    height: 34px;
    flex: 0 0 auto;
    min-width: 96px;
    padding: 0 26px 0 12px;
    color: var(--rl-text);
    background: var(--rl-card);
    border: 1px solid var(--rl-line);
    border-radius: var(--rl-r-xs);
    cursor: pointer;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    text-overflow: ellipsis;
}

.rl-ym-selwrap { position: relative; display: inline-flex; }

.rl-ym-selwrap::after {
    content: "";
    position: absolute;
    right: 11px;
    top: 50%;
    width: 7px;
    height: 7px;
    margin-top: -5px;
    border-right: 1.6px solid var(--rl-red);
    border-bottom: 1.6px solid var(--rl-red);
    transform: rotate(45deg);
    pointer-events: none;
}

.rl-ym-sel:hover { border-color: var(--rl-red-b); color: var(--rl-red); }
.rl-ym-sel:focus { border-color: var(--rl-red); box-shadow: 0 0 0 2px var(--rl-red-b); }
.rl-ym-sel-m { min-width: 88px; }

.rl-ym-today {
    display: inline-flex;
    align-items: center;
    height: 34px;
    padding: 0 14px;
    font-size: 13px;
    color: var(--rl-red);
    font-weight: 600;
    text-decoration: none;
    background: var(--rl-red-l);
    border: 1px solid var(--rl-red-b);
    border-radius: var(--rl-r-xs);
    white-space: nowrap;
    transition: background .18s, border-color .18s;
}

.rl-ym-today:hover { background: var(--rl-red); border-color: var(--rl-red); color: #fff; }

.rl-ym-today.is-cur {
    color: var(--rl-text-3);
    background: var(--rl-card);
    border-color: var(--rl-line);
    font-weight: 400;
}

.rl-ym-today.is-cur:hover { color: var(--rl-red); background: var(--rl-red-l); border-color: var(--rl-red-b); }

@media only screen and (max-width: 640px) {
    .calendar-navigation { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
    .rl-ym { margin-left: 0; display: flex; width: 100%; }
    .rl-ym-selwrap { flex: 1 1 auto; min-width: 0; }
    .rl-ym-sel { width: 100%; min-width: 0; }
    .rl-ym-today { flex: 0 0 auto; }
    .rl-ym-arrow { flex: 0 0 34px; }
}

#weekdays {
    gap: 6px;
    margin: 6px 0 10px;
    padding: 10px 12px 0;
    border-top: 1px solid var(--rl-line);
    font-size: 13px;
    color: var(--rl-text-3);
}

#calendar {
    gap: 6px;
    padding: 0 12px 14px;
}

#calendar div {
    border: 1px solid var(--rl-line);
    border-radius: var(--rl-r-xs);
    margin: 0;
    padding: 6px 4px 5px;
    transition: border-color .16s, box-shadow .16s, transform .16s;
    background: #fff;
}

#calendar div a { font-size: 21px; }

#calendar div:hover {
    border-color: var(--rl-red);
    box-shadow: var(--rl-sh-hover);
    transform: translateY(-1px);
}

#calendar div.jiarixiu { background: #eef7ec; border-color: #d6ead2; }
#calendar div.jiariban { background: #fdf6ee; border-color: #f3e2cc; }
#calendar div.dtdaycss {
    background: var(--rl-red);
    border-color: var(--rl-red);
    box-shadow: 0 8px 18px -10px rgba(var(--rl-red-rgb), .9);
}
#calendar div.fdy { border-color: transparent; background: transparent; }
#calendar div.nold { background: transparent; }

.alm {
    float: none;
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    border: 0;
    background: #fff;
    border-radius: var(--rl-r);
    box-shadow: var(--rl-sh);
    padding: 20px 18px;
}

.alm-date-xq h1 { font-size: 17px; line-height: 1.5; }

.alm-date-ago {
    display: inline-block;
    margin-top: 6px;
    padding: 3px 12px;
    border-radius: 999px;
    background: var(--rl-red-l);
    color: var(--rl-red);
    font-size: 13px;
    font-weight: 600;
}

.alm-date-day { padding: 6px 0 2px; }

.alm-date-day .dayzj {
    font-size: 74px;
    line-height: 1;
    color: var(--rl-red);
    font-weight: 800;
    text-shadow: 0 8px 20px rgba(var(--rl-red-rgb), .22);
}

.alm-date-day .column { line-height: 1; height: 96px; }

.alm-date-day .dayzb img,
.alm-date-day .dayyb img { width: 22px; height: auto; opacity: .85; }

.alm-date-nl-jq h2 { font-size: 15px; line-height: 1.7; }
.alm-date-nl-jq { margin-top: 4px; }

.alm-date-nl-nyr {
    border: 1px solid var(--rl-red-b);
    background: var(--rl-red-l);
    border-radius: var(--rl-r-xs);
    padding: 8px 10px;
    margin: 14px 0 0;
}

.alm-date-nl-nyr h2 { font-size: 14px; color: var(--rl-red); letter-spacing: .04em; }
.alm-date-nl-nyr p { margin: 0; }

.yiji { margin: 14px 0 0; padding: 0; }

.yiji .qujimore {
    display: block;
    padding: 10px 12px;
    border-radius: var(--rl-r-xs);
    margin-bottom: 8px;
    background: #fafafa;
}

.yiji .qujimore:last-child { margin-bottom: 0; }

.yiji .qujimore.yi { background: #f2f9f0; }
.yiji .qujimore.ji { background: var(--rl-red-l); }

.yiji .qujimore .yjspan {
    display: block;
    float: left;
    width: 30px;
    height: 30px;
    line-height: 30px;
    margin: 1px 10px 0 0;
    padding: 0;
    border-radius: 8px;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
}

.yiji .qujimore h2 {
    display: block;
    overflow: hidden;
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.75;
}

.yiji .qujimore a {
    display: inline-block;
    margin: 0 10px 0 0;
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

.yiji .qujimore a:last-child { margin-right: 0; }
.yiji .qujimore a:hover span { color: var(--rl-red); }
.yiji .qujimore a > span { display: inline-block; margin: 0; font-size: 14px; }

.alm-date-jlr1 {
    margin: 12px 0 0;
    padding: 9px 12px;
    background: #fafafa;
    border-radius: var(--rl-r-xs);
    font-size: 13px;
    color: var(--rl-text-2);
}

.rili-panels {
    margin: 20px auto 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--rl-gap);
    align-items: stretch;
}

.rili-panels > .rili-card:nth-child(3) { grid-column: 1 / -1; }

.rili-panels .rili-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: var(--rl-r);
    box-shadow: var(--rl-sh);
    padding: 18px var(--rl-pad) 20px;
}

.rili-card-hd {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    font-size: 15px;
    font-weight: 700;
    color: var(--rl-text);
    padding-bottom: 12px;
    border-bottom: 1px solid var(--rl-line);
}

.rili-card-hd::before {
    content: "";
    width: 4px;
    height: 15px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--rl-red), #ee8b86);
    flex: none;
}

.rili-grid { display: grid; gap: 10px; }
.rili-grid-2 { grid-template-columns: repeat(2, 1fr); }
.rili-grid-3 { grid-template-columns: repeat(3, 1fr); }

.rili-card > .rili-grid { flex: 1 1 auto; align-content: space-between; }

.rili-grid-2 > .rili-cell:last-child:nth-child(odd) { grid-column: 1 / -1; }

.rili-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 6px;
    background: #fafbfc;
    border: 1px solid var(--rl-line);
    border-radius: var(--rl-r-xs);
    text-align: center;
    transition: border-color .18s, background .18s;
    min-height: 62px;
}

.rili-cell:hover { border-color: var(--rl-red-b); background: var(--rl-red-l); }

.rili-k { font-size: 12px; color: var(--rl-text-3); line-height: 1.4; }

.rili-v {
    font-size: 15px;
    font-weight: 600;
    color: var(--rl-text);
    line-height: 1.4;
    word-break: break-all;
}

.rili-defs {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-content: space-between;
    flex: 1 1 auto;
}

.rili-panels > .rili-card:nth-child(3) .rili-defs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 24px;
}

.rili-def {
    display: flex;
    gap: 10px;
    padding: 9px 2px;
    border-bottom: 1px dashed var(--rl-line);
    font-size: 14px;
    line-height: 1.6;
}

.rili-def .rili-k {
    flex: none;
    width: 76px;
    text-align: left;
    color: var(--rl-red);
    font-weight: 600;
    font-size: 13px;
    padding-top: 1px;
}

.rili-def .rili-v { flex: 1; text-align: left; font-weight: 400; font-size: 14px; color: var(--rl-text); }

.time-scyj {
    margin: 20px auto 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--rl-gap);
    justify-content: initial;
}

.time-scyj { grid-auto-rows: 1fr; }

.time-scyj:has(> .time-scyj-box > .sc-ji) { grid-auto-rows: 1fr; }

.time-scyj > .time-scyj-box {
    width: auto;
    margin: 0;
    position: relative;
    background: #fff;
    border-radius: var(--rl-r);
    box-shadow: var(--rl-sh);
    overflow: hidden;
    transition: box-shadow .2s, transform .2s;
}

.time-scyj-box:hover { box-shadow: var(--rl-sh-hover); transform: translateY(-1px); }

.time-scyj-box > a { display: block; color: inherit; text-decoration: none; }

.time-scyj-title {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 12px 8px 11px;
    background: linear-gradient(180deg, #fdf1ef, #fdf8f7);
    color: var(--rl-red-d);
    font-weight: 700;
    font-size: 17px;
    letter-spacing: .28em;
    text-indent: .28em;
    border-bottom: 1px solid var(--rl-red-b);
}

.time-scyj-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -1px;
    transform: translateX(-50%);
    width: 42px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, rgba(var(--rl-red-rgb), 0), var(--rl-red), rgba(var(--rl-red-rgb), 0));
}

.time-scyj-box:has(> .sc-ji) .time-scyj-title {
    padding: 11px 8px 10px;
    background: #fff;
    letter-spacing: .2em;
    text-indent: .2em;
    border-bottom: 2px solid var(--rl-red-b);
}

.time-scyj-box:has(> .sc-ji) .time-scyj-title::after { display: none; }

.time-scyj-box > .sc-ji,
.time-scyj-box > .sc-xiong {
    top: 10px;
    left: auto;
    right: 12px;
    width: 22px;
    height: 22px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    font-family: inherit;
    font-weight: 700;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0;
    border-radius: 6px;
    background: var(--rl-red-l);
    color: var(--rl-red-d);
    box-shadow: inset 0 0 0 1px var(--rl-red-b);
}

.time-scyj-lr { position: relative; z-index: 1; line-height: 1.6; }

.main-scyj-box1 {
    border: 0;
    box-shadow: none;
    z-index: 1;
    position: relative;
}

.time-scyj-box:has(> .sc-ji) { display: flex; flex-direction: column; }

.time-scyj-box:not(:has(> .sc-ji)) { display: flex; flex-direction: column; }

.time-scyj-box:not(:has(> .sc-ji)) > a {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}

.time-scyj-box:not(:has(> .sc-ji)) > a > .time-scyj-lr { flex: 1 1 auto; }

.time-scyj-box:not(:has(> .sc-ji)) .main-scyj-box1 { height: 100%; }

.time-scyj-box:has(> .sc-ji) > .time-scyj-lr {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.time-scyj-box:has(> .sc-ji) > .time-scyj-lr > .main-scyj-box1 {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.time-scyj-box:has(> .sc-ji) .main-scyj-box1 > .scyj-xm.yj { flex: 1 1 auto; }

.scyj-xm {
    border-bottom: 1px solid var(--rl-line);
    padding: 8px var(--rl-pad);
    font-size: 14px;
    color: var(--rl-text);
}

.scyj-xm:last-child { border-bottom: 0; }

.scyj-xm.scpt span { width: 50%; display: inline-block; font-size: 13px; color: var(--rl-text-2); }
.scyj-xm.scpt span:only-child { width: 100%; }

.scyj-xm.scts span { margin: 0 4px 0 0; }
.scyj-xm.scts { color: var(--rl-text); }

.scyj-xm.yj {
    padding: 8px var(--rl-pad);
    display: block;
    word-break: keep-all;
    overflow-wrap: normal;
}

.scyj-xm.yj .yjspan {
    display: inline-block;
    float: none;
    vertical-align: -5px;
    margin: 0 6px 0 0 !important;
    width: 26px;
    height: 26px;
    line-height: 26px;
    background-size: 100% 100%;
    text-indent: 0;
}
.scyj-xm.yj .yjspan.yi,
.scyj-xm.yj .yjspan.ji { width: 26px; height: 26px; }

.scyj-xm .yjspan { border-radius: 50%; font-size: 12px; }
.scyj-xm.yj > span:not(.yjspan) { font-size: 14px; }

.time-scyj-box:has(> .sc-ji) .scyj-xm { padding: 9px var(--rl-pad); font-size: 13.5px; }

.time-scyj-box:has(> .sc-ji) .main-scyj-box1 > .scyj-xm.scpt:first-child {
    background: #fdf8f7;
    padding-top: 10px;
    padding-bottom: 10px;
}

.time-scyj-box:has(> .sc-ji) .main-scyj-box1 > .scyj-xm.scpt:first-child span {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--rl-red-d);
}

.time-scyj-box:has(> .sc-ji) .main-scyj-box1 > .scyj-xm.scpt:first-child span:last-child {
    text-align: right;
    font-weight: 400;
    color: var(--rl-text-2);
}

.time-scyj-box:has(> .sc-ji) .main-scyj-box1 > .scyj-xm.scpt + .scyj-xm.scpt span {
    font-size: 13.5px;
    font-weight: 400;
    color: var(--rl-text);
}

.time-scyj-box:has(> .sc-ji) .main-scyj-box1 > .scyj-xm.scts:not(.yj) {
    background: #fff;
    color: var(--rl-text);
}

.time-scyj-box:has(> .sc-ji) .main-scyj-box1 > .scyj-xm.scts:not(.yj) span {
    display: block;
    width: 100%;
    margin: 0;
    font-size: 13px;
    line-height: 1.75;
    word-spacing: .18em;
}

.time-scyj-box:has(> .sc-ji) .scyj-xm.yj {
    padding: 9px var(--rl-pad);
    display: block;
    background: #fff;
}

.time-scyj-box:has(> .sc-ji) .scyj-xm.yj:last-child { border-bottom: 0; }

.time-scyj-box:has(> .sc-ji) .scyj-xm.yj .yjspan { box-shadow: none; }

.time-scyj-box:has(> .sc-ji) .scyj-xm.yj > span:not(.yjspan) {
    display: inline;
    font-size: 13px;
    line-height: 1.9;
    color: var(--rl-text);
}

.time-scyj-box:has(.main-scyj-box1.sc-now) {
    background: var(--rl-red-l);
    box-shadow: 0 0 0 2px var(--rl-red), 0 8px 22px -12px rgba(var(--rl-red-rgb), .5);
}

.time-scyj-box:has(.main-scyj-box1.sc-now) .time-scyj-title {
    background: var(--rl-red-b);
    color: var(--rl-red-d);
    border-bottom-color: var(--rl-red);
}

.time-scyj-box:has(.main-scyj-box1.sc-now) .sc-ji,
.time-scyj-box:has(.main-scyj-box1.sc-now) .sc-xiong {
    background: #fff;
    box-shadow: inset 0 0 0 1px var(--rl-red-b);
}

.time-scyj-box .main-scyj-box1.sc-now {
    border: 0 !important;
    background-color: transparent;
}

.time-scyj-box:has(> .sc-ji):has(.main-scyj-box1.sc-now) .main-scyj-box1 > .scyj-xm {
    background: transparent;
}

.time-scyj > .sc-hour {
    background: var(--rl-card);
    border: 1px solid var(--rl-line);
    border-radius: var(--rl-r);
    box-shadow: var(--rl-sh);
    padding: 0;
    overflow: hidden;
    transition: box-shadow .2s, transform .2s, border-color .2s;
}

.time-scyj > .sc-hour:hover {
    transform: translateY(-1px);
    box-shadow: var(--rl-sh-hover);
}

.time-scyj > .sc-hour > .main-scyj-box1 {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 14px 16px 12px;
    background: transparent;
}

.sc-hour-hd {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    padding-bottom: 11px;
    border-bottom: 1px solid var(--rl-line);
}

.sc-hour-hd-l { display: flex; align-items: baseline; gap: 8px; flex: none; }
.sc-hour-hd-l b { font-size: 19px; font-weight: 700; color: var(--rl-text); letter-spacing: .04em; }
.sc-hour-hd-l span { font-size: 13px; color: var(--rl-text-2); font-variant-numeric: tabular-nums; }

.sc-hour-hd-m {
    flex: 1 1 auto;
    text-align: center;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--rl-red-d);
    white-space: nowrap;
}

.sc-hour-luck { font-weight: 700; }
.sc-hour-luck.is-dark { color: var(--rl-text-2); }
.sc-hour-luck.is-ecliptic { color: var(--rl-green); }

.sc-hour-hd-r { flex: none; font-size: 13px; color: var(--rl-text-3); }

.sc-hour-pillars {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding: 11px 0;
}

.sc-hour-pillars > span {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 7px 4px;
    font-size: 12px;
    color: var(--rl-text-3);
    background: var(--rl-red-l);
    border-radius: var(--rl-r-xs);
}

.sc-hour-pillars > span > b {
    font-size: 16px;
    font-weight: 700;
    color: var(--rl-text);
    letter-spacing: .06em;
}

.sc-hour-dl {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--rl-line);
}

.sc-hour-dl > div {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 7px 0;
    border-bottom: 1px dashed var(--rl-line);
}

.sc-hour-dl > div:last-child { border-bottom: 0; }

.sc-hour-dl dt {
    flex: none;
    width: 62px;
    font-size: 12.5px;
    line-height: 1.7;
    color: var(--rl-text-3);
}

.sc-hour-dl dd {
    margin: 0;
    flex: 1 1 auto;
    min-width: 0;
    font-size: 13px;
    line-height: 1.7;
    color: var(--rl-text);

    word-break: keep-all;
    overflow-wrap: anywhere;
}

.sc-hour-yj {
    margin-top: auto;
    padding-top: 11px;
    border-top: 1px solid var(--rl-line);
}

.sc-hour-yj p {
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    line-height: 1.85;
}

.sc-hour-yj p + p { margin-top: 3px; }

.sc-hour-yj b {
    flex: none;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.85;
}

.sc-hour-yj p.is-good b { color: var(--rl-green); }
.sc-hour-yj p.is-bad b { color: var(--rl-red); }
.sc-hour-yj p span { color: var(--rl-text); word-break: keep-all; }
.sc-hour-yj p span > span + span::before { content: '、'; color: var(--rl-text-3); }

.time-scyj > .sc-hour:has(.main-scyj-box1.sc-now) {
    border-color: var(--rl-red);
    background: var(--rl-red-l);
    box-shadow: 0 0 0 2px var(--rl-red), 0 10px 26px -14px var(--rl-primary-shadow);
}

.time-scyj > .sc-hour:has(.main-scyj-box1.sc-now) .sc-hour-pillars > span {
    background: var(--rl-card);
    color: var(--rl-red-d);
}

.time-scyj > .sc-hour:has(.main-scyj-box1.sc-now) .sc-hour-hd-l b,
.time-scyj > .sc-hour:has(.main-scyj-box1.sc-now) .sc-hour-hd-m { color: var(--rl-red-d); }

.time-scyj > .sc-hour:has(.main-scyj-box1.sc-now) .sc-hour-dl > div,
.time-scyj > .sc-hour:has(.main-scyj-box1.sc-now) .sc-hour-dl { border-color: var(--rl-red-b); }
.time-scyj > .sc-hour:has(.main-scyj-box1.sc-now) .sc-hour-hd,
.time-scyj > .sc-hour:has(.main-scyj-box1.sc-now) .sc-hour-yj { border-color: var(--rl-red-b); }

.hd-scyj { margin: 20px auto 0; }

.hd-scyj-box {
    width: 100%;
    margin-top: 0;
    background: #fff;
    border-radius: var(--rl-r);
    box-shadow: var(--rl-sh);
    padding: 18px var(--rl-pad) 20px;
    overflow: hidden;
}

.hd-scyj-box + .hd-scyj-box { margin-top: var(--rl-gap); }

.hd-scyj-title {
    text-align: left;
    padding: 0 0 12px;
    background: transparent;
    color: var(--rl-text);
    font-weight: 700;
    font-size: 15px;
    border-bottom: 1px solid var(--rl-line);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hd-scyj-title::before {
    content: "";
    width: 4px;
    height: 15px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--rl-red), #ee8b86);
    flex: none;
}

.hd-scyj-lr { line-height: 1.5; }

.hd-scyj-lr .taglist {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
    gap: 10px;
    border: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.tag {
    background: #fafbfc;
    border: 1px solid var(--rl-line);
    border-radius: var(--rl-r-xs);
    padding: 0;
    transition: all .18s;
}

.tag:hover { border-color: var(--rl-red); background: var(--rl-red-l); transform: translateY(-1px); }

.tag a { display: block; padding: 9px 6px; text-decoration: none; }

.tag span { font-size: 14px; color: var(--rl-text); }
.tag a:hover span { color: var(--rl-red); }

.hd-box1 { border: 0; }

.hd-navigation-large,
.calendar-navigation-large {
    background: #fff;
    border-radius: var(--rl-r) var(--rl-r) 0 0;
    box-shadow: var(--rl-sh);
}

.hd-navigation-large {
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
}

.hd-navigation {
    float: none;
    width: auto;
    min-width: 118px;
    height: 34px;
    background: var(--rl-red-l);
    border: 1px solid var(--rl-red-b);
    border-radius: var(--rl-r-xs);
    line-height: 32px;
    color: var(--rl-red);
    font-weight: 600;
}

.hd-navigation-right {
    float: none;
    width: auto;
    height: 34px;
    background: var(--rl-red-l);
    border: 1px solid var(--rl-red-b);
    border-radius: var(--rl-r-xs);
    line-height: 32px;
    padding: 0 14px;
}

.hd-navigation-right a { color: var(--rl-red); font-weight: 600; }

.hd-show-tab {
    margin: 18px auto 0;
    height: auto;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.hd-show-tab .tag-year {
    width: auto;
    min-width: 96px;
    border: 1px solid var(--rl-line);
    border-radius: 999px;
    padding: 0;
    font-size: 14px;
    background: #fff;
    overflow: hidden;
    transition: all .18s;
}

.hd-show-tab .tag-year a { display: block; padding: 8px 18px; text-decoration: none; color: var(--rl-text-2); }

.hd-show-tab .tag-year:hover { border-color: var(--rl-red); }
.hd-show-tab .tag-year:hover a { color: var(--rl-red); }

.hd-show-tab .tag-year-now {
    background: var(--rl-red);
    border-color: var(--rl-red);
    box-shadow: 0 8px 18px -10px rgba(var(--rl-red-rgb), .9);
}

.hd-show-tab .tag-year-now a,
.hd-show-tab .tag-year-now a:hover { color: #fff; font-weight: 600; }

.hd-show-box { width: 100%; margin-top: 0; }

.hd-show-box,
.hd-show-lr {
    background: #fff;
    border: 0;
    border-radius: var(--rl-r);
    box-shadow: var(--rl-sh);
}

.hd-show-lr { padding: var(--rl-pad); line-height: 1.85; }

.hd-show-title {
    text-align: left;
    padding: 16px var(--rl-pad);
    background: #fff;
    color: var(--rl-red);
    font-weight: 700;
    font-size: 17px;
    border-bottom: 1px solid var(--rl-line);
    border-radius: var(--rl-r) var(--rl-r) 0 0;
}

.hd-show-title + .hd-show-lr { border-radius: 0 0 var(--rl-r) var(--rl-r); box-shadow: var(--rl-sh); }

.show-content { color: var(--rl-text); font-size: 15px; }
.show-content h3 { font-size: 17px; margin: 4px 0 10px; color: var(--rl-red); }
.show-content h4 { font-size: 15px; margin: 16px 0 8px; color: var(--rl-text); }
.show-content p { margin: 8px 0; }
.show-content ul { margin: 8px 0 8px 20px; }
.show-content li { margin: 4px 0; }

.show-read-more-btn {
    border: 1px solid var(--rl-red);
    background: #fff;
    color: var(--rl-red);
    border-radius: 999px;
    padding: 7px 26px;
    font-size: 14px;
    font-weight: 600;
    transition: all .18s;
}

.show-read-more-btn:hover { background: var(--rl-red); color: #fff; }

.hd-show-mian .head { font-size: 15px; color: var(--rl-text-2); }
.hd-show-mian .head .emphasize { font-size: 20px; color: var(--rl-red); font-weight: 700; }

.hd-detail { gap: var(--rl-gap); }

.hd-detail .jiri-box { width: calc(50% - var(--rl-gap) / 2); margin-top: 0; }

.hd-detail .jiri-box:before,
.hd-detail .jiri-box:after { display: none; }

.hd-detail .jiri-box > a > .jiri {
    background: #fff;
    border: 1px solid var(--rl-line);
    border-radius: var(--rl-r);
    box-shadow: var(--rl-sh);
    padding: 14px 12px;
    transition: all .18s;
    display: flex;
    align-items: center;
}

.hd-detail .jiri-box:hover > a > .jiri {
    border-color: var(--rl-red-b);
    box-shadow: var(--rl-sh-hover);
    transform: translateY(-1px);
}

.hd-detail .jiri .left {
    width: 108px;
    flex: none;
    border-right: 1px dashed var(--rl-line);
    padding-right: 10px;
}

.hd-detail .jiri .left .date { width: auto; font-size: 20px; color: var(--rl-red); }
.hd-detail .jiri .left .year,
.hd-detail .jiri .left .week { font-size: 13px; color: var(--rl-text-3); }

.hd-detail .jiri .right { margin-left: 12px; font-size: 13px; }
.hd-detail .jiri .right .right-firstline { font-size: 14px; font-weight: 600; }
.hd-detail .jiri .right .right-firstline .afterday { float: none; position: static; right: auto; margin-left: 8px; color: var(--rl-red); font-weight: 600; }
.hd-detail .jiri .right .fairy { color: var(--rl-text-3); font-size: 12.5px; }
.hd-detail .jiri .enter { display: none; }

.hl-page-h {
    margin: 0 0 16px;
    font-size: 22px;
    font-weight: 700;
    color: var(--rl-text);
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hl-page-h::before {
    content: "";
    width: 5px;
    height: 22px;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--rl-red), #ee8b86);
    flex: none;
}

.hl-intro,
.hlmc-intro {
    background: linear-gradient(135deg, #fff6f5, #fff);
    border: 1px solid var(--rl-red-b);
    border-radius: var(--rl-r);
    padding: var(--rl-pad);
    margin: 0 0 20px;
    line-height: 1.95;
    color: var(--rl-text-2);
    font-size: 15px;
}

.hl-intro p,
.hlmc-intro p { margin: 0 0 8px; }
.hl-intro p:last-child,
.hlmc-intro p:last-child { margin-bottom: 0; }

.hl-panel {
    background: #fff;
    border-radius: var(--rl-r);
    box-shadow: var(--rl-sh);
    padding: var(--rl-pad) var(--rl-pad) calc(var(--rl-pad) - 4px);
    margin-bottom: var(--rl-gap);
}

.hl-terms-panel > h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    color: var(--rl-text);
    margin: 4px 0 16px;
    padding: 0 0 12px;
    border-bottom: 1px solid var(--rl-line);
}

.hl-terms-panel > h3::before {
    content: "";
    width: 4px;
    height: 17px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--rl-red), #ee8b86);
    flex: none;
}

.hl-terms-panel h4 {
    font-size: 15px;
    color: var(--rl-red);
    margin: 20px 0 6px;
    padding-left: 10px;
    border-left: 3px solid var(--rl-red-b);
    line-height: 1.6;
}

.hl-terms-panel > h4:first-of-type { margin-top: 4px; }

.hl-terms-panel p {
    margin: 5px 0;
    line-height: 1.95;
    color: var(--rl-text-2);
    font-size: 14.5px;
}

.hlmc-group { padding-bottom: var(--rl-pad); }

.hlmc-group-h {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 700;
    color: var(--rl-text);
    margin: 0 0 4px;
    padding: 0 0 12px;
    border-bottom: 1px solid var(--rl-line);
}

.hlmc-group-h::before {
    content: "";
    width: 4px;
    height: 17px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--rl-red), #ee8b86);
    flex: none;
}

.hlmc-count {
    font-size: 12px;
    font-weight: 600;
    color: var(--rl-red);
    background: var(--rl-red-l);
    border: 1px solid var(--rl-red-b);
    border-radius: 999px;
    padding: 1px 10px;
    line-height: 1.7;
}

.hlmc-terms {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 32px;
}

.hlmc-term {
    display: flex;
    gap: 10px;
    align-items: baseline;
    padding: 10px 2px;
    border-bottom: 1px dashed var(--rl-line);
    transition: background .18s;
}

.hlmc-term:hover { background: var(--rl-red-l); }

.hlmc-term-t {
    flex: none;
    width: 86px;
    text-align: right;
    font-size: 15px;
    font-weight: 700;
    color: var(--rl-red);
    line-height: 1.8;
}

.hlmc-term-t::after { content: "："; }

.hlmc-term-d {
    flex: 1;
    min-width: 0;
    font-size: 14.5px;
    line-height: 1.8;
    color: var(--rl-text-2);
    margin: 0;
}

.rl-article {
    background: #fff;
    border-radius: var(--rl-r);
    box-shadow: var(--rl-sh);
    padding: clamp(18px, 3vw, 40px);
    line-height: 2;
    color: var(--rl-text-2);
    font-size: 15.5px;
}

.rl-article > p:first-of-type {
    font-size: 16px;
    color: var(--rl-text);
    background: #fafbfc;
    border-left: 3px solid var(--rl-red);
    border-radius: 0 var(--rl-r-xs) var(--rl-r-xs) 0;
    padding: 14px 18px;
    margin: 0 0 22px;
    line-height: 1.9;
}

.rl-article-h {
    margin: 0 0 22px;
    padding: 0 0 16px;
    font-size: 24px;
    font-weight: 700;
    color: var(--rl-text);
    line-height: 1.4;
    border-bottom: 1px solid var(--rl-line);
    display: flex;
    align-items: center;
    gap: 12px;
}

.rl-article-h::before {
    content: "";
    width: 5px;
    height: 24px;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--rl-red), #ee8b86);
    flex: none;
}

.rl-article h3 {
    font-size: 19px;
    color: var(--rl-text);
    margin: 34px 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--rl-line);
    display: flex;
    align-items: center;
    gap: 10px;
}

.rl-article h3::before {
    content: "";
    width: 4px;
    height: 18px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--rl-red), #ee8b86);
    flex: none;
}

.rl-article h3:first-child { margin-top: 0; }
.rl-article p { margin: 12px 0; }
.rl-article strong { color: var(--rl-red); font-weight: 700; }

.zh-tool {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--rl-gap);
    margin-bottom: var(--rl-gap);
}

.zh-card {
    background: #fff;
    border-radius: var(--rl-r);
    box-shadow: var(--rl-sh);
    padding: var(--rl-pad);
    display: flex;
    flex-direction: column;
}

.zh-card-h {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    color: var(--rl-text);
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--rl-line);
}

.zh-card-h::before {
    content: "";
    width: 4px;
    height: 15px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--rl-red), #ee8b86);
    flex: none;
}

.zh-form { display: flex; flex-direction: column; gap: 12px; }

.zh-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--rl-text-2);
    cursor: pointer;
    user-select: none;
}

.zh-check input { width: 16px; height: 16px; accent-color: var(--rl-red); cursor: pointer; }
.zh-check:hover span { color: var(--rl-red); }

.zh-field { display: flex; align-items: center; gap: 10px; }

.zh-field > label { flex: none; width: 52px; color: var(--rl-text-2); font-size: 14px; }

.zh-selects { flex: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }

.zh-selects select {
    width: 100%;
    height: 40px;
    padding: 0 8px;
    border: 1px solid var(--rl-line);
    border-radius: var(--rl-r-xs);
    background: #fafbfc;
    color: var(--rl-text);
    font-size: 14px;
    outline: none;
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #999 50%), linear-gradient(135deg, #999 50%, transparent 50%);
    background-position: calc(100% - 16px) 17px, calc(100% - 11px) 17px;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    transition: border-color .18s;
}

.zh-selects select:focus { border-color: var(--rl-red); background-color: #fff; }

.zh-btn {
    height: 42px;
    border: 0;
    border-radius: var(--rl-r-xs);
    background: var(--rl-red);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background .18s, box-shadow .18s;
    box-shadow: 0 10px 20px -12px rgba(var(--rl-red-rgb), .95);
}

.zh-btn:hover { background: var(--rl-red-d); }

.zh-result {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: var(--rl-r-s);
    background: var(--rl-red-l);
    border: 1px solid var(--rl-red-b);
    line-height: 1.9;
    font-size: 14.5px;
    color: var(--rl-text);
    min-height: 54px;
    display: none;
}

.zh-result:not(:empty) { display: block; }

.zh-result.zh-result-err {
    background: #fdf3f2;
    border-color: #f0c9c6;
    display: block;
}

.zh-result .zh-big { font-size: 20px; font-weight: 700; color: var(--rl-red); }
.zh-result .zh-sub { color: var(--rl-text-2); font-size: 13.5px; }
.zh-result .zh-err { color: #c0392b; }

.zh-result dl { margin: 0; }
.zh-result dt { float: left; width: 84px; color: var(--rl-text-3); font-size: 13.5px; clear: left; }
.zh-result dd { margin: 0 0 4px 84px; }

.zh-tips {
    background: #fff;
    border-radius: var(--rl-r);
    box-shadow: var(--rl-sh);
    padding: var(--rl-pad);
    line-height: 1.95;
    color: var(--rl-text-2);
    font-size: 14.5px;
}

.zh-tips h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: var(--rl-text);
    margin: 0 0 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--rl-line);
}

.zh-tips h3::before {
    content: "";
    width: 4px;
    height: 15px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--rl-red), #ee8b86);
    flex: none;
}

.zh-tips ul { margin: 0; padding-left: 20px; }
.zh-tips li { margin: 5px 0; }

@media only screen and (max-width: 1400px) {
    .max-width, .max-width.max-width { max-width: 1200px; }
}

@media only screen and (max-width: 1200px) {
    .max-width, .max-width.max-width { max-width: 100%; }
    .rili-panels > .rili-card:nth-child(3) .rili-defs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 20px;
    }
}

@media only screen and (max-width: 1024px) {
    .dh { justify-content: flex-start; }
}

@media only screen and (min-width: 901px) and (max-width: 1200px) {
    .dh {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .dh::-webkit-scrollbar { display: none; }
    .dh a { flex: 0 0 auto; }
}

@media only screen and (max-width: 900px) {

    .main { margin: 12px auto 0; }
    .main:has(> .main-box) { flex-direction: column; }
    .main-box { flex: 0 0 auto; width: 100%; padding-right: 0; }
    .alm { flex: 0 0 auto; width: 100%; margin-top: 12px; padding: 16px 14px; }

    .main-box1 > #calendar { grid-auto-rows: auto; }

    .rili-panels { grid-template-columns: 1fr; gap: 12px; margin-top: 12px; }
    .rili-panels > .rili-card:nth-child(3) { grid-column: auto; }
    .rili-panels > .rili-card:nth-child(3) .rili-defs { grid-template-columns: minmax(0, 1fr); }
    .rili-def:last-child { border-bottom: 0; }

    .rili-panels .rili-card,
    .hd-scyj-box,
    .hl-panel,
    .rl-article,
    .zh-card,
    .zh-tips,
    .alm,
    .time-scyj-box { border-radius: 12px; }

    .time-scyj { grid-template-columns: 1fr; gap: 12px; margin: 12px auto 0; }
    .time-scyj-title { font-size: 15px; }

    .time-scyj-box > .sc-ji,
    .time-scyj-box > .sc-xiong { top: 9px; right: 11px; width: 22px; height: 22px; font-size: 11px; }

    .time-scyj { grid-auto-rows: auto; }

    .time-scyj-box:not(:has(> .sc-ji)) > a,
    .time-scyj-box:not(:has(> .sc-ji)) > a > .time-scyj-lr,
    .time-scyj-box:not(:has(> .sc-ji)) .main-scyj-box1 { flex: 0 1 auto; height: auto; }

    .time-scyj > .sc-hour > .main-scyj-box1 { padding: 12px 13px 11px; }
    .sc-hour-hd { flex-wrap: wrap; row-gap: 4px; }
    .sc-hour-hd-l { flex: 1 1 auto; }
    .sc-hour-hd-m { order: 3; flex: 1 0 100%; text-align: left; }
    .sc-hour-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
    .sc-hour-dl dt { width: 56px; }

    .hd-scyj-lr .taglist { grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
    .tag span { font-size: 13px; }
    .tag a { padding: 8px 4px; }

    .hd-detail .jiri-box { width: 100%; }
    .hd-detail { gap: 10px; }
    .hd-show-tab { margin-top: 12px; }
    .hd-show-tab .tag-year { min-width: 84px; }
    .hd-show-tab .tag-year a { padding: 7px 14px; }

    .zh-tool { grid-template-columns: 1fr; gap: 12px; }

    .hlmc-terms { grid-template-columns: 1fr; column-gap: 0; }

    .hl-page-h { font-size: 19px; margin-bottom: 12px; }
    .rl-article-h { font-size: 20px; margin-bottom: 16px; }
}

@media only screen and (max-width: 560px) {
    .max-width, .max-width.max-width { padding-left: 10px; padding-right: 10px; }

    .header .top { padding: 10px; gap: 10px; }

    .header .top h1 {
        flex: 1 1 auto;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .header .top h1.rl-name-links {
        overflow: hidden;
    }

    .header .top > a {
        flex: 0 1 auto;
        min-width: 0;
    }

    .header .top img {
        height: 34px;
        max-width: 88px;
        width: auto;
        object-fit: contain;
        object-position: left center;
    }

    .header .top h1 { font-size: 15px; padding-left: 10px; }

    .dh {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 6px;
        padding: 8px 6px;
        font-size: 13px;
        overflow: visible;
    }

    .dh a {
        padding: 6px 2px;
        min-width: 0;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        border-radius: 8px;
    }

    #calendar div a { font-size: 17px; }
    #calendar div { padding: 5px 2px 4px; }
    #calendar div .nlday { font-size: 12px; }
    #weekdays { font-size: 12px; }

    .alm-date-day .dayzj { font-size: 60px; }
    .alm-date-day .column { height: 78px; }

    .rili-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .rili-cell { min-height: 56px; padding: 8px 4px; }
    .rili-v { font-size: 14px; }
    .rili-def { font-size: 13.5px; }
    .rili-def .rili-k { width: 68px; font-size: 12.5px; }

    .scyj-xm { padding: 7px 12px; font-size: 13.5px; }
    .scyj-xm.scpt span { width: 100%; font-size: 13px; }
    .scyj-xm.scpt span + span { color: var(--rl-text-3); }
    .scyj-xm .yjspan { width: 24px; height: 24px; line-height: 24px; }

    .time-scyj-box:has(> .sc-ji) .scyj-xm { padding: 8px 12px; }
    .time-scyj-box:has(> .sc-ji) .scyj-xm.yj { padding: 9px 12px 10px; gap: 5px; }
    .time-scyj-box:has(> .sc-ji) .main-scyj-box1 > .scyj-xm.scpt:first-child { padding-top: 10px; padding-bottom: 10px; }

    .time-scyj-box:has(> .sc-ji) .main-scyj-box1 > .scyj-xm.scpt:first-child span { width: 50%; }
    .time-scyj-box:has(> .sc-ji) .main-scyj-box1 > .scyj-xm.scts:not(.yj) span { font-size: 12.5px; word-spacing: .4em; }
    .time-scyj-box:has(> .sc-ji) .scyj-xm.yj > span:not(.yjspan) { height: 22px; line-height: 22px; padding: 0 6px; font-size: 12px; }

    .zh-field { flex-direction: column; align-items: stretch; gap: 6px; }
    .zh-field > label { width: auto; }
    .zh-selects { grid-template-columns: repeat(3, 1fr); }
    .zh-selects select { height: 38px; padding: 0 4px; font-size: 13px; background-image: none; text-align: center; }

    .rl-article { font-size: 15px; line-height: 1.95; }
    .rl-article h3 { font-size: 17px; }
    .rl-article > p:first-of-type { padding: 12px 14px; font-size: 15px; }

    .hlmc-terms { grid-template-columns: 1fr; column-gap: 0; }
    .hlmc-term { padding: 9px 2px; }
    .hlmc-term-t { width: 72px; font-size: 14px; }
    .hlmc-term-d { font-size: 13.5px; }
    .hl-panel { padding: 16px 14px; }
    .hl-terms-panel > h3,
    .hlmc-group-h { font-size: 16px; }
}

@media only screen and (max-width: 400px) {
    .rili-grid-3 { grid-template-columns: 1fr 1fr; }
    .hd-scyj-lr .taglist { grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); }
    .alm-date-day .dayzj { font-size: 52px; }
}

@media only screen and (max-width: 360px) {
    .header .top h1,
    .header .top h1.rl-name-links {
        font-size: 14px;
        padding-left: 8px;
    }

    .header .top img {
        max-width: 74px;
    }
}

.jq-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px 20px;
    padding-top: 26px;
    padding-bottom: 18px;
}

.jq-head-l { min-width: 0; }

.jq-title {
    margin: 0;
    font-size: clamp(22px, 2.6vw, 30px);
    font-weight: 700;
    line-height: 1.3;
    color: var(--rl-text);
    letter-spacing: .5px;
}

.jq-desc {
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 1.7;
    color: var(--rl-text-3);
    max-width: 640px;
}

.jq-head-r { flex: 0 0 auto; }

.jq-ym {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.rl-jq-year-sel { min-width: 104px; }

.jq-strip-wrap { padding-top: 4px; padding-bottom: 4px; }

.jq-strip {
    background: var(--rl-card);
    border-radius: var(--rl-r);
    box-shadow: var(--rl-sh);
    padding: 6px 14px;
}

.jq-strip-row {
    display: flex;
    align-items: stretch;
    gap: 12px;
    padding: 7px 0;
    min-width: 0;
}

.jq-strip-row + .jq-strip-row { border-top: 1px dashed var(--rl-line); }

.jq-strip-tag {
    flex: 0 0 52px;
    align-self: center;
    height: 26px;
    line-height: 24px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: var(--rl-red);
    border-radius: 13px;
    letter-spacing: 1px;
}

.jq-strip-tag-春 { opacity: .95; }
.jq-strip-tag-夏 { opacity: .85; }
.jq-strip-tag-秋 { opacity: .78; }
.jq-strip-tag-冬 { opacity: .7; }

.jq-strip-list {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    flex: 1 1 auto;
    min-width: 0;
}

.jq-strip-i {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    padding: 5px 4px;
    min-width: 0;
    text-decoration: none;
    color: var(--rl-text);
    background: var(--rl-red-l);
    border: 1px solid transparent;
    border-radius: var(--rl-r-xs);
    transition: border-color .18s, transform .18s;
}

.jq-strip-i b {
    font-size: 14px;
    font-weight: 600;
    color: var(--rl-red);
    line-height: 1.3;
}

.jq-strip-i span {
    font-size: 12px;
    color: var(--rl-text-3);
    line-height: 1.3;
}

.jq-strip-i:hover {
    border-color: var(--rl-red-b);
    transform: translateY(-1px);
}

.jq-strip-i.is-today {
    background: var(--rl-red);
    border-color: var(--rl-red);
}

.jq-strip-i.is-today b,
.jq-strip-i.is-today span { color: #fff; }

.jq-bar-wrap { padding-top: 26px; padding-bottom: 0; }

.jq-bar {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
    padding: 12px 4px 12px 16px;
    background: var(--rl-card);
    border-top: 1px solid var(--rl-line);
    border-bottom: 1px solid var(--rl-line);
}

.jq-bar::before {
    content: "";
    position: absolute;
    left: 0;
    top: -1px;
    bottom: -1px;
    width: 4px;
    background: linear-gradient(180deg, var(--rl-red), #ee8b86);
}

.jq-bar-t {
    margin: 0;
    font-size: clamp(18px, 2.1vw, 22px);
    font-weight: 700;
    color: var(--rl-text);
    letter-spacing: .5px;
}

.jq-bar-sub {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
    font-size: 13px;
    color: var(--rl-text-3);
}

.jq-bar-sub span {
    padding: 2px 10px;
    color: var(--rl-text-2);
    background: var(--rl-red-l);
    border-radius: 11px;
}

.jq-bar-sub a {
    padding: 3px 14px;
    color: var(--rl-red);
    background: transparent;
    border: 1px solid var(--rl-red-b);
    border-radius: 13px;
    text-decoration: none;
    transition: background .18s, color .18s, border-color .18s;
}

.jq-bar-sub a:hover {
    color: #fff;
    background: var(--rl-red);
    border-color: var(--rl-red);
}

.jq-table { padding-bottom: 10px; }

.jq-season { margin-bottom: 30px; }

.jq-season-h {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 14px;
    padding-top: 2px;
    padding-bottom: 2px;
}

.jq-season-n {
    position: relative;
    margin: 0;
    padding-left: 12px;
    font-size: 18px;
    font-weight: 700;
    color: var(--rl-text);
    letter-spacing: 1.5px;
}

.jq-season-n::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 4px;
    height: 18px;
    margin-top: -9px;
    background: var(--rl-red);
    border-radius: 2px;
}

.jq-season-s {
    font-size: 12.5px;
    color: var(--rl-text-3);
    padding: 2px 10px;
    background: var(--rl-red-l);
    border-radius: 11px;
}

.jq-season-h::after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    min-width: 20px;
    background: repeating-linear-gradient(90deg, var(--rl-line) 0 6px, transparent 6px 12px);
}

.jq-season-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.jq-card {
    display: flex;
    flex-direction: column;
    padding: 16px 14px 0;
    min-width: 0;
    text-decoration: none;
    color: inherit;
    background: var(--rl-card);
    border: 1px solid var(--rl-line);
    border-radius: var(--rl-r);
    box-shadow: var(--rl-sh);
    overflow: hidden;
    transition: transform .18s, box-shadow .18s, border-color .18s;
}

.jq-card:hover {
    transform: translateY(-2px);
    border-color: var(--rl-red-b);
    box-shadow: var(--rl-sh-hover);
}

.jq-card-h {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--rl-line);
}

.jq-card-n {
    font-size: 20px;
    font-weight: 700;
    color: var(--rl-red);
    line-height: 1.2;
}

.jq-card-d {
    font-size: 12px;
    color: var(--rl-text-3);
    line-height: 1.4;
}

.jq-card-m {
    margin: 9px 0 2px;
    font-size: 13px;
    font-weight: 600;
    color: var(--rl-green);
}

.jq-card-l {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 4px 8px;
    margin: 8px 0 0;
    font-size: 12px;
    line-height: 1.5;
}

.jq-card-l dt {
    color: var(--rl-text-3);
    white-space: nowrap;
}

.jq-card-l dd {
    margin: 0;
    min-width: 0;
    color: var(--rl-text-2);

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.jq-card-yj {
    margin: 10px 0 0;
    padding: 9px 0 0;
    border-top: 1px dashed var(--rl-line);
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
    line-height: 1.55;
}

.jq-card-yj-r {
    display: flex;
    gap: 6px;
    min-width: 0;
}

.jq-card-yj-k {
    flex: 0 0 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: var(--rl-green);
    border-radius: 3px;
    margin-top: 1px;
}

.jq-card-yj-k-j { background: var(--rl-red); }

.jq-card-yj-v {
    min-width: 0;
    color: var(--rl-text-2);

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.jq-card-go {
    margin: 12px -14px 0;
    padding: 8px;
    text-align: center;
    font-size: 12px;
    color: var(--rl-red);
    background: var(--rl-red-l);

    opacity: 1;
    transition: opacity .18s;
}

.jq-card:hover .jq-card-go {
    color: #fff;
    background: var(--rl-red);
}

@media (hover: none) {
    .jq-card-go { opacity: 1; }
}

.jq-card.is-today {
    border-color: var(--rl-red);
    box-shadow: 0 0 0 1px var(--rl-red) inset, var(--rl-sh);
}

.jq-card.is-today .jq-card-n::after {
    content: "今天";
    display: inline-block;
    margin-left: 6px;
    padding: 0 6px;
    font-size: 11px;
    font-weight: 400;
    vertical-align: 3px;
    color: #fff;
    background: var(--rl-red);
    border-radius: 9px;
}

@media only screen and (max-width: 1200px) {
    .jq-strip-list { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

@media only screen and (max-width: 900px) {

    .jq-season-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media only screen and (max-width: 640px) {
    .jq-head { padding-top: 18px; padding-bottom: 14px; }
    .jq-head-l { flex: 1 1 100%; }
    .jq-head-r { flex: 1 1 100%; }
    .jq-ym { display: flex; width: 100%; }
    .jq-ym .rl-jq-year-sel { flex: 1 1 auto; min-width: 0; }
    .jq-ym .rl-ym-selwrap { flex: 1 1 auto; min-width: 0; }
    .jq-ym .rl-ym-arrow { flex: 0 0 34px; }

    .jq-strip-row { flex-direction: column; gap: 8px; }
    .jq-strip-tag { flex: 0 0 auto; align-self: flex-start; }
    .jq-strip-list { grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }

    .jq-season-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .jq-card { padding: 13px 11px 0; }
    .jq-card-go { margin-left: -11px; margin-right: -11px; }
    .jq-bar-wrap { padding-top: 18px; }
    .jq-bar { padding: 12px 12px 12px 16px; }
    .jq-bar-sub span { padding: 2px 8px; }
}

@media only screen and (max-width: 400px) {
    .jq-strip-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .jq-card-n { font-size: 18px; }
}

.jq-season-list { align-items: stretch; }
.jq-card { height: 100%; }
.jq-card-yj { flex: 1 1 auto; }

.jq-card-l dd { white-space: normal; }

@media only screen and (max-width: 640px) {
    .jq-card-yj { min-height: 104px; }
    .jq-card-l { min-height: 96px; align-content: start; }
}

.rlb-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px 20px;
    padding-top: 26px;
    padding-bottom: 18px;
}

.rlb-head-l { flex: 1 1 420px; min-width: 0; }

.rlb-title {
    margin: 0;
    font-size: clamp(20px, 2.4vw, 26px);
    font-weight: 700;
    color: var(--rl-text);
    letter-spacing: .5px;
}

.rlb-desc {
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 1.75;
    color: var(--rl-text-3);
}

.rlb-head-r { flex: 0 0 auto; }
.rlb-head-r .rl-ym { display: flex; align-items: center; gap: 6px; }

.rlb-wrap {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
    padding-bottom: 10px;
}

.rlb-month {
    background: var(--rl-card);
    border-radius: var(--rl-r);
    box-shadow: var(--rl-sh);
    padding: 14px 16px 16px;
}

.rlb-month-t {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 0 0 12px;
    padding-left: 10px;
    position: relative;
}

.rlb-month-t::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 4px;
    height: 15px;
    margin-top: -7.5px;
    background: var(--rl-red);
    border-radius: 2px;
}

.rlb-month-t b {
    font-size: 17px;
    font-weight: 700;
    color: var(--rl-text);
    letter-spacing: .5px;
}

.rlb-month-t span { font-size: 12px; color: var(--rl-text-3); }

.rlb-grid {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.rlb-week {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 5px;
}

.rlb-week:first-child .rlb-wd {
    padding: 0 0 7px;
    font-size: 12px;
    font-weight: 400;
    color: var(--rl-text-3);
    text-align: center;
    border-bottom: 1px solid var(--rl-line);
    margin-bottom: 3px;
}

.rlb-wd-we { color: var(--rl-red); }

.rlb-day {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    min-height: 52px;
    padding: 7px 2px 6px;
    background: #fff;
    border: 1px solid var(--rl-line);
    border-radius: var(--rl-r-xs);
    text-decoration: none;
    transition: border-color .16s, box-shadow .16s, transform .16s;
}

.rlb-day:hover {
    border-color: var(--rl-red);
    box-shadow: var(--rl-sh-hover);
    transform: translateY(-1px);
    z-index: 1;
}

.rlb-d {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--rl-text);
}

.rlb-nl {
    font-size: 11px;
    line-height: 1.3;
    color: var(--rl-text-3);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.rlb-day.is-hit .rlb-nl { color: var(--rl-red); font-weight: 600; }
.rlb-day.is-hit .rlb-d { color: var(--rl-red); }

.rlb-day.is-weekend:not(.is-hit) .rlb-d { color: var(--rl-red-d); }

.rlb-day.is-other {
    background: transparent;
    border-color: transparent;
}

.rlb-day.is-other .rlb-d,
.rlb-day.is-other .rlb-nl { color: var(--rl-text-3); opacity: .45; }

.rlb-day.is-other:hover { border-color: var(--rl-line); background: #fff; }

.rlb-day.is-rest { background: #eef7ec; border-color: #d6ead2; }
.rlb-day.is-work { background: #fdf6ee; border-color: #f3e2cc; }

.rlb-day.is-today {
    background: var(--rl-red);
    border-color: var(--rl-red);
    box-shadow: 0 8px 18px -10px rgba(var(--rl-red-rgb), .9);
}

.rlb-day.is-today .rlb-d,
.rlb-day.is-today .rlb-nl { color: #fff; }

.rlb-tag {
    position: absolute;
    top: 2px;
    right: 3px;
    font-size: 10px;
    font-style: normal;
    line-height: 1.4;
    padding: 0 3px;
    border-radius: 3px;
}

.rlb-tag-rest { color: #3d8b40; background: #d6ead2; }
.rlb-tag-work { color: #b5761f; background: #f3e2cc; }

.rlb-day.is-today .rlb-tag-rest,
.rlb-day.is-today .rlb-tag-work {
    color: var(--rl-red);
    background: #fff;
}

@media only screen and (max-width: 1100px) {
    .rlb-wrap { gap: 16px; }
}

@media only screen and (max-width: 640px) {
    .rlb-head { padding-top: 18px; padding-bottom: 14px; }
    .rlb-head-l { flex: 1 1 100%; }
    .rlb-head-r { flex: 1 1 100%; }
    .rlb-head-r .rl-ym { display: flex; width: 100%; }
    .rlb-head-r .rl-jq-year-sel,
    .rlb-head-r .rl-ym-selwrap { flex: 1 1 auto; min-width: 0; }
    .rlb-head-r .rl-ym-arrow { flex: 0 0 34px; }

    .rlb-wrap { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .rlb-month { padding: 12px 8px 14px; }
    .rlb-grid, .rlb-week { gap: 3px; }
    .rlb-day { min-height: 46px; padding: 5px 1px 4px; }
    .rlb-d { font-size: 15px; }
    .rlb-nl { font-size: 10px; }
    .rlb-tag { font-size: 9px; top: 1px; right: 1px; padding: 0 2px; }
}

@media only screen and (max-width: 400px) {
    .rlb-day { min-height: 42px; }
    .rlb-d { font-size: 14px; }

    .rlb-nl { font-size: 7px; letter-spacing: -0.2px; }
}

.jj-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px 20px;
    padding-top: 26px;
    padding-bottom: 18px;
}

.jj-title {
    margin: 0;
    font-size: clamp(20px, 2.4vw, 26px);
    font-weight: 700;
    color: var(--rl-text);
    letter-spacing: .5px;
}

.jj-desc {
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 1.75;
    color: var(--rl-text-3);
}

.jj-head-r { flex: 0 0 auto; }
.jj-head-r .rl-ym { display: flex; }

.jj-top {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: stretch;
}

.jj-stats {
    flex: 1 1 460px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    min-width: 0;
}

.jj-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 8px;
    background: var(--rl-card);
    border-radius: var(--rl-r);
    box-shadow: var(--rl-sh);
}

.jj-stat b {
    font-size: clamp(22px, 2.6vw, 30px);
    font-weight: 700;
    line-height: 1.1;
    color: var(--rl-red);
}

.jj-stat span {
    margin-top: 6px;
    font-size: 12px;
    color: var(--rl-text-3);
    text-align: center;
}

.jj-next {
    flex: 1 1 300px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-width: 0;
    padding: 16px 20px;
    background: var(--rl-red-l);
    border-radius: var(--rl-r);
    box-shadow: inset 4px 0 0 var(--rl-red);
}

.jj-next-l {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 10px;
    min-width: 0;
}

.jj-next-k {
    font-size: 12px;
    color: var(--rl-text-2);
}

.jj-next-n {
    font-size: 20px;
    font-weight: 700;
    color: var(--rl-red);
}

.jj-next-d { font-size: 13px; color: var(--rl-text-2); }

.jj-next-r {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: 16px;
    border-left: 1px solid var(--rl-red-b);
}

.jj-next-r b {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--rl-red);
}

.jj-next-r span { font-size: 12px; color: var(--rl-text-2); }
.jj-next-r a  { font-size: 13px; color: var(--rl-red); }

.jj-bar {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;

    margin: 26px auto 16px;
    padding: 14px 16px 14px 20px;
    background: var(--rl-red-l);
    border-radius: var(--rl-r);
    overflow: hidden;
}

.jj-bar::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--rl-red), #ee8b86);
}

.jj-bar-t {
    margin: 0;
    font-size: clamp(18px, 2.1vw, 22px);
    font-weight: 700;
    color: var(--rl-text);
    letter-spacing: .5px;
}

.jj-bar-sub {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
    font-size: 13px;
    color: var(--rl-text-2);
}

.jj-bar-sub span {
    padding: 2px 10px;
    background: var(--rl-card);
    border-radius: 11px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}

.jj-wrap { padding-bottom: 6px; }

.jj-empty {
    padding: 40px 20px;
    text-align: center;
    font-size: 15px;
    line-height: 1.9;
    color: var(--rl-text-3);
    background: var(--rl-card);
    border-radius: var(--rl-r);
    box-shadow: var(--rl-sh);
}

.jj-table {
    background: var(--rl-card);
    border-radius: var(--rl-r);
    box-shadow: var(--rl-sh);
    overflow: hidden;
}

.jj-tr {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) 80px minmax(0, 1.1fr);
    align-items: center;
    gap: 4px 12px;

    min-height: 48px;
    padding: 13px 18px;
    border-bottom: 1px solid var(--rl-line);
}

.jj-tr:last-child { border-bottom: 0; }

.jj-th {
    padding-top: 11px;
    padding-bottom: 11px;
    background: var(--rl-red-l);
    font-size: 13px;
    font-weight: 700;
    color: var(--rl-text-2);
}

.jj-td-n {
    font-size: 15px;
    font-weight: 700;
    color: var(--rl-text);
}

.jj-td-n a { color: var(--rl-red); }
.jj-td-n a:hover { text-decoration: underline; }

.jj-td-d { font-size: 13px; color: var(--rl-text-2); }
.jj-td-d em { margin: 0 4px; font-style: normal; color: var(--rl-text-3); }

.jj-td-c { font-size: 13px; color: var(--rl-text-2); }
.jj-td-c b { font-size: 17px; color: var(--rl-red); }

.jj-td-w { display: flex; flex-wrap: wrap; gap: 6px; }

.jj-wk {
    display: inline-block;
    padding: 2px 9px;
    font-size: 12px;
    color: #b5761f;
    background: #f3e2cc;
    border-radius: 10px;
}

.jj-wk:hover { text-decoration: underline; }

.jj-none { font-size: 12px; font-style: normal; color: var(--rl-text-3); }

.jj-trad {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 22px 24px;

    align-items: stretch;
    padding-bottom: 6px;
}

.jj-mgroup {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background-color: var(--rl-card);
    border: 1px solid var(--rl-line);
    border-radius: var(--rl-r);
    box-shadow: var(--rl-sh);
    overflow: hidden;

    background-image: linear-gradient(var(--jj-bg, transparent), var(--jj-bg, transparent));
    border-color: var(--rl-line);
}

.jj-mgroup[data-m="1"]  { --jj-bg: rgba(var(--rl-red-rgb),    .035); --jj-hd: rgba(var(--rl-red-rgb),    .13); --jj-bd: rgba(var(--rl-red-rgb),    .22); }
.jj-mgroup[data-m="2"]  { --jj-bg: rgba(var(--rl-green-rgb),  .038); --jj-hd: rgba(var(--rl-green-rgb),  .18); --jj-bd: rgba(var(--rl-green-rgb),  .28); }
.jj-mgroup[data-m="3"]  { --jj-bg: rgba(var(--rl-orange-rgb), .040); --jj-hd: rgba(var(--rl-orange-rgb), .15); --jj-bd: rgba(var(--rl-orange-rgb), .26); }
.jj-mgroup[data-m="4"]  { --jj-bg: rgba(var(--rl-red-rgb),    .055); --jj-hd: rgba(var(--rl-red-rgb),    .17); --jj-bd: rgba(var(--rl-red-rgb),    .26); }
.jj-mgroup[data-m="5"]  { --jj-bg: rgba(var(--rl-green-rgb),  .058); --jj-hd: rgba(var(--rl-green-rgb),  .22); --jj-bd: rgba(var(--rl-green-rgb),  .32); }
.jj-mgroup[data-m="6"]  { --jj-bg: rgba(var(--rl-orange-rgb), .065); --jj-hd: rgba(var(--rl-orange-rgb), .18); --jj-bd: rgba(var(--rl-orange-rgb), .30); }
.jj-mgroup[data-m="7"]  { --jj-bg: rgba(var(--rl-red-rgb),    .075); --jj-hd: rgba(var(--rl-red-rgb),    .20); --jj-bd: rgba(var(--rl-red-rgb),    .30); }
.jj-mgroup[data-m="8"]  { --jj-bg: rgba(var(--rl-green-rgb),  .078); --jj-hd: rgba(var(--rl-green-rgb),  .25); --jj-bd: rgba(var(--rl-green-rgb),  .36); }
.jj-mgroup[data-m="9"]  { --jj-bg: rgba(var(--rl-orange-rgb), .085); --jj-hd: rgba(var(--rl-orange-rgb), .22); --jj-bd: rgba(var(--rl-orange-rgb), .34); }
.jj-mgroup[data-m="10"] { --jj-bg: rgba(var(--rl-red-rgb),    .095); --jj-hd: rgba(var(--rl-red-rgb),    .24); --jj-bd: rgba(var(--rl-red-rgb),    .34); }
.jj-mgroup[data-m="11"] { --jj-bg: rgba(var(--rl-green-rgb),  .098); --jj-hd: rgba(var(--rl-green-rgb),  .29); --jj-bd: rgba(var(--rl-green-rgb),  .40); }
.jj-mgroup[data-m="12"] { --jj-bg: rgba(var(--rl-orange-rgb), .105); --jj-hd: rgba(var(--rl-orange-rgb), .26); --jj-bd: rgba(var(--rl-orange-rgb), .38); }

.jj-mh {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin: 0;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 400;
    color: var(--rl-text-3);
    text-align: left;
    background: var(--jj-hd, var(--rl-red-l));
    border-bottom: 1px solid var(--jj-bd, var(--rl-red-b));
}

.jj-mh b {
    font-size: 15px;
    font-weight: 700;
    color: var(--rl-red);
}

.jj-mlist {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    min-width: 0;
    flex: 1 1 auto;
    padding: 10px 12px 12px;
}

.jj-trad[data-rows="3"] .jj-mlist { grid-template-rows: repeat(3, 38px); }
.jj-trad[data-rows="4"] .jj-mlist { grid-template-rows: repeat(4, 38px); }
.jj-trad[data-rows="5"] .jj-mlist { grid-template-rows: repeat(5, 38px); }

.jj-trad:not([data-rows]) .jj-mlist { grid-template-rows: repeat(3, 38px); }

.jj-ti {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    align-content: center;
    gap: 4px 10px;
    padding: 9px 10px;
    background: transparent;
    border: 0;
    border-bottom: 1px dashed var(--rl-line);
    border-radius: var(--rl-r-s);
    transition: background .18s;

    overflow: hidden;
}

.jj-mlist .jj-ti:last-child { border-bottom: 0; }

.jj-ti:hover { background: var(--jj-hd, var(--rl-red-l)); }

.jj-ti-n { min-width: 72px; }

.jj-ti.is-past .jj-ti-n,
.jj-ti.is-past .jj-ti-d { color: var(--rl-text-3); }

.jj-ti-n {
    font-size: 15px;
    font-weight: 700;
    color: var(--rl-text);
}

.jj-ti-d { font-size: 13px; color: var(--rl-red); }
.jj-ti-w { font-size: 12px; color: var(--rl-text-2); }
.jj-ti-l { font-size: 12px; color: var(--rl-text-2); }
.jj-ti-g { font-size: 12px; color: var(--rl-text-3); }

.jj-ti-c { margin-left: auto; }

.jj-c-past,
.jj-c-next {
    display: inline-block;
    padding: 1px 8px;
    font-size: 11px;
    font-style: normal;
    border-radius: 9px;
    white-space: nowrap;
}

.jj-c-past { color: var(--rl-text-3); background: var(--rl-line); }
.jj-c-next { color: #fff; background: var(--rl-red); }

.jj-note {
    margin-top: 26px;
    padding: 20px 22px;
    background: var(--rl-card);
    border-radius: var(--rl-r);
    box-shadow: var(--rl-sh);
}

.jj-note h3 {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 700;
    color: var(--rl-text);
}

.jj-note p {
    margin: 0 0 9px;
    font-size: 13px;
    line-height: 1.95;
    color: var(--rl-text-2);
}

.jj-note p:last-child { margin-bottom: 0; }
.jj-note b  { color: var(--rl-text); }
.jj-note a  { color: var(--rl-red); }
.jj-note a:hover { text-decoration: underline; }

@media only screen and (max-width: 1000px) {
    .jj-tr { grid-template-columns: 92px minmax(0, 1fr) 64px; min-height: 72px; }
    .jj-tr > :nth-child(4) { grid-column: 1 / -1; }
    .jj-th > :nth-child(4) { display: none; }
}

@media only screen and (max-width: 760px) {
    .jj-head { padding-top: 18px; padding-bottom: 14px; }
    .jj-head-l,
    .jj-head-r { flex: 1 1 100%; }
    .jj-head-r .rl-ym { display: flex; width: 100%; }
    .jj-head-r .rl-jq-year-sel,
    .jj-head-r .rl-ym-selwrap { flex: 1 1 auto; min-width: 0; }
    .jj-head-r .rl-ym-arrow { flex: 0 0 34px; }

    .jj-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); flex-basis: 100%; }
    .jj-next { flex-basis: 100%; }

    .jj-bar { margin: 18px auto 13px; padding-left: 14px; padding-right: 14px; }
    .jj-bar-sub span { padding: 2px 8px; }

    .jj-tr {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 4px 10px;
        min-height: 92px;
        padding: 12px 14px;
    }
    .jj-th { display: none; }
    .jj-tr > :nth-child(1) { grid-column: 1; grid-row: 1; }
    .jj-tr > :nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
    .jj-tr > :nth-child(3) { grid-column: 2; grid-row: 1; text-align: right; }
    .jj-tr > :nth-child(4) { grid-column: 1 / -1; grid-row: 3; }

    .jj-mh { padding: 9px 12px; font-size: 12px; }
    .jj-mh b { font-size: 14px; }

    .jj-trad[data-rows="3"] .jj-mlist { grid-template-rows: repeat(3, 56px); }
    .jj-trad[data-rows="4"] .jj-mlist { grid-template-rows: repeat(4, 56px); }
    .jj-trad[data-rows="5"] .jj-mlist { grid-template-rows: repeat(5, 56px); }
    .jj-trad:not([data-rows]) .jj-mlist { grid-template-rows: repeat(3, 56px); }
    .jj-mlist {
        gap: 6px;
        padding: 8px 8px 10px;
    }
    .jj-mlist .jj-ti { min-height: 0; }
    .jj-ti { padding: 8px 8px; gap: 3px 8px; }
    .jj-ti-n { min-width: 66px; }

    .jj-note { padding: 16px 16px; }
}

@media only screen and (max-width: 1000px) {
    .jj-trad { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}
