.lightbox-suggestion-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    min-height: 42px;
    padding: 0 14px;
    white-space: nowrap;
}

.lightbox-download {
    align-items: center;
    gap: 0.5rem;
}

.lightbox-actions [hidden] {
    display: none !important;
}

.lightbox-download:not([hidden]) {
    display: inline-flex;
}

.lightbox-download svg {
    width: 1.15rem;
    height: 1.15rem;
    flex: 0 0 auto;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.confirm-dialog .album-intro-tip {
    margin: 22px 0 0;
    padding: 13px 15px;
    border: 1px solid #68b9df55;
    border-radius: 11px;
    background: #64c8ff0d;
    color: #c6d4dc;
    font-size: 14px;
    line-height: 1.5;
}

.album-intro-tip strong,
.album-intro-tip b {
    color: #fff;
}

.lightbox-actions button.lightbox-suggestion-button {
    border-color: #68b9df;
    background: #64c8ff10;
    color: #dff5ff;
    box-shadow: 0 8px 22px #349fd51c, inset 0 1px 0 #ffffff10;
}

.lightbox-actions button.lightbox-suggestion-button:hover,
.lightbox-actions button.lightbox-suggestion-button:focus-visible {
    transform: translateY(-1px);
    border-color: #8bd8ff;
    background: #64c8ff24;
    color: #fff;
    box-shadow: 0 12px 28px #349fd52b, 0 0 0 1px #64c8ff1e;
}

.lightbox-actions > .btn,
.lightbox-actions > button,
.lightbox-actions > form > button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding-top: 0;
    padding-bottom: 0;
}

.lightbox-nav,
.lightbox-nav:hover,
.lightbox-nav:focus-visible,
.lightbox-nav:active {
    display: grid;
    width: 42px;
    height: 50px;
    padding: 0;
    transform: translateY(-50%) !important;
    place-items: center;
}

.lightbox-nav svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.album-help-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: max-content;
    min-height: 36px;
    margin: 0 0 2px auto;
    padding: 0 12px;
    font-size: 12px;
}

.album-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
}

.album-heading-copy {
    min-width: 0;
}

.album-heading-copy h2 {
    margin-bottom: 0;
}

.album-heading-copy p {
    margin: 8px 0 0;
}

@media (max-width: 650px) {
    .album-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .album-help-button {
        margin-left: 0;
    }
}

