* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.header-top {
    text-shadow: 
        0 5px 6px #000,
        0 6px 12px rgba(0,0,0,0.85),
        0 7px 20px rgba(0,0,0,0.6),
        0 8px 40px rgba(0,0,0,0.3);
    font-size: 60px;
    text-align: center;
    font-weight: bold;
    color: #fff;
    letter-spacing: 2px;
    margin-bottom: 64px;
}
html, body {
    height: 100%;
}
body {
    display: flex;
    flex-direction: column;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: top center;
    background-color: #ffffff;
}
.bluesky {
    background-image: url("图片/a.png");
}
/*外形样式*/
.banner-box {
    border-radius: 5px;
    padding: 20px 25px;
    color: #000;
    background-blend-mode: overlay;
    background-size: cover;
    box-shadow:-3px 3px 10px rgba(0,0,0,0.5);
    margin-top: 16px;
		}
.banner-title {
    font-size: 20px;
}
.center {
    place-items: center;
}
/*颜色样式*/
.picture-1 {
    background-image: url("图片/b.png");
}
.red {
    background-color: #f8dddd;
}
.green {
    background-color: #e3f8dd;
}
.yellow {
    background-color: #f9f9dd;
}
.purple {
    background-color: #dde4f8;
}
.blue {
    background-color: #ddf4f8;
}
.gold {
    background-color: #f8e8dd;
}
.white {
    background-color: white;
}
/*文字颜色样式*/
.text-red {
    color: #e60000;
}
.text-yellow {
    color: gold;
}
.text-white {
    color: white;
}
.text-gray {
    color: #666;
}
/*侧边栏基础*/
.sidebar {
    position: fixed;
    background-color: #ffffff;
    z-index: 100;
    box-shadow: 4px 0px 12px rgba(0,0,0,0.12);
}

/*平分容器*/
.wrap {
    display: flex;
    gap: 16px;
}
/*平分子模块*/
.box {
    flex: 1;
    padding: 20px;
}

/*宽>高：侧边在左边*/
@media (min-aspect-ratio: 1/1) {
    .sidebar {
    top:0;
    left:0;
    width:55px;
    height:100vh;
    display:flex;
    flex-direction: column;
    align-items: center;
    padding-top:16px;
    }
    .divider-line {
    width:24px;
    height:1px;
    background:#cccccc;
    margin:14px 0;
    }
    .content {
    margin-left: 65px;
    }
    .footer-block {
    padding-left: 65px !important;
    }
}

/*高>宽：侧边放底部*/
@media (max-aspect-ratio: 1/1) {
    .sidebar {
    bottom:0;
    left:0;
    width:100vw;
    height:55px;
    display:flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.12);
    }
    .divider-line {
    width:1px;
    height:24px;
    background:#cccccc;
    margin:0 14px;
    }
    .content {
    margin-bottom: 65px;
    }
    /*wrap纵横切换*/
    .wrap {
    flex-direction :column;
    gap: 0px;
    }
}

.side-btn {
    border:none;
    background:transparent;
    cursor:pointer;
    transition: transform 0.2s ease;
}
.side-btn:hover {
    transform: scale(1.15);
}
.side-btn img {
    width:32px;
    height:32px;
    display:block;
}

/*主内容区*/
.content {
    padding:40px 20px;
    flex: 0 1 auto;
}
.boxes-title {
    margin-top:32px;
    text-shadow: 
        0 3px 3px #000,
        0 4px 6px rgba(0,0,0,0.85),
        0 5px 12px rgba(0,0,0,0.6),
        0 6px 20px rgba(0,0,0,0.3);
    font-size: 30px;
    text-align: left;
    font-weight: bold;
    color: #fff;
    letter-spacing: 2px;
}
.main-title {
    font-size:42px;
    margin-bottom:20px;
    text-align:center;
    /* 可在这里修改标题颜色 color:red; */
}
.main-info {
    font-size:17px;
    margin:8px 0;
    text-align:left;
    /* 可在这里修改正文信息颜色 color:blue; */
}

/*底部页封 —— 跟随内容，滑到底贴紧底边，文字居左*/
.footer-block {
    margin-left: 2%;
    width: 98%;
    background-color: #f5f5f5;
    text-align: left;
    padding: 24px 20px;
    margin-top: 240px;
}
.footer-block img {
    width:72px;
    height:72px;
    display:block;
    margin-top:10px;
    margin-bottom:12px;
}
.footer-block h2 {
    margin-bottom:8px;
    font-size:32px;
}
.footer-block p {
    margin:0;
    font-size:15px;
}
    .container {
    max-width: 700px;
    margin: 0 auto;
}
.num-display {
    text-align: center;
    font-size: 88px;
    font-weight: bold;
    color: #000000;
    margin:20px 0;
}
.num-display.finished{
    color:#ffc107;
}
.start-btn{
    display:block;
    margin:0 auto 40px;
    padding:16px 60px;
    font-size:24px;
    border:none;
    background:#ff0000;
    color:white;
    cursor:pointer;
    transition:0.2s;
    border-radius: 5px;
    background-blend-mode: overlay;
    background-size: cover;
    box-shadow:-3px 3px 10px rgba(0,0,0,0.5);
    margin-top: 16px;
}
.start-btn:disabled{
    background:#ffaaaa;
    cursor:not-allowed;
}
.start-btn:hover:not(:disabled){
    background:#dd0000;
}
.check-wrap{
    display:grid;
    grid-template-columns: repeat(10,1fr);
    gap:8px;
}
.check-item{
    text-align:center;
    padding:6px;
    font-size:16px;
}
.option-lock{
    margin-top:30px;
    text-align:center;
    font-size:17px;
}

.option-bar{
    margin-top:30px;
    text-align:center;
    font-size:17px;
    display:flex;
    gap:14px;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
}
.opt-btn{
    padding:8px 22px;
    font-size:16px;
    border:none;
    border-radius:5px;
    box-shadow:-3px 3px 10px rgba(0,0,0,0.5);
    background:#ffffff;
    color:#222;
    cursor:pointer;
    transition: background 0.3s, color 0.3s;
}
.opt-btn.active{
    background:#3478ed;
    color:white;
}
    .search-box {
    max-width: 600px;
    margin: 0 auto;
}
#searchInput {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 2px solid #ffffff;
    outline: none;
    border-radius: 5px;
    color: #000;
    background-blend-mode: overlay;
    background-size: cover;
    box-shadow:-3px 3px 10px rgba(0,0,0,0.5);
    margin-top: 16px;
}
#searchInput:focus {
    border-color: #4086ff;
}
.result-list {
    margin-top: 8px;
    background: #ffffff;
    border: 1px solid #f5f5f5;
    overflow: hidden;
    display: none;
    border-radius: 5px;
    color: #000;
    background-blend-mode: overlay;
    background-size: cover;
    box-shadow:-3px 3px 10px rgba(0,0,0,0.5);
    margin-top: 16px;
}
.result-item {
    padding: 10px 16px;
    cursor: pointer;
    font-size: 15px;
}
.result-item:hover {
    background-color: #f5f5f5;
}
/* 匹配到的字符 蓝色高亮 */
.highlight {
    color: #165DFF;
    font-weight: bold;
}
.empty-tip {
    padding:10px 16px;
    color:#888;
    font-size:14px;
}