.wru-quick-buy { position: relative; letter-spacing: 0; }
.wru-quick-buy summary {
    display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 13px;
    color: #f0bf42; font-size: 14px; font-weight: 900; cursor: pointer; list-style: none;
}
.wru-quick-buy summary::-webkit-details-marker { display: none; }
.wru-quick-buy summary::after { content: '\25BE'; }
.wru-quick-buy[open] summary::after { content: '\25B4'; }
.wru-quick-buy summary:hover { background: #202024; border-radius: 6px; }
.wru-quick-buy summary:focus-visible, .rail-links .wru-quick-buy a:focus-visible {
    outline: 2px solid #f0bf42; outline-offset: -2px;
}
.wru-quick-buy-menu {
    position: absolute; top: calc(100% + 8px); right: 0; width: 260px;
    box-sizing: border-box; max-height: min(650px, calc(100dvh - 100px)); overflow-y: auto;
    padding: 8px; background: #141416; color: #fff; border: 1px solid #424247;
    border-radius: 8px; box-shadow: 0 12px 28px #0008; z-index: 2;
}
.wru-quick-buy-heading { margin: 8px 10px 4px; color: #f0bf42; font-size: 12px; font-weight: 800; }
.command-rail .rail-links .wru-quick-buy-menu a {
    display: flex; justify-content: space-between; gap: 12px; width: 100%; box-sizing: border-box;
    min-height: 38px; height: auto; padding: 9px 10px; border-radius: 4px;
    color: #fff; font-size: 14px; text-align: left; white-space: normal;
}
.command-rail .rail-links .wru-quick-buy-menu a:hover { background: #2b2b30; color: #f0bf42; }
.wru-quick-buy-footer { margin-top: 8px; padding-top: 6px; border-top: 1px solid #424247; }
.wru-quick-buy-note { margin: 8px 10px; color: #c6c6cd; font-size: 12px; line-height: 1.5; }
@media (max-width: 640px) {
    .command-rail .rail-links { flex-wrap: nowrap; justify-content: space-between; gap: 2px; }
    .command-rail .rail-links > a { flex: 0 1 auto; min-width: 0; padding: 0 4px; }
    .wru-quick-buy summary { height: 36px; padding: 0 8px; font-size: 12px; white-space: nowrap; }
    .wru-quick-buy-menu { position: fixed; top: var(--wru-quick-buy-top, 128px); right: 12px; width: min(280px, calc(100vw - 24px)); max-height: calc(100dvh - var(--wru-quick-buy-top, 128px) - 12px); }
}
