/* ==========================================================================
   猎灵 · 每日签到官方盛典（MMORPG 沉浸游戏风格，兼容 IE9+ 及移动端）
   ========================================================================== */

/* 全局重置与基础规范 */
article, aside, footer, header, main, nav, section {
    display: block;
}
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.clearfix {
    *zoom: 1;
}
.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}
.clearfix:after {
    clear: both;
}

body {
    margin: 0;
    padding: 0;
    font: 14px/1.65 "Microsoft YaHei", "PingFang SC", SimSun, Arial, sans-serif;
}
body.si-public {
    color: #cad7e6;
}
.si-public a {
    color: #dfb56c;
    text-decoration: none;
}
.si-public a:hover {
    color: #ffe1a6;
    text-decoration: underline;
}
button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}
button {
    cursor: pointer;
}
button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
    filter: alpha(opacity=55);
}
[hidden] {
    display: none !important;
}
h1, h2, h3, p {
    margin-top: 0;
}
.si-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
    white-space: nowrap;
}

/* ==========================================================================
   前台专属视觉体系（body.si-public）
   ========================================================================== */
body.si-public {
    background-color: #080f1a;
    background-image: -webkit-radial-gradient(50% 120px, circle, #142236 0%, #080f1a 80%);
    background-image: radial-gradient(circle at 50% 120px, #142236 0%, #080f1a 80%);
    color: #c5d4e5;
    min-width: 320px;
}

.si-wrap {
    width: 1100px;
    max-width: 96%;
    margin-left: auto;
    margin-right: auto;
}

/* 顶部导航 */
.si-public .si-topbar {
    background-color: #0b1421;
    border-bottom: 2px solid #8e6827;
    height: 56px;
    line-height: 56px;
}
.si-brand {
    float: left;
    font-size: 20px;
    font-weight: bold;
    color: #f2ce7f;
    letter-spacing: 2px;
    text-decoration: none;
}
.si-brand:hover {
    color: #fff;
    text-decoration: none;
}
.si-brand-sub {
    font-size: 11px;
    color: #7b8ea5;
    font-weight: normal;
    margin-left: 10px;
    padding-left: 10px;
    border-left: 1px solid #24374f;
    letter-spacing: 1px;
}
.si-nav {
    float: right;
}
.si-nav a {
    display: inline-block;
    *display: inline;
    *zoom: 1;
    color: #9cb1c9;
    padding: 0 16px;
    font-size: 13px;
    text-decoration: none;
}
.si-nav a:hover,
.si-nav a.si-active {
    color: #f3cf7a;
    font-weight: bold;
    text-decoration: none;
}

/* 活动 Banner 横幅 */
.si-hero {
    background: #08111e url('/assets/banner2.png') no-repeat center top;
    background-size: cover;
    border-bottom: 3px solid #856122;
    padding: 38px 0 42px;
    position: relative;
}
.si-hero:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background: -webkit-linear-gradient(left, rgba(8,16,28,0.92) 0%, rgba(8,16,28,0.85) 60%, rgba(8,16,28,0.7) 100%);
    background: linear-gradient(to right, rgba(8,16,28,0.92) 0%, rgba(8,16,28,0.85) 60%, rgba(8,16,28,0.7) 100%);
    z-index: 1;
}
.si-hero-inner {
    position: relative;
    z-index: 2;
}
.si-hero-badge {
    display: inline-block;
    *display: inline;
    *zoom: 1;
    background: #2b1f0e;
    border: 1px solid #a87e35;
    color: #f5d487;
    font-size: 11px;
    padding: 2px 10px;
    border-radius: 2px;
    font-weight: bold;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}
.si-hero-title {
    font-size: 30px;
    font-weight: bold;
    color: #ffffff;
    margin: 0 0 8px;
    letter-spacing: 1.5px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.85);
}
.si-hero-desc {
    color: #b5c7dc;
    font-size: 13px;
    max-width: 620px;
    margin: 0 0 16px;
    line-height: 1.65;
}
.si-hero-tags {
    margin-top: 6px;
}
.si-hero-tag {
    display: inline-block;
    *display: inline;
    *zoom: 1;
    background: rgba(14, 25, 42, 0.85);
    border: 1px solid #364e70;
    color: #d1dfef;
    padding: 3px 12px;
    border-radius: 2px;
    font-size: 12px;
    margin-right: 8px;
    letter-spacing: 0.5px;
}

/* 主内容布局（纯兼容左右浮动双栏） */
main.si-layout,
.si-layout,
#signin-app {
    display: block !important;
    width: 1100px !important;
    max-width: 96% !important;
    margin-top: 24px !important;
    margin-bottom: 40px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    clear: both;
    *zoom: 1;
}
.si-col-main {
    float: left;
    width: 68%;
}
.si-col-side {
    float: right;
    width: 30%;
}