button.album-help-button.secondary {
    border: 1px solid #55b9eb;
    background: linear-gradient(135deg, #218fc7, #126d9f) !important;
    color: #fff;
    box-shadow: 0 9px 24px #1689c43d, inset 0 1px 0 #ffffff30;
}

button.album-help-button.secondary:hover,
button.album-help-button.secondary:focus-visible {
    border-color: #8bd8ff;
    background: linear-gradient(135deg, #32a8e4, #1681ba) !important;
    color: #fff;
    box-shadow: 0 12px 30px #1689c455, inset 0 1px 0 #ffffff38;
}

.album-help-button svg {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.album-intro-dialog {
    width: min(560px, calc(100% - 28px));
}

.album-intro-icon {
    display: grid;
    width: 46px;
    height: 46px;
    margin-bottom: 14px;
    border: 1px solid #68b9df;
    border-radius: 50%;
    background: #64c8ff14;
    color: #9bdefd;
    font-size: 23px;
    font-weight: 900;
    place-items: center;
}

.album-intro-steps {
    display: grid;
    gap: 10px;
    margin-top: 22px;
}

.album-intro-steps > div {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
    padding: 11px 12px;
    border: 1px solid #ffffff10;
    border-radius: 10px;
    background: #0d1014;
}

.album-intro-steps strong {
    display: grid;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #64c8ff15;
    color: #8edaff;
    font-size: 13px;
    place-items: center;
}

.album-intro-steps span {
    color: #c2c9cf;
    font-size: 14px;
    line-height: 1.45;
}

@media (max-width: 750px) {
    .lightbox-nav,
    .lightbox-nav:hover,
    .lightbox-nav:focus-visible,
    .lightbox-nav:active {
        width: 38px;
        height: 44px;
    }

    .lightbox-nav svg {
        width: 19px;
        height: 19px;
    }
}

.rider-suggestion-dialog {
    width: min(440px, calc(100% - 28px));
    padding: 0;
    border: 1px solid #73305f;
    border-radius: 18px;
    background: linear-gradient(145deg, #171b20, #110e13);
    color: var(--text);
    box-shadow: 0 28px 90px #000c;
}

.rider-suggestion-dialog::backdrop {
    background: #020304c7;
    backdrop-filter: blur(5px);
}

.rider-suggestion-dialog form {
    padding: 26px;
}

.rider-suggestion-dialog h2 {
    margin: 6px 0 8px;
}

.rider-suggestion-dialog p {
    margin: 0 0 22px;
}

.rider-suggestion-dialog label {
    display: block;
    margin-bottom: 7px;
    font-weight: 800;
}

.rider-suggestion-input {
    display: flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #090b0d;
}

.rider-suggestion-input:focus-within {
    border-color: #d63ba5;
    box-shadow: 0 0 0 3px #d63ba526;
}

.rider-suggestion-input span {
    padding-left: 15px;
    color: #ee75c5;
    font-size: 22px;
    font-weight: 900;
}

.rider-suggestion-input input {
    width: 100%;
    padding: 13px 15px 13px 7px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    font: inherit;
    font-size: 19px;
    font-weight: 850;
}

.rider-suggestion-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 22px;
}

.rider-suggestion-actions button {
    min-height: 44px;
}

.rider-suggestion-admin {
    margin: 34px 0 24px;
    padding: 22px;
    border: 1px solid #8e347238;
    border-radius: 16px;
    background: linear-gradient(145deg, #17131a, #11151a);
}

.rider-suggestion-admin header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.rider-suggestion-admin h2,
.rider-suggestion-admin p {
    margin: 0;
}

.rider-suggestion-admin-list {
    display: grid;
    gap: 9px;
}

.rider-suggestion-admin-row {
    display: grid;
    grid-template-columns: 64px minmax(140px, 1fr) minmax(150px, 1fr) auto;
    align-items: center;
    gap: 14px;
    max-height: 130px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #0d1013;
    transition: opacity 0.28s ease, transform 0.28s ease, max-height 0.35s ease, padding 0.35s ease, border-width 0.35s ease;
}

.rider-suggestion-admin-row.is-reviewed {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    overflow: hidden;
    border-width: 0;
    opacity: 0;
    transform: translateX(40px);
}

.rider-suggestion-thumbnail {
    position: relative;
    width: 64px;
    height: 52px;
    border-radius: 8px;
    outline: 0;
}

.rider-suggestion-thumbnail-small {
    width: 64px;
    height: 52px;
    border-radius: 8px;
    object-fit: cover;
}

.rider-suggestion-thumbnail:focus-visible {
    box-shadow: 0 0 0 3px #db3baa66;
}

.rider-suggestion-hover-preview {
    position: absolute;
    top: 50%;
    left: 76px;
    z-index: 30;
    display: block;
    width: min(430px, calc(100vw - 180px));
    padding: 7px;
    border: 1px solid #9c3b7d;
    border-radius: 13px;
    background: #0b0d10;
    box-shadow: 0 24px 70px #000d;
    opacity: 0;
    pointer-events: none;
    transform: translate3d(12px, -50%, 0) scale(0.97);
    transition: opacity 0.2s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.rider-suggestion-hover-preview img {
    display: block;
    width: 100%;
    max-height: 430px;
    border-radius: 9px;
    object-fit: contain;
}

.rider-suggestion-hover-preview small {
    display: block;
    padding: 7px 5px 2px;
    color: #d8dde1;
    font-weight: 800;
}

.rider-suggestion-thumbnail:hover .rider-suggestion-hover-preview,
.rider-suggestion-thumbnail:focus .rider-suggestion-hover-preview {
    opacity: 1;
    transform: translate3d(0, -50%, 0) scale(1);
}

.rider-suggestion-admin-row small,
.rider-suggestion-admin-row span {
    display: block;
    color: var(--muted);
}

.rider-suggestion-votes strong {
    color: #f17bca;
    font-size: 18px;
}

.rider-suggestion-review-actions {
    display: flex;
    gap: 8px;
}

@media (max-width: 760px) {
    .rider-suggestion-admin header {
        align-items: flex-start;
        flex-direction: column;
    }

    .rider-suggestion-admin-row {
        grid-template-columns: 54px 1fr;
    }

    .rider-suggestion-thumbnail,
    .rider-suggestion-thumbnail-small {
        width: 54px;
        height: 48px;
    }

    .rider-suggestion-hover-preview {
        position: fixed;
        top: 50%;
        right: 12px;
        left: 12px;
        width: auto;
        transform: translate3d(0, -46%, 0) scale(0.97);
    }

    .rider-suggestion-thumbnail:hover .rider-suggestion-hover-preview,
    .rider-suggestion-thumbnail:focus .rider-suggestion-hover-preview {
        transform: translate3d(0, -50%, 0) scale(1);
    }

    .rider-suggestion-votes,
    .rider-suggestion-review-actions {
        grid-column: 2;
    }
}
