/* --- ブログ（リアルタイム）用スタイル --- */

/* 鍵ボタン */
.admin-lock-zone {
    text-align: right;
    margin-top: -20px;
    margin-bottom: 10px;
}
#lock-btn {
    background: transparent;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.4;
    transition: opacity 0.3s;
}
#lock-btn:hover {
    opacity: 1;
}

/* 投稿フォーム */
#tweet-input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-main);
    outline: none;
    resize: vertical;
}
#tweet-input:focus {
    border-color: var(--color-primary);
}
.form-bottom {
    text-align: right;
    margin-top: 10px;
}
#post-btn {
    padding: 6px 20px;
    background-color: var(--color-primary);
    color: white;
    border: none;
    border-radius: 20px;
    font-family: inherit;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
}
#post-btn:hover {
    background-color: var(--color-secondary);
}

/* タイムライン */
#timeline {
    margin-top: 10px;
}
.tweet-box {
    padding: 15px 5px;
    border-bottom: 1px dashed var(--color-border);
    position: relative;
}
.tweet-box:last-child {
    border-bottom: none;
}
.tweet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}
.tweet-time {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: bold;
}
.tweet-content {
    font-size: 0.95rem;
    word-break: break-all;
}
.delete-tweet {
    color: #d98888;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 0 5px;
}
.delete-tweet:hover {
    color: #c25858;
}
.no-tweet {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 20px 0;
}

