.member-page {
    min-height: 100vh;
    background:
        linear-gradient(rgba(250,248,243,.96), rgba(250,248,243,.96)),
        url('/images/paper-texture.webp');
    color: #2f2a25;
}

.member-shell {
    width: min(1080px, 92vw);
    margin: 54px auto 80px;
}

.member-auth-card,
.member-dashboard-card,
.member-signedout-card {
    max-width: 620px;
    margin: 0 auto;
    padding: 38px 42px;
    background: rgba(255,255,255,.9);
    border: 1px solid rgba(75,63,51,.18);
    box-shadow: 0 14px 40px rgba(52,44,37,.08);
}

.member-dashboard-card {
    max-width: none;
}

.member-kicker {
    margin: 0 0 8px;
    font-size: 13px;
    letter-spacing: .2em;
    color: #85766a;
}

.member-auth-card h1,
.member-dashboard-card h1,
.member-signedout-card h1 {
    margin: 0 0 12px;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 700;
}

.member-lead {
    margin: 0 0 28px;
    line-height: 1.9;
    color: #665d55;
}

.member-form {
    display: grid;
    gap: 18px;
}

.member-field {
    display: grid;
    gap: 8px;
}

.member-field span {
    font-size: 14px;
    font-weight: 700;
}

.member-field input {
    width: 100%;
    min-height: 48px;
    padding: 10px 13px;
    border: 1px solid #cfc6bc;
    background: #fff;
    font: inherit;
    border-radius: 2px;
}

.member-field input:focus {
    outline: 2px solid rgba(88,74,60,.18);
    border-color: #695b4e;
}

.member-primary,
.member-secondary,
.member-link-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 46px;
    padding: 10px 22px;
    border: 1px solid #2c2824;
    text-decoration: none;
    font: inherit;
    cursor: pointer;
}

.member-primary {
    color: #fff;
    background: #2c2824;
}

.member-primary:disabled {
    opacity: .55;
    cursor: wait;
}

.member-secondary {
    color: #2c2824;
    background: transparent;
}

.member-link-button {
    min-height: auto;
    padding: 0;
    border: 0;
    color: #695b4e;
    background: none;
}

.member-message {
    margin: 0;
    padding: 12px 14px;
    background: #fff1ee;
    border-left: 3px solid #a65346;
    color: #7b342d;
    line-height: 1.7;
}

.member-message.is-success {
    background: #eef6ef;
    border-color: #5d7d62;
    color: #425d46;
}

.member-auth-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 14px;
    margin-top: 22px;
    font-size: 14px;
}

.member-auth-links a {
    color: #5f544b;
}

.member-note {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #e4ddd6;
    color: #81756b;
    font-size: 13px;
    line-height: 1.8;
}

.member-dashboard-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 28px;
}

.member-profile-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid #ddd4cb;
    margin: 22px 0 34px;
}

.member-profile-item {
    padding: 20px;
    border-right: 1px solid #ddd4cb;
    background: #fff;
}

.member-profile-item:last-child {
    border-right: 0;
}

.member-profile-label {
    display: block;
    margin-bottom: 8px;
    color: #84786d;
    font-size: 12px;
    letter-spacing: .08em;
}

.member-profile-value {
    font-size: 17px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.member-section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 18px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #cfc5bb;
}

.member-section-head h2 {
    margin: 0;
    font-size: 26px;
}

.member-section-head p {
    margin: 0;
    color: #80756a;
    font-size: 14px;
}

.member-article-list {
    display: grid;
    gap: 16px;
}

.member-article-card {
    display: grid;
    grid-template-columns: 190px 1fr;
    min-height: 145px;
    border: 1px solid #ddd4cb;
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: transform .15s ease, box-shadow .15s ease;
}

.member-article-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(50,43,36,.08);
}

.member-article-image {
    overflow: hidden;
    background: #eee8e1;
}

.member-article-image img {
    width: 100%;
    height: 100%;
    min-height: 145px;
    object-fit: cover;
    display: block;
}

.member-article-copy {
    padding: 20px 22px;
}

.member-article-copy h3 {
    margin: 8px 0 8px;
    font-size: 21px;
}

.member-article-copy p {
    margin: 0 0 12px;
    color: #6b625a;
    line-height: 1.7;
}

.member-level-badge {
    display: inline-block;
    padding: 4px 9px;
    border: 1px solid #9f8f7e;
    color: #6c5e50;
    font-size: 12px;
}

