pre {
    white-space: pre-wrap;
    word-break: break-word;
}

code {
    font-size: 0.95em;
}

.files-mini {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
}

.files-mini td {
    vertical-align: top;
    padding: 0;
}

.file-left {
    width: 42%;
    padding-right: 12px;
}

.file-right {
    width: 58%;
}

.file-name code {
    font-size: 0.95em;
}

.file-meta {
    font-size: 12px;
    color: #6c757d;
    line-height: 1.25;
    margin-top: 4px;
}

.file-sri {
    word-break: break-word;
    overflow-wrap: anywhere;
}

.code-box {
    position: relative;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 12px;
    border-radius: 0;
    overflow-x: auto;
    overflow-y: hidden;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.code-box code {
    color: #f1f1f1;
    white-space: nowrap;
    display: inline-block;
    padding-left: 0;
    text-align: center;
}

.code-box::-webkit-scrollbar {
    height: 10px;
}

.code-box .code-copy {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    padding: 0;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.code-box .code-copy i {
    font-size: 14px;
}

.pkg-versions-table {
    width: 100%;
    table-layout: fixed;
}

.pkg-versions-table th,
.pkg-versions-table td {
    vertical-align: middle;
}

.pkg-versions-table th:nth-child(1),
.pkg-versions-table td:nth-child(1) {
    width: 14%;
}

.pkg-versions-table th:nth-child(2),
.pkg-versions-table td:nth-child(2) {
    width: 12%;
}

.pkg-versions-table th:nth-child(3),
.pkg-versions-table td:nth-child(3) {
    width: 16%;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    word-break: break-word;
}

.pkg-versions-table th:nth-child(4),
.pkg-versions-table td:nth-child(4) {
    width: 58%;
    overflow: visible;
}

.pkg-versions-table th:not(:nth-child(3)):not(:last-child),
.pkg-versions-table td:not(:nth-child(3)):not(:last-child) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pkg-versions-table td:last-child .code-box {
    overflow-x: auto;
    max-width: 100%;
}

.file-left,
.file-right {
    max-width: 100%;
}

.snippet-block-center {
    width: min(780px, 100%);
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.snippet-title {
    font-weight: 700;
    margin-bottom: 8px;
    text-align: center;
}

.files-stack {
    display: grid;
    gap: 14px;
}

.file-block {
    padding: 0;
}

.file-head {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.file-link {
    font-weight: 600;
    text-decoration: none;
}

.file-link:hover {
    text-decoration: underline;
}

.table-responsive {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

#pkgQuickInclude {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

#pkgMetaRow {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.code-copy.copied {
    opacity: 0.6;
}

.accordion-button {
    justify-content: center;
    text-align: center;
}

.accordion-button::after {
    position: absolute;
    right: 1rem;
}