/* 特别玩家盒子产品栏目 — 页面专属组件（基于官网 help.css 体系） */

/* ---------- Hero ---------- */
.box-hero {
    background: linear-gradient(135deg, #fff5eb 0%, #ffffff 60%, #fff 100%);
    border-bottom: 1px solid #e5e7eb;
}
.box-hero__eyebrow {
    display: inline-block;
    padding: .3rem .85rem;
    border-radius: 9999px;
    background: #ffe6cc;
    color: #cc6200;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .05em;
}
.box-hero__title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.2;
    color: #111827;
}
.box-hero__subtitle {
    font-size: clamp(1.6rem, 3.2vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.25;
    margin-top: .25rem;
}
.box-hero__lead {
    color: #6b7280;
    font-size: 1.0625rem;
    line-height: 1.8;
    max-width: 40rem;
}

/* ---------- 通用小组件 ---------- */
.box-kicker {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #ff7a00;
    margin-bottom: .5rem;
}
.box-section-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #111827;
    letter-spacing: -.01em;
}
.box-muted { color: #6b7280; }
.box-small { font-size: .875rem; }

.box-feature-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1.5rem;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}
.box-feature-card:hover {
    border-color: #ffb066;
    box-shadow: 0 8px 24px -8px rgba(255,122,0,.2);
    transform: translateY(-2px);
}
.box-feature-card__icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: .75rem;
    background: #fff5eb;
    color: #ff7a00;
    display: grid;
    place-items: center;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.box-pill {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .35rem .75rem;
    border-radius: 9999px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    font-size: .8rem;
    color: #4b5563;
}
.box-pill i { width: .5rem; height: .5rem; border-radius: 9999px; flex: none; }
.box-pill--ok i { background: #07c160; }
.box-pill--warn i { background: #f59e0b; }
.box-pill--off i { background: #9ca3af; }
.box-pill--new i { background: #ff7a00; }

/* ---------- 时间轴步骤 ---------- */
.box-steps { position: relative; display: grid; gap: .9rem; margin-top: 1.25rem; }
.box-steps::before {
    content: "";
    position: absolute;
    left: 1.05rem; top: 1.4rem; bottom: 1.4rem;
    width: 2px;
    background: linear-gradient(#ff7a00, #ffd0a0);
    opacity: .5;
}
.box-step {
    position: relative;
    display: grid;
    grid-template-columns: 2.25rem minmax(0, 1fr);
    gap: .9rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: .85rem;
    padding: 1rem 1.1rem;
}
.box-step__dot {
    position: relative;
    z-index: 1;
    width: 2.1rem; height: 2.1rem;
    border-radius: 9999px;
    background: #ff7a00;
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: .85rem;
    box-shadow: 0 0 0 4px #fff5eb;
}
.box-step h3 { font-size: 1rem; font-weight: 700; color: #111827; margin: .1rem 0 .35rem; }
.box-step p { font-size: .9rem; color: #4b5563; margin: 0; line-height: 1.75; }
.box-step__hint { display: block; margin-top: .4rem; font-size: .8rem; color: #9ca3af; }
.box-step code, .box-kbd {
    display: inline-block;
    padding: 0 .4rem;
    border: 1px solid #d1d5db;
    border-bottom-width: 2px;
    border-radius: .35rem;
    background: #fbfcfd;
    font-size: .82rem;
    color: #cc6200;
}

/* ---------- 表格 ---------- */
.box-table-wrap {
    overflow-x: auto;
    border: 1px solid #e5e7eb;
    border-radius: .85rem;
    background: #fff;
}
.box-table { width: 100%; border-collapse: collapse; font-size: .875rem; min-width: 34rem; }
.box-table th, .box-table td { padding: .8rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid #e5e7eb; }
.box-table thead th { background: #fff5eb; color: #cc6200; font-weight: 700; font-size: .8rem; }
.box-table tbody tr:last-child td { border-bottom: none; }
.box-table tbody tr:hover { background: #fffaf5; }
.box-table td strong { color: #111827; }

/* ---------- 名词解释 ---------- */
.box-term {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: .85rem;
    padding: .9rem 1.1rem;
}
.box-term dt { font-weight: 700; color: #cc6200; font-size: .9rem; }
.box-term dt small { display: block; font-weight: 400; color: #9ca3af; font-size: .72rem; margin-top: .15rem; }
.box-term dd { margin: .4rem 0 0; color: #4b5563; font-size: .875rem; line-height: 1.75; }

/* ---------- 安全须知 ---------- */
.box-safety { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.box-safety li {
    position: relative;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: .75rem;
    padding: .75rem 1rem .75rem 2.5rem;
    font-size: .875rem;
    color: #4b5563;
    line-height: 1.75;
}
.box-safety li::before {
    content: "!";
    position: absolute;
    left: .85rem; top: .8rem;
    width: 1.1rem; height: 1.1rem;
    border-radius: .35rem;
    background: #fff5eb;
    color: #cc6200;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: .7rem;
}
.box-safety li strong { color: #111827; }

/* ---------- FAQ ---------- */
.box-faq details {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: .75rem;
    margin-bottom: .6rem;
    overflow: hidden;
}
.box-faq summary {
    cursor: pointer;
    list-style: none;
    padding: .85rem 2.6rem .85rem 1.1rem;
    font-weight: 650;
    font-size: .925rem;
    color: #111827;
    position: relative;
}
.box-faq summary::-webkit-details-marker { display: none; }
.box-faq summary::after {
    content: "+";
    position: absolute;
    right: .9rem; top: .65rem;
    width: 1.4rem; height: 1.4rem;
    border-radius: .4rem;
    background: #fff5eb;
    color: #ff7a00;
    display: grid;
    place-items: center;
    font-size: 1rem;
}
.box-faq details[open] summary::after { content: "−"; }
.box-faq details[open] summary { color: #cc6200; background: #fffaf5; }
.box-faq .box-ans {
    padding: .2rem 1.1rem 1rem;
    color: #4b5563;
    font-size: .875rem;
    line-height: 1.8;
    border-top: 1px solid #e5e7eb;
    margin-top: -1px;
    padding-top: .75rem;
}

/* ---------- App 截图展示 ---------- */
.box-shot-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin: 1.25rem 0 2rem;
}
@media (min-width: 768px) {
    .box-shot-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .box-shot-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.box-shot {
    border: 1px solid #e5e7eb;
    border-radius: .75rem;
    overflow: hidden;
    background: #fff;
}
.box-shot img { display: block; width: 100%; height: auto; }
.box-shot figcaption {
    padding: .55rem .7rem;
    font-size: .78rem;
    color: #6b7280;
    border-top: 1px solid #f3f4f6;
    line-height: 1.55;
    text-align: center;
}
.box-shot--wide { max-width: 46rem; margin-left: auto; margin-right: auto; }

/* ---------- 横屏视频舞台（参考官网首页：poster 淡出 + 宽屏舞台） ---------- */
.box-video-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 2622 / 1206;            /* 转正后的横屏比例 */
    background: #000;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid #111827;
    box-shadow: 0 20px 40px -15px rgba(0,0,0,.35);
}
.box-video-stage video {
    position: absolute;
    top: 50%; left: 50%;
    /* 源视频是竖屏帧里躺着的横屏内容，逆时针转正后铺满舞台 */
    height: calc(100% * 2622 / 1206);
    width: auto;
    max-width: none;
    transform: translate(-50%, -50%) rotate(-90deg);
    object-fit: cover;
}
.box-video-stage__poster {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: opacity .35s ease, visibility .35s ease;
}
.box-video-stage.is-playing .box-video-stage__poster {
    opacity: 0; visibility: hidden; pointer-events: none;
}
.box-video-stage__badge {
    position: absolute;
    top: .75rem; left: .75rem;
    z-index: 2;
    background: rgba(0,0,0,.55);
    color: #fff;
    font-size: .72rem;
    padding: .25rem .6rem;
    border-radius: 9999px;
    backdrop-filter: blur(6px);
}
.box-video-caption {
    margin-top: .6rem;
    text-align: center;
    font-size: .8rem;
    color: #9ca3af;
}

/* ---------- 提醒样例（官网风格重绘） ---------- */
.box-alert-demo {
    display: grid;
    gap: .75rem;
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1.25rem;
    margin: 1.25rem 0 2rem;
}
.box-alert-card {
    display: grid;
    grid-template-columns: 2.75rem minmax(0, 1fr) auto;
    gap: .85rem;
    align-items: start;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: .9rem;
    padding: .85rem 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.box-alert-card__icon {
    width: 2.75rem; height: 2.75rem;
    border-radius: .75rem;
    background: linear-gradient(135deg,#FF7A00,#FFA64D);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.15rem;
    font-weight: 800;
}
.box-alert-card__title {
    font-size: .9rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: .15rem;
}
.box-alert-card__body {
    font-size: .84rem;
    color: #4b5563;
    line-height: 1.65;
}
.box-alert-card__time {
    font-size: .75rem;
    color: #9ca3af;
    white-space: nowrap;
    padding-top: .15rem;
}

/* ---------- 事件链路示意图 ---------- */
.box-flow {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .5rem;
    margin: 1.25rem 0 1.5rem;
}
.box-flow__step {
    position: relative;
    text-align: center;
    padding: .9rem .4rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: .85rem;
}
.box-flow__step:not(:last-child)::after {
    content: "\203A";
    position: absolute;
    right: -.55rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    color: #ff7a00;
    font-size: 1.2rem;
    font-weight: 700;
}
.box-flow__icon {
    width: 2.4rem; height: 2.4rem;
    margin: 0 auto .45rem;
    border-radius: .7rem;
    background: #fff5eb;
    color: #ff7a00;
    display: grid;
    place-items: center;
    font-size: 1rem;
}
.box-flow__title { font-size: .82rem; font-weight: 700; color: #111827; }
.box-flow__desc { font-size: .72rem; color: #6b7280; margin-top: .15rem; line-height: 1.5; }
@media (max-width: 640px) {
    .box-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .box-flow__step:nth-child(2)::after { display: none; }
}

/* ---------- 紧凑分类清单 ---------- */
.box-types { display: grid; gap: .55rem; margin: 1rem 0 1.5rem; }
.box-type {
    display: grid;
    grid-template-columns: 2.25rem minmax(0, 1fr) auto;
    gap: .75rem;
    align-items: center;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: .75rem;
    padding: .7rem .9rem;
}
.box-type__icon {
    width: 2.25rem; height: 2.25rem;
    border-radius: .6rem;
    background: #fff5eb;
    color: #ff7a00;
    display: grid;
    place-items: center;
    font-size: .95rem;
}
.box-type__name { font-size: .88rem; font-weight: 700; color: #111827; }
.box-type__desc { font-size: .78rem; color: #6b7280; line-height: 1.55; margin-top: .1rem; }
.box-type__tag {
    font-size: .72rem;
    color: #cc6200;
    background: #fff5eb;
    border-radius: 9999px;
    padding: .2rem .6rem;
    white-space: nowrap;
}
@media (max-width: 640px) {
    .box-type { grid-template-columns: 2.25rem minmax(0, 1fr); }
    .box-type__tag { display: none; }
}

/* ---------- 查看更多（默认收起） ---------- */
.box-more {
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    background: #fff;
    margin: 1.25rem 0 2rem;
    overflow: hidden;
}
.box-more summary {
    cursor: pointer;
    list-style: none;
    padding: .85rem 1.1rem;
    font-weight: 650;
    font-size: .9rem;
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    transition: background .15s, color .15s;
}
.box-more summary:hover { color: #cc6200; }
.box-more summary::-webkit-details-marker { display: none; }
.box-more summary:hover { background: #fffaf5; }
.box-more summary i { transition: transform .2s; font-size: .8rem; }
.box-more[open] summary i { transform: rotate(180deg); }
.box-more__body {
    padding: 0 1.1rem 1.1rem;
    border-top: 1px solid #f3f4f6;
}
.box-shot video {
    display: block;
    width: 100%;
    height: auto;
    background: #000;
}

/* ---------- 导航当前项高亮（滚动监听） ---------- */
.box-sidebar__link.is-current {
    background: #ffe6cc;
    color: #cc6200;
    font-weight: 600;
}

/* ---------- 按钮 ---------- */
.box-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    background: #ff7a00;
    color: #fff;
    font-weight: 700;
    border-radius: 9999px;
    padding: .7rem 1.3rem;
    font-size: .9rem;
    transition: background .2s, transform .2s;
}
.box-btn-primary:hover { background: #cc6200; transform: translateY(-1px); }
.box-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    border: 1px solid #e5e7eb;
    color: #374151;
    background: #fff;
    font-weight: 600;
    border-radius: 9999px;
    padding: .7rem 1.3rem;
    font-size: .9rem;
    transition: border-color .2s, color .2s;
}
.box-btn-ghost:hover { border-color: #ff7a00; color: #cc6200; }

@media (max-width: 1023px) {
    .box-hero__title { font-size: 2rem; }
}

@media print {
    body { background: #fff !important; }
    nav, footer, .box-sidebar, .box-hero__actions { display: none !important; }
    .help-layout { display: block !important; padding: 0 !important; }
    .box-feature-card, .box-step, .box-term, .box-table-wrap, details, .box-safety li {
        box-shadow: none !important;
        break-inside: avoid;
    }
    details .box-ans { display: block !important; }
}
