/* Argon 右侧栏留言板小工具 —— 与左侧个人信息卡呼应的简洁配色 */
#argon-guestbook {
    --agb-accent: var(--themecolor, #8472d9);
    --agb-accent-soft: rgba(132, 114, 217, .07);
    font-size: 13px;
    line-height: 1.6;
}

#argon-guestbook .agb-post {
    padding: 12px;
    border-radius: 12px;
    background: var(--agb-accent-soft);
    border: 1px solid rgba(132, 114, 217, .14);
    margin-bottom: 12px;
}

#argon-guestbook .agb-field { margin-bottom: 8px; }
#argon-guestbook .agb-field:last-of-type { margin-bottom: 0; }

#argon-guestbook .agb-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #5f6368;
    margin-bottom: 4px;
}

#argon-guestbook .agb-input {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #e3e6ee;
    border-radius: 8px;
    padding: 7px 10px;
    font-size: 13px;
    color: #333;
    background: #fff;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
    font-family: inherit;
}
#argon-guestbook .agb-input:focus {
    border-color: var(--agb-accent);
    box-shadow: 0 0 0 3px rgba(132, 114, 217, .16);
}
#argon-guestbook .agb-textarea { resize: vertical; min-height: 66px; }

#argon-guestbook .agb-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}
#argon-guestbook .agb-hint { font-size: 12px; color: #9aa0a6; }
#argon-guestbook .agb-hint.err { color: #d93025; }
#argon-guestbook .agb-hint.ok { color: #1e8e3e; }

#argon-guestbook .agb-btn {
    border: none;
    border-radius: 8px;
    padding: 6px 18px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: var(--agb-accent);
    cursor: pointer;
    transition: opacity .15s, transform .05s;
    font-family: inherit;
}
#argon-guestbook .agb-btn:hover { opacity: .88; }
#argon-guestbook .agb-btn:active { transform: scale(.97); }
#argon-guestbook .agb-btn[disabled] { opacity: .55; cursor: not-allowed; }

/* 留言列表 */
#argon-guestbook .agb-list { display: flex; flex-direction: column; gap: 4px; }

#argon-guestbook .agb-item {
    padding: 8px 12px;
    border-radius: 10px;
    transition: background .15s;
}
#argon-guestbook .agb-item:hover { background: var(--agb-accent-soft); }

#argon-guestbook .agb-meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
}
#argon-guestbook .agb-name {
    font-weight: 600;
    color: var(--agb-accent);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
#argon-guestbook .agb-time { font-size: 11px; color: #b0b4bc; flex-shrink: 0; }
#argon-guestbook .agb-text {
    margin-top: 2px;
    color: #444;
    word-break: break-word;
    white-space: pre-wrap;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#argon-guestbook .agb-empty {
    text-align: center;
    color: #b0b4bc;
    font-size: 12px;
    padding: 14px 0;
}

#argon-guestbook .agb-more {
    text-align: center;
    margin-top: 8px;
    font-size: 12px;
}
#argon-guestbook .agb-more a { color: var(--agb-accent); text-decoration: none; }
#argon-guestbook .agb-more a:hover { text-decoration: underline; }
