.drop-search-form {
    align-items: stretch;
}

.drop-search-hero {
    margin-bottom: 8px;
}

.drop-search-matches {
    margin-bottom: 8px;
}

.drop-detail-toggle {
    position: relative;
    display: grid;
    height: 48px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    overflow: hidden;
    border: 1px solid #edf0f4;
    border-radius: 7px;
    background: #fff;
    padding: 3px;
    isolation: isolate;
}

.drop-detail-toggle__slider {
    position: absolute;
    z-index: -1;
    top: 3px;
    bottom: 3px;
    left: 3px;
    width: calc(50% - 3px);
    border-radius: 5px;
    background: #2563eb;
    transition: transform .2s cubic-bezier(.4, 0, .2, 1), background-color .2s ease;
}

.drop-detail-toggle__slider.is-full {
    transform: translateX(100%);
    background: #059669;
}

.drop-detail-toggle button {
    position: relative;
    z-index: 1;
    display: inline-flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 0;
    border-radius: 5px;
    background: transparent;
    padding: 0 8px;
    color: #64748b;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    transition: color .18s ease, transform .18s ease;
}

.drop-detail-toggle button:hover:not(.is-active) {
    color: #334155;
}

.drop-detail-toggle button.is-active {
    color: #fff;
}

.drop-detail-toggle button:focus-visible {
    outline: 2px solid #a855f7;
    outline-offset: -2px;
}

.drop-detail-toggle__dot {
    width: 5px;
    height: 5px;
    flex: 0 0 5px;
    border-radius: 999px;
    background: currentColor;
    opacity: .4;
    transition: opacity .18s ease;
}

.drop-detail-toggle button.is-active .drop-detail-toggle__dot {
    opacity: 1;
}

.tw-dark .drop-detail-toggle,
.dark .drop-detail-toggle {
    border-color: #2a2a2a;
    background: #161616;
}

.tw-dark .drop-detail-toggle button,
.dark .drop-detail-toggle button {
    color: #a3a3a3;
}

.tw-dark .drop-detail-toggle button:hover:not(.is-active),
.dark .drop-detail-toggle button:hover:not(.is-active) {
    color: #f2f2f2;
}

.tw-dark .drop-detail-toggle button.is-active,
.dark .drop-detail-toggle button.is-active {
    color: #fff;
}

@media (min-width: 1024px) {
    .drop-search-form {
        grid-template-columns: minmax(0, 1fr) 220px 112px;
    }
}

@media (max-width: 1023px) and (min-width: 640px) {
    .drop-search-form {
        grid-template-columns: minmax(0, 1fr) 220px;
    }

    .drop-search-form > button[type="submit"] {
        grid-column: 1 / -1;
    }
}

.drop-result-card {
    align-items: start;
}

.drop-mob-panel {
    min-width: 0;
    border-radius: 7px;
    background: #f8fbff;
    padding: 12px;
}

.drop-mob-summary {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
}

.drop-mob-icon {
    display: flex;
    width: 80px;
    height: 80px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 7px;
    background: #fff;
    color: #94a3b8;
    font-size: 34px;
}

.drop-mob-icon img {
    max-width: 68px;
    max-height: 68px;
    object-fit: contain;
    image-rendering: pixelated;
}

.drop-mob-copy {
    min-width: 0;
}

