body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', 'Microsoft YaHei', Arial, sans-serif;
    background: url('background1.jpg') no-repeat center center fixed;
    background-size: cover;
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

h1 {
    color: #333;
    margin-bottom: 32px;
    font-size: 2.2rem;
}

#start-btn {
    padding: 12px 32px;
    font-size: 1.1rem;
    background: #4f8cff;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

#start-btn:hover {
    background: #2563c9;
}

.same-btn {
    padding: 12px 32px;
    font-size: 1.1rem;
    background: #4f8cff;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
    margin-left: 0;
}

.same-btn:hover {
    background: #2563c9;
}

.result-container {
    min-height: 100vh;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(4px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10;
}

.result-container h2 {
    color: #222;
    margin-bottom: 24px;
    font-size: 2rem;
}

.mood-result {
    background: rgba(255,255,255,0.7);
    border-radius: 10px;
    padding: 32px 48px;
    margin-bottom: 32px;
    font-size: 1.2rem;
    color: #333;
    min-width: 260px;
    text-align: center;
}

.mood-result-fixed {
    position: absolute;
    top: 32px;
    left: 32px;
    background: rgba(255,255,255,0.7);
    border-radius: 10px;
    padding: 32px 48px;
    font-size: 1.2rem;
    color: #333;
    min-width: 260px;
    text-align: center;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}

.chat-panel {
    position: absolute;
    top: 32px;
    right: 32px;
    width: 44vw;
    min-width: 340px;
    max-width: 700px;
    height: 84vh;
    background: rgba(255,255,255,0.7);
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    overflow: hidden;
}

.chat-messages {
    flex: 1;
    padding: 24px 18px 12px 18px;
    overflow-y: auto;
    font-size: 1.1rem;
    color: #222;
}

.user-msg {
    text-align: right;
    margin: 8px 0;
    color: #4f8cff;
}

.ai-msg {
    text-align: left;
    margin: 8px 0;
    color: #333;
}

.chat-input-form {
    display: flex;
    padding: 12px 18px;
    border-top: 1px solid #e0e0e0;
    background: rgba(255,255,255,0.85);
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
}

#chat-input {
    flex: 1;
    padding: 8px 12px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    outline: none;
    margin-right: 10px;
}

.chat-input-form button {
    padding: 8px 18px;
    font-size: 1rem;
    background: #4f8cff;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.chat-input-form button:hover {
    background: #2563c9;
}

#back-btn {
    display: none;
}

.center-img {
    display: block;
    max-width: 320px;
    width: 60vw;
    margin: 0 auto 36px auto;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}

.trend-panel {
    position: absolute;
    left: 32px;
    bottom: 32px;
    width: 340px;
    background: rgba(255,255,255,0.7);
    border-radius: 14px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    padding: 18px 18px 10px 18px;
    z-index: 20;
}

.trend-panel h3 {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    color: #333;
    font-weight: 500;
    letter-spacing: 1px;
}

.mood-ai-panel {
    position: absolute;
    top: 32px;
    left: 480px;
    min-width: 260px;
    max-width: 340px;
    background: rgba(255,255,255,0.7);
    border-radius: 10px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    padding: 24px 24px 18px 24px;
    z-index: 12;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.ai-suggestion-box {
    min-height: 48px;
    font-size: 1.08rem;
    color: #222;
    margin-bottom: 8px;
    line-height: 1.7;
}
