/* ============ 9E电竞价目表 复刻样式 ============ */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { font-size: 15px; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background: #EAE7F8 url('../img/watermark.jpg') center top / cover fixed no-repeat;
    color: #333;
}

/* ---------- 顶部导航（原站为透明悬浮，无白底） ---------- */
.topbar {
    position: absolute; top: 0; left: 50%; transform: translateX(-50%); z-index: 50;
    display: flex; align-items: center;
    width: 100%; max-width: 480px; height: 44px; padding: 0 12px;
}
.back-home {
    display: inline-flex; align-items: center;
    font-size: 14px; font-weight: 500; color: #7C5CFC;
    text-decoration: none; line-height: 1;
    text-shadow: 0 0 6px rgba(255,255,255,.8);
}
.back-arrow { font-size: 20px; margin-right: 2px; margin-top: -1px; }
.top-doc { font-size: 13px; color: #999; text-decoration: none; margin-left: 14px; text-shadow: 0 0 6px rgba(255,255,255,.8); }
.top-logo { margin-left: auto; height: 26px; width: auto; display: block; }

/* ---------- 页面容器 ---------- */
.page { max-width: 480px; margin: 0 auto; padding-top: 44px; }

/* ---------- 封面 ---------- */
.cover { margin: 0 10px; overflow: hidden; }
.cover img { display: block; width: 100%; }

/* ---------- 分区卡片 ---------- */
.card {
    margin: 12px 10px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(120, 90, 200, .10);
}
.card-header {
    display: flex; align-items: center; justify-content: center;
    padding: 10px 14px;
    background: linear-gradient(180deg, #B794F6 0%, #AC85F2 100%);
    color: #fff;
    font-size: 15px; font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    user-select: none;
    position: relative;
}
.card-header .arrow {
    position: absolute; right: 12px;
    font-size: 14px; opacity: .85;
    transition: transform .25s;
}
.card.collapsed .card-header .arrow { transform: rotate(-90deg); }
.card-body { background: #F4F2FB; padding: 18px 8px 20px; }
.card.collapsed .card-body { display: none; }

/* ---------- 图标宫格 ---------- */
.icon-grid {
    display: flex; flex-wrap: wrap;
    justify-content: flex-start;
    row-gap: 18px;
}
.icon-item { flex: 1 1 25%; max-width: 25%; min-width: 0; text-align: center; cursor: pointer; }
.icon-ring {
    width: 58px; height: 58px;
    margin: 0 auto;
    padding: 2px;
    border-radius: 50%;
    background: linear-gradient(135deg, #67E8F9 0%, #A78BFA 100%);
}
.icon-ring img {
    display: block; width: 100%; height: 100%;
    border-radius: 50%;
    border: 2px solid #fff;
    object-fit: cover;
    background: #fff;
}
.icon-label {
    margin-top: 8px;
    font-size: 14px; font-weight: 600; color: #3D3D4E;
    line-height: 1.3;
    white-space: nowrap;
}

/* ---------- 海报 ---------- */
.poster-img { display: block; width: 100%; border-radius: 8px; cursor: pointer; }
/* ---------- 文本块 ---------- */
.text-block { padding: 4px 12px 6px; }
.text-block p { font-size: 14px; line-height: 1.9; color: #4A4A5A; }
.text-gap { height: 8px; }

/* ---------- 页脚 ---------- */
.footer {
    text-align: center;
    padding: 18px 12px 30px;
    font-size: 12px; color: #A0A0B4;
}
.footer a { color: #8B7BD8; text-decoration: none; margin: 0 3px; }
.footer-sep { margin: 0 8px; color: #C8C4DC; }

/* ---------- 详情大图弹窗 ---------- */
.lightbox {
    display: none;
    position: fixed; inset: 0; z-index: 100;
    background: rgba(15, 10, 30, .9);
    align-items: center; justify-content: center;
    padding: 20px;
}
.lightbox.open { display: flex; }
.lightbox img {
    max-width: 94%; max-height: 88vh;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .5);
}
.lightbox-close {
    position: absolute; top: 14px; right: 20px;
    color: #fff; font-size: 34px; line-height: 1;
}

/* PC 端整体放大（zoom 按真实尺寸缩放布局，不影响移动端） */
@media (min-width: 768px) {
    html { font-size: 16px; }
    .page { max-width: 480px; zoom: 1.25; }
}
@media (min-width: 1280px) {
    .page { zoom: 1.5; }
}
@media (min-width: 1600px) {
    .page { zoom: 1.75; }
}