.drop-mob-title-row {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.drop-mob-title-row > a {
    min-width: 0;
    overflow: hidden;
    color: #2563eb;
    font-size: 20px;
    font-weight: 700;
    line-height: 25px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.drop-mob-title-row > a:hover {
    text-decoration: underline;
}

.drop-mob-version {
    display: inline-flex;
    height: 24px;
    flex: 0 0 auto;
    align-items: center;
    border-radius: 6px;
    background: #059669;
    padding: 0 8px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

.drop-mob-meta {
    display: flex;
    min-width: 0;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    margin-top: 7px;
}

.drop-mob-meta span {
    display: inline-flex;
    height: 23px;
    align-items: center;
    border-radius: 5px;
    background: #f1f5f9;
    padding: 0 7px;
    color: #64748b;
    font-size: 11px;
    line-height: 1;
}

.drop-mob-meta .is-reason {
    background: #eaf2ff;
    color: #2563eb;
    font-weight: 700;
}

.drop-mob-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 8px;
}

.drop-mob-stats span {
    display: flex;
    min-width: 0;
    height: 47px;
    flex-direction: column;
    justify-content: center;
    border-radius: 6px;
    background: #f1f5f9;
    padding: 0 10px;
}

.drop-mob-stats em {
    color: #64748b;
    font-size: 11px;
    font-style: normal;
    line-height: 14px;
}

.drop-mob-stats b {
    overflow: hidden;
    margin-top: 1px;
    color: #0f172a;
    font-size: 15px;
    line-height: 18px;
    text-overflow: ellipsis;
}

.drop-mob-maps {
    margin-top: 14px;
    border-radius: 7px;
    background: #fff;
    padding: 10px;
}

.drop-mob-maps > header {
    display: flex;
    min-height: 28px;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 7px;
}

.drop-mob-maps > header h3 {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    color: #0f172a;
    font-size: 14px;
    font-weight: 700;
}

.drop-mob-maps > header h3 > span {
    display: inline-flex;
    width: 25px;
    height: 25px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: #dbeafe;
    color: #2563eb;
    font-size: 16px;
}

.drop-mob-maps > header > span {
    display: inline-flex;
    height: 24px;
    align-items: center;
    border-radius: 6px;
    background: #f1f5f9;
    padding: 0 8px;
    color: #64748b;
    font-size: 11px;
}

.drop-mob-map-list {
    display: grid;
    gap: 6px;
}

.drop-mob-map-list > a {
    display: grid;
    min-width: 0;
    min-height: 49px;
    grid-template-columns: 36px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    border-radius: 6px;
    background: #f8fafc;
    padding: 6px 8px;
    transition: background-color .16s ease, transform .16s ease;
}

.drop-mob-map-list > a:hover {
    background: #eff6ff;
    transform: translateX(2px);
}

.drop-mob-map-icon {
    display: flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 6px;
    background: #fff;
    color: #2563eb;
    font-size: 18px;
}

.drop-mob-map-icon img {
    max-width: 32px;
    max-height: 32px;
    object-fit: contain;
    image-rendering: pixelated;
}

.drop-mob-map-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.drop-mob-map-copy b,
.drop-mob-map-copy small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.drop-mob-map-copy b {
    color: #0f172a;
    font-size: 12px;
    font-weight: 400;
    line-height: 17px;
}

.drop-mob-map-copy small {
    margin-top: 1px;
    color: #64748b;
    font-size: 10px;
    line-height: 14px;
}

.drop-mob-map-list code {
    border-radius: 5px;
    background: #f1f5f9;
    padding: 5px 7px;
    color: #64748b;
    font-size: 10px;
}

.drop-mob-map-empty {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-radius: 6px;
    background: #f8fafc;
    color: #94a3b8;
    font-size: 12px;
}

.drop-mob-map-toggle {
    display: flex;
    width: 100%;
    height: 36px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 7px;
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 12px;
    font-weight: 600;
    transition: border-color .16s ease, background-color .16s ease;
}

.drop-mob-map-toggle:hover {
    border-color: #93c5fd;
    background: #dbeafe;
}

.tw-dark .drop-mob-panel,
.dark .drop-mob-panel {
    background: rgba(59, 130, 246, .05);
}

.tw-dark .drop-mob-icon,
.dark .drop-mob-icon,
.tw-dark .drop-mob-maps,
.dark .drop-mob-maps,
.tw-dark .drop-mob-map-icon,
.dark .drop-mob-map-icon {
    border-color: #2a2a2a;
    background: #171717;
}

.tw-dark .drop-mob-title-row > a,
.dark .drop-mob-title-row > a {
    color: #7dd3fc;
}

.tw-dark .drop-mob-meta span,
.dark .drop-mob-meta span,
.tw-dark .drop-mob-stats span,
.dark .drop-mob-stats span,
.tw-dark .drop-mob-maps > header > span,
.dark .drop-mob-maps > header > span,
.tw-dark .drop-mob-map-list code,
.dark .drop-mob-map-list code {
    background: #242424;
    color: #a3a3a3;
}

.tw-dark .drop-mob-meta .is-reason,
.dark .drop-mob-meta .is-reason,
.tw-dark .drop-mob-maps > header h3 > span,
.dark .drop-mob-maps > header h3 > span {
    background: rgba(14, 165, 233, .14);
    color: #7dd3fc;
}

.tw-dark .drop-mob-stats b,
.dark .drop-mob-stats b,
.tw-dark .drop-mob-maps > header h3,
.dark .drop-mob-maps > header h3,
.tw-dark .drop-mob-map-copy b,
.dark .drop-mob-map-copy b {
    color: #f2f2f2;
}

.tw-dark .drop-mob-map-list > a,
.dark .drop-mob-map-list > a,
.tw-dark .drop-mob-map-empty,
.dark .drop-mob-map-empty {
    background: #1d1d1d;
}

.tw-dark .drop-mob-map-list > a:hover,
.dark .drop-mob-map-list > a:hover {
    background: #242424;
}

.tw-dark .drop-mob-map-toggle,
.dark .drop-mob-map-toggle {
    border-color: rgba(56, 189, 248, .25);
    background: rgba(14, 165, 233, .1);
    color: #7dd3fc;
}

@media (max-width: 480px) {
    .drop-mob-panel {
        padding: 10px;
    }

    .drop-mob-summary {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 10px;
    }

    .drop-mob-icon {
        width: 64px;
        height: 64px;
    }

    .drop-mob-icon img {
        max-width: 56px;
        max-height: 56px;
    }

    .drop-mob-version {
        display: none;
    }

    .drop-mob-title-row > a {
        font-size: 17px;
    }

    .drop-mob-map-list code {
        display: none;
    }
}
