.home-links-panel {
    text-align: left;
    min-width: 0;
    display: flex;
    flex-direction: column;
    border: 0;
    border-radius: 0;
    padding: 0;
    overflow: visible;
    background: transparent;
}

.home-donations-cell {
    min-width: 0;
    width: 100%;
    height: auto;
}

.home-donations-panel-slot {
    grid-column: span 2;
    grid-row: span 4;
    min-width: 0;
    width: 100%;
    height: auto;
    display: block;
    align-self: start;
    text-align: left;
}

.home-donations-window {
    width: 100%;
    max-width: 100%;
    margin: 14px 0 0;
    min-width: 0;
    min-height: 0 !important;
    height: fit-content !important;
    max-height: none !important;
    transform: rotate(-0.7deg);
    transform-origin: top center;
    overflow: visible;
    background: #c0c0c0;
    box-shadow: 6px 6px 0 #2a2a2a, 8px 8px 0 #7a7a7a;
    z-index: 3;
    align-self: start;
    display: inline-flex;
    flex-direction: column;
}

.home-donations-window .window-bar {
    min-height: 20px;
    padding: 1px 4px;
    gap: 4px;
    background: linear-gradient(90deg, #600078 0%, #970eb6 56%, #f03aff 100%);
}

.home-donations-title-icon {
    width: 14px;
    height: 14px;
    object-fit: contain;
    image-rendering: pixelated;
}

.home-donations-window .window-title {
    padding-left: 0;
}

.home-donations-window .window-buttons .wbtn {
    cursor: default;
}

.home-donations-body {
    padding: 6px 6px 8px;
    padding-bottom: 8px !important;
    display: flex;
    flex-direction: column;
    flex-grow: 0 !important;
    gap: 6px;
    background:
        radial-gradient(circle at 80% 5%, rgba(255, 255, 255, 0.7) 0 18%, rgba(255, 255, 255, 0) 48%),
        linear-gradient(180deg, #f5f5f5 0%, #d7d7d7 100%);
}

.home-donations-window .window-body.home-donations-body {
    padding: 6px 6px 8px !important;
    padding-bottom: 8px !important;
    flex-grow: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

.home-donations-copy {
    margin: 0;
    color: #221829;
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.45);
    font-size: 10px;
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.home-donations-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.home-donation-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(56px, 1fr));
    gap: 4px;
}

.home-donation-option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 1px 4px;
    min-height: 22px;
    font-size: 10px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.home-donation-option-icon {
    width: 11px;
    height: 11px;
    object-fit: contain;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    -ms-interpolation-mode: nearest-neighbor;
}

.home-donation-option-label {
    line-height: 1;
}

.home-donation-option.is-active {
    border-style: inset;
    background: linear-gradient(180deg, var(--donation-accent, #8ea7d7) 0%, #ffffff 100%);
    color: #111;
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.6);
}

.home-donation-view {
    display: block;
}

.home-donation-card {
    --donation-accent: #345c9c;
    display: flex;
    flex-direction: column;
    gap: 5px;
    border: 2px inset #d7d7d7;
    background: linear-gradient(180deg, #ffffff 0%, #ececec 100%);
    padding: 5px;
}

.home-donation-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.home-donation-coin {
    margin: 0;
    color: #111;
    font-size: 11px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.home-donation-coin-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #7a7a7a;
    background: var(--donation-accent);
    color: #fff;
    min-width: 26px;
    min-height: 14px;
    padding: 0 3px;
    font-size: 8px;
    letter-spacing: 0.4px;
}

.home-donation-qr-wrap {
    position: relative;
    border: 2px solid #8a8a8a;
    border-color: #fff #6f6f6f #6f6f6f #fff;
    background: #fff;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.home-donation-qr-canvas,
.home-donation-qr-image {
    width: 100%;
    height: 100%;
    display: block;
    image-rendering: pixelated;
}

.home-donation-qr-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0) 0 7px, rgba(0, 0, 0, 0.04) 7px 8px);
}

.home-donation-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 22%;
    height: 22%;
    transform: translate(-50%, -50%);
    border: 2px solid #fff;
    border-radius: 5px;
    background: #fff;
    padding: 3px;
    object-fit: contain;
    box-shadow: 0 0 0 1px #5a5a5a;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    -ms-interpolation-mode: nearest-neighbor;
}

.home-donation-address-shell {
    display: flex;
    align-items: center;
    gap: 4px;
}

.home-donation-address {
    flex: 1;
    min-width: 0;
    font-family: 'PixelOperatorMono', 'PixeloidSans', monospace;
    font-size: 10px;
    color: #121212;
    background: #fff;
    border: 2px inset #d7d7d7;
    padding: 2px 4px;
}

.home-donation-copy {
    min-width: 48px;
    padding: 0 5px;
    line-height: 1.35;
}

.home-donation-copy.is-copied {
    color: #0b4f00;
    text-shadow: 1px 1px 0 #ddffd6;
}

.home-donations-loading,
.home-donations-error {
    margin: 0;
    font-size: 10px;
    color: #1b1b1b;
    border: 2px inset #d9d9d9;
    background: #efefef;
    padding: 4px 5px;
    text-align: left;
}

@media (max-width: 900px) {
    .home-donations-window {
        margin: 0 !important;
        transform: none;
    }
}

@media (max-width: 700px) {
    .home-about-content {
        grid-template-columns: 1fr;
    }

    .home-hobby-icons {
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
        gap: 4px;
    }

}
