/* Scoped to the library entrance; the reader and author dashboard keep their styles. */
.library-actions {
    position: relative;
    z-index: 2;
    max-width: 1350px;
    margin: 0 auto;
    padding: 24px 35px 0;
    display: flex;
    align-items: center;
}
.library-author-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 68px;
    width: 258px;
    max-width: 100%;
    padding: 12px 17px 12px 13px;
    border: 1px solid #8ca6ad70;
    border-radius: 3px;
    background: linear-gradient(120deg, #192731f5, #0c141cf5 75%);
    color: #e2eaf0;
    text-decoration: none;
    box-shadow: 0 8px 25px #0004, inset 0 1px #e0f3ff0c;
    -webkit-tap-highlight-color: #9ed5e922;
    touch-action: manipulation;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.library-author-button::before,
.library-author-button::after {
    content: "";
    position: absolute;
    width: 9px;
    height: 9px;
    pointer-events: none;
    border-color: #d5bf90;
    border-style: solid;
}
.library-author-button::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.library-author-button::after { right: -1px; bottom: -1px; border-width: 0 1px 1px 0; }
.author-button-icon {
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border: 1px solid #cbb58b35;
    border-radius: 2px;
    background: #d6bd8207;
    color: #d5bf90;
}
.author-button-icon svg { display: block; width: 24px; height: 24px; }
.author-button-copy { display: block; min-width: 0; }
.author-button-eyebrow {
    display: block;
    margin-bottom: 4px;
    color: #9bafb9;
    font: 500 10px/1.3 "Segoe UI", Arial, sans-serif;
    letter-spacing: .13em;
    text-transform: uppercase;
}
.author-button-label {
    display: block;
    color: #e0eaf0;
    font: 400 18px/1.2 Georgia, "Times New Roman", serif;
}
.author-button-arrow {
    display: block;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    margin-left: auto;
    color: #a7b7bf;
    transition: transform .2s ease, color .2s ease;
}
.library-author-button:focus-visible {
    outline: 2px solid #b8e2f0;
    outline-offset: 5px;
    border-color: #d5bf90;
}
.library-actions + .library-header { padding-top: 42px; }
@media (hover: hover) {
    .library-author-button:hover {
        border-color: #d5bf90aa;
        background: linear-gradient(120deg, #22333ef5, #111d27f5 75%);
        transform: translateY(-1px);
    }
    .library-author-button:hover .author-button-arrow { color: #d5bf90; transform: translateX(3px); }
}
@media (max-width: 600px) {
    .library-actions { padding: 20px 24px 0; }
    .library-actions + .library-header { padding-top: 38px; }
    .library-author-button { min-height: 66px; }
}
@media (prefers-reduced-motion: reduce) {
    .library-author-button, .author-button-arrow { transition: none; }
    .library-author-button:hover, .library-author-button:hover .author-button-arrow { transform: none; }
}