/* 游戏面板容器 & 金石四角装裱 */
.si-panel {
    position: relative;
    background: #0f1929;
    border: 1px solid #755524;
    border-radius: 2px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.6), inset 0 0 0 1px #1d2c42;
    padding: 20px;
    margin-bottom: 20px;
}
.si-corner {
    position: absolute;
    width: 6px;
    height: 6px;
    border-color: #dcb060;
    border-style: solid;
    z-index: 2;
}
.si-corner-tl { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.si-corner-tr { top: -1px; right: -1px; border-width: 2px 2px 0 0; }
.si-corner-bl { bottom: -1px; left: -1px; border-width: 0 0 2px 2px; }
.si-corner-br { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }

.si-eyebrow {
    font-size: 11px;
    color: #dcb060;
    letter-spacing: 1.5px;
    font-weight: bold;
    margin: 0 0 5px;
}
.si-title-rpg {
    font-size: 18px;
    color: #f3f7fb;
    margin: 0 0 16px;
    font-weight: bold;
    border-left: 3px solid #dcb060;
    padding-left: 9px;
    line-height: 1.2;
    text-shadow: 0 1px 3px rgba(0,0,0,0.7);
}

/* 月份导航控制器 */
.si-panel-heading {
    margin-bottom: 14px;
    border-bottom: 1px solid #1c2b40;
    padding-bottom: 12px;
}
.si-heading-left {
    float: left;
}
.si-heading-left .si-title-rpg {
    margin-bottom: 0;
}
.si-month-controls {
    float: right;
    margin-top: 4px;
}
.si-btn-month {
    background: #132238;
    border: 1px solid #334b6e;
    color: #cad8e8;
    font-size: 12px;
    padding: 5px 9px;
    cursor: pointer;
    border-radius: 2px;
}
.si-btn-month:hover {
    background: #1c314f;
    border-color: #dcb060;
    color: #fff;
}
.si-btn-month .si-icon-inline {
    display: inline-block;
    width: 12px;
    height: 12px;
    vertical-align: middle;
    margin-top: -2px;
}
.si-btn-month .si-arrow-prev {
    margin-right: 2px;
}
.si-btn-month .si-arrow-next {
    margin-left: 2px;
}
.si-month-controls input {
    background: #09121e;
    border: 1px solid #334b6e;
    color: #f1f5fa;
    padding: 4px 6px;
    font-size: 12px;
    border-radius: 2px;
    max-width: 135px;
    vertical-align: middle;
}
.si-btn-today {
    background: #8b6324;
    background: -webkit-linear-gradient(top, #9c712d 0%, #7d571d 100%);
    background: linear-gradient(to bottom, #9c712d 0%, #7d571d 100%);
    border: 1px solid #cca154;
    color: #ffffff;
    font-size: 12px;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 2px;
    margin-left: 4px;
    font-weight: bold;
}
.si-btn-today:hover {
    background: #a97c33;
    border-color: #ffd883;
}

/* 签到进度 */
.si-progress-box {
    margin-bottom: 16px;
}
.si-progress-heading {
    font-size: 12px;
    color: #92a7bf;
}
.si-progress-text {
    float: left;
}
.si-progress-text strong {
    color: #f3cf7a;
    font-size: 16px;
    margin: 0 3px;
}
.si-server-date {
    float: right;
    color: #6d84a0;
    font-size: 11px;
}
.si-progress {
    height: 6px;
    background: #08101b;
    border: 1px solid #1a293e;
    border-radius: 3px;
    overflow: hidden;
    margin-top: 8px;
    clear: both;
}
.si-progress span {
    display: block;
    height: 100%;
    width: 0;
    background: #dcb060;
    background: -webkit-linear-gradient(left, #936b28 0%, #f6d288 50%, #936b28 100%);
    background: linear-gradient(to right, #936b28 0%, #f6d288 50%, #936b28 100%);
}

/* 星期表头 */
.si-weekdays {
    width: 100%;
    border-bottom: 1px solid #1c2c42;
    margin-bottom: 6px;
    padding-bottom: 5px;
}
.si-weekday-col {
    float: left;
    width: 14.2857%;
    text-align: center;
    font-size: 12px;
    color: #8397af;
    font-weight: bold;
    line-height: 20px;
}
.si-weekday-sun,
.si-weekday-sat {
    color: #dcb060;
}

/* ==========================================================================
   道具与装备图标规范（支持 IE9+，高分辨率 PNG 按显示尺寸平滑采样）
   ========================================================================== */
.si-item-icon {
    position: relative;
    display: inline-block;
    *display: inline;
    *zoom: 1;
    vertical-align: middle;
    text-align: center;
    background: #09121d;
    background: -webkit-linear-gradient(top, #0d1726 0%, #060c14 100%);
    background: linear-gradient(to bottom, #0d1726 0%, #060c14 100%);
    border: 1px solid #6b4e23;
    border-radius: 3px;
    box-sizing: border-box;
    overflow: hidden;
    box-shadow: inset 0 0 6px rgba(0,0,0,0.85), 0 2px 5px rgba(0,0,0,0.45);
}
.si-item-icon.is-loaded .si-icon-placeholder {
    display: none !important;
}
.si-icon-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    color: #486180;
    font-size: 18px;
    text-shadow: 0 1px 2px #000;
}
.si-icon-img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    border: 0;
    /* API 已生成经过锐化的高分辨率 PNG，避免像素化缩小丢失细节。 */
    -ms-interpolation-mode: bicubic;
    image-rendering: auto;
    object-fit: contain;
    pointer-events: none;
}
/* 日历卡片中的道具大图标（提升至 50px × 50px） */
.si-icon-calendar {
    width: 50px;
    height: 50px;
    line-height: 48px;
    margin: 1px auto 0;
}
.si-icon-calendar .si-icon-placeholder {
    line-height: 48px;
    font-size: 20px;
}
/* 道具插槽角标（右下角数量） */
.si-slot-qty {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 2;
    background: #091018;
    background: rgba(6, 12, 20, 0.9);
    border-top: 1px solid #7d5a23;
    border-left: 1px solid #7d5a23;
    border-radius: 3px 0 0 0;
    color: #ffd883;
    font-size: 11px;
    font-weight: bold;
    font-family: Tahoma, Arial, sans-serif;
    padding: 0 4px;
    line-height: 14px;
    height: 14px;
    text-shadow: 0 1px 2px #000;
    box-sizing: border-box;
}
/* 多项奖励标记：完整道具列表由悬停气泡展示，保持日历高度不变。 */
.si-public .si-slot-count {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    padding: 0 3px;
    height: 15px;
    line-height: 14px;
    background: #4f391c;
    border-right: 1px solid #ba8e3a;
    border-bottom: 1px solid #ba8e3a;
    border-radius: 2px 0 3px 0;
    color: #ffe1a6;
    font-size: 10px;
    font-weight: bold;
}
/* 气泡挂在 body 下，避免被日历滚动容器和卡片裁切。 */
.si-public .si-reward-tooltip {
    display: none;
    position: fixed;
    z-index: 1000;
    width: 300px;
    padding: 12px;
    border: 1px solid #a67b35;
    border-radius: 5px;
    background: #0c1726;
    background: linear-gradient(to bottom, #16243a 0%, #0c1726 100%);
    color: #d5e2f0;
    box-shadow: 0 8px 28px rgba(0,0,0,0.65), inset 0 1px 0 rgba(255,225,166,0.1);
    font-size: 12px;
    line-height: 1.5;
    text-align: left;
}
.si-public .si-tooltip-title {
    padding-bottom: 8px;
    border-bottom: 1px solid #624b2b;
    color: #ffe1a6;
    font-size: 13px;
    font-weight: bold;
}
.si-public .si-tooltip-list {
    max-height: 420px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
}
.si-public .si-tooltip-reward {
    padding: 9px 3px 9px 0;
    border-bottom: 1px solid #23354b;
}
.si-public .si-tooltip-reward:last-child {
    border-bottom: 0;
}
.si-public .si-icon-tooltip {
    float: left;
    width: 40px;
    height: 40px;
    line-height: 38px;
    margin-right: 10px;
}
.si-public .si-icon-tooltip .si-icon-placeholder {
    line-height: 38px;
}
.si-public .si-tooltip-copy {
    overflow: hidden;
}
.si-public .si-tooltip-name {
    color: #e2ecf8;
    word-wrap: break-word;
}
.si-public .si-tooltip-qty {
    margin-top: 2px;
    color: #ffd883;
    font-weight: bold;
}
.si-public .si-tooltip-hint {
    margin: 7px 0 0;
    color: #9fb3cd;
    font-size: 11px;
    word-wrap: break-word;
}
/* 奖励明细列表中的道具大图标（提升至 56px × 56px） */
.si-icon-detail {
    width: 56px;
    height: 56px;
    line-height: 54px;
    float: left;
    margin-right: 12px;
}
.si-icon-detail .si-icon-placeholder {
    line-height: 54px;
    font-size: 22px;
}
/* 品级颜色与游戏 data/local/zhCN/tip/item_tip.lua、equip_tip.lua 的 quality_color 一致。 */
.si-public .si-item-icon[data-quality="0"] { border-color: #ffffff; }
.si-public .si-item-icon[data-quality="1"] { border-color: #fff717; }
.si-public .si-item-icon[data-quality="2"] { border-color: #05ff00; }
.si-public .si-item-icon[data-quality="3"] { border-color: #00a2ff; }
.si-public .si-item-icon[data-quality="4"] { border-color: #ff7800; }
.si-public .si-item-icon[data-quality="5"] { border-color: #9932cd; }
.si-public .si-item-icon[data-quality="6"] { border-color: #ff80c0; }
.si-public .si-item-icon[data-quality="255"] { border-color: #8d8d8d; }

/* 日历滚动容器（PC端保持 100% 满宽，移动端专属横滑大卡视口） */
.si-calendar-scrollbox {
    width: 100%;
}
.si-calendar-inner {
    width: 100%;
}
.si-scroll-hint {
    display: none;
}

/* 7 列日历宫格（严格固定高度与百分比浮动，防折行防错位） */
.si-calendar {
    width: 100%;
}
.si-day-cell {
    float: left;
    width: 14.2857%;
    padding: 3px;
    box-sizing: border-box;
    height: 146px;
}
.si-day-cell.si-row-first,
.si-day-cell:nth-child(7n+1) {
    clear: left !important;
}
.si-day-cell.si-day-empty {
    height: 146px;
    visibility: hidden;
}

/* 道具卡片（端游玄铁金石微卡，高度严格固定 138px，overflow: hidden） */
.si-day {
    display: block;
    width: 100%;
    height: 138px;
    max-height: 138px;
    padding: 5px 3px 4px;
    background: #0e1726;
    background: -webkit-linear-gradient(top, #131e30 0%, #0c1421 100%);
    background: linear-gradient(to bottom, #131e30 0%, #0c1421 100%);
    border: 1px solid #23354b;
    border-radius: 3px;
    text-align: center;
    position: relative;
    cursor: pointer;
    color: #c4d3e4;
    outline: none;
    overflow: hidden;
    box-sizing: border-box;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 2px 5px rgba(0,0,0,0.45);
    -webkit-transition: border-color 0.15s, background 0.15s;
    transition: border-color 0.15s, background 0.15s;
}
.si-day:hover,
.si-day:focus {
    border-color: #ba8e3a;
    background: #15263d;
    box-shadow: 0 0 6px rgba(186, 142, 58, 0.35);
}
.si-day.is-selected {
    border-color: #ffd883 !important;
    background: #172b46 !important;
    box-shadow: 0 0 10px rgba(255, 216, 131, 0.45), inset 0 0 8px rgba(255, 216, 131, 0.15) !important;
}
.si-day-top {
    height: 16px;
    line-height: 16px;
    position: relative;
    margin-bottom: 2px;
}
.si-day-number {
    float: left;
    font-size: 13px;
    font-weight: bold;
    color: #8da4bf;
    line-height: 16px;
    padding-left: 2px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.8);
}
.si-tag-today {
    position: absolute;
    right: -3px;
    top: -5px;
    background: #9d1c1c;
    background: -webkit-linear-gradient(top, #c0392b 0%, #881616 100%);
    background: linear-gradient(to bottom, #c0392b 0%, #881616 100%);
    border: 1px solid #f39c12;
    color: #ffffff;
    font-size: 9px;
    padding: 0 4px;
    border-radius: 0 2px 0 3px;
    font-weight: bold;
    line-height: 14px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.6);
}
.si-day-slot {
    margin: 1px 0 2px;
    height: 74px;
    overflow: hidden;
}
.si-day-reward {
    display: block;
    font-size: 11px;
    color: #d5e2f0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    margin-top: 3px;
    line-height: 15px;
    height: 15px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.8);
}
.si-reward-empty {
    color: #495e78;
}
.si-day-state {
    display: block;
    font-size: 11px;
    color: #5d7490;
    margin-top: 2px;
    line-height: 15px;
    height: 15px;
}

/* 状态修饰：今日（耀金流光） */
.si-day[data-state=today] {
    border-color: #e5b34e !important;
    background: #17273e !important;
    background: -webkit-linear-gradient(top, #1d314d 0%, #101e30 100%) !important;
    background: linear-gradient(to bottom, #1d314d 0%, #101e30 100%) !important;
    box-shadow: inset 0 0 10px rgba(229,179,78,0.25), 0 0 8px rgba(229,179,78,0.35) !important;
}
.si-day[data-state=today] .si-day-number {
    color: #ffd883 !important;
    font-size: 14px;
}
.si-day[data-state=today] .si-day-reward {
    color: #ffe6a6 !important;
    font-weight: bold;
}
.si-day[data-state=today] .si-day-state {
    color: #ffd883 !important;
    font-weight: bold;
}

/* 状态修饰：已签到（古风朱砂盖章覆盖，隐藏底部重复文本，红印防叠字） */
.si-day[data-state=signed] {
    background: #0b1420 !important;
    border-color: #1a2f26 !important;
}
.si-day[data-state=signed] .si-day-state {
    display: block !important;
    visibility: hidden !important;
}
.si-day[data-state=signed] .si-day-reward {
    color: #7b9488 !important;
}
.si-day[data-state=signed] .si-day-number {
    color: #5c756a !important;
}
/* 状态仅淡化图标内容，外框保持游戏品级色。 */
.si-day[data-state=signed] .si-item-icon > * {
    opacity: 0.85;
    filter: alpha(opacity=85);
}
.si-stamp-signed {
    position: absolute;
    right: 5px;
    bottom: 5px;
    z-index: 4;
    display: block;
    border: 2px solid #bd2719;
    color: #ea5444;
    background: #1e0909;
    background: rgba(189, 39, 25, 0.28);
    box-shadow: 0 0 4px rgba(189, 39, 25, 0.4), inset 0 0 4px rgba(189, 39, 25, 0.2);
    font-size: 11px;
    font-weight: bold;
    padding: 1px 6px;
    border-radius: 2px;
    letter-spacing: 1.5px;
    line-height: 14px;
    pointer-events: none;
    -webkit-transform: rotate(-10deg);
    -ms-transform: rotate(-10deg);
    transform: rotate(-10deg);
}

/* 状态修饰：已错过 / 未开放 */
.si-day[data-state=missed] {
    background: #090e17 !important;
    border-color: #172230 !important;
    color: #4a5a6e;
}
.si-day[data-state=missed] .si-day-number {
    color: #4a5a6e;
}
.si-day[data-state=missed] .si-day-reward {
    color: #55677e;
}
.si-day[data-state=missed] .si-day-state {
    color: #445366;
}
.si-day[data-state=missed] .si-item-icon > * {
    opacity: 0.6;
    filter: alpha(opacity=60);
}
.si-day[data-state=upcoming],
.si-day[data-state=closed],
.si-day[data-state=unconfigured] {
    background: #0b131e;
    border-color: #1a2737;
    color: #55677d;
}

/* 底部图例 */
.si-legend {
    border-top: 1px solid #1c2b40;
    margin-top: 14px;
    padding-top: 12px;
    font-size: 11px;
    color: #7b91ab;
}
.si-legend-item {
    display: inline-block;
    *display: inline;
    *zoom: 1;
    margin-right: 14px;
}
.si-dot {
    display: inline-block;
    *display: inline;
    *zoom: 1;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 5px;
    vertical-align: middle;
}
.si-dot-gold { background: #dcb060; }
.si-dot-green { background: #27ae60; }
.si-dot-gray { background: #4a5c72; }
.si-legend-tip {
    float: right;
    color: #8298b2;
}

/* ==========================================================================
   侧边栏账号控制台（MMORPG 人物名牌、角色指派与金石大按钮）
   ========================================================================== */
.si-account-panel {
    background: #0e1726;
    background: -webkit-linear-gradient(top, #121c2c 0%, #0b131f 100%);
    background: linear-gradient(to bottom, #121c2c 0%, #0b131f 100%);
}

/* 登录表单（玄铁通行令验证风格） */
.si-form-login {
    margin-top: 4px;
}
.si-login-intro {
    background: #070e17;
    border: 1px solid #1c2e42;
    border-radius: 2px;
    padding: 7px 10px;
    margin-bottom: 14px;
    font-size: 12px;
    color: #8fa7c3;
    line-height: 1.4;
}
.si-login-intro-icon {
    color: #dfb35f;
    font-weight: bold;
    margin-right: 4px;
}
.si-form-item {
    margin-bottom: 13px;
}
.si-form-item label {
    display: block;
    font-size: 12px;
    color: #b5c9de;
    margin-bottom: 5px;
    font-weight: bold;
    letter-spacing: 0.5px;
}
.si-input-box input {
    width: 100%;
    height: 38px;
    line-height: 38px;
    background: #070e17;
    border: 1px solid #253952;
    color: #ffffff;
    padding: 0 12px;
    font-size: 13px;
    border-radius: 2px;
    outline: none;
    box-sizing: border-box;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.7);
    -webkit-transition: border-color 0.15s;
    transition: border-color 0.15s;
}
.si-input-box input:focus {
    border-color: #dcb060;
    box-shadow: 0 0 6px rgba(220,176,96,0.35), inset 0 1px 3px rgba(0,0,0,0.8);
}
.si-login-note {
    font-size: 11px;
    color: #617891;
    margin: 10px 0 0;
    text-align: center;
    line-height: 1.4;
}

/* 登录成功后的账号信息栏（.si-account-card） */
.si-account-card {
    background: #0a1320;
    background: -webkit-linear-gradient(top, #101c2d 0%, #08111c 100%);
    background: linear-gradient(to bottom, #101c2d 0%, #08111c 100%);
    border: 1px solid #6b4e23;
    border-radius: 3px;
    padding: 10px 14px;
    margin-bottom: 14px;
    position: relative;
    box-shadow: inset 0 0 8px rgba(0,0,0,0.75), 0 3px 8px rgba(0,0,0,0.45);
    *zoom: 1;
}
.si-account-card:before,
.si-account-card:after {
    content: " ";
    display: table;
}
.si-account-card:after {
    clear: both;
}
.si-account-info {
    float: left;
    max-width: 195px;
}
.si-account-label {
    display: block;
    font-size: 11px;
    color: #8da4bf;
    line-height: 1.3;
    margin-bottom: 2px;
    letter-spacing: 0.5px;
}
.si-account-val {
    font-size: 15px;
    font-weight: bold;
    color: #f3cf7a;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 1px 2px rgba(0,0,0,0.8);
    line-height: 20px;
}
.si-btn-logout {
    float: right;
    margin-top: 5px;
    background: #0d1826;
    border: 1px solid #4a381f;
    color: #c4b087;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 2px;
    cursor: pointer;
    line-height: 1.3;
}
.si-btn-logout:hover {
    border-color: #dcb060;
    color: #ffe4a6;
    background: #14253a;
}

/* 角色指派卡（.si-role-card） */
.si-role-card {
    background: #08111d;
    border: 1px solid #1c2e43;
    border-radius: 3px;
    padding: 12px 12px 8px;
    margin-bottom: 14px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.6);
}
.si-role-head {
    *zoom: 1;
    margin-bottom: 7px;
}
.si-role-head:before,
.si-role-head:after {
    content: " ";
    display: table;
}
.si-role-head:after {
    clear: both;
}
.si-role-lbl {
    float: left;
    font-size: 12px;
    font-weight: bold;
    color: #d2e1ef;
}
.si-role-tip {
    float: right;
    font-size: 11px;
    color: #dfb35f;
}
.si-select-wrap select {
    width: 100%;
    height: 38px;
    background: #0b1420;
    border: 1px solid #2b4363;
    color: #f3cf7a;
    font-size: 14px;
    font-weight: bold;
    padding: 0 10px;
    border-radius: 2px;
    outline: none;
    box-sizing: border-box;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.6);
}
.si-select-wrap select:focus {
    border-color: #dcb060;
    box-shadow: 0 0 6px rgba(220,176,96,0.3);
}
.si-help {
    font-size: 11px;
    color: #778eab;
    line-height: 1.55;
    margin: 8px 0 2px;
}

/* 签到大按钮与操作区（.si-claim-action-box） */
.si-claim-action-box {
    margin-top: 14px;
}
.si-btn-primary {
    display: block;
    width: 100%;
    background: #a8792c;
    background: -webkit-linear-gradient(top, #d3a44d 0%, #946820 100%);
    background: linear-gradient(to bottom, #d3a44d 0%, #946820 100%);
    border: 1px solid #f6d184;
    color: #1f1402;
    font-weight: bold;
    font-size: 15px;
    padding: 11px 0;
    text-align: center;
    cursor: pointer;
    border-radius: 2px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.4);
    text-shadow: 0 1px 0 rgba(255,255,255,0.45);
    letter-spacing: 1.5px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}
.si-btn-primary:hover:not(:disabled) {
    background: #ba8a38;
    background: -webkit-linear-gradient(top, #e4ba69 0%, #a4762c 100%);
    background: linear-gradient(to bottom, #e4ba69 0%, #a4762c 100%);
    border-color: #ffefa8;
    box-shadow: 0 4px 12px rgba(211,164,77,0.4);
}
.si-btn-primary:active:not(:disabled) {
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.7);
}
.si-btn-claim {
    font-size: 16px;
    padding: 12px 0;
}
/* 已签到禁用态保持高辨识度游戏青玄感 */
.si-btn-claim:disabled {
    background: #0f1c24 !important;
    background: -webkit-linear-gradient(top, #14252e 0%, #0b151b 100%) !important;
    background: linear-gradient(to bottom, #14252e 0%, #0b151b 100%) !important;
    border-color: #214f3c !important;
    color: #52c28d !important;
    box-shadow: inset 0 0 6px rgba(0,0,0,0.6) !important;
    text-shadow: none !important;
    cursor: default !important;
    opacity: 0.95 !important;
    filter: none !important;
}
.si-btn-primary:disabled:not(.si-btn-claim) {
    background: #1c2837 !important;
    border-color: #2e3f53 !important;
    color: #55677c !important;
    box-shadow: none !important;
    text-shadow: none !important;
    cursor: not-allowed !important;
}

.si-btn-refresh {
    display: block;
    width: 100%;
    background: transparent;
    border: 0;
    color: #7992ae;
    font-size: 12px;
    padding: 8px 0;
    text-align: center;
    cursor: pointer;
    text-decoration: underline;
    margin-top: 4px;
}
.si-btn-refresh:hover {
    color: #dfb35f;
}
.si-btn-refresh-img {
    display: inline-block;
    width: 13px;
    height: 13px;
    vertical-align: middle;
    margin-right: 5px;
    margin-top: -2px;
    -webkit-transition: -webkit-transform 0.35s ease;
    transition: transform 0.35s ease;
}
.si-btn-refresh:hover .si-btn-refresh-img {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}
.si-btn-inline-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-right: 5px;
    margin-top: -2px;
}
.si-account-note {
    font-size: 11px;
    color: #5a6e85;
    text-align: center;
    margin: 14px 0 0;
}

/* 提示条 */
.si-message {
    padding: 8px 10px;
    border-radius: 2px;
    font-size: 12px;
    margin-bottom: 12px;
    line-height: 1.4;
    border: 1px solid #2b4b73;
    background: #0d2137;
    color: #89c4fc;
}
.si-message[data-type=error],
.si-warning {
    background: #2d1414;
    border-color: #6b2828;
    color: #ff9191;
}
.si-message[data-type=success] {
    background: #102a1e;
    border-color: #216343;
    color: #61de9f;
}

/* 奖励明细列表 */
.si-detail-list .si-reward-line {
    border-bottom: 1px solid #1a293c;
    padding: 8px 0;
    *zoom: 1;
}
.si-detail-list .si-reward-line:last-child {
    border-bottom: none;
}
.si-detail-list .si-reward-line:after {
    content: "";
    display: table;
    clear: both;
}
.si-detail-list .si-item-icon {
    float: left;
    margin-right: 10px;
}
.si-reward-copy {
    overflow: hidden;
}
.si-detail-name {
    font-size: 13px;
    font-weight: bold;
    color: #f3cf7a;
}
.si-detail-meta {
    font-size: 11px;
    color: #859bb3;
    margin: 2px 0 4px;
}
.si-badge {
    display: inline-block;
    *display: inline;
    *zoom: 1;
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 2px;
    background: #18283d;
    color: #8da4bf;
}
.si-badge[data-status=delivered] {
    background: #123423;
    border: 1px solid #26714a;
    color: #55dca0;
}
.si-badge[data-status=review] {
    background: #36240d;
    border: 1px solid #734d1b;
    color: #e6a753;
}

/* 签到规则面板 */
.si-rules-title {
    font-size: 13px;
    color: #dcb060;
    margin: 0 0 8px;
    border-bottom: 1px solid #1c2b40;
    padding-bottom: 6px;
}
.si-rules-list {
    margin: 0;
    padding-left: 18px;
    color: #7b91ab;
    font-size: 12px;
    line-height: 1.8;
}
.si-rules-list li {
    margin-bottom: 4px;
}

/* 页脚 */
.si-footer {
    border-top: 1px solid #19273a;
    background: #08101a;
    text-align: center;
    padding: 24px 15px 30px;
    color: #637790;
    font-size: 11px;
}
.si-footer-sub {
    color: #4a5c71;
    margin-top: 5px;
}
.si-empty {
    text-align: center;
    color: #6d84a0;
    padding: 40px 10px;
    font-size: 13px;
    grid-column: 1 / -1;
    width: 100%;
    box-sizing: border-box;
}
.si-muted {
    color: #6d84a0;
}

/* ==========================================================================
   响应式模态弹窗外壳（PC端为纯透明流式容器，移动端转为全屏居中弹窗）
   ========================================================================== */
.si-modal-layer {
    display: block;
    position: static;
}
.si-modal-backdrop {
    display: none;
}
.si-modal-close {
    display: none;
}
.si-modal-dialog {
    display: block;
    position: static;
    margin: 0;
    padding: 0;
}
.si-mobile-action-bar {
    display: none !important;
}

/* ==========================================================================
   前台公开签到页面响应式与移动端专属适配
   ========================================================================== */
@media (max-width: 860px) {
    body.si-modal-open {
        overflow: hidden !important;
    }

    main.si-layout,
    .si-layout,
    #signin-app,
    .si-wrap {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 10px !important;
    }
    .si-col-main { float: none !important; width: 100% !important; }
    .si-col-side { float: none !important; width: 100% !important; margin-top: 16px !important; }
    .si-panel { padding: 14px !important; }
    .si-hero { padding: 22px 0 26px !important; }
    .si-hero-title { font-size: 22px !important; }
    .si-hero-desc { font-size: 12px !important; }
    .si-hero-tag { font-size: 11px !important; padding: 2px 8px !important; margin-bottom: 4px !important; }

    /* 移动端专属快捷签到条 */
    .si-mobile-action-bar {
        display: block !important;
        margin: 10px 0 12px !important;
    }
    .si-mobile-sign-btn {
        display: block;
        width: 100%;
        box-sizing: border-box;
        padding: 11px 16px;
        background: #17273e;
        background: -webkit-linear-gradient(left, #1d3350 0%, #112033 100%);
        background: linear-gradient(to right, #1d3350 0%, #112033 100%);
        border: 1px solid #c89e47;
        border-radius: 4px;
        color: #ffd883;
        font-size: 14px;
        font-weight: bold;
        text-align: left;
        cursor: pointer;
        outline: none;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 3px 8px rgba(0,0,0,0.5), 0 0 10px rgba(200,158,71,0.25);
        -webkit-transition: all 0.2s;
        transition: all 0.2s;
        position: relative;
        line-height: 20px;
    }
    .si-mobile-sign-btn:active {
        background: #101c2c;
        border-color: #ffd883;
        box-shadow: 0 0 12px rgba(255,216,131,0.4);
    }
    .si-mobile-sign-icon {
        display: inline-block;
        margin-right: 8px;
        vertical-align: middle;
        line-height: 1;
    }
    .si-mobile-sign-icon-img {
        display: inline-block;
        width: 20px;
        height: 20px;
        vertical-align: middle;
        margin-top: -2px;
    }
    .si-mobile-sign-text {
        vertical-align: middle;
        letter-spacing: 0.5px;
    }
    .si-mobile-sign-arrow {
        float: right;
        display: inline-block;
        line-height: 20px;
    }
    .si-mobile-sign-arrow-img {
        display: inline-block;
        width: 13px;
        height: 13px;
        vertical-align: middle;
        margin-top: -1px;
        opacity: 0.9;
    }
    .si-mobile-sign-btn.is-signed {
        border-color: #274b3a;
        background: #0d1a1b;
        color: #8dbb9c;
        box-shadow: none;
    }
    .si-mobile-sign-btn.is-signed .si-mobile-sign-arrow {
        color: #5d8a6e;
    }

    /* 移动端模态弹窗外壳（角色俸禄台、百宝箱预览收成弹框） */
    .si-modal-layer {
        display: none !important;
        position: fixed !important;
        left: 0 !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100% !important;
        z-index: 9999 !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding: 24px 12px !important;
        box-sizing: border-box !important;
    }
    .si-modal-layer.is-open {
        display: block !important;
    }
    .si-modal-backdrop {
        display: block !important;
        position: fixed !important;
        left: 0 !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: #02070e !important;
        background: rgba(3, 8, 15, 0.82) !important;
        z-index: 1 !important;
    }
    .si-modal-dialog {
        display: block !important;
        position: relative !important;
        z-index: 2 !important;
        width: 100% !important;
        max-width: 440px !important;
        margin: 20px auto 40px !important;
        box-sizing: border-box !important;
        -webkit-animation: si-modal-fadein 0.2s ease-out;
        animation: si-modal-fadein 0.2s ease-out;
    }
    @-webkit-keyframes si-modal-fadein {
        from { opacity: 0; -webkit-transform: scale(0.95) translateY(10px); }
        to { opacity: 1; -webkit-transform: scale(1) translateY(0); }
    }
    @keyframes si-modal-fadein {
        from { opacity: 0; transform: scale(0.95) translateY(10px); }
        to { opacity: 1; transform: scale(1) translateY(0); }
    }
    .si-modal-close {
        display: block !important;
        position: absolute !important;
        top: -12px !important;
        right: -8px !important;
        width: 32px !important;
        height: 32px !important;
        line-height: 28px !important;
        border-radius: 50% !important;
        background: #132236 !important;
        border: 2px solid #d4a754 !important;
        color: #ffd883 !important;
        text-align: center !important;
        cursor: pointer !important;
        z-index: 10 !important;
        outline: none !important;
        box-shadow: 0 3px 10px rgba(0,0,0,0.8), 0 0 8px rgba(212,167,84,0.4) !important;
        padding: 0 !important;
    }
    .si-modal-close-img {
        display: block;
        width: 14px;
        height: 14px;
        margin: 7px auto;
        opacity: 0.85;
        -webkit-transition: opacity 0.2s, -webkit-transform 0.2s;
        transition: opacity 0.2s, transform 0.2s;
    }
    .si-modal-close:hover .si-modal-close-img,
    .si-modal-close:active .si-modal-close-img {
        opacity: 1;
        -webkit-transform: scale(1.15);
        transform: scale(1.15);
    }
    .si-modal-close:active {
        background: #233b5c !important;
        color: #ffffff !important;
    }
    /* 弹窗内的面板样式强化 */
    .si-modal-layer .si-panel {
        margin: 0 !important;
        box-shadow: 0 8px 32px rgba(0,0,0,0.9), 0 0 20px rgba(212,167,84,0.2) !important;
        border: 1px solid #70552b !important;
        background: #0c1421 !important;
    }

    /* 移动端日历重构：取消横向滚动，隐藏星期标头，隐藏月初空白格，最少 4 列一行 */
    .si-scroll-hint {
        display: none !important;
    }
    .si-calendar-scrollbox {
        width: 100% !important;
        max-width: 100% !important;
        overflow: visible !important;
        overflow-x: visible !important;
        overflow-y: visible !important;
        -webkit-overflow-scrolling: auto !important;
        padding-bottom: 0 !important;
    }
    .si-calendar-inner {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }
    .si-weekdays {
        display: none !important;
    }
    .si-day-cell.si-day-empty {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .si-calendar {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        display: -webkit-flex !important;
        display: flex !important;
        -webkit-flex-wrap: wrap !important;
        flex-wrap: wrap !important;
    }
    .si-calendar:before,
    .si-calendar:after {
        display: none !important;
        content: none !important;
    }
    @supports (display: grid) {
        .si-calendar {
            display: grid !important;
            grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
            gap: 6px !important;
        }
    }
    @media (min-width: 600px) and (max-width: 860px) {
        @supports (display: grid) {
            .si-calendar {
                grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)) !important;
                gap: 6px !important;
            }
        }
    }
    .si-calendar .si-empty {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        max-width: 100% !important;
        -webkit-flex-basis: 100% !important;
        flex-basis: 100% !important;
        text-align: center !important;
        padding: 50px 12px !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        font-size: 13px !important;
        line-height: 22px !important;
        color: #8da4be !important;
    }
    .si-day-cell {
        width: 25% !important;
        padding: 3px !important;
        box-sizing: border-box !important;
        height: 130px !important;
        clear: none !important;
    }
    .si-day-cell.si-row-first,
    .si-day-cell:nth-child(7n+1),
    .si-day-cell:nth-child(4n+1) {
        clear: none !important;
    }
    @supports (display: grid) {
        .si-day-cell {
            width: 100% !important;
            padding: 0 !important;
            height: 126px !important;
            clear: none !important;
        }
    }
}

@media (max-width: 768px) {
    .si-public .si-topbar {
        height: 44px !important;
        line-height: 44px !important;
        padding: 0 !important;
    }
    .si-brand {
        display: none !important;
    }
    .si-nav {
        float: none !important;
        text-align: center !important;
        width: 100% !important;
    }
    .si-nav a {
        display: inline-block !important;
        *display: inline !important;
        *zoom: 1 !important;
        padding: 0 14px !important;
        font-size: 13px !important;
        line-height: 44px !important;
    }
}

@media (max-width: 520px) {

    .si-panel-heading { padding-bottom: 8px !important; margin-bottom: 10px !important; }
    .si-heading-left { float: none !important; }
    .si-month-controls { float: none !important; margin-top: 8px !important; }
    .si-month-controls input { max-width: 118px !important; }
    .si-btn-month, .si-btn-today { padding: 4px 6px !important; font-size: 11px !important; }

    .si-progress-box { margin-bottom: 10px !important; }
    .si-progress-text { font-size: 11px !important; }
    .si-server-date { font-size: 10px !important; }
    .si-scroll-hint {
        display: none !important;
    }

    /* 移动端竖屏（<=520px）严格固定最少 4 列一行，取消横向滚动 */
    .si-calendar-scrollbox {
        width: 100% !important;
        max-width: 100% !important;
        overflow: visible !important;
        overflow-x: visible !important;
        overflow-y: visible !important;
        -webkit-overflow-scrolling: auto !important;
        padding-bottom: 0 !important;
    }
    .si-calendar-scrollbox::-webkit-scrollbar {
        display: none !important;
        height: 0 !important;
    }
    .si-calendar-inner,
    .si-calendar {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }
    .si-weekdays {
        display: none !important;
    }
    .si-calendar:before,
    .si-calendar:after {
        display: none !important;
        content: none !important;
    }
    .si-day-cell.si-day-empty {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    @supports (display: grid) {
        .si-calendar {
            grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
            gap: 5px !important;
        }
    }
    .si-calendar .si-empty {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        max-width: 100% !important;
        -webkit-flex-basis: 100% !important;
        flex-basis: 100% !important;
        text-align: center !important;
        padding: 44px 10px !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        font-size: 13px !important;
        line-height: 22px !important;
        color: #8da4be !important;
    }

    /* 移动端 4 列卡片尺寸精调（单卡自适应宽度，高度 126px） */
    .si-day-cell {
        width: 25% !important;
        padding: 2px !important;
        height: 130px !important;
        clear: none !important;
    }
    .si-day-cell.si-row-first,
    .si-day-cell:nth-child(7n+1),
    .si-day-cell:nth-child(4n+1) {
        clear: none !important;
    }
    @supports (display: grid) {
        .si-day-cell {
            width: 100% !important;
            padding: 0 !important;
            height: 126px !important;
            clear: none !important;
        }
    }
    .si-day {
        height: 126px !important;
        max-height: 126px !important;
        overflow: hidden !important;
        padding: 4px 2px 3px !important;
    }
    .si-day-top {
        height: 15px !important;
        line-height: 15px !important;
        margin-bottom: 1px !important;
    }
    .si-day-number { font-size: 12px !important; line-height: 15px !important; }
    .si-tag-today { font-size: 8px !important; padding: 0 3px !important; line-height: 12px !important; top: -4px !important; right: -2px !important; }
    .si-day-slot { margin: 1px 0 2px !important; height: 66px !important; }
    .si-day .si-icon-calendar {
        width: 44px !important;
        height: 44px !important;
        line-height: 42px !important;
        margin: 1px auto 0 !important;
    }
    .si-day .si-icon-calendar .si-icon-placeholder {
        font-size: 18px !important;
        line-height: 42px !important;
    }
    .si-slot-qty {
        font-size: 10px !important;
        line-height: 13px !important;
        height: 13px !important;
        padding: 0 3px !important;
    }
    .si-slot-count {
        font-size: 9px !important;
        line-height: 12px !important;
        height: 12px !important;
        padding: 0 3px !important;
    }
    .si-day-reward {
        font-size: 11px !important;
        line-height: 15px !important;
        height: 15px !important;
        margin-top: 2px !important;
    }
    .si-day-state {
        font-size: 10px !important;
        line-height: 14px !important;
        height: 14px !important;
        margin-top: 2px !important;
    }
    .si-day[data-state=signed] .si-day-state {
        display: block !important;
        visibility: hidden !important;
    }
    .si-stamp-signed {
        position: absolute !important;
        right: 3px !important;
        bottom: 4px !important;
        font-size: 9px !important;
        padding: 1px 4px !important;
        line-height: 12px !important;
        -webkit-transform: rotate(-10deg) !important;
        -ms-transform: rotate(-10deg) !important;
        transform: rotate(-10deg) !important;
    }
    .si-icon-detail {
        width: 48px !important;
        height: 48px !important;
        line-height: 46px !important;
        margin-right: 10px !important;
    }

    .si-legend {
        font-size: 10px !important;
        padding-top: 8px !important;
        margin-top: 8px !important;
    }
    .si-legend-tip { float: none !important; display: block !important; margin-top: 4px !important; }

    /* 移动端触控优化 */
    .si-form-item input, .si-select-wrap select {
        padding: 10px !important;
        font-size: 15px !important;
    }
    .si-btn-primary {
        padding: 12px 0 !important;
        font-size: 15px !important;
    }
}
