/* Home page skin matching the original index.html layout. */
html {
    font-size: 13.333333vw !important;
}

@media (min-width: 480px) {
    html {
        font-size: 50px !important;
    }
}

html,
body.ref-body {
    height: auto !important;
    min-height: 100%;
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

body.ref-body {
    margin: 0;
    background: #eee;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

.ref-shell {
    width: 100%;
    max-width: none;
    min-height: 100vh;
    margin: 0;
    background: #eee;
    overflow-x: hidden;
}

.ref-page {
    height: auto !important;
    min-height: 100vh;
}

.ref-page > main {
    height: auto !important;
    overflow: visible !important;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.ref-header {
    height: 50px;
    background: #fff;
}

.ref-header .bui-bar {
    height: 50px;
}

.ref-header .bui-bar-main {
    font-weight: 600;
    letter-spacing: .04em;
}

.ref-slide {
    position: relative;
    width: 100%;
    height: 3rem;
    margin: 0 0 5px;
    overflow: hidden;
    background: #fff;
}

.ref-slide-track {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 100%;
    transition: transform .4s ease;
}

.ref-slide-item {
    display: block;
    width: 100%;
    height: 100%;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
}

.ref-slide-item img {
    display: block;
    width: 100%;
    height: 3.8rem;
    object-fit: fill;
}

.ref-slide-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: .08rem;
    z-index: 2;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
    gap: .06rem;
}

.ref-slide-dots i {
    width: .12rem;
    height: .12rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, .7);
    box-shadow: 0 0 2px rgba(0, 0, 0, .22);
}

.ref-slide-dots i.active {
    background: #07c160;
}

.ref-notice {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    height: 1rem;
    overflow: hidden;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.ref-official {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    gap: .08rem;
    width: 96%;
    height: 1rem;
    margin: 0 auto 5px;
    padding: 0 .2rem;
    background: #fff;
    color: #333;
    font-size: .26rem;
}

.ref-official i {
    color: #07c160;
    font-size: .34rem;
}

/* Scrolling notice bar shown under the top carousel, matching the reference
   homepage's slideNote area. */
.ref-notice-bar {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    gap: .1rem;
    width: 96%;
    height: 1rem;
    margin: 0 auto 5px;
    padding: 0 .2rem;
    overflow: hidden;
    background: #fff;
    color: #333;
    font-size: .26rem;
    white-space: nowrap;
}

.ref-notice-bar i {
    -webkit-box-flex: 0;
    -ms-flex: none;
    flex: none;
    color: #07c160;
    font-size: .34rem;
}

.ref-notice-bar span {
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Quick navigation grid from the reference homepage: five pink pills per row,
   linking to the material sections below. */
#nav2 {
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    padding: .1rem;
    background: #fff;
    font-size: .24rem;
    text-decoration: none;
}

#nav2 ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: .07rem 0;
}

#nav2 ul li {
    width: 20%;
    box-sizing: border-box;
    padding: .05rem;
}

#nav2 ul li a {
    display: block;
    padding: .05rem 0;
    border-radius: .5rem;
    background: #b23583;
    color: #fff;
    font-weight: 600;
    text-align: center;
}

#nav2 ul li a:active,
#nav2 ul li a:focus-visible {
    background: #8f2367;
}

/* Keep anchor targets clear of the navigation when jumping from #nav2. */
.open-log {
    scroll-margin-top: .2rem;
}

/* Section banner. The local style.css only defines these rules under
   `.view2`; the homepage intentionally has no `.view2` so it can use the
   reference pink theme, so restore the base layout here. */
.biaoti {
    position: relative;
    width: 100%;
    background: #fff;
}

.biaoti img {
    display: block;
    width: 100%;
    height: 1.2rem;
}

.biaoti .text1 {
    position: absolute;
    top: .1rem;
    width: 45%;
    color: #dbe400;
    font-family: "楷体", "SimSun", "宋体", sans-serif;
    font-size: .4rem;
    font-weight: 600;
    text-align: right;
}

.biaoti .text2 {
    position: absolute;
    top: .1rem;
    left: 40%;
    width: 3rem;
    color: #dbe400;
    font-family: "楷体", "SimSun", "宋体", sans-serif;
    font-size: .4rem;
    font-weight: 600;
    text-align: center;
}