.member-article-meta {
    color: #8b8075;
    font-size: 13px;
}

.member-state {
    padding: 28px;
    text-align: center;
    color: #776c62;
    border: 1px dashed #cfc5bb;
    background: rgba(255,255,255,.55);
}

.member-state.is-error {
    color: #8a4037;
}

.member-loading {
    padding: 70px 0;
    text-align: center;
    color: #756b62;
}

[hidden] {
    display: none !important;
}

@media (max-width: 820px) {
    .member-auth-card,
    .member-dashboard-card,
    .member-signedout-card {
        padding: 28px 22px;
    }

    .member-profile-grid {
        grid-template-columns: 1fr 1fr;
    }

    .member-profile-item:nth-child(2) {
        border-right: 0;
    }

    .member-profile-item:nth-child(-n+2) {
        border-bottom: 1px solid #ddd4cb;
    }

    .member-article-card {
        grid-template-columns: 1fr;
    }

    .member-article-image img {
        height: 190px;
    }
}

@media (max-width: 540px) {
    .member-profile-grid {
        grid-template-columns: 1fr;
    }

    .member-profile-item,
    .member-profile-item:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid #ddd4cb;
    }

    .member-profile-item:last-child {
        border-bottom: 0;
    }

    .member-dashboard-head {
        display: grid;
    }
}


/* =========================================================
   Favorite / Reading History
========================================================= */

.member-library-divider {
    height: 1px;
    margin: 44px 0 34px;
    background: #ddd4cb;
}

.member-article-activity {
    margin-top: 10px;
    padding-top: 9px;
    border-top: 1px dashed #ddd4cb;
    color: #8b5a4e;
    font-size: 12px;
    line-height: 1.6;
}

.member-level-badge.is-public {
    border-color: #aaa198;
    color: #736b63;
}

/* =========================================================
   Member Center v2 / Personal Library Summary
========================================================= */

.member-library-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 0 0 38px;
}

.member-summary-item {
    position: relative;
    min-height: 118px;
    padding: 20px 22px;
    border: 1px solid #ddd4cb;
    background:
        linear-gradient(135deg, rgba(255,255,255,.96), rgba(247,243,236,.88));
}

.member-summary-item span {
    display: block;
    margin-bottom: 12px;
    color: #80756a;
    font-size: 13px;
    letter-spacing: .06em;
}

.member-summary-item strong {
    color: #2f2924;
    font-family:
        "Noto Serif TC",
        "Songti TC",
        "PMingLiU",
        serif;
    font-size: 34px;
    line-height: 1;
    font-weight: 600;
}

.member-summary-item small {
    margin-left: 5px;
    color: #8d8176;
    font-size: 12px;
}


/* =========================================================
   Continue Reading
========================================================= */

.member-continue-section {
    margin-top: 4px;
}

.member-section-head-continue {
    border-bottom-color: #b8aa9b;
}

.member-continue-card {
    display: grid;
    grid-template-columns: minmax(280px, 38%) minmax(0, 1fr);
    min-height: 280px;
    overflow: hidden;
    border: 1px solid #cfc3b6;
    background: #fff;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 14px 34px rgba(54, 45, 37, .07);
    transition: transform .18s ease, box-shadow .18s ease;
}

.member-continue-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(54, 45, 37, .11);
}

.member-continue-image {
    position: relative;
    overflow: hidden;
    min-height: 280px;
    background: #ece5dc;
}

.member-continue-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, transparent 68%, rgba(255,255,255,.12));
    pointer-events: none;
}

.member-continue-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    transition: transform .35s ease;
}

.member-continue-card:hover .member-continue-image img {
    transform: scale(1.015);
}

