summary {
    cursor: pointer;
}

.box {
    border: 1px solid #c4a882;
    background-color: #faf8f3
}

.cont {
    height: auto;
    overflow: auto;
    margin-top: 15px
}

.cont-lf {
    float: left;
    width: 74%;
    border-top: 6px solid #a5855a
}

.lf-1 {
    margin-bottom: 15px
}

.lf-2 {
    margin-top: 15px
}

.cont-rg {
    float: right;
    width: 25%;
    padding-bottom: 15px
}

.cont-lf .tit {
    height: 42px;
    line-height: 42px;
    text-align: center;
    color: #a5855a
}

.cont-lf .tit h1 {
    font-size: 18px;
    display: inline
}

.cont-lf .tit img {
    width: 36px;
    height: 25px;
    position: relative;
    top: 5px
}

.item-tit h3 {
    margin: 30px 32px 4px
}

.item-tit h2 {
    margin: 0 32px 0
}

.item-tit h3,
.item-tit h2 {
    display: block;
    background: #f3ece6;
    height: 32px;
    line-height: 32px;
    padding-left: 12px;
    color: #a5855a;
    font-weight: 700;
    text-align: left;
    font-size: 15px;
    border-left: #a5855a solid 3px;
    border-bottom: #f1f1f1 solid 1px
}

.box-top-base {
    position: relative
}

.box-top-base strong {
    font-weight: normal
}

.base-list {
    height: auto;
    overflow: auto;
    margin: 20px 32px
}

.base-list li {
    float: left;
    width: 50%;
    padding: 10px 0;
    list-style: none
}

.base-list li.base-list-row {
    width: 100%
}

.base-list li span,
.play-sound {
    display: -webkit-box;
    line-height: 28px;
}

.base-list-row span a {
    color: #333
}

.play-sound {
    position: relative;
    top: 1px
}

.base-list li strong {
    letter-spacing: 1px;
    background-image: url(../images/bt1.gif);
    height: 26px;
    width: 65px;
    line-height: 26px;
    color: #a5855a;
    font-size: 14px;
    text-align: center;
    display: inline-block;
    font-weight: normal;
    margin: 0;
    margin-left: 3px;
    margin-right: 8px;
    padding: 0;
    float: left;
}

.base-none {
    left: 400px
}

.box-p {
    margin: 0 32px
}

.box-p-xdb {
    padding-bottom: 0
}

.box-p-none {
    padding-top: .35rem
}

.item-z-xdb,
.item-z-jbb {
    border-bottom: #f2ede5 solid 1px;
    position: relative;
    display: block;
    padding: 0 .80rem
}

.item-z-xdb {
    padding-left: 2.8rem
}

.z-xdb-tit {
    position: absolute;
    left: .8rem;
    top: .9rem;
    display: block;
    line-height: 1.25rem;
    border-radius: .21rem;
    padding: 0 .2rem;
    background-color: #a5855a;
    color: #fff
}

.item-z-xdb label {
    position: absolute;
    left: 0;
    font-family: arial;
    top: 14px;
    font-size: 15px
}

.item-z-xdb span,
.item-z-jbb span {
    display: block;
    padding: 12px 5px 12px 5px;
    border-bottom: #f2ede5 solid 1px;
    position: relative;
    color: #444;
    line-height: 22px
}

.item-z-xdb span {
    padding-left: 1.3rem
}

.item-z-xdb span.item-z-xdb-no,
.item-z-jbb span.item-z-xdb-no,
.item-z-xzd span.item-z-xzd-no {
    border-bottom: 0
}

.z-xzd-tit {
    display: block;
    line-height: 1.35rem;
    padding: 0 .3rem;
    border-radius: .21rem;
    float: left;
    background-color: #a5855a;
    color: #fff;
    margin: .3rem 0
}

.item-z-xzd {
    border-bottom: #f2ede5 solid 1px;
    position: relative;
    display: block;
    padding: 12px 12px;
    line-height: 24px;
    margin-bottom: .5rem
}

.item-z-xzd label,
.item-z-jbb label {
    position: absolute;
    left: 0rem;
    font-family: arial;
    top: .5rem;
    font-size: 1.0rem
}

.item-z-xzd span,
.item-z-jbb span {
    clear: both;
    display: block;
    padding: .4rem .4rem .4rem 1.4rem;
    border-bottom: #f8eacf solid 1px;
    position: relative
}

.zi-basic {
    font-weight: bold;
    position: relative;
    border-top: #ddd solid 1px;
    border-bottom: #f8eacf solid 1px;
    padding: 16px 15px;
    height: auto;
    overflow: auto
}

.zi-basic-none {
    border-top: 0
}

.zi-basic strong,
.zi-basic label,
.zi-basic span {
    float: left;
    font-size: 15px;
    color: #444
}

.zi-basic strong {
    color: #a5855a;
    font-size: 16px
}

.zi-basic label {
    padding-left: 1.2rem
}