.ref-notice-label {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    gap: .04rem;
    padding: 0 .12rem;
    color: #07c160;
    font-size: .24rem;
    font-weight: 600;
    border-right: 1px solid #eee;
}

.ref-notice-marquee {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    height: 100%;
    overflow: hidden;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
}

.ref-notice-marquee span {
    display: inline-block;
    min-width: 100%;
    padding-left: 100%;
    white-space: nowrap;
    color: #333;
    font-size: .25rem;
    animation: ref-marquee 20s linear infinite;
}

@keyframes ref-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

.ref-network {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    background: #fff;
}

.ref-announcement {
    margin: .1rem 0 0;
    border: 2px solid #999;
    background: #fff;
}

.ref-announcement-head {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    min-height: .55rem;
    padding: 0 .1rem;
    border-bottom: 1px solid #999;
    color: #e60012;
    font-size: .24rem;
}

.ref-announcement-label {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    font-weight: 600;
}

.ref-announcement-marquee {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
}

.ref-announcement-marquee span {
    display: inline-block;
    min-width: 100%;
    padding-left: 100%;
    animation: ref-marquee 18s linear infinite;
}

.ref-category-notice {
    overflow: hidden;
    padding: .04rem .1rem;
    border-top: 1px solid #e60012;
    color: #e60012;
    font-size: .24rem;
    text-align: center;
    white-space: nowrap;
}

.ref-category-notice span {
    display: inline-block;
    min-width: 100%;
    padding-left: 100%;
    animation: ref-marquee 16s linear infinite;
}

.ref-content-ads {
    margin-top: .1rem;
    background: #fff;
}

.ref-content-banner {
    display: block;
    background: #fff;
}

.ref-content-banner + .ref-content-banner {
    margin-top: .04rem;
}

.ref-content-banner img {
    display: block;
    width: 100%;
    height: auto;
}

.ref-tabs {
    margin-top: .1rem;
    background: #fff;
}

