.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.modal-content {
    background-color: #2c2c2c;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    color: #e0e0e0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.modal-overlay.active .modal-content {
    transform: scale(1);
}
.modal-content h2 {
    margin-top: 0;
    color: #ffffff;
    font-size: 1.5em;
}
.modal-content p {
    margin: 15px 0;
    line-height: 1.6;
}
.modal-content .refresh-notice {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 8px;
    font-weight: bold;
    color: #ffc107;
}
.modal-links {
    margin: 25px 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}
.modal-links a {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.2s;
}
.modal-links a:hover {
    background-color: #0056b3;
}
.modal-footer {
    margin-top: 20px;
}
#hide-today-btn {
    background: none;
    border: 1px solid #777;
    color: #ccc;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}
#hide-today-btn:hover {
    background-color: #777;
    color: #fff;
}
.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    transition: color 0.2s;
}
.close-btn:hover {
    color: #fff;
}

.quote-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, background-color 0.5s ease, visibility 0.5s ease;
}
.quote-overlay.active {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.95);
    visibility: visible;
}
.quote-overlay p {
    color: white;
    font-size: 3.7em;
    text-align: center;
    padding: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease 0.3s, transform 0.5s ease 0.3s;
}
.quote-overlay.active p {
    opacity: 1;
    transform: translateY(0);
}
/* ▼▼▼ 추가된 CSS 코드 ▼▼▼ */
.quote-overlay p a {
    color: inherit; /* 부모 요소의 색상(흰색)을 상속받습니다. */
    text-decoration: none; /* 밑줄을 제거합니다. */
    cursor: pointer;
}
.quote-overlay p a:hover {
    text-decoration: underline; /* 마우스를 올렸을 때 밑줄을 표시합니다. */
}
/* ▲▲▲ 추가된 CSS 코드 ▲▲▲ */