.page-guestbook .card-panel {
    background: #f8f9fc;
    color: #1a1a2e;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 20px;
}

.guestbook-actions {
    margin-bottom: 20px;
}

.guestbook-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.guestbook-entry-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 16px;
    margin-bottom: 10px;
}

.guestbook-author {
    font-size: 1.05rem;
}

.guestbook-entry time {
    color: #666;
    font-size: 0.88rem;
}

.guestbook-comment {
    line-height: 1.55;
    white-space: pre-wrap;
}

.guestbook-site {
    margin: 10px 0 0;
    font-size: 0.9rem;
}

.guestbook-pager {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 32px;
}

.guestbook-pager-disabled {
    color: var(--text-muted);
}

.guestbook-alert {
    background: rgba(255, 77, 77, 0.15);
    border: 1px solid rgba(255, 77, 77, 0.35);
    border-radius: var(--radius);
    padding: 16px 20px;
    margin-bottom: 20px;
}

.guestbook-alert ul {
    margin: 0;
    padding-left: 1.2rem;
}

.guestbook-success {
    text-align: center;
}

.guestbook-empty {
    text-align: center;
}

.guestbook-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 560px;
}

.guestbook-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-weight: 600;
    color: #333;
}

.guestbook-form input,
.guestbook-form textarea {
    font: inherit;
    padding: 10px 12px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    background: #fff;
    color: #1a1a2e;
}

.guestbook-form textarea {
    resize: vertical;
    min-height: 140px;
}

.guestbook-form .req {
    color: #c0392b;
}

.guestbook-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.guestbook-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 4px;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent-blue);
    color: #fff;
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.page-guestbook .btn-secondary {
    color: #333;
    border-color: rgba(0, 0, 0, 0.15);
}
