/* 容器基础：夏日深色背景 */
ai {
    display: block;
    background: #0d0e0d;
    color: #d1d1d1;
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    padding: 12px;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    margin: 10px auto;
    max-width: 95%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.8);
    position: relative;
    overflow: hidden;
}

/* 顶部状态条：模拟乡村告示牌 */
hd {
    display: block;
    background: linear-gradient(90deg, #d32f2f 0%, #ff8c00 100%);
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 15px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    letter-spacing: 1px;
    text-align: center;
}

/* 正文区域：强调易读性与氛围 */
article {
    display: block;
    padding: 0 8px;
    line-height: 1.8;
    font-size: 16px;
    color: #e0e0e0;
    margin-bottom: 20px;
    min-height: 100px;
}

/* 状态栏折叠器 */
details {
    background: rgba(30, 30, 30, 0.8);
    border: 1px solid #3d3d3d;
    border-radius: 6px;
    margin-top: 15px;
}

summary {
    padding: 8px 12px;
    color: #ffb300;
    font-weight: bold;
    cursor: pointer;
    list-style: none;
    border-bottom: 1px solid #3d3d3d;
    outline: none;
    font-size: 14px;
}

summary::before {
    content: "▼ ";
    font-size: 10px;
    transition: 0.3s;
}

details[open] summary::before {
    transform: rotate(180deg);
}

/* 信息分区 */
section {
    padding: 10px;
}

p[t] {
    margin: 8px 0;
    padding-left: 10px;
    border-left: 3px solid #d32f2f;
    position: relative;
}

p[t="猎物"] { border-color: #ffb300; }
p[t="猎人"] { border-color: #d32f2f; }
p[t="环境"] { border-color: #4caf50; }
p[t="行动"] { border-color: #2196f3; }

/* 标签属性样式 */
p[t]::before {
    content: attr(t);
    display: block;
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 4px;
}

f {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    display: block;
    margin-bottom: 4px;
}

d {
    display: block;
    font-size: 13px;
    color: #bbb;
    margin: 2px 0;
}

/* 进度条模拟 */
d:contains("▮") {
    color: #ff8c00;
    letter-spacing: 1px;
}

/* 悬停微动效：热浪感 */
ai:hover article {
    animation: heatWave 4s infinite ease-in-out;
}

@keyframes heatWave {
    0%, 100% { filter: contrast(1); }
    50% { filter: contrast(1.05) brightness(1.05); }
}

/* 移动端适配 */
@media (max-width: 600px) {
    article { font-size: 15px; }
    f { font-size: 16px; }
    d { font-size: 12px; }
}