/* ========================================================
   G318 黑暗公路 - 状态栏与记忆区专属内置CSS
   ======================================================== */

/* 核心面板容器美化 */
details {
    background: linear-gradient(160deg, #140808 0%, #0a0303 100%);
    border: 1px solid #3a1515;
    border-left: 3px solid #b30000; /* 左侧血红警戒线 */
    border-radius: 8px;
    margin: 18px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.7), inset 0 0 15px rgba(255, 0, 0, 0.03);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

details:hover {
    border-color: #661111;
    box-shadow: 0 8px 25px rgba(139, 0, 0, 0.25);
    transform: translateY(-2px);
}

/* 标题栏（折叠/展开按钮）美化 */
summary {
    background: rgba(20, 5, 5, 0.9);
    color: #ff4d4d;
    font-size: 15px;
    font-weight: 900;
    padding: 14px 18px;
    cursor: pointer;
    outline: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 1px solid #331111;
    list-style: none;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8), 0 0 10px rgba(255, 51, 51, 0.3);
    display: flex;
    align-items: center;
}

/* 隐藏浏览器默认的三角箭头 */
summary::-webkit-details-marker {
    display: none;
}

/* 自定义科技感展开箭头 */
summary::before {
    content: '►';
    display: inline-block;
    margin-right: 12px;
    font-size: 12px;
    color: #8b0000;
    transition: transform 0.3s ease, color 0.3s ease;
}

/* 展开状态下的箭头与底边框 */
details[open] summary::before {
    transform: rotate(90deg);
    color: #ff3333;
    text-shadow: 0 0 8px #ff3333;
}

details[open] summary {
    border-bottom: 1px solid #551111;
    background: rgba(30, 5, 5, 0.95);
}

/* 内部条目（正文信息）美化 */
details > p {
    color: #d1c2c2;
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
    padding: 12px 18px;
    border-bottom: 1px dashed rgba(255, 51, 51, 0.15);
    background: rgba(0, 0, 0, 0.4);
    transition: background 0.3s ease;
}

details > p:hover {
    background: rgba(255, 51, 51, 0.05);
    color: #f2e6e6;
}

/* 消除最后一行的虚线边框 */
details > p:last-child {
    border-bottom: none;
}

/* 针对特殊高亮文本的加持 (匹配HTML字体的发光效果) */
font[color="#ff6666" i], font[color="#ffb6c1" i] {
    /* 加上这个小写的 i，代表忽略大小写 (case-insensitive) */
    font-weight: bold;
    text-shadow: 0 0 5px currentColor;
    letter-spacing: 0.5px;
}
think {
  display: none;
}