.sanbdiv{
    background: #fffef7;
    border-radius: 6px;
    padding: 0.75rem 0.75rem 0 0.75rem;
    border: 1px solid #ece4d5;
}

.night .sanbdiv {
    background-color: #181a1b;
    border: 1px solid #444;
}

.sanbdiv ul{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.sanbdiv ul li{
    min-width: 0;
    backdrop-filter: blur(2px);
    border-radius: 6px;
    padding: 0.75rem 0.5rem;
    cursor: pointer;
    border: 1px solid #f0e2d0;
    background: linear-gradient(145deg, #fef7ec 0%, #fef2e2 100%);
}

.night .sanbdiv li {
    background: #292929;
    border: 1px solid #444;
}

.sanbdiv ul li a{

}

.sanbdiv ul li a p:nth-child(1){
    border-left: 3px solid #d9b48b;
    padding-left: 0.25rem;
    font-size: 0.7rem;
    line-height: 1;
    word-break: keep-all;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #af8a60;
}

.night .sanbdiv ul li a p:nth-child(1){
    border-left: 3px solid #444;
    color: #bbb;
}

.sanbdiv ul li a p:nth-child(2){
    font-size: 0.6rem;
    line-height: 1;
    color: #a67948;
    margin-top: 0.75rem;
    opacity: 0.75;
    display: flex;
    justify-content: space-between;
    border-top: 1px dashed #f0e2d0;
    padding-top: 0.75rem;
}

.night .sanbdiv ul li a p:nth-child(2){
    color: #aaa;
    border-top: 1px dashed #444;
}

.sanbdiv ul li a p:nth-child(2) i::before{
    margin-right: 0.25rem;
    font-size: 0.55rem;
}

.sanbdiv ul li a p:nth-child(2) i{
    font-size: 0.6rem;
}

.sanbdiv ul li a p:nth-child(2) span{
    
}

@media screen and (max-width: 1230px){
    .sanbdiv ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 530px){
    .sanbdiv{
        background: #fffef7;
        border-radius: 6px;
        padding: 0.5rem 0.5rem 0 0.5rem;
        border: 1px solid #ece4d5;
    }
    .sanbdiv ul {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 0.5rem;
    }
}

/**********************************************************/

.tasanbaidiv{
    background: #fffef7;
    border-radius: 6px;
    padding: 0.75rem;
    border: 1px solid #ece4d5;
}

.night .tasanbaidiv {
    background-color: #181a1b;
    border: 1px solid #444;
}

.tasanbai{
    background: #ffffff;
    border-radius: 6px;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
    border: 1px solid #f5ede1;
}

.night .tasanbai{
    background: #252525;
    border: 1px solid #444;
}

.tasanbai h3,.tasanbai h2{
    font-size: 1rem;
    line-height: 1;
    letter-spacing: 2px;
    font-family: "Noto Serif SC", 楷体, 华文楷书, serif;
    margin-bottom: 0.75rem;
    position: relative;
    color: rgb(180, 95, 43);
    font-weight: bold;
    padding: 0px 0px 0.75rem;
    border-bottom: 1px dashed rgb(239, 224, 202);
}

.night .tasanbai h3, .night .tasanbai h2 {
    border-bottom: 1px dashed #444;
}

.tasanbai h3::before,.tasanbai h2::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 10rem;
    height: 1px;
    background: linear-gradient(90deg, #dabb94, transparent);
}

.night .tasanbai h3::before,.night .tasanbai h2::before {
    background: linear-gradient(90deg, #444, transparent);
}

.sanbaiaus{
    background: #f7f2e8;
    padding: 0.5rem;
    border-radius: 10px 0 0 10px;
    margin-bottom: 0.75rem;
    border-left: 4px solid #dabb94;
    font-size: 0.7rem;
    position: relative;
    color: #7d5d3a;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.night .sanbaiaus {
    background: #323232;
    border-left: 4px solid #444;
    color: #c29153;
}

.tasanbai div{

}

.tasanbai div p{
    font-size: 0.7rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    text-align: justify;
    color: #a8875b;
}

.tasanbai div p:last-child{
    margin-bottom: 0;
}

.divider{
    margin: 0.75rem 0;
    border-top: 1px dashed #e2d4c0;
    position: relative;
}

.night .divider {
    border-top: 1px dashed #444;
    color: #444;
}

.divider::after {
    content: '✽';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #fffef7;
    padding: 0 12px;
    color: #cfb687;
    font-size: 0.8rem;
}

.night .divider::after {
    background: #181a1b;
    color: #444;
}

.buttangshidirs{
    text-decoration: none;
    font-size: 0.6rem;
    color: #b45f2b;
    background: #fef5ea;
    padding: 0.2rem 1rem;
    border-radius: 30px;
    transition: all 0.2s;
    display: inline-block;
}

.night .buttangshidirs {
    background: #323232;
}

@media screen and (max-width: 530px){
    .tasanbaidiv {
        padding: 0.5rem;
    }
    .tasanbai {
        padding: 0.5rem;
        margin-bottom: 0.5rem;
    }
    .tasanbai h3, .tasanbai h2 {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
        padding: 0px 0px 0.5rem;
    }
}