.ref-tab-head {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.ref-tab-head::-webkit-scrollbar {
    display: none;
}

.ref-tab-nav {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    width: 100%;
    min-width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ref-tab-nav > .ref-tab {
    -webkit-box-flex: 1 !important;
    -ms-flex: 1 1 0 !important;
    flex: 1 1 0 !important;
    min-width: 0;
    padding: .12rem .04rem .1rem;
    text-align: center;
    background: #fff;
    border: 0;
    border-right: 1px solid #eee;
    border-radius: 0;
    color: #333;
    white-space: normal;
    cursor: pointer;
}

.ref-tab-nav > .ref-tab:last-child {
    border-right: 0;
}

.ref-tab-nav > .ref-tab.active {
    background: #b23583 !important;
    color: #fff !important;
}

.ref-tab {
    min-width: 0;
}

.ref-tab .lottery-tab-name {
    display: block;
    font-size: .28rem;
    font-weight: 600;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ref-tab .lottery-tab-period {
    margin: .05rem 0 0;
    color: #999;
    font-size: .2rem;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ref-tab.active .lottery-tab-period {
    color: rgba(255, 255, 255, .9);
}

.ref-tab-main {
    overflow: visible !important;
}

.ref-tab-panel {
    display: none;
}

.ref-tab-panel.active {
    display: block;
}

.ref-tab-panel .open-qiu-box {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #b23583;
    border-radius: 0 0 .1rem .1rem;
    background: #fff;
}

.ref-tab-panel .open-qiu-box > .head {
    align-items: center;
    gap: .05rem;
    font-size: .28rem;
}

.ref-tab-panel .open-qiu-box > .head .qishu span {
    color: #b23583;
}

.ref-tab-panel .open-qiu-box > .head .text {
    font-size: .25rem;
}

.ref-tab-panel .open-qiu-box > .head .gd-log {
    color: #b23583;
    font-size: .26rem;
    text-decoration: none;
    white-space: nowrap;
}

.ref-tab-panel .open-qiu-box > .open-num {
    align-items: flex-start;
    padding-top: .16rem;
}

.ref-tab-panel .open-qiu-box > .open-num .box {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 0;
    flex: 1 1 0;
    min-width: 0;
    position: relative;
}

.ref-tab-panel .open-qiu-box > .open-num .box .qiu {
    margin-left: auto;
    margin-right: auto;
}

.ref-tab-panel .open-qiu-box > .open-num .box .text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #666;
    font-size: .26rem;
    line-height: 1.2;
}

.ref-tab-panel .open-qiu-box > .open-num .box.plus {
    padding-top: .2rem;
    color: #999;
}

/* Pre-draw hide and one-by-one reveal. Keep the slots in place so the panel
   does not collapse while the previous result is hidden. */
.ref-tab-panel .open-qiu-box > .open-num.draw-hidden .box:not(.plus) .qiu:not(.qiu-placeholder),
.ref-tab-panel .open-qiu-box > .open-num.draw-hidden .box:not(.plus) .text {
    visibility: hidden;
}

/* Gray placeholder uses the same ball image as real numbers, so the shape and
   gloss match exactly. Each placeholder carries one character of the text. */
.ref-tab-panel .open-qiu-box > .open-num .qiu-placeholder {
    display: none;
}

.ref-tab-panel .open-qiu-box > .open-num.draw-hidden .box:not(.plus) .qiu-placeholder {
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: -.4rem;
}

.ref-tab-panel .open-qiu-box > .open-num.draw-hidden .box:not(.plus).revealed .qiu-placeholder {
    display: none;
}

.ref-tab-panel .open-qiu-box > .open-num.draw-hidden .box:not(.plus).revealed .qiu:not(.qiu-placeholder),
.ref-tab-panel .open-qiu-box > .open-num.draw-hidden .box:not(.plus).revealed .text {
    visibility: visible;
}

.ref-tab-panel .open-qiu-box > .foot {
    color: #e00000;
    font-size: .26rem;
    line-height: 1.4;
}

.ref-material-heading {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .16rem .2rem .02rem;
    color: #666;
    font-size: .24rem;
}

.ref-material-heading strong {
    color: #07c160;
    font-size: .28rem;
}

.ref-material-list {
    padding-bottom: .1rem;
}

.ref-material {
    width: 95%;
    margin: .2rem auto 0;
    overflow: hidden;
    border-radius: .1rem;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
}

.ref-material > .title {
    padding: .1rem 0;
    background: #07c160;
    color: #ff0;
    font-size: .45rem;
    font-weight: 600;
    text-align: center;
}

.ref-material > .content {
    padding: .2rem .16rem .2rem;
    background: #fff;
    color: #333;
    font-size: .32rem;
    line-height: 1.6;
    word-break: break-word;
    overflow: hidden;
}

.ref-material > .content p {
    margin: .04rem 0;
}

.ref-material .material-kv {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .04rem .12rem;
    margin: 0;
    min-width: 0;
}

.ref-material .material-kv dt {
    color: #07c160;
    font-weight: 700;
}

.ref-material .material-kv dd {
    margin: 0;
    min-width: 0;
    color: #333;
    overflow-wrap: anywhere;
}

.ref-material .material-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .06rem;
    max-width: 100%;
}

.ref-material .material-tag {
    display: inline-block;
    padding: 0 .08rem;
    border-radius: .04rem;
    background: #efff00;
    color: #333;
    font-weight: 600;
}

.ref-material .material-list {
    margin: .04rem 0 0;
    padding-left: .3rem;
}

.ref-material .muted {
    color: #999;
}

.ref-empty-material {
    margin: .2rem .2rem .1rem;
    padding: .3rem;
    background: #fff;
    color: #999;
    text-align: center;
    font-size: .25rem;
    border-radius: .1rem;
}

.ref-zhufangbo > .content {
    padding: .2rem 0;
}

.ref-zhufangbo .zhufangbo {
    position: relative;
    width: 100%;
    height: 6rem;
}

.ref-zhufangbo .zhufangbo img {
    display: block;
    width: 100%;
    height: 6rem;
}

.ref-zhufangbo .zhufangbo .qishu {
    position: absolute;
    top: .15rem;
    left: 25%;
    color: #fff;
    font-size: .28rem;
    font-weight: 600;
}

.ref-zhufangbo .zhufangbo .zhu {
    position: absolute;
    bottom: 1.84rem;
    left: 15.7%;
    color: #1e90ff;
    font-size: .35rem;
    font-weight: 600;
}

.ref-zhufangbo .zhufangbo .fang {
    position: absolute;
    bottom: 1.84rem;
    left: 32.7%;
    color: red;
    font-size: .35rem;
    font-weight: 600;
}

.ref-zhufangbo .zhufangbo .jqys {
    position: absolute;
    bottom: 1.84rem;
    left: 50%;
    padding: 0 .1rem;
    border-radius: .1rem;
    background: #ffeb3b;
    color: red;
    font-size: .35rem;
    font-weight: 600;
}

.ref-zhufangbo .zhufangbo .guanwang {
    position: absolute;
    bottom: 2.89rem;
    left: 35.7%;
    color: red;
    font-size: .3rem;
    font-weight: 600;
}

.ref-zhufangbo .zhufangbo .dan {
    position: absolute;
    bottom: .95rem;
    left: 20.7%;
    color: #ffeb3b;
    font-size: .28rem;
    font-weight: 600;
}

.ref-zhufangbo .zhufangbo .shuang {
    position: absolute;
    bottom: .55rem;
    left: 20.7%;
    color: #ffeb3b;
    font-size: .28rem;
    font-weight: 600;
}

.ref-zhufangbo .zhufangbo .yc_ds {
    position: absolute;
    top: 2.05rem;
    left: 35%;
    color: #ffeb3b;
    font-size: .18rem;
    font-weight: 600;
}

.ref-zhufangbo .zhufangbo .yc_num_qujian {
    position: absolute;
    top: 2.09rem;
    left: 52.5%;
    color: #ffeb3b;
    font-size: .15rem;
    font-weight: 600;
}

.ref-zhufangbo .zhufangbo .sx {
    position: absolute;
    top: 2.4rem;
    left: 25%;
    color: #ffeb3b;
    font-size: .18rem;
    font-weight: 600;
}

.ref-zhufangbo .zhufangbo .wei {
    position: absolute;
    top: 2.4rem;
    left: 51.5%;
    color: #ffeb3b;
    font-size: .18rem;
    font-weight: 600;
}

.ref-zhufangbo .zhufangbo .old_num7 {
    position: absolute;
    top: 1.75rem;
    left: 39%;
    color: #ffeb3b;
    font-size: .2rem;
    font-weight: 600;
}

.ref-zhufangbo .zhufangbo .old_num7_sx {
    position: absolute;
    top: 1.74rem;
    left: 47%;
    color: #ffeb3b;
    font-size: .18rem;
    font-weight: 600;
}

.ref-zhufangbo .zhufangbo .old_num7_dx {
    position: absolute;
    top: 1.74rem;
    left: 56.3%;
    color: #ffeb3b;
    font-size: .18rem;
    font-weight: 600;
}

.ref-zhufangbo .zhufangbo .old_num7_ds {
    position: absolute;
    top: 1.74rem;
    left: 62%;
    color: #ffeb3b;
    font-size: .18rem;
    font-weight: 600;
}

.ref-disclaimer {
    padding: .2rem .2rem .55rem;
    color: #999;
    text-align: center;
    font-size: .2rem;
    line-height: 1.6;
}

.ref-popup-mask {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .3rem;
    background: rgba(0, 0, 0, .45);
}

.ref-popup {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 73%;
    max-width: none;
    /* 红框部分（公告 + 两期六肖）固定显示，其余内容在弹窗内向下滚动。 */
    max-height: min(calc(100vh - 20px), 340px);
    max-height: min(calc(100dvh - 20px), 340px);
    overflow: hidden;
    border-radius: .1rem;
    background: #fff;
    box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, .28);
}

.ref-popup-head {
    position: relative;
    -webkit-box-flex: 0;
    -ms-flex: none;
    flex: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    min-height: .56rem;
    padding: .15rem .2rem;
    background: #07c160;
    border-radius: .1rem .1rem 0 0;
}

.ref-popup-head h3 {
    margin: 0;
    color: #fff;
    font-size: .3rem;
    font-weight: 400;
    line-height: 1.2;
    text-align: center;
}

.ref-popup-close {
    position: absolute;
    top: 50%;
    right: .18rem;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    width: .56rem;
    height: .56rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: #c9ced6;
    font-size: .46rem;
    line-height: 1;
    cursor: pointer;
}

.ref-popup-body {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: .24rem .3rem;
    scrollbar-width: thin;
    scrollbar-color: #c1c1c1 transparent;
}

.ref-popup-body::-webkit-scrollbar {
    width: 5px;
}

.ref-popup-body::-webkit-scrollbar-thumb {
    border-radius: 3px;
    background: #c1c1c1;
}

.ref-popup-foot {
    -webkit-box-flex: 0;
    -ms-flex: none;
    flex: none;
    border-top: 1px solid #e5e5e5;
}

.ref-popup-foot-close {
    display: block;
    width: 100%;
    height: .56rem;
    padding: 0;
    border: 0;
    background: #fff;
    color: #111;
    font-size: .3rem;
    line-height: .56rem;
    text-align: center;
    cursor: pointer;
}

.ref-popup-foot-close:hover,
.ref-popup-foot-close:active {
    background: #f5f5f5;
}

.ref-popup-content {
    color: #333;
    font-size: .28rem;
    line-height: 1.6;
    text-align: center;
    word-break: break-word;
}

.ref-popup-content p {
    margin: .14rem 0 !important;
}

.ref-popup-content hr {
    margin: .14rem 0;
    border: 0;
    border-top: 1px solid #eee;
}

@media (min-width: 480px) {
    .ref-slide {
        box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    }
}

/* History page: reference card list that fills the whole screen. */
.history-shell {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    height: 100vh;
    background: #fff;
}

@supports (height: 100dvh) {
    .history-shell {
        height: 100dvh;
    }
}

.history-shell > .history-header {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50px;
    flex: 0 0 50px;
    height: 50px;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.history-header .bui-bar {
    height: 50px;
}

.history-header .bui-bar-main {
    color: #07c160;
    font-size: .34rem;
    font-weight: 600;
    letter-spacing: .04em;
}

.history-scroll {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #fff;
}

.history-scroll .history-list {
    margin: 0;
    padding: .1rem .2rem .3rem;
    list-style: none;
    background: #fff;
}

.history-scroll .open-qiu-box {
    margin: .2rem 0 0;
    border: 1px solid #07c160;
    border-radius: .1rem;
    background: #fff;
}

.history-scroll .open-qiu-box:first-child {
    margin-top: 0;
}

.history-scroll .open-qiu-box > .head {
    align-items: center;
    gap: .05rem;
    font-size: .28rem;
}

.history-scroll .open-qiu-box > .head .qishu,
.history-scroll .open-qiu-box > .head .gd-log {
    color: #666;
    font-size: .24rem;
}

.history-scroll .open-qiu-box > .head .qishu span {
    color: #07c160;
}

.history-scroll .open-qiu-box > .open-num {
    align-items: flex-start;
    padding-top: .16rem;
}

.history-scroll .open-qiu-box > .open-num .box {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 0;
    flex: 1 1 0;
    min-width: 0;
}

.history-scroll .open-qiu-box > .open-num .box .qiu {
    margin-left: auto;
    margin-right: auto;
}

.history-scroll .open-qiu-box > .open-num .box .text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #666;
    font-size: .26rem;
    line-height: 1.2;
}

.history-scroll .open-qiu-box > .open-num .box.plus {
    padding-top: .2rem;
    color: #999;
}

.history-empty {
    padding: .6rem .3rem;
    color: #999;
    text-align: center;
    font-size: .26rem;
}

.history-pager {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: .08rem;
    justify-content: center;
    padding: .1rem .2rem .5rem;
    background: #fff;
}

.history-pager a {
    min-width: .7rem;
    padding: .08rem .14rem;
    border: 1px solid #07c160;
    border-radius: .08rem;
    color: #07c160;
    font-size: .24rem;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    background: #fff;
}

.history-pager a.active {
    background: #07c160;
    color: #fff;
}

/* The shared BUI rule adds a bottom margin to main's last child; the history shell already fills the viewport. */
main > .history-shell:last-child,
.history-shell {
    margin-bottom: 0;
}
