        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'SimSun', '宋体', serif;
            background: #f8f3e6 url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%23f8f3e6"/><path d="M0,0 L100,100 M100,0 L0,100" stroke="%23e8e0d1" stroke-width="0.5"/></svg>');
            color: #5c3d2e;
            padding: 20px;
            min-height: 100vh;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            background: rgba(255, 253, 245, 0.9);
            border-radius: 8px;
            box-shadow: 0 8px 32px rgba(138, 101, 64, 0.3);
            border: 1px solid #d4c0a1;
            padding: 30px;
            position: relative;
            overflow: hidden;
        }
        
        .container:before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 10px;
            background: linear-gradient(90deg, #8b5a2b, #d4a76a, #8b5a2b);
            border-radius: 8px 8px 0 0;
        }
        
        h1 {
            text-align: center;
            color: #8b4513;
            margin: 20px 0 30px;
            font-size: 2.8rem;
            font-weight: bold;
            letter-spacing: 8px;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
            position: relative;
            padding-bottom: 20px;
        }
        
        h1:after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 200px;
            height: 3px;
            background: linear-gradient(90deg, transparent, #8b4513, transparent);
        }
        
        .main-content {
            display: flex;
            gap: 30px;
            margin-top: 20px;
        }
        
        .left-section {
            flex: 3;
        }
        
        .right-section {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 30px;
        }
        
        .import-section {
            background: rgba(232, 224, 209, 0.6);
            padding: 20px;
            border-radius: 8px;
            border: 1px solid #d4c0a1;
            box-shadow: inset 0 0 10px rgba(138, 101, 64, 0.1);
            margin-bottom: 20px;
        }
        
        .import-section h2 {
            color: #5c3d2e;
            margin-bottom: 15px;
            font-size: 1.4rem;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        textarea {
            width: 100%;
            height: 120px;
            padding: 15px;
            border: 1px solid #c0a080;
            border-radius: 5px;
            background: rgba(255, 255, 255, 0.7);
            font-family: 'SimSun', '宋体', serif;
            font-size: 1.1rem;
            color: #5c3d2e;
            resize: vertical;
            transition: all 0.3s ease;
        }
        
        textarea:focus {
            outline: none;
            border-color: #8b5a2b;
            box-shadow: 0 0 0 2px rgba(139, 87, 42, 0.2);
        }
        
        .buttons {
            display: flex;
            gap: 15px;
            margin-top: 15px;
            flex-wrap: wrap;
        }
        
        .btn {
            flex: 1;
            min-width: 180px;
            background: #8b5a2b;
            color: #fff8e1;
            border: none;
            padding: 12px 20px;
            border-radius: 5px;
            cursor: pointer;
            font-size: 1.1rem;
            font-weight: bold;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }
        
        .btn:hover {
            background: #6b4420;
            transform: translateY(-2px);
            box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
        }
        
        .btn:active {
            transform: translateY(1px);
        }
        
        .poem-container {
            background: rgba(232, 224, 209, 0.6);
            padding: 30px;
            border-radius: 8px;
            border: 1px solid #d4c0a1;
            box-shadow: inset 0 0 10px rgba(138, 101, 64, 0.1);
            margin-bottom: 20px;
            min-height: 300px;
        }
        
        .poem-text {
            line-height: 2.2;
            font-size: 1.3rem;
            text-align: justify;
            color: #5c3d2e;
        }
        
        .poem-text p {
            margin-bottom: 15px;
            text-indent: 2em;
        }
        
        .blank {
            display: inline-block;
            width: 30px;
            height: 40px;
            border-bottom: 2px solid #8b4513;
            margin: 0 3px;
            text-align: center;
            vertical-align: middle;
            position: relative;
            top: -2px;
        }
        
        input[type="text"] {
            width: 30px;
            height: 40px;
            border: none;
            border-bottom: 2px solid #8b4513;
            text-align: center;
            font-size: 1.3rem;
            margin: 0 3px;
            vertical-align: middle;
            background: transparent;
            font-family: 'SimSun', '宋体', serif;
            color: #5c3d2e;
            transition: all 0.2s ease;
        }
        
        input[type="text"]:focus {
            outline: none;
            border-bottom: 3px solid #5c3d2e;
            background: rgba(255, 248, 225, 0.5);
        }


        footer {
            text-align: center;
            margin-top: 30px;
            padding: 20px;
            color: #7f8c8d;
        }

        

        .correct {
            background-color: rgba(168, 230, 180, 0.5);
            border-radius: 3px;
        }
        
        .incorrect {
            background-color: rgba(230, 168, 168, 0.5);
            border-radius: 3px;
        }
        
        .score-display {
            background: rgba(232, 224, 209, 0.8);
            padding: 20px;
            border-radius: 8px;
            border: 1px solid #d4c0a1;
            text-align: center;
            font-size: 1.3rem;
            color: #5c3d2e;
            display: flex;
            justify-content: center;
            gap: 30px;
            margin-top: 20px;
        }
        
        .score-item {
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        
        .score-value {
            font-size: 2rem;
            font-weight: bold;
            color: #8b4513;
            margin-top: 5px;
        }
        
        .random-name {
            background: rgba(232, 224, 209, 0.8);
            padding: 25px;
            border-radius: 8px;
            border: 1px solid #d4c0a1;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
        }
        
        .random-name h2 {
            color: #5c3d2e;
            margin-bottom: 20px;
            font-size: 1.4rem;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .file-input {
            display: none;
        }
        
        .file-label {
            display: block;
            padding: 12px 20px;
            background: #8b5a2b;
            color: #fff8e1;
            border-radius: 5px;
            cursor: pointer;
            text-align: center;
            margin-bottom: 15px;
            transition: all 0.3s ease;
            font-weight: bold;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }
        
        .file-label:hover {
            background: #6b4420;
            transform: translateY(-2px);
            box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
        }
        
        .file-label i {
            margin-right: 8px;
        }
        
        .file-name {
            display: block;
            text-align: center;
            font-size: 0.9rem;
            color: #8b5a2b;
            margin-bottom: 15px;
        }
        
        .selected-name {
            margin-top: 20px;
            font-size: 1.8rem;
            font-weight: bold;
            color: #8b4513;
            text-align: center;
            min-height: 60px;
            padding: 15px;
            background: rgba(255, 248, 225, 0.7);
            border-radius: 8px;
            border: 1px dashed #8b5a2b;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .student-list {
            margin-top: 15px;
            padding: 10px;
            background: rgba(255, 248, 225, 0.7);
            border-radius: 5px;
            max-height: 150px;
            overflow-y: auto;
        }
        
        .student-list h3 {
            text-align: center;
            margin-bottom: 10px;
            color: #5c3d2e;
        }
        
        .student-item {
            padding: 5px 10px;
            border-bottom: 1px dashed #d4c0a1;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .student-item:last-child {
            border-bottom: none;
        }
        
        .result {
            margin-top: 20px;
            padding: 20px;
            background: rgba(232, 224, 209, 0.8);
            border-radius: 8px;
            border: 1px solid #d4c0a1;
            display: none;
        }
        
        .result h3 {
            color: #5c3d2e;
            margin-bottom: 15px;
            text-align: center;
            font-size: 1.3rem;
        }
        
        .result-content {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
            text-align: center;
        }
        
        .result-item {
            background: rgba(255, 248, 225, 0.7);
            padding: 15px;
            border-radius: 5px;
        }
        
        .result-value {
            font-size: 1.5rem;
            font-weight: bold;
            color: #8b4513;
            margin-top: 5px;
        }
        
        .decoration {
            position: absolute;
            opacity: 0.1;
            z-index: -1;
        }
        
        .decoration-1 {
            top: 50px;
            right: 50px;
            font-size: 120px;
            transform: rotate(15deg);
        }
        
        .decoration-2 {
            bottom: 50px;
            left: 50px;
            font-size: 100px;
            transform: rotate(-10deg);
        }
        
        @media (max-width: 768px) {
            .main-content {
                flex-direction: column;
            }
            
            h1 {
                font-size: 2rem;
                letter-spacing: 4px;
            }
            
            .buttons {
                flex-direction: column;
            }
            
            .btn {
                width: 100%;
            }
        }