.member-continue-copy {
    min-width: 0;
    padding: 34px 38px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.member-continue-eyebrow {
    margin-bottom: 10px;
    color: #8b7666;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .2em;
}

.member-continue-copy h3 {
    margin: 0 0 12px;
    color: #29241f;
    font-family:
        "Noto Serif TC",
        "Songti TC",
        "PMingLiU",
        serif;
    font-size: clamp(25px, 3vw, 35px);
    line-height: 1.45;
    font-weight: 600;
}

.member-continue-copy p {
    margin: 0 0 18px;
    color: #6c6259;
    font-size: 15px;
    line-height: 1.85;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.member-continue-meta {
    color: #8a7f75;
    font-size: 12px;
    line-height: 1.8;
}

.member-continue-action {
    width: fit-content;
    margin-top: 22px;
    padding-bottom: 4px;
    border-bottom: 1px solid #5f5146;
    color: #4a4037;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .04em;
}

#memberContinueState a {
    margin-left: 8px;
    color: #5d5147;
    text-underline-offset: 3px;
}


/* =========================================================
   Refine Library Lists
========================================================= */

.member-library-divider {
    margin: 48px 0 36px;
}

.member-article-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.member-article-card {
    grid-template-columns: 150px minmax(0, 1fr);
    min-height: 150px;
}

.member-article-image img {
    min-height: 150px;
}

.member-article-copy h3 {
    font-size: 19px;
    line-height: 1.55;
}

.member-article-copy p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 980px) {
    .member-article-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .member-library-summary {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .member-continue-card {
        grid-template-columns: 1fr;
    }

    .member-continue-image,
    .member-continue-image img {
        min-height: 230px;
        height: 230px;
    }

    .member-continue-copy {
        padding: 28px 26px 30px;
    }
}

@media (max-width: 620px) {
    .member-library-summary {
        grid-template-columns: 1fr;
    }

    .member-summary-item {
        min-height: 94px;
    }

    .member-continue-copy h3 {
        font-size: 25px;
    }
}


/* =========================================================
   Cloud Bookshelf
========================================================= */
.member-section-link {
    color: #695b4e;
    font-size: 13px;
    text-decoration: none;
    white-space: nowrap;
}

.member-book-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.member-book-card {
    display: grid;
    grid-template-columns: 168px minmax(0, 1fr);
    min-height: 208px;
    border: 1px solid #ddd4cb;
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease;
}

.member-book-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(50,43,36,.08);
}

.member-book-cover {
    min-height: 208px;
    overflow: hidden;
    background: #eee8e1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #88796b;
    font-family: "Noto Serif TC", "Songti TC", "PMingLiU", serif;
    font-size: 34px;
}

.member-book-cover img {
    width: 100%;
    height: 100%;
    min-height: 208px;
    object-fit: contain;
    object-position: center center;
    display: block;
    background: #fff;
}

.member-book-copy {
    min-width: 0;
    padding: 20px 22px;
}

.member-book-eyebrow {
    color: #8b7666;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
}

.member-book-copy h3 {
    margin: 7px 0 9px;
    color: #2d2823;
    font-size: 20px;
    line-height: 1.5;
}

.member-book-copy p {
    margin: 0 0 12px;
    color: #675d54;
    font-size: 14px;
    line-height: 1.7;
}

.member-book-meta {
    color: #8a7f75;
    font-size: 12px;
    line-height: 1.7;
}

#memberBookHistoryState a {
    margin-left: 8px;
    color: #5d5147;
    text-underline-offset: 3px;
}

