<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">body {
    zoom: 0.98; /* 蜈ｨ菴薙ｒ98%縺ｫ邵ｮ蟆� */
    -moz-transform: scale(0.98); /* Firefox蟇ｾ蠢� */
    -moz-transform-origin: top left; /* Firefox蟇ｾ蠢�: 蟾ｦ荳翫ｒ蝓ｺ貅悶↓邵ｮ蟆� */
}
body {
    font-family: 'Arial', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f0f0f0;
    margin: 0;
    overflow: hidden;
}

.container {
    display: flex;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.game-area {
    flex-shrink: 0;
    margin-right: 30px;
}

.table {
    width: 600px; /* 6譫� x 100px/譫� */
    height: 600px; /* 6譫� x 100px/譫� */
    background-color: #deb887; /* 阮�幻濶ｲ */
    border-radius: 10px;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(6, 1fr);
    gap: 10px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
}

/* 笘�％縺薙°繧峨き繝ｼ繝蛾未騾｣縺ｮ繧ｹ繧ｿ繧､繝ｫ繧剃ｿｮ豁｣縺励∪縺� */
.card {
    width: 100%;
    height: 100%;
    position: relative; /* 蟄占ｦ∫ｴ�縺ｮ驟咲ｽｮ縺ｮ縺溘ａ */
    perspective: 1000px; /* 3D蜿崎ｻ｢縺ｮ隕也せ */
    cursor: pointer;
    box-sizing: border-box;
    user-select: none;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d; /* 3D蜿崎ｻ｢繧貞庄閭ｽ縺ｫ縺吶ｋ */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.card.flipped .card-inner {
    transform: rotateY(180deg); /* 蜀�Κ隕∫ｴ�繧貞渚霆｢縺輔○繧� */
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden; /* 陬城擇縺ｫ縺ｪ縺｣縺溯ｦ∫ｴ�縺ｯ髱櫁｡ｨ遉ｺ */
    backface-visibility: hidden; /* 陬城擇縺ｫ縺ｪ縺｣縺溯ｦ∫ｴ�縺ｯ髱櫁｡ｨ遉ｺ */
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5em;
    font-weight: bold;
}

.card-back {
    background-color: #87ceeb; /* 豌ｴ濶ｲ */
    color: white; /* 陬城擇縺ｮ譁�ｭ苓牡 (莉雁屓縺ｯ陦ｨ遉ｺ縺励↑縺��縺ｧ髢｢菫ゅ↑縺�) */
}

.card-front {
    background-color: #f8f8f8;
    color: #333;
    transform: rotateY(180deg); /* 陦ｨ髱｢縺ｯ譛蛻昴°繧牙渚霆｢縺輔○縺ｦ縺翫″縲∬｣城擇縺九ｉ隕九∴縺ｪ縺上☆繧� */
}

.card.matched {
    visibility: hidden; /* 繝槭ャ繝√＠縺溘ｉ髱櫁｡ｨ遉ｺ */
    opacity: 0;
    transition: visibility 0s 2s, opacity 2s ease-out; /* 辯�∴繧九ｈ縺�↓豸医∴繧九い繝九Γ繝ｼ繧ｷ繝ｧ繝ｳ */
    transform: scale(0); /* 豸医∴繧矩圀縺ｫ邵ｮ蟆上☆繧句柑譫� */
    pointer-events: none; /* 繧ｯ繝ｪ繝�け荳榊庄縺ｫ縺吶ｋ */
}

/* 辯�∴繧九ｈ縺�↑繧ｨ繝輔ぉ繧ｯ繝� (繧｢繝九Γ繝ｼ繧ｷ繝ｧ繝ｳ縺ｯJS縺ｧ繧ｯ繝ｩ繧ｹ繧剃ｻ倥￠螟悶＠) */
.card.burning {
    /* card-inner 縺ｧ縺ｯ縺ｪ縺� card 蜈ｨ菴薙↓繧｢繝九Γ繝ｼ繧ｷ繝ｧ繝ｳ繧帝←逕ｨ */
    animation: burnEffect 2s forwards;
    pointer-events: none; /* 繧｢繝九Γ繝ｼ繧ｷ繝ｧ繝ｳ荳ｭ縺ｯ繧ｯ繝ｪ繝�け荳榊庄 */
}

@keyframes burnEffect {
    0% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 10px rgba(255, 165, 0, 0.7), 0 0 20px rgba(255, 69, 0, 0.5);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
        box-shadow: 0 0 30px rgba(255, 165, 0, 1), 0 0 60px rgba(255, 69, 0, 0.8), 0 0 90px rgba(255, 0, 0, 0.6);
    }
    100% {
        opacity: 0;
        transform: scale(0.5);
        box-shadow: none; /* 豸医∴繧区凾縺ｫ繧ｷ繝｣繝峨え繧よｶ医☆ */
        visibility: hidden;
    }
}
/* 笘�％縺薙∪縺ｧ繧ｫ繝ｼ繝蛾未騾｣縺ｮ繧ｹ繧ｿ繧､繝ｫ繧剃ｿｮ豁｣縺励∪縺� */


.sidebar {
    width: 250px;
    background-color: #eee;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
}

.sidebar h2 {
    margin-top: 0;
    color: #333;
}

.player-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    justify-content: center;
}

.player-button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

.player-button.active {
    background-color: #28a745;
    box-shadow: 0 0 10px rgba(40, 167, 69, 0.5);
}

.player-button:hover:not(.active) {
    background-color: #0056b3;
}

#player-scores {
    width: 100%;
    margin-bottom: 20px;
    font-size: 1.2em;
    text-align: center;
    color: #555;
}

#start-game-button {
    background-color: #ffc107;
    color: #333;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

#start-game-button:hover {
    background-color: #e0a800;
}

.game-message {
    margin-top: 20px;
    font-size: 1.5em;
    font-weight: bold;
    color: #dc3545;
    text-align: center;
}

/* Modal Styles */
.modal {
    display: flex; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 30px;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.modal-content h2 {
    margin-top: 0;
    color: #333;
}

.modal-content input[type="number"] {
    width: 80px;
    padding: 8px;
    margin: 15px 0;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 1.2em;
    text-align: center;
}

.modal-content button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

.modal-content button:hover {
    background-color: #0056b3;
}</pre></body></html>