        /* --- 全局与容器 --- */
        .ct {
            width: 98%;
            max-width: 800px;
            margin: 1% auto;
            font-family: sans-serif;
            color: #333;
            background-color: #f4f4f9;
            padding: 1%;
            border-radius: 12px;
        }
        /* --- 通用区域样式 --- */
        .rg {
            background-color: #fff;
            border: 1px solid #ddd;
            border-radius: 8px;
            padding: 2%;
            margin-bottom: 15px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        }
        /* --- 区域1: 顶部信息面板 --- */
        .info {
            display: flex;
            flex-wrap: wrap;
            gap: 2%;
        }
        .b-info, .attrs {
            flex-basis: 100%;
            margin-bottom: 10px;
        }
        .b-info {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }
        .b-item {
            background-color: #eef;
            padding: 5px 10px;
            border-radius: 4px;
            font-size: 90%;
        }
        .attrs {
            display: flex;
            justify-content: space-around;
            flex-wrap: wrap;
            gap: 5px;
        }
        .attr {
            text-align: center;
            padding: 5px;
        }
        /* --- 天赋颜色样式 --- */
        .tal-i {
            padding: 8px;
            margin: 4px 0;
            border-radius: 4px;
            transition: transform 0.2s, background-color 0.2s;
        }
        .tal-i:hover {
            transform: translateX(5px);
        }
        .tal-gray { background-color: #d3d3d3; color: #333; }
        .tal-blue { background-color: #87ceeb; color: #004085; }
        .tal-purple { background-color: #dda0dd; color: #4b0082; }
        .tal-gold { background-color: #ffd700; color: #3c2f2f; }
        .tal-red { background-color: #ff4040; color: #fff; }
        /* --- 天赋标题样式 --- */
        .tgl-l {
            display: block;
            font-weight: bold;
            font-size: 110%;
            padding: 8px;
            border-bottom: 2px solid #eee;
            margin-bottom: 10px;
            background-color: #f8f8f8;
            border-radius: 4px;
        }
        /* --- 记忆区表格样式 --- */
        .mem-sec {
            margin-bottom: 15px;
        }
        .mem-sec-t {
            font-weight: bold;
            font-size: 105%;
            margin-bottom: 8px;
            padding-bottom: 4px;
            border-bottom: 1px solid #eaeaea;
            color: #2c3e50;
        }
        .mem-tbl {
            display: grid;
            grid-template-columns: 0.5fr 2.5fr 2fr 3fr;
            gap: 5px;
            font-size: 90%;
        }
        .tbl-h {
            font-weight: bold;
            background-color: #f7f7f7;
            padding: 8px;
            border-radius: 4px;
        }
        .tbl-c {
            padding: 8px;
            background-color: #fdfdfd;
            border-bottom: 1px solid #f0f0f0;
            line-height: 1.4;
        }
        .mem-tbl .tbl-c:nth-child(4n+1) {
            font-weight: bold;
            text-align: center;
        }
        /* --- 区域2: 模拟内容区 --- */
        .log {
            background-color: #fdfdfd;
            line-height: 1.6;
            padding: 15px;
            border-radius: 4px;
        }
        /* --- 区域4: 选择区 --- */
        .acts {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 10px;
        }
        .btn {
            background-color: #4a90e2;
            color: white;
            padding: 10px 20px;
            border-radius: 20px;
            cursor: pointer;
            text-align: center;
            transition: background-color 0.2s, transform 0.2s;
            user-select: none;
            font-size: 90%;
        }
        .btn:hover {
            background-color: #357abd;
            transform: translateY(-2px);
        }
        /* --- 响应式调整 --- */
        @media screen and (min-width: 600px) {
            .b-info {
                flex-basis: 58%;
            }
            .attrs {
                flex-basis: 38%;
                flex-direction: column;
                align-items: flex-start;
            }
        }