/* 首页 · 好料精选玩法列表 */
.home-haoliao-plays {
    width: 100%;
    font-family: "PingFang SC", "Microsoft YaHei", "黑体", sans-serif;
}

.hl-panel {
    border: 1px solid #e8dcc8;
    border-radius: 4px;
    overflow: hidden;
    background: linear-gradient(180deg, #fffdf8 0%, #faf6ee 100%);
    box-shadow: 0 2px 12px rgba(120, 45, 9, 0.08);
}

.hl-panel__head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 14px;
    background: linear-gradient(90deg, #b8a88a 0%, #cec4aa 35%, #ddd4bc 50%, #cec4aa 65%, #b8a88a 100%);
    border-bottom: 2px solid #a89470;
}

.hl-panel__head h2 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #782d09;
    letter-spacing: 2px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}

.hl-panel__deco {
    font-size: 12px;
    color: #782d09;
    opacity: 0.75;
    letter-spacing: -2px;
}

.hl-panel__sub {
    text-align: center;
    font-size: 12px;
    color: #9a6b3a;
    padding: 6px 10px 2px;
    letter-spacing: 1px;
}

.hl-grid {
    list-style: none;
    margin: 0;
    padding: 8px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

@media (min-width: 520px) {
    .hl-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        padding: 10px;
    }
}

.hl-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 88px;
    padding: 10px 8px 8px;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid rgba(168, 148, 112, 0.45);
    position: relative;
    overflow: hidden;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    background: linear-gradient(145deg, #fff 0%, #f8f4ec 100%);
}

.hl-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--hl-accent, #c9a227);
}

.hl-card::after {
    content: "◆";
    position: absolute;
    right: 6px;
    bottom: 4px;
    font-size: 28px;
    line-height: 1;
    color: var(--hl-accent, #c9a227);
    opacity: 0.07;
    pointer-events: none;
}

.hl-card:active {
    transform: scale(0.98);
}

.hl-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 4px;
    margin-bottom: 6px;
}

.hl-card__icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: var(--hl-accent, #c9a227);
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.hl-card__badge {
    flex-shrink: 0;
    font-size: 10px;
    line-height: 1;
    padding: 3px 5px;
    border-radius: 4px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #e85d4a 0%, #c0392b 100%);
    letter-spacing: 1px;
}

.hl-card__badge.is-gold {
    background: linear-gradient(135deg, #e6b422 0%, #b8860b 100%);
    color: #4a3200;
}

.hl-card__badge.is-green {
    background: linear-gradient(135deg, #5cb85c 0%, #3d8b3d 100%);
}

.hl-card__title {
    font-size: 14px;
    font-weight: 700;
    color: #2c1810;
    line-height: 1.3;
    margin-bottom: 4px;
}

.hl-card__title .hl-bracket {
    font-size: 12px;
    font-weight: 600;
    color: #782d09;
}

.hl-card__idiom {
    font-size: 11px;
    color: #8b6914;
    line-height: 1.45;
    padding: 4px 6px;
    background: rgba(201, 162, 39, 0.1);
    border-radius: 4px;
    border-left: 2px solid var(--hl-accent, #c9a227);
}

.hl-card__idiom em {
    font-style: normal;
    color: #a0522d;
    font-weight: 600;
}

.hl-card__foot {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: auto;
    padding-top: 6px;
    font-size: 11px;
    color: #9a7b5a;
}

.hl-card__arrow {
    font-size: 18px;
    color: var(--hl-accent, #c9a227);
    font-weight: 700;
    line-height: 1;
}

/* 主题色 */
.hl-card--c0 { --hl-accent: #c9a227; }
.hl-card--c1 { --hl-accent: #b84a3a; }
.hl-card--c2 { --hl-accent: #3d7a5c; }
.hl-card--c3 { --hl-accent: #5c6bc0; }
.hl-card--c4 { --hl-accent: #9c5bb8; }
.hl-card--c5 { --hl-accent: #d4842a; }

.home-haoliao-loading,
.home-haoliao-empty {
    padding: 20px 12px;
    text-align: center;
    font-size: 14px;
    color: #7a4d00;
    background: #faf6ee;
    border: 1px dashed #cec4aa;
    border-radius: 8px;
}
