/* CSS Style Rules for "Credits & Attributions" */
.credits-container {
    display: flex;
}

.intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#tip-desc {
    display: none;
}

.credits-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.credit {
    display: flex;           /* thumb + text side by side */
    align-items: flex-start;
    gap: 0.5rem;             /* spacing between thumb and text */
    margin-bottom: 1rem;
}

.thumb {
  flex: 0 0 auto;          /* don’t stretch */
}

.thumb-inline {
    display: block;          /* visible by default (no JS) */
    max-width: 40px;         /* fallback size (from HTML attrs) */
    height: auto;
}

.meta {
    flex: 1 1 auto;
    min-width: 0;            /* ensures text can wrap inside flexbox */
    word-wrap: break-word;
}

.meta p {
    margin: 0.25rem 0;
}

.meta .small {
    font-size: 0.875rem;
    color: #555;
}

.thumb-tooltip { /* background image is handled by JS */
    position: absolute;
    display: none;
    width: auto;
    height: auto;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    border: 3px solid #555;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    z-index: 9999;
}