.zi-basic label.ci_dy {
    top: 0
}

.item-en {
    margin: .5rem .8rem;
    border-top: 0
}

.item-en strong {
    left: 0rem
}

.item-en span {
    border-bottom: 0;
    padding-left: 0rem
}

.item-z-xdb-none,
.item-z-xzd-none,
.item-z-jbb-none {
    border-bottom: 0
}

.box-more {
    margin: 0 15px;
    position: relative;
    padding-top: 15px;
    padding-bottom: 16px
}

.box-more h3 {
     color: #a5855a;
    padding-bottom: .56rem;
    padding-top: .21rem;
    font-size: 14px
}

.box-more h3 a {
     color: #a5855a;
    text-decoration: none;
    padding-left: .43rem
}

.box-more h3:before {
    content: '';
    width: 1.06rem;
    height: 1.06rem;
    background-image: url(../images/zh.png);
    background-size: 100% 100%;
    float: left;
    position: relative;
    top: .18rem
}

.box-more ul,
.box-more1,
.box-more ul,
.box-more2 {
    height: auto;
    overflow: auto
}

.box-more ul li {
    color: #444;
    float: left;
    width: 25%;
    position: relative;
    line-height: 40px;
    height: 40px;
    text-align: left;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis
}

.box-more ul li a,
.box-more1 li a,
.box-more2 ul li a {
    color: #444
}

.box-more1 li {
    background: url(../images/d.png) 0 12px no-repeat;
    padding-left: 20px;
    position: relative
}

.box-more1 li,
.box-more2 h3 {
    font-size: 14px;
    line-height: 40px;
    height: 40px;
    overflow: hidden;
    margin: 0 20px;
    border-bottom: #f1f1f1 solid 1px;
    list-style: none
}

.box-more2 h3,
.box-more2 h3 a {
    display: block;
    font-size: 13px;
    color: #965c2e
}

.box-more2 ul {
    height: auto;
    overflow: auto;
    margin: 0 20px;
    padding-top: 8px;
    padding-left: 10px
}

.box-more2 ul li {
    float: left;
    width: 25%;
    color: #444;
    list-style: none;
    line-height: 30px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    height: 30px
}

.box-more2 img {
    width: 320px;
    margin: 10px 10px 0px 10px;
}

.box-more2 .summary {
    padding: 10px;
    color: #444;
    line-height: 26px;
    text-indent: 10px;
}

.rg-1 {
    padding-bottom: 20px
}

.rg-tit {
    position: relative;
    height: 38px;
    line-height: 38x;
    background-color: #fffbf4 ;
    border-bottom: 1px solid #f2d2b5
}

.rg-tit h2,
.rg-tit h3 {
    font-size: 15px;
    color: #804627;
    padding-left: 20px;
    line-height: 40px;
    overflow: hidden
}

.rg-tit h3 i,
.rg-tit h2 i {
    font-style: normal
}

.rg-tit .flag_l_t2,
.rg-tit .flag_r_t2 {
    position: absolute;
    top: 2px;
    width: 22px;
    height: 22px;
    overflow: hidden;
    background: url(../images/tbg.png) no-repeat
}

.rg-tit .flag_r_t2 {
    right: 2px;
    background-position: -22px 0
}

.flag_l_t2 {
    left: 2px
}

.ly {
    display: block;
    text-align: right;
    padding: 15px 0;
    color: #999;
    font-size: 12px
}



.rr {
    width: 229px !important;
    height: 23px !important;
    padding-top: 0 !important;
    margin-top: 25px !important
}

.delete-btn {
    position: absolute;
    right: 0;
    top: 0;
    cursor: pointer;
    color: #ccc;
    font-style: normal;
    font-size: 17px
}

.box-img img {
    width: 300px;
    height: 200px;
    margin: 25px 15px
}

.footleft p {
    color: #777;
    line-height: 20px;
    font-size: 12px;
    clear: both
}

.footright {
    padding-left: 95px;
    width: 305px !important
}

.footright p {
    padding-top: 35px;
    text-align: right
}

.footright p a {
    color: #444;
    font-size: 12px;
    margin-left: 17px
}

.footright span {
    padding-top: 65px;
    float: right;
    padding-right: 10px
}

.footright span a {
    float: left;
    width: 27px;
    height: 27px;
    line-height: 27px;
    background: #e2e2e4;
    border-radius: 20px;
    margin-left: 20px;
    float: right
}

.base-list li span a {
    color: #333
}

.nav a.sel {
    background: url(../images/sjx.png) 11px 50px no-repeat;
    background-size: 10px 8px;
}

.box-img {
    width: 310px;
    height: 216px;
    background: url(../images/pic_bg.jpg);
    margin: 20px 40px;
}

.box-img img {
    width: 300px;
    height: 200px;
    margin: 5px;
}

.tag-link,
.base-list li span a.tag-link {
    color: #915926;
    border-bottom: #915926 solid 1px;
}

