body {
    margin: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #f4f7f6;
    color: #444;
    font-family: "Hiragino Mincho ProN", "serif";
    letter-spacing: 0.12em;
    overflow: hidden;
}

.card {
    position: relative;
    width: 85%;
    max-width: 350px;
    height: 440px;
    background-color: #ffffff;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    padding: 40px;
    box-sizing: border-box;
    margin-bottom: 50px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    width: 100%;
}

#date-area {
    font-size: 0.85rem;
    color: #999;
    letter-spacing: 0.05em;
}

#weather-icon-display {
    font-size: 1.2rem;
    opacity: 0.5;
}

#display-area {
    text-align: left;
    line-height: 2.5;
    font-size: 1.05rem;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    width: fit-content;
    margin: 0 auto;
    word-break: keep-all; 
    overflow-wrap: break-word;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#display-area span {
    display: block;
    margin-bottom: 1.2em;
}

.fade-in {
    opacity: 1 !important;
}

.share-button {
    position: absolute;
    bottom: 25px;
    right: 25px;
    background: none;
    border: none;
    cursor: pointer;
    color: #ccc;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    padding: 10px;
}

.button-group {
    display: flex;
    gap: 40px;
}

.weather-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.8rem;
    transition: all 0.4s ease;
    opacity: 0.4;
}

.weather-btn:hover {
    opacity: 1;
    transform: scale(1.1);
}