.site-header { background: var(--navy); color: #f5f0eb; font-family: var(--serif); line-height: 1.5; min-height: 80px; border-bottom: 1px solid #6e4248; }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; min-height: 80px; }
.brand { display: flex; align-items: center; gap: 14px; justify-self: start; }
.brand-icon { width: 60px; height: 60px; flex: 0 0 60px; object-fit: contain; border-radius: 50%; }
.brand-type { display: flex; flex-direction: column; line-height: 1; gap: 4px; }
.brand-mark { font-size: 28px; font-weight: 700; letter-spacing: .02em; }
.brand-name { font-size: 20px; }
.header-motto { font-style: italic; text-align: right; font-size: 21px; }
nav { display: flex; gap: 42px; align-self: stretch; }
nav a { position: relative; display: flex; align-items: center; font-size: 23px; white-space: nowrap; }
nav a[aria-current]::after { content: ''; position: absolute; bottom: 17px; height: 1px; left: 0; right: 0; background: #f5f0eb; }
nav a:hover { color: #e4cbb9; }
.site-header :focus-visible { outline-color: var(--paper); }
@media (max-width: 600px) { .site-header .brand-icon { width: 52px; height: 52px; flex-basis: 52px; } }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 24px; }
.section-heading h2 { font-size: 36px; }
.section-heading > span { color: var(--muted); font-size: 19px; }
.book-card { display: block; min-width: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); }
.book-card-art { position: relative; display: flex; justify-content: center; align-items: center; min-height: 340px; padding: 32px; }
.art-warm { background: var(--warm); }
.art-cool { background: var(--cool); }
.book-card-art img { width: 168px; height: auto; border-radius: 4px; box-shadow: 4px 8px 16px #3e101827; transition: transform .25s ease; }
.book-card:hover img { transform: translateY(-4px); }
.card-number { position: absolute; top: 20px; left: 22px; color: var(--muted); font-size: 15px; }
.art-caption { position: absolute; bottom: 12px; left: 0; width: 100%; text-align: center; font-size: 11px; letter-spacing: .12em; color: var(--muted); }
.book-card-info { padding: 24px; }
.reading-period { color: var(--accent); }
.book-card h2 { font-size: 36px; margin-top: 8px; }
.book-author { color: var(--muted); margin-top: 4px; font-size: 24px; }
.card-link { display: flex; justify-content: space-between; border-top: 1px solid var(--line); margin-top: 22px; padding-top: 14px; font-size: 18px; color: var(--accent); }
.empty-state { padding: 48px 24px; text-align: center; border: 1px solid var(--line); border-radius: 12px; }
.empty-state h3 { font-size: 28px; }
.empty-state p { color: var(--muted); margin-top: 10px; }
.text-link { display: inline-block; margin-top: 24px; border-bottom: 1px solid var(--accent); }
.back-link { display: inline-flex; align-items: center; gap: 12px; color: var(--accent); font-size: 21px; margin: 20px 0 24px; }
.back-link span { font-size: 27px; }
.quote { position: relative; padding: 13px 20px 12px 62px; margin-bottom: 10px; border: 1px solid var(--line); border-radius: 12px; background: #f7efea; }
.quote::before { content: '“'; position: absolute; left: 18px; top: 1px; color: var(--accent); font-size: 64px; line-height: 1.2; }
.quote blockquote { margin: 0 0 6px; font-size: 24px; font-style: italic; line-height: 1.3; white-space: pre-wrap; overflow-wrap: anywhere; }
.quote figcaption { display: flex; flex-wrap: wrap; column-gap: 12px; row-gap: 5px; font-size: 16px; color: var(--muted); }
.quote-name { font-weight: 700; color: var(--accent); overflow-wrap: anywhere; border-right: 1px solid var(--line); padding-right: 12px; }
.quote figcaption > span:last-child { flex: 1; min-width: 150px; }
.quote time { float: right; margin-left: 10px; font-size: 14px; }
.quote-delete { display: block; margin: 12px 0 0 auto; padding: 3px 12px; background: transparent; border: 1px solid var(--line); color: var(--accent); border-radius: 5px; font-size: 16px; }
.quote-delete:hover { border-color: var(--accent); }
.share-panel { background: #f7f0eb; padding: 30px 33px 22px; border: 1px solid var(--line); border-radius: 16px; align-self: start; }
.share-panel h2 { font-size: 44px; }
.share-panel h2::after { content: ''; display: block; width: 72px; height: 1px; background: var(--accent); margin-top: 19px; }
.field { margin-top: 35px; }
.field label { display: block; font-size: 24px; margin-bottom: 9px; color: var(--accent); }
.field label span { font-size: 17px; color: var(--muted); }
.required-note { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
input, textarea { width: 100%; padding: 11px 15px; border: 1px solid var(--line); background: #f9f5f1; border-radius: 9px; color: var(--ink); font-size: 20px; }
input { min-height: 50px; }
textarea { resize: vertical; height: 150px; min-height: 150px; display: block; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }
.page-input { width: 100%; }
.field-bottom { display: flex; justify-content: space-between; gap: 8px; }
.char-count { color: var(--muted); font-size: 13px; margin-left: auto; }
.field-error { display: block; color: var(--error); font-size: 16px; }
[aria-invalid='true'] { border-color: var(--error); }
.button { border: 1px solid var(--accent); border-radius: 10px; background: var(--navy); color: var(--paper); width: 100%; min-height: 60px; padding: 8px 16px; margin-top: 32px; font-size: 32px; }
.button:hover { background: var(--accent); }
.identity-note { font-size: 14px; color: var(--muted); line-height: 1.5; border-top: 1px solid var(--line); padding-top: 15px; margin-top: 20px; }
.form-status { font-size: 17px; margin-top: 12px; overflow-wrap: anywhere; }
.form-status:empty { display: none; }
.form-status[data-state='error'], .load-error { color: var(--error); }
.form-status[data-state='success'] { color: #36553d; }
.honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.text-button { background: none; border: 0; color: inherit; text-decoration: underline; padding: 0; }
@media (max-width: 1150px) { .header-motto { font-size: 18px; max-width: 230px; justify-self: end; } nav { gap: 24px; } nav a { font-size: 20px; } .header-inner { gap: 20px; } }
@media (max-width: 900px) { .header-inner { grid-template-columns: 1fr auto; } .header-motto { display: none; } }
@media (max-width: 600px) { .header-inner { grid-template-columns: 1fr; gap: 12px; padding-block: 15px; } .brand { justify-self: center; } nav { justify-content: center; gap: 24px; min-height: 35px; flex-wrap: wrap; } nav a { font-size: 18px; } nav a[aria-current]::after { bottom: 0; } .brand-mark { font-size: 25px; } .brand-name { font-size: 18px; } .brand-icon { width: 43px; } .back-link { font-size: 19px; } .share-panel { padding: 25px 22px; } .share-panel h2 { font-size: 38px; } .quote { padding-left: 45px; } .quote::before { left: 10px; font-size: 52px; } .quote blockquote { font-size: 22px; } .quote time { float: none; display: block; margin: 4px 0 0; } }
/* Shared club avatar and in-page deletion confirmation. */
.quote { padding: 22px 22px 18px 94px; border-left: 3px solid var(--accent); background: #fbf5ee; }
.quote::before { content: none; }
.quote-avatar { position: absolute; left: 20px; top: 22px; width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line); object-fit: cover; }
.quote blockquote { color: var(--ink); line-height: 1.5; margin-bottom: 14px; }
.quote-name { font-size: 18px; }
.confirm-dialog { width: min(450px, calc(100% - 36px)); padding: 32px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper) url('../images/paper.svg'); color: var(--ink); box-shadow: 0 20px 70px #24110f40; text-align: center; }
.confirm-dialog::backdrop { background: #211514a8; }
.confirm-dialog-logo { display: block; width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 18px; }
.confirm-dialog h2 { font-family: var(--serif); font-size: 31px; color: var(--accent); }
.confirm-dialog > p { margin: 14px 0 25px; color: var(--muted); font-size: 18px; line-height: 1.6; }
.confirm-dialog-actions { display: flex; gap: 12px; }
.confirm-dialog-actions button { flex: 1; padding: 11px 16px; border-radius: 8px; font-family: var(--serif); font-size: 20px; border: 1px solid var(--accent); }
.dialog-cancel { color: var(--accent); background: transparent; }
.dialog-confirm { color: #f5f0eb; background: var(--navy); }
.dialog-cancel:hover { background: var(--surface); }
.dialog-confirm:hover { background: var(--accent); }
@media (max-width: 600px) { .quote { padding: 19px 16px 16px 72px; } .quote-avatar { left: 14px; top: 20px; width: 42px; height: 42px; } .confirm-dialog { padding: 26px 22px; } .confirm-dialog h2 { font-size: 28px; } }
