
body {
    margin: 0;
    background-color: #0d0d0d;
    color: #f5f5f5;
    font-family: monospace;
    overflow: hidden;
    cursor: none;
    touch-action: none;
}
canvas {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}
#mainMessage {
    position: absolute;
    top: 5%;
    width: 100%;
    text-align: center;
    font-size: 2.5vw;
    color: #ff3b3b;
    text-shadow: 0 0 10px rgba(255, 59, 59, 0.8);
    z-index: 10;
    animation: glitchText 1.5s infinite;
}
@keyframes glitchText {
    0% { text-shadow: 2px 2px 6px rgba(255, 59, 59, 0.8); }
    25% { text-shadow: -1px -1px 4px rgba(245, 245, 245, 0.5); }
    50% { text-shadow: 1px -2px 8px rgba(255, 59, 59, 0.6); }
    75% { text-shadow: -2px 2px 5px rgba(245, 245, 245, 0.4); }
    100% { text-shadow: 0px 0px 10px rgba(255, 59, 59, 0.9); }
}
#aiPoem {
    position: absolute;
    left: 5%;
    top: 30%;
    width: 90%;
    z-index: 5;
    color: rgba(255,255,255,0.8);  /* 視認性向上 */
    font-size: 8vw;
    line-height: 1.6em;
    text-align: center;
    pointer-events: none;
}
.pointer {
    width: 20px;
    height: 20px;
    background-color: red;
    border-radius: 50%;
    position: absolute;
    pointer-events: none;
    mix-blend-mode: difference;
    z-index: 9999;
}
@media (max-width: 600px) {
    #mainMessage {
        font-size: 9vw;
    }
    #aiPoem {
    position: absolute;
    left: 5%;
    top: 30%;
    width: 90%;
    z-index: 5;
    color: rgba(255,255,255,0.8);  /* 視認性向上 */
    font-size: 8vw;
    line-height: 1.6em;
    text-align: center;
    pointer-events: none;
}
}
    #aiPoem {
    position: absolute;
    left: 5%;
    top: 30%;
    width: 90%;
    z-index: 5;
    color: rgba(255,255,255,0.8);  /* 視認性向上 */
    font-size: 8vw;
    line-height: 1.6em;
    text-align: center;
    pointer-events: none;
}
}
    #aiPoem {
    position: absolute;
    left: 5%;
    top: 30%;
    width: 90%;
    z-index: 5;
    color: rgba(255,255,255,0.8);  /* 視認性向上 */
    font-size: 8vw;
    line-height: 1.6em;
    text-align: center;
    pointer-events: none;
}
}


.fade-in {
    animation: fadeIn 2s ease-in forwards;
}
.fade-out {
    animation: fadeOut 2s ease-out forwards;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

.fade-in {
    animation: fadeIn 2s ease-in forwards;
}
.fade-out {
    animation: fadeOut 2s ease-out forwards;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}