.box-drop {
    position: relative;
    display: none;
    text-align: center;
    padding-top: 12px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #e4d0bc;
    cursor: pointer
}

.box-drop-btn {
    display: block;
    position: absolute;
    right: 80px;
    top: 18px;
    width: 10px;
    height: 10px;
    overflow: hidden;
    background: url(../images/drop.png) no-repeat;
    background-size: 100%
}

.box-drop:hover {
    color: #965c2e
}

.box-drop:hover .box-drop-btn {
    background-position-y: -10px
}

.box-more99 {
    overflow: hidden;
}

.item-tit h2 i {
    font-style: normal;
    font-size: 14px;
    padding-left: 5px
}

.item-z-xzd span.xzd-lf,
.item-z-jbb span.xzd-lf {
    padding-left: 0.4rem;
    padding-top: 0.5rem;
}



mark,
em {
    border-radius: 3px;
    /* border-bottom: 1px solid #915926; */
    margin-right: 2px;
    background: none;
    font-style: normal;
}

.box-p .explain {
    display: block;
    font-size: .9375rem;
    position: relative;
    margin: 12px 32px;
    line-height: 28px;
    border-bottom: 1px solid #f8eacf;
}

.box-p h3 {
    font-size: 16px;
    line-height: 2;
    margin: 12px 0;
     color: #a5855a;
}

.box-p h4 {
    font-size: 16px;
    color: #6d582d;
    position: relative;
    margin-left: 30px;
}

.box-p h4:before {
    position: absolute;
    content: "�?;
    color: #ff0000;
    left: -20px;
}

.box-p details {
    margin-left: 15px;
    margin-bottom: 15px;
    margin-top: 10px;
}

.box-p .note {
    line-height: 140%;
}

.box-p .list>li,
.box-p .note {

    margin-left: 25px;
}

.box-p .entry,
.box-p .list>li,
.box-p .note {
    position: relative;
    border-bottom: #f8eacf solid 1px;
    margin-bottom: 0;
    padding: 8px 0;
    list-style-type: none;
    margin-right: 32px;
}

.box-p details p {
    color: #666;
    font-size: 14px;
}

.box-p .entry {
    font-size: 15px;
    margin-top: 0;
    margin-left: 20px;
}

/* .box-p .entry .name {
    position: absolute;
    left: -50px;
    padding: 4px;
    line-height: 1em;
    top: 10px;
} */

.box-p .name {
    font-size: 12px;
    /* font-weight: 700; */
    padding: 1px 5px;
    margin-right: 6px;
    border: #9a7037 solid 1px;
    color: #000;
    white-space: nowrap;
    border-radius: 4px;
}

.box-p .no {
    color: red;
    padding-right: 6px;
}

.badge-info {
    font-size: 12px;
    border: 1px solid #9a7037;
    border-radius: 6px;
    padding: 1px 5px;
    margin-right: 6px;
}

.box-p .title {
    padding: 4px;
    line-height: 1em;
    text-align: center;
}

.box-p .title::before {
    content: '用法 ';
}

/* 成语接龙样式 */
.chengyu-jielong-container {
    margin: 10px 0;
    padding: 15px;
    /* border: 1px solid #e0e0e0; */
    border-radius: 6px;
    /* background: #fafafa; */
}

.jielong-description {
    margin: 0 0 15px 0;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

#current-last-char {
    color: #e74c3c;
    font-weight: bold;
    font-size: 16px;
}

/* 加载动画 */
.jielong-loading {
    text-align: center;
    padding: 30px 0;
    color: #999;
}

.loading-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid #f3f3f3;
    border-radius: 50%;
    border-top: 2px solid #3498db;
    animation: spin 1s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* 控制按钮 */
.jielong-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #ddd;
}

.btn-change-batch,
.btn-retry {
    background: #a46429;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 13px;
    transition: background-color 0.3s;
}

.btn-change-batch:hover,
.btn-retry:hover {
    background: #cf8949;
}

.btn-change-batch:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
}

.jielong-count {
    color: #666;
    font-size: 13px;
}

/* 接龙列表 */
.jielong-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 8px;
}

.jielong-list li {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.jielong-list li:hover {
    border-color: #9a7037;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.jielong-list a {
    display: block;
    padding: 8px 10px;
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    font-size: 14px;
    text-align: center;
}

.jielong-list a:hover {
    color: #9a7037;
}

/* 错误状�?*/
.jielong-error {
    text-align: center;
    padding: 30px 0;
    color: #e74c3c;
}

.error-message {
    margin-bottom: 10px;
}

/* 响应式设�?*/
@media (max-width: 768px) {
    .jielong-list {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 6px;
    }

    .jielong-controls {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .chengyu-jielong-container {
        padding: 12px;
    }
}
.btn-load-more{
    padding: 8px 55px;
    border: none;
    background: #f8f2e8;
    color: #b38a59;
    text-align: center;
    font-size: 16px;
    cursor: pointer;
}
.btn-load-more:hover {
    background: #f2e8d9;

}