/* v33 本周物资横向三栏 + 游戏工具站轻量配色 */
.v33-game-ui{
    --game-ink:#111827;
    --game-muted:#667085;
    --game-line:#d7dee8;
    --game-panel:#ffffff;
    --game-soft:#f5f7fb;
    --game-blue:#2563eb;
    --game-cyan:#0ea5e9;
    --game-amber:#f59e0b;
    background:
        radial-gradient(circle at 20% 0%, rgba(14,165,233,.08), transparent 28%),
        radial-gradient(circle at 80% 4%, rgba(245,158,11,.08), transparent 22%),
        #f6f8fb;
}
.weekly-v33-panel{
    position:relative;
    overflow:hidden;
    border:1px solid rgba(37,99,235,.12)!important;
    background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(250,252,255,.96))!important;
}
.weekly-v33-panel:before,
.weekly-preview-panel-v33:before{
    content:"";
    position:absolute;
    inset:0 0 auto 0;
    height:4px;
    background:linear-gradient(90deg, #2563eb, #0ea5e9 45%, #f59e0b);
}
.weekly-v33-head{align-items:flex-start!important}
.weekly-v33-head h2{display:flex;align-items:center;gap:10px}
.weekly-v33-head h2:before{
    content:"";
    width:10px;height:10px;border-radius:50%;
    background:#f59e0b;
    box-shadow:0 0 0 5px rgba(245,158,11,.13),0 0 18px rgba(245,158,11,.38);
}
.weekly-v33-head em{
    font-style:normal;
    padding:6px 10px;
    border-radius:999px;
    background:#eef6ff;
    color:#2563eb;
    font-size:12px;
    font-weight:900;
    border:1px solid #dbeafe;
}
.weekly-v33-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:14px;
}
.weekly-v33-card{
    position:relative;
    min-width:0;
    display:grid;
    grid-template-columns:92px minmax(0,1fr);
    gap:14px;
    align-items:center;
    padding:14px;
    border-radius:22px;
    background:
        linear-gradient(135deg,rgba(255,255,255,.94),rgba(247,250,255,.94)),
        radial-gradient(circle at 100% 0,rgba(245,158,11,.14),transparent 36%);
    border:1px solid #e2e8f0;
    box-shadow:0 14px 34px rgba(15,23,42,.06), inset 0 1px 0 rgba(255,255,255,.85);
    transition:.2s ease;
    overflow:hidden;
}
.weekly-v33-card:after{
    content:"";
    position:absolute;
    right:-34px;top:-34px;
    width:92px;height:92px;border-radius:50%;
    background:rgba(37,99,235,.06);
    pointer-events:none;
}
.weekly-v33-card:hover{
    transform:translateY(-2px);
    border-color:rgba(37,99,235,.24);
    box-shadow:0 20px 44px rgba(15,23,42,.09);
}
.weekly-v33-img{
    width:92px;height:92px;
    display:grid;place-items:center;
    border-radius:18px;
    background:linear-gradient(145deg,#eef2f7,#ffffff);
    border:1px solid #e5eaf2;
    overflow:hidden;
}
.weekly-v33-img img{
    width:100%;height:100%;object-fit:contain;
    padding:8px;
}
.weekly-v33-body{min-width:0;position:relative;z-index:1}
.weekly-v33-type{
    display:inline-flex;
    max-width:100%;
    color:#475569;
    background:#f1f5f9;
    border:1px solid #e2e8f0;
    border-radius:999px;
    padding:4px 9px;
    font-size:12px;
    font-weight:800;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.weekly-v33-card h3{
    margin:9px 0 10px;
    color:#111827;
    font-size:18px;
    line-height:1.25;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.weekly-v33-value{
    display:inline-flex;
    align-items:center;
    gap:7px;
    padding:7px 10px;
    border-radius:12px;
    background:linear-gradient(135deg,#fff7ed,#fffbeb);
    border:1px solid #fed7aa;
    color:#b45309;
    font-size:18px;
    font-weight:950;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.8);
}
.weekly-v33-value img{
    width:22px;height:22px;
    object-fit:contain;
    flex:none;
    filter:drop-shadow(0 2px 4px rgba(245,158,11,.22));
}
.weekly-v33-empty{grid-column:1/-1}
.craft-v33-panel{margin-top:16px!important}
.craft-v33-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}

/* 后台本周物资 */
.admin-weekly-v33 .admin-top{align-items:flex-start}
.admin-subtitle-v33{margin:8px 0 0;color:#64748b;line-height:1.6}
.weekly-setting-v33,.weekly-preview-panel-v33{position:relative;overflow:hidden}
.weekly-setting-preview-v33{
    display:flex;
    align-items:center;
    gap:10px;
    margin:4px 0 16px;
    padding:12px 14px;
    border-radius:16px;
    background:#f8fafc;
    border:1px solid #e2e8f0;
    width:max-content;
    max-width:100%;
}
.weekly-setting-preview-v33 span{color:#64748b;font-size:13px}
.weekly-setting-preview-v33 img,
.weekly-table-value-v33 img{width:24px;height:24px;object-fit:contain}
.weekly-setting-preview-v33 b{color:#b45309}
.weekly-current-img-v33{
    display:flex;align-items:center;gap:10px;
    margin:4px 0 14px;
    color:#64748b;
}
.weekly-current-img-v33 img{width:88px;height:58px;object-fit:contain;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc;padding:6px}
.weekly-table-img-v33{width:56px;height:40px;object-fit:contain;border-radius:8px;background:#f8fafc;border:1px solid #e2e8f0;padding:4px}
.weekly-table-value-v33{display:inline-flex;align-items:center;gap:6px;font-weight:900;color:#b45309}
.admin-form small{display:block;color:#64748b;font-size:12px;margin-top:6px;line-height:1.5}

@media(max-width:1050px){
    .weekly-v33-grid{grid-template-columns:1fr}
    .weekly-v33-card{grid-template-columns:86px minmax(0,1fr)}
    .craft-v33-list{grid-template-columns:1fr}
}
@media(max-width:640px){
    .weekly-v33-card{grid-template-columns:78px minmax(0,1fr);gap:12px;padding:12px;border-radius:18px}
    .weekly-v33-img{width:78px;height:78px;border-radius:15px}
    .weekly-v33-card h3{font-size:16px}
    .weekly-v33-value{font-size:16px;padding:6px 9px}
    .weekly-v33-head{display:block!important}
    .weekly-v33-head em{display:inline-flex;margin-top:8px}
}