@media (max-width: 980px) {
    .member-library-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .member-book-list { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
    .member-library-summary { grid-template-columns: 1fr; }
    .member-book-card { grid-template-columns: 118px minmax(0, 1fr); min-height: 166px; }
    .member-book-cover, .member-book-cover img { min-height: 166px; }
    .member-book-copy { padding: 17px 18px; }
}


/* =========================================================
   Member AI personal PDF
========================================================= */
.member-book-card-shell {
    position: relative;
    min-width: 0;
}

.member-book-card-shell .member-book-card {
    height: 100%;
    box-sizing: border-box;
}

.member-book-card-shell.has-ai-pdf .member-book-copy {
    padding-bottom: 58px;
}

.member-book-ai-pdf-button {
    position: absolute;
    right: 18px;
    bottom: 16px;
    z-index: 3;
    min-height: 31px;
    padding: 6px 10px;
    border: 1px solid #c7b4a4;
    background: rgba(255, 251, 246, .96);
    color: #755344;
    font-family: inherit;
    font-size: 11px;
    line-height: 1.2;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(50, 40, 32, .05);
}

.member-book-ai-pdf-button span {
    display: inline-grid;
    place-items: center;
    width: 18px;
    height: 18px;
    margin-right: 4px;
    border-radius: 50%;
    background: #8d4e3e;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 8px;
    font-weight: 700;
}

.member-book-ai-pdf-button:hover:not(:disabled) {
    border-color: #9f7d6a;
    background: #fff7ef;
}

.member-book-ai-pdf-button:disabled {
    opacity: .58;
    cursor: wait;
}

.member-ai-pdf-progress-backdrop {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(35, 31, 27, .46);
    backdrop-filter: blur(2px);
}

.member-ai-pdf-progress-card {
    width: min(520px, 100%);
    padding: 28px 30px 26px;
    border: 1px solid #d3c7ba;
    background: #fffdf9;
    box-shadow: 0 28px 72px rgba(37, 31, 26, .22);
}

.member-ai-pdf-progress-card h2 {
    margin: 5px 0 10px;
    font-family: "Noto Serif TC", "Songti TC", "PMingLiU", serif;
    font-size: 24px;
    line-height: 1.45;
}

.member-ai-pdf-progress-card > p:not(.member-kicker) {
    min-height: 1.6em;
    margin: 0 0 14px;
    color: #665d55;
    line-height: 1.7;
}

.member-ai-pdf-progress-card progress {
    display: block;
    width: 100%;
    height: 10px;
    margin: 0 0 13px;
    accent-color: #8d4e3e;
}

.member-ai-pdf-share-button {
    width: 100%;
    min-height: 44px;
    margin: 4px 0 13px;
    padding: 10px 16px;
    border: 1px solid #8d4e3e;
    border-radius: 7px;
    background: #8d4e3e;
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.member-ai-pdf-share-button:hover:not(:disabled) {
    background: #754033;
}

.member-ai-pdf-share-button:disabled {
    opacity: .58;
    cursor: wait;
}

.member-ai-pdf-progress-card small {
    display: block;
    color: #8a7e73;
    font-size: 11px;
    line-height: 1.7;
}

/* Off-screen fixed A4 pages used by html2canvas/html2pdf. Never hide with display:none. */
.member-ai-pdf-stage {
    position: fixed;
    left: -10000px;
    top: 0;
    z-index: -9999;
    width: 794px;
    background: #fff;
    pointer-events: none;
}

.member-ai-pdf-page {
    position: relative;
    width: 794px;
    height: 1120px;
    box-sizing: border-box;
    overflow: hidden;
    padding: 58px 64px 50px;
    background: #ffffff;
    color: #2f2a26;
    font-family: "Noto Serif TC", "Songti TC", "PMingLiU", "Microsoft JhengHei", serif;
    font-size: 15px;
    line-height: 1.72;
}

.member-ai-pdf-page-body {
    height: 976px;
    overflow: hidden;
    box-sizing: border-box;
}

.member-ai-pdf-page-footer {
    position: absolute;
    left: 64px;
    right: 64px;
    bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 8px;
    border-top: 1px solid #e3dbd2;
    color: #998b7f;
    font-family: "Microsoft JhengHei", sans-serif;
    font-size: 8px;
    letter-spacing: .04em;
}

.member-ai-pdf-page-cover .member-ai-pdf-page-footer {
    border-top: 0;
}

.member-ai-pdf-cover-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.member-ai-pdf-cover-kicker {
    color: #8e7968;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 12px;
    letter-spacing: .25em;
}

.member-ai-pdf-cover-rule {
    width: 62px;
    height: 1px;
    margin: 24px 0 30px;
    background: #9d7966;
}

.member-ai-pdf-cover-inner h1 {
    max-width: 620px;
    margin: 0;
    color: #26211d;
    font-size: 43px;
    line-height: 1.38;
    font-weight: 600;
}

.member-ai-pdf-cover-inner h2 {
    margin: 18px 0 0;
    color: #6d5d50;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: .08em;
}

.member-ai-pdf-cover-author {
    min-height: 1em;
    margin: 18px 0 0;
    color: #8a7c70;
    font-size: 14px;
}

.member-ai-pdf-cover-meta {
    display: flex;
    gap: 18px;
    margin-top: 44px;
    color: #766a60;
    font-family: "Microsoft JhengHei", sans-serif;
    font-size: 11px;
}

.member-ai-pdf-cover-note {
    max-width: 510px;
    margin: 54px 0 0;
    color: #9a8d82;
    font-family: "Microsoft JhengHei", sans-serif;
    font-size: 10px;
    line-height: 1.85;
}

.member-ai-pdf-small-book-title {
    color: #9b8d81;
    font-family: "Microsoft JhengHei", sans-serif;
    font-size: 9px;
    letter-spacing: .08em;
}

.member-ai-pdf-toc-title {
    margin: 15px 0 28px;
    font-size: 30px;
    font-weight: 600;
}

.member-ai-pdf-toc-list {
    height: 870px;
    overflow: hidden;
}

.member-ai-pdf-toc-row {
    min-height: 31px;
    display: flex;
    align-items: baseline;
    gap: 9px;
    box-sizing: border-box;
    padding: 5px 0;
    color: #423b35;
    font-size: 12px;
    line-height: 1.6;
}

.member-ai-pdf-toc-row.depth-1 { padding-left: 24px; }
.member-ai-pdf-toc-row.depth-2 { padding-left: 48px; font-size: 11px; color: #635950; }
.member-ai-pdf-toc-index { width: 46px; flex: 0 0 46px; color: #947f6e; font-family: Georgia, "Times New Roman", serif; font-size: 10px; }
.member-ai-pdf-toc-name { flex: 0 1 auto; min-width: 0; }
.member-ai-pdf-toc-dots { flex: 1 1 auto; min-width: 18px; border-bottom: 1px dotted #cfc5bb; transform: translateY(-3px); }
.member-ai-pdf-toc-page { width: 28px; text-align: right; color: #7a6d62; font-family: Georgia, "Times New Roman", serif; font-size: 10px; }

.member-ai-pdf-chapter-head {
    padding-bottom: 22px;
    border-bottom: 1px solid #ded5cc;
}

.member-ai-pdf-chapter-index {
    margin-top: 14px;
    color: #9a8472;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 11px;
}

.member-ai-pdf-chapter-head h1 {
    margin: 8px 0 0;
    color: #29231f;
    font-size: 29px;
    line-height: 1.45;
    font-weight: 600;
}

.member-ai-pdf-chapter-head h1 small {
    margin-left: 7px;
    color: #93867b;
    font-size: 12px;
    font-weight: 400;
}

.member-ai-pdf-chapter-head p {
    margin: 8px 0 0;
    color: #84776d;
    font-size: 11px;
}

.member-ai-pdf-chapter-content {
    height: 800px;
    overflow: hidden;
    box-sizing: border-box;
    padding-top: 20px;
}

.member-ai-pdf-section-label {
    margin: 3px 0 10px;
    color: #8b6857;
    font-family: "Microsoft JhengHei", sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .14em;
}

.member-ai-pdf-summary-heading {
    margin: 16px 0 7px;
    color: #312a25;
    font-size: 18px;
    line-height: 1.5;
}

.member-ai-pdf-summary-paragraph {
    margin: 0 0 9px;
    color: #413a34;
    font-size: 13px;
    line-height: 1.78;
}

.member-ai-pdf-summary-bullet {
    display: grid;
    grid-template-columns: 17px 1fr;
    gap: 2px;
    margin: 0 0 5px;
    color: #413a34;
    font-size: 13px;
    line-height: 1.7;
}

.member-ai-pdf-missing-note {
    margin: 5px 0 15px;
    color: #9c8f84;
    font-family: "Microsoft JhengHei", sans-serif;
    font-size: 10px;
    line-height: 1.7;
}

.member-ai-pdf-image-figure {
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 120px;
    max-height: 580px;
    margin: 5px 0 16px;
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid #e3dcd5;
    background: #faf8f5;
}

.member-ai-pdf-image-figure img {
    display: block;
    max-width: 100%;
    max-height: 550px;
    width: auto;
    height: auto;
    object-fit: contain;
}

@media (max-width: 720px) {
    .member-book-card-shell.has-ai-pdf .member-book-copy {
        padding-bottom: 62px;
    }

    .member-book-ai-pdf-button {
        right: 12px;
        bottom: 12px;
    }

    .member-ai-pdf-progress-card {
        padding: 23px 20px 21px;
    }
}


/* ======================================================
   登入裝置 / Session
====================================================== */
.member-device-section {
    margin-top: 26px;
    padding: 22px 0 4px;
    border-top: 1px solid #ddd5ca;
}

.member-device-refresh {
    min-width: auto;
    white-space: nowrap;
}

.member-device-list {
    display: grid;
    gap: 10px;
}

.member-device-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 16px;
    border: 1px solid #ddd5ca;
    background: rgba(255,255,255,.58);
}

.member-device-info {
    min-width: 0;
    display: grid;
    gap: 5px;
}

.member-device-info strong {
    color: #302c27;
    font-size: 15px;
}

.member-device-info small {
    color: #81786e;
    line-height: 1.55;
}

.member-device-remove {
    flex: 0 0 auto;
}

@media (max-width: 680px) {
    .member-device-row {
        align-items: stretch;
        flex-direction: column;
    }

    .member-device-remove {
        width: 100%;
    }
}
