/* ============================================================
   翻页器：Minecraft UI 风格（首页 + 归档页共用）
   —— 原先内联在 index.php，因为归档页也要用，抽成全局样式。
   图片走相对路径（相对本 CSS 文件位置），CSS 里跑不了 PHP themeUrl。
   ============================================================ */

/* 容器：一行居中，与列表之间留一条像素分隔 */
.mc-pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 26px;
    padding-top: 18px;
    border-top: 2px solid rgba(0, 0, 0, 0.18);
}

/* 数字/文字：与 #status 同款 Pixelify Sans。
   面板底色是米色，白字会看不见，所以取 Minecraft 物品栏那套深灰字，
   选中/悬停用与 highlighted 箭头素材同色系的橙棕。 */
.mc-pager a,
.mc-pager span {
    font-family: "Pixelify Sans", sans-serif;
    font-size: 1.35rem;
    font-weight: 400;
    line-height: 1;
    color: #3f3f3f;
    text-decoration: none;
    /* Minecraft UI 没有圆角、渐变、阴影盒 */
    border-radius: 0;
    background: none;
    border: 0;
    box-shadow: none;
    transition: none;
}

.mc-pager a:hover {
    color: #b5531b;
    text-decoration: none;
}

/* 「当前页 / 总页数」指示器：橙棕 + 轻投影作为焦点；
   tabular-nums 让位数变化时数字不抖动。 */
.mc-page-indicator {
    color: #b5531b;
    text-shadow: 1px 1px rgba(0, 0, 0, 0.18);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    min-width: 64px;
    text-align: center;
}

/* 翻页按钮：不加按钮样式，直接放素材图；加点内边距扩大点击/触摸热区 */
.mc-page-nav {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    cursor: pointer;
}

.mc-arrow {
    display: block;
    width: 46px;
    height: 26px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 46px 26px; /* 素材原始尺寸，不缩放 */
    image-rendering: pixelated; /* 万一被缩放也保持像素锐利 */
}

.mc-arrow-prev {
    background-image: url(../img/page_backward.png);
}

.mc-arrow-next {
    background-image: url(../img/page_forward.png);
}

/* hover 与键盘 focus 切到高亮态（橙色实心箭头） */
.mc-page-nav:hover .mc-arrow-prev,
.mc-page-nav:focus .mc-arrow-prev {
    background-image: url(../img/page_backward_highlighted.png);
}

.mc-page-nav:hover .mc-arrow-next,
.mc-page-nav:focus .mc-arrow-next {
    background-image: url(../img/page_forward_highlighted.png);
}

/* 首页/末页的禁用箭头：降透明、不可点、不参与高亮 */
.mc-page-nav.is-disabled {
    opacity: 0.28;
    pointer-events: none;
    cursor: default;
}

/* 异步换页时列表的加载态：轻微变淡 + 屏蔽交互，替换完成即移除 */
.rc-loading {
    opacity: 0.45;
    pointer-events: none;
    transition: opacity 0.15s ease;